@etherisc/gif-next 0.0.2-f2b0fa2-473 → 0.0.2-f4f484a-692

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