@etherisc/gif-next 0.0.2-ce8407f-016 → 0.0.2-ceb30b2-601

Sign up to get free protection for your applications and to get access to all the features.
Files changed (374) hide show
  1. package/README.md +178 -14
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +829 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +1332 -0
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/components/IComponent.sol/IComponent.json +592 -0
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +956 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +1051 -0
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +817 -0
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +4 -0
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +1363 -0
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +4 -0
  17. package/artifacts/contracts/components/Product.sol/Product.json +1154 -0
  18. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  19. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  20. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  21. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +778 -0
  22. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  23. package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → Cloneable.sol/Cloneable.json} +91 -2
  24. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  25. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +2719 -1
  26. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  27. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +600 -0
  28. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  29. package/artifacts/contracts/instance/Instance.sol/Instance.json +1220 -1347
  30. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  31. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +593 -180
  32. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  33. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +586 -56
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  35. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1014 -32
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  37. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +724 -0
  38. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  39. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +256 -0
  40. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  41. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +631 -0
  42. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +0 -77
  44. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  45. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  46. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +40 -244
  47. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  48. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
  49. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  50. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +71 -45
  51. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  52. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  53. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  54. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  55. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  56. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  57. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  58. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  59. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  60. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +1092 -0
  61. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  62. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +672 -0
  63. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  64. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1313 -0
  65. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  66. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +712 -0
  67. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  68. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +1316 -0
  69. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  70. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +724 -0
  71. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  72. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1798 -0
  73. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  74. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +780 -0
  75. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  76. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +619 -0
  77. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  78. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +701 -0
  79. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  80. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +731 -0
  81. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  82. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +1082 -0
  83. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  84. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +651 -0
  85. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
  86. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +1077 -0
  87. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
  88. package/artifacts/contracts/instance/{base/IService.sol/IService.json → service/IProductService.sol/IProductService.json} +178 -157
  89. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  90. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1153 -0
  91. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  92. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +676 -0
  93. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
  94. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +1598 -0
  95. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  96. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +696 -0
  97. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  98. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +864 -0
  99. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  100. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +640 -0
  101. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  102. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +60 -2
  103. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  104. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +255 -63
  105. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  106. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +309 -196
  107. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  108. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  109. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  110. package/artifacts/contracts/registry/Registry.sol/Registry.json +229 -212
  111. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  112. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  113. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  114. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +421 -284
  115. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  116. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +310 -129
  117. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  118. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +559 -0
  119. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  120. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +485 -0
  121. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  122. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  123. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  124. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  125. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +27 -29
  126. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  127. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +165 -0
  128. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  129. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +8 -34
  130. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  131. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  132. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  133. package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → shared/IService.sol/IService.json} +115 -29
  134. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  135. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  136. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  137. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +107 -27
  138. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  139. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +271 -0
  140. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  141. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +283 -63
  142. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  143. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +116 -51
  144. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  145. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
  146. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  147. package/artifacts/contracts/{instance/base/ServiceBase.sol/ServiceBase.json → shared/Service.sol/Service.json} +187 -167
  148. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  149. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
  150. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  151. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  152. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  153. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  154. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  155. package/artifacts/contracts/test/TestFee.sol/TestFee.json +4 -4
  156. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  157. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +116 -51
  158. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  159. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +111 -5
  160. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  161. package/artifacts/contracts/test/TestService.sol/TestService.json +204 -216
  162. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  163. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
  164. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  165. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  166. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  167. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -190
  168. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  169. package/artifacts/contracts/test/Usdc.sol/USDC.json +91 -53
  170. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  171. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +4 -0
  172. package/artifacts/contracts/types/Amount.sol/AmountLib.json +209 -0
  173. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  174. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  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 +179 -0
  178. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  179. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
  180. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  181. package/artifacts/contracts/types/Fee.sol/FeeLib.json +42 -11
  182. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  183. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  184. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  185. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
  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 +1 -1
  189. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  190. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  191. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  192. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +209 -0
  193. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  194. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
  195. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  196. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  197. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  198. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  199. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  200. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  201. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  202. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  203. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  204. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +38 -7
  205. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  206. package/artifacts/contracts/{experiment/types/TypeB.sol/TypeBLib.json → types/UFixed.sol/MathLib.json} +4 -4
  207. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  208. package/artifacts/contracts/types/UFixed.sol/{UFixedMathLib.json → UFixedLib.json} +3 -3
  209. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  210. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  211. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  212. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  213. package/contracts/components/Component.sol +253 -0
  214. package/contracts/components/Distribution.sol +284 -0
  215. package/contracts/components/IComponent.sol +76 -0
  216. package/contracts/components/IDistributionComponent.sol +71 -0
  217. package/contracts/components/IPoolComponent.sol +113 -0
  218. package/contracts/components/IProductComponent.sol +40 -0
  219. package/contracts/components/Pool.sol +302 -0
  220. package/contracts/components/Product.sol +371 -0
  221. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
  222. package/contracts/instance/BundleManager.sol +126 -0
  223. package/contracts/instance/Cloneable.sol +51 -0
  224. package/contracts/instance/IInstance.sol +99 -1
  225. package/contracts/instance/IInstanceService.sol +63 -0
  226. package/contracts/instance/Instance.sol +169 -243
  227. package/contracts/instance/InstanceAccessManager.sol +417 -178
  228. package/contracts/instance/InstanceReader.sol +116 -34
  229. package/contracts/instance/InstanceService.sol +462 -23
  230. package/contracts/instance/InstanceServiceManager.sol +54 -0
  231. package/contracts/instance/ObjectManager.sol +82 -0
  232. package/contracts/instance/base/ComponentService.sol +130 -0
  233. package/contracts/instance/base/IKeyValueStore.sol +5 -4
  234. package/contracts/instance/base/KeyValueStore.sol +13 -52
  235. package/contracts/instance/base/Lifecycle.sol +23 -6
  236. package/contracts/instance/module/IAccess.sol +37 -21
  237. package/contracts/instance/module/IBundle.sol +8 -4
  238. package/contracts/instance/module/IComponents.sol +41 -0
  239. package/contracts/instance/module/IDistribution.sol +2 -0
  240. package/contracts/instance/module/IPolicy.sol +42 -9
  241. package/contracts/instance/module/ISetup.sol +10 -18
  242. package/contracts/instance/module/ITreasury.sol +1 -1
  243. package/contracts/instance/service/ApplicationService.sol +356 -0
  244. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  245. package/contracts/instance/service/BundleService.sol +443 -0
  246. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  247. package/contracts/instance/service/ClaimService.sol +361 -0
  248. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  249. package/contracts/instance/service/DistributionService.sol +431 -0
  250. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  251. package/contracts/instance/service/IApplicationService.sol +78 -0
  252. package/contracts/instance/service/IBundleService.sol +102 -0
  253. package/contracts/instance/service/IClaimService.sol +90 -0
  254. package/contracts/instance/service/IDistributionService.sol +99 -0
  255. package/contracts/instance/service/IPolicyService.sol +80 -0
  256. package/contracts/instance/service/IPoolService.sol +144 -0
  257. package/contracts/instance/service/IProductService.sol +40 -0
  258. package/contracts/instance/service/PolicyService.sol +358 -0
  259. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  260. package/contracts/instance/service/PoolService.sol +349 -0
  261. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  262. package/contracts/instance/service/ProductService.sol +210 -0
  263. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  264. package/contracts/registry/ChainNft.sol +49 -26
  265. package/contracts/registry/IRegistry.sol +53 -25
  266. package/contracts/registry/IRegistryService.sol +53 -16
  267. package/contracts/registry/ITransferInterceptor.sol +1 -0
  268. package/contracts/registry/Registry.sol +289 -313
  269. package/contracts/registry/RegistryAccessManager.sol +216 -0
  270. package/contracts/registry/RegistryService.sol +169 -256
  271. package/contracts/registry/RegistryServiceManager.sol +30 -11
  272. package/contracts/registry/ReleaseManager.sol +324 -0
  273. package/contracts/registry/TokenRegistry.sol +116 -0
  274. package/contracts/shared/ERC165.sol +15 -9
  275. package/contracts/shared/INftOwnable.sol +11 -10
  276. package/contracts/shared/IPolicyHolder.sol +38 -0
  277. package/contracts/shared/IRegisterable.sol +4 -6
  278. package/contracts/shared/IRegistryLinked.sol +11 -0
  279. package/contracts/shared/IService.sol +18 -0
  280. package/contracts/shared/IVersionable.sol +4 -47
  281. package/contracts/shared/NftOwnable.sol +65 -83
  282. package/contracts/shared/PolicyHolder.sol +87 -0
  283. package/contracts/shared/ProxyManager.sol +101 -26
  284. package/contracts/shared/Registerable.sol +25 -39
  285. package/contracts/shared/RegistryLinked.sol +43 -0
  286. package/contracts/shared/Service.sol +72 -0
  287. package/contracts/shared/TokenHandler.sol +13 -7
  288. package/contracts/shared/UpgradableProxyWithAdmin.sol +2 -2
  289. package/contracts/shared/Versionable.sol +5 -93
  290. package/contracts/test/TestFee.sol +2 -2
  291. package/contracts/test/TestRegisterable.sol +1 -1
  292. package/contracts/test/TestRoleId.sol +6 -6
  293. package/contracts/test/TestService.sol +6 -7
  294. package/contracts/types/Amount.sol +70 -0
  295. package/contracts/types/Blocknumber.sol +1 -0
  296. package/contracts/types/ClaimId.sol +75 -0
  297. package/contracts/types/DistributorType.sol +2 -2
  298. package/contracts/types/Fee.sol +15 -7
  299. package/contracts/types/NftId.sol +8 -0
  300. package/contracts/types/NftIdSet.sol +26 -24
  301. package/contracts/types/ObjectType.sol +11 -6
  302. package/contracts/types/PayoutId.sol +82 -0
  303. package/contracts/types/Referral.sol +4 -0
  304. package/contracts/types/RoleId.sol +26 -4
  305. package/contracts/types/Seconds.sol +54 -0
  306. package/contracts/types/StateId.sol +11 -2
  307. package/contracts/types/Timestamp.sol +18 -13
  308. package/contracts/types/UFixed.sol +129 -12
  309. package/contracts/types/Version.sol +5 -1
  310. package/package.json +6 -5
  311. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  312. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  313. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  314. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  315. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  316. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  317. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  318. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  319. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  320. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  321. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  322. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  323. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  324. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  325. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  326. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  327. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  328. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  329. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  330. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  331. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  332. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  333. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  334. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  335. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  336. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  337. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  338. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  339. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  340. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  341. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  342. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  343. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  344. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  345. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  346. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1119
  347. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  348. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  349. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  350. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  351. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  352. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -457
  353. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  354. package/contracts/components/IBaseComponent.sol +0 -19
  355. package/contracts/experiment/errors/Require.sol +0 -38
  356. package/contracts/experiment/errors/Revert.sol +0 -44
  357. package/contracts/experiment/inheritance/A.sol +0 -53
  358. package/contracts/experiment/inheritance/B.sol +0 -28
  359. package/contracts/experiment/inheritance/C.sol +0 -34
  360. package/contracts/experiment/inheritance/IA.sol +0 -13
  361. package/contracts/experiment/inheritance/IB.sol +0 -10
  362. package/contracts/experiment/inheritance/IC.sol +0 -12
  363. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  364. package/contracts/experiment/statemachine/ISM.sol +0 -25
  365. package/contracts/experiment/statemachine/SM.sol +0 -57
  366. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  367. package/contracts/experiment/types/TypeA.sol +0 -47
  368. package/contracts/experiment/types/TypeB.sol +0 -29
  369. package/contracts/instance/AccessManagedSimple.sol +0 -114
  370. package/contracts/instance/AccessManagerSimple.sol +0 -682
  371. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  372. package/contracts/instance/base/IService.sol +0 -15
  373. package/contracts/instance/base/ServiceBase.sol +0 -44
  374. package/contracts/registry/IChainNft.sol +0 -22
@@ -0,0 +1,1316 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "ClaimService",
4
+ "sourceName": "contracts/instance/service/ClaimService.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "caller",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "NftId",
48
+ "name": "policyNftId",
49
+ "type": "uint96"
50
+ },
51
+ {
52
+ "internalType": "Amount",
53
+ "name": "sumInsured",
54
+ "type": "uint96"
55
+ },
56
+ {
57
+ "internalType": "Amount",
58
+ "name": "payoutsIncludingClaimAmount",
59
+ "type": "uint96"
60
+ }
61
+ ],
62
+ "name": "ErrorClaimServiceClaimExceedsSumInsured",
63
+ "type": "error"
64
+ },
65
+ {
66
+ "inputs": [
67
+ {
68
+ "internalType": "NftId",
69
+ "name": "policyNftId",
70
+ "type": "uint96"
71
+ },
72
+ {
73
+ "internalType": "ClaimId",
74
+ "name": "claimId",
75
+ "type": "uint16"
76
+ },
77
+ {
78
+ "internalType": "StateId",
79
+ "name": "expectedState",
80
+ "type": "uint8"
81
+ },
82
+ {
83
+ "internalType": "StateId",
84
+ "name": "actualState",
85
+ "type": "uint8"
86
+ }
87
+ ],
88
+ "name": "ErrorClaimServiceClaimNotInExpectedState",
89
+ "type": "error"
90
+ },
91
+ {
92
+ "inputs": [
93
+ {
94
+ "internalType": "NftId",
95
+ "name": "policyNftId",
96
+ "type": "uint96"
97
+ },
98
+ {
99
+ "internalType": "ClaimId",
100
+ "name": "claimId",
101
+ "type": "uint16"
102
+ },
103
+ {
104
+ "internalType": "Amount",
105
+ "name": "claimAmount",
106
+ "type": "uint96"
107
+ },
108
+ {
109
+ "internalType": "Amount",
110
+ "name": "paidAmount",
111
+ "type": "uint96"
112
+ }
113
+ ],
114
+ "name": "ErrorClaimServiceClaimWithMissingPayouts",
115
+ "type": "error"
116
+ },
117
+ {
118
+ "inputs": [
119
+ {
120
+ "internalType": "NftId",
121
+ "name": "policyNftId",
122
+ "type": "uint96"
123
+ },
124
+ {
125
+ "internalType": "ClaimId",
126
+ "name": "claimId",
127
+ "type": "uint16"
128
+ },
129
+ {
130
+ "internalType": "uint8",
131
+ "name": "openPayouts",
132
+ "type": "uint8"
133
+ }
134
+ ],
135
+ "name": "ErrorClaimServiceClaimWithOpenPayouts",
136
+ "type": "error"
137
+ },
138
+ {
139
+ "inputs": [
140
+ {
141
+ "internalType": "NftId",
142
+ "name": "policyNftId",
143
+ "type": "uint96"
144
+ }
145
+ ],
146
+ "name": "ErrorClaimServicePolicyNotOpen",
147
+ "type": "error"
148
+ },
149
+ {
150
+ "inputs": [
151
+ {
152
+ "internalType": "NftId",
153
+ "name": "policyNftId",
154
+ "type": "uint96"
155
+ },
156
+ {
157
+ "internalType": "NftId",
158
+ "name": "expectedProduct",
159
+ "type": "uint96"
160
+ },
161
+ {
162
+ "internalType": "NftId",
163
+ "name": "actualProduct",
164
+ "type": "uint96"
165
+ }
166
+ ],
167
+ "name": "ErrorClaimServicePolicyProductMismatch",
168
+ "type": "error"
169
+ },
170
+ {
171
+ "inputs": [
172
+ {
173
+ "internalType": "address",
174
+ "name": "component",
175
+ "type": "address"
176
+ }
177
+ ],
178
+ "name": "ErrorComponentServiceComponentLocked",
179
+ "type": "error"
180
+ },
181
+ {
182
+ "inputs": [
183
+ {
184
+ "internalType": "address",
185
+ "name": "component",
186
+ "type": "address"
187
+ },
188
+ {
189
+ "internalType": "ObjectType",
190
+ "name": "expectedType",
191
+ "type": "uint8"
192
+ },
193
+ {
194
+ "internalType": "ObjectType",
195
+ "name": "foundType",
196
+ "type": "uint8"
197
+ }
198
+ ],
199
+ "name": "ErrorComponentServiceComponentTypeInvalid",
200
+ "type": "error"
201
+ },
202
+ {
203
+ "inputs": [
204
+ {
205
+ "internalType": "NftId",
206
+ "name": "instanceNftId",
207
+ "type": "uint96"
208
+ },
209
+ {
210
+ "internalType": "RoleId",
211
+ "name": "requiredRole",
212
+ "type": "uint64"
213
+ },
214
+ {
215
+ "internalType": "address",
216
+ "name": "sender",
217
+ "type": "address"
218
+ }
219
+ ],
220
+ "name": "ErrorComponentServiceExpectedRoleMissing",
221
+ "type": "error"
222
+ },
223
+ {
224
+ "inputs": [
225
+ {
226
+ "internalType": "address",
227
+ "name": "component",
228
+ "type": "address"
229
+ },
230
+ {
231
+ "internalType": "ObjectType",
232
+ "name": "requiredType",
233
+ "type": "uint8"
234
+ },
235
+ {
236
+ "internalType": "ObjectType",
237
+ "name": "componentType",
238
+ "type": "uint8"
239
+ }
240
+ ],
241
+ "name": "ErrorComponentServiceInvalidType",
242
+ "type": "error"
243
+ },
244
+ {
245
+ "inputs": [
246
+ {
247
+ "internalType": "address",
248
+ "name": "component",
249
+ "type": "address"
250
+ }
251
+ ],
252
+ "name": "ErrorComponentServiceNotComponent",
253
+ "type": "error"
254
+ },
255
+ {
256
+ "inputs": [
257
+ {
258
+ "internalType": "address",
259
+ "name": "component",
260
+ "type": "address"
261
+ },
262
+ {
263
+ "internalType": "address",
264
+ "name": "initialOwner",
265
+ "type": "address"
266
+ },
267
+ {
268
+ "internalType": "address",
269
+ "name": "sender",
270
+ "type": "address"
271
+ }
272
+ ],
273
+ "name": "ErrorComponentServiceSenderNotOwner",
274
+ "type": "error"
275
+ },
276
+ {
277
+ "inputs": [
278
+ {
279
+ "internalType": "address",
280
+ "name": "sender",
281
+ "type": "address"
282
+ }
283
+ ],
284
+ "name": "ErrorComponentServiceSenderNotService",
285
+ "type": "error"
286
+ },
287
+ {
288
+ "inputs": [
289
+ {
290
+ "internalType": "address",
291
+ "name": "target",
292
+ "type": "address"
293
+ }
294
+ ],
295
+ "name": "ErrorIAccessTargetLocked",
296
+ "type": "error"
297
+ },
298
+ {
299
+ "inputs": [
300
+ {
301
+ "internalType": "NftId",
302
+ "name": "nftId",
303
+ "type": "uint96"
304
+ }
305
+ ],
306
+ "name": "ErrorNftOwnableAlreadyLinked",
307
+ "type": "error"
308
+ },
309
+ {
310
+ "inputs": [
311
+ {
312
+ "internalType": "address",
313
+ "name": "contractAddress",
314
+ "type": "address"
315
+ }
316
+ ],
317
+ "name": "ErrorNftOwnableContractNotRegistered",
318
+ "type": "error"
319
+ },
320
+ {
321
+ "inputs": [],
322
+ "name": "ErrorNftOwnableInitialOwnerZero",
323
+ "type": "error"
324
+ },
325
+ {
326
+ "inputs": [
327
+ {
328
+ "internalType": "address",
329
+ "name": "account",
330
+ "type": "address"
331
+ }
332
+ ],
333
+ "name": "ErrorNftOwnableNotOwner",
334
+ "type": "error"
335
+ },
336
+ {
337
+ "inputs": [
338
+ {
339
+ "internalType": "address",
340
+ "name": "registryAddress",
341
+ "type": "address"
342
+ }
343
+ ],
344
+ "name": "ErrorNotRegistry",
345
+ "type": "error"
346
+ },
347
+ {
348
+ "inputs": [],
349
+ "name": "ErrorServiceNotImplemented",
350
+ "type": "error"
351
+ },
352
+ {
353
+ "inputs": [],
354
+ "name": "InvalidInitialization",
355
+ "type": "error"
356
+ },
357
+ {
358
+ "inputs": [],
359
+ "name": "NotInitializing",
360
+ "type": "error"
361
+ },
362
+ {
363
+ "anonymous": false,
364
+ "inputs": [
365
+ {
366
+ "indexed": false,
367
+ "internalType": "address",
368
+ "name": "authority",
369
+ "type": "address"
370
+ }
371
+ ],
372
+ "name": "AuthorityUpdated",
373
+ "type": "event"
374
+ },
375
+ {
376
+ "anonymous": false,
377
+ "inputs": [
378
+ {
379
+ "indexed": false,
380
+ "internalType": "uint64",
381
+ "name": "version",
382
+ "type": "uint64"
383
+ }
384
+ ],
385
+ "name": "Initialized",
386
+ "type": "event"
387
+ },
388
+ {
389
+ "anonymous": false,
390
+ "inputs": [
391
+ {
392
+ "indexed": false,
393
+ "internalType": "NftId",
394
+ "name": "policyNftId",
395
+ "type": "uint96"
396
+ },
397
+ {
398
+ "indexed": false,
399
+ "internalType": "ClaimId",
400
+ "name": "claimId",
401
+ "type": "uint16"
402
+ }
403
+ ],
404
+ "name": "LogClaimServiceClaimClosed",
405
+ "type": "event"
406
+ },
407
+ {
408
+ "anonymous": false,
409
+ "inputs": [
410
+ {
411
+ "indexed": false,
412
+ "internalType": "NftId",
413
+ "name": "policyNftId",
414
+ "type": "uint96"
415
+ },
416
+ {
417
+ "indexed": false,
418
+ "internalType": "ClaimId",
419
+ "name": "claimId",
420
+ "type": "uint16"
421
+ },
422
+ {
423
+ "indexed": false,
424
+ "internalType": "Amount",
425
+ "name": "confirmedAmount",
426
+ "type": "uint96"
427
+ }
428
+ ],
429
+ "name": "LogClaimServiceClaimConfirmed",
430
+ "type": "event"
431
+ },
432
+ {
433
+ "anonymous": false,
434
+ "inputs": [
435
+ {
436
+ "indexed": false,
437
+ "internalType": "NftId",
438
+ "name": "policyNftId",
439
+ "type": "uint96"
440
+ },
441
+ {
442
+ "indexed": false,
443
+ "internalType": "ClaimId",
444
+ "name": "claimId",
445
+ "type": "uint16"
446
+ }
447
+ ],
448
+ "name": "LogClaimServiceClaimDeclined",
449
+ "type": "event"
450
+ },
451
+ {
452
+ "anonymous": false,
453
+ "inputs": [
454
+ {
455
+ "indexed": false,
456
+ "internalType": "NftId",
457
+ "name": "policyNftId",
458
+ "type": "uint96"
459
+ },
460
+ {
461
+ "indexed": false,
462
+ "internalType": "ClaimId",
463
+ "name": "claimId",
464
+ "type": "uint16"
465
+ },
466
+ {
467
+ "indexed": false,
468
+ "internalType": "Amount",
469
+ "name": "claimAmount",
470
+ "type": "uint96"
471
+ }
472
+ ],
473
+ "name": "LogClaimServiceClaimSubmitted",
474
+ "type": "event"
475
+ },
476
+ {
477
+ "anonymous": false,
478
+ "inputs": [
479
+ {
480
+ "indexed": false,
481
+ "internalType": "NftId",
482
+ "name": "policyNftId",
483
+ "type": "uint96"
484
+ },
485
+ {
486
+ "indexed": false,
487
+ "internalType": "PayoutId",
488
+ "name": "payoutId",
489
+ "type": "uint24"
490
+ },
491
+ {
492
+ "indexed": false,
493
+ "internalType": "Amount",
494
+ "name": "amount",
495
+ "type": "uint96"
496
+ }
497
+ ],
498
+ "name": "LogClaimServicePayoutCreated",
499
+ "type": "event"
500
+ },
501
+ {
502
+ "anonymous": false,
503
+ "inputs": [
504
+ {
505
+ "indexed": false,
506
+ "internalType": "NftId",
507
+ "name": "policyNftId",
508
+ "type": "uint96"
509
+ },
510
+ {
511
+ "indexed": false,
512
+ "internalType": "PayoutId",
513
+ "name": "payoutId",
514
+ "type": "uint24"
515
+ },
516
+ {
517
+ "indexed": false,
518
+ "internalType": "Amount",
519
+ "name": "amount",
520
+ "type": "uint96"
521
+ }
522
+ ],
523
+ "name": "LogClaimServicePayoutProcessed",
524
+ "type": "event"
525
+ },
526
+ {
527
+ "inputs": [],
528
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
529
+ "outputs": [
530
+ {
531
+ "internalType": "bytes32",
532
+ "name": "",
533
+ "type": "bytes32"
534
+ }
535
+ ],
536
+ "stateMutability": "view",
537
+ "type": "function"
538
+ },
539
+ {
540
+ "inputs": [],
541
+ "name": "REGISTERABLE_LOCATION_V1",
542
+ "outputs": [
543
+ {
544
+ "internalType": "bytes32",
545
+ "name": "",
546
+ "type": "bytes32"
547
+ }
548
+ ],
549
+ "stateMutability": "view",
550
+ "type": "function"
551
+ },
552
+ {
553
+ "inputs": [],
554
+ "name": "authority",
555
+ "outputs": [
556
+ {
557
+ "internalType": "address",
558
+ "name": "",
559
+ "type": "address"
560
+ }
561
+ ],
562
+ "stateMutability": "view",
563
+ "type": "function"
564
+ },
565
+ {
566
+ "inputs": [
567
+ {
568
+ "internalType": "NftId",
569
+ "name": "policyNftId",
570
+ "type": "uint96"
571
+ },
572
+ {
573
+ "internalType": "ClaimId",
574
+ "name": "claimId",
575
+ "type": "uint16"
576
+ }
577
+ ],
578
+ "name": "close",
579
+ "outputs": [],
580
+ "stateMutability": "nonpayable",
581
+ "type": "function"
582
+ },
583
+ {
584
+ "inputs": [
585
+ {
586
+ "internalType": "NftId",
587
+ "name": "policyNftId",
588
+ "type": "uint96"
589
+ },
590
+ {
591
+ "internalType": "ClaimId",
592
+ "name": "claimId",
593
+ "type": "uint16"
594
+ },
595
+ {
596
+ "internalType": "Amount",
597
+ "name": "confirmedAmount",
598
+ "type": "uint96"
599
+ }
600
+ ],
601
+ "name": "confirm",
602
+ "outputs": [],
603
+ "stateMutability": "nonpayable",
604
+ "type": "function"
605
+ },
606
+ {
607
+ "inputs": [
608
+ {
609
+ "internalType": "NftId",
610
+ "name": "policyNftId",
611
+ "type": "uint96"
612
+ },
613
+ {
614
+ "internalType": "ClaimId",
615
+ "name": "claimId",
616
+ "type": "uint16"
617
+ },
618
+ {
619
+ "internalType": "Amount",
620
+ "name": "amount",
621
+ "type": "uint96"
622
+ },
623
+ {
624
+ "internalType": "bytes",
625
+ "name": "data",
626
+ "type": "bytes"
627
+ }
628
+ ],
629
+ "name": "createPayout",
630
+ "outputs": [
631
+ {
632
+ "internalType": "PayoutId",
633
+ "name": "payoutId",
634
+ "type": "uint24"
635
+ }
636
+ ],
637
+ "stateMutability": "nonpayable",
638
+ "type": "function"
639
+ },
640
+ {
641
+ "inputs": [
642
+ {
643
+ "internalType": "NftId",
644
+ "name": "policyNftId",
645
+ "type": "uint96"
646
+ },
647
+ {
648
+ "internalType": "ClaimId",
649
+ "name": "claimId",
650
+ "type": "uint16"
651
+ }
652
+ ],
653
+ "name": "decline",
654
+ "outputs": [],
655
+ "stateMutability": "nonpayable",
656
+ "type": "function"
657
+ },
658
+ {
659
+ "inputs": [],
660
+ "name": "getDomain",
661
+ "outputs": [
662
+ {
663
+ "internalType": "ObjectType",
664
+ "name": "",
665
+ "type": "uint8"
666
+ }
667
+ ],
668
+ "stateMutability": "pure",
669
+ "type": "function"
670
+ },
671
+ {
672
+ "inputs": [],
673
+ "name": "getInitialInfo",
674
+ "outputs": [
675
+ {
676
+ "components": [
677
+ {
678
+ "internalType": "NftId",
679
+ "name": "nftId",
680
+ "type": "uint96"
681
+ },
682
+ {
683
+ "internalType": "NftId",
684
+ "name": "parentNftId",
685
+ "type": "uint96"
686
+ },
687
+ {
688
+ "internalType": "ObjectType",
689
+ "name": "objectType",
690
+ "type": "uint8"
691
+ },
692
+ {
693
+ "internalType": "bool",
694
+ "name": "isInterceptor",
695
+ "type": "bool"
696
+ },
697
+ {
698
+ "internalType": "address",
699
+ "name": "objectAddress",
700
+ "type": "address"
701
+ },
702
+ {
703
+ "internalType": "address",
704
+ "name": "initialOwner",
705
+ "type": "address"
706
+ },
707
+ {
708
+ "internalType": "bytes",
709
+ "name": "data",
710
+ "type": "bytes"
711
+ }
712
+ ],
713
+ "internalType": "struct IRegistry.ObjectInfo",
714
+ "name": "info",
715
+ "type": "tuple"
716
+ }
717
+ ],
718
+ "stateMutability": "view",
719
+ "type": "function"
720
+ },
721
+ {
722
+ "inputs": [],
723
+ "name": "getInstanceService",
724
+ "outputs": [
725
+ {
726
+ "internalType": "contract InstanceService",
727
+ "name": "",
728
+ "type": "address"
729
+ }
730
+ ],
731
+ "stateMutability": "view",
732
+ "type": "function"
733
+ },
734
+ {
735
+ "inputs": [],
736
+ "name": "getNftId",
737
+ "outputs": [
738
+ {
739
+ "internalType": "NftId",
740
+ "name": "",
741
+ "type": "uint96"
742
+ }
743
+ ],
744
+ "stateMutability": "view",
745
+ "type": "function"
746
+ },
747
+ {
748
+ "inputs": [],
749
+ "name": "getOwner",
750
+ "outputs": [
751
+ {
752
+ "internalType": "address",
753
+ "name": "",
754
+ "type": "address"
755
+ }
756
+ ],
757
+ "stateMutability": "view",
758
+ "type": "function"
759
+ },
760
+ {
761
+ "inputs": [],
762
+ "name": "getRegistry",
763
+ "outputs": [
764
+ {
765
+ "internalType": "contract IRegistry",
766
+ "name": "",
767
+ "type": "address"
768
+ }
769
+ ],
770
+ "stateMutability": "view",
771
+ "type": "function"
772
+ },
773
+ {
774
+ "inputs": [],
775
+ "name": "getRegistryService",
776
+ "outputs": [
777
+ {
778
+ "internalType": "contract IRegistryService",
779
+ "name": "",
780
+ "type": "address"
781
+ }
782
+ ],
783
+ "stateMutability": "view",
784
+ "type": "function"
785
+ },
786
+ {
787
+ "inputs": [],
788
+ "name": "getVersion",
789
+ "outputs": [
790
+ {
791
+ "internalType": "Version",
792
+ "name": "",
793
+ "type": "uint24"
794
+ }
795
+ ],
796
+ "stateMutability": "pure",
797
+ "type": "function"
798
+ },
799
+ {
800
+ "inputs": [],
801
+ "name": "initializeERC165",
802
+ "outputs": [],
803
+ "stateMutability": "nonpayable",
804
+ "type": "function"
805
+ },
806
+ {
807
+ "inputs": [
808
+ {
809
+ "internalType": "address",
810
+ "name": "initialOwner",
811
+ "type": "address"
812
+ },
813
+ {
814
+ "internalType": "address",
815
+ "name": "registryAddress",
816
+ "type": "address"
817
+ }
818
+ ],
819
+ "name": "initializeNftOwnable",
820
+ "outputs": [],
821
+ "stateMutability": "nonpayable",
822
+ "type": "function"
823
+ },
824
+ {
825
+ "inputs": [
826
+ {
827
+ "internalType": "address",
828
+ "name": "registryAddress",
829
+ "type": "address"
830
+ },
831
+ {
832
+ "internalType": "NftId",
833
+ "name": "parentNftId",
834
+ "type": "uint96"
835
+ },
836
+ {
837
+ "internalType": "ObjectType",
838
+ "name": "objectType",
839
+ "type": "uint8"
840
+ },
841
+ {
842
+ "internalType": "bool",
843
+ "name": "isInterceptor",
844
+ "type": "bool"
845
+ },
846
+ {
847
+ "internalType": "address",
848
+ "name": "initialOwner",
849
+ "type": "address"
850
+ },
851
+ {
852
+ "internalType": "bytes",
853
+ "name": "registryData",
854
+ "type": "bytes"
855
+ }
856
+ ],
857
+ "name": "initializeRegisterable",
858
+ "outputs": [],
859
+ "stateMutability": "nonpayable",
860
+ "type": "function"
861
+ },
862
+ {
863
+ "inputs": [
864
+ {
865
+ "internalType": "address",
866
+ "name": "registryAddress",
867
+ "type": "address"
868
+ }
869
+ ],
870
+ "name": "initializeRegistryLinked",
871
+ "outputs": [],
872
+ "stateMutability": "nonpayable",
873
+ "type": "function"
874
+ },
875
+ {
876
+ "inputs": [
877
+ {
878
+ "internalType": "address",
879
+ "name": "registry",
880
+ "type": "address"
881
+ },
882
+ {
883
+ "internalType": "address",
884
+ "name": "authority",
885
+ "type": "address"
886
+ },
887
+ {
888
+ "internalType": "address",
889
+ "name": "initialOwner",
890
+ "type": "address"
891
+ }
892
+ ],
893
+ "name": "initializeService",
894
+ "outputs": [],
895
+ "stateMutability": "nonpayable",
896
+ "type": "function"
897
+ },
898
+ {
899
+ "inputs": [
900
+ {
901
+ "internalType": "address",
902
+ "name": "activatedBy",
903
+ "type": "address"
904
+ },
905
+ {
906
+ "internalType": "bytes",
907
+ "name": "data",
908
+ "type": "bytes"
909
+ }
910
+ ],
911
+ "name": "initializeVersionable",
912
+ "outputs": [],
913
+ "stateMutability": "nonpayable",
914
+ "type": "function"
915
+ },
916
+ {
917
+ "inputs": [],
918
+ "name": "isConsumingScheduledOp",
919
+ "outputs": [
920
+ {
921
+ "internalType": "bytes4",
922
+ "name": "",
923
+ "type": "bytes4"
924
+ }
925
+ ],
926
+ "stateMutability": "view",
927
+ "type": "function"
928
+ },
929
+ {
930
+ "inputs": [],
931
+ "name": "linkToRegisteredNftId",
932
+ "outputs": [],
933
+ "stateMutability": "nonpayable",
934
+ "type": "function"
935
+ },
936
+ {
937
+ "inputs": [
938
+ {
939
+ "internalType": "NftId",
940
+ "name": "policyNftId",
941
+ "type": "uint96"
942
+ },
943
+ {
944
+ "internalType": "PayoutId",
945
+ "name": "payoutId",
946
+ "type": "uint24"
947
+ }
948
+ ],
949
+ "name": "processPayout",
950
+ "outputs": [],
951
+ "stateMutability": "nonpayable",
952
+ "type": "function"
953
+ },
954
+ {
955
+ "inputs": [
956
+ {
957
+ "internalType": "bytes4",
958
+ "name": "interfaceId",
959
+ "type": "bytes4"
960
+ }
961
+ ],
962
+ "name": "registerInterface",
963
+ "outputs": [],
964
+ "stateMutability": "nonpayable",
965
+ "type": "function"
966
+ },
967
+ {
968
+ "inputs": [
969
+ {
970
+ "internalType": "address",
971
+ "name": "newAuthority",
972
+ "type": "address"
973
+ }
974
+ ],
975
+ "name": "setAuthority",
976
+ "outputs": [],
977
+ "stateMutability": "nonpayable",
978
+ "type": "function"
979
+ },
980
+ {
981
+ "inputs": [
982
+ {
983
+ "internalType": "NftId",
984
+ "name": "policyNftId",
985
+ "type": "uint96"
986
+ },
987
+ {
988
+ "internalType": "Amount",
989
+ "name": "claimAmount",
990
+ "type": "uint96"
991
+ },
992
+ {
993
+ "internalType": "bytes",
994
+ "name": "claimData",
995
+ "type": "bytes"
996
+ }
997
+ ],
998
+ "name": "submit",
999
+ "outputs": [
1000
+ {
1001
+ "internalType": "ClaimId",
1002
+ "name": "claimId",
1003
+ "type": "uint16"
1004
+ }
1005
+ ],
1006
+ "stateMutability": "nonpayable",
1007
+ "type": "function"
1008
+ },
1009
+ {
1010
+ "inputs": [
1011
+ {
1012
+ "internalType": "bytes4",
1013
+ "name": "interfaceId",
1014
+ "type": "bytes4"
1015
+ }
1016
+ ],
1017
+ "name": "supportsInterface",
1018
+ "outputs": [
1019
+ {
1020
+ "internalType": "bool",
1021
+ "name": "",
1022
+ "type": "bool"
1023
+ }
1024
+ ],
1025
+ "stateMutability": "view",
1026
+ "type": "function"
1027
+ },
1028
+ {
1029
+ "inputs": [
1030
+ {
1031
+ "internalType": "bytes",
1032
+ "name": "data",
1033
+ "type": "bytes"
1034
+ }
1035
+ ],
1036
+ "name": "upgradeVersionable",
1037
+ "outputs": [],
1038
+ "stateMutability": "nonpayable",
1039
+ "type": "function"
1040
+ }
1041
+ ],
1042
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6140d280620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c80635dbf2c8d116101045780638fb36037116100a2578063bf7e214f11610071578063bf7e214f14610432578063caf4e3d414610450578063cc9fc59a14610458578063f7c34ee01461046057600080fd5b80638fb36037146103da5780639441a993146103fb578063ada9652e1461040e578063b68d18091461042357600080fd5b806374b775eb116100de57806374b775eb146103865780637a9e5e4b146103ac578063893d20e8146103bf5780638e32e979146103c757600080fd5b80635dbf2c8d14610338578063644c45e01461034b578063675393bf1461037357600080fd5b806327c054b71161017157806338c438811161014b57806338c43881146102da5780633c53258e146102ed57806349bb9e4b146103005780635ab1bd531461031357600080fd5b806327c054b7146102ac578063329d6e74146102bf57806336fc697e146102d257600080fd5b8063138461e0116101ad578063138461e0146102475780631eff4b2214610251578063214cdb801461028657806327bb7a331461029957600080fd5b806301ffc9a7146101d45780630d8e6e2c146102165780630fec111c14610232575b600080fd5b6102016101e2366004613077565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61021e610473565b60405162ffffff909116815260200161020d565b61023a6104fd565b60405161020d91906130f8565b61024f610654565b005b6102787f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161020d565b61024f610294366004613077565b61085b565b61024f6102a73660046132fa565b610888565b61024f6102ba3660046133a3565b61092d565b61024f6102cd3660046133dc565b610a19565b61024f610b66565b61024f6102e8366004613420565b610bac565b61021e6102fb36600461346b565b610d87565b61024f61030e3660046134df565b6112b2565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161020d565b61024f61034636600461352e565b6113ac565b60008051602061403d833981519152546040516001600160601b03909116815260200161020d565b61024f61038136600461355c565b611714565b610399610394366004613579565b611822565b60405161ffff909116815260200161020d565b61024f6103ba36600461355c565b611fa9565b610320612043565b61024f6103d53660046135da565b61217a565b6103e26123b3565b6040516001600160e01b0319909116815260200161020d565b61024f61040936600461352e565b6123eb565b61027860008051602061403d83398151915281565b60405160d4815260200161020d565b60008051602061405d833981519152546001600160a01b0316610320565b6103206125b0565b6103206125bc565b61024f61046e36600461361a565b6125c8565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156104d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f89190613648565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526040805160e081019091527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300908060006001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016105b0612043565b6001600160a01b031681526020018260010180546105cd90613665565b80601f01602080910402602001604051908101604052809291908181526020018280546105f990613665565b80156106465780601f1061061b57610100808354040283529160200191610646565b820191906000526020600020905b81548152906001019060200180831161062957829003601f168201915b505050505081525091505090565b600060008051602061403d83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156106c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106e791906136af565b156107185780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b3061072b6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610773573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061079791906136af565b6107bf5760405163b9304b0d60e01b81526001600160a01b038216600482015260240161070f565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610813573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061083791906136d7565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b61086361263f565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61089061263f565b61089a82876125c8565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016109238382613742565b5050505050505050565b600080600061093b85612678565b604051632620eecb60e11b8152600060048201819052939650919450925073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__90634c41dd9690602401602060405180830381865af4158015610995573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109b991906136d7565b90506000604080516001600160601b03808a16825262ffffff891660208301528416918101919091527f62468c32c664b3184ea9711f2e07e505fc8fcfdee909a613f2c420559f703b79906060015b60405180910390a150505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610a3b610473565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610a7b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a9f91906139f4565b60008051602061407d8339815191528054600160401b900460ff1680610ad2575080546001600160401b03808416911610155b15610af05760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610b1a83612846565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610b6e61263f565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000806000610bba86612678565b9250925092506000610bd5838888610bd0603290565b61284e565b6001600160601b03861681526040516314f31fb160e11b81529091506001600160a01b038516906329e63f6290610c17908a908a908690603390600401613a88565b600060405180830381600087803b158015610c3157600080fd5b505af1158015610c45573d6000803e3d6000fd5b5050505061018082015160405163274acb3560e01b81526001600160601b039182166004820152908616602482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063274acb3590604401602060405180830381865af4158015610cb0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd491906136d7565b506040516301829df160e71b81526001600160a01b0385169063c14ef88090610d06908a90869060ff90600401613839565b600060405180830381600087803b158015610d2057600080fd5b505af1158015610d34573d6000803e3d6000fd5b5050604080516001600160601b03808c16825261ffff8b1660208301528916918101919091527fccd5503b328e5b54e15c01d8de50b60e170834460b94faf05be56b4b25a1a14092506060019050610a08565b600080600080610d9688612678565b60405163a7ef3d2160e01b81526001600160601b038c16600482015261ffff8b16602482015292955090935091506000906001600160a01b0384169063a7ef3d2190604401600060405180830381865afa158015610df8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e209190810190613b36565b60405163078ae93560e41b81526001600160601b038b16600482015261ffff8a1660248201529091506000906001600160a01b038516906378ae935090604401602060405180830381865afa158015610e7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea19190613bfd565b9050600082604001516001610eb69190613c1a565b60405163d5b5ee5d60e01b815261ffff8c16600482015260ff8216602482015290915073__$e1d43d4fb5c0494c5b7331f52c1ee41012$__9063d5b5ee5d90604401602060405180830381865af4158015610f15573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f399190613648565b604080516080810191829052636f2f88d160e11b90915262ffffff821660848201529097506001600160a01b038716906381c2b282908d908a908073__$e1d43d4fb5c0494c5b7331f52c1ee41012$__63de5f11a260a48301602060405180830381865af4158015610faf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd39190613c3e565b61ffff1681526020018e6001600160601b031681526020018d815260200173__$d53880c81dc91c20799140d711e5ab8718$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561103a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061105e9190613c5b565b64ffffffffff168152506040518463ffffffff1660e01b815260040161108693929190613c78565b600060405180830381600087803b1580156110a057600080fd5b505af11580156110b4573d6000803e3d6000fd5b505050506001836040018181516110cb9190613c1a565b60ff16905250606083018051600191906110e6908390613c1a565b60ff169052506001600160a01b0386166329e63f628c8c8661110660ff90565b6040518563ffffffff1660e01b81526004016111259493929190613a88565b600060405180830381600087803b15801561113f57600080fd5b505af1158015611153573d6000803e3d6000fd5b505050506101a084015160405163274acb3560e01b81526001600160601b039182166004820152908a16602482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063274acb3590604401602060405180830381865af41580156111be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e291906136d7565b506040516301829df160e71b81526001600160a01b0387169063c14ef88090611214908e90889060ff90600401613839565b600060405180830381600087803b15801561122e57600080fd5b505af1158015611242573d6000803e3d6000fd5b505050507fb5856e4c56d591cac27a46c8f3f1a71928ac5d7488bd2037022030f04100118f8b888b60405161129c939291906001600160601b03938416815262ffffff929092166020830152909116604082015260600190565b60405180910390a1505050505050949350505050565b60008051602061407d8339815191528054600160401b810460ff1615906001600160401b03166000811580156112e55750825b90506000826001600160401b031660011480156113015750303b155b90508115801561130f575080155b1561132d5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561135757845460ff60401b1916600160401b1785555b61136187876129d4565b83156113a357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610a08565b50505050505050565b60008060006113ba85612678565b92509250925060006113d0838787610bd0603390565b606081015190915060ff161561141d576060810151604051632f1a047f60e11b81526001600160601b038816600482015261ffff8716602482015260ff909116604482015260640161070f565b805160405163046e44af60e11b81526001600160601b03909116600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906308dc895e90602401602060405180830381865af4158015611478573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061149c9190613ce9565b602082015160405163046e44af60e11b81526001600160601b03909116600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906308dc895e90602401602060405180830381865af41580156114fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061151e9190613ce9565b10156115695780516020820151604051633c781b2760e11b81526001600160601b03808a16600483015261ffff8916602483015292831660448201529116606482015260840161070f565b73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156115b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115d69190613c5b565b64ffffffffff1660a08201526040516314f31fb160e11b81526001600160a01b038516906329e63f62906116159089908990869060c890600401613a88565b600060405180830381600087803b15801561162f57600080fd5b505af1158015611643573d6000803e3d6000fd5b505050506001826101600181815161165b9190613817565b61ffff169052506040516301829df160e71b81526001600160a01b0385169063c14ef88090611693908990869060ff90600401613839565b600060405180830381600087803b1580156116ad57600080fd5b505af11580156116c1573d6000803e3d6000fd5b5050604080516001600160601b038a16815261ffff891660208201527fbf0c704f754f874966c71f1a8344ebb5b970ec98ec62b868362834b75779ec3e93500190505b60405180910390a1505050505050565b61171c61263f565b806001600160a01b03163b6000036117525760405163fdeac91f60e01b81526001600160a01b038216600482015260240161070f565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa9250505080156117cc575060408051601f3d908101601f191682019092526117c9918101906136af565b60015b6117f45760405163fdeac91f60e01b81526001600160a01b038216600482015260240161070f565b8061181d5760405163fdeac91f60e01b81526001600160a01b038316600482015260240161070f565b505b50565b60008060008061183187612678565b6101c081015160405163790a38ad60e01b815264ffffffffff9091166004820152929550909350915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015611896573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118ba91906136af565b8061193b575061193b73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561190c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119309190613c5b565b826101e00151612c12565b1561196457604051631abadea960e01b81526001600160601b038816600482015260240161070f565b608081015160405163046e44af60e11b81526001600160601b038816600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906308dc895e90602401602060405180830381865af41580156119c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119e59190613ce9565b6101a083015160405163046e44af60e11b81526001600160601b03909116600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906308dc895e90602401602060405180830381865af4158015611a44573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a689190613ce9565b611a729190613d02565b1115611c9e576080810151604051632620eecb60e11b8152889173__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__91634c41dd9691611ab89160040190815260200190565b602060405180830381865af4158015611ad5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611af991906136d7565b60405163046e44af60e11b81526001600160601b038916600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__90634c41dd969082906308dc895e90602401602060405180830381865af4158015611b59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b7d9190613ce9565b6101a086015160405163046e44af60e11b81526001600160601b03909116600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906308dc895e90602401602060405180830381865af4158015611bdc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c009190613ce9565b611c0a9190613d02565b6040518263ffffffff1660e01b8152600401611c2891815260200190565b602060405180830381865af4158015611c45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c6991906136d7565b604051631acfc80160e21b81526001600160601b0393841660048201529183166024830152909116604482015260640161070f565b73__$0e0c503522f35343ef1955427c5075b143$__639cc45a368261014001516001611cca9190613d15565b6040516001600160e01b031960e084901b16815261ffff9091166004820152602401602060405180830381865af4158015611d09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d2d9190613c3e565b9350826001600160a01b031663a1ef60e988866040518060c001604052808b6001600160601b0316815260200173__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611da3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dc791906136d7565b6001600160601b03168152602001600060ff168152602001600060ff1681526020018a815260200173__$d53880c81dc91c20799140d711e5ab8718$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611e38573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e5c9190613c5b565b64ffffffffff168152506040518463ffffffff1660e01b8152600401611e8493929190613d30565b600060405180830381600087803b158015611e9e57600080fd5b505af1158015611eb2573d6000803e3d6000fd5b5050505060018161014001818151611eca9190613d15565b61ffff169052506101608101805160019190611ee7908390613d15565b61ffff169052506040516301829df160e71b81526001600160a01b0384169063c14ef88090611f1f908a90859060ff90600401613839565b600060405180830381600087803b158015611f3957600080fd5b505af1158015611f4d573d6000803e3d6000fd5b5050604080516001600160601b038b8116825261ffff891660208301528a168183015290517fcbffe0c4cf4814bd79bac10830275e65911ae7d71347b96c61fa8e4635423ba49350908190036060019150a15050509392505050565b33611fc960008051602061405d833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b0316146120045760405162d1953b60e31b81526001600160a01b038216600482015260240161070f565b816001600160a01b03163b60000361203a576040516361798f2f60e11b81526001600160a01b038316600482015260240161070f565b61181d82612c27565b60008060008051602061403d83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156120b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120d791906136af565b15612164576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561213a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061215e9190613d70565b91505090565b54600160601b90046001600160a01b0316919050565b61218261263f565b61220283846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156121c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121e891906136d7565b603c60008560405180602001604052806000815250610888565b6001600160a01b0382161561221f5761221a82612c88565b61238e565b60006122336001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015612293573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122b79190613bfd565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156122fc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123209190613d70565b905061238c816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612363573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123879190613d70565b612c88565b505b61239e634a531f3360e01b61085b565b6123ae63b68d180960e01b61085b565b505050565b60008051602061405d833981519152805460009190600160a01b900460ff166123dd57600061215e565b638fb3603760e01b91505090565b60008060006123f985612678565b925092509250600061240f838787610bd0603290565b905073__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561245a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061247e9190613c5b565b64ffffffffff1660a08201526040516314f31fb160e11b81526001600160a01b038516906329e63f62906124bd90899089908690601e90600401613a88565b600060405180830381600087803b1580156124d757600080fd5b505af11580156124eb573d6000803e3d6000fd5b50505050600182610160018181516125039190613817565b61ffff169052506040516301829df160e71b81526001600160a01b0385169063c14ef8809061253b908990869060ff90600401613839565b600060405180830381600087803b15801561255557600080fd5b505af1158015612569573d6000803e3d6000fd5b5050604080516001600160601b038a16815261ffff891660208201527f835aca3a92b79a82038b38ef30bc398955a23c24b64db0183839129d0772a4fb9350019050611704565b60006104f86028612c99565b60006104f86046612c99565b6125d061263f565b6125d981611714565b6125e1610b66565b6001600160a01b0382166126085760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061403d83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b60008051602061407d83398151915254600160401b900460ff1661267657604051631afcd79f60e31b815260040160405180910390fd5b565b604080516102208101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101829052610200810182905281908161270c606e612da6565b90508095508192505050836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612754573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127789190613d70565b60405163bd7d9d8560e01b81526001600160601b03871660048201529093506001600160a01b0384169063bd7d9d8590602401600060405180830381865afa1580156127c8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526127f09190810190613da5565b80519092506001600160601b0382811691161461283e57815160405163169efc1d60e11b81526001600160601b0380881660048301529182166024820152908216604482015260640161070f565b509193909250565b6101cf61263f565b6040805160c0810182526000808252602082018190529181018290526060808201839052608082015260a081019190915260405163078ae93560e41b81526001600160601b038516600482015261ffff841660248201526000906001600160a01b038716906378ae935090604401602060405180830381865afa1580156128d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128fd9190613bfd565b905060ff8082169084161461294b576040516398b9e22f60e01b81526001600160601b038616600482015261ffff8516602482015260ff80851660448301528216606482015260840161070f565b60405163a7ef3d2160e01b81526001600160601b038616600482015261ffff851660248201526001600160a01b0387169063a7ef3d2190604401600060405180830381865afa1580156129a2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526129ca9190810190613b36565b9695505050505050565b60008051602061407d8339815191528054600160401b810460ff1615906001600160401b0316600081158015612a075750825b90506000826001600160401b03166001148015612a235750303b155b905081158015612a31575080155b15612a4f5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315612a7957845460ff60401b1916600160401b1785555b60008087806020019051810190612a909190613f3b565b9092509050612aa18260008b61217a565b6001546001600160a01b031663d39e6043608c612abc610473565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015612b11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b359190613bfd565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612b7a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b9e9190613d70565b600280546001600160a01b0319166001600160a01b0392909216919091179055612bce639e1eb94d60e01b61085b565b505083156113a357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610a08565b64ffffffffff80821690831610155b92915050565b60008051602061405d83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b612c9061263f565b61181f81612fd1565b6000612cad6001546001600160a01b031690565b6001600160a01b031663d39e604383612cc4610473565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015612d19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d3d9190613bfd565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612d82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c219190613d70565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152600080612df26001546001600160a01b031690565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa158015612e39573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612e619190810190613f6a565b9250612e7883604001518660ff9081169116141590565b15612ebc57608083015160408085015190516304081d4960e41b81526001600160a01b03909216600483015260ff808816602484015216604482015260640161070f565b82600001519350612ed08360200151612fe2565b9150816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015612f10573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f349190613d70565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015612f7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fa291906136af565b1561283e57608083015160405163d53987e560e01b81526001600160a01b03909116600482015260240161070f565b612fd961263f565b61181f81612c27565b6000612ff66001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613045573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261306d9190810190613f6a565b6080015192915050565b60006020828403121561308957600080fd5b81356001600160e01b0319811681146130a157600080fd5b9392505050565b60005b838110156130c35781810151838201526020016130ab565b50506000910152565b600081518084526130e48160208601602086016130a8565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161316160c08401826001600160a01b03169052565b5060c083015160e08084015261317b6101008401826130cc565b949350505050565b6001600160a01b038116811461181f57600080fd5b6001600160601b038116811461181f57600080fd5b60ff8116811461181f57600080fd5b801515811461181f57600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b0381118282101715613202576132026131ca565b60405290565b60405161022081016001600160401b0381118282101715613202576132026131ca565b60405160e081016001600160401b0381118282101715613202576132026131ca565b604051601f8201601f191681016001600160401b0381118282101715613275576132756131ca565b604052919050565b60006001600160401b03821115613296576132966131ca565b50601f01601f191660200190565b600082601f8301126132b557600080fd5b81356132c86132c38261327d565b61324d565b8181528460208386010111156132dd57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c0878903121561331357600080fd5b863561331e81613183565b9550602087013561332e81613198565b9450604087013561333e816131ad565b9350606087013561334e816131bc565b9250608087013561335e81613183565b915060a08701356001600160401b0381111561337957600080fd5b61338589828a016132a4565b9150509295509295509295565b62ffffff8116811461181f57600080fd5b600080604083850312156133b657600080fd5b82356133c181613198565b915060208301356133d181613392565b809150509250929050565b6000602082840312156133ee57600080fd5b81356001600160401b0381111561340457600080fd5b61317b848285016132a4565b61ffff8116811461181f57600080fd5b60008060006060848603121561343557600080fd5b833561344081613198565b9250602084013561345081613410565b9150604084013561346081613198565b809150509250925092565b6000806000806080858703121561348157600080fd5b843561348c81613198565b9350602085013561349c81613410565b925060408501356134ac81613198565b915060608501356001600160401b038111156134c757600080fd5b6134d3878288016132a4565b91505092959194509250565b600080604083850312156134f257600080fd5b82356134fd81613183565b915060208301356001600160401b0381111561351857600080fd5b613524858286016132a4565b9150509250929050565b6000806040838503121561354157600080fd5b823561354c81613198565b915060208301356133d181613410565b60006020828403121561356e57600080fd5b81356130a181613183565b60008060006060848603121561358e57600080fd5b833561359981613198565b925060208401356135a981613198565b915060408401356001600160401b038111156135c457600080fd5b6135d0868287016132a4565b9150509250925092565b6000806000606084860312156135ef57600080fd5b83356135fa81613183565b9250602084013561360a81613183565b9150604084013561346081613183565b6000806040838503121561362d57600080fd5b823561363881613183565b915060208301356133d181613183565b60006020828403121561365a57600080fd5b81516130a181613392565b600181811c9082168061367957607f821691505b60208210810361369957634e487b7160e01b600052602260045260246000fd5b50919050565b80516136aa816131bc565b919050565b6000602082840312156136c157600080fd5b81516130a1816131bc565b80516136aa81613198565b6000602082840312156136e957600080fd5b81516130a181613198565b601f8211156123ae57600081815260208120601f850160051c8101602086101561371b5750805b601f850160051c820191505b8181101561373a57828155600101613727565b505050505050565b81516001600160401b0381111561375b5761375b6131ca565b61376f816137698454613665565b846136f4565b602080601f8311600181146137a4576000841561378c5750858301515b600019600386901b1c1916600185901b17855561373a565b600085815260208120601f198616915b828110156137d3578886015182559484019460019091019084016137b4565b50858210156137f15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b61ffff82811682821603908082111561383257613832613801565b5092915050565b6001600160601b0384168152606060208201526138626060820184516001600160601b03169052565b6000602084015161387e60808401826001600160601b03169052565b5060408401516001600160c01b0319811660a08401525060608401516001600160c01b0319811660c084015250608084015160e083015260a0840151610100818185015260c08601519150610120828186015260e087015192506101406138ed8187018564ffffffffff169052565b8288015193506102209250610160838188015261390e6102808801866130cc565b9450828901519250610180605f19888703018189015261392e86856130cc565b9550828a015193506101a0925061394a8389018561ffff169052565b9089015192506101c0906139638883018561ffff169052565b89015192506101e061397f888201856001600160601b03169052565b9189015192506102009161399d888401856001600160601b03169052565b8982015164ffffffffff811689870152935089015164ffffffffff811661024089015293506139c99050565b87015164ffffffffff811661026087015291506139e39050565b5060ff84166040840152905061317b565b600060208284031215613a0657600080fd5b81516001600160401b03811681146130a157600080fd5b60006001600160601b038083511684528060208401511660208501525060ff604083015116604084015260ff6060830151166060840152608082015160c06080850152613a6d60c08501826130cc565b60a09384015164ffffffffff16949093019390935250919050565b6001600160601b038516815261ffff84166020820152608060408201526000613ab46080830185613a1d565b905060ff8316606083015295945050505050565b80516136aa816131ad565b600082601f830112613ae457600080fd5b8151613af26132c38261327d565b818152846020838601011115613b0757600080fd5b61317b8260208301602087016130a8565b64ffffffffff8116811461181f57600080fd5b80516136aa81613b18565b600060208284031215613b4857600080fd5b81516001600160401b0380821115613b5f57600080fd5b9083019060c08286031215613b7357600080fd5b613b7b6131e0565b8251613b8681613198565b81526020830151613b9681613198565b60208201526040830151613ba9816131ad565b6040820152613bba60608401613ac8565b6060820152608083015182811115613bd157600080fd5b613bdd87828601613ad3565b608083015250613bef60a08401613b2b565b60a082015295945050505050565b600060208284031215613c0f57600080fd5b81516130a1816131ad565b60ff8181168382160190811115612c2157612c21613801565b80516136aa81613410565b600060208284031215613c5057600080fd5b81516130a181613410565b600060208284031215613c6d57600080fd5b81516130a181613b18565b60006001600160601b03808616835262ffffff851660208401526060604084015261ffff8451166060840152806020850151166080840152506040830151608060a0840152613cca60e08401826130cc565b905064ffffffffff60608501511660c084015280915050949350505050565b600060208284031215613cfb57600080fd5b5051919050565b80820180821115612c2157612c21613801565b61ffff81811683821601908082111561383257613832613801565b6001600160601b038416815261ffff83166020820152606060408201526000613d5c6060830184613a1d565b95945050505050565b80516136aa81613183565b600060208284031215613d8257600080fd5b81516130a181613183565b80516001600160c01b0319811681146136aa57600080fd5b600060208284031215613db757600080fd5b81516001600160401b0380821115613dce57600080fd5b908301906102208286031215613de357600080fd5b613deb613208565b613df4836136cc565b8152613e02602084016136cc565b6020820152613e1360408401613d8d565b6040820152613e2460608401613d8d565b60608201526080830151608082015260a083015160a082015260c083015160c0820152613e5360e08401613b2b565b60e08201526101008084015183811115613e6c57600080fd5b613e7888828701613ad3565b8284015250506101208084015183811115613e9257600080fd5b613e9e88828701613ad3565b8284015250506101409150613eb4828401613c33565b828201526101609150613ec8828401613c33565b828201526101809150613edc8284016136cc565b828201526101a09150613ef08284016136cc565b828201526101c09150613f04828401613b2b565b828201526101e09150613f18828401613b2b565b828201526102009150613f2c828401613b2b565b91810191909152949350505050565b60008060408385031215613f4e57600080fd5b8251613f5981613183565b60208401519092506133d181613183565b600060208284031215613f7c57600080fd5b81516001600160401b0380821115613f9357600080fd5b9083019060e08286031215613fa757600080fd5b613faf61322b565b613fb8836136cc565b8152613fc6602084016136cc565b6020820152613fd760408401613ac8565b6040820152613fe86060840161369f565b6060820152613ff960808401613d65565b608082015261400a60a08401613d65565b60a082015260c08301518281111561402157600080fd5b61402d87828601613ad3565b60c0830152509594505050505056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212200f219554325e7e3e501c6e1a63548d2c784f83132a56b04caf6226d883331e4e64736f6c63430008140033",
1043
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c80635dbf2c8d116101045780638fb36037116100a2578063bf7e214f11610071578063bf7e214f14610432578063caf4e3d414610450578063cc9fc59a14610458578063f7c34ee01461046057600080fd5b80638fb36037146103da5780639441a993146103fb578063ada9652e1461040e578063b68d18091461042357600080fd5b806374b775eb116100de57806374b775eb146103865780637a9e5e4b146103ac578063893d20e8146103bf5780638e32e979146103c757600080fd5b80635dbf2c8d14610338578063644c45e01461034b578063675393bf1461037357600080fd5b806327c054b71161017157806338c438811161014b57806338c43881146102da5780633c53258e146102ed57806349bb9e4b146103005780635ab1bd531461031357600080fd5b806327c054b7146102ac578063329d6e74146102bf57806336fc697e146102d257600080fd5b8063138461e0116101ad578063138461e0146102475780631eff4b2214610251578063214cdb801461028657806327bb7a331461029957600080fd5b806301ffc9a7146101d45780630d8e6e2c146102165780630fec111c14610232575b600080fd5b6102016101e2366004613077565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61021e610473565b60405162ffffff909116815260200161020d565b61023a6104fd565b60405161020d91906130f8565b61024f610654565b005b6102787f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161020d565b61024f610294366004613077565b61085b565b61024f6102a73660046132fa565b610888565b61024f6102ba3660046133a3565b61092d565b61024f6102cd3660046133dc565b610a19565b61024f610b66565b61024f6102e8366004613420565b610bac565b61021e6102fb36600461346b565b610d87565b61024f61030e3660046134df565b6112b2565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161020d565b61024f61034636600461352e565b6113ac565b60008051602061403d833981519152546040516001600160601b03909116815260200161020d565b61024f61038136600461355c565b611714565b610399610394366004613579565b611822565b60405161ffff909116815260200161020d565b61024f6103ba36600461355c565b611fa9565b610320612043565b61024f6103d53660046135da565b61217a565b6103e26123b3565b6040516001600160e01b0319909116815260200161020d565b61024f61040936600461352e565b6123eb565b61027860008051602061403d83398151915281565b60405160d4815260200161020d565b60008051602061405d833981519152546001600160a01b0316610320565b6103206125b0565b6103206125bc565b61024f61046e36600461361a565b6125c8565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156104d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f89190613648565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526040805160e081019091527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300908060006001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016105b0612043565b6001600160a01b031681526020018260010180546105cd90613665565b80601f01602080910402602001604051908101604052809291908181526020018280546105f990613665565b80156106465780601f1061061b57610100808354040283529160200191610646565b820191906000526020600020905b81548152906001019060200180831161062957829003601f168201915b505050505081525091505090565b600060008051602061403d83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156106c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106e791906136af565b156107185780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b3061072b6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610773573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061079791906136af565b6107bf5760405163b9304b0d60e01b81526001600160a01b038216600482015260240161070f565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610813573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061083791906136d7565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b61086361263f565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61089061263f565b61089a82876125c8565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016109238382613742565b5050505050505050565b600080600061093b85612678565b604051632620eecb60e11b8152600060048201819052939650919450925073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__90634c41dd9690602401602060405180830381865af4158015610995573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109b991906136d7565b90506000604080516001600160601b03808a16825262ffffff891660208301528416918101919091527f62468c32c664b3184ea9711f2e07e505fc8fcfdee909a613f2c420559f703b79906060015b60405180910390a150505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610a3b610473565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610a7b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a9f91906139f4565b60008051602061407d8339815191528054600160401b900460ff1680610ad2575080546001600160401b03808416911610155b15610af05760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610b1a83612846565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610b6e61263f565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000806000610bba86612678565b9250925092506000610bd5838888610bd0603290565b61284e565b6001600160601b03861681526040516314f31fb160e11b81529091506001600160a01b038516906329e63f6290610c17908a908a908690603390600401613a88565b600060405180830381600087803b158015610c3157600080fd5b505af1158015610c45573d6000803e3d6000fd5b5050505061018082015160405163274acb3560e01b81526001600160601b039182166004820152908616602482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063274acb3590604401602060405180830381865af4158015610cb0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd491906136d7565b506040516301829df160e71b81526001600160a01b0385169063c14ef88090610d06908a90869060ff90600401613839565b600060405180830381600087803b158015610d2057600080fd5b505af1158015610d34573d6000803e3d6000fd5b5050604080516001600160601b03808c16825261ffff8b1660208301528916918101919091527fccd5503b328e5b54e15c01d8de50b60e170834460b94faf05be56b4b25a1a14092506060019050610a08565b600080600080610d9688612678565b60405163a7ef3d2160e01b81526001600160601b038c16600482015261ffff8b16602482015292955090935091506000906001600160a01b0384169063a7ef3d2190604401600060405180830381865afa158015610df8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e209190810190613b36565b60405163078ae93560e41b81526001600160601b038b16600482015261ffff8a1660248201529091506000906001600160a01b038516906378ae935090604401602060405180830381865afa158015610e7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea19190613bfd565b9050600082604001516001610eb69190613c1a565b60405163d5b5ee5d60e01b815261ffff8c16600482015260ff8216602482015290915073__$e1d43d4fb5c0494c5b7331f52c1ee41012$__9063d5b5ee5d90604401602060405180830381865af4158015610f15573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f399190613648565b604080516080810191829052636f2f88d160e11b90915262ffffff821660848201529097506001600160a01b038716906381c2b282908d908a908073__$e1d43d4fb5c0494c5b7331f52c1ee41012$__63de5f11a260a48301602060405180830381865af4158015610faf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd39190613c3e565b61ffff1681526020018e6001600160601b031681526020018d815260200173__$d53880c81dc91c20799140d711e5ab8718$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561103a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061105e9190613c5b565b64ffffffffff168152506040518463ffffffff1660e01b815260040161108693929190613c78565b600060405180830381600087803b1580156110a057600080fd5b505af11580156110b4573d6000803e3d6000fd5b505050506001836040018181516110cb9190613c1a565b60ff16905250606083018051600191906110e6908390613c1a565b60ff169052506001600160a01b0386166329e63f628c8c8661110660ff90565b6040518563ffffffff1660e01b81526004016111259493929190613a88565b600060405180830381600087803b15801561113f57600080fd5b505af1158015611153573d6000803e3d6000fd5b505050506101a084015160405163274acb3560e01b81526001600160601b039182166004820152908a16602482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063274acb3590604401602060405180830381865af41580156111be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e291906136d7565b506040516301829df160e71b81526001600160a01b0387169063c14ef88090611214908e90889060ff90600401613839565b600060405180830381600087803b15801561122e57600080fd5b505af1158015611242573d6000803e3d6000fd5b505050507fb5856e4c56d591cac27a46c8f3f1a71928ac5d7488bd2037022030f04100118f8b888b60405161129c939291906001600160601b03938416815262ffffff929092166020830152909116604082015260600190565b60405180910390a1505050505050949350505050565b60008051602061407d8339815191528054600160401b810460ff1615906001600160401b03166000811580156112e55750825b90506000826001600160401b031660011480156113015750303b155b90508115801561130f575080155b1561132d5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561135757845460ff60401b1916600160401b1785555b61136187876129d4565b83156113a357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610a08565b50505050505050565b60008060006113ba85612678565b92509250925060006113d0838787610bd0603390565b606081015190915060ff161561141d576060810151604051632f1a047f60e11b81526001600160601b038816600482015261ffff8716602482015260ff909116604482015260640161070f565b805160405163046e44af60e11b81526001600160601b03909116600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906308dc895e90602401602060405180830381865af4158015611478573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061149c9190613ce9565b602082015160405163046e44af60e11b81526001600160601b03909116600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906308dc895e90602401602060405180830381865af41580156114fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061151e9190613ce9565b10156115695780516020820151604051633c781b2760e11b81526001600160601b03808a16600483015261ffff8916602483015292831660448201529116606482015260840161070f565b73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156115b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115d69190613c5b565b64ffffffffff1660a08201526040516314f31fb160e11b81526001600160a01b038516906329e63f62906116159089908990869060c890600401613a88565b600060405180830381600087803b15801561162f57600080fd5b505af1158015611643573d6000803e3d6000fd5b505050506001826101600181815161165b9190613817565b61ffff169052506040516301829df160e71b81526001600160a01b0385169063c14ef88090611693908990869060ff90600401613839565b600060405180830381600087803b1580156116ad57600080fd5b505af11580156116c1573d6000803e3d6000fd5b5050604080516001600160601b038a16815261ffff891660208201527fbf0c704f754f874966c71f1a8344ebb5b970ec98ec62b868362834b75779ec3e93500190505b60405180910390a1505050505050565b61171c61263f565b806001600160a01b03163b6000036117525760405163fdeac91f60e01b81526001600160a01b038216600482015260240161070f565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa9250505080156117cc575060408051601f3d908101601f191682019092526117c9918101906136af565b60015b6117f45760405163fdeac91f60e01b81526001600160a01b038216600482015260240161070f565b8061181d5760405163fdeac91f60e01b81526001600160a01b038316600482015260240161070f565b505b50565b60008060008061183187612678565b6101c081015160405163790a38ad60e01b815264ffffffffff9091166004820152929550909350915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015611896573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118ba91906136af565b8061193b575061193b73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561190c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119309190613c5b565b826101e00151612c12565b1561196457604051631abadea960e01b81526001600160601b038816600482015260240161070f565b608081015160405163046e44af60e11b81526001600160601b038816600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906308dc895e90602401602060405180830381865af41580156119c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119e59190613ce9565b6101a083015160405163046e44af60e11b81526001600160601b03909116600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906308dc895e90602401602060405180830381865af4158015611a44573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a689190613ce9565b611a729190613d02565b1115611c9e576080810151604051632620eecb60e11b8152889173__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__91634c41dd9691611ab89160040190815260200190565b602060405180830381865af4158015611ad5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611af991906136d7565b60405163046e44af60e11b81526001600160601b038916600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__90634c41dd969082906308dc895e90602401602060405180830381865af4158015611b59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b7d9190613ce9565b6101a086015160405163046e44af60e11b81526001600160601b03909116600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906308dc895e90602401602060405180830381865af4158015611bdc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c009190613ce9565b611c0a9190613d02565b6040518263ffffffff1660e01b8152600401611c2891815260200190565b602060405180830381865af4158015611c45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c6991906136d7565b604051631acfc80160e21b81526001600160601b0393841660048201529183166024830152909116604482015260640161070f565b73__$0e0c503522f35343ef1955427c5075b143$__639cc45a368261014001516001611cca9190613d15565b6040516001600160e01b031960e084901b16815261ffff9091166004820152602401602060405180830381865af4158015611d09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d2d9190613c3e565b9350826001600160a01b031663a1ef60e988866040518060c001604052808b6001600160601b0316815260200173__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611da3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dc791906136d7565b6001600160601b03168152602001600060ff168152602001600060ff1681526020018a815260200173__$d53880c81dc91c20799140d711e5ab8718$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611e38573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e5c9190613c5b565b64ffffffffff168152506040518463ffffffff1660e01b8152600401611e8493929190613d30565b600060405180830381600087803b158015611e9e57600080fd5b505af1158015611eb2573d6000803e3d6000fd5b5050505060018161014001818151611eca9190613d15565b61ffff169052506101608101805160019190611ee7908390613d15565b61ffff169052506040516301829df160e71b81526001600160a01b0384169063c14ef88090611f1f908a90859060ff90600401613839565b600060405180830381600087803b158015611f3957600080fd5b505af1158015611f4d573d6000803e3d6000fd5b5050604080516001600160601b038b8116825261ffff891660208301528a168183015290517fcbffe0c4cf4814bd79bac10830275e65911ae7d71347b96c61fa8e4635423ba49350908190036060019150a15050509392505050565b33611fc960008051602061405d833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b0316146120045760405162d1953b60e31b81526001600160a01b038216600482015260240161070f565b816001600160a01b03163b60000361203a576040516361798f2f60e11b81526001600160a01b038316600482015260240161070f565b61181d82612c27565b60008060008051602061403d83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156120b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120d791906136af565b15612164576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561213a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061215e9190613d70565b91505090565b54600160601b90046001600160a01b0316919050565b61218261263f565b61220283846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156121c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121e891906136d7565b603c60008560405180602001604052806000815250610888565b6001600160a01b0382161561221f5761221a82612c88565b61238e565b60006122336001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015612293573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122b79190613bfd565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156122fc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123209190613d70565b905061238c816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612363573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123879190613d70565b612c88565b505b61239e634a531f3360e01b61085b565b6123ae63b68d180960e01b61085b565b505050565b60008051602061405d833981519152805460009190600160a01b900460ff166123dd57600061215e565b638fb3603760e01b91505090565b60008060006123f985612678565b925092509250600061240f838787610bd0603290565b905073__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561245a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061247e9190613c5b565b64ffffffffff1660a08201526040516314f31fb160e11b81526001600160a01b038516906329e63f62906124bd90899089908690601e90600401613a88565b600060405180830381600087803b1580156124d757600080fd5b505af11580156124eb573d6000803e3d6000fd5b50505050600182610160018181516125039190613817565b61ffff169052506040516301829df160e71b81526001600160a01b0385169063c14ef8809061253b908990869060ff90600401613839565b600060405180830381600087803b15801561255557600080fd5b505af1158015612569573d6000803e3d6000fd5b5050604080516001600160601b038a16815261ffff891660208201527f835aca3a92b79a82038b38ef30bc398955a23c24b64db0183839129d0772a4fb9350019050611704565b60006104f86028612c99565b60006104f86046612c99565b6125d061263f565b6125d981611714565b6125e1610b66565b6001600160a01b0382166126085760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061403d83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b60008051602061407d83398151915254600160401b900460ff1661267657604051631afcd79f60e31b815260040160405180910390fd5b565b604080516102208101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101829052610200810182905281908161270c606e612da6565b90508095508192505050836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612754573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127789190613d70565b60405163bd7d9d8560e01b81526001600160601b03871660048201529093506001600160a01b0384169063bd7d9d8590602401600060405180830381865afa1580156127c8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526127f09190810190613da5565b80519092506001600160601b0382811691161461283e57815160405163169efc1d60e11b81526001600160601b0380881660048301529182166024820152908216604482015260640161070f565b509193909250565b6101cf61263f565b6040805160c0810182526000808252602082018190529181018290526060808201839052608082015260a081019190915260405163078ae93560e41b81526001600160601b038516600482015261ffff841660248201526000906001600160a01b038716906378ae935090604401602060405180830381865afa1580156128d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128fd9190613bfd565b905060ff8082169084161461294b576040516398b9e22f60e01b81526001600160601b038616600482015261ffff8516602482015260ff80851660448301528216606482015260840161070f565b60405163a7ef3d2160e01b81526001600160601b038616600482015261ffff851660248201526001600160a01b0387169063a7ef3d2190604401600060405180830381865afa1580156129a2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526129ca9190810190613b36565b9695505050505050565b60008051602061407d8339815191528054600160401b810460ff1615906001600160401b0316600081158015612a075750825b90506000826001600160401b03166001148015612a235750303b155b905081158015612a31575080155b15612a4f5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315612a7957845460ff60401b1916600160401b1785555b60008087806020019051810190612a909190613f3b565b9092509050612aa18260008b61217a565b6001546001600160a01b031663d39e6043608c612abc610473565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015612b11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b359190613bfd565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612b7a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b9e9190613d70565b600280546001600160a01b0319166001600160a01b0392909216919091179055612bce639e1eb94d60e01b61085b565b505083156113a357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610a08565b64ffffffffff80821690831610155b92915050565b60008051602061405d83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b612c9061263f565b61181f81612fd1565b6000612cad6001546001600160a01b031690565b6001600160a01b031663d39e604383612cc4610473565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015612d19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d3d9190613bfd565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612d82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c219190613d70565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152600080612df26001546001600160a01b031690565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa158015612e39573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612e619190810190613f6a565b9250612e7883604001518660ff9081169116141590565b15612ebc57608083015160408085015190516304081d4960e41b81526001600160a01b03909216600483015260ff808816602484015216604482015260640161070f565b82600001519350612ed08360200151612fe2565b9150816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015612f10573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f349190613d70565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015612f7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fa291906136af565b1561283e57608083015160405163d53987e560e01b81526001600160a01b03909116600482015260240161070f565b612fd961263f565b61181f81612c27565b6000612ff66001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613045573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261306d9190810190613f6a565b6080015192915050565b60006020828403121561308957600080fd5b81356001600160e01b0319811681146130a157600080fd5b9392505050565b60005b838110156130c35781810151838201526020016130ab565b50506000910152565b600081518084526130e48160208601602086016130a8565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161316160c08401826001600160a01b03169052565b5060c083015160e08084015261317b6101008401826130cc565b949350505050565b6001600160a01b038116811461181f57600080fd5b6001600160601b038116811461181f57600080fd5b60ff8116811461181f57600080fd5b801515811461181f57600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b0381118282101715613202576132026131ca565b60405290565b60405161022081016001600160401b0381118282101715613202576132026131ca565b60405160e081016001600160401b0381118282101715613202576132026131ca565b604051601f8201601f191681016001600160401b0381118282101715613275576132756131ca565b604052919050565b60006001600160401b03821115613296576132966131ca565b50601f01601f191660200190565b600082601f8301126132b557600080fd5b81356132c86132c38261327d565b61324d565b8181528460208386010111156132dd57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c0878903121561331357600080fd5b863561331e81613183565b9550602087013561332e81613198565b9450604087013561333e816131ad565b9350606087013561334e816131bc565b9250608087013561335e81613183565b915060a08701356001600160401b0381111561337957600080fd5b61338589828a016132a4565b9150509295509295509295565b62ffffff8116811461181f57600080fd5b600080604083850312156133b657600080fd5b82356133c181613198565b915060208301356133d181613392565b809150509250929050565b6000602082840312156133ee57600080fd5b81356001600160401b0381111561340457600080fd5b61317b848285016132a4565b61ffff8116811461181f57600080fd5b60008060006060848603121561343557600080fd5b833561344081613198565b9250602084013561345081613410565b9150604084013561346081613198565b809150509250925092565b6000806000806080858703121561348157600080fd5b843561348c81613198565b9350602085013561349c81613410565b925060408501356134ac81613198565b915060608501356001600160401b038111156134c757600080fd5b6134d3878288016132a4565b91505092959194509250565b600080604083850312156134f257600080fd5b82356134fd81613183565b915060208301356001600160401b0381111561351857600080fd5b613524858286016132a4565b9150509250929050565b6000806040838503121561354157600080fd5b823561354c81613198565b915060208301356133d181613410565b60006020828403121561356e57600080fd5b81356130a181613183565b60008060006060848603121561358e57600080fd5b833561359981613198565b925060208401356135a981613198565b915060408401356001600160401b038111156135c457600080fd5b6135d0868287016132a4565b9150509250925092565b6000806000606084860312156135ef57600080fd5b83356135fa81613183565b9250602084013561360a81613183565b9150604084013561346081613183565b6000806040838503121561362d57600080fd5b823561363881613183565b915060208301356133d181613183565b60006020828403121561365a57600080fd5b81516130a181613392565b600181811c9082168061367957607f821691505b60208210810361369957634e487b7160e01b600052602260045260246000fd5b50919050565b80516136aa816131bc565b919050565b6000602082840312156136c157600080fd5b81516130a1816131bc565b80516136aa81613198565b6000602082840312156136e957600080fd5b81516130a181613198565b601f8211156123ae57600081815260208120601f850160051c8101602086101561371b5750805b601f850160051c820191505b8181101561373a57828155600101613727565b505050505050565b81516001600160401b0381111561375b5761375b6131ca565b61376f816137698454613665565b846136f4565b602080601f8311600181146137a4576000841561378c5750858301515b600019600386901b1c1916600185901b17855561373a565b600085815260208120601f198616915b828110156137d3578886015182559484019460019091019084016137b4565b50858210156137f15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b61ffff82811682821603908082111561383257613832613801565b5092915050565b6001600160601b0384168152606060208201526138626060820184516001600160601b03169052565b6000602084015161387e60808401826001600160601b03169052565b5060408401516001600160c01b0319811660a08401525060608401516001600160c01b0319811660c084015250608084015160e083015260a0840151610100818185015260c08601519150610120828186015260e087015192506101406138ed8187018564ffffffffff169052565b8288015193506102209250610160838188015261390e6102808801866130cc565b9450828901519250610180605f19888703018189015261392e86856130cc565b9550828a015193506101a0925061394a8389018561ffff169052565b9089015192506101c0906139638883018561ffff169052565b89015192506101e061397f888201856001600160601b03169052565b9189015192506102009161399d888401856001600160601b03169052565b8982015164ffffffffff811689870152935089015164ffffffffff811661024089015293506139c99050565b87015164ffffffffff811661026087015291506139e39050565b5060ff84166040840152905061317b565b600060208284031215613a0657600080fd5b81516001600160401b03811681146130a157600080fd5b60006001600160601b038083511684528060208401511660208501525060ff604083015116604084015260ff6060830151166060840152608082015160c06080850152613a6d60c08501826130cc565b60a09384015164ffffffffff16949093019390935250919050565b6001600160601b038516815261ffff84166020820152608060408201526000613ab46080830185613a1d565b905060ff8316606083015295945050505050565b80516136aa816131ad565b600082601f830112613ae457600080fd5b8151613af26132c38261327d565b818152846020838601011115613b0757600080fd5b61317b8260208301602087016130a8565b64ffffffffff8116811461181f57600080fd5b80516136aa81613b18565b600060208284031215613b4857600080fd5b81516001600160401b0380821115613b5f57600080fd5b9083019060c08286031215613b7357600080fd5b613b7b6131e0565b8251613b8681613198565b81526020830151613b9681613198565b60208201526040830151613ba9816131ad565b6040820152613bba60608401613ac8565b6060820152608083015182811115613bd157600080fd5b613bdd87828601613ad3565b608083015250613bef60a08401613b2b565b60a082015295945050505050565b600060208284031215613c0f57600080fd5b81516130a1816131ad565b60ff8181168382160190811115612c2157612c21613801565b80516136aa81613410565b600060208284031215613c5057600080fd5b81516130a181613410565b600060208284031215613c6d57600080fd5b81516130a181613b18565b60006001600160601b03808616835262ffffff851660208401526060604084015261ffff8451166060840152806020850151166080840152506040830151608060a0840152613cca60e08401826130cc565b905064ffffffffff60608501511660c084015280915050949350505050565b600060208284031215613cfb57600080fd5b5051919050565b80820180821115612c2157612c21613801565b61ffff81811683821601908082111561383257613832613801565b6001600160601b038416815261ffff83166020820152606060408201526000613d5c6060830184613a1d565b95945050505050565b80516136aa81613183565b600060208284031215613d8257600080fd5b81516130a181613183565b80516001600160c01b0319811681146136aa57600080fd5b600060208284031215613db757600080fd5b81516001600160401b0380821115613dce57600080fd5b908301906102208286031215613de357600080fd5b613deb613208565b613df4836136cc565b8152613e02602084016136cc565b6020820152613e1360408401613d8d565b6040820152613e2460608401613d8d565b60608201526080830151608082015260a083015160a082015260c083015160c0820152613e5360e08401613b2b565b60e08201526101008084015183811115613e6c57600080fd5b613e7888828701613ad3565b8284015250506101208084015183811115613e9257600080fd5b613e9e88828701613ad3565b8284015250506101409150613eb4828401613c33565b828201526101609150613ec8828401613c33565b828201526101809150613edc8284016136cc565b828201526101a09150613ef08284016136cc565b828201526101c09150613f04828401613b2b565b828201526101e09150613f18828401613b2b565b828201526102009150613f2c828401613b2b565b91810191909152949350505050565b60008060408385031215613f4e57600080fd5b8251613f5981613183565b60208401519092506133d181613183565b600060208284031215613f7c57600080fd5b81516001600160401b0380821115613f9357600080fd5b9083019060e08286031215613fa757600080fd5b613faf61322b565b613fb8836136cc565b8152613fc6602084016136cc565b6020820152613fd760408401613ac8565b6040820152613fe86060840161369f565b6060820152613ff960808401613d65565b608082015261400a60a08401613d65565b60a082015260c08301518281111561402157600080fd5b61402d87828601613ad3565b60c0830152509594505050505056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212200f219554325e7e3e501c6e1a63548d2c784f83132a56b04caf6226d883331e4e64736f6c63430008140033",
1044
+ "linkReferences": {
1045
+ "contracts/types/Amount.sol": {
1046
+ "AmountLib": [
1047
+ {
1048
+ "length": 20,
1049
+ "start": 2625
1050
+ },
1051
+ {
1052
+ "length": 20,
1053
+ "start": 3420
1054
+ },
1055
+ {
1056
+ "length": 20,
1057
+ "start": 4714
1058
+ },
1059
+ {
1060
+ "length": 20,
1061
+ "start": 5412
1062
+ },
1063
+ {
1064
+ "length": 20,
1065
+ "start": 5542
1066
+ },
1067
+ {
1068
+ "length": 20,
1069
+ "start": 6765
1070
+ },
1071
+ {
1072
+ "length": 20,
1073
+ "start": 6896
1074
+ },
1075
+ {
1076
+ "length": 20,
1077
+ "start": 7028
1078
+ },
1079
+ {
1080
+ "length": 20,
1081
+ "start": 7165
1082
+ },
1083
+ {
1084
+ "length": 20,
1085
+ "start": 7304
1086
+ },
1087
+ {
1088
+ "length": 20,
1089
+ "start": 7746
1090
+ }
1091
+ ]
1092
+ },
1093
+ "contracts/types/ClaimId.sol": {
1094
+ "ClaimIdLib": [
1095
+ {
1096
+ "length": 20,
1097
+ "start": 7558
1098
+ }
1099
+ ]
1100
+ },
1101
+ "contracts/types/NftId.sol": {
1102
+ "NftIdLib": [
1103
+ {
1104
+ "length": 20,
1105
+ "start": 1903
1106
+ },
1107
+ {
1108
+ "length": 20,
1109
+ "start": 8543
1110
+ }
1111
+ ]
1112
+ },
1113
+ "contracts/types/PayoutId.sol": {
1114
+ "PayoutIdLib": [
1115
+ {
1116
+ "length": 20,
1117
+ "start": 4033
1118
+ },
1119
+ {
1120
+ "length": 20,
1121
+ "start": 4188
1122
+ }
1123
+ ]
1124
+ },
1125
+ "contracts/types/Timestamp.sol": {
1126
+ "TimestampLib": [
1127
+ {
1128
+ "length": 20,
1129
+ "start": 4313
1130
+ },
1131
+ {
1132
+ "length": 20,
1133
+ "start": 5713
1134
+ },
1135
+ {
1136
+ "length": 20,
1137
+ "start": 6466
1138
+ },
1139
+ {
1140
+ "length": 20,
1141
+ "start": 6571
1142
+ },
1143
+ {
1144
+ "length": 20,
1145
+ "start": 7895
1146
+ },
1147
+ {
1148
+ "length": 20,
1149
+ "start": 9465
1150
+ }
1151
+ ]
1152
+ },
1153
+ "contracts/types/Version.sol": {
1154
+ "VersionLib": [
1155
+ {
1156
+ "length": 20,
1157
+ "start": 1408
1158
+ },
1159
+ {
1160
+ "length": 20,
1161
+ "start": 2817
1162
+ },
1163
+ {
1164
+ "length": 20,
1165
+ "start": 11197
1166
+ },
1167
+ {
1168
+ "length": 20,
1169
+ "start": 11717
1170
+ }
1171
+ ],
1172
+ "VersionPartLib": [
1173
+ {
1174
+ "length": 20,
1175
+ "start": 9023
1176
+ }
1177
+ ]
1178
+ }
1179
+ },
1180
+ "deployedLinkReferences": {
1181
+ "contracts/types/Amount.sol": {
1182
+ "AmountLib": [
1183
+ {
1184
+ "length": 20,
1185
+ "start": 2395
1186
+ },
1187
+ {
1188
+ "length": 20,
1189
+ "start": 3190
1190
+ },
1191
+ {
1192
+ "length": 20,
1193
+ "start": 4484
1194
+ },
1195
+ {
1196
+ "length": 20,
1197
+ "start": 5182
1198
+ },
1199
+ {
1200
+ "length": 20,
1201
+ "start": 5312
1202
+ },
1203
+ {
1204
+ "length": 20,
1205
+ "start": 6535
1206
+ },
1207
+ {
1208
+ "length": 20,
1209
+ "start": 6666
1210
+ },
1211
+ {
1212
+ "length": 20,
1213
+ "start": 6798
1214
+ },
1215
+ {
1216
+ "length": 20,
1217
+ "start": 6935
1218
+ },
1219
+ {
1220
+ "length": 20,
1221
+ "start": 7074
1222
+ },
1223
+ {
1224
+ "length": 20,
1225
+ "start": 7516
1226
+ }
1227
+ ]
1228
+ },
1229
+ "contracts/types/ClaimId.sol": {
1230
+ "ClaimIdLib": [
1231
+ {
1232
+ "length": 20,
1233
+ "start": 7328
1234
+ }
1235
+ ]
1236
+ },
1237
+ "contracts/types/NftId.sol": {
1238
+ "NftIdLib": [
1239
+ {
1240
+ "length": 20,
1241
+ "start": 1673
1242
+ },
1243
+ {
1244
+ "length": 20,
1245
+ "start": 8313
1246
+ }
1247
+ ]
1248
+ },
1249
+ "contracts/types/PayoutId.sol": {
1250
+ "PayoutIdLib": [
1251
+ {
1252
+ "length": 20,
1253
+ "start": 3803
1254
+ },
1255
+ {
1256
+ "length": 20,
1257
+ "start": 3958
1258
+ }
1259
+ ]
1260
+ },
1261
+ "contracts/types/Timestamp.sol": {
1262
+ "TimestampLib": [
1263
+ {
1264
+ "length": 20,
1265
+ "start": 4083
1266
+ },
1267
+ {
1268
+ "length": 20,
1269
+ "start": 5483
1270
+ },
1271
+ {
1272
+ "length": 20,
1273
+ "start": 6236
1274
+ },
1275
+ {
1276
+ "length": 20,
1277
+ "start": 6341
1278
+ },
1279
+ {
1280
+ "length": 20,
1281
+ "start": 7665
1282
+ },
1283
+ {
1284
+ "length": 20,
1285
+ "start": 9235
1286
+ }
1287
+ ]
1288
+ },
1289
+ "contracts/types/Version.sol": {
1290
+ "VersionLib": [
1291
+ {
1292
+ "length": 20,
1293
+ "start": 1178
1294
+ },
1295
+ {
1296
+ "length": 20,
1297
+ "start": 2587
1298
+ },
1299
+ {
1300
+ "length": 20,
1301
+ "start": 10967
1302
+ },
1303
+ {
1304
+ "length": 20,
1305
+ "start": 11487
1306
+ }
1307
+ ],
1308
+ "VersionPartLib": [
1309
+ {
1310
+ "length": 20,
1311
+ "start": 8793
1312
+ }
1313
+ ]
1314
+ }
1315
+ }
1316
+ }