@etherisc/gif-next 0.0.2-e9148e0-933 → 0.0.2-e922e07-736

Sign up to get free protection for your applications and to get access to all the features.
Files changed (352) hide show
  1. package/README.md +136 -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 +879 -236
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/{shared/RegisterableUpgradable.sol/RegisterableUpgradable.json → components/IComponent.sol/IComponent.json} +164 -159
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +689 -30
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +838 -58
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +524 -9
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +950 -281
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +568 -188
  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/{AccessManagedSimple.sol/AccessManagedSimple.json → Cloneable.sol/Cloneable.json} +86 -2
  22. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  23. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1912 -421
  24. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  25. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +194 -165
  26. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  27. package/artifacts/contracts/instance/Instance.sol/Instance.json +901 -1127
  28. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  29. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +211 -144
  30. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  31. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +126 -159
  32. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  33. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +420 -305
  34. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  35. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +297 -112
  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/{ComponentServiceBase.sol/ComponentServiceBase.json → ComponentService.sol/ComponentService.json} +189 -177
  40. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  41. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  42. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +2 -2
  44. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  45. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +2 -2
  46. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  47. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +59 -16
  48. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  49. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  50. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  51. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  52. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  53. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  54. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  55. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +968 -0
  56. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  57. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +665 -0
  58. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  59. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1096 -0
  60. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  61. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +661 -0
  62. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  63. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +754 -0
  64. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  65. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +637 -0
  66. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  67. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1221 -213
  68. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  69. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +436 -79
  70. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  71. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +556 -0
  72. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  73. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +633 -0
  74. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  75. package/artifacts/contracts/instance/service/{IComponentOwnerService.sol/IComponentOwnerService.json → IClaimService.sol/IClaimService.json} +150 -207
  76. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  77. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +727 -160
  78. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  79. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +540 -0
  80. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +37 -251
  82. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  83. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +47 -414
  84. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  85. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1021 -0
  86. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  87. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +689 -0
  88. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  89. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +209 -321
  90. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  91. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +296 -95
  92. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  93. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +218 -499
  94. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
  95. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +299 -98
  96. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  97. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
  98. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  99. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +242 -131
  100. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  101. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +158 -215
  102. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  103. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  104. package/artifacts/contracts/registry/Registry.sol/Registry.json +256 -226
  105. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  106. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  107. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  108. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +202 -318
  109. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  110. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +298 -141
  111. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  112. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
  113. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  114. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +141 -53
  115. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  116. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  117. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  118. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  119. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +40 -29
  120. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  121. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
  122. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  123. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +21 -34
  124. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  125. package/artifacts/contracts/{experiment/inheritance/IB.sol/IB.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +18 -20
  126. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  127. package/artifacts/contracts/shared/IService.sol/IService.json +31 -183
  128. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  129. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  130. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  131. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +120 -27
  132. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  133. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
  134. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  135. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +294 -61
  136. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  137. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +129 -51
  138. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  139. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
  140. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  141. package/artifacts/contracts/shared/Service.sol/Service.json +127 -170
  142. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  143. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  144. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  145. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  146. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  147. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  148. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  149. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +129 -51
  150. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  151. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +2 -2
  152. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  153. package/artifacts/contracts/test/TestService.sol/TestService.json +148 -227
  154. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  155. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  156. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  157. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -190
  158. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  159. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  160. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  161. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  162. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  163. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +100 -0
  164. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  165. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
  166. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  167. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  168. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  169. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  170. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
  171. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  172. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  173. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  174. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  175. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  176. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  177. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +100 -0
  178. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  179. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
  180. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  181. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  182. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  183. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  184. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  185. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  186. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  187. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  188. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +25 -7
  189. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  190. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  191. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  192. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  193. package/contracts/components/Component.sol +221 -0
  194. package/contracts/components/Distribution.sol +200 -79
  195. package/contracts/components/IComponent.sol +68 -0
  196. package/contracts/components/IDistributionComponent.sol +44 -17
  197. package/contracts/components/IPoolComponent.sol +126 -37
  198. package/contracts/components/IProductComponent.sol +10 -5
  199. package/contracts/components/Pool.sol +288 -152
  200. package/contracts/components/Product.sol +124 -119
  201. package/contracts/instance/BundleManager.sol +125 -0
  202. package/contracts/instance/Cloneable.sol +46 -0
  203. package/contracts/instance/IInstance.sol +56 -5
  204. package/contracts/instance/IInstanceService.sol +33 -4
  205. package/contracts/instance/Instance.sol +109 -261
  206. package/contracts/instance/InstanceAccessManager.sol +87 -78
  207. package/contracts/instance/InstanceReader.sol +12 -25
  208. package/contracts/instance/InstanceService.sol +401 -104
  209. package/contracts/instance/InstanceServiceManager.sol +6 -9
  210. package/contracts/instance/ObjectManager.sol +84 -0
  211. package/contracts/instance/base/ComponentService.sol +134 -0
  212. package/contracts/instance/module/IAccess.sol +27 -18
  213. package/contracts/instance/module/IBundle.sol +2 -1
  214. package/contracts/instance/module/IDistribution.sol +2 -0
  215. package/contracts/instance/module/IPolicy.sol +30 -3
  216. package/contracts/instance/module/ISetup.sol +12 -10
  217. package/contracts/instance/service/ApplicationService.sol +349 -0
  218. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  219. package/contracts/instance/service/BundleService.sol +299 -0
  220. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  221. package/contracts/instance/service/ClaimService.sol +151 -0
  222. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  223. package/contracts/instance/service/DistributionService.sol +390 -28
  224. package/contracts/instance/service/DistributionServiceManager.sol +7 -10
  225. package/contracts/instance/service/IApplicationService.sol +82 -0
  226. package/contracts/instance/service/IBundleService.sol +55 -0
  227. package/contracts/instance/service/IClaimService.sol +61 -0
  228. package/contracts/instance/service/IDistributionService.sol +86 -0
  229. package/contracts/instance/service/IPolicyService.sol +72 -0
  230. package/contracts/instance/service/IPoolService.sol +6 -23
  231. package/contracts/instance/service/IProductService.sol +6 -73
  232. package/contracts/instance/service/PolicyService.sol +394 -0
  233. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  234. package/contracts/instance/service/PoolService.sol +38 -123
  235. package/contracts/instance/service/PoolServiceManager.sol +6 -9
  236. package/contracts/instance/service/ProductService.sol +133 -448
  237. package/contracts/instance/service/ProductServiceManager.sol +2 -2
  238. package/contracts/registry/ChainNft.sol +1 -1
  239. package/contracts/registry/IRegistry.sol +39 -19
  240. package/contracts/registry/IRegistryService.sol +30 -13
  241. package/contracts/registry/Registry.sol +236 -216
  242. package/contracts/registry/RegistryAccessManager.sol +216 -0
  243. package/contracts/registry/RegistryService.sol +96 -171
  244. package/contracts/registry/RegistryServiceManager.sol +21 -39
  245. package/contracts/registry/ReleaseManager.sol +322 -0
  246. package/contracts/registry/TokenRegistry.sol +22 -17
  247. package/contracts/shared/ERC165.sol +14 -12
  248. package/contracts/shared/INftOwnable.sol +11 -10
  249. package/contracts/shared/IPolicyHolder.sol +26 -0
  250. package/contracts/shared/IRegisterable.sol +4 -6
  251. package/contracts/shared/IRegistryLinked.sol +12 -0
  252. package/contracts/shared/IService.sol +4 -1
  253. package/contracts/shared/IVersionable.sol +4 -47
  254. package/contracts/shared/NftOwnable.sol +66 -80
  255. package/contracts/shared/PolicyHolder.sol +81 -0
  256. package/contracts/shared/ProxyManager.sol +100 -25
  257. package/contracts/shared/Registerable.sol +16 -32
  258. package/contracts/shared/RegistryLinked.sol +48 -0
  259. package/contracts/shared/Service.sol +25 -22
  260. package/contracts/shared/Versionable.sol +4 -92
  261. package/contracts/test/TestRegisterable.sol +1 -1
  262. package/contracts/test/TestService.sol +4 -3
  263. package/contracts/types/ClaimId.sol +52 -0
  264. package/contracts/types/DistributorType.sol +2 -2
  265. package/contracts/types/NftIdSet.sol +26 -24
  266. package/contracts/types/ObjectType.sol +9 -5
  267. package/contracts/types/PayoutId.sol +54 -0
  268. package/contracts/types/Referral.sol +4 -0
  269. package/contracts/types/RoleId.sol +19 -14
  270. package/contracts/types/Seconds.sol +54 -0
  271. package/contracts/types/Timestamp.sol +12 -13
  272. package/package.json +3 -3
  273. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  274. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -327
  275. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  276. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -280
  277. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  278. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  279. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  280. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  281. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  282. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  283. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  284. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  285. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  286. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  287. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  288. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  289. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  290. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  291. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  292. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  293. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  294. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  295. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  296. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  297. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  298. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  299. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  300. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  301. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  302. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  303. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  304. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  305. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  306. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  307. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  308. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  309. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  310. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  311. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  312. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  313. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  314. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  315. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  316. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  317. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  318. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
  319. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  320. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  321. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  322. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  323. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  324. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  325. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  326. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  327. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  328. package/contracts/components/BaseComponent.sol +0 -91
  329. package/contracts/components/IBaseComponent.sol +0 -25
  330. package/contracts/experiment/cloning/Cloner.sol +0 -47
  331. package/contracts/experiment/errors/Require.sol +0 -38
  332. package/contracts/experiment/errors/Revert.sol +0 -44
  333. package/contracts/experiment/inheritance/A.sol +0 -53
  334. package/contracts/experiment/inheritance/B.sol +0 -28
  335. package/contracts/experiment/inheritance/C.sol +0 -34
  336. package/contracts/experiment/inheritance/IA.sol +0 -13
  337. package/contracts/experiment/inheritance/IB.sol +0 -10
  338. package/contracts/experiment/inheritance/IC.sol +0 -12
  339. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  340. package/contracts/experiment/statemachine/ISM.sol +0 -25
  341. package/contracts/experiment/statemachine/SM.sol +0 -57
  342. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  343. package/contracts/experiment/types/TypeA.sol +0 -47
  344. package/contracts/experiment/types/TypeB.sol +0 -29
  345. package/contracts/instance/AccessManagedSimple.sol +0 -115
  346. package/contracts/instance/AccessManagerSimple.sol +0 -692
  347. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  348. package/contracts/instance/base/ComponentServiceBase.sol +0 -124
  349. package/contracts/instance/base/IInstanceBase.sol +0 -23
  350. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  351. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  352. package/contracts/shared/RegisterableUpgradable.sol +0 -16
@@ -0,0 +1,754 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "ClaimService",
4
+ "sourceName": "contracts/instance/service/ClaimService.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "component",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "internalType": "NftId",
15
+ "name": "nftId",
16
+ "type": "uint96"
17
+ }
18
+ ],
19
+ "name": "ErrorComponentServiceAlreadyRegistered",
20
+ "type": "error"
21
+ },
22
+ {
23
+ "inputs": [
24
+ {
25
+ "internalType": "address",
26
+ "name": "component",
27
+ "type": "address"
28
+ }
29
+ ],
30
+ "name": "ErrorComponentServiceComponentLocked",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "NftId",
37
+ "name": "instanceNftId",
38
+ "type": "uint96"
39
+ },
40
+ {
41
+ "internalType": "RoleId",
42
+ "name": "requiredRole",
43
+ "type": "uint64"
44
+ },
45
+ {
46
+ "internalType": "address",
47
+ "name": "sender",
48
+ "type": "address"
49
+ }
50
+ ],
51
+ "name": "ErrorComponentServiceExpectedRoleMissing",
52
+ "type": "error"
53
+ },
54
+ {
55
+ "inputs": [
56
+ {
57
+ "internalType": "address",
58
+ "name": "component",
59
+ "type": "address"
60
+ },
61
+ {
62
+ "internalType": "ObjectType",
63
+ "name": "requiredType",
64
+ "type": "uint8"
65
+ },
66
+ {
67
+ "internalType": "ObjectType",
68
+ "name": "componentType",
69
+ "type": "uint8"
70
+ }
71
+ ],
72
+ "name": "ErrorComponentServiceInvalidType",
73
+ "type": "error"
74
+ },
75
+ {
76
+ "inputs": [
77
+ {
78
+ "internalType": "address",
79
+ "name": "component",
80
+ "type": "address"
81
+ }
82
+ ],
83
+ "name": "ErrorComponentServiceNotComponent",
84
+ "type": "error"
85
+ },
86
+ {
87
+ "inputs": [
88
+ {
89
+ "internalType": "address",
90
+ "name": "component",
91
+ "type": "address"
92
+ },
93
+ {
94
+ "internalType": "address",
95
+ "name": "initialOwner",
96
+ "type": "address"
97
+ },
98
+ {
99
+ "internalType": "address",
100
+ "name": "sender",
101
+ "type": "address"
102
+ }
103
+ ],
104
+ "name": "ErrorComponentServiceSenderNotOwner",
105
+ "type": "error"
106
+ },
107
+ {
108
+ "inputs": [
109
+ {
110
+ "internalType": "address",
111
+ "name": "caller",
112
+ "type": "address"
113
+ }
114
+ ],
115
+ "name": "ErrorIServiceCallerUnknown",
116
+ "type": "error"
117
+ },
118
+ {
119
+ "inputs": [
120
+ {
121
+ "internalType": "NftId",
122
+ "name": "nftId",
123
+ "type": "uint96"
124
+ }
125
+ ],
126
+ "name": "ErrorNftOwnableAlreadyLinked",
127
+ "type": "error"
128
+ },
129
+ {
130
+ "inputs": [
131
+ {
132
+ "internalType": "address",
133
+ "name": "contractAddress",
134
+ "type": "address"
135
+ }
136
+ ],
137
+ "name": "ErrorNftOwnableContractNotRegistered",
138
+ "type": "error"
139
+ },
140
+ {
141
+ "inputs": [],
142
+ "name": "ErrorNftOwnableInitialOwnerZero",
143
+ "type": "error"
144
+ },
145
+ {
146
+ "inputs": [
147
+ {
148
+ "internalType": "address",
149
+ "name": "account",
150
+ "type": "address"
151
+ }
152
+ ],
153
+ "name": "ErrorNftOwnableNotOwner",
154
+ "type": "error"
155
+ },
156
+ {
157
+ "inputs": [
158
+ {
159
+ "internalType": "address",
160
+ "name": "registryAddress",
161
+ "type": "address"
162
+ }
163
+ ],
164
+ "name": "ErrorNotRegistry",
165
+ "type": "error"
166
+ },
167
+ {
168
+ "inputs": [],
169
+ "name": "InvalidInitialization",
170
+ "type": "error"
171
+ },
172
+ {
173
+ "inputs": [],
174
+ "name": "NotInitializing",
175
+ "type": "error"
176
+ },
177
+ {
178
+ "anonymous": false,
179
+ "inputs": [
180
+ {
181
+ "indexed": false,
182
+ "internalType": "uint64",
183
+ "name": "version",
184
+ "type": "uint64"
185
+ }
186
+ ],
187
+ "name": "Initialized",
188
+ "type": "event"
189
+ },
190
+ {
191
+ "inputs": [],
192
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
193
+ "outputs": [
194
+ {
195
+ "internalType": "bytes32",
196
+ "name": "",
197
+ "type": "bytes32"
198
+ }
199
+ ],
200
+ "stateMutability": "view",
201
+ "type": "function"
202
+ },
203
+ {
204
+ "inputs": [],
205
+ "name": "REGISTERABLE_LOCATION_V1",
206
+ "outputs": [
207
+ {
208
+ "internalType": "bytes32",
209
+ "name": "",
210
+ "type": "bytes32"
211
+ }
212
+ ],
213
+ "stateMutability": "view",
214
+ "type": "function"
215
+ },
216
+ {
217
+ "inputs": [
218
+ {
219
+ "internalType": "NftId",
220
+ "name": "policyNftId",
221
+ "type": "uint96"
222
+ },
223
+ {
224
+ "internalType": "ClaimId",
225
+ "name": "claimId",
226
+ "type": "uint16"
227
+ }
228
+ ],
229
+ "name": "closeClaim",
230
+ "outputs": [],
231
+ "stateMutability": "nonpayable",
232
+ "type": "function"
233
+ },
234
+ {
235
+ "inputs": [
236
+ {
237
+ "internalType": "NftId",
238
+ "name": "policyNftId",
239
+ "type": "uint96"
240
+ },
241
+ {
242
+ "internalType": "ClaimId",
243
+ "name": "claimId",
244
+ "type": "uint16"
245
+ },
246
+ {
247
+ "internalType": "uint256",
248
+ "name": "claimAmount",
249
+ "type": "uint256"
250
+ }
251
+ ],
252
+ "name": "confirmClaim",
253
+ "outputs": [],
254
+ "stateMutability": "nonpayable",
255
+ "type": "function"
256
+ },
257
+ {
258
+ "inputs": [
259
+ {
260
+ "internalType": "NftId",
261
+ "name": "policyNftId",
262
+ "type": "uint96"
263
+ },
264
+ {
265
+ "internalType": "uint256",
266
+ "name": "claimAmount",
267
+ "type": "uint256"
268
+ },
269
+ {
270
+ "internalType": "bytes",
271
+ "name": "claimData",
272
+ "type": "bytes"
273
+ }
274
+ ],
275
+ "name": "createClaim",
276
+ "outputs": [
277
+ {
278
+ "internalType": "ClaimId",
279
+ "name": "",
280
+ "type": "uint16"
281
+ }
282
+ ],
283
+ "stateMutability": "nonpayable",
284
+ "type": "function"
285
+ },
286
+ {
287
+ "inputs": [
288
+ {
289
+ "internalType": "NftId",
290
+ "name": "policyNftId",
291
+ "type": "uint96"
292
+ },
293
+ {
294
+ "internalType": "ClaimId",
295
+ "name": "claimId",
296
+ "type": "uint16"
297
+ },
298
+ {
299
+ "internalType": "uint256",
300
+ "name": "payoutAmount",
301
+ "type": "uint256"
302
+ },
303
+ {
304
+ "internalType": "bytes",
305
+ "name": "payoutData",
306
+ "type": "bytes"
307
+ }
308
+ ],
309
+ "name": "createPayout",
310
+ "outputs": [
311
+ {
312
+ "internalType": "PayoutId",
313
+ "name": "payoutId",
314
+ "type": "uint24"
315
+ }
316
+ ],
317
+ "stateMutability": "nonpayable",
318
+ "type": "function"
319
+ },
320
+ {
321
+ "inputs": [
322
+ {
323
+ "internalType": "NftId",
324
+ "name": "policyNftId",
325
+ "type": "uint96"
326
+ },
327
+ {
328
+ "internalType": "ClaimId",
329
+ "name": "claimId",
330
+ "type": "uint16"
331
+ }
332
+ ],
333
+ "name": "declineClaim",
334
+ "outputs": [],
335
+ "stateMutability": "nonpayable",
336
+ "type": "function"
337
+ },
338
+ {
339
+ "inputs": [],
340
+ "name": "getDomain",
341
+ "outputs": [
342
+ {
343
+ "internalType": "ObjectType",
344
+ "name": "",
345
+ "type": "uint8"
346
+ }
347
+ ],
348
+ "stateMutability": "pure",
349
+ "type": "function"
350
+ },
351
+ {
352
+ "inputs": [],
353
+ "name": "getInitialInfo",
354
+ "outputs": [
355
+ {
356
+ "components": [
357
+ {
358
+ "internalType": "NftId",
359
+ "name": "nftId",
360
+ "type": "uint96"
361
+ },
362
+ {
363
+ "internalType": "NftId",
364
+ "name": "parentNftId",
365
+ "type": "uint96"
366
+ },
367
+ {
368
+ "internalType": "ObjectType",
369
+ "name": "objectType",
370
+ "type": "uint8"
371
+ },
372
+ {
373
+ "internalType": "bool",
374
+ "name": "isInterceptor",
375
+ "type": "bool"
376
+ },
377
+ {
378
+ "internalType": "address",
379
+ "name": "objectAddress",
380
+ "type": "address"
381
+ },
382
+ {
383
+ "internalType": "address",
384
+ "name": "initialOwner",
385
+ "type": "address"
386
+ },
387
+ {
388
+ "internalType": "bytes",
389
+ "name": "data",
390
+ "type": "bytes"
391
+ }
392
+ ],
393
+ "internalType": "struct IRegistry.ObjectInfo",
394
+ "name": "info",
395
+ "type": "tuple"
396
+ }
397
+ ],
398
+ "stateMutability": "view",
399
+ "type": "function"
400
+ },
401
+ {
402
+ "inputs": [],
403
+ "name": "getInstanceService",
404
+ "outputs": [
405
+ {
406
+ "internalType": "contract InstanceService",
407
+ "name": "",
408
+ "type": "address"
409
+ }
410
+ ],
411
+ "stateMutability": "view",
412
+ "type": "function"
413
+ },
414
+ {
415
+ "inputs": [],
416
+ "name": "getMajorVersion",
417
+ "outputs": [
418
+ {
419
+ "internalType": "VersionPart",
420
+ "name": "majorVersion",
421
+ "type": "uint8"
422
+ }
423
+ ],
424
+ "stateMutability": "view",
425
+ "type": "function"
426
+ },
427
+ {
428
+ "inputs": [],
429
+ "name": "getNftId",
430
+ "outputs": [
431
+ {
432
+ "internalType": "NftId",
433
+ "name": "",
434
+ "type": "uint96"
435
+ }
436
+ ],
437
+ "stateMutability": "view",
438
+ "type": "function"
439
+ },
440
+ {
441
+ "inputs": [],
442
+ "name": "getOwner",
443
+ "outputs": [
444
+ {
445
+ "internalType": "address",
446
+ "name": "",
447
+ "type": "address"
448
+ }
449
+ ],
450
+ "stateMutability": "view",
451
+ "type": "function"
452
+ },
453
+ {
454
+ "inputs": [],
455
+ "name": "getRegistry",
456
+ "outputs": [
457
+ {
458
+ "internalType": "contract IRegistry",
459
+ "name": "",
460
+ "type": "address"
461
+ }
462
+ ],
463
+ "stateMutability": "view",
464
+ "type": "function"
465
+ },
466
+ {
467
+ "inputs": [],
468
+ "name": "getRegistryAddress",
469
+ "outputs": [
470
+ {
471
+ "internalType": "address",
472
+ "name": "",
473
+ "type": "address"
474
+ }
475
+ ],
476
+ "stateMutability": "view",
477
+ "type": "function"
478
+ },
479
+ {
480
+ "inputs": [],
481
+ "name": "getRegistryService",
482
+ "outputs": [
483
+ {
484
+ "internalType": "contract IRegistryService",
485
+ "name": "",
486
+ "type": "address"
487
+ }
488
+ ],
489
+ "stateMutability": "view",
490
+ "type": "function"
491
+ },
492
+ {
493
+ "inputs": [],
494
+ "name": "getVersion",
495
+ "outputs": [
496
+ {
497
+ "internalType": "Version",
498
+ "name": "",
499
+ "type": "uint24"
500
+ }
501
+ ],
502
+ "stateMutability": "pure",
503
+ "type": "function"
504
+ },
505
+ {
506
+ "inputs": [],
507
+ "name": "initializeERC165",
508
+ "outputs": [],
509
+ "stateMutability": "nonpayable",
510
+ "type": "function"
511
+ },
512
+ {
513
+ "inputs": [
514
+ {
515
+ "internalType": "address",
516
+ "name": "initialOwner",
517
+ "type": "address"
518
+ },
519
+ {
520
+ "internalType": "address",
521
+ "name": "registryAddress",
522
+ "type": "address"
523
+ }
524
+ ],
525
+ "name": "initializeNftOwnable",
526
+ "outputs": [],
527
+ "stateMutability": "nonpayable",
528
+ "type": "function"
529
+ },
530
+ {
531
+ "inputs": [
532
+ {
533
+ "internalType": "address",
534
+ "name": "registryAddress",
535
+ "type": "address"
536
+ },
537
+ {
538
+ "internalType": "NftId",
539
+ "name": "parentNftId",
540
+ "type": "uint96"
541
+ },
542
+ {
543
+ "internalType": "ObjectType",
544
+ "name": "objectType",
545
+ "type": "uint8"
546
+ },
547
+ {
548
+ "internalType": "bool",
549
+ "name": "isInterceptor",
550
+ "type": "bool"
551
+ },
552
+ {
553
+ "internalType": "address",
554
+ "name": "initialOwner",
555
+ "type": "address"
556
+ },
557
+ {
558
+ "internalType": "bytes",
559
+ "name": "registryData",
560
+ "type": "bytes"
561
+ }
562
+ ],
563
+ "name": "initializeRegisterable",
564
+ "outputs": [],
565
+ "stateMutability": "nonpayable",
566
+ "type": "function"
567
+ },
568
+ {
569
+ "inputs": [
570
+ {
571
+ "internalType": "address",
572
+ "name": "registryAddress",
573
+ "type": "address"
574
+ }
575
+ ],
576
+ "name": "initializeRegistryLinked",
577
+ "outputs": [],
578
+ "stateMutability": "nonpayable",
579
+ "type": "function"
580
+ },
581
+ {
582
+ "inputs": [
583
+ {
584
+ "internalType": "address",
585
+ "name": "registry",
586
+ "type": "address"
587
+ },
588
+ {
589
+ "internalType": "address",
590
+ "name": "initialOwner",
591
+ "type": "address"
592
+ }
593
+ ],
594
+ "name": "initializeService",
595
+ "outputs": [],
596
+ "stateMutability": "nonpayable",
597
+ "type": "function"
598
+ },
599
+ {
600
+ "inputs": [
601
+ {
602
+ "internalType": "address",
603
+ "name": "activatedBy",
604
+ "type": "address"
605
+ },
606
+ {
607
+ "internalType": "bytes",
608
+ "name": "data",
609
+ "type": "bytes"
610
+ }
611
+ ],
612
+ "name": "initializeVersionable",
613
+ "outputs": [],
614
+ "stateMutability": "nonpayable",
615
+ "type": "function"
616
+ },
617
+ {
618
+ "inputs": [],
619
+ "name": "linkToRegisteredNftId",
620
+ "outputs": [],
621
+ "stateMutability": "nonpayable",
622
+ "type": "function"
623
+ },
624
+ {
625
+ "inputs": [
626
+ {
627
+ "internalType": "NftId",
628
+ "name": "policyNftId",
629
+ "type": "uint96"
630
+ },
631
+ {
632
+ "internalType": "PayoutId",
633
+ "name": "payoutId",
634
+ "type": "uint24"
635
+ }
636
+ ],
637
+ "name": "payoutExecuted",
638
+ "outputs": [],
639
+ "stateMutability": "nonpayable",
640
+ "type": "function"
641
+ },
642
+ {
643
+ "inputs": [
644
+ {
645
+ "internalType": "bytes4",
646
+ "name": "interfaceId",
647
+ "type": "bytes4"
648
+ }
649
+ ],
650
+ "name": "registerInterface",
651
+ "outputs": [],
652
+ "stateMutability": "nonpayable",
653
+ "type": "function"
654
+ },
655
+ {
656
+ "inputs": [
657
+ {
658
+ "internalType": "bytes4",
659
+ "name": "interfaceId",
660
+ "type": "bytes4"
661
+ }
662
+ ],
663
+ "name": "supportsInterface",
664
+ "outputs": [
665
+ {
666
+ "internalType": "bool",
667
+ "name": "",
668
+ "type": "bool"
669
+ }
670
+ ],
671
+ "stateMutability": "view",
672
+ "type": "function"
673
+ },
674
+ {
675
+ "inputs": [
676
+ {
677
+ "internalType": "bytes",
678
+ "name": "data",
679
+ "type": "bytes"
680
+ }
681
+ ],
682
+ "name": "upgradeVersionable",
683
+ "outputs": [],
684
+ "stateMutability": "nonpayable",
685
+ "type": "function"
686
+ }
687
+ ],
688
+ "bytecode": "0x608060405234801561001057600080fd5b5061001961001e565b6100d0565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161561006e5760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b03908116146100cd5780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b61194f806100df6000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c8063675393bf116100f9578063cc9fc59a11610097578063ea86657211610071578063ea866572146103d6578063f21de1e8146102e1578063f7c34ee0146103e9578063fc20e6f4146103fc57600080fd5b8063cc9fc59a146103b8578063cde749f4146103c0578063e10b6067146103c857600080fd5b80639e14822a116100d35780639e14822a14610373578063ada9652e14610386578063b68d18091461039b578063caf4e3d4146103b057600080fd5b8063675393bf1461032e5780637211bedd14610341578063893d20e81461036b57600080fd5b806327bb7a331161016657806349bb9e4b1161014057806349bb9e4b146102ce5780634a7d34cb146101c95780635ab1bd53146102e1578063644c45e01461030657600080fd5b806327bb7a33146102a0578063329d6e74146102b357806336fc697e146102c657600080fd5b80630fec111c116101a25780630fec111c1461023b578063138461e0146102505780631eff4b2214610258578063214cdb801461028d57600080fd5b806301a57efc146101c957806301ffc9a7146101dd5780630d8e6e2c1461021f575b600080fd5b6101db6101d73660046111bc565b5050565b005b61020a6101eb3660046111f1565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610227610415565b60405162ffffff9091168152602001610216565b61024361049f565b6040516102169190611268565b6101db61064e565b61027f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610216565b6101db61029b3660046111f1565b610855565b6101db6102ae3660046113c7565b610882565b6101db6102c136600461145f565b61090e565b6101db610a5b565b6101db6102dc366004611493565b610aa1565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610216565b6000805160206118da833981519152546040516001600160601b039091168152602001610216565b6101db61033c3660046114e2565b610ba0565b61035861034f3660046114ff565b60009392505050565b60405161ffff9091168152602001610216565b6102ee610cac565b6101db610381366004611557565b505050565b61027f6000805160206118da83398151915281565b60d45b60405160ff9091168152602001610216565b6102ee610de3565b6102ee610e80565b61039e610eaa565b6101db6101d73660046115a6565b6101db6103e43660046115df565b610f21565b6101db6103f73660046115df565b610fb9565b61022761040a36600461160d565b600095945050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610476573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049a91906116a9565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b9091041615159181019190915260018201805491929160608401919061054a906116c6565b80601f0160208091040260200160405190810160405280929190818152602001828054610576906116c6565b80156105c35780601f10610598576101008083540402835291602001916105c3565b820191906000526020600020905b8154815290600101906020018083116105a657829003601f168201915b50505050508152505090506040518060e001604052806105e1600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610632610cac565b6001600160a01b03168152602001826060015181525091505090565b60006000805160206118da83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156106bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106e19190611700565b156107125780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306107256001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561076d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107919190611700565b6107b95760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610709565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa15801561080d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610831919061171d565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b61085d611030565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61088a611030565b6108948287610fb9565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016109048382611788565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610930610415565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610970573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109949190611847565b6000805160206118fa8339815191528054600160401b900460ff16806109c7575080546001600160401b03808416911610155b156109e55760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610a0f83611069565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610a63611030565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000805160206118fa8339815191528054600160401b810460ff1615906001600160401b0316600081158015610ad45750825b90506000826001600160401b03166001148015610af05750303b155b905081158015610afe575080155b15610b1c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610b4657845460ff60401b1916600160401b1785555b610b508787611071565b8315610b9757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610ba8611030565b806001600160a01b03163b600003610bde5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610709565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015610c58575060408051601f3d908101601f19168201909252610c5591810190611700565b60015b610c805760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610709565b806101d75760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610709565b50565b6000806000805160206118da83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610d1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d409190611700565b15610dcd576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610da3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc79190611870565b91505090565b54600160601b90046001600160a01b0316919050565b600080610df86001546001600160a01b031690565b6001600160a01b031663d39e604360285b610e11610eaa565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015610e56573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e7a9190611870565b92915050565b600080610e956001546001600160a01b031690565b6001600160a01b031663d39e60436046610e09565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015610efd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049a919061188d565b610f29611030565b610fa982836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f6b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f8f919061171d565b603c60008560405180602001604052806000815250610882565b6101d7637b6a51fd60e01b610855565b610fc1611030565b610fca81610ba0565b610fd2610a5b565b6001600160a01b038216610ff95760405163f17ef42d60e01b815260040160405180910390fd5b506000805160206118da83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6000805160206118fa83398151915254600160401b900460ff1661106757604051631afcd79f60e31b815260040160405180910390fd5b565b6101c4611030565b6000805160206118fa8339815191528054600160401b810460ff1615906001600160401b03166000811580156110a45750825b90506000826001600160401b031660011480156110c05750303b155b9050811580156110ce575080155b156110ec5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561111657845460ff60401b1916600160401b1785555b6000808780602001905181019061112d91906118aa565b909250905061113c828a610f21565b61114c63baf6f05360e01b610855565b50508315610b9757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610b8e565b6001600160601b0381168114610ca957600080fd5b803561ffff811681146111b757600080fd5b919050565b600080604083850312156111cf57600080fd5b82356111da81611190565b91506111e8602084016111a5565b90509250929050565b60006020828403121561120357600080fd5b81356001600160e01b03198116811461121b57600080fd5b9392505050565b6000815180845260005b818110156112485760208185018101518683018201520161122c565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516112d160c08401826001600160a01b03169052565b5060c083015160e0808401526112eb610100840182611222565b949350505050565b6001600160a01b0381168114610ca957600080fd5b60ff81168114610ca957600080fd5b8015158114610ca957600080fd5b634e487b7160e01b600052604160045260246000fd5b600082601f83011261134c57600080fd5b81356001600160401b038082111561136657611366611325565b604051601f8301601f19908116603f0116810190828211818310171561138e5761138e611325565b816040528381528660208588010111156113a757600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060008060008060c087890312156113e057600080fd5b86356113eb816112f3565b955060208701356113fb81611190565b9450604087013561140b81611308565b9350606087013561141b81611317565b9250608087013561142b816112f3565b915060a08701356001600160401b0381111561144657600080fd5b61145289828a0161133b565b9150509295509295509295565b60006020828403121561147157600080fd5b81356001600160401b0381111561148757600080fd5b6112eb8482850161133b565b600080604083850312156114a657600080fd5b82356114b1816112f3565b915060208301356001600160401b038111156114cc57600080fd5b6114d88582860161133b565b9150509250929050565b6000602082840312156114f457600080fd5b813561121b816112f3565b60008060006060848603121561151457600080fd5b833561151f81611190565b92506020840135915060408401356001600160401b0381111561154157600080fd5b61154d8682870161133b565b9150509250925092565b60008060006060848603121561156c57600080fd5b833561157781611190565b9250611585602085016111a5565b9150604084013590509250925092565b62ffffff81168114610ca957600080fd5b600080604083850312156115b957600080fd5b82356115c481611190565b915060208301356115d481611595565b809150509250929050565b600080604083850312156115f257600080fd5b82356115fd816112f3565b915060208301356115d4816112f3565b60008060008060006080868803121561162557600080fd5b853561163081611190565b945061163e602087016111a5565b93506040860135925060608601356001600160401b038082111561166157600080fd5b818801915088601f83011261167557600080fd5b81358181111561168457600080fd5b89602082850101111561169657600080fd5b9699959850939650602001949392505050565b6000602082840312156116bb57600080fd5b815161121b81611595565b600181811c908216806116da57607f821691505b6020821081036116fa57634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561171257600080fd5b815161121b81611317565b60006020828403121561172f57600080fd5b815161121b81611190565b601f82111561038157600081815260208120601f850160051c810160208610156117615750805b601f850160051c820191505b818110156117805782815560010161176d565b505050505050565b81516001600160401b038111156117a1576117a1611325565b6117b5816117af84546116c6565b8461173a565b602080601f8311600181146117ea57600084156117d25750858301515b600019600386901b1c1916600185901b178555611780565b600085815260208120601f198616915b82811015611819578886015182559484019460019091019084016117fa565b50858210156118375787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561185957600080fd5b81516001600160401b038116811461121b57600080fd5b60006020828403121561188257600080fd5b815161121b816112f3565b60006020828403121561189f57600080fd5b815161121b81611308565b600080604083850312156118bd57600080fd5b82516118c8816112f3565b60208401519092506115d4816112f356fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212200e9333e4f2e2ffde4d99e48b1c9fa9d0770c78773cf72050849dff333d8ce96664736f6c63430008140033",
689
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101c45760003560e01c8063675393bf116100f9578063cc9fc59a11610097578063ea86657211610071578063ea866572146103d6578063f21de1e8146102e1578063f7c34ee0146103e9578063fc20e6f4146103fc57600080fd5b8063cc9fc59a146103b8578063cde749f4146103c0578063e10b6067146103c857600080fd5b80639e14822a116100d35780639e14822a14610373578063ada9652e14610386578063b68d18091461039b578063caf4e3d4146103b057600080fd5b8063675393bf1461032e5780637211bedd14610341578063893d20e81461036b57600080fd5b806327bb7a331161016657806349bb9e4b1161014057806349bb9e4b146102ce5780634a7d34cb146101c95780635ab1bd53146102e1578063644c45e01461030657600080fd5b806327bb7a33146102a0578063329d6e74146102b357806336fc697e146102c657600080fd5b80630fec111c116101a25780630fec111c1461023b578063138461e0146102505780631eff4b2214610258578063214cdb801461028d57600080fd5b806301a57efc146101c957806301ffc9a7146101dd5780630d8e6e2c1461021f575b600080fd5b6101db6101d73660046111bc565b5050565b005b61020a6101eb3660046111f1565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610227610415565b60405162ffffff9091168152602001610216565b61024361049f565b6040516102169190611268565b6101db61064e565b61027f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610216565b6101db61029b3660046111f1565b610855565b6101db6102ae3660046113c7565b610882565b6101db6102c136600461145f565b61090e565b6101db610a5b565b6101db6102dc366004611493565b610aa1565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610216565b6000805160206118da833981519152546040516001600160601b039091168152602001610216565b6101db61033c3660046114e2565b610ba0565b61035861034f3660046114ff565b60009392505050565b60405161ffff9091168152602001610216565b6102ee610cac565b6101db610381366004611557565b505050565b61027f6000805160206118da83398151915281565b60d45b60405160ff9091168152602001610216565b6102ee610de3565b6102ee610e80565b61039e610eaa565b6101db6101d73660046115a6565b6101db6103e43660046115df565b610f21565b6101db6103f73660046115df565b610fb9565b61022761040a36600461160d565b600095945050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610476573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049a91906116a9565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b9091041615159181019190915260018201805491929160608401919061054a906116c6565b80601f0160208091040260200160405190810160405280929190818152602001828054610576906116c6565b80156105c35780601f10610598576101008083540402835291602001916105c3565b820191906000526020600020905b8154815290600101906020018083116105a657829003601f168201915b50505050508152505090506040518060e001604052806105e1600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610632610cac565b6001600160a01b03168152602001826060015181525091505090565b60006000805160206118da83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156106bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106e19190611700565b156107125780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306107256001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561076d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107919190611700565b6107b95760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610709565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa15801561080d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610831919061171d565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b61085d611030565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61088a611030565b6108948287610fb9565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016109048382611788565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610930610415565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610970573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109949190611847565b6000805160206118fa8339815191528054600160401b900460ff16806109c7575080546001600160401b03808416911610155b156109e55760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610a0f83611069565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610a63611030565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000805160206118fa8339815191528054600160401b810460ff1615906001600160401b0316600081158015610ad45750825b90506000826001600160401b03166001148015610af05750303b155b905081158015610afe575080155b15610b1c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610b4657845460ff60401b1916600160401b1785555b610b508787611071565b8315610b9757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610ba8611030565b806001600160a01b03163b600003610bde5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610709565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015610c58575060408051601f3d908101601f19168201909252610c5591810190611700565b60015b610c805760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610709565b806101d75760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610709565b50565b6000806000805160206118da83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610d1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d409190611700565b15610dcd576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610da3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc79190611870565b91505090565b54600160601b90046001600160a01b0316919050565b600080610df86001546001600160a01b031690565b6001600160a01b031663d39e604360285b610e11610eaa565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015610e56573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e7a9190611870565b92915050565b600080610e956001546001600160a01b031690565b6001600160a01b031663d39e60436046610e09565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015610efd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049a919061188d565b610f29611030565b610fa982836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f6b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f8f919061171d565b603c60008560405180602001604052806000815250610882565b6101d7637b6a51fd60e01b610855565b610fc1611030565b610fca81610ba0565b610fd2610a5b565b6001600160a01b038216610ff95760405163f17ef42d60e01b815260040160405180910390fd5b506000805160206118da83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6000805160206118fa83398151915254600160401b900460ff1661106757604051631afcd79f60e31b815260040160405180910390fd5b565b6101c4611030565b6000805160206118fa8339815191528054600160401b810460ff1615906001600160401b03166000811580156110a45750825b90506000826001600160401b031660011480156110c05750303b155b9050811580156110ce575080155b156110ec5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561111657845460ff60401b1916600160401b1785555b6000808780602001905181019061112d91906118aa565b909250905061113c828a610f21565b61114c63baf6f05360e01b610855565b50508315610b9757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610b8e565b6001600160601b0381168114610ca957600080fd5b803561ffff811681146111b757600080fd5b919050565b600080604083850312156111cf57600080fd5b82356111da81611190565b91506111e8602084016111a5565b90509250929050565b60006020828403121561120357600080fd5b81356001600160e01b03198116811461121b57600080fd5b9392505050565b6000815180845260005b818110156112485760208185018101518683018201520161122c565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516112d160c08401826001600160a01b03169052565b5060c083015160e0808401526112eb610100840182611222565b949350505050565b6001600160a01b0381168114610ca957600080fd5b60ff81168114610ca957600080fd5b8015158114610ca957600080fd5b634e487b7160e01b600052604160045260246000fd5b600082601f83011261134c57600080fd5b81356001600160401b038082111561136657611366611325565b604051601f8301601f19908116603f0116810190828211818310171561138e5761138e611325565b816040528381528660208588010111156113a757600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060008060008060c087890312156113e057600080fd5b86356113eb816112f3565b955060208701356113fb81611190565b9450604087013561140b81611308565b9350606087013561141b81611317565b9250608087013561142b816112f3565b915060a08701356001600160401b0381111561144657600080fd5b61145289828a0161133b565b9150509295509295509295565b60006020828403121561147157600080fd5b81356001600160401b0381111561148757600080fd5b6112eb8482850161133b565b600080604083850312156114a657600080fd5b82356114b1816112f3565b915060208301356001600160401b038111156114cc57600080fd5b6114d88582860161133b565b9150509250929050565b6000602082840312156114f457600080fd5b813561121b816112f3565b60008060006060848603121561151457600080fd5b833561151f81611190565b92506020840135915060408401356001600160401b0381111561154157600080fd5b61154d8682870161133b565b9150509250925092565b60008060006060848603121561156c57600080fd5b833561157781611190565b9250611585602085016111a5565b9150604084013590509250925092565b62ffffff81168114610ca957600080fd5b600080604083850312156115b957600080fd5b82356115c481611190565b915060208301356115d481611595565b809150509250929050565b600080604083850312156115f257600080fd5b82356115fd816112f3565b915060208301356115d4816112f3565b60008060008060006080868803121561162557600080fd5b853561163081611190565b945061163e602087016111a5565b93506040860135925060608601356001600160401b038082111561166157600080fd5b818801915088601f83011261167557600080fd5b81358181111561168457600080fd5b89602082850101111561169657600080fd5b9699959850939650602001949392505050565b6000602082840312156116bb57600080fd5b815161121b81611595565b600181811c908216806116da57607f821691505b6020821081036116fa57634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561171257600080fd5b815161121b81611317565b60006020828403121561172f57600080fd5b815161121b81611190565b601f82111561038157600081815260208120601f850160051c810160208610156117615750805b601f850160051c820191505b818110156117805782815560010161176d565b505050505050565b81516001600160401b038111156117a1576117a1611325565b6117b5816117af84546116c6565b8461173a565b602080601f8311600181146117ea57600084156117d25750858301515b600019600386901b1c1916600185901b178555611780565b600085815260208120601f198616915b82811015611819578886015182559484019460019091019084016117fa565b50858210156118375787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561185957600080fd5b81516001600160401b038116811461121b57600080fd5b60006020828403121561188257600080fd5b815161121b816112f3565b60006020828403121561189f57600080fd5b815161121b81611308565b600080604083850312156118bd57600080fd5b82516118c8816112f3565b60208401519092506115d4816112f356fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212200e9333e4f2e2ffde4d99e48b1c9fa9d0770c78773cf72050849dff333d8ce96664736f6c63430008140033",
690
+ "linkReferences": {
691
+ "contracts/types/NftId.sol": {
692
+ "NftIdLib": [
693
+ {
694
+ "length": 20,
695
+ "start": 1890
696
+ },
697
+ {
698
+ "length": 20,
699
+ "start": 3521
700
+ }
701
+ ]
702
+ },
703
+ "contracts/types/Version.sol": {
704
+ "VersionLib": [
705
+ {
706
+ "length": 20,
707
+ "start": 1307
708
+ },
709
+ {
710
+ "length": 20,
711
+ "start": 2543
712
+ }
713
+ ],
714
+ "VersionPartLib": [
715
+ {
716
+ "length": 20,
717
+ "start": 4002
718
+ }
719
+ ]
720
+ }
721
+ },
722
+ "deployedLinkReferences": {
723
+ "contracts/types/NftId.sol": {
724
+ "NftIdLib": [
725
+ {
726
+ "length": 20,
727
+ "start": 1667
728
+ },
729
+ {
730
+ "length": 20,
731
+ "start": 3298
732
+ }
733
+ ]
734
+ },
735
+ "contracts/types/Version.sol": {
736
+ "VersionLib": [
737
+ {
738
+ "length": 20,
739
+ "start": 1084
740
+ },
741
+ {
742
+ "length": 20,
743
+ "start": 2320
744
+ }
745
+ ],
746
+ "VersionPartLib": [
747
+ {
748
+ "length": 20,
749
+ "start": 3779
750
+ }
751
+ ]
752
+ }
753
+ }
754
+ }