@etherisc/gif-next 0.0.2-f7b8c9f-518 → 0.0.2-f7c17b4-297

Sign up to get free protection for your applications and to get access to all the features.
Files changed (456) hide show
  1. package/README.md +243 -2
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +774 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +928 -175
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/{instance/base/ServiceBase.sol/ServiceBase.json → components/IComponent.sol/IComponent.json} +153 -174
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +701 -1
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +797 -76
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +567 -34
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +995 -260
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +710 -157
  18. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  19. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +764 -0
  20. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  21. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +185 -0
  22. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  23. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1451 -1206
  24. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  25. package/artifacts/contracts/instance/{base/ComponentServiceBase.sol/ComponentServiceBase.json → IInstanceService.sol/IInstanceService.json} +199 -182
  26. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  27. package/artifacts/contracts/instance/Instance.sol/Instance.json +2088 -1373
  28. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  29. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +984 -0
  30. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1391 -0
  32. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  33. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1035 -0
  34. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  35. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +693 -0
  36. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  37. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +261 -0
  38. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  39. package/artifacts/contracts/instance/base/{InstanceBase.sol/InstanceBase.json → ComponentService.sol/ComponentService.json} +192 -195
  40. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  41. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +27 -158
  42. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  44. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +37 -245
  45. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  46. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +2 -2
  47. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  48. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +254 -0
  49. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  50. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  51. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  52. package/artifacts/contracts/instance/module/{distribution/IDistribution.sol → IDistribution.sol}/IDistribution.json +1 -1
  53. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  54. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  55. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  56. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  57. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  58. package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/ISetup.sol/ISetup.json} +2 -2
  59. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  60. package/artifacts/contracts/instance/module/{treasury/ITreasury.sol → ITreasury.sol}/ITreasury.json +1 -1
  61. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  62. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +858 -0
  63. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  64. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +657 -0
  65. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  66. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1085 -0
  67. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  68. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +661 -0
  69. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  70. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +743 -0
  71. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  72. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +637 -0
  73. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  74. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +473 -168
  75. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  76. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +677 -0
  77. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  78. package/artifacts/contracts/instance/service/{IComponentOwnerService.sol/IComponentOwnerService.json → IApplicationService.sol/IApplicationService.json} +200 -204
  79. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  80. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +622 -0
  81. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  82. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +398 -0
  83. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  84. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +197 -163
  85. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  86. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +572 -0
  87. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  88. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +30 -255
  89. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  90. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +41 -419
  91. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  92. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1109 -0
  93. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  94. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +717 -0
  95. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  96. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +227 -264
  97. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  98. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +649 -0
  99. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  100. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +233 -535
  101. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  102. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +649 -0
  103. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  104. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +47 -2
  105. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  106. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +236 -63
  107. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  108. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +312 -178
  109. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  110. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  111. package/artifacts/contracts/registry/Registry.sol/Registry.json +210 -212
  112. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  113. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  114. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  115. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +424 -255
  116. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  117. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +324 -122
  118. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  119. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
  120. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  121. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +498 -0
  122. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  123. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  124. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  125. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  126. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +40 -29
  127. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  128. package/artifacts/contracts/{instance/module/component/IComponent.sol/IComponentModule.json → shared/IPolicyHolder.sol/IPolicyHolder.json} +69 -57
  129. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  130. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +21 -34
  131. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  132. package/artifacts/contracts/{experiment/inheritance/IB.sol/IB.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +18 -20
  133. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  134. package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → shared/IService.sol/IService.json} +51 -47
  135. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  136. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  137. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  138. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +120 -27
  139. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  140. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
  141. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  142. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +294 -61
  143. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  144. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +129 -51
  145. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  146. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
  147. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  148. package/artifacts/contracts/{instance/base/IService.sol/IService.json → shared/Service.sol/Service.json} +147 -154
  149. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  150. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
  151. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  152. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  153. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  154. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  155. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  156. package/artifacts/contracts/test/TestFee.sol/TestFee.json +4 -4
  157. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  158. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +129 -51
  159. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  160. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +14 -14
  161. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  162. package/artifacts/contracts/test/TestService.sol/TestService.json +141 -215
  163. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  164. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
  165. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  166. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  167. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  168. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -174
  169. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  170. package/artifacts/contracts/test/Usdc.sol/USDC.json +91 -53
  171. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  172. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  173. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  174. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  175. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +100 -0
  176. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  177. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  178. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  179. package/artifacts/contracts/types/Fee.sol/FeeLib.json +4 -4
  180. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  181. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +31 -17
  182. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  183. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
  184. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  185. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  186. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  187. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  188. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  189. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  190. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  191. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +100 -0
  192. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  193. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +123 -0
  194. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  195. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  196. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  197. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +134 -8
  198. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  199. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  200. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  202. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  203. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +38 -7
  204. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  205. package/artifacts/contracts/{experiment/types/TypeB.sol/TypeBLib.json → types/UFixed.sol/MathLib.json} +4 -4
  206. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  207. package/artifacts/contracts/types/UFixed.sol/{UFixedMathLib.json → UFixedLib.json} +3 -3
  208. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  209. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  210. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  211. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  212. package/contracts/components/Component.sol +221 -0
  213. package/contracts/components/Distribution.sol +214 -61
  214. package/contracts/components/IComponent.sol +68 -0
  215. package/contracts/components/IDistributionComponent.sol +59 -5
  216. package/contracts/components/IPoolComponent.sol +126 -39
  217. package/contracts/components/IProductComponent.sol +12 -9
  218. package/contracts/components/Pool.sol +290 -158
  219. package/contracts/components/Product.sol +134 -140
  220. package/contracts/instance/BundleManager.sol +125 -0
  221. package/contracts/instance/Cloneable.sol +46 -0
  222. package/contracts/instance/IInstance.sol +84 -46
  223. package/contracts/instance/IInstanceService.sol +59 -0
  224. package/contracts/instance/Instance.sol +273 -69
  225. package/contracts/instance/InstanceAccessManager.sol +297 -0
  226. package/contracts/instance/InstanceReader.sol +293 -0
  227. package/contracts/instance/InstanceService.sol +490 -0
  228. package/contracts/instance/InstanceServiceManager.sol +54 -0
  229. package/contracts/instance/ObjectManager.sol +84 -0
  230. package/contracts/instance/base/ComponentService.sol +134 -0
  231. package/contracts/instance/base/IKeyValueStore.sol +13 -14
  232. package/contracts/instance/base/ILifecycle.sol +3 -3
  233. package/contracts/instance/base/KeyValueStore.sol +49 -38
  234. package/contracts/instance/base/Lifecycle.sol +1 -1
  235. package/contracts/instance/module/IAccess.sol +47 -0
  236. package/contracts/instance/module/IBundle.sol +21 -0
  237. package/contracts/instance/module/IDistribution.sol +39 -0
  238. package/contracts/instance/module/IPolicy.sol +48 -0
  239. package/contracts/instance/module/IRisk.sol +11 -0
  240. package/contracts/instance/module/ISetup.sol +48 -0
  241. package/contracts/instance/module/ITreasury.sol +23 -0
  242. package/contracts/instance/service/ApplicationService.sol +269 -0
  243. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  244. package/contracts/instance/service/BundleService.sol +299 -0
  245. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  246. package/contracts/instance/service/ClaimService.sol +151 -0
  247. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  248. package/contracts/instance/service/DistributionService.sol +244 -21
  249. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  250. package/contracts/instance/service/IApplicationService.sol +83 -0
  251. package/contracts/instance/service/IBundleService.sol +55 -0
  252. package/contracts/instance/service/IClaimService.sol +61 -0
  253. package/contracts/instance/service/IDistributionService.sol +54 -1
  254. package/contracts/instance/service/IPolicyService.sol +90 -0
  255. package/contracts/instance/service/IPoolService.sol +7 -24
  256. package/contracts/instance/service/IProductService.sol +9 -76
  257. package/contracts/instance/service/PolicyService.sol +476 -0
  258. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  259. package/contracts/instance/service/PoolService.sol +77 -117
  260. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  261. package/contracts/instance/service/ProductService.sol +156 -433
  262. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  263. package/contracts/registry/ChainNft.sol +41 -26
  264. package/contracts/registry/IRegistry.sol +51 -25
  265. package/contracts/registry/IRegistryService.sol +54 -16
  266. package/contracts/registry/Registry.sol +279 -306
  267. package/contracts/registry/RegistryAccessManager.sol +216 -0
  268. package/contracts/registry/RegistryService.sol +162 -247
  269. package/contracts/registry/RegistryServiceManager.sol +30 -11
  270. package/contracts/registry/ReleaseManager.sol +322 -0
  271. package/contracts/registry/TokenRegistry.sol +116 -0
  272. package/contracts/shared/ERC165.sol +15 -9
  273. package/contracts/shared/INftOwnable.sol +11 -10
  274. package/contracts/shared/IPolicyHolder.sol +26 -0
  275. package/contracts/shared/IRegisterable.sol +4 -6
  276. package/contracts/shared/IRegistryLinked.sol +12 -0
  277. package/contracts/shared/IService.sol +16 -0
  278. package/contracts/shared/IVersionable.sol +4 -47
  279. package/contracts/shared/NftOwnable.sol +67 -83
  280. package/contracts/shared/PolicyHolder.sol +81 -0
  281. package/contracts/shared/ProxyManager.sol +101 -26
  282. package/contracts/shared/Registerable.sol +17 -32
  283. package/contracts/shared/RegistryLinked.sol +48 -0
  284. package/contracts/shared/Service.sol +58 -0
  285. package/contracts/shared/TokenHandler.sol +27 -0
  286. package/contracts/shared/UpgradableProxyWithAdmin.sol +2 -2
  287. package/contracts/shared/Versionable.sol +5 -93
  288. package/contracts/test/TestFee.sol +2 -2
  289. package/contracts/test/TestRegisterable.sol +1 -1
  290. package/contracts/test/TestRoleId.sol +1 -1
  291. package/contracts/test/TestService.sol +6 -7
  292. package/contracts/types/ClaimId.sol +52 -0
  293. package/contracts/types/DistributorType.sol +55 -0
  294. package/contracts/types/Fee.sol +3 -3
  295. package/contracts/types/Key32.sol +8 -3
  296. package/contracts/types/NftIdSet.sol +26 -24
  297. package/contracts/types/NumberId.sol +52 -0
  298. package/contracts/types/ObjectType.sol +39 -14
  299. package/contracts/types/PayoutId.sol +54 -0
  300. package/contracts/types/Referral.sol +85 -0
  301. package/contracts/types/RoleId.sol +66 -9
  302. package/contracts/types/Seconds.sol +54 -0
  303. package/contracts/types/StateId.sol +5 -1
  304. package/contracts/types/Timestamp.sol +16 -13
  305. package/contracts/types/UFixed.sol +128 -12
  306. package/contracts/types/Version.sol +4 -1
  307. package/package.json +6 -5
  308. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  309. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -301
  310. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  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/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  344. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  345. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  346. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  347. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  348. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  349. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  350. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  351. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  352. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  353. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  354. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  355. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.json +0 -10
  356. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  357. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  358. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  359. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -297
  360. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  361. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  362. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -297
  363. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  364. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -117
  365. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  366. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  367. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  368. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +0 -4
  369. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +0 -10
  370. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +0 -4
  371. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +0 -4
  372. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.json +0 -10
  373. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  374. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  375. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -271
  376. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  377. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -271
  378. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  379. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  380. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  381. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -164
  382. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  383. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -164
  384. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  385. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  386. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -113
  387. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  388. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -131
  389. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  390. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  391. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -638
  392. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  393. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  394. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  395. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -638
  396. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  397. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -794
  398. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  399. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  400. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -457
  401. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +0 -4
  402. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +0 -557
  403. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  404. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -716
  405. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  406. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -744
  407. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +0 -4
  408. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.json +0 -99
  409. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  410. package/contracts/components/BaseComponent.sol +0 -79
  411. package/contracts/components/IBaseComponent.sol +0 -19
  412. package/contracts/experiment/errors/Require.sol +0 -38
  413. package/contracts/experiment/errors/Revert.sol +0 -44
  414. package/contracts/experiment/inheritance/A.sol +0 -53
  415. package/contracts/experiment/inheritance/B.sol +0 -28
  416. package/contracts/experiment/inheritance/C.sol +0 -34
  417. package/contracts/experiment/inheritance/IA.sol +0 -13
  418. package/contracts/experiment/inheritance/IB.sol +0 -10
  419. package/contracts/experiment/inheritance/IC.sol +0 -12
  420. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  421. package/contracts/experiment/statemachine/ISM.sol +0 -25
  422. package/contracts/experiment/statemachine/SM.sol +0 -57
  423. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  424. package/contracts/experiment/types/TypeA.sol +0 -47
  425. package/contracts/experiment/types/TypeB.sol +0 -29
  426. package/contracts/instance/IInstanceLinked.sol +0 -8
  427. package/contracts/instance/base/ComponentServiceBase.sol +0 -49
  428. package/contracts/instance/base/IInstanceBase.sol +0 -23
  429. package/contracts/instance/base/IService.sol +0 -15
  430. package/contracts/instance/base/InstanceBase.sol +0 -89
  431. package/contracts/instance/base/ModuleBase.sol +0 -57
  432. package/contracts/instance/base/ServiceBase.sol +0 -44
  433. package/contracts/instance/module/access/Access.sol +0 -149
  434. package/contracts/instance/module/access/IAccess.sol +0 -53
  435. package/contracts/instance/module/bundle/BundleModule.sol +0 -134
  436. package/contracts/instance/module/bundle/IBundle.sol +0 -53
  437. package/contracts/instance/module/component/ComponentModule.sol +0 -71
  438. package/contracts/instance/module/component/IComponent.sol +0 -28
  439. package/contracts/instance/module/distribution/DistributionModule.sol +0 -17
  440. package/contracts/instance/module/distribution/IDistribution.sol +0 -10
  441. package/contracts/instance/module/policy/IPolicy.sol +0 -63
  442. package/contracts/instance/module/policy/PolicyModule.sol +0 -91
  443. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  444. package/contracts/instance/module/pool/PoolModule.sol +0 -95
  445. package/contracts/instance/module/risk/IRisk.sol +0 -26
  446. package/contracts/instance/module/risk/RiskModule.sol +0 -62
  447. package/contracts/instance/module/treasury/ITreasury.sol +0 -84
  448. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  449. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -131
  450. package/contracts/instance/service/ComponentOwnerService.sol +0 -275
  451. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  452. package/contracts/registry/IChainNft.sol +0 -22
  453. package/contracts/test/TestDistribution.sol +0 -22
  454. package/contracts/test/TestPool.sol +0 -27
  455. package/contracts/test/TestProduct.sol +0 -74
  456. package/contracts/types/ReferralId.sol +0 -48
@@ -7,156 +7,188 @@
7
7
  "inputs": [
8
8
  {
9
9
  "internalType": "address",
10
- "name": "registry",
10
+ "name": "authority",
11
11
  "type": "address"
12
- },
13
- {
14
- "internalType": "NftId",
15
- "name": "instanceNftid",
16
- "type": "uint96"
17
- },
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
18
19
  {
19
20
  "internalType": "address",
20
- "name": "token",
21
+ "name": "caller",
21
22
  "type": "address"
22
23
  },
23
24
  {
24
- "internalType": "bool",
25
- "name": "isInterceptor",
26
- "type": "bool"
27
- },
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
28
35
  {
29
36
  "internalType": "address",
30
- "name": "pool",
37
+ "name": "caller",
31
38
  "type": "address"
32
- },
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
33
46
  {
34
47
  "internalType": "address",
35
- "name": "distribution",
48
+ "name": "target",
36
49
  "type": "address"
37
- },
38
- {
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
- },
50
+ }
51
+ ],
52
+ "name": "AddressEmptyCode",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
72
57
  {
73
58
  "internalType": "address",
74
- "name": "initialOwner",
59
+ "name": "account",
75
60
  "type": "address"
76
61
  }
77
62
  ],
78
- "stateMutability": "nonpayable",
79
- "type": "constructor"
63
+ "name": "AddressInsufficientBalance",
64
+ "type": "error"
80
65
  },
81
66
  {
82
67
  "inputs": [
83
68
  {
84
69
  "internalType": "address",
85
- "name": "registry",
70
+ "name": "caller",
86
71
  "type": "address"
87
- },
72
+ }
73
+ ],
74
+ "name": "ErrorComponentNotChainNft",
75
+ "type": "error"
76
+ },
77
+ {
78
+ "inputs": [
88
79
  {
89
80
  "internalType": "NftId",
90
- "name": "nftId",
81
+ "name": "instanceNftId",
91
82
  "type": "uint96"
92
83
  }
93
84
  ],
94
- "name": "ErrorAlreadyLinked",
85
+ "name": "ErrorComponentNotInstance",
95
86
  "type": "error"
96
87
  },
97
88
  {
98
89
  "inputs": [
99
90
  {
100
91
  "internalType": "address",
101
- "name": "contractAddress",
92
+ "name": "caller",
102
93
  "type": "address"
103
94
  }
104
95
  ],
105
- "name": "ErrorContractNotRegistered",
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",
106
112
  "type": "error"
107
113
  },
108
114
  {
109
115
  "inputs": [
110
116
  {
111
117
  "internalType": "address",
112
- "name": "account",
118
+ "name": "oldWallet",
119
+ "type": "address"
120
+ },
121
+ {
122
+ "internalType": "address",
123
+ "name": "newWallet",
113
124
  "type": "address"
125
+ },
126
+ {
127
+ "internalType": "uint256",
128
+ "name": "allowance",
129
+ "type": "uint256"
130
+ },
131
+ {
132
+ "internalType": "uint256",
133
+ "name": "balance",
134
+ "type": "uint256"
114
135
  }
115
136
  ],
116
- "name": "ErrorNotOwner",
137
+ "name": "ErrorComponentWalletAllowanceTooSmall",
117
138
  "type": "error"
118
139
  },
119
140
  {
120
141
  "inputs": [
121
142
  {
122
- "internalType": "address",
123
- "name": "registryAddress",
124
- "type": "address"
143
+ "internalType": "NftId",
144
+ "name": "nftId",
145
+ "type": "uint96"
125
146
  }
126
147
  ],
127
- "name": "ErrorNotRegistry",
148
+ "name": "ErrorNftOwnableAlreadyLinked",
128
149
  "type": "error"
129
150
  },
130
151
  {
131
152
  "inputs": [
132
153
  {
133
154
  "internalType": "address",
134
- "name": "registryAddress",
155
+ "name": "contractAddress",
135
156
  "type": "address"
136
157
  }
137
158
  ],
138
- "name": "ErrorRegisterableNotRegistry",
159
+ "name": "ErrorNftOwnableContractNotRegistered",
139
160
  "type": "error"
140
161
  },
141
162
  {
142
163
  "inputs": [],
143
- "name": "ErrorRegistryAddressZero",
164
+ "name": "ErrorNftOwnableInitialOwnerZero",
144
165
  "type": "error"
145
166
  },
146
167
  {
147
168
  "inputs": [
148
169
  {
149
170
  "internalType": "address",
150
- "name": "registry",
171
+ "name": "account",
172
+ "type": "address"
173
+ }
174
+ ],
175
+ "name": "ErrorNftOwnableNotOwner",
176
+ "type": "error"
177
+ },
178
+ {
179
+ "inputs": [
180
+ {
181
+ "internalType": "address",
182
+ "name": "registryAddress",
151
183
  "type": "address"
152
184
  }
153
185
  ],
154
- "name": "ErrorRegistryAlreadyInitialized",
186
+ "name": "ErrorNotRegistry",
155
187
  "type": "error"
156
188
  },
157
189
  {
158
190
  "inputs": [],
159
- "name": "ErrorRegistryNotInitialized",
191
+ "name": "FailedInnerCall",
160
192
  "type": "error"
161
193
  },
162
194
  {
@@ -169,6 +201,30 @@
169
201
  "name": "NotInitializing",
170
202
  "type": "error"
171
203
  },
204
+ {
205
+ "inputs": [
206
+ {
207
+ "internalType": "address",
208
+ "name": "token",
209
+ "type": "address"
210
+ }
211
+ ],
212
+ "name": "SafeERC20FailedOperation",
213
+ "type": "error"
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
+ },
172
228
  {
173
229
  "anonymous": false,
174
230
  "inputs": [
@@ -182,6 +238,89 @@
182
238
  "name": "Initialized",
183
239
  "type": "event"
184
240
  },
241
+ {
242
+ "anonymous": false,
243
+ "inputs": [
244
+ {
245
+ "indexed": false,
246
+ "internalType": "address",
247
+ "name": "oldWallet",
248
+ "type": "address"
249
+ },
250
+ {
251
+ "indexed": false,
252
+ "internalType": "address",
253
+ "name": "newWallet",
254
+ "type": "address"
255
+ }
256
+ ],
257
+ "name": "LogComponentWalletAddressChanged",
258
+ "type": "event"
259
+ },
260
+ {
261
+ "anonymous": false,
262
+ "inputs": [
263
+ {
264
+ "indexed": false,
265
+ "internalType": "address",
266
+ "name": "from",
267
+ "type": "address"
268
+ },
269
+ {
270
+ "indexed": false,
271
+ "internalType": "address",
272
+ "name": "to",
273
+ "type": "address"
274
+ },
275
+ {
276
+ "indexed": false,
277
+ "internalType": "uint256",
278
+ "name": "amount",
279
+ "type": "uint256"
280
+ }
281
+ ],
282
+ "name": "LogComponentWalletTokensTransferred",
283
+ "type": "event"
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
+ },
185
324
  {
186
325
  "inputs": [],
187
326
  "name": "REGISTERABLE_LOCATION_V1",
@@ -195,6 +334,19 @@
195
334
  "stateMutability": "view",
196
335
  "type": "function"
197
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
+ },
198
350
  {
199
351
  "inputs": [
200
352
  {
@@ -208,9 +360,9 @@
208
360
  "type": "bytes8"
209
361
  },
210
362
  {
211
- "internalType": "uint256",
363
+ "internalType": "Seconds",
212
364
  "name": "lifetime",
213
- "type": "uint256"
365
+ "type": "uint40"
214
366
  },
215
367
  {
216
368
  "internalType": "bytes",
@@ -242,24 +394,24 @@
242
394
  "type": "bytes8"
243
395
  },
244
396
  {
245
- "internalType": "uint256",
397
+ "internalType": "Seconds",
246
398
  "name": "lifetime",
247
- "type": "uint256"
399
+ "type": "uint40"
248
400
  },
249
401
  {
250
402
  "internalType": "bytes",
251
403
  "name": "applicationData",
252
404
  "type": "bytes"
253
405
  },
254
- {
255
- "internalType": "ReferralId",
256
- "name": "referralId",
257
- "type": "bytes8"
258
- },
259
406
  {
260
407
  "internalType": "NftId",
261
408
  "name": "bundleNftId",
262
409
  "type": "uint96"
410
+ },
411
+ {
412
+ "internalType": "ReferralId",
413
+ "name": "referralId",
414
+ "type": "bytes8"
263
415
  }
264
416
  ],
265
417
  "name": "calculatePremium",
@@ -329,13 +481,8 @@
329
481
  }
330
482
  ],
331
483
  "internalType": "struct IRegistry.ObjectInfo",
332
- "name": "",
484
+ "name": "info",
333
485
  "type": "tuple"
334
- },
335
- {
336
- "internalType": "bytes",
337
- "name": "",
338
- "type": "bytes"
339
486
  }
340
487
  ],
341
488
  "stateMutability": "view",
@@ -354,6 +501,19 @@
354
501
  "stateMutability": "view",
355
502
  "type": "function"
356
503
  },
504
+ {
505
+ "inputs": [],
506
+ "name": "getName",
507
+ "outputs": [
508
+ {
509
+ "internalType": "string",
510
+ "name": "name",
511
+ "type": "string"
512
+ }
513
+ ],
514
+ "stateMutability": "view",
515
+ "type": "function"
516
+ },
357
517
  {
358
518
  "inputs": [],
359
519
  "name": "getNftId",
@@ -395,23 +555,184 @@
395
555
  },
396
556
  {
397
557
  "inputs": [],
398
- "name": "getProcessingFee",
558
+ "name": "getProductNftId",
559
+ "outputs": [
560
+ {
561
+ "internalType": "NftId",
562
+ "name": "productNftId",
563
+ "type": "uint96"
564
+ }
565
+ ],
566
+ "stateMutability": "view",
567
+ "type": "function"
568
+ },
569
+ {
570
+ "inputs": [],
571
+ "name": "getRegistry",
572
+ "outputs": [
573
+ {
574
+ "internalType": "contract IRegistry",
575
+ "name": "",
576
+ "type": "address"
577
+ }
578
+ ],
579
+ "stateMutability": "view",
580
+ "type": "function"
581
+ },
582
+ {
583
+ "inputs": [],
584
+ "name": "getRegistryAddress",
585
+ "outputs": [
586
+ {
587
+ "internalType": "address",
588
+ "name": "",
589
+ "type": "address"
590
+ }
591
+ ],
592
+ "stateMutability": "view",
593
+ "type": "function"
594
+ },
595
+ {
596
+ "inputs": [],
597
+ "name": "getSetupInfo",
399
598
  "outputs": [
400
599
  {
401
600
  "components": [
402
601
  {
403
- "internalType": "UFixed",
404
- "name": "fractionalFee",
405
- "type": "uint256"
602
+ "internalType": "contract IERC20Metadata",
603
+ "name": "token",
604
+ "type": "address"
406
605
  },
407
606
  {
408
- "internalType": "uint256",
409
- "name": "fixedFee",
410
- "type": "uint256"
607
+ "internalType": "contract TokenHandler",
608
+ "name": "tokenHandler",
609
+ "type": "address"
610
+ },
611
+ {
612
+ "internalType": "NftId",
613
+ "name": "distributionNftId",
614
+ "type": "uint96"
615
+ },
616
+ {
617
+ "internalType": "NftId",
618
+ "name": "poolNftId",
619
+ "type": "uint96"
620
+ },
621
+ {
622
+ "components": [
623
+ {
624
+ "internalType": "UFixed",
625
+ "name": "fractionalFee",
626
+ "type": "uint256"
627
+ },
628
+ {
629
+ "internalType": "uint256",
630
+ "name": "fixedFee",
631
+ "type": "uint256"
632
+ }
633
+ ],
634
+ "internalType": "struct Fee",
635
+ "name": "distributionFee",
636
+ "type": "tuple"
637
+ },
638
+ {
639
+ "components": [
640
+ {
641
+ "internalType": "UFixed",
642
+ "name": "fractionalFee",
643
+ "type": "uint256"
644
+ },
645
+ {
646
+ "internalType": "uint256",
647
+ "name": "fixedFee",
648
+ "type": "uint256"
649
+ }
650
+ ],
651
+ "internalType": "struct Fee",
652
+ "name": "productFee",
653
+ "type": "tuple"
654
+ },
655
+ {
656
+ "components": [
657
+ {
658
+ "internalType": "UFixed",
659
+ "name": "fractionalFee",
660
+ "type": "uint256"
661
+ },
662
+ {
663
+ "internalType": "uint256",
664
+ "name": "fixedFee",
665
+ "type": "uint256"
666
+ }
667
+ ],
668
+ "internalType": "struct Fee",
669
+ "name": "processingFee",
670
+ "type": "tuple"
671
+ },
672
+ {
673
+ "components": [
674
+ {
675
+ "internalType": "UFixed",
676
+ "name": "fractionalFee",
677
+ "type": "uint256"
678
+ },
679
+ {
680
+ "internalType": "uint256",
681
+ "name": "fixedFee",
682
+ "type": "uint256"
683
+ }
684
+ ],
685
+ "internalType": "struct Fee",
686
+ "name": "poolFee",
687
+ "type": "tuple"
688
+ },
689
+ {
690
+ "components": [
691
+ {
692
+ "internalType": "UFixed",
693
+ "name": "fractionalFee",
694
+ "type": "uint256"
695
+ },
696
+ {
697
+ "internalType": "uint256",
698
+ "name": "fixedFee",
699
+ "type": "uint256"
700
+ }
701
+ ],
702
+ "internalType": "struct Fee",
703
+ "name": "stakingFee",
704
+ "type": "tuple"
705
+ },
706
+ {
707
+ "components": [
708
+ {
709
+ "internalType": "UFixed",
710
+ "name": "fractionalFee",
711
+ "type": "uint256"
712
+ },
713
+ {
714
+ "internalType": "uint256",
715
+ "name": "fixedFee",
716
+ "type": "uint256"
717
+ }
718
+ ],
719
+ "internalType": "struct Fee",
720
+ "name": "performanceFee",
721
+ "type": "tuple"
722
+ },
723
+ {
724
+ "internalType": "bool",
725
+ "name": "isIntercepting",
726
+ "type": "bool"
727
+ },
728
+ {
729
+ "internalType": "address",
730
+ "name": "wallet",
731
+ "type": "address"
411
732
  }
412
733
  ],
413
- "internalType": "struct Fee",
414
- "name": "processingFee",
734
+ "internalType": "struct ISetup.ProductSetupInfo",
735
+ "name": "setupInfo",
415
736
  "type": "tuple"
416
737
  }
417
738
  ],
@@ -420,8 +741,140 @@
420
741
  },
421
742
  {
422
743
  "inputs": [],
423
- "name": "getProductFee",
744
+ "name": "getToken",
745
+ "outputs": [
746
+ {
747
+ "internalType": "contract IERC20Metadata",
748
+ "name": "token",
749
+ "type": "address"
750
+ }
751
+ ],
752
+ "stateMutability": "view",
753
+ "type": "function"
754
+ },
755
+ {
756
+ "inputs": [],
757
+ "name": "getWallet",
424
758
  "outputs": [
759
+ {
760
+ "internalType": "address",
761
+ "name": "walletAddress",
762
+ "type": "address"
763
+ }
764
+ ],
765
+ "stateMutability": "view",
766
+ "type": "function"
767
+ },
768
+ {
769
+ "inputs": [
770
+ {
771
+ "internalType": "address",
772
+ "name": "registry",
773
+ "type": "address"
774
+ },
775
+ {
776
+ "internalType": "NftId",
777
+ "name": "instanceNftId",
778
+ "type": "uint96"
779
+ },
780
+ {
781
+ "internalType": "string",
782
+ "name": "name",
783
+ "type": "string"
784
+ },
785
+ {
786
+ "internalType": "address",
787
+ "name": "token",
788
+ "type": "address"
789
+ },
790
+ {
791
+ "internalType": "ObjectType",
792
+ "name": "componentType",
793
+ "type": "uint8"
794
+ },
795
+ {
796
+ "internalType": "bool",
797
+ "name": "isInterceptor",
798
+ "type": "bool"
799
+ },
800
+ {
801
+ "internalType": "address",
802
+ "name": "initialOwner",
803
+ "type": "address"
804
+ },
805
+ {
806
+ "internalType": "bytes",
807
+ "name": "registryData",
808
+ "type": "bytes"
809
+ }
810
+ ],
811
+ "name": "initializeComponent",
812
+ "outputs": [],
813
+ "stateMutability": "nonpayable",
814
+ "type": "function"
815
+ },
816
+ {
817
+ "inputs": [],
818
+ "name": "initializeERC165",
819
+ "outputs": [],
820
+ "stateMutability": "nonpayable",
821
+ "type": "function"
822
+ },
823
+ {
824
+ "inputs": [
825
+ {
826
+ "internalType": "address",
827
+ "name": "initialOwner",
828
+ "type": "address"
829
+ },
830
+ {
831
+ "internalType": "address",
832
+ "name": "registryAddress",
833
+ "type": "address"
834
+ }
835
+ ],
836
+ "name": "initializeNftOwnable",
837
+ "outputs": [],
838
+ "stateMutability": "nonpayable",
839
+ "type": "function"
840
+ },
841
+ {
842
+ "inputs": [
843
+ {
844
+ "internalType": "address",
845
+ "name": "registry",
846
+ "type": "address"
847
+ },
848
+ {
849
+ "internalType": "NftId",
850
+ "name": "instanceNftId",
851
+ "type": "uint96"
852
+ },
853
+ {
854
+ "internalType": "string",
855
+ "name": "name",
856
+ "type": "string"
857
+ },
858
+ {
859
+ "internalType": "address",
860
+ "name": "token",
861
+ "type": "address"
862
+ },
863
+ {
864
+ "internalType": "bool",
865
+ "name": "isInterceptor",
866
+ "type": "bool"
867
+ },
868
+ {
869
+ "internalType": "address",
870
+ "name": "pool",
871
+ "type": "address"
872
+ },
873
+ {
874
+ "internalType": "address",
875
+ "name": "distribution",
876
+ "type": "address"
877
+ },
425
878
  {
426
879
  "components": [
427
880
  {
@@ -438,32 +891,99 @@
438
891
  "internalType": "struct Fee",
439
892
  "name": "productFee",
440
893
  "type": "tuple"
894
+ },
895
+ {
896
+ "components": [
897
+ {
898
+ "internalType": "UFixed",
899
+ "name": "fractionalFee",
900
+ "type": "uint256"
901
+ },
902
+ {
903
+ "internalType": "uint256",
904
+ "name": "fixedFee",
905
+ "type": "uint256"
906
+ }
907
+ ],
908
+ "internalType": "struct Fee",
909
+ "name": "processingFee",
910
+ "type": "tuple"
911
+ },
912
+ {
913
+ "internalType": "address",
914
+ "name": "initialOwner",
915
+ "type": "address"
916
+ },
917
+ {
918
+ "internalType": "bytes",
919
+ "name": "registryData",
920
+ "type": "bytes"
441
921
  }
442
922
  ],
443
- "stateMutability": "view",
923
+ "name": "initializeProduct",
924
+ "outputs": [],
925
+ "stateMutability": "nonpayable",
444
926
  "type": "function"
445
927
  },
446
928
  {
447
- "inputs": [],
448
- "name": "getRegistry",
449
- "outputs": [
929
+ "inputs": [
450
930
  {
451
- "internalType": "contract IRegistry",
452
- "name": "",
931
+ "internalType": "address",
932
+ "name": "registryAddress",
933
+ "type": "address"
934
+ },
935
+ {
936
+ "internalType": "NftId",
937
+ "name": "parentNftId",
938
+ "type": "uint96"
939
+ },
940
+ {
941
+ "internalType": "ObjectType",
942
+ "name": "objectType",
943
+ "type": "uint8"
944
+ },
945
+ {
946
+ "internalType": "bool",
947
+ "name": "isInterceptor",
948
+ "type": "bool"
949
+ },
950
+ {
951
+ "internalType": "address",
952
+ "name": "initialOwner",
453
953
  "type": "address"
954
+ },
955
+ {
956
+ "internalType": "bytes",
957
+ "name": "registryData",
958
+ "type": "bytes"
454
959
  }
455
960
  ],
456
- "stateMutability": "view",
961
+ "name": "initializeRegisterable",
962
+ "outputs": [],
963
+ "stateMutability": "nonpayable",
964
+ "type": "function"
965
+ },
966
+ {
967
+ "inputs": [
968
+ {
969
+ "internalType": "address",
970
+ "name": "registryAddress",
971
+ "type": "address"
972
+ }
973
+ ],
974
+ "name": "initializeRegistryLinked",
975
+ "outputs": [],
976
+ "stateMutability": "nonpayable",
457
977
  "type": "function"
458
978
  },
459
979
  {
460
980
  "inputs": [],
461
- "name": "getToken",
981
+ "name": "isConsumingScheduledOp",
462
982
  "outputs": [
463
983
  {
464
- "internalType": "contract IERC20Metadata",
465
- "name": "token",
466
- "type": "address"
984
+ "internalType": "bytes4",
985
+ "name": "",
986
+ "type": "bytes4"
467
987
  }
468
988
  ],
469
989
  "stateMutability": "view",
@@ -471,12 +991,12 @@
471
991
  },
472
992
  {
473
993
  "inputs": [],
474
- "name": "getWallet",
994
+ "name": "isNftInterceptor",
475
995
  "outputs": [
476
996
  {
477
- "internalType": "address",
478
- "name": "walletAddress",
479
- "type": "address"
997
+ "internalType": "bool",
998
+ "name": "isInterceptor",
999
+ "type": "bool"
480
1000
  }
481
1001
  ],
482
1002
  "stateMutability": "view",
@@ -496,6 +1016,55 @@
496
1016
  "stateMutability": "nonpayable",
497
1017
  "type": "function"
498
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
+ },
499
1068
  {
500
1069
  "inputs": [
501
1070
  {
@@ -538,6 +1107,32 @@
538
1107
  "stateMutability": "nonpayable",
539
1108
  "type": "function"
540
1109
  },
1110
+ {
1111
+ "inputs": [
1112
+ {
1113
+ "internalType": "NftId",
1114
+ "name": "productNftId",
1115
+ "type": "uint96"
1116
+ }
1117
+ ],
1118
+ "name": "setProductNftId",
1119
+ "outputs": [],
1120
+ "stateMutability": "nonpayable",
1121
+ "type": "function"
1122
+ },
1123
+ {
1124
+ "inputs": [
1125
+ {
1126
+ "internalType": "address",
1127
+ "name": "newWallet",
1128
+ "type": "address"
1129
+ }
1130
+ ],
1131
+ "name": "setWallet",
1132
+ "outputs": [],
1133
+ "stateMutability": "nonpayable",
1134
+ "type": "function"
1135
+ },
541
1136
  {
542
1137
  "inputs": [
543
1138
  {
@@ -565,50 +1160,8 @@
565
1160
  "type": "function"
566
1161
  }
567
1162
  ],
568
- "bytecode": "0x60806040523480156200001157600080fd5b5060405162002618380380620026188339810160408190526200003491620008cc565b888888606e6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff191660011790558985600280546001600160a01b03191633179055604080516020810190915260008152620000a88787868686866200054a565b6000620000bd6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03891660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156200010d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000137919081019062000a36565b6080810151600780546001600160a01b0319166001600160a01b0390921691821790556040516301ffc9a760e01b8152630de7806f60e41b6004820152919250906301ffc9a790602401602060405180830381865afa1580156200019f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001c5919062000b1c565b620001f15760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b600760009054906101000a90046001600160a01b03166001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000245573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200026b919062000b41565b600380546001600160a01b03199081166001600160a01b0393841617909155600580543090831617905560068054909116918816919091179055631b1599eb60e21b60009081526020527f82dc1aafdf8e16d475718790c9464a2912866acb395e292abd1ea37be80f5b28805460ff191660011790555050505050505050600760009054906101000a90046001600160a01b03166001600160a01b0316634288121d6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200033d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000363919062000b41565b600880546001600160a01b03199081166001600160a01b0393841617909155600980548216888416179055600a80549091168683161790558351600b55602080850151600c558351600d55830151600e5560015416600954604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e90602401602060405180830381865afa15801562000402573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000428919062000b61565b600f80546001600160601b0319166001600160601b03929092169190911790556200045b6001546001600160a01b031690565b600a54604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e90602401602060405180830381865afa158015620004a5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004cb919062000b61565b600f80546001600160601b03929092166c0100000000000000000000000002600160601b600160c01b03199092169190911790556379fc0e7160e11b60009081526020527fae37458bb8945ae7571d1722238fea83f3c5619cf829a972c67f136a0bac29d2805460ff1916600117905550505050505050505062000cda565b6200055682876200061b565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d010000000000000000000000000086151502178155905060018101620005d5838262000c0e565b506303fb044760e21b60009081526020527fb43e4f3791bfcdefa3a0fbe2a5555f8d6490b90e01de0ff40c66f18b49b562c5805460ff1916600117905550505050505050565b600280546001600160a01b0319166001600160a01b038416179055620006418162000645565b5050565b6001546001600160a01b031615620006805760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401620001e8565b6001600160a01b038116620006a85760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003620006e05760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620001e8565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632c1c764b60e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156200075d575060408051601f3d908101601f191682019092526200075a9181019062000b1c565b60015b620007875760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620001e8565b80620006415760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620001e8565b50565b6001600160a01b0381168114620007b257600080fd5b8051620007d881620007b5565b919050565b80516001600160601b0381168114620007d857600080fd5b80518015158114620007d857600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b038111828210171562000841576200084162000806565b60405290565b604051601f8201601f191681016001600160401b038111828210171562000872576200087262000806565b604052919050565b6000604082840312156200088d57600080fd5b604080519081016001600160401b0381118282101715620008b257620008b262000806565b604052825181526020928301519281019290925250919050565b60008060008060008060008060006101608a8c031215620008ec57600080fd5b8951620008f981620007b5565b98506200090960208b01620007dd565b975060408a01516200091b81620007b5565b96506200092b60608b01620007f5565b955060808a01516200093d81620007b5565b60a08b01519095506200095081620007b5565b9350620009618b60c08c016200087a565b9250620009738b6101008c016200087a565b91506101408a01516200098681620007b5565b809150509295985092959850929598565b805160ff81168114620007d857600080fd5b600082601f830112620009bb57600080fd5b81516001600160401b03811115620009d757620009d762000806565b6020620009ed601f8301601f1916820162000847565b828152858284870101111562000a0257600080fd5b60005b8381101562000a2257858101830151828201840152820162000a05565b506000928101909101919091529392505050565b60006020828403121562000a4957600080fd5b81516001600160401b038082111562000a6157600080fd5b9083019060e0828603121562000a7657600080fd5b62000a806200081c565b62000a8b83620007dd565b815262000a9b60208401620007dd565b602082015262000aae6040840162000997565b604082015262000ac160608401620007f5565b606082015262000ad460808401620007cb565b608082015262000ae760a08401620007cb565b60a082015260c08301518281111562000aff57600080fd5b62000b0d87828601620009a9565b60c08301525095945050505050565b60006020828403121562000b2f57600080fd5b62000b3a82620007f5565b9392505050565b60006020828403121562000b5457600080fd5b815162000b3a81620007b5565b60006020828403121562000b7457600080fd5b62000b3a82620007dd565b600181811c9082168062000b9457607f821691505b60208210810362000bb557634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000c0957600081815260208120601f850160051c8101602086101562000be45750805b601f850160051c820191505b8181101562000c055782815560010162000bf0565b5050505b505050565b81516001600160401b0381111562000c2a5762000c2a62000806565b62000c428162000c3b845462000b7f565b8462000bbb565b602080601f83116001811462000c7a576000841562000c615750858301515b600019600386901b1c1916600185901b17855562000c05565b600085815260208120601f198616915b8281101562000cab5788860151825594840194600190910190840162000c8a565b508582101562000cca5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61192e8062000cea6000396000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c80635ab1bd53116100ad578063b6b412ba11610071578063b6b412ba14610295578063daafed40146102a8578063db6dcc95146102b0578063de7b5d14146102b8578063f83d08ba146102c957600080fd5b80635ab1bd53146102495780635e78426b1461025a578063644c45e01461026d578063893d20e814610285578063a69df4b51461028d57600080fd5b80631380bf23116100f45780631380bf23146101c4578063138461e0146101e75780631bdd6b76146101f15780631eff4b221461021157806321df0da71461023857600080fd5b806301ffc9a7146101265780630fec111c1461016857806312abb9b31461017e578063132996041461019f575b600080fd5b610153610134366004610f7b565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101706102d1565b60405161015f929190610ffc565b61019161018c3660046111fd565b6104fb565b60405190815260200161015f565b6005546001600160a01b03165b6040516001600160a01b03909116815260200161015f565b6101cc610587565b6040805182518152602092830151928101929092520161015f565b6101ef6106c8565b005b6101f96108ea565b6040516001600160601b03909116815260200161015f565b6101917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6006546001600160a01b03166101ac565b6001546001600160a01b03166101ac565b610191610268366004611286565b610971565b600154600160a01b90046001600160601b03166101f9565b6101ac610987565b6101ef610aa0565b6101ef6102a3366004611319565b610b4e565b6101cc610c04565b6101f9610d45565b6007546001600160a01b03166101ac565b6101ef610d8a565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201819052909180610315610e07565b91509150600080600960009054906101000a90046001600160a01b03166001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801561036f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261039791908101906113ec565b915091506000806000838060200190518101906103b49190611515565b6040805161012081018252600f546001600160601b038082168352600160601b909104166020808301919091526006546001600160a01b03168284015282518084018452600b548152600c5481830152606083015282518084018452600d548152600e5491810191909152608082015260a0810185905260c0810184905260e081018390528151632bd182d360e01b81528251959b509399509197508d96509094506101008501935073__$a23651848365a6a5ca15f07b4331037f48$__92632bd182d39260048082019392918290030181865af415801561049a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104be91906115b9565b90526005546040516104dd92916001600160a01b0316906020016115d5565b60405160208183030381529060405298509850505050505050509091565b600854604051639cdaa7f960e01b81526000916001600160a01b031690639cdaa7f9906105369089908b908a908a9089908b906004016116cb565b60a060405180830381865afa158015610553573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105779190611722565b50929a9950505050505050505050565b6040805180820190915260008082526020820152600154600090600160a01b90046001600160601b031660075460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa158015610603573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106279190611762565b156106ac5760075460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa15801561067e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106a2919061177d565b6060015191505090565b505060408051808201909152600b548152600c54602082015290565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561072a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061074e9190611762565b15610795576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166107be5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610807573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061082b9190611762565b610853576040516372657a5160e01b81526001600160a01b038216600482015260240161078c565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa15801561089d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c1919061183c565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b60006108fe6001546001600160a01b031690565b600954604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e906024015b602060405180830381865afa158015610948573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061096c919061183c565b905090565b600061097e600a86611859565b95945050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156109ec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a109190611762565b15610a9057600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610a6c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061096c919061187b565b506002546001600160a01b031690565b6000610aaa610987565b90506001600160a01b03811615801590610acd5750336001600160a01b03821614155b15610aed5760405163700dd81160e01b815233600482015260240161078c565b600354604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b158015610b3357600080fd5b505af1158015610b47573d6000803e3d6000fd5b5050505050565b6000610b58610987565b90506001600160a01b03811615801590610b7b5750336001600160a01b03821614155b15610b9b5760405163700dd81160e01b815233600482015260240161078c565b600854604051635b5a095d60e11b81526001600160a01b039091169063b6b412ba90610bcd9086908690600401611898565b600060405180830381600087803b158015610be757600080fd5b505af1158015610bfb573d6000803e3d6000fd5b50505050505050565b6040805180820190915260008082526020820152600154600090600160a01b90046001600160601b031660075460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa158015610c80573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ca49190611762565b15610d295760075460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa158015610cfb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d1f919061177d565b6080015191505090565b505060408051808201909152600d548152600e54602082015290565b6000610d596001546001600160a01b031690565b600a54604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e9060240161092b565b6000610d94610987565b90506001600160a01b03811615801590610db75750336001600160a01b03821614155b15610dd75760405163700dd81160e01b815233600482015260240161078c565b60035460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a790602401610b19565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610e7c600090565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610ec4610987565b6001600160a01b03168152602001826001018054610ee1906118be565b80601f0160208091040260200160405190810160405280929190818152602001828054610f0d906118be565b8015610f5a5780601f10610f2f57610100808354040283529160200191610f5a565b820191906000526020600020905b815481529060010190602001808311610f3d57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b600060208284031215610f8d57600080fd5b81356001600160e01b031981168114610fa557600080fd5b9392505050565b60005b83811015610fc7578181015183820152602001610faf565b50506000910152565b60008151808452610fe8816020860160208601610fac565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161104060a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152611086610120840182610fd0565b9050828103602084015261097e8185610fd0565b6001600160c01b0319811681146110b057600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff811182821017156110ec576110ec6110b3565b60405290565b60405160e0810167ffffffffffffffff811182821017156110ec576110ec6110b3565b604051610120810167ffffffffffffffff811182821017156110ec576110ec6110b3565b604051601f8201601f1916810167ffffffffffffffff81118282101715611162576111626110b3565b604052919050565b600067ffffffffffffffff821115611184576111846110b3565b50601f01601f191660200190565b600082601f8301126111a357600080fd5b81356111b66111b18261116a565b611139565b8181528460208386010111156111cb57600080fd5b816020850160208301376000918101602001919091529392505050565b6001600160601b03811681146110b057600080fd5b60008060008060008060c0878903121561121657600080fd5b8635955060208701356112288161109a565b945060408701359350606087013567ffffffffffffffff81111561124b57600080fd5b61125789828a01611192565b93505060808701356112688161109a565b915060a0870135611278816111e8565b809150509295509295509295565b6000806000806080858703121561129c57600080fd5b8435935060208501356112ae8161109a565b925060408501359150606085013567ffffffffffffffff8111156112d157600080fd5b6112dd87828801611192565b91505092959194509250565b6000604082840312156112fb57600080fd5b6113036110c9565b9050813581526020820135602082015292915050565b6000806080838503121561132c57600080fd5b61133684846112e9565b915061134584604085016112e9565b90509250929050565b8051611359816111e8565b919050565b805160ff8116811461135957600080fd5b8051801515811461135957600080fd5b6001600160a01b03811681146110b057600080fd5b80516113598161137f565b600082601f8301126113b057600080fd5b81516113be6111b18261116a565b8181528460208386010111156113d357600080fd5b6113e4826020830160208701610fac565b949350505050565b600080604083850312156113ff57600080fd5b825167ffffffffffffffff8082111561141757600080fd5b9084019060e0828703121561142b57600080fd5b6114336110f2565b61143c8361134e565b815261144a6020840161134e565b602082015261145b6040840161135e565b604082015261146c6060840161136f565b606082015261147d60808401611394565b608082015261148e60a08401611394565b60a082015260c0830151828111156114a557600080fd5b6114b18882860161139f565b60c08301525060208601519094509150808211156114ce57600080fd5b506114db8582860161139f565b9150509250929050565b6000604082840312156114f757600080fd5b6114ff6110c9565b9050815181526020820151602082015292915050565b60008060008060008086880361014081121561153057600080fd5b604081121561153e57600080fd5b506115476110c9565b6115508861136f565b81526020880151602082015280965050604087015161156e8161137f565b606088015190955061157f8161137f565b935061158e88608089016114e5565b925061159d8860c089016114e5565b91506115ad8861010089016114e5565b90509295509295509295565b6000604082840312156115cb57600080fd5b610fa583836114e5565b82516001600160601b03168152602080840151610200830191611602908401826001600160601b03169052565b50604084015161161d60408401826001600160a01b03169052565b50606084015161163a606084018280518252602090810151910152565b506080840151805160a0840152602081015160c08401525060a0840151805160e084015260208101516101008401525060c0840151805161012084015260208101516101408401525060e0840151805161016084015260208101516101808401525061010084015180516101a084015260208101516101c0840152506001600160a01b0383166101e0830152610fa5565b600067ffffffffffffffff60c01b808916835287602084015286604084015260c060608401526116fe60c0840187610fd0565b6001600160601b039590951660808401529290921660a09091015250949350505050565b600080600080600060a0868803121561173a57600080fd5b5050835160208501516040860151606087015160809097015192989197509594509092509050565b60006020828403121561177457600080fd5b610fa58261136f565b60006101e0828403121561179057600080fd5b611798611115565b6117a18361134e565b81526117af6020840161134e565b60208201526117c060408401611394565b60408201526117d284606085016114e5565b60608201526117e48460a085016114e5565b60808201526117f68460e085016114e5565b60a08201526118098461012085016114e5565b60c082015261181c8461016085016114e5565b60e082015261182f846101a085016114e5565b6101008201529392505050565b60006020828403121561184e57600080fd5b8151610fa5816111e8565b60008261187657634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561188d57600080fd5b8151610fa58161137f565b825181526020808401518183015282516040830152820151606082015260808101610fa5565b600181811c908216806118d257607f821691505b6020821081036118f257634e487b7160e01b600052602260045260246000fd5b5091905056fea2646970667358221220465ab3938a5adbc6d018d850038e33e877ef67fee7f9438882db380e2f6ba81d64736f6c63430008140033",
569
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101215760003560e01c80635ab1bd53116100ad578063b6b412ba11610071578063b6b412ba14610295578063daafed40146102a8578063db6dcc95146102b0578063de7b5d14146102b8578063f83d08ba146102c957600080fd5b80635ab1bd53146102495780635e78426b1461025a578063644c45e01461026d578063893d20e814610285578063a69df4b51461028d57600080fd5b80631380bf23116100f45780631380bf23146101c4578063138461e0146101e75780631bdd6b76146101f15780631eff4b221461021157806321df0da71461023857600080fd5b806301ffc9a7146101265780630fec111c1461016857806312abb9b31461017e578063132996041461019f575b600080fd5b610153610134366004610f7b565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101706102d1565b60405161015f929190610ffc565b61019161018c3660046111fd565b6104fb565b60405190815260200161015f565b6005546001600160a01b03165b6040516001600160a01b03909116815260200161015f565b6101cc610587565b6040805182518152602092830151928101929092520161015f565b6101ef6106c8565b005b6101f96108ea565b6040516001600160601b03909116815260200161015f565b6101917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6006546001600160a01b03166101ac565b6001546001600160a01b03166101ac565b610191610268366004611286565b610971565b600154600160a01b90046001600160601b03166101f9565b6101ac610987565b6101ef610aa0565b6101ef6102a3366004611319565b610b4e565b6101cc610c04565b6101f9610d45565b6007546001600160a01b03166101ac565b6101ef610d8a565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201819052909180610315610e07565b91509150600080600960009054906101000a90046001600160a01b03166001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801561036f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261039791908101906113ec565b915091506000806000838060200190518101906103b49190611515565b6040805161012081018252600f546001600160601b038082168352600160601b909104166020808301919091526006546001600160a01b03168284015282518084018452600b548152600c5481830152606083015282518084018452600d548152600e5491810191909152608082015260a0810185905260c0810184905260e081018390528151632bd182d360e01b81528251959b509399509197508d96509094506101008501935073__$a23651848365a6a5ca15f07b4331037f48$__92632bd182d39260048082019392918290030181865af415801561049a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104be91906115b9565b90526005546040516104dd92916001600160a01b0316906020016115d5565b60405160208183030381529060405298509850505050505050509091565b600854604051639cdaa7f960e01b81526000916001600160a01b031690639cdaa7f9906105369089908b908a908a9089908b906004016116cb565b60a060405180830381865afa158015610553573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105779190611722565b50929a9950505050505050505050565b6040805180820190915260008082526020820152600154600090600160a01b90046001600160601b031660075460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa158015610603573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106279190611762565b156106ac5760075460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa15801561067e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106a2919061177d565b6060015191505090565b505060408051808201909152600b548152600c54602082015290565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561072a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061074e9190611762565b15610795576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166107be5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610807573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061082b9190611762565b610853576040516372657a5160e01b81526001600160a01b038216600482015260240161078c565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa15801561089d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c1919061183c565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b60006108fe6001546001600160a01b031690565b600954604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e906024015b602060405180830381865afa158015610948573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061096c919061183c565b905090565b600061097e600a86611859565b95945050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156109ec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a109190611762565b15610a9057600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610a6c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061096c919061187b565b506002546001600160a01b031690565b6000610aaa610987565b90506001600160a01b03811615801590610acd5750336001600160a01b03821614155b15610aed5760405163700dd81160e01b815233600482015260240161078c565b600354604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b158015610b3357600080fd5b505af1158015610b47573d6000803e3d6000fd5b5050505050565b6000610b58610987565b90506001600160a01b03811615801590610b7b5750336001600160a01b03821614155b15610b9b5760405163700dd81160e01b815233600482015260240161078c565b600854604051635b5a095d60e11b81526001600160a01b039091169063b6b412ba90610bcd9086908690600401611898565b600060405180830381600087803b158015610be757600080fd5b505af1158015610bfb573d6000803e3d6000fd5b50505050505050565b6040805180820190915260008082526020820152600154600090600160a01b90046001600160601b031660075460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa158015610c80573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ca49190611762565b15610d295760075460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa158015610cfb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d1f919061177d565b6080015191505090565b505060408051808201909152600d548152600e54602082015290565b6000610d596001546001600160a01b031690565b600a54604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e9060240161092b565b6000610d94610987565b90506001600160a01b03811615801590610db75750336001600160a01b03821614155b15610dd75760405163700dd81160e01b815233600482015260240161078c565b60035460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a790602401610b19565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610e7c600090565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610ec4610987565b6001600160a01b03168152602001826001018054610ee1906118be565b80601f0160208091040260200160405190810160405280929190818152602001828054610f0d906118be565b8015610f5a5780601f10610f2f57610100808354040283529160200191610f5a565b820191906000526020600020905b815481529060010190602001808311610f3d57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b600060208284031215610f8d57600080fd5b81356001600160e01b031981168114610fa557600080fd5b9392505050565b60005b83811015610fc7578181015183820152602001610faf565b50506000910152565b60008151808452610fe8816020860160208601610fac565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161104060a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152611086610120840182610fd0565b9050828103602084015261097e8185610fd0565b6001600160c01b0319811681146110b057600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff811182821017156110ec576110ec6110b3565b60405290565b60405160e0810167ffffffffffffffff811182821017156110ec576110ec6110b3565b604051610120810167ffffffffffffffff811182821017156110ec576110ec6110b3565b604051601f8201601f1916810167ffffffffffffffff81118282101715611162576111626110b3565b604052919050565b600067ffffffffffffffff821115611184576111846110b3565b50601f01601f191660200190565b600082601f8301126111a357600080fd5b81356111b66111b18261116a565b611139565b8181528460208386010111156111cb57600080fd5b816020850160208301376000918101602001919091529392505050565b6001600160601b03811681146110b057600080fd5b60008060008060008060c0878903121561121657600080fd5b8635955060208701356112288161109a565b945060408701359350606087013567ffffffffffffffff81111561124b57600080fd5b61125789828a01611192565b93505060808701356112688161109a565b915060a0870135611278816111e8565b809150509295509295509295565b6000806000806080858703121561129c57600080fd5b8435935060208501356112ae8161109a565b925060408501359150606085013567ffffffffffffffff8111156112d157600080fd5b6112dd87828801611192565b91505092959194509250565b6000604082840312156112fb57600080fd5b6113036110c9565b9050813581526020820135602082015292915050565b6000806080838503121561132c57600080fd5b61133684846112e9565b915061134584604085016112e9565b90509250929050565b8051611359816111e8565b919050565b805160ff8116811461135957600080fd5b8051801515811461135957600080fd5b6001600160a01b03811681146110b057600080fd5b80516113598161137f565b600082601f8301126113b057600080fd5b81516113be6111b18261116a565b8181528460208386010111156113d357600080fd5b6113e4826020830160208701610fac565b949350505050565b600080604083850312156113ff57600080fd5b825167ffffffffffffffff8082111561141757600080fd5b9084019060e0828703121561142b57600080fd5b6114336110f2565b61143c8361134e565b815261144a6020840161134e565b602082015261145b6040840161135e565b604082015261146c6060840161136f565b606082015261147d60808401611394565b608082015261148e60a08401611394565b60a082015260c0830151828111156114a557600080fd5b6114b18882860161139f565b60c08301525060208601519094509150808211156114ce57600080fd5b506114db8582860161139f565b9150509250929050565b6000604082840312156114f757600080fd5b6114ff6110c9565b9050815181526020820151602082015292915050565b60008060008060008086880361014081121561153057600080fd5b604081121561153e57600080fd5b506115476110c9565b6115508861136f565b81526020880151602082015280965050604087015161156e8161137f565b606088015190955061157f8161137f565b935061158e88608089016114e5565b925061159d8860c089016114e5565b91506115ad8861010089016114e5565b90509295509295509295565b6000604082840312156115cb57600080fd5b610fa583836114e5565b82516001600160601b03168152602080840151610200830191611602908401826001600160601b03169052565b50604084015161161d60408401826001600160a01b03169052565b50606084015161163a606084018280518252602090810151910152565b506080840151805160a0840152602081015160c08401525060a0840151805160e084015260208101516101008401525060c0840151805161012084015260208101516101408401525060e0840151805161016084015260208101516101808401525061010084015180516101a084015260208101516101c0840152506001600160a01b0383166101e0830152610fa5565b600067ffffffffffffffff60c01b808916835287602084015286604084015260c060608401526116fe60c0840187610fd0565b6001600160601b039590951660808401529290921660a09091015250949350505050565b600080600080600060a0868803121561173a57600080fd5b5050835160208501516040860151606087015160809097015192989197509594509092509050565b60006020828403121561177457600080fd5b610fa58261136f565b60006101e0828403121561179057600080fd5b611798611115565b6117a18361134e565b81526117af6020840161134e565b60208201526117c060408401611394565b60408201526117d284606085016114e5565b60608201526117e48460a085016114e5565b60808201526117f68460e085016114e5565b60a08201526118098461012085016114e5565b60c082015261181c8461016085016114e5565b60e082015261182f846101a085016114e5565b6101008201529392505050565b60006020828403121561184e57600080fd5b8151610fa5816111e8565b60008261187657634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561188d57600080fd5b8151610fa58161137f565b825181526020808401518183015282516040830152820151606082015260808101610fa5565b600181811c908216806118d257607f821691505b6020821081036118f257634e487b7160e01b600052602260045260246000fd5b5091905056fea2646970667358221220465ab3938a5adbc6d018d850038e33e877ef67fee7f9438882db380e2f6ba81d64736f6c63430008140033",
570
- "linkReferences": {
571
- "contracts/types/Fee.sol": {
572
- "FeeLib": [
573
- {
574
- "length": 20,
575
- "start": 4425
576
- }
577
- ]
578
- },
579
- "contracts/types/NftId.sol": {
580
- "NftIdLib": [
581
- {
582
- "length": 20,
583
- "start": 5082
584
- },
585
- {
586
- "length": 20,
587
- "start": 5788
588
- }
589
- ]
590
- }
591
- },
592
- "deployedLinkReferences": {
593
- "contracts/types/Fee.sol": {
594
- "FeeLib": [
595
- {
596
- "length": 20,
597
- "start": 1119
598
- }
599
- ]
600
- },
601
- "contracts/types/NftId.sol": {
602
- "NftIdLib": [
603
- {
604
- "length": 20,
605
- "start": 1776
606
- },
607
- {
608
- "length": 20,
609
- "start": 2482
610
- }
611
- ]
612
- }
613
- }
1163
+ "bytecode": "0x",
1164
+ "deployedBytecode": "0x",
1165
+ "linkReferences": {},
1166
+ "deployedLinkReferences": {}
614
1167
  }