@etherisc/gif-next 0.0.2-f08d150-296 → 0.0.2-f29e479-370

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