@etherisc/gif-next 0.0.2-ce8407f-016 → 0.0.2-ce87da3-250

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