@etherisc/gif-next 0.0.2-f2b0fa2-473 → 0.0.2-f2df3e2-873

Sign up to get free protection for your applications and to get access to all the features.
Files changed (383) hide show
  1. package/README.md +75 -14
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +842 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +954 -219
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → components/IComponent.sol/IComponent.json} +303 -164
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +848 -31
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +864 -49
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +682 -9
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +849 -247
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +637 -224
  18. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  19. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  20. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  21. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +778 -0
  22. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  23. package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → Cloneable.sol/Cloneable.json} +91 -2
  24. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  25. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +2444 -184
  26. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +368 -156
  28. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  29. package/artifacts/contracts/instance/Instance.sol/Instance.json +1033 -1216
  30. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  31. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +593 -180
  32. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  33. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +357 -211
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  35. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +653 -216
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  37. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +392 -75
  38. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  39. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +256 -0
  40. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  41. package/artifacts/contracts/instance/base/{ComponentServiceBase.sol/ComponentServiceBase.json → ComponentService.sol/ComponentService.json} +276 -150
  42. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  44. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  45. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +40 -10
  46. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  47. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
  48. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  49. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +71 -45
  50. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  51. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  52. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  53. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  54. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  55. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  56. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  57. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  58. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  59. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +1060 -0
  60. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  61. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +681 -0
  62. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  63. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1266 -0
  64. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  65. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +725 -0
  66. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  67. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +1040 -0
  68. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  69. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +685 -0
  70. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  71. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1774 -0
  72. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  73. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +793 -0
  74. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  75. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +627 -0
  76. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  77. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +686 -0
  78. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  79. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +602 -0
  80. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +804 -160
  82. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  83. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +937 -0
  84. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +437 -154
  86. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  87. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +90 -391
  88. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  89. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1511 -0
  90. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  91. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +741 -0
  92. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
  93. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +1237 -0
  94. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  95. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +661 -0
  96. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  97. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +840 -0
  98. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  99. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +653 -0
  100. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  101. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  102. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  103. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +373 -61
  104. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  105. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +223 -229
  106. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  107. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  108. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  109. package/artifacts/contracts/registry/Registry.sol/Registry.json +333 -188
  110. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  111. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  112. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  113. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +227 -330
  114. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  115. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +304 -138
  116. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  117. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +559 -0
  118. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  119. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +498 -0
  120. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  121. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  122. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  123. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  124. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +40 -29
  125. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  126. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
  127. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  128. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +21 -34
  129. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  130. package/artifacts/contracts/{experiment/inheritance/IB.sol/IB.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +18 -20
  131. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  132. package/artifacts/contracts/shared/IService.sol/IService.json +86 -172
  133. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  134. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  135. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  136. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +120 -27
  137. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  138. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
  139. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  140. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +294 -61
  141. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  142. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +129 -51
  143. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  144. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
  145. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  146. package/artifacts/contracts/shared/Service.sol/Service.json +191 -163
  147. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  148. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
  149. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  150. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  151. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  152. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  153. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  154. package/artifacts/contracts/test/TestFee.sol/TestFee.json +2 -2
  155. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  156. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +129 -51
  157. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  158. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +6 -6
  159. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  160. package/artifacts/contracts/test/TestService.sol/TestService.json +210 -214
  161. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  162. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  163. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  164. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  165. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -190
  166. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  167. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  168. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +4 -0
  169. package/artifacts/contracts/types/Amount.sol/AmountLib.json +185 -0
  170. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  171. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  172. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  173. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  174. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +179 -0
  175. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  176. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
  177. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  178. package/artifacts/contracts/types/Fee.sol/FeeLib.json +40 -9
  179. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  180. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  181. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  182. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
  183. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  184. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  185. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  186. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  187. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  188. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  189. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +209 -0
  190. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  191. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
  192. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  193. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  194. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  195. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  196. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  197. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  198. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  199. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  200. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +38 -7
  202. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  203. package/artifacts/contracts/types/UFixed.sol/MathLib.json +2 -2
  204. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  205. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +2 -2
  206. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  207. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  208. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  209. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  210. package/contracts/components/Component.sol +253 -0
  211. package/contracts/components/Distribution.sol +204 -86
  212. package/contracts/components/IComponent.sol +76 -0
  213. package/contracts/components/IDistributionComponent.sol +44 -16
  214. package/contracts/components/IPoolComponent.sol +88 -37
  215. package/contracts/components/IProductComponent.sol +10 -5
  216. package/contracts/components/Pool.sol +224 -181
  217. package/contracts/components/Product.sol +249 -175
  218. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
  219. package/contracts/instance/BundleManager.sol +126 -0
  220. package/contracts/instance/Cloneable.sol +51 -0
  221. package/contracts/instance/IInstance.sol +88 -14
  222. package/contracts/instance/IInstanceService.sol +54 -3
  223. package/contracts/instance/Instance.sol +155 -281
  224. package/contracts/instance/InstanceAccessManager.sol +414 -175
  225. package/contracts/instance/InstanceReader.sol +67 -30
  226. package/contracts/instance/InstanceService.sol +431 -55
  227. package/contracts/instance/InstanceServiceManager.sol +11 -13
  228. package/contracts/instance/ObjectManager.sol +82 -0
  229. package/contracts/instance/base/ComponentService.sol +121 -0
  230. package/contracts/instance/base/KeyValueStore.sol +13 -5
  231. package/contracts/instance/base/Lifecycle.sol +23 -6
  232. package/contracts/instance/module/IAccess.sol +36 -20
  233. package/contracts/instance/module/IBundle.sol +8 -4
  234. package/contracts/instance/module/IComponents.sol +41 -0
  235. package/contracts/instance/module/IDistribution.sol +2 -0
  236. package/contracts/instance/module/IPolicy.sol +41 -9
  237. package/contracts/instance/module/ISetup.sol +9 -19
  238. package/contracts/instance/service/ApplicationService.sol +355 -0
  239. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  240. package/contracts/instance/service/BundleService.sol +436 -0
  241. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  242. package/contracts/instance/service/ClaimService.sol +239 -0
  243. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  244. package/contracts/instance/service/DistributionService.sol +431 -0
  245. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  246. package/contracts/instance/service/IApplicationService.sol +78 -0
  247. package/contracts/instance/service/IBundleService.sol +96 -0
  248. package/contracts/instance/service/IClaimService.sol +92 -0
  249. package/contracts/instance/service/IDistributionService.sol +87 -0
  250. package/contracts/instance/service/IPolicyService.sol +137 -0
  251. package/contracts/instance/service/IPoolService.sol +79 -17
  252. package/contracts/instance/service/IProductService.sol +6 -73
  253. package/contracts/instance/service/PolicyService.sol +541 -0
  254. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  255. package/contracts/instance/service/PoolService.sol +303 -0
  256. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  257. package/contracts/instance/service/ProductService.sol +210 -0
  258. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  259. package/contracts/registry/ChainNft.sol +9 -1
  260. package/contracts/registry/IRegistry.sol +52 -8
  261. package/contracts/registry/IRegistryService.sol +47 -14
  262. package/contracts/registry/ITransferInterceptor.sol +1 -0
  263. package/contracts/registry/Registry.sol +270 -226
  264. package/contracts/registry/RegistryAccessManager.sol +216 -0
  265. package/contracts/registry/RegistryService.sol +111 -268
  266. package/contracts/registry/RegistryServiceManager.sol +24 -26
  267. package/contracts/registry/ReleaseManager.sol +324 -0
  268. package/contracts/registry/TokenRegistry.sol +116 -0
  269. package/contracts/shared/ERC165.sol +14 -8
  270. package/contracts/shared/INftOwnable.sol +11 -10
  271. package/contracts/shared/IPolicyHolder.sol +26 -0
  272. package/contracts/shared/IRegisterable.sol +4 -6
  273. package/contracts/shared/IRegistryLinked.sol +12 -0
  274. package/contracts/shared/IService.sol +5 -4
  275. package/contracts/shared/IVersionable.sol +4 -47
  276. package/contracts/shared/NftOwnable.sol +67 -83
  277. package/contracts/shared/PolicyHolder.sol +81 -0
  278. package/contracts/shared/ProxyManager.sol +100 -25
  279. package/contracts/shared/Registerable.sol +16 -31
  280. package/contracts/shared/RegistryLinked.sol +48 -0
  281. package/contracts/shared/Service.sol +42 -24
  282. package/contracts/shared/TokenHandler.sol +11 -5
  283. package/contracts/shared/Versionable.sol +4 -92
  284. package/contracts/test/TestRegisterable.sol +1 -1
  285. package/contracts/test/TestService.sol +4 -3
  286. package/contracts/types/Amount.sol +65 -0
  287. package/contracts/types/Blocknumber.sol +1 -0
  288. package/contracts/types/ClaimId.sol +75 -0
  289. package/contracts/types/DistributorType.sol +2 -2
  290. package/contracts/types/Fee.sol +13 -5
  291. package/contracts/types/NftId.sol +8 -0
  292. package/contracts/types/NftIdSet.sol +26 -24
  293. package/contracts/types/ObjectType.sol +11 -6
  294. package/contracts/types/PayoutId.sol +82 -0
  295. package/contracts/types/Referral.sol +4 -0
  296. package/contracts/types/RoleId.sol +26 -11
  297. package/contracts/types/Seconds.sol +54 -0
  298. package/contracts/types/StateId.sol +11 -2
  299. package/contracts/types/Timestamp.sol +18 -13
  300. package/contracts/types/UFixed.sol +1 -0
  301. package/contracts/types/Version.sol +5 -1
  302. package/package.json +3 -3
  303. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  304. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -314
  305. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  306. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -267
  307. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  308. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  309. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  310. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  311. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  312. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  313. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  314. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  315. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  316. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  317. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  318. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  319. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  320. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  321. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  322. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  323. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  324. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  325. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  326. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  327. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  328. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  329. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  330. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  331. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  332. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  333. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  334. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  335. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  336. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  337. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  338. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  339. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  340. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  341. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  342. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  343. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  344. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  345. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  346. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  347. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  348. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1119
  349. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  350. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  351. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  352. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  353. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  354. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  355. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  356. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  357. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  358. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
  359. package/contracts/components/BaseComponent.sol +0 -86
  360. package/contracts/components/IBaseComponent.sol +0 -24
  361. package/contracts/experiment/cloning/Cloner.sol +0 -47
  362. package/contracts/experiment/errors/Require.sol +0 -38
  363. package/contracts/experiment/errors/Revert.sol +0 -44
  364. package/contracts/experiment/inheritance/A.sol +0 -53
  365. package/contracts/experiment/inheritance/B.sol +0 -28
  366. package/contracts/experiment/inheritance/C.sol +0 -34
  367. package/contracts/experiment/inheritance/IA.sol +0 -13
  368. package/contracts/experiment/inheritance/IB.sol +0 -10
  369. package/contracts/experiment/inheritance/IC.sol +0 -12
  370. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  371. package/contracts/experiment/statemachine/ISM.sol +0 -25
  372. package/contracts/experiment/statemachine/SM.sol +0 -57
  373. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  374. package/contracts/experiment/types/TypeA.sol +0 -47
  375. package/contracts/experiment/types/TypeB.sol +0 -29
  376. package/contracts/instance/AccessManagedSimple.sol +0 -114
  377. package/contracts/instance/AccessManagerSimple.sol +0 -682
  378. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  379. package/contracts/instance/base/ComponentServiceBase.sol +0 -49
  380. package/contracts/instance/base/IInstanceBase.sol +0 -23
  381. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  382. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  383. package/contracts/shared/RegisterableUpgradable.sol +0 -16
@@ -0,0 +1,1040 @@
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": "authority",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "caller",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "NftId",
48
+ "name": "policyNftId",
49
+ "type": "uint96"
50
+ },
51
+ {
52
+ "internalType": "ClaimId",
53
+ "name": "claimId",
54
+ "type": "uint16"
55
+ },
56
+ {
57
+ "internalType": "StateId",
58
+ "name": "expectedState",
59
+ "type": "uint8"
60
+ },
61
+ {
62
+ "internalType": "StateId",
63
+ "name": "actualState",
64
+ "type": "uint8"
65
+ }
66
+ ],
67
+ "name": "ErrorClaimServiceClaimNotInExpectedState",
68
+ "type": "error"
69
+ },
70
+ {
71
+ "inputs": [
72
+ {
73
+ "internalType": "NftId",
74
+ "name": "policyNftId",
75
+ "type": "uint96"
76
+ },
77
+ {
78
+ "internalType": "ClaimId",
79
+ "name": "claimId",
80
+ "type": "uint16"
81
+ },
82
+ {
83
+ "internalType": "Amount",
84
+ "name": "claimAmount",
85
+ "type": "uint96"
86
+ },
87
+ {
88
+ "internalType": "Amount",
89
+ "name": "paidAmount",
90
+ "type": "uint96"
91
+ }
92
+ ],
93
+ "name": "ErrorClaimServiceClaimWithMissingPayouts",
94
+ "type": "error"
95
+ },
96
+ {
97
+ "inputs": [
98
+ {
99
+ "internalType": "NftId",
100
+ "name": "policyNftId",
101
+ "type": "uint96"
102
+ },
103
+ {
104
+ "internalType": "ClaimId",
105
+ "name": "claimId",
106
+ "type": "uint16"
107
+ },
108
+ {
109
+ "internalType": "uint8",
110
+ "name": "openPayouts",
111
+ "type": "uint8"
112
+ }
113
+ ],
114
+ "name": "ErrorClaimServiceClaimWithOpenPayouts",
115
+ "type": "error"
116
+ },
117
+ {
118
+ "inputs": [
119
+ {
120
+ "internalType": "address",
121
+ "name": "component",
122
+ "type": "address"
123
+ }
124
+ ],
125
+ "name": "ErrorComponentServiceComponentLocked",
126
+ "type": "error"
127
+ },
128
+ {
129
+ "inputs": [
130
+ {
131
+ "internalType": "NftId",
132
+ "name": "instanceNftId",
133
+ "type": "uint96"
134
+ },
135
+ {
136
+ "internalType": "RoleId",
137
+ "name": "requiredRole",
138
+ "type": "uint64"
139
+ },
140
+ {
141
+ "internalType": "address",
142
+ "name": "sender",
143
+ "type": "address"
144
+ }
145
+ ],
146
+ "name": "ErrorComponentServiceExpectedRoleMissing",
147
+ "type": "error"
148
+ },
149
+ {
150
+ "inputs": [
151
+ {
152
+ "internalType": "address",
153
+ "name": "component",
154
+ "type": "address"
155
+ },
156
+ {
157
+ "internalType": "ObjectType",
158
+ "name": "requiredType",
159
+ "type": "uint8"
160
+ },
161
+ {
162
+ "internalType": "ObjectType",
163
+ "name": "componentType",
164
+ "type": "uint8"
165
+ }
166
+ ],
167
+ "name": "ErrorComponentServiceInvalidType",
168
+ "type": "error"
169
+ },
170
+ {
171
+ "inputs": [
172
+ {
173
+ "internalType": "address",
174
+ "name": "component",
175
+ "type": "address"
176
+ }
177
+ ],
178
+ "name": "ErrorComponentServiceNotComponent",
179
+ "type": "error"
180
+ },
181
+ {
182
+ "inputs": [
183
+ {
184
+ "internalType": "address",
185
+ "name": "component",
186
+ "type": "address"
187
+ },
188
+ {
189
+ "internalType": "address",
190
+ "name": "initialOwner",
191
+ "type": "address"
192
+ },
193
+ {
194
+ "internalType": "address",
195
+ "name": "sender",
196
+ "type": "address"
197
+ }
198
+ ],
199
+ "name": "ErrorComponentServiceSenderNotOwner",
200
+ "type": "error"
201
+ },
202
+ {
203
+ "inputs": [
204
+ {
205
+ "internalType": "NftId",
206
+ "name": "nftId",
207
+ "type": "uint96"
208
+ }
209
+ ],
210
+ "name": "ErrorNftOwnableAlreadyLinked",
211
+ "type": "error"
212
+ },
213
+ {
214
+ "inputs": [
215
+ {
216
+ "internalType": "address",
217
+ "name": "contractAddress",
218
+ "type": "address"
219
+ }
220
+ ],
221
+ "name": "ErrorNftOwnableContractNotRegistered",
222
+ "type": "error"
223
+ },
224
+ {
225
+ "inputs": [],
226
+ "name": "ErrorNftOwnableInitialOwnerZero",
227
+ "type": "error"
228
+ },
229
+ {
230
+ "inputs": [
231
+ {
232
+ "internalType": "address",
233
+ "name": "account",
234
+ "type": "address"
235
+ }
236
+ ],
237
+ "name": "ErrorNftOwnableNotOwner",
238
+ "type": "error"
239
+ },
240
+ {
241
+ "inputs": [
242
+ {
243
+ "internalType": "address",
244
+ "name": "registryAddress",
245
+ "type": "address"
246
+ }
247
+ ],
248
+ "name": "ErrorNotRegistry",
249
+ "type": "error"
250
+ },
251
+ {
252
+ "inputs": [],
253
+ "name": "InvalidInitialization",
254
+ "type": "error"
255
+ },
256
+ {
257
+ "inputs": [],
258
+ "name": "NotInitializing",
259
+ "type": "error"
260
+ },
261
+ {
262
+ "anonymous": false,
263
+ "inputs": [
264
+ {
265
+ "indexed": false,
266
+ "internalType": "address",
267
+ "name": "authority",
268
+ "type": "address"
269
+ }
270
+ ],
271
+ "name": "AuthorityUpdated",
272
+ "type": "event"
273
+ },
274
+ {
275
+ "anonymous": false,
276
+ "inputs": [
277
+ {
278
+ "indexed": false,
279
+ "internalType": "uint64",
280
+ "name": "version",
281
+ "type": "uint64"
282
+ }
283
+ ],
284
+ "name": "Initialized",
285
+ "type": "event"
286
+ },
287
+ {
288
+ "inputs": [],
289
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
290
+ "outputs": [
291
+ {
292
+ "internalType": "bytes32",
293
+ "name": "",
294
+ "type": "bytes32"
295
+ }
296
+ ],
297
+ "stateMutability": "view",
298
+ "type": "function"
299
+ },
300
+ {
301
+ "inputs": [],
302
+ "name": "REGISTERABLE_LOCATION_V1",
303
+ "outputs": [
304
+ {
305
+ "internalType": "bytes32",
306
+ "name": "",
307
+ "type": "bytes32"
308
+ }
309
+ ],
310
+ "stateMutability": "view",
311
+ "type": "function"
312
+ },
313
+ {
314
+ "inputs": [],
315
+ "name": "authority",
316
+ "outputs": [
317
+ {
318
+ "internalType": "address",
319
+ "name": "",
320
+ "type": "address"
321
+ }
322
+ ],
323
+ "stateMutability": "view",
324
+ "type": "function"
325
+ },
326
+ {
327
+ "inputs": [
328
+ {
329
+ "internalType": "contract IInstance",
330
+ "name": "instance",
331
+ "type": "address"
332
+ },
333
+ {
334
+ "internalType": "contract InstanceReader",
335
+ "name": "instanceReader",
336
+ "type": "address"
337
+ },
338
+ {
339
+ "internalType": "NftId",
340
+ "name": "policyNftId",
341
+ "type": "uint96"
342
+ },
343
+ {
344
+ "internalType": "ClaimId",
345
+ "name": "claimId",
346
+ "type": "uint16"
347
+ }
348
+ ],
349
+ "name": "close",
350
+ "outputs": [],
351
+ "stateMutability": "nonpayable",
352
+ "type": "function"
353
+ },
354
+ {
355
+ "inputs": [
356
+ {
357
+ "internalType": "contract IInstance",
358
+ "name": "instance",
359
+ "type": "address"
360
+ },
361
+ {
362
+ "internalType": "contract InstanceReader",
363
+ "name": "instanceReader",
364
+ "type": "address"
365
+ },
366
+ {
367
+ "internalType": "NftId",
368
+ "name": "policyNftId",
369
+ "type": "uint96"
370
+ },
371
+ {
372
+ "internalType": "ClaimId",
373
+ "name": "claimId",
374
+ "type": "uint16"
375
+ },
376
+ {
377
+ "internalType": "Amount",
378
+ "name": "confirmedAmount",
379
+ "type": "uint96"
380
+ }
381
+ ],
382
+ "name": "confirm",
383
+ "outputs": [],
384
+ "stateMutability": "nonpayable",
385
+ "type": "function"
386
+ },
387
+ {
388
+ "inputs": [
389
+ {
390
+ "internalType": "contract IInstance",
391
+ "name": "instance",
392
+ "type": "address"
393
+ },
394
+ {
395
+ "internalType": "NftId",
396
+ "name": "policyNftId",
397
+ "type": "uint96"
398
+ },
399
+ {
400
+ "internalType": "PayoutId",
401
+ "name": "payoutId",
402
+ "type": "uint24"
403
+ },
404
+ {
405
+ "internalType": "Amount",
406
+ "name": "payoutAmount",
407
+ "type": "uint96"
408
+ },
409
+ {
410
+ "internalType": "bytes",
411
+ "name": "payoutData",
412
+ "type": "bytes"
413
+ }
414
+ ],
415
+ "name": "createPayout",
416
+ "outputs": [],
417
+ "stateMutability": "nonpayable",
418
+ "type": "function"
419
+ },
420
+ {
421
+ "inputs": [
422
+ {
423
+ "internalType": "contract IInstance",
424
+ "name": "instance",
425
+ "type": "address"
426
+ },
427
+ {
428
+ "internalType": "contract InstanceReader",
429
+ "name": "instanceReader",
430
+ "type": "address"
431
+ },
432
+ {
433
+ "internalType": "NftId",
434
+ "name": "policyNftId",
435
+ "type": "uint96"
436
+ },
437
+ {
438
+ "internalType": "ClaimId",
439
+ "name": "claimId",
440
+ "type": "uint16"
441
+ }
442
+ ],
443
+ "name": "decline",
444
+ "outputs": [],
445
+ "stateMutability": "nonpayable",
446
+ "type": "function"
447
+ },
448
+ {
449
+ "inputs": [],
450
+ "name": "getDomain",
451
+ "outputs": [
452
+ {
453
+ "internalType": "ObjectType",
454
+ "name": "",
455
+ "type": "uint8"
456
+ }
457
+ ],
458
+ "stateMutability": "pure",
459
+ "type": "function"
460
+ },
461
+ {
462
+ "inputs": [],
463
+ "name": "getInitialInfo",
464
+ "outputs": [
465
+ {
466
+ "components": [
467
+ {
468
+ "internalType": "NftId",
469
+ "name": "nftId",
470
+ "type": "uint96"
471
+ },
472
+ {
473
+ "internalType": "NftId",
474
+ "name": "parentNftId",
475
+ "type": "uint96"
476
+ },
477
+ {
478
+ "internalType": "ObjectType",
479
+ "name": "objectType",
480
+ "type": "uint8"
481
+ },
482
+ {
483
+ "internalType": "bool",
484
+ "name": "isInterceptor",
485
+ "type": "bool"
486
+ },
487
+ {
488
+ "internalType": "address",
489
+ "name": "objectAddress",
490
+ "type": "address"
491
+ },
492
+ {
493
+ "internalType": "address",
494
+ "name": "initialOwner",
495
+ "type": "address"
496
+ },
497
+ {
498
+ "internalType": "bytes",
499
+ "name": "data",
500
+ "type": "bytes"
501
+ }
502
+ ],
503
+ "internalType": "struct IRegistry.ObjectInfo",
504
+ "name": "info",
505
+ "type": "tuple"
506
+ }
507
+ ],
508
+ "stateMutability": "view",
509
+ "type": "function"
510
+ },
511
+ {
512
+ "inputs": [],
513
+ "name": "getInstanceService",
514
+ "outputs": [
515
+ {
516
+ "internalType": "contract InstanceService",
517
+ "name": "",
518
+ "type": "address"
519
+ }
520
+ ],
521
+ "stateMutability": "view",
522
+ "type": "function"
523
+ },
524
+ {
525
+ "inputs": [],
526
+ "name": "getNftId",
527
+ "outputs": [
528
+ {
529
+ "internalType": "NftId",
530
+ "name": "",
531
+ "type": "uint96"
532
+ }
533
+ ],
534
+ "stateMutability": "view",
535
+ "type": "function"
536
+ },
537
+ {
538
+ "inputs": [],
539
+ "name": "getOwner",
540
+ "outputs": [
541
+ {
542
+ "internalType": "address",
543
+ "name": "",
544
+ "type": "address"
545
+ }
546
+ ],
547
+ "stateMutability": "view",
548
+ "type": "function"
549
+ },
550
+ {
551
+ "inputs": [],
552
+ "name": "getRegistry",
553
+ "outputs": [
554
+ {
555
+ "internalType": "contract IRegistry",
556
+ "name": "",
557
+ "type": "address"
558
+ }
559
+ ],
560
+ "stateMutability": "view",
561
+ "type": "function"
562
+ },
563
+ {
564
+ "inputs": [],
565
+ "name": "getRegistryAddress",
566
+ "outputs": [
567
+ {
568
+ "internalType": "address",
569
+ "name": "",
570
+ "type": "address"
571
+ }
572
+ ],
573
+ "stateMutability": "view",
574
+ "type": "function"
575
+ },
576
+ {
577
+ "inputs": [],
578
+ "name": "getRegistryService",
579
+ "outputs": [
580
+ {
581
+ "internalType": "contract IRegistryService",
582
+ "name": "",
583
+ "type": "address"
584
+ }
585
+ ],
586
+ "stateMutability": "view",
587
+ "type": "function"
588
+ },
589
+ {
590
+ "inputs": [],
591
+ "name": "getVersion",
592
+ "outputs": [
593
+ {
594
+ "internalType": "Version",
595
+ "name": "",
596
+ "type": "uint24"
597
+ }
598
+ ],
599
+ "stateMutability": "pure",
600
+ "type": "function"
601
+ },
602
+ {
603
+ "inputs": [],
604
+ "name": "initializeERC165",
605
+ "outputs": [],
606
+ "stateMutability": "nonpayable",
607
+ "type": "function"
608
+ },
609
+ {
610
+ "inputs": [
611
+ {
612
+ "internalType": "address",
613
+ "name": "initialOwner",
614
+ "type": "address"
615
+ },
616
+ {
617
+ "internalType": "address",
618
+ "name": "registryAddress",
619
+ "type": "address"
620
+ }
621
+ ],
622
+ "name": "initializeNftOwnable",
623
+ "outputs": [],
624
+ "stateMutability": "nonpayable",
625
+ "type": "function"
626
+ },
627
+ {
628
+ "inputs": [
629
+ {
630
+ "internalType": "address",
631
+ "name": "registryAddress",
632
+ "type": "address"
633
+ },
634
+ {
635
+ "internalType": "NftId",
636
+ "name": "parentNftId",
637
+ "type": "uint96"
638
+ },
639
+ {
640
+ "internalType": "ObjectType",
641
+ "name": "objectType",
642
+ "type": "uint8"
643
+ },
644
+ {
645
+ "internalType": "bool",
646
+ "name": "isInterceptor",
647
+ "type": "bool"
648
+ },
649
+ {
650
+ "internalType": "address",
651
+ "name": "initialOwner",
652
+ "type": "address"
653
+ },
654
+ {
655
+ "internalType": "bytes",
656
+ "name": "registryData",
657
+ "type": "bytes"
658
+ }
659
+ ],
660
+ "name": "initializeRegisterable",
661
+ "outputs": [],
662
+ "stateMutability": "nonpayable",
663
+ "type": "function"
664
+ },
665
+ {
666
+ "inputs": [
667
+ {
668
+ "internalType": "address",
669
+ "name": "registryAddress",
670
+ "type": "address"
671
+ }
672
+ ],
673
+ "name": "initializeRegistryLinked",
674
+ "outputs": [],
675
+ "stateMutability": "nonpayable",
676
+ "type": "function"
677
+ },
678
+ {
679
+ "inputs": [
680
+ {
681
+ "internalType": "address",
682
+ "name": "registry",
683
+ "type": "address"
684
+ },
685
+ {
686
+ "internalType": "address",
687
+ "name": "authority",
688
+ "type": "address"
689
+ },
690
+ {
691
+ "internalType": "address",
692
+ "name": "initialOwner",
693
+ "type": "address"
694
+ }
695
+ ],
696
+ "name": "initializeService",
697
+ "outputs": [],
698
+ "stateMutability": "nonpayable",
699
+ "type": "function"
700
+ },
701
+ {
702
+ "inputs": [
703
+ {
704
+ "internalType": "address",
705
+ "name": "activatedBy",
706
+ "type": "address"
707
+ },
708
+ {
709
+ "internalType": "bytes",
710
+ "name": "data",
711
+ "type": "bytes"
712
+ }
713
+ ],
714
+ "name": "initializeVersionable",
715
+ "outputs": [],
716
+ "stateMutability": "nonpayable",
717
+ "type": "function"
718
+ },
719
+ {
720
+ "inputs": [],
721
+ "name": "isConsumingScheduledOp",
722
+ "outputs": [
723
+ {
724
+ "internalType": "bytes4",
725
+ "name": "",
726
+ "type": "bytes4"
727
+ }
728
+ ],
729
+ "stateMutability": "view",
730
+ "type": "function"
731
+ },
732
+ {
733
+ "inputs": [],
734
+ "name": "linkToRegisteredNftId",
735
+ "outputs": [],
736
+ "stateMutability": "nonpayable",
737
+ "type": "function"
738
+ },
739
+ {
740
+ "inputs": [
741
+ {
742
+ "internalType": "contract IInstance",
743
+ "name": "instance",
744
+ "type": "address"
745
+ },
746
+ {
747
+ "internalType": "contract InstanceReader",
748
+ "name": "instanceReader",
749
+ "type": "address"
750
+ },
751
+ {
752
+ "internalType": "NftId",
753
+ "name": "policyNftId",
754
+ "type": "uint96"
755
+ },
756
+ {
757
+ "internalType": "PayoutId",
758
+ "name": "payoutId",
759
+ "type": "uint24"
760
+ }
761
+ ],
762
+ "name": "processPayout",
763
+ "outputs": [
764
+ {
765
+ "internalType": "Amount",
766
+ "name": "amount",
767
+ "type": "uint96"
768
+ },
769
+ {
770
+ "internalType": "bool",
771
+ "name": "payoutIsClosingClaim",
772
+ "type": "bool"
773
+ }
774
+ ],
775
+ "stateMutability": "nonpayable",
776
+ "type": "function"
777
+ },
778
+ {
779
+ "inputs": [
780
+ {
781
+ "internalType": "bytes4",
782
+ "name": "interfaceId",
783
+ "type": "bytes4"
784
+ }
785
+ ],
786
+ "name": "registerInterface",
787
+ "outputs": [],
788
+ "stateMutability": "nonpayable",
789
+ "type": "function"
790
+ },
791
+ {
792
+ "inputs": [
793
+ {
794
+ "internalType": "address",
795
+ "name": "newAuthority",
796
+ "type": "address"
797
+ }
798
+ ],
799
+ "name": "setAuthority",
800
+ "outputs": [],
801
+ "stateMutability": "nonpayable",
802
+ "type": "function"
803
+ },
804
+ {
805
+ "inputs": [
806
+ {
807
+ "internalType": "contract IInstance",
808
+ "name": "instance",
809
+ "type": "address"
810
+ },
811
+ {
812
+ "internalType": "NftId",
813
+ "name": "policyNftId",
814
+ "type": "uint96"
815
+ },
816
+ {
817
+ "internalType": "ClaimId",
818
+ "name": "claimId",
819
+ "type": "uint16"
820
+ },
821
+ {
822
+ "internalType": "Amount",
823
+ "name": "claimAmount",
824
+ "type": "uint96"
825
+ },
826
+ {
827
+ "internalType": "bytes",
828
+ "name": "claimData",
829
+ "type": "bytes"
830
+ }
831
+ ],
832
+ "name": "submit",
833
+ "outputs": [],
834
+ "stateMutability": "nonpayable",
835
+ "type": "function"
836
+ },
837
+ {
838
+ "inputs": [
839
+ {
840
+ "internalType": "bytes4",
841
+ "name": "interfaceId",
842
+ "type": "bytes4"
843
+ }
844
+ ],
845
+ "name": "supportsInterface",
846
+ "outputs": [
847
+ {
848
+ "internalType": "bool",
849
+ "name": "",
850
+ "type": "bool"
851
+ }
852
+ ],
853
+ "stateMutability": "view",
854
+ "type": "function"
855
+ },
856
+ {
857
+ "inputs": [
858
+ {
859
+ "internalType": "bytes",
860
+ "name": "data",
861
+ "type": "bytes"
862
+ }
863
+ ],
864
+ "name": "upgradeVersionable",
865
+ "outputs": [],
866
+ "stateMutability": "nonpayable",
867
+ "type": "function"
868
+ }
869
+ ],
870
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b612a4180620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c8063893d20e811610104578063bb31b294116100a2578063cc9fc59a11610071578063cc9fc59a14610463578063f21de1e81461031e578063f7c34ee01461046b578063fe7631d51461047e57600080fd5b8063bb31b29414610417578063bf7e214f1461042a578063c898bbaf14610448578063caf4e3d41461045b57600080fd5b8063a0e4494d116100de578063a0e4494d146103cd578063ada9652e146103e0578063b68d1809146103f5578063b962574f1461040457600080fd5b8063893d20e8146103915780638e32e979146103995780638fb36037146103ac57600080fd5b806327bb7a331161017c5780635ab1bd531161014b5780635ab1bd531461031e578063644c45e014610343578063675393bf1461036b5780637a9e5e4b1461037e57600080fd5b806327bb7a33146102dd578063329d6e74146102f057806336fc697e1461030357806349bb9e4b1461030b57600080fd5b80630fec111c116101b85780630fec111c14610276578063138461e01461028b5780631eff4b2214610295578063214cdb80146102ca57600080fd5b806301ffc9a7146101df5780630c02e8ad146102215780630d8e6e2c1461025a575b600080fd5b61020c6101ed366004611e2d565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023b61022f366004611e99565b60008094509492505050565b604080516001600160601b039093168352901515602083015201610218565b610262610491565b60405162ffffff9091168152602001610218565b61027e61051b565b6040516102189190611f45565b6102936106ca565b005b6102bc7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610218565b6102936102d8366004611e2d565b6108d1565b6102936102eb3660046120d8565b6108fe565b6102936102fe366004612170565b61098a565b610293610ad7565b6102936103193660046121a4565b610b1d565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610218565b6000805160206129ac833981519152546040516001600160601b039091168152602001610218565b6102936103793660046121f3565b610c1c565b61029361038c3660046121f3565b610d2a565b61032b610dc4565b6102936103a7366004612210565b610efb565b6103b4611134565b6040516001600160e01b03199091168152602001610218565b6102936103db36600461226b565b61116c565b6102bc6000805160206129ac83398151915281565b60405160d48152602001610218565b6102936104123660046122bc565b6113fa565b61029361042536600461226b565b611485565b6000805160206129cc833981519152546001600160a01b031661032b565b61029361045636600461232d565b611528565b61032b61167d565b61032b611689565b6102936104793660046123b4565b611695565b61029361048c3660046123ed565b61170c565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156104f2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051691906124a8565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b909104161515918101919091526001820180549192916060840191906105c6906124c5565b80601f01602080910402602001604051908101604052809291908181526020018280546105f2906124c5565b801561063f5780601f106106145761010080835404028352916020019161063f565b820191906000526020600020905b81548152906001019060200180831161062257829003601f168201915b50505050508152505090506040518060e0016040528061065d600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016106ae610dc4565b6001600160a01b03168152602001826060015181525091505090565b60006000805160206129ac83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610739573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075d91906124ff565b1561078e5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306107a16001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156107e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080d91906124ff565b6108355760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610785565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610889573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ad919061251c565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6108d9611892565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610906611892565b6109108287611695565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016109808382612587565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6109ac610491565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156109ec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a109190612646565b6000805160206129ec8339815191528054600160401b900460ff1680610a43575080546001600160401b03808416911610155b15610a615760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610a8b836118cb565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610adf611892565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000805160206129ec8339815191528054600160401b810460ff1615906001600160401b0316600081158015610b505750825b90506000826001600160401b03166001148015610b6c5750303b155b905081158015610b7a575080155b15610b985760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610bc257845460ff60401b1916600160401b1785555b610bcc87876118d3565b8315610c1357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610c24611892565b806001600160a01b03163b600003610c5a5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610785565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015610cd4575060408051601f3d908101601f19168201909252610cd1918101906124ff565b60015b610cfc5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610785565b80610d255760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610785565b505b50565b33610d4a6000805160206129cc833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610d855760405162d1953b60e31b81526001600160a01b0382166004820152602401610785565b816001600160a01b03163b600003610dbb576040516361798f2f60e11b81526001600160a01b0383166004820152602401610785565b610d2582611b11565b6000806000805160206129ac83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610e34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5891906124ff565b15610ee5576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610ebb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610edf919061266f565b91505090565b54600160601b90046001600160a01b0316919050565b610f03611892565b610f8383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f69919061251c565b603c600085604051806020016040528060008152506108fe565b6001600160a01b03821615610fa057610f9b82611b72565b61110f565b6000610fb46001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015611014573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611038919061269c565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561107d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110a1919061266f565b905061110d816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110e4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611108919061266f565b611b72565b505b61111f634a531f3360e01b6108d1565b61112f63b68d180960e01b6108d1565b505050565b6000805160206129cc833981519152805460009190600160a01b900460ff1661115e576000610edf565b638fb3603760e01b91505090565b600061117b8484846033611b83565b606081015190915060ff16156111c8576060810151604051632f1a047f60e11b81526001600160601b038516600482015261ffff8416602482015260ff9091166044820152606401610785565b805160405163046e44af60e11b81526001600160601b03909116600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906308dc895e90602401602060405180830381865af4158015611223573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061124791906126b9565b602082015160405163046e44af60e11b81526001600160601b03909116600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906308dc895e90602401602060405180830381865af41580156112a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112c991906126b9565b10156113145780516020820151604051633c781b2760e11b81526001600160601b03808716600483015261ffff86166024830152928316604482015291166064820152608401610785565b73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561135d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061138191906126e7565b64ffffffffff1660a08201526001600160a01b0385166329e63f6284848460c85b6040518563ffffffff1660e01b81526004016113c1949392919061276d565b600060405180830381600087803b1580156113db57600080fd5b505af11580156113ef573d6000803e3d6000fd5b505050505050505050565b60006114098585856032611b83565b6001600160601b03831681526040516314f31fb160e11b81529091506001600160a01b038716906329e63f629061144b9087908790869060339060040161276d565b600060405180830381600087803b15801561146557600080fd5b505af1158015611479573d6000803e3d6000fd5b50505050505050505050565b60006114948484846032611b83565b905073__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156114df573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061150391906126e7565b64ffffffffff1660a08201526001600160a01b0385166329e63f62848484601e6113a2565b846001600160a01b031663a1ef60e985856040518060c00160405280876001600160601b0316815260200173__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561159c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115c0919061251c565b6001600160601b03168152602001600060ff168152602001600060ff16815260200186815260200173__$d53880c81dc91c20799140d711e5ab8718$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611631573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061165591906126e7565b64ffffffffff168152506040518463ffffffff1660e01b81526004016113c1939291906127ad565b60006105166028611d09565b60006105166046611d09565b61169d611892565b6116a681610c1c565b6116ae610ad7565b6001600160a01b0382166116d55760405163f17ef42d60e01b815260040160405180910390fd5b506000805160206129ac83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b604080516080810191829052636f2f88d160e11b90915262ffffff851660848201526001600160a01b038716906381c2b28290879087908073__$e1d43d4fb5c0494c5b7331f52c1ee41012$__63de5f11a260a48301602060405180830381865af415801561177f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117a391906127e2565b61ffff168152602001886001600160601b0316815260200187878080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050908252506040805163bc1b392d60e01b8152905160209283019273__$d53880c81dc91c20799140d711e5ab8718$__9263bc1b392d92600480830193928290030181865af4158015611846573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061186a91906126e7565b64ffffffffff168152506040518463ffffffff1660e01b815260040161144b939291906127ff565b6000805160206129ec83398151915254600160401b900460ff166118c957604051631afcd79f60e31b815260040160405180910390fd5b565b6101da611892565b6000805160206129ec8339815191528054600160401b810460ff1615906001600160401b03166000811580156119065750825b90506000826001600160401b031660011480156119225750303b155b905081158015611930575080155b1561194e5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561197857845460ff60401b1916600160401b1785555b6000808780602001905181019061198f9190612870565b90925090506119a08260008b610efb565b6001546001600160a01b031663d39e6043608c6119bb610491565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611a10573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a34919061269c565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611a79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a9d919061266f565b600280546001600160a01b0319166001600160a01b0392909216919091179055611acd63985bce4160e01b6108d1565b50508315610c1357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610c0a565b6000805160206129cc83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611b7a611892565b610d2781611e1c565b6040805160c0810182526000808252602082018190529181018290526060808201839052608082015260a081019190915260405163078ae93560e41b81526001600160601b038516600482015261ffff841660248201526000906001600160a01b038716906378ae935090604401602060405180830381865afa158015611c0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c32919061269c565b905060ff80821690841614611c80576040516398b9e22f60e01b81526001600160601b038616600482015261ffff8516602482015260ff808516604483015282166064820152608401610785565b60405163a7ef3d2160e01b81526001600160601b038616600482015261ffff851660248201526001600160a01b0387169063a7ef3d2190604401600060405180830381865afa158015611cd7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611cff91908101906128e4565b9695505050505050565b6000611d1d6001546001600160a01b031690565b6001600160a01b031663d39e604383611d34610491565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611d89573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dad919061269c565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611df2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e16919061266f565b92915050565b611e24611892565b610d2781611b11565b600060208284031215611e3f57600080fd5b81356001600160e01b031981168114611e5757600080fd5b9392505050565b6001600160a01b0381168114610d2757600080fd5b6001600160601b0381168114610d2757600080fd5b62ffffff81168114610d2757600080fd5b60008060008060808587031215611eaf57600080fd5b8435611eba81611e5e565b93506020850135611eca81611e5e565b92506040850135611eda81611e73565b91506060850135611eea81611e88565b939692955090935050565b60005b83811015611f10578181015183820152602001611ef8565b50506000910152565b60008151808452611f31816020860160208601611ef5565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151611fae60c08401826001600160a01b03169052565b5060c083015160e080840152611fc8610100840182611f19565b949350505050565b60ff81168114610d2757600080fd5b8015158114610d2757600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b038111828210171561202557612025611fed565b60405290565b604051601f8201601f191681016001600160401b038111828210171561205357612053611fed565b604052919050565b60006001600160401b0382111561207457612074611fed565b50601f01601f191660200190565b600082601f83011261209357600080fd5b81356120a66120a18261205b565b61202b565b8181528460208386010111156120bb57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c087890312156120f157600080fd5b86356120fc81611e5e565b9550602087013561210c81611e73565b9450604087013561211c81611fd0565b9350606087013561212c81611fdf565b9250608087013561213c81611e5e565b915060a08701356001600160401b0381111561215757600080fd5b61216389828a01612082565b9150509295509295509295565b60006020828403121561218257600080fd5b81356001600160401b0381111561219857600080fd5b611fc884828501612082565b600080604083850312156121b757600080fd5b82356121c281611e5e565b915060208301356001600160401b038111156121dd57600080fd5b6121e985828601612082565b9150509250929050565b60006020828403121561220557600080fd5b8135611e5781611e5e565b60008060006060848603121561222557600080fd5b833561223081611e5e565b9250602084013561224081611e5e565b9150604084013561225081611e5e565b809150509250925092565b61ffff81168114610d2757600080fd5b6000806000806080858703121561228157600080fd5b843561228c81611e5e565b9350602085013561229c81611e5e565b925060408501356122ac81611e73565b91506060850135611eea8161225b565b600080600080600060a086880312156122d457600080fd5b85356122df81611e5e565b945060208601356122ef81611e5e565b935060408601356122ff81611e73565b9250606086013561230f8161225b565b9150608086013561231f81611e73565b809150509295509295909350565b600080600080600060a0868803121561234557600080fd5b853561235081611e5e565b9450602086013561236081611e73565b935060408601356123708161225b565b9250606086013561238081611e73565b915060808601356001600160401b0381111561239b57600080fd5b6123a788828901612082565b9150509295509295909350565b600080604083850312156123c757600080fd5b82356123d281611e5e565b915060208301356123e281611e5e565b809150509250929050565b60008060008060008060a0878903121561240657600080fd5b863561241181611e5e565b9550602087013561242181611e73565b9450604087013561243181611e88565b9350606087013561244181611e73565b925060808701356001600160401b038082111561245d57600080fd5b818901915089601f83011261247157600080fd5b81358181111561248057600080fd5b8a602082850101111561249257600080fd5b6020830194508093505050509295509295509295565b6000602082840312156124ba57600080fd5b8151611e5781611e88565b600181811c908216806124d957607f821691505b6020821081036124f957634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561251157600080fd5b8151611e5781611fdf565b60006020828403121561252e57600080fd5b8151611e5781611e73565b601f82111561112f57600081815260208120601f850160051c810160208610156125605750805b601f850160051c820191505b8181101561257f5782815560010161256c565b505050505050565b81516001600160401b038111156125a0576125a0611fed565b6125b4816125ae84546124c5565b84612539565b602080601f8311600181146125e957600084156125d15750858301515b600019600386901b1c1916600185901b17855561257f565b600085815260208120601f198616915b82811015612618578886015182559484019460019091019084016125f9565b50858210156126365787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561265857600080fd5b81516001600160401b0381168114611e5757600080fd5b60006020828403121561268157600080fd5b8151611e5781611e5e565b805161269781611fd0565b919050565b6000602082840312156126ae57600080fd5b8151611e5781611fd0565b6000602082840312156126cb57600080fd5b5051919050565b805164ffffffffff8116811461269757600080fd5b6000602082840312156126f957600080fd5b611e57826126d2565b60006001600160601b038083511684528060208401511660208501525060ff604083015116604084015260ff6060830151166060840152608082015160c0608085015261275260c0850182611f19565b60a09384015164ffffffffff16949093019390935250919050565b6001600160601b038516815261ffff841660208201526080604082015260006127996080830185612702565b905060ff8316606083015295945050505050565b6001600160601b038416815261ffff831660208201526060604082015260006127d96060830184612702565b95945050505050565b6000602082840312156127f457600080fd5b8151611e578161225b565b60006001600160601b03808616835262ffffff851660208401526060604084015261ffff8451166060840152806020850151166080840152506040830151608060a084015261285160e0840182611f19565b905064ffffffffff60608501511660c084015280915050949350505050565b6000806040838503121561288357600080fd5b825161288e81611e5e565b60208401519092506123e281611e5e565b600082601f8301126128b057600080fd5b81516128be6120a18261205b565b8181528460208386010111156128d357600080fd5b611fc8826020830160208701611ef5565b6000602082840312156128f657600080fd5b81516001600160401b038082111561290d57600080fd5b9083019060c0828603121561292157600080fd5b612929612003565b825161293481611e73565b8152602083015161294481611e73565b6020820152604083015161295781611fd0565b60408201526129686060840161268c565b606082015260808301518281111561297f57600080fd5b61298b8782860161289f565b60808301525061299d60a084016126d2565b60a08201529594505050505056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a264697066735822122069674d08148d02478e9b2e6251e4190deef7f2a3e6d448c27e26be92da41dd6864736f6c63430008140033",
871
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101da5760003560e01c8063893d20e811610104578063bb31b294116100a2578063cc9fc59a11610071578063cc9fc59a14610463578063f21de1e81461031e578063f7c34ee01461046b578063fe7631d51461047e57600080fd5b8063bb31b29414610417578063bf7e214f1461042a578063c898bbaf14610448578063caf4e3d41461045b57600080fd5b8063a0e4494d116100de578063a0e4494d146103cd578063ada9652e146103e0578063b68d1809146103f5578063b962574f1461040457600080fd5b8063893d20e8146103915780638e32e979146103995780638fb36037146103ac57600080fd5b806327bb7a331161017c5780635ab1bd531161014b5780635ab1bd531461031e578063644c45e014610343578063675393bf1461036b5780637a9e5e4b1461037e57600080fd5b806327bb7a33146102dd578063329d6e74146102f057806336fc697e1461030357806349bb9e4b1461030b57600080fd5b80630fec111c116101b85780630fec111c14610276578063138461e01461028b5780631eff4b2214610295578063214cdb80146102ca57600080fd5b806301ffc9a7146101df5780630c02e8ad146102215780630d8e6e2c1461025a575b600080fd5b61020c6101ed366004611e2d565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023b61022f366004611e99565b60008094509492505050565b604080516001600160601b039093168352901515602083015201610218565b610262610491565b60405162ffffff9091168152602001610218565b61027e61051b565b6040516102189190611f45565b6102936106ca565b005b6102bc7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610218565b6102936102d8366004611e2d565b6108d1565b6102936102eb3660046120d8565b6108fe565b6102936102fe366004612170565b61098a565b610293610ad7565b6102936103193660046121a4565b610b1d565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610218565b6000805160206129ac833981519152546040516001600160601b039091168152602001610218565b6102936103793660046121f3565b610c1c565b61029361038c3660046121f3565b610d2a565b61032b610dc4565b6102936103a7366004612210565b610efb565b6103b4611134565b6040516001600160e01b03199091168152602001610218565b6102936103db36600461226b565b61116c565b6102bc6000805160206129ac83398151915281565b60405160d48152602001610218565b6102936104123660046122bc565b6113fa565b61029361042536600461226b565b611485565b6000805160206129cc833981519152546001600160a01b031661032b565b61029361045636600461232d565b611528565b61032b61167d565b61032b611689565b6102936104793660046123b4565b611695565b61029361048c3660046123ed565b61170c565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156104f2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051691906124a8565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b909104161515918101919091526001820180549192916060840191906105c6906124c5565b80601f01602080910402602001604051908101604052809291908181526020018280546105f2906124c5565b801561063f5780601f106106145761010080835404028352916020019161063f565b820191906000526020600020905b81548152906001019060200180831161062257829003601f168201915b50505050508152505090506040518060e0016040528061065d600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016106ae610dc4565b6001600160a01b03168152602001826060015181525091505090565b60006000805160206129ac83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610739573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075d91906124ff565b1561078e5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306107a16001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156107e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080d91906124ff565b6108355760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610785565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610889573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ad919061251c565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6108d9611892565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610906611892565b6109108287611695565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016109808382612587565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6109ac610491565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156109ec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a109190612646565b6000805160206129ec8339815191528054600160401b900460ff1680610a43575080546001600160401b03808416911610155b15610a615760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610a8b836118cb565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610adf611892565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000805160206129ec8339815191528054600160401b810460ff1615906001600160401b0316600081158015610b505750825b90506000826001600160401b03166001148015610b6c5750303b155b905081158015610b7a575080155b15610b985760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610bc257845460ff60401b1916600160401b1785555b610bcc87876118d3565b8315610c1357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610c24611892565b806001600160a01b03163b600003610c5a5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610785565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015610cd4575060408051601f3d908101601f19168201909252610cd1918101906124ff565b60015b610cfc5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610785565b80610d255760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610785565b505b50565b33610d4a6000805160206129cc833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610d855760405162d1953b60e31b81526001600160a01b0382166004820152602401610785565b816001600160a01b03163b600003610dbb576040516361798f2f60e11b81526001600160a01b0383166004820152602401610785565b610d2582611b11565b6000806000805160206129ac83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610e34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5891906124ff565b15610ee5576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610ebb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610edf919061266f565b91505090565b54600160601b90046001600160a01b0316919050565b610f03611892565b610f8383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f69919061251c565b603c600085604051806020016040528060008152506108fe565b6001600160a01b03821615610fa057610f9b82611b72565b61110f565b6000610fb46001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015611014573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611038919061269c565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561107d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110a1919061266f565b905061110d816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110e4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611108919061266f565b611b72565b505b61111f634a531f3360e01b6108d1565b61112f63b68d180960e01b6108d1565b505050565b6000805160206129cc833981519152805460009190600160a01b900460ff1661115e576000610edf565b638fb3603760e01b91505090565b600061117b8484846033611b83565b606081015190915060ff16156111c8576060810151604051632f1a047f60e11b81526001600160601b038516600482015261ffff8416602482015260ff9091166044820152606401610785565b805160405163046e44af60e11b81526001600160601b03909116600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906308dc895e90602401602060405180830381865af4158015611223573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061124791906126b9565b602082015160405163046e44af60e11b81526001600160601b03909116600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906308dc895e90602401602060405180830381865af41580156112a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112c991906126b9565b10156113145780516020820151604051633c781b2760e11b81526001600160601b03808716600483015261ffff86166024830152928316604482015291166064820152608401610785565b73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561135d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061138191906126e7565b64ffffffffff1660a08201526001600160a01b0385166329e63f6284848460c85b6040518563ffffffff1660e01b81526004016113c1949392919061276d565b600060405180830381600087803b1580156113db57600080fd5b505af11580156113ef573d6000803e3d6000fd5b505050505050505050565b60006114098585856032611b83565b6001600160601b03831681526040516314f31fb160e11b81529091506001600160a01b038716906329e63f629061144b9087908790869060339060040161276d565b600060405180830381600087803b15801561146557600080fd5b505af1158015611479573d6000803e3d6000fd5b50505050505050505050565b60006114948484846032611b83565b905073__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156114df573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061150391906126e7565b64ffffffffff1660a08201526001600160a01b0385166329e63f62848484601e6113a2565b846001600160a01b031663a1ef60e985856040518060c00160405280876001600160601b0316815260200173__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561159c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115c0919061251c565b6001600160601b03168152602001600060ff168152602001600060ff16815260200186815260200173__$d53880c81dc91c20799140d711e5ab8718$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611631573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061165591906126e7565b64ffffffffff168152506040518463ffffffff1660e01b81526004016113c1939291906127ad565b60006105166028611d09565b60006105166046611d09565b61169d611892565b6116a681610c1c565b6116ae610ad7565b6001600160a01b0382166116d55760405163f17ef42d60e01b815260040160405180910390fd5b506000805160206129ac83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b604080516080810191829052636f2f88d160e11b90915262ffffff851660848201526001600160a01b038716906381c2b28290879087908073__$e1d43d4fb5c0494c5b7331f52c1ee41012$__63de5f11a260a48301602060405180830381865af415801561177f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117a391906127e2565b61ffff168152602001886001600160601b0316815260200187878080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050908252506040805163bc1b392d60e01b8152905160209283019273__$d53880c81dc91c20799140d711e5ab8718$__9263bc1b392d92600480830193928290030181865af4158015611846573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061186a91906126e7565b64ffffffffff168152506040518463ffffffff1660e01b815260040161144b939291906127ff565b6000805160206129ec83398151915254600160401b900460ff166118c957604051631afcd79f60e31b815260040160405180910390fd5b565b6101da611892565b6000805160206129ec8339815191528054600160401b810460ff1615906001600160401b03166000811580156119065750825b90506000826001600160401b031660011480156119225750303b155b905081158015611930575080155b1561194e5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561197857845460ff60401b1916600160401b1785555b6000808780602001905181019061198f9190612870565b90925090506119a08260008b610efb565b6001546001600160a01b031663d39e6043608c6119bb610491565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611a10573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a34919061269c565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611a79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a9d919061266f565b600280546001600160a01b0319166001600160a01b0392909216919091179055611acd63985bce4160e01b6108d1565b50508315610c1357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610c0a565b6000805160206129cc83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611b7a611892565b610d2781611e1c565b6040805160c0810182526000808252602082018190529181018290526060808201839052608082015260a081019190915260405163078ae93560e41b81526001600160601b038516600482015261ffff841660248201526000906001600160a01b038716906378ae935090604401602060405180830381865afa158015611c0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c32919061269c565b905060ff80821690841614611c80576040516398b9e22f60e01b81526001600160601b038616600482015261ffff8516602482015260ff808516604483015282166064820152608401610785565b60405163a7ef3d2160e01b81526001600160601b038616600482015261ffff851660248201526001600160a01b0387169063a7ef3d2190604401600060405180830381865afa158015611cd7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611cff91908101906128e4565b9695505050505050565b6000611d1d6001546001600160a01b031690565b6001600160a01b031663d39e604383611d34610491565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611d89573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dad919061269c565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611df2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e16919061266f565b92915050565b611e24611892565b610d2781611b11565b600060208284031215611e3f57600080fd5b81356001600160e01b031981168114611e5757600080fd5b9392505050565b6001600160a01b0381168114610d2757600080fd5b6001600160601b0381168114610d2757600080fd5b62ffffff81168114610d2757600080fd5b60008060008060808587031215611eaf57600080fd5b8435611eba81611e5e565b93506020850135611eca81611e5e565b92506040850135611eda81611e73565b91506060850135611eea81611e88565b939692955090935050565b60005b83811015611f10578181015183820152602001611ef8565b50506000910152565b60008151808452611f31816020860160208601611ef5565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151611fae60c08401826001600160a01b03169052565b5060c083015160e080840152611fc8610100840182611f19565b949350505050565b60ff81168114610d2757600080fd5b8015158114610d2757600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b038111828210171561202557612025611fed565b60405290565b604051601f8201601f191681016001600160401b038111828210171561205357612053611fed565b604052919050565b60006001600160401b0382111561207457612074611fed565b50601f01601f191660200190565b600082601f83011261209357600080fd5b81356120a66120a18261205b565b61202b565b8181528460208386010111156120bb57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c087890312156120f157600080fd5b86356120fc81611e5e565b9550602087013561210c81611e73565b9450604087013561211c81611fd0565b9350606087013561212c81611fdf565b9250608087013561213c81611e5e565b915060a08701356001600160401b0381111561215757600080fd5b61216389828a01612082565b9150509295509295509295565b60006020828403121561218257600080fd5b81356001600160401b0381111561219857600080fd5b611fc884828501612082565b600080604083850312156121b757600080fd5b82356121c281611e5e565b915060208301356001600160401b038111156121dd57600080fd5b6121e985828601612082565b9150509250929050565b60006020828403121561220557600080fd5b8135611e5781611e5e565b60008060006060848603121561222557600080fd5b833561223081611e5e565b9250602084013561224081611e5e565b9150604084013561225081611e5e565b809150509250925092565b61ffff81168114610d2757600080fd5b6000806000806080858703121561228157600080fd5b843561228c81611e5e565b9350602085013561229c81611e5e565b925060408501356122ac81611e73565b91506060850135611eea8161225b565b600080600080600060a086880312156122d457600080fd5b85356122df81611e5e565b945060208601356122ef81611e5e565b935060408601356122ff81611e73565b9250606086013561230f8161225b565b9150608086013561231f81611e73565b809150509295509295909350565b600080600080600060a0868803121561234557600080fd5b853561235081611e5e565b9450602086013561236081611e73565b935060408601356123708161225b565b9250606086013561238081611e73565b915060808601356001600160401b0381111561239b57600080fd5b6123a788828901612082565b9150509295509295909350565b600080604083850312156123c757600080fd5b82356123d281611e5e565b915060208301356123e281611e5e565b809150509250929050565b60008060008060008060a0878903121561240657600080fd5b863561241181611e5e565b9550602087013561242181611e73565b9450604087013561243181611e88565b9350606087013561244181611e73565b925060808701356001600160401b038082111561245d57600080fd5b818901915089601f83011261247157600080fd5b81358181111561248057600080fd5b8a602082850101111561249257600080fd5b6020830194508093505050509295509295509295565b6000602082840312156124ba57600080fd5b8151611e5781611e88565b600181811c908216806124d957607f821691505b6020821081036124f957634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561251157600080fd5b8151611e5781611fdf565b60006020828403121561252e57600080fd5b8151611e5781611e73565b601f82111561112f57600081815260208120601f850160051c810160208610156125605750805b601f850160051c820191505b8181101561257f5782815560010161256c565b505050505050565b81516001600160401b038111156125a0576125a0611fed565b6125b4816125ae84546124c5565b84612539565b602080601f8311600181146125e957600084156125d15750858301515b600019600386901b1c1916600185901b17855561257f565b600085815260208120601f198616915b82811015612618578886015182559484019460019091019084016125f9565b50858210156126365787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561265857600080fd5b81516001600160401b0381168114611e5757600080fd5b60006020828403121561268157600080fd5b8151611e5781611e5e565b805161269781611fd0565b919050565b6000602082840312156126ae57600080fd5b8151611e5781611fd0565b6000602082840312156126cb57600080fd5b5051919050565b805164ffffffffff8116811461269757600080fd5b6000602082840312156126f957600080fd5b611e57826126d2565b60006001600160601b038083511684528060208401511660208501525060ff604083015116604084015260ff6060830151166060840152608082015160c0608085015261275260c0850182611f19565b60a09384015164ffffffffff16949093019390935250919050565b6001600160601b038516815261ffff841660208201526080604082015260006127996080830185612702565b905060ff8316606083015295945050505050565b6001600160601b038416815261ffff831660208201526060604082015260006127d96060830184612702565b95945050505050565b6000602082840312156127f457600080fd5b8151611e578161225b565b60006001600160601b03808616835262ffffff851660208401526060604084015261ffff8451166060840152806020850151166080840152506040830151608060a084015261285160e0840182611f19565b905064ffffffffff60608501511660c084015280915050949350505050565b6000806040838503121561288357600080fd5b825161288e81611e5e565b60208401519092506123e281611e5e565b600082601f8301126128b057600080fd5b81516128be6120a18261205b565b8181528460208386010111156128d357600080fd5b611fc8826020830160208701611ef5565b6000602082840312156128f657600080fd5b81516001600160401b038082111561290d57600080fd5b9083019060c0828603121561292157600080fd5b612929612003565b825161293481611e73565b8152602083015161294481611e73565b6020820152604083015161295781611fd0565b60408201526129686060840161268c565b606082015260808301518281111561297f57600080fd5b61298b8782860161289f565b60808301525061299d60a084016126d2565b60a08201529594505050505056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a264697066735822122069674d08148d02478e9b2e6251e4190deef7f2a3e6d448c27e26be92da41dd6864736f6c63430008140033",
872
+ "linkReferences": {
873
+ "contracts/types/Amount.sol": {
874
+ "AmountLib": [
875
+ {
876
+ "length": 20,
877
+ "start": 4815
878
+ },
879
+ {
880
+ "length": 20,
881
+ "start": 4945
882
+ },
883
+ {
884
+ "length": 20,
885
+ "start": 5691
886
+ }
887
+ ]
888
+ },
889
+ "contracts/types/NftId.sol": {
890
+ "NftIdLib": [
891
+ {
892
+ "length": 20,
893
+ "start": 2021
894
+ },
895
+ {
896
+ "length": 20,
897
+ "start": 3808
898
+ }
899
+ ]
900
+ },
901
+ "contracts/types/PayoutId.sol": {
902
+ "PayoutIdLib": [
903
+ {
904
+ "length": 20,
905
+ "start": 6188
906
+ }
907
+ ]
908
+ },
909
+ "contracts/types/Timestamp.sol": {
910
+ "TimestampLib": [
911
+ {
912
+ "length": 20,
913
+ "start": 5116
914
+ },
915
+ {
916
+ "length": 20,
917
+ "start": 5502
918
+ },
919
+ {
920
+ "length": 20,
921
+ "start": 5840
922
+ },
923
+ {
924
+ "length": 20,
925
+ "start": 6386
926
+ }
927
+ ]
928
+ },
929
+ "contracts/types/Version.sol": {
930
+ "VersionLib": [
931
+ {
932
+ "length": 20,
933
+ "start": 1438
934
+ },
935
+ {
936
+ "length": 20,
937
+ "start": 2674
938
+ },
939
+ {
940
+ "length": 20,
941
+ "start": 6844
942
+ },
943
+ {
944
+ "length": 20,
945
+ "start": 7733
946
+ }
947
+ ],
948
+ "VersionPartLib": [
949
+ {
950
+ "length": 20,
951
+ "start": 4288
952
+ }
953
+ ]
954
+ }
955
+ },
956
+ "deployedLinkReferences": {
957
+ "contracts/types/Amount.sol": {
958
+ "AmountLib": [
959
+ {
960
+ "length": 20,
961
+ "start": 4585
962
+ },
963
+ {
964
+ "length": 20,
965
+ "start": 4715
966
+ },
967
+ {
968
+ "length": 20,
969
+ "start": 5461
970
+ }
971
+ ]
972
+ },
973
+ "contracts/types/NftId.sol": {
974
+ "NftIdLib": [
975
+ {
976
+ "length": 20,
977
+ "start": 1791
978
+ },
979
+ {
980
+ "length": 20,
981
+ "start": 3578
982
+ }
983
+ ]
984
+ },
985
+ "contracts/types/PayoutId.sol": {
986
+ "PayoutIdLib": [
987
+ {
988
+ "length": 20,
989
+ "start": 5958
990
+ }
991
+ ]
992
+ },
993
+ "contracts/types/Timestamp.sol": {
994
+ "TimestampLib": [
995
+ {
996
+ "length": 20,
997
+ "start": 4886
998
+ },
999
+ {
1000
+ "length": 20,
1001
+ "start": 5272
1002
+ },
1003
+ {
1004
+ "length": 20,
1005
+ "start": 5610
1006
+ },
1007
+ {
1008
+ "length": 20,
1009
+ "start": 6156
1010
+ }
1011
+ ]
1012
+ },
1013
+ "contracts/types/Version.sol": {
1014
+ "VersionLib": [
1015
+ {
1016
+ "length": 20,
1017
+ "start": 1208
1018
+ },
1019
+ {
1020
+ "length": 20,
1021
+ "start": 2444
1022
+ },
1023
+ {
1024
+ "length": 20,
1025
+ "start": 6614
1026
+ },
1027
+ {
1028
+ "length": 20,
1029
+ "start": 7503
1030
+ }
1031
+ ],
1032
+ "VersionPartLib": [
1033
+ {
1034
+ "length": 20,
1035
+ "start": 4058
1036
+ }
1037
+ ]
1038
+ }
1039
+ }
1040
+ }