@etherisc/gif-next 0.0.2-d288ca9-933 → 0.0.2-d30275e-758

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