@etherisc/gif-next 0.0.2-e1e92ab-754 → 0.0.2-e20063b-144

Sign up to get free protection for your applications and to get access to all the features.
Files changed (458) hide show
  1. package/README.md +167 -14
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +842 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +978 -190
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/{instance/base/ServiceBase.sol/ServiceBase.json → components/IComponent.sol/IComponent.json} +284 -147
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +816 -24
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +883 -127
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +656 -33
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +925 -265
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +712 -159
  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/Cloneable.sol/Cloneable.json +190 -0
  24. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  25. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1803 -1132
  26. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  27. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +633 -0
  28. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  29. package/artifacts/contracts/instance/Instance.sol/Instance.json +2094 -1152
  30. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +1330 -0
  32. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  33. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1403 -0
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  35. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1140 -0
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  37. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +741 -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/{InstanceBase.sol/InstanceBase.json → ComponentService.sol/ComponentService.json} +250 -187
  42. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +27 -158
  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 +67 -245
  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 +4 -0
  50. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +237 -0
  51. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  52. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  53. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  54. package/artifacts/contracts/instance/module/{pool/IPoolModule.sol/IPool.json → IComponents.sol/IComponents.json} +2 -2
  55. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  56. package/artifacts/contracts/instance/module/{distribution/IDistribution.sol → IDistribution.sol}/IDistribution.json +1 -1
  57. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  58. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  59. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  60. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  61. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  62. package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/ISetup.sol/ISetup.json} +2 -2
  63. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  64. package/artifacts/contracts/instance/module/{treasury/ITreasury.sol → ITreasury.sol}/ITreasury.json +1 -1
  65. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  66. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +1060 -0
  67. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  68. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +681 -0
  69. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  70. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1266 -0
  71. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  72. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +725 -0
  73. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  74. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +1040 -0
  75. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  76. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +685 -0
  77. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  78. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1372 -228
  79. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  80. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +793 -0
  81. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  82. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +627 -0
  83. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  84. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +686 -0
  85. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  86. package/artifacts/contracts/instance/service/{IComponentOwnerService.sol/IComponentOwnerService.json → IClaimService.sol/IClaimService.json} +327 -191
  87. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  88. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +804 -160
  89. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  90. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +937 -0
  91. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  92. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +437 -154
  93. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  94. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +90 -391
  95. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  96. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1511 -0
  97. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  98. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +741 -0
  99. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  100. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +674 -190
  101. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  102. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +661 -0
  103. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  104. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +300 -528
  105. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  106. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +653 -0
  107. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  108. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +60 -2
  109. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  110. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +373 -61
  111. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  112. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +223 -229
  113. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  114. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  115. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  116. package/artifacts/contracts/registry/Registry.sol/Registry.json +333 -188
  117. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  118. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  119. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  120. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +227 -314
  121. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  122. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +312 -132
  123. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  124. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +559 -0
  125. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  126. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +498 -0
  127. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  128. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  129. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  130. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  131. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +40 -29
  132. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  133. package/artifacts/contracts/{instance/module/component/IComponent.sol/IComponentModule.json → shared/IPolicyHolder.sol/IPolicyHolder.json} +69 -57
  134. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  135. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +21 -34
  136. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  137. package/artifacts/contracts/{experiment/inheritance/IB.sol/IB.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +18 -20
  138. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  139. package/artifacts/contracts/{components/BaseComponent.sol/BaseComponent.json → shared/IService.sol/IService.json} +102 -68
  140. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  141. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  142. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  143. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +120 -27
  144. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  145. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
  146. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  147. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +294 -61
  148. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  149. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +129 -51
  150. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  151. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
  152. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  153. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/Service.sol/Service.json} +185 -170
  154. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  155. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
  156. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  157. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  158. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  159. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  160. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  161. package/artifacts/contracts/test/TestFee.sol/TestFee.json +2 -2
  162. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  163. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +129 -51
  164. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  165. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +14 -14
  166. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  167. package/artifacts/contracts/test/TestService.sol/TestService.json +210 -198
  168. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  169. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  170. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  171. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  172. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -174
  173. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  174. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  175. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +4 -0
  176. package/artifacts/contracts/types/Amount.sol/AmountLib.json +185 -0
  177. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  178. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  179. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  180. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  181. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +179 -0
  182. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  183. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  184. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  185. package/artifacts/contracts/types/Fee.sol/FeeLib.json +40 -9
  186. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  187. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +31 -17
  188. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  189. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
  190. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  191. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  192. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  193. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  194. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  195. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  196. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  197. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +209 -0
  198. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  199. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +142 -0
  200. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  202. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  203. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +134 -8
  204. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  205. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  206. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  207. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  208. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  209. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +51 -7
  210. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  211. package/artifacts/contracts/types/UFixed.sol/MathLib.json +2 -2
  212. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  213. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +2 -2
  214. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  215. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  216. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  217. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  218. package/contracts/components/Component.sol +253 -0
  219. package/contracts/components/Distribution.sol +208 -79
  220. package/contracts/components/IComponent.sol +76 -0
  221. package/contracts/components/IDistributionComponent.sol +43 -18
  222. package/contracts/components/IPoolComponent.sol +88 -39
  223. package/contracts/components/IProductComponent.sol +12 -9
  224. package/contracts/components/Pool.sol +221 -165
  225. package/contracts/components/Product.sol +250 -178
  226. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
  227. package/contracts/instance/BundleManager.sol +126 -0
  228. package/contracts/instance/Cloneable.sol +51 -0
  229. package/contracts/instance/IInstance.sol +91 -41
  230. package/contracts/instance/IInstanceService.sol +68 -0
  231. package/contracts/instance/Instance.sol +293 -66
  232. package/contracts/instance/InstanceAccessManager.sol +527 -0
  233. package/contracts/instance/InstanceReader.sol +317 -0
  234. package/contracts/instance/InstanceService.sol +478 -0
  235. package/contracts/instance/InstanceServiceManager.sol +54 -0
  236. package/contracts/instance/ObjectManager.sol +82 -0
  237. package/contracts/instance/base/ComponentService.sol +121 -0
  238. package/contracts/instance/base/IKeyValueStore.sol +13 -14
  239. package/contracts/instance/base/ILifecycle.sol +3 -3
  240. package/contracts/instance/base/KeyValueStore.sol +60 -41
  241. package/contracts/instance/base/Lifecycle.sol +24 -7
  242. package/contracts/instance/module/IAccess.sol +54 -0
  243. package/contracts/instance/module/IBundle.sol +23 -0
  244. package/contracts/instance/module/IComponents.sol +41 -0
  245. package/contracts/instance/module/IDistribution.sol +41 -0
  246. package/contracts/instance/module/IPolicy.sol +77 -0
  247. package/contracts/instance/module/IRisk.sol +11 -0
  248. package/contracts/instance/module/ISetup.sol +33 -0
  249. package/contracts/instance/module/ITreasury.sol +23 -0
  250. package/contracts/instance/service/ApplicationService.sol +355 -0
  251. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  252. package/contracts/instance/service/BundleService.sol +436 -0
  253. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  254. package/contracts/instance/service/ClaimService.sol +239 -0
  255. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  256. package/contracts/instance/service/DistributionService.sol +399 -22
  257. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  258. package/contracts/instance/service/IApplicationService.sol +78 -0
  259. package/contracts/instance/service/IBundleService.sol +96 -0
  260. package/contracts/instance/service/IClaimService.sol +92 -0
  261. package/contracts/instance/service/IDistributionService.sol +88 -1
  262. package/contracts/instance/service/IPolicyService.sol +137 -0
  263. package/contracts/instance/service/IPoolService.sol +80 -18
  264. package/contracts/instance/service/IProductService.sol +9 -76
  265. package/contracts/instance/service/PolicyService.sol +541 -0
  266. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  267. package/contracts/instance/service/PoolService.sol +248 -94
  268. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  269. package/contracts/instance/service/ProductService.sol +133 -433
  270. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  271. package/contracts/registry/ChainNft.sol +47 -24
  272. package/contracts/registry/IRegistry.sol +52 -8
  273. package/contracts/registry/IRegistryService.sol +53 -20
  274. package/contracts/registry/ITransferInterceptor.sol +1 -0
  275. package/contracts/registry/Registry.sol +277 -236
  276. package/contracts/registry/RegistryAccessManager.sol +216 -0
  277. package/contracts/registry/RegistryService.sol +114 -273
  278. package/contracts/registry/RegistryServiceManager.sol +24 -25
  279. package/contracts/registry/ReleaseManager.sol +324 -0
  280. package/contracts/registry/TokenRegistry.sol +116 -0
  281. package/contracts/shared/ERC165.sol +14 -8
  282. package/contracts/shared/INftOwnable.sol +11 -10
  283. package/contracts/shared/IPolicyHolder.sol +26 -0
  284. package/contracts/shared/IRegisterable.sol +4 -6
  285. package/contracts/shared/IRegistryLinked.sol +12 -0
  286. package/contracts/shared/IService.sol +16 -0
  287. package/contracts/shared/IVersionable.sol +4 -47
  288. package/contracts/shared/NftOwnable.sol +67 -83
  289. package/contracts/shared/PolicyHolder.sol +81 -0
  290. package/contracts/shared/ProxyManager.sol +100 -25
  291. package/contracts/shared/Registerable.sol +16 -31
  292. package/contracts/shared/RegistryLinked.sol +48 -0
  293. package/contracts/shared/Service.sol +72 -0
  294. package/contracts/shared/TokenHandler.sol +33 -0
  295. package/contracts/shared/Versionable.sol +4 -92
  296. package/contracts/test/TestRegisterable.sol +1 -1
  297. package/contracts/test/TestRoleId.sol +1 -1
  298. package/contracts/test/TestService.sol +6 -7
  299. package/contracts/types/Amount.sol +65 -0
  300. package/contracts/types/Blocknumber.sol +1 -0
  301. package/contracts/types/ClaimId.sol +75 -0
  302. package/contracts/types/DistributorType.sol +55 -0
  303. package/contracts/types/Fee.sol +13 -5
  304. package/contracts/types/Key32.sol +8 -3
  305. package/contracts/types/NftId.sol +8 -0
  306. package/contracts/types/NftIdSet.sol +26 -24
  307. package/contracts/types/NumberId.sol +52 -0
  308. package/contracts/types/ObjectType.sol +41 -15
  309. package/contracts/types/PayoutId.sol +82 -0
  310. package/contracts/types/Referral.sol +89 -0
  311. package/contracts/types/RoleId.sol +67 -15
  312. package/contracts/types/Seconds.sol +54 -0
  313. package/contracts/types/StateId.sol +12 -3
  314. package/contracts/types/Timestamp.sol +22 -13
  315. package/contracts/types/UFixed.sol +1 -0
  316. package/contracts/types/Version.sol +5 -1
  317. package/package.json +3 -3
  318. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  319. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  320. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -254
  321. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  322. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  323. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  324. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  325. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  326. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  327. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  328. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  329. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  330. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  331. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  332. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  333. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  334. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  335. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  336. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  337. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  338. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  339. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  340. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  341. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  342. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  343. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  344. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  345. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  346. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  347. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  348. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  349. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  350. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  351. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  352. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  353. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  354. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  355. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  356. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  357. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  358. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  359. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  360. package/artifacts/contracts/instance/base/IService.sol/IService.json +0 -421
  361. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  362. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  363. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  364. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  365. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -297
  366. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  367. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  368. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -297
  369. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  370. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -117
  371. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  372. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  373. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  374. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +0 -4
  375. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +0 -10
  376. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +0 -4
  377. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +0 -4
  378. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.json +0 -10
  379. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  380. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  381. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -271
  382. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  383. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -271
  384. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  385. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  386. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -164
  387. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  388. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -164
  389. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  390. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  391. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -113
  392. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  393. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -131
  394. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  395. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  396. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -638
  397. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  398. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  399. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  400. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -638
  401. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  402. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  403. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  404. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  405. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -457
  406. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +0 -4
  407. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +0 -557
  408. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  409. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -716
  410. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  411. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -744
  412. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +0 -4
  413. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.json +0 -99
  414. package/contracts/components/BaseComponent.sol +0 -79
  415. package/contracts/components/IBaseComponent.sol +0 -19
  416. package/contracts/experiment/errors/Require.sol +0 -38
  417. package/contracts/experiment/errors/Revert.sol +0 -44
  418. package/contracts/experiment/inheritance/A.sol +0 -53
  419. package/contracts/experiment/inheritance/B.sol +0 -28
  420. package/contracts/experiment/inheritance/C.sol +0 -34
  421. package/contracts/experiment/inheritance/IA.sol +0 -13
  422. package/contracts/experiment/inheritance/IB.sol +0 -10
  423. package/contracts/experiment/inheritance/IC.sol +0 -12
  424. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  425. package/contracts/experiment/statemachine/ISM.sol +0 -25
  426. package/contracts/experiment/statemachine/SM.sol +0 -57
  427. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  428. package/contracts/experiment/types/TypeA.sol +0 -47
  429. package/contracts/experiment/types/TypeB.sol +0 -29
  430. package/contracts/instance/IInstanceLinked.sol +0 -8
  431. package/contracts/instance/base/ComponentServiceBase.sol +0 -49
  432. package/contracts/instance/base/IInstanceBase.sol +0 -23
  433. package/contracts/instance/base/IService.sol +0 -15
  434. package/contracts/instance/base/InstanceBase.sol +0 -89
  435. package/contracts/instance/base/ModuleBase.sol +0 -57
  436. package/contracts/instance/base/ServiceBase.sol +0 -44
  437. package/contracts/instance/module/bundle/BundleModule.sol +0 -134
  438. package/contracts/instance/module/bundle/IBundle.sol +0 -53
  439. package/contracts/instance/module/component/ComponentModule.sol +0 -71
  440. package/contracts/instance/module/component/IComponent.sol +0 -28
  441. package/contracts/instance/module/distribution/DistributionModule.sol +0 -17
  442. package/contracts/instance/module/distribution/IDistribution.sol +0 -10
  443. package/contracts/instance/module/policy/IPolicy.sol +0 -63
  444. package/contracts/instance/module/policy/PolicyModule.sol +0 -91
  445. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  446. package/contracts/instance/module/pool/PoolModule.sol +0 -95
  447. package/contracts/instance/module/risk/IRisk.sol +0 -26
  448. package/contracts/instance/module/risk/RiskModule.sol +0 -62
  449. package/contracts/instance/module/treasury/ITreasury.sol +0 -84
  450. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  451. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -131
  452. package/contracts/instance/service/ComponentOwnerService.sol +0 -315
  453. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  454. package/contracts/registry/IChainNft.sol +0 -22
  455. package/contracts/test/TestDistribution.sol +0 -22
  456. package/contracts/test/TestPool.sol +0 -27
  457. package/contracts/test/TestProduct.sol +0 -74
  458. package/contracts/types/ReferralId.sol +0 -48
@@ -0,0 +1,1511 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "PolicyService",
4
+ "sourceName": "contracts/instance/service/PolicyService.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": "address",
48
+ "name": "component",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "ErrorComponentServiceComponentLocked",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "NftId",
59
+ "name": "instanceNftId",
60
+ "type": "uint96"
61
+ },
62
+ {
63
+ "internalType": "RoleId",
64
+ "name": "requiredRole",
65
+ "type": "uint64"
66
+ },
67
+ {
68
+ "internalType": "address",
69
+ "name": "sender",
70
+ "type": "address"
71
+ }
72
+ ],
73
+ "name": "ErrorComponentServiceExpectedRoleMissing",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [
78
+ {
79
+ "internalType": "address",
80
+ "name": "component",
81
+ "type": "address"
82
+ },
83
+ {
84
+ "internalType": "ObjectType",
85
+ "name": "requiredType",
86
+ "type": "uint8"
87
+ },
88
+ {
89
+ "internalType": "ObjectType",
90
+ "name": "componentType",
91
+ "type": "uint8"
92
+ }
93
+ ],
94
+ "name": "ErrorComponentServiceInvalidType",
95
+ "type": "error"
96
+ },
97
+ {
98
+ "inputs": [
99
+ {
100
+ "internalType": "address",
101
+ "name": "component",
102
+ "type": "address"
103
+ }
104
+ ],
105
+ "name": "ErrorComponentServiceNotComponent",
106
+ "type": "error"
107
+ },
108
+ {
109
+ "inputs": [
110
+ {
111
+ "internalType": "address",
112
+ "name": "component",
113
+ "type": "address"
114
+ },
115
+ {
116
+ "internalType": "address",
117
+ "name": "initialOwner",
118
+ "type": "address"
119
+ },
120
+ {
121
+ "internalType": "address",
122
+ "name": "sender",
123
+ "type": "address"
124
+ }
125
+ ],
126
+ "name": "ErrorComponentServiceSenderNotOwner",
127
+ "type": "error"
128
+ },
129
+ {
130
+ "inputs": [
131
+ {
132
+ "internalType": "address",
133
+ "name": "target",
134
+ "type": "address"
135
+ }
136
+ ],
137
+ "name": "ErrorIAccessTargetLocked",
138
+ "type": "error"
139
+ },
140
+ {
141
+ "inputs": [
142
+ {
143
+ "internalType": "address",
144
+ "name": "customer",
145
+ "type": "address"
146
+ },
147
+ {
148
+ "internalType": "address",
149
+ "name": "tokenHandlerAddress",
150
+ "type": "address"
151
+ },
152
+ {
153
+ "internalType": "uint256",
154
+ "name": "amount",
155
+ "type": "uint256"
156
+ }
157
+ ],
158
+ "name": "ErrorIPolicyServiceInsufficientAllowance",
159
+ "type": "error"
160
+ },
161
+ {
162
+ "inputs": [
163
+ {
164
+ "internalType": "NftId",
165
+ "name": "policyNftId",
166
+ "type": "uint96"
167
+ },
168
+ {
169
+ "internalType": "uint16",
170
+ "name": "openClaimsCount",
171
+ "type": "uint16"
172
+ }
173
+ ],
174
+ "name": "ErrorIPolicyServiceOpenClaims",
175
+ "type": "error"
176
+ },
177
+ {
178
+ "inputs": [
179
+ {
180
+ "internalType": "NftId",
181
+ "name": "policyNftId",
182
+ "type": "uint96"
183
+ }
184
+ ],
185
+ "name": "ErrorIPolicyServicePolicyAlreadyClosed",
186
+ "type": "error"
187
+ },
188
+ {
189
+ "inputs": [
190
+ {
191
+ "internalType": "NftId",
192
+ "name": "policyNftId",
193
+ "type": "uint96"
194
+ },
195
+ {
196
+ "internalType": "Timestamp",
197
+ "name": "expiredAt",
198
+ "type": "uint40"
199
+ }
200
+ ],
201
+ "name": "ErrorIPolicyServicePolicyHasNotExpired",
202
+ "type": "error"
203
+ },
204
+ {
205
+ "inputs": [
206
+ {
207
+ "internalType": "NftId",
208
+ "name": "policyNftId",
209
+ "type": "uint96"
210
+ }
211
+ ],
212
+ "name": "ErrorIPolicyServicePolicyNotActivated",
213
+ "type": "error"
214
+ },
215
+ {
216
+ "inputs": [
217
+ {
218
+ "internalType": "NftId",
219
+ "name": "policyNftId",
220
+ "type": "uint96"
221
+ },
222
+ {
223
+ "internalType": "StateId",
224
+ "name": "state",
225
+ "type": "uint8"
226
+ }
227
+ ],
228
+ "name": "ErrorIPolicyServicePolicyNotActive",
229
+ "type": "error"
230
+ },
231
+ {
232
+ "inputs": [
233
+ {
234
+ "internalType": "NftId",
235
+ "name": "policyNftId",
236
+ "type": "uint96"
237
+ },
238
+ {
239
+ "internalType": "uint256",
240
+ "name": "premiumPaidAmount",
241
+ "type": "uint256"
242
+ }
243
+ ],
244
+ "name": "ErrorIPolicyServicePremiumAlreadyPaid",
245
+ "type": "error"
246
+ },
247
+ {
248
+ "inputs": [
249
+ {
250
+ "internalType": "NftId",
251
+ "name": "policyNftId",
252
+ "type": "uint96"
253
+ },
254
+ {
255
+ "internalType": "uint256",
256
+ "name": "expectedPremiumAmount",
257
+ "type": "uint256"
258
+ },
259
+ {
260
+ "internalType": "uint256",
261
+ "name": "recalculatedPremiumAmount",
262
+ "type": "uint256"
263
+ }
264
+ ],
265
+ "name": "ErrorIPolicyServicePremiumMismatch",
266
+ "type": "error"
267
+ },
268
+ {
269
+ "inputs": [
270
+ {
271
+ "internalType": "NftId",
272
+ "name": "policyNftId",
273
+ "type": "uint96"
274
+ },
275
+ {
276
+ "internalType": "uint256",
277
+ "name": "premiumAmount",
278
+ "type": "uint256"
279
+ },
280
+ {
281
+ "internalType": "uint256",
282
+ "name": "premiumPaidAmount",
283
+ "type": "uint256"
284
+ }
285
+ ],
286
+ "name": "ErrorIPolicyServicePremiumNotFullyPaid",
287
+ "type": "error"
288
+ },
289
+ {
290
+ "inputs": [
291
+ {
292
+ "internalType": "NftId",
293
+ "name": "nftId",
294
+ "type": "uint96"
295
+ }
296
+ ],
297
+ "name": "ErrorNftOwnableAlreadyLinked",
298
+ "type": "error"
299
+ },
300
+ {
301
+ "inputs": [
302
+ {
303
+ "internalType": "address",
304
+ "name": "contractAddress",
305
+ "type": "address"
306
+ }
307
+ ],
308
+ "name": "ErrorNftOwnableContractNotRegistered",
309
+ "type": "error"
310
+ },
311
+ {
312
+ "inputs": [],
313
+ "name": "ErrorNftOwnableInitialOwnerZero",
314
+ "type": "error"
315
+ },
316
+ {
317
+ "inputs": [
318
+ {
319
+ "internalType": "address",
320
+ "name": "account",
321
+ "type": "address"
322
+ }
323
+ ],
324
+ "name": "ErrorNftOwnableNotOwner",
325
+ "type": "error"
326
+ },
327
+ {
328
+ "inputs": [
329
+ {
330
+ "internalType": "address",
331
+ "name": "registryAddress",
332
+ "type": "address"
333
+ }
334
+ ],
335
+ "name": "ErrorNotRegistry",
336
+ "type": "error"
337
+ },
338
+ {
339
+ "inputs": [
340
+ {
341
+ "internalType": "NftId",
342
+ "name": "policyNftId",
343
+ "type": "uint96"
344
+ },
345
+ {
346
+ "internalType": "Amount",
347
+ "name": "sumInsured",
348
+ "type": "uint96"
349
+ },
350
+ {
351
+ "internalType": "Amount",
352
+ "name": "payoutsIncludingClaimAmount",
353
+ "type": "uint96"
354
+ }
355
+ ],
356
+ "name": "ErrorPolicyServiceClaimExceedsSumInsured",
357
+ "type": "error"
358
+ },
359
+ {
360
+ "inputs": [
361
+ {
362
+ "internalType": "NftId",
363
+ "name": "policyNftId",
364
+ "type": "uint96"
365
+ }
366
+ ],
367
+ "name": "ErrorPolicyServicePolicyNotOpen",
368
+ "type": "error"
369
+ },
370
+ {
371
+ "inputs": [
372
+ {
373
+ "internalType": "NftId",
374
+ "name": "policyNftId",
375
+ "type": "uint96"
376
+ },
377
+ {
378
+ "internalType": "NftId",
379
+ "name": "expectedProduct",
380
+ "type": "uint96"
381
+ },
382
+ {
383
+ "internalType": "NftId",
384
+ "name": "actualProduct",
385
+ "type": "uint96"
386
+ }
387
+ ],
388
+ "name": "ErrorPolicyServicePolicyProductMismatch",
389
+ "type": "error"
390
+ },
391
+ {
392
+ "inputs": [],
393
+ "name": "InvalidInitialization",
394
+ "type": "error"
395
+ },
396
+ {
397
+ "inputs": [],
398
+ "name": "NotInitializing",
399
+ "type": "error"
400
+ },
401
+ {
402
+ "anonymous": false,
403
+ "inputs": [
404
+ {
405
+ "indexed": false,
406
+ "internalType": "address",
407
+ "name": "authority",
408
+ "type": "address"
409
+ }
410
+ ],
411
+ "name": "AuthorityUpdated",
412
+ "type": "event"
413
+ },
414
+ {
415
+ "anonymous": false,
416
+ "inputs": [
417
+ {
418
+ "indexed": false,
419
+ "internalType": "uint64",
420
+ "name": "version",
421
+ "type": "uint64"
422
+ }
423
+ ],
424
+ "name": "Initialized",
425
+ "type": "event"
426
+ },
427
+ {
428
+ "anonymous": false,
429
+ "inputs": [
430
+ {
431
+ "indexed": false,
432
+ "internalType": "NftId",
433
+ "name": "policyNftId",
434
+ "type": "uint96"
435
+ },
436
+ {
437
+ "indexed": false,
438
+ "internalType": "ClaimId",
439
+ "name": "claimId",
440
+ "type": "uint16"
441
+ }
442
+ ],
443
+ "name": "LogPolicyServiceClaimClosed",
444
+ "type": "event"
445
+ },
446
+ {
447
+ "anonymous": false,
448
+ "inputs": [
449
+ {
450
+ "indexed": false,
451
+ "internalType": "NftId",
452
+ "name": "policyNftId",
453
+ "type": "uint96"
454
+ },
455
+ {
456
+ "indexed": false,
457
+ "internalType": "ClaimId",
458
+ "name": "claimId",
459
+ "type": "uint16"
460
+ },
461
+ {
462
+ "indexed": false,
463
+ "internalType": "Amount",
464
+ "name": "confirmedAmount",
465
+ "type": "uint96"
466
+ }
467
+ ],
468
+ "name": "LogPolicyServiceClaimConfirmed",
469
+ "type": "event"
470
+ },
471
+ {
472
+ "anonymous": false,
473
+ "inputs": [
474
+ {
475
+ "indexed": false,
476
+ "internalType": "NftId",
477
+ "name": "policyNftId",
478
+ "type": "uint96"
479
+ },
480
+ {
481
+ "indexed": false,
482
+ "internalType": "ClaimId",
483
+ "name": "claimId",
484
+ "type": "uint16"
485
+ }
486
+ ],
487
+ "name": "LogPolicyServiceClaimDeclined",
488
+ "type": "event"
489
+ },
490
+ {
491
+ "anonymous": false,
492
+ "inputs": [
493
+ {
494
+ "indexed": false,
495
+ "internalType": "NftId",
496
+ "name": "policyNftId",
497
+ "type": "uint96"
498
+ },
499
+ {
500
+ "indexed": false,
501
+ "internalType": "ClaimId",
502
+ "name": "claimId",
503
+ "type": "uint16"
504
+ },
505
+ {
506
+ "indexed": false,
507
+ "internalType": "Amount",
508
+ "name": "claimAmount",
509
+ "type": "uint96"
510
+ }
511
+ ],
512
+ "name": "LogPolicyServiceClaimSubmitted",
513
+ "type": "event"
514
+ },
515
+ {
516
+ "anonymous": false,
517
+ "inputs": [
518
+ {
519
+ "indexed": false,
520
+ "internalType": "NftId",
521
+ "name": "policyNftId",
522
+ "type": "uint96"
523
+ },
524
+ {
525
+ "indexed": false,
526
+ "internalType": "PayoutId",
527
+ "name": "payoutId",
528
+ "type": "uint24"
529
+ },
530
+ {
531
+ "indexed": false,
532
+ "internalType": "Amount",
533
+ "name": "amount",
534
+ "type": "uint96"
535
+ }
536
+ ],
537
+ "name": "LogPolicyServicePayoutCreated",
538
+ "type": "event"
539
+ },
540
+ {
541
+ "anonymous": false,
542
+ "inputs": [
543
+ {
544
+ "indexed": false,
545
+ "internalType": "NftId",
546
+ "name": "policyNftId",
547
+ "type": "uint96"
548
+ },
549
+ {
550
+ "indexed": false,
551
+ "internalType": "PayoutId",
552
+ "name": "payoutId",
553
+ "type": "uint24"
554
+ },
555
+ {
556
+ "indexed": false,
557
+ "internalType": "Amount",
558
+ "name": "amount",
559
+ "type": "uint96"
560
+ }
561
+ ],
562
+ "name": "LogPolicyServicePayoutProcessed",
563
+ "type": "event"
564
+ },
565
+ {
566
+ "anonymous": false,
567
+ "inputs": [
568
+ {
569
+ "indexed": false,
570
+ "internalType": "address",
571
+ "name": "sender",
572
+ "type": "address"
573
+ }
574
+ ],
575
+ "name": "LogProductServiceSender",
576
+ "type": "event"
577
+ },
578
+ {
579
+ "inputs": [],
580
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
581
+ "outputs": [
582
+ {
583
+ "internalType": "bytes32",
584
+ "name": "",
585
+ "type": "bytes32"
586
+ }
587
+ ],
588
+ "stateMutability": "view",
589
+ "type": "function"
590
+ },
591
+ {
592
+ "inputs": [],
593
+ "name": "REGISTERABLE_LOCATION_V1",
594
+ "outputs": [
595
+ {
596
+ "internalType": "bytes32",
597
+ "name": "",
598
+ "type": "bytes32"
599
+ }
600
+ ],
601
+ "stateMutability": "view",
602
+ "type": "function"
603
+ },
604
+ {
605
+ "inputs": [
606
+ {
607
+ "internalType": "NftId",
608
+ "name": "policyNftId",
609
+ "type": "uint96"
610
+ },
611
+ {
612
+ "internalType": "Timestamp",
613
+ "name": "activateAt",
614
+ "type": "uint40"
615
+ }
616
+ ],
617
+ "name": "activate",
618
+ "outputs": [],
619
+ "stateMutability": "nonpayable",
620
+ "type": "function"
621
+ },
622
+ {
623
+ "inputs": [],
624
+ "name": "authority",
625
+ "outputs": [
626
+ {
627
+ "internalType": "address",
628
+ "name": "",
629
+ "type": "address"
630
+ }
631
+ ],
632
+ "stateMutability": "view",
633
+ "type": "function"
634
+ },
635
+ {
636
+ "inputs": [
637
+ {
638
+ "internalType": "UFixed",
639
+ "name": "collateralizationLevel",
640
+ "type": "uint256"
641
+ },
642
+ {
643
+ "internalType": "uint256",
644
+ "name": "sumInsuredAmount",
645
+ "type": "uint256"
646
+ }
647
+ ],
648
+ "name": "calculateRequiredCollateral",
649
+ "outputs": [
650
+ {
651
+ "internalType": "uint256",
652
+ "name": "collateralAmount",
653
+ "type": "uint256"
654
+ }
655
+ ],
656
+ "stateMutability": "pure",
657
+ "type": "function"
658
+ },
659
+ {
660
+ "inputs": [
661
+ {
662
+ "internalType": "NftId",
663
+ "name": "policyNftId",
664
+ "type": "uint96"
665
+ }
666
+ ],
667
+ "name": "close",
668
+ "outputs": [],
669
+ "stateMutability": "nonpayable",
670
+ "type": "function"
671
+ },
672
+ {
673
+ "inputs": [
674
+ {
675
+ "internalType": "NftId",
676
+ "name": "policyNftId",
677
+ "type": "uint96"
678
+ },
679
+ {
680
+ "internalType": "ClaimId",
681
+ "name": "claimId",
682
+ "type": "uint16"
683
+ }
684
+ ],
685
+ "name": "closeClaim",
686
+ "outputs": [],
687
+ "stateMutability": "nonpayable",
688
+ "type": "function"
689
+ },
690
+ {
691
+ "inputs": [
692
+ {
693
+ "internalType": "NftId",
694
+ "name": "applicationNftId",
695
+ "type": "uint96"
696
+ },
697
+ {
698
+ "internalType": "bool",
699
+ "name": "requirePremiumPayment",
700
+ "type": "bool"
701
+ },
702
+ {
703
+ "internalType": "Timestamp",
704
+ "name": "activateAt",
705
+ "type": "uint40"
706
+ }
707
+ ],
708
+ "name": "collateralize",
709
+ "outputs": [],
710
+ "stateMutability": "nonpayable",
711
+ "type": "function"
712
+ },
713
+ {
714
+ "inputs": [
715
+ {
716
+ "internalType": "NftId",
717
+ "name": "policyNftId",
718
+ "type": "uint96"
719
+ },
720
+ {
721
+ "internalType": "Timestamp",
722
+ "name": "activateAt",
723
+ "type": "uint40"
724
+ }
725
+ ],
726
+ "name": "collectPremium",
727
+ "outputs": [],
728
+ "stateMutability": "nonpayable",
729
+ "type": "function"
730
+ },
731
+ {
732
+ "inputs": [
733
+ {
734
+ "internalType": "NftId",
735
+ "name": "policyNftId",
736
+ "type": "uint96"
737
+ },
738
+ {
739
+ "internalType": "ClaimId",
740
+ "name": "claimId",
741
+ "type": "uint16"
742
+ },
743
+ {
744
+ "internalType": "Amount",
745
+ "name": "confirmedAmount",
746
+ "type": "uint96"
747
+ }
748
+ ],
749
+ "name": "confirmClaim",
750
+ "outputs": [],
751
+ "stateMutability": "nonpayable",
752
+ "type": "function"
753
+ },
754
+ {
755
+ "inputs": [
756
+ {
757
+ "internalType": "NftId",
758
+ "name": "policyNftId",
759
+ "type": "uint96"
760
+ },
761
+ {
762
+ "internalType": "ClaimId",
763
+ "name": "claimId",
764
+ "type": "uint16"
765
+ },
766
+ {
767
+ "internalType": "Amount",
768
+ "name": "amount",
769
+ "type": "uint96"
770
+ },
771
+ {
772
+ "internalType": "bytes",
773
+ "name": "data",
774
+ "type": "bytes"
775
+ }
776
+ ],
777
+ "name": "createPayout",
778
+ "outputs": [
779
+ {
780
+ "internalType": "PayoutId",
781
+ "name": "payoutId",
782
+ "type": "uint24"
783
+ }
784
+ ],
785
+ "stateMutability": "nonpayable",
786
+ "type": "function"
787
+ },
788
+ {
789
+ "inputs": [
790
+ {
791
+ "internalType": "NftId",
792
+ "name": "policyNftId",
793
+ "type": "uint96"
794
+ }
795
+ ],
796
+ "name": "decline",
797
+ "outputs": [],
798
+ "stateMutability": "nonpayable",
799
+ "type": "function"
800
+ },
801
+ {
802
+ "inputs": [
803
+ {
804
+ "internalType": "NftId",
805
+ "name": "policyNftId",
806
+ "type": "uint96"
807
+ },
808
+ {
809
+ "internalType": "ClaimId",
810
+ "name": "claimId",
811
+ "type": "uint16"
812
+ }
813
+ ],
814
+ "name": "declineClaim",
815
+ "outputs": [],
816
+ "stateMutability": "nonpayable",
817
+ "type": "function"
818
+ },
819
+ {
820
+ "inputs": [
821
+ {
822
+ "internalType": "NftId",
823
+ "name": "policyNftId",
824
+ "type": "uint96"
825
+ }
826
+ ],
827
+ "name": "expire",
828
+ "outputs": [],
829
+ "stateMutability": "nonpayable",
830
+ "type": "function"
831
+ },
832
+ {
833
+ "inputs": [],
834
+ "name": "getDomain",
835
+ "outputs": [
836
+ {
837
+ "internalType": "ObjectType",
838
+ "name": "",
839
+ "type": "uint8"
840
+ }
841
+ ],
842
+ "stateMutability": "pure",
843
+ "type": "function"
844
+ },
845
+ {
846
+ "inputs": [],
847
+ "name": "getInitialInfo",
848
+ "outputs": [
849
+ {
850
+ "components": [
851
+ {
852
+ "internalType": "NftId",
853
+ "name": "nftId",
854
+ "type": "uint96"
855
+ },
856
+ {
857
+ "internalType": "NftId",
858
+ "name": "parentNftId",
859
+ "type": "uint96"
860
+ },
861
+ {
862
+ "internalType": "ObjectType",
863
+ "name": "objectType",
864
+ "type": "uint8"
865
+ },
866
+ {
867
+ "internalType": "bool",
868
+ "name": "isInterceptor",
869
+ "type": "bool"
870
+ },
871
+ {
872
+ "internalType": "address",
873
+ "name": "objectAddress",
874
+ "type": "address"
875
+ },
876
+ {
877
+ "internalType": "address",
878
+ "name": "initialOwner",
879
+ "type": "address"
880
+ },
881
+ {
882
+ "internalType": "bytes",
883
+ "name": "data",
884
+ "type": "bytes"
885
+ }
886
+ ],
887
+ "internalType": "struct IRegistry.ObjectInfo",
888
+ "name": "info",
889
+ "type": "tuple"
890
+ }
891
+ ],
892
+ "stateMutability": "view",
893
+ "type": "function"
894
+ },
895
+ {
896
+ "inputs": [],
897
+ "name": "getInstanceService",
898
+ "outputs": [
899
+ {
900
+ "internalType": "contract InstanceService",
901
+ "name": "",
902
+ "type": "address"
903
+ }
904
+ ],
905
+ "stateMutability": "view",
906
+ "type": "function"
907
+ },
908
+ {
909
+ "inputs": [],
910
+ "name": "getNftId",
911
+ "outputs": [
912
+ {
913
+ "internalType": "NftId",
914
+ "name": "",
915
+ "type": "uint96"
916
+ }
917
+ ],
918
+ "stateMutability": "view",
919
+ "type": "function"
920
+ },
921
+ {
922
+ "inputs": [],
923
+ "name": "getOwner",
924
+ "outputs": [
925
+ {
926
+ "internalType": "address",
927
+ "name": "",
928
+ "type": "address"
929
+ }
930
+ ],
931
+ "stateMutability": "view",
932
+ "type": "function"
933
+ },
934
+ {
935
+ "inputs": [],
936
+ "name": "getRegistry",
937
+ "outputs": [
938
+ {
939
+ "internalType": "contract IRegistry",
940
+ "name": "",
941
+ "type": "address"
942
+ }
943
+ ],
944
+ "stateMutability": "view",
945
+ "type": "function"
946
+ },
947
+ {
948
+ "inputs": [],
949
+ "name": "getRegistryAddress",
950
+ "outputs": [
951
+ {
952
+ "internalType": "address",
953
+ "name": "",
954
+ "type": "address"
955
+ }
956
+ ],
957
+ "stateMutability": "view",
958
+ "type": "function"
959
+ },
960
+ {
961
+ "inputs": [],
962
+ "name": "getRegistryService",
963
+ "outputs": [
964
+ {
965
+ "internalType": "contract IRegistryService",
966
+ "name": "",
967
+ "type": "address"
968
+ }
969
+ ],
970
+ "stateMutability": "view",
971
+ "type": "function"
972
+ },
973
+ {
974
+ "inputs": [],
975
+ "name": "getVersion",
976
+ "outputs": [
977
+ {
978
+ "internalType": "Version",
979
+ "name": "",
980
+ "type": "uint24"
981
+ }
982
+ ],
983
+ "stateMutability": "pure",
984
+ "type": "function"
985
+ },
986
+ {
987
+ "inputs": [],
988
+ "name": "initializeERC165",
989
+ "outputs": [],
990
+ "stateMutability": "nonpayable",
991
+ "type": "function"
992
+ },
993
+ {
994
+ "inputs": [
995
+ {
996
+ "internalType": "address",
997
+ "name": "initialOwner",
998
+ "type": "address"
999
+ },
1000
+ {
1001
+ "internalType": "address",
1002
+ "name": "registryAddress",
1003
+ "type": "address"
1004
+ }
1005
+ ],
1006
+ "name": "initializeNftOwnable",
1007
+ "outputs": [],
1008
+ "stateMutability": "nonpayable",
1009
+ "type": "function"
1010
+ },
1011
+ {
1012
+ "inputs": [
1013
+ {
1014
+ "internalType": "address",
1015
+ "name": "registryAddress",
1016
+ "type": "address"
1017
+ },
1018
+ {
1019
+ "internalType": "NftId",
1020
+ "name": "parentNftId",
1021
+ "type": "uint96"
1022
+ },
1023
+ {
1024
+ "internalType": "ObjectType",
1025
+ "name": "objectType",
1026
+ "type": "uint8"
1027
+ },
1028
+ {
1029
+ "internalType": "bool",
1030
+ "name": "isInterceptor",
1031
+ "type": "bool"
1032
+ },
1033
+ {
1034
+ "internalType": "address",
1035
+ "name": "initialOwner",
1036
+ "type": "address"
1037
+ },
1038
+ {
1039
+ "internalType": "bytes",
1040
+ "name": "registryData",
1041
+ "type": "bytes"
1042
+ }
1043
+ ],
1044
+ "name": "initializeRegisterable",
1045
+ "outputs": [],
1046
+ "stateMutability": "nonpayable",
1047
+ "type": "function"
1048
+ },
1049
+ {
1050
+ "inputs": [
1051
+ {
1052
+ "internalType": "address",
1053
+ "name": "registryAddress",
1054
+ "type": "address"
1055
+ }
1056
+ ],
1057
+ "name": "initializeRegistryLinked",
1058
+ "outputs": [],
1059
+ "stateMutability": "nonpayable",
1060
+ "type": "function"
1061
+ },
1062
+ {
1063
+ "inputs": [
1064
+ {
1065
+ "internalType": "address",
1066
+ "name": "registry",
1067
+ "type": "address"
1068
+ },
1069
+ {
1070
+ "internalType": "address",
1071
+ "name": "authority",
1072
+ "type": "address"
1073
+ },
1074
+ {
1075
+ "internalType": "address",
1076
+ "name": "initialOwner",
1077
+ "type": "address"
1078
+ }
1079
+ ],
1080
+ "name": "initializeService",
1081
+ "outputs": [],
1082
+ "stateMutability": "nonpayable",
1083
+ "type": "function"
1084
+ },
1085
+ {
1086
+ "inputs": [
1087
+ {
1088
+ "internalType": "address",
1089
+ "name": "activatedBy",
1090
+ "type": "address"
1091
+ },
1092
+ {
1093
+ "internalType": "bytes",
1094
+ "name": "data",
1095
+ "type": "bytes"
1096
+ }
1097
+ ],
1098
+ "name": "initializeVersionable",
1099
+ "outputs": [],
1100
+ "stateMutability": "nonpayable",
1101
+ "type": "function"
1102
+ },
1103
+ {
1104
+ "inputs": [],
1105
+ "name": "isConsumingScheduledOp",
1106
+ "outputs": [
1107
+ {
1108
+ "internalType": "bytes4",
1109
+ "name": "",
1110
+ "type": "bytes4"
1111
+ }
1112
+ ],
1113
+ "stateMutability": "view",
1114
+ "type": "function"
1115
+ },
1116
+ {
1117
+ "inputs": [],
1118
+ "name": "linkToRegisteredNftId",
1119
+ "outputs": [],
1120
+ "stateMutability": "nonpayable",
1121
+ "type": "function"
1122
+ },
1123
+ {
1124
+ "inputs": [
1125
+ {
1126
+ "internalType": "NftId",
1127
+ "name": "policyNftId",
1128
+ "type": "uint96"
1129
+ },
1130
+ {
1131
+ "internalType": "PayoutId",
1132
+ "name": "payoutId",
1133
+ "type": "uint24"
1134
+ }
1135
+ ],
1136
+ "name": "processPayout",
1137
+ "outputs": [],
1138
+ "stateMutability": "nonpayable",
1139
+ "type": "function"
1140
+ },
1141
+ {
1142
+ "inputs": [
1143
+ {
1144
+ "internalType": "bytes4",
1145
+ "name": "interfaceId",
1146
+ "type": "bytes4"
1147
+ }
1148
+ ],
1149
+ "name": "registerInterface",
1150
+ "outputs": [],
1151
+ "stateMutability": "nonpayable",
1152
+ "type": "function"
1153
+ },
1154
+ {
1155
+ "inputs": [
1156
+ {
1157
+ "internalType": "address",
1158
+ "name": "newAuthority",
1159
+ "type": "address"
1160
+ }
1161
+ ],
1162
+ "name": "setAuthority",
1163
+ "outputs": [],
1164
+ "stateMutability": "nonpayable",
1165
+ "type": "function"
1166
+ },
1167
+ {
1168
+ "inputs": [
1169
+ {
1170
+ "internalType": "NftId",
1171
+ "name": "policyNftId",
1172
+ "type": "uint96"
1173
+ },
1174
+ {
1175
+ "internalType": "Amount",
1176
+ "name": "claimAmount",
1177
+ "type": "uint96"
1178
+ },
1179
+ {
1180
+ "internalType": "bytes",
1181
+ "name": "claimData",
1182
+ "type": "bytes"
1183
+ }
1184
+ ],
1185
+ "name": "submitClaim",
1186
+ "outputs": [
1187
+ {
1188
+ "internalType": "ClaimId",
1189
+ "name": "claimId",
1190
+ "type": "uint16"
1191
+ }
1192
+ ],
1193
+ "stateMutability": "nonpayable",
1194
+ "type": "function"
1195
+ },
1196
+ {
1197
+ "inputs": [
1198
+ {
1199
+ "internalType": "bytes4",
1200
+ "name": "interfaceId",
1201
+ "type": "bytes4"
1202
+ }
1203
+ ],
1204
+ "name": "supportsInterface",
1205
+ "outputs": [
1206
+ {
1207
+ "internalType": "bool",
1208
+ "name": "",
1209
+ "type": "bool"
1210
+ }
1211
+ ],
1212
+ "stateMutability": "view",
1213
+ "type": "function"
1214
+ },
1215
+ {
1216
+ "inputs": [
1217
+ {
1218
+ "internalType": "bytes",
1219
+ "name": "data",
1220
+ "type": "bytes"
1221
+ }
1222
+ ],
1223
+ "name": "upgradeVersionable",
1224
+ "outputs": [],
1225
+ "stateMutability": "nonpayable",
1226
+ "type": "function"
1227
+ }
1228
+ ],
1229
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b615c0c80620000e66000396000f3fe608060405234801561001057600080fd5b50600436106102275760003560e01c80634d5e16a9116101305780639996c6b9116100b8578063bf7e214f1161007c578063bf7e214f1461050d578063caf4e3d41461052b578063cc9fc59a14610533578063f21de1e8146103ee578063f7c34ee01461053b57600080fd5b80639996c6b9146104b05780639ffcede9146104c3578063ada9652e146104d6578063b68d1809146104eb578063bbfbbfba146104fa57600080fd5b8063675393bf116100ff578063675393bf1461044e5780637a9e5e4b14610461578063893d20e8146104745780638e32e9791461047c5780638fb360371461048f57600080fd5b80634d5e16a9146103db5780635ab1bd53146103ee5780635fd1a5f514610413578063644c45e01461042657600080fd5b806327bb7a33116101b35780633c53258e116101825780633c53258e1461036b5780633d3cf0231461037e57806349bb9e4b1461038f5780634a7d34cb146103a25780634d4889ad146103b557600080fd5b806327bb7a331461032a57806327c054b71461033d578063329d6e741461035057806336fc697e1461036357600080fd5b80630fec111c116101fa5780630fec111c146102b2578063138461e0146102c75780631c817972146102cf5780631eff4b22146102e2578063214cdb801461031757600080fd5b806301a57efc1461022c57806301ffc9a7146102415780630aaba8e8146102835780630d8e6e2c14610296575b600080fd5b61023f61023a366004614770565b61054e565b005b61026e61024f3660046147a9565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023f6102913660046147d3565b610698565b61029e610b6f565b60405162ffffff909116815260200161027a565b6102ba610bf9565b60405161027a9190614840565b61023f610dad565b61023f6102dd3660046148ec565b610faf565b6103097f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161027a565b61023f6103253660046147a9565b611388565b61023f610338366004614ad1565b6113b5565b61023f61034b366004614b7a565b611441565b61023f61035e366004614ba8565b6115d7565b61023f611724565b61029e610379366004614bdc565b61176a565b61023f61038c3660046147d3565b50565b61023f61039d366004614c50565b611af4565b61023f6103b0366004614770565b611bee565b6103c86103c3366004614c9f565b611d2d565b60405161ffff909116815260200161027a565b61023f6103e9366004614d00565b6123a0565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161027a565b610309610421366004614d2e565b612617565b600080516020615b77833981519152546040516001600160601b03909116815260200161027a565b61023f61045c366004614d50565b612720565b61023f61046f366004614d50565b61282d565b6103fb6128c7565b61023f61048a366004614d6d565b6129fe565b610497612c37565b6040516001600160e01b0319909116815260200161027a565b61023f6104be366004614dad565b612c6f565b61023f6104d13660046147d3565b612dce565b610309600080516020615b7783398151915281565b60405160d3815260200161027a565b61023f610508366004614d00565b612e20565b600080516020615b97833981519152546001600160a01b03166103fb565b6103fb613183565b6103fb61318f565b61023f610549366004614ded565b61319b565b600080600061055c85613212565b6004805460405163a0e4494d60e01b81529497509295509093506001600160a01b039091169163a0e4494d9161059a91879187918b918b9101614e1b565b600060405180830381600087803b1580156105b457600080fd5b505af11580156105c8573d6000803e3d6000fd5b50505050600181610160018181516105e09190614e66565b61ffff1690525060405163cbe8642560e01b81526001600160a01b0384169063cbe8642590610618908890859060ff90600401614fcf565b600060405180830381600087803b15801561063257600080fd5b505af1158015610646573d6000803e3d6000fd5b5050604080516001600160601b038916815261ffff881660208201527f77e6967c9588f9075fc07841c0d009a55111911ce2745eb58d0333272c9ca3ac93500190505b60405180910390a15050505050565b60006106a4606e6133d8565b925050506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061070c9190615004565b60405163bd7d9d8560e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa15801561075f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261078791908101906150a4565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af41580156107e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080b9190615231565b15610839576040516308cbe08b60e21b81526001600160601b03851660048201526024015b60405180910390fd5b604051639096a1f360e01b81526001600160601b03851660048201526000906001600160a01b03841690639096a1f390602401602060405180830381865afa158015610889573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ad9190615259565b905060ff81166064146108e757604051634de91cf360e11b81526001600160601b038616600482015260ff82166024820152604401610830565b6101e0820151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af4158015610944573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109689190615231565b1561099157604051634b80547760e11b81526001600160601b0386166004820152602401610830565b8160c001518260a00151146109db5760a082015160c0830151604051632b14368360e11b81526001600160601b038816600482015260248101929092526044820152606401610830565b61016082015161ffff1615610a1f5761016082015160405163a5bb07ed60e01b81526001600160601b038716600482015261ffff9091166024820152604401610830565b73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610a68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a8c9190615276565b64ffffffffff166101e0830152600654604051632f2e849d60e21b81526001600160a01b039091169063bcba127490610acd90879089908790600401615293565b600060405180830381600087803b158015610ae757600080fd5b505af1158015610afb573d6000803e3d6000fd5b50505050836001600160a01b031663cbe864258684610b1860c890565b6040518463ffffffff1660e01b8152600401610b3693929190614fcf565b600060405180830381600087803b158015610b5057600080fd5b505af1158015610b64573d6000803e3d6000fd5b505050505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610bd0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bf491906152cf565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b90910416151591810191909152600182018054919291606084019190610ca9906152ec565b80601f0160208091040260200160405190810160405280929190818152602001828054610cd5906152ec565b8015610d225780601f10610cf757610100808354040283529160200191610d22565b820191906000526020600020905b815481529060010190602001808311610d0557829003601f168201915b50505050508152505090506040518060e00160405280610d40600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610d916128c7565b6001600160a01b03168152602001826060015181525091505090565b6000600080516020615b7783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610e1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e409190615231565b15610e6c5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610830565b30610e7f6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610ec7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eeb9190615231565b610f135760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610830565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610f67573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f8b9190615326565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b600080610fbc606e6133d8565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611001573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110259190615004565b60405163bd7d9d8560e01b81526001600160601b03881660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015611078573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526110a091908101906150a4565b80519091506001600160601b038581169116146110ff5760405162461bcd60e51b815260206004820152601760248201527f504f4c4943595f50524f445543545f4d49534d415443480000000000000000006044820152606401610830565b604051639096a1f360e01b81526001600160601b038816600482015261117d906001600160a01b03841690639096a1f390602401602060405180830381865afa158015611150573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111749190615259565b60ff16600a1490565b6111c95760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032313a53544154455f4e4f545f4150504c494544006044820152606401610830565b602864ffffffffff86161561127e57606464ffffffffff8781166101a0850181905260e08501516040516352bcc5a760e11b81526004810192909252909116602482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063a5798b4e90604401602060405180830381865af415801561124c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112709190615276565b64ffffffffff166101c08301525b600087156112b157611295858a8560a00151613600565b90508260a001518360c0018181516112ad9190615343565b9052505b60405163cbe8642560e01b81526001600160a01b0386169063cbe86425906112e1908c9087908790600401614fcf565b600060405180830381600087803b1580156112fb57600080fd5b505af115801561130f573d6000803e3d6000fd5b505060065460405163363b3b3960e11b81526001600160a01b039091169250636c767672915061134b9088908a908e9089908890600401615356565b600060405180830381600087803b15801561136557600080fd5b505af1158015611379573d6000803e3d6000fd5b50505050505050505050505050565b611390613f4f565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6113bd613f4f565b6113c7828761319b565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b8615150217815590506001810161143783826153f1565b5050505050505050565b600080600061144f85613212565b60048054604051630c02e8ad60e01b81526001600160a01b038087169382019390935282851660248201526001600160601b038b16604482015262ffffff8a16606482015294975092955090935060009283929190911690630c02e8ad9060840160408051808303816000875af11580156114ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114f291906154b0565b91509150801561157b57600183610160018181516115109190614e66565b61ffff1690525060405163cbe8642560e01b81526001600160a01b0386169063cbe8642590611548908a90879060ff90600401614fcf565b600060405180830381600087803b15801561156257600080fd5b505af1158015611576573d6000803e3d6000fd5b505050505b604080516001600160601b03808a16825262ffffff891660208301528416918101919091527f902f21240dd81ead776e9f49b4c2b8640514e4d1705c450f6e50bab12ec03543906060015b60405180910390a150505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6115f9610b6f565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611639573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061165d91906154df565b600080516020615bb78339815191528054600160401b900460ff1680611690575080546001600160401b03808416911610155b156116ae5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556116d883613f88565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b61172c613f4f565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b60008060008061177988613212565b60405163a7ef3d2160e01b81526001600160601b038c16600482015261ffff8b16602482015292955090935091506000906001600160a01b0384169063a7ef3d2190604401600060405180830381865afa1580156117db573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526118039190810190615508565b60405163078ae93560e41b81526001600160601b038b16600482015261ffff8a1660248201529091506000906001600160a01b038516906378ae935090604401602060405180830381865afa158015611860573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118849190615259565b905060008260400151600161189991906155cf565b60405163d5b5ee5d60e01b815261ffff8c16600482015260ff8216602482015290915073__$e1d43d4fb5c0494c5b7331f52c1ee41012$__9063d5b5ee5d90604401602060405180830381865af41580156118f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061191c91906152cf565b9650600460009054906101000a90046001600160a01b03166001600160a01b031663fe7631d5878d8a8d8d6040518663ffffffff1660e01b81526004016119679594939291906155e8565b600060405180830381600087803b15801561198157600080fd5b505af1158015611995573d6000803e3d6000fd5b5050505061018084015160405163274acb3560e01b81526001600160601b039182166004820152908a16602482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063274acb3590604401602060405180830381865af4158015611a00573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a249190615326565b5060405163cbe8642560e01b81526001600160a01b0387169063cbe8642590611a56908e90889060ff90600401614fcf565b600060405180830381600087803b158015611a7057600080fd5b505af1158015611a84573d6000803e3d6000fd5b505050507f49582759c7297fe14c480e8acab67b42fd37c9f3004b859c9a0e7bdd97bfca728b888b604051611ade939291906001600160601b03938416815262ffffff929092166020830152909116604082015260600190565b60405180910390a1505050505050949350505050565b600080516020615bb78339815191528054600160401b810460ff1615906001600160401b0316600081158015611b275750825b90506000826001600160401b03166001148015611b435750303b155b905081158015611b51575080155b15611b6f5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611b9957845460ff60401b1916600160401b1785555b611ba38787613f90565b8315611be557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020016115c6565b50505050505050565b6000806000611bfc85613212565b60048054604051632ecc6ca560e21b81529497509295509093506001600160a01b039091169163bb31b29491611c3a91879187918b918b9101614e1b565b600060405180830381600087803b158015611c5457600080fd5b505af1158015611c68573d6000803e3d6000fd5b5050505060018161016001818151611c809190614e66565b61ffff1690525060405163cbe8642560e01b81526001600160a01b0384169063cbe8642590611cb8908890859060ff90600401614fcf565b600060405180830381600087803b158015611cd257600080fd5b505af1158015611ce6573d6000803e3d6000fd5b5050604080516001600160601b038916815261ffff881660208201527fe3ce18abb523f21452f7ac3d58c5f9377fd1d33be26b261de38c988bbb8880ea9350019050610689565b600080600080611d3c87613212565b6101a081015160405163790a38ad60e01b815264ffffffffff9091166004820152929550909350915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015611da1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dc59190615231565b80611e515750611e5173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611e17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e3b9190615276565b826101c0015164ffffffffff9081169116101590565b15611e7a57604051630479f37160e41b81526001600160601b0388166004820152602401610830565b608081015160405163046e44af60e11b81526001600160601b038816600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906308dc895e90602401602060405180830381865af4158015611ed7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611efb9190615639565b61018083015160405163046e44af60e11b81526001600160601b03909116600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906308dc895e90602401602060405180830381865af4158015611f5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f7e9190615639565b611f889190615343565b11156121b4576080810151604051632620eecb60e11b8152889173__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__91634c41dd9691611fce9160040190815260200190565b602060405180830381865af4158015611feb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061200f9190615326565b60405163046e44af60e11b81526001600160601b038916600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__90634c41dd969082906308dc895e90602401602060405180830381865af415801561206f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120939190615639565b61018086015160405163046e44af60e11b81526001600160601b03909116600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906308dc895e90602401602060405180830381865af41580156120f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121169190615639565b6121209190615343565b6040518263ffffffff1660e01b815260040161213e91815260200190565b602060405180830381865af415801561215b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061217f9190615326565b6040516350be842960e01b81526001600160601b03938416600482015291831660248301529091166044820152606401610830565b73__$0e0c503522f35343ef1955427c5075b143$__639cc45a3682610140015160016121e09190615652565b6040516001600160e01b031960e084901b16815261ffff9091166004820152602401602060405180830381865af415801561221f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612243919061566d565b6004805460405163c898bbaf60e01b81529296506001600160a01b03169163c898bbaf9161227b9187918c918a918d918d910161568a565b600060405180830381600087803b15801561229557600080fd5b505af11580156122a9573d6000803e3d6000fd5b50505050600181610140018181516122c19190615652565b61ffff1690525061016081018051600191906122de908390615652565b61ffff1690525060405163cbe8642560e01b81526001600160a01b0384169063cbe8642590612316908a90859060ff90600401614fcf565b600060405180830381600087803b15801561233057600080fd5b505af1158015612344573d6000803e3d6000fd5b5050604080516001600160601b038b8116825261ffff891660208301528a168183015290517f4b55d90307f307fd56cbb5e999a830a5db89f39b367ad6a6191172bc9700ef2e9350908190036060019150a15050509392505050565b60006123ac606e6133d8565b925050506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156123f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124149190615004565b60405163bd7d9d8560e01b81526001600160601b03861660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015612467573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261248f91908101906150a4565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af41580156124ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125139190615231565b61255f5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032303a414c52454144595f414354495641544544006044820152606401610830565b64ffffffffff8481166101a0830181905260e08301516040516352bcc5a760e11b81526004810192909252909116602482015273__$d53880c81dc91c20799140d711e5ab8718$__9063a5798b4e90604401602060405180830381865af41580156125ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125f29190615276565b64ffffffffff166101c08201526001600160a01b03831663cbe8642586836064610b18565b6040516322f5db0f60e11b815260048101829052600090819073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af415801561266c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126909190615639565b9050600061269e8583614427565b604051632255341b60e11b81526004810182905290915073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156126f1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127159190615639565b925050505b92915050565b612728613f4f565b806001600160a01b03163b60000361275e5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610830565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa9250505080156127d8575060408051601f3d908101601f191682019092526127d591810190615231565b60015b6128005760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610830565b806128295760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610830565b5050565b3361284d600080516020615b97833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b0316146128885760405162d1953b60e31b81526001600160a01b0382166004820152602401610830565b816001600160a01b03163b6000036128be576040516361798f2f60e11b81526001600160a01b0383166004820152602401610830565b6128298261443c565b600080600080516020615b7783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015612937573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061295b9190615231565b156129e8576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156129be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129e29190615004565b91505090565b54600160601b90046001600160a01b0316919050565b612a06613f4f565b612a8683846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612a48573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a6c9190615326565b603c600085604051806020016040528060008152506113b5565b6001600160a01b03821615612aa357612a9e8261449d565b612c12565b6000612ab76001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015612b17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b3b9190615259565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612b80573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ba49190615004565b9050612c10816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612be7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c0b9190615004565b61449d565b505b612c22634a531f3360e01b611388565b612c3263b68d180960e01b611388565b505050565b600080516020615b97833981519152805460009190600160a01b900460ff16612c615760006129e2565b638fb3603760e01b91505090565b6000806000612c7d86613212565b6004805460405163b962574f60e01b81526001600160a01b038087169382019390935282851660248201526001600160601b03808d16604483015261ffff8c1660648301528a166084820152949750929550909350169063b962574f9060a401600060405180830381600087803b158015612cf757600080fd5b505af1158015612d0b573d6000803e3d6000fd5b50505050826001600160a01b031663cbe864258783612d28603390565b6040518463ffffffff1660e01b8152600401612d4693929190614fcf565b600060405180830381600087803b158015612d6057600080fd5b505af1158015612d74573d6000803e3d6000fd5b5050604080516001600160601b038a8116825261ffff8a16602083015288168183015290517f717b1d3270371ccb32ccdefe73a57559ac67e1ea57b50cfff6f7c85be1267b089350908190036060019150a1505050505050565b60405162461bcd60e51b815260206004820152602160248201527f4552524f523a5052532d3233353a4e4f545f5945545f494d504c454d454e54456044820152601160fa1b6064820152608401610830565b600080612e2d606e6133d8565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612e72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e969190615004565b60405163bd7d9d8560e01b81526001600160601b03871660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015612ee9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612f1191908101906150a4565b90508060a001518160c0015103612f535760c081015160405163038a855760e51b81526001600160601b03881660048201526024810191909152604401610830565b60008160c001518260a00151612f6991906156da565b90506000612f78858984613600565b9050818360c001818151612f8c9190615343565b9052506003546020840151604051639babe3bf60e01b81526001600160a01b0388811660048301526001600160601b03909216602482015260448101849052911690639babe3bf90606401600060405180830381600087803b158015612ff157600080fd5b505af1158015613005573d6000803e3d6000fd5b50505050846001600160a01b031663cbe86425898561302260ff90565b6040518463ffffffff1660e01b815260040161304093929190614fcf565b600060405180830381600087803b15801561305a57600080fd5b505af115801561306e573d6000803e3d6000fd5b5050604051638d38cd4b60e01b815264ffffffffff8a16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9250638d38cd4b9150602401602060405180830381865af41580156130c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130ec9190615231565b801561317457506101a083015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015613150573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131749190615231565b156114375761143788886123a0565b6000610bf460286144ae565b6000610bf460466144ae565b6131a3613f4f565b6131ac81612720565b6131b4611724565b6001600160a01b0382166131db5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020615b7783398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e0810182905281908161329e606e6133d8565b90508095508192505050836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156132e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061330a9190615004565b60405163bd7d9d8560e01b81526001600160601b03871660048201529093506001600160a01b0384169063bd7d9d8590602401600060405180830381865afa15801561335a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261338291908101906150a4565b80519092506001600160601b038281169116146133d0578151604051631a06208360e01b81526001600160601b03808816600483015291821660248201529082166044820152606401610830565b509193909250565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201526000806134246001546001600160a01b031690565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa15801561346b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261349391908101906156ed565b92506134a983604001518660ff90811691161490565b6134eb5760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b6044820152606401610830565b826000015193506134ff83602001516145bb565b9150816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa15801561353f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135639190615004565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa1580156135ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135d19190615231565b156133d057608083015160405163d53987e560e01b81526001600160a01b039091166004820152602401610830565b60008115613f4857600061361c6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801561366b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261369391908101906156ed565b6020015190506000856001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156136d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136fd9190615004565b60405163242bdc1960e21b81526001600160601b03841660048201526001600160a01b0391909116906390af70649060240161014060405180830381865afa15801561374d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613771919061580d565b90506000866001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156137b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137d79190615004565b60405163bd7d9d8560e01b81526001600160601b03881660048201526001600160a01b03919091169063bd7d9d8590602401600060405180830381865afa158015613826573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261384e91908101906150a4565b6020830151909150600061386a6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b038a1660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156138b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138dd9190615004565b90506000896001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561391f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139439190615004565b606086015160405163f0ea17c360e01b81526001600160601b0390911660048201526001600160a01b03919091169063f0ea17c390602401600060405180830381865afa158015613998573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526139c091908101906158b5565b6060015190506000600260009054906101000a90046001600160a01b03166001600160a01b03166370e314e888876060015188608001518960e001518a61010001518b602001518c604001516040518863ffffffff1660e01b8152600401613a2e9796959493929190615968565b6101e060405180830381865afa158015613a4c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a7091906159ce565b905088816040015114613ab55760408082015190516355e9883560e11b81526001600160601b038c166004820152602481018b90526044810191909152606401610830565b60008660e0015190508160400151856001600160a01b03166321df0da76040518163ffffffff1660e01b8152600401602060405180830381865afa158015613b01573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b259190615004565b604051636eb1769f60e11b81526001600160a01b0387811660048301528881166024830152919091169063dd62ed3e90604401602060405180830381865afa158015613b75573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b999190615639565b1015613bc25783858360400151604051636d675c4360e01b815260040161083093929190615a89565b846001600160a01b031663beabacc885838560e001518660600151613be79190615343565b6040518463ffffffff1660e01b8152600401613c0593929190615a89565b600060405180830381600087803b158015613c1f57600080fd5b505af1158015613c33573d6000803e3d6000fd5b5050505060008c6001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015613c77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613c9b9190615004565b6040808a01519051639ad69c6760e01b81526001600160601b0390911660048201526001600160a01b039190911690639ad69c679060240161010060405180830381865afa158015613cf1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613d159190615aad565b90506000816080015190506000846101c001518561014001518660c00151613d3d9190615343565b613d4791906156da565b6040516317d5759960e31b81529091506001600160a01b0389169063beabacc890613d7a908a9086908690600401615a89565b600060405180830381600087803b158015613d9457600080fd5b505af1158015613da8573d6000803e3d6000fd5b505060055460408d8101518d820151825163d25f509560e01b81526001600160601b0390921660048301526001600160c01b03191660248201528951604482015260208a01516064820152908901516084820152606089015160a4820152608089015160c482015260a089015160e482015260c089015161010482015260e08901516101248201526101008901516101448201526101208901516101648201526101408901516101848201526101608901516101a48201526101808901516101c48201526101a08901516101e48201526101c089015161020482015261022481018590526001600160a01b03909116925063d25f5095915061024401600060405180830381600087803b158015613ebe57600080fd5b505af1158015613ed2573d6000803e3d6000fd5b505086516040516317d5759960e31b81526001600160a01b038c16935063beabacc89250613f07918b918b9190600401615a89565b600060405180830381600087803b158015613f2157600080fd5b505af1158015613f35573d6000803e3d6000fd5b505095519c505050505050505050505050505b9392505050565b600080516020615bb783398151915254600160401b900460ff16613f8657604051631afcd79f60e31b815260040160405180910390fd5b565b610227613f4f565b600080516020615bb78339815191528054600160401b810460ff1615906001600160401b0316600081158015613fc35750825b90506000826001600160401b03166001148015613fdf5750303b155b905081158015613fed575080155b1561400b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561403557845460ff60401b1916600160401b1785555b6000808780602001905181019061404c9190615b31565b909250905061405d8260008b6129fe565b6000614067610b6f565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156140bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906140e09190615259565b90506140f46001546001600160a01b031690565b6001600160a01b031663d39e6043608c6040516001600160e01b031960e084901b16815260ff91821660048201529084166024820152604401602060405180830381865afa15801561414a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061416e9190615004565b600680546001600160a01b0319166001600160a01b039283161790556001541663d39e604360dc6040516001600160e01b031960e084901b16815260ff91821660048201529084166024820152604401602060405180830381865afa1580156141db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906141ff9190615004565b600380546001600160a01b0319166001600160a01b039283161790556001541663d39e604360d46040516001600160e01b031960e084901b16815260ff91821660048201529084166024820152604401602060405180830381865afa15801561426c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906142909190615004565b600480546001600160a01b0319166001600160a01b039283161790556001541663d39e604360d26040516001600160e01b031960e084901b16815260ff91821660048201529084166024820152604401602060405180830381865afa1580156142fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906143219190615004565b600280546001600160a01b0319166001600160a01b039283161790556001541663d39e604360786040516001600160e01b031960e084901b16815260ff91821660048201529084166024820152604401602060405180830381865afa15801561438e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906143b29190615004565b600580546001600160a01b0319166001600160a01b03929092169190911790556143e2632642ed2b60e21b611388565b5050508315611be557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020016115c6565b6000613f488383670de0b6b3a7640000614650565b600080516020615b9783398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6144a5613f4f565b61038c8161473a565b60006144c26001546001600160a01b031690565b6001600160a01b031663d39e6043836144d9610b6f565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801561452e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906145529190615259565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015614597573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061271a9190615004565b60006145cf6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801561461e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261464691908101906156ed565b6080015192915050565b600080806000198587098587029250828110838203039150508060000361468a5783828161468057614680615b60565b0492505050613f48565b8084116146d15760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b6044820152606401610830565b60008486880960026001871981018816978890046003810283188082028403028082028403028082028403028082028403028082028403029081029092039091026000889003889004909101858311909403939093029303949094049190911702949350505050565b614742613f4f565b61038c8161443c565b6001600160601b038116811461038c57600080fd5b61ffff8116811461038c57600080fd5b6000806040838503121561478357600080fd5b823561478e8161474b565b9150602083013561479e81614760565b809150509250929050565b6000602082840312156147bb57600080fd5b81356001600160e01b031981168114613f4857600080fd5b6000602082840312156147e557600080fd5b8135613f488161474b565b60005b8381101561480b5781810151838201526020016147f3565b50506000910152565b6000815180845261482c8160208601602086016147f0565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516148a960c08401826001600160a01b03169052565b5060c083015160e0808401526148c3610100840182614814565b949350505050565b801515811461038c57600080fd5b64ffffffffff8116811461038c57600080fd5b60008060006060848603121561490157600080fd5b833561490c8161474b565b9250602084013561491c816148cb565b9150604084013561492c816148d9565b809150509250925092565b6001600160a01b038116811461038c57600080fd5b60ff8116811461038c57600080fd5b634e487b7160e01b600052604160045260246000fd5b60405161020081016001600160401b03811182821017156149945761499461495b565b60405290565b60405160c081016001600160401b03811182821017156149945761499461495b565b60405160e081016001600160401b03811182821017156149945761499461495b565b60405161010081016001600160401b03811182821017156149945761499461495b565b6040516101e081016001600160401b03811182821017156149945761499461495b565b604051601f8201601f191681016001600160401b0381118282101715614a4c57614a4c61495b565b604052919050565b60006001600160401b03821115614a6d57614a6d61495b565b50601f01601f191660200190565b600082601f830112614a8c57600080fd5b8135614a9f614a9a82614a54565b614a24565b818152846020838601011115614ab457600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215614aea57600080fd5b8635614af581614937565b95506020870135614b058161474b565b94506040870135614b158161494c565b93506060870135614b25816148cb565b92506080870135614b3581614937565b915060a08701356001600160401b03811115614b5057600080fd5b614b5c89828a01614a7b565b9150509295509295509295565b62ffffff8116811461038c57600080fd5b60008060408385031215614b8d57600080fd5b8235614b988161474b565b9150602083013561479e81614b69565b600060208284031215614bba57600080fd5b81356001600160401b03811115614bd057600080fd5b6148c384828501614a7b565b60008060008060808587031215614bf257600080fd5b8435614bfd8161474b565b93506020850135614c0d81614760565b92506040850135614c1d8161474b565b915060608501356001600160401b03811115614c3857600080fd5b614c4487828801614a7b565b91505092959194509250565b60008060408385031215614c6357600080fd5b8235614c6e81614937565b915060208301356001600160401b03811115614c8957600080fd5b614c9585828601614a7b565b9150509250929050565b600080600060608486031215614cb457600080fd5b8335614cbf8161474b565b92506020840135614ccf8161474b565b915060408401356001600160401b03811115614cea57600080fd5b614cf686828701614a7b565b9150509250925092565b60008060408385031215614d1357600080fd5b8235614d1e8161474b565b9150602083013561479e816148d9565b60008060408385031215614d4157600080fd5b50508035926020909101359150565b600060208284031215614d6257600080fd5b8135613f4881614937565b600080600060608486031215614d8257600080fd5b8335614d8d81614937565b92506020840135614d9d81614937565b9150604084013561492c81614937565b600080600060608486031215614dc257600080fd5b8335614dcd8161474b565b92506020840135614ddd81614760565b9150604084013561492c8161474b565b60008060408385031215614e0057600080fd5b8235614e0b81614937565b9150602083013561479e81614937565b6001600160a01b0394851681529290931660208301526001600160601b0316604082015261ffff909116606082015260800190565b634e487b7160e01b600052601160045260246000fd5b61ffff828116828216039080821115614e8157614e81614e50565b5092915050565b80516001600160601b0316825260006102006020830151614eb460208601826001600160601b03169052565b506040830151614ed060408601826001600160c01b0319169052565b506060830151614eec60608601826001600160c01b0319169052565b506080830151608085015260a083015160a085015260c083015160c085015260e0830151614f2360e086018264ffffffffff169052565b50610100808401518282870152614f3c83870182614814565b925050506101208084015185830382870152614f588382614814565b9250505061014080840151614f728287018261ffff169052565b50506101608381015161ffff1690850152610180808401516001600160601b0316908501526101a08084015164ffffffffff908116918601919091526101c0808501518216908601526101e0938401511692909301919091525090565b6001600160601b0384168152606060208201526000614ff16060830185614e88565b905060ff83166040830152949350505050565b60006020828403121561501657600080fd5b8151613f4881614937565b805161502c8161474b565b919050565b80516001600160c01b03198116811461502c57600080fd5b805161502c816148d9565b600082601f83011261506557600080fd5b8151615073614a9a82614a54565b81815284602083860101111561508857600080fd5b6148c38260208301602087016147f0565b805161502c81614760565b6000602082840312156150b657600080fd5b81516001600160401b03808211156150cd57600080fd5b9083019061020082860312156150e257600080fd5b6150ea614971565b6150f383615021565b815261510160208401615021565b602082015261511260408401615031565b604082015261512360608401615031565b60608201526080830151608082015260a083015160a082015260c083015160c082015261515260e08401615049565b60e0820152610100808401518381111561516b57600080fd5b61517788828701615054565b828401525050610120808401518381111561519157600080fd5b61519d88828701615054565b82840152505061014091506151b3828401615099565b8282015261016091506151c7828401615099565b8282015261018091506151db828401615021565b828201526101a091506151ef828401615049565b828201526101c09150615203828401615049565b828201526101e09150615217828401615049565b91810191909152949350505050565b805161502c816148cb565b60006020828403121561524357600080fd5b8151613f48816148cb565b805161502c8161494c565b60006020828403121561526b57600080fd5b8151613f488161494c565b60006020828403121561528857600080fd5b8151613f48816148d9565b6001600160a01b03841681526001600160601b03831660208201526060604082018190526000906152c690830184614e88565b95945050505050565b6000602082840312156152e157600080fd5b8151613f4881614b69565b600181811c9082168061530057607f821691505b60208210810361532057634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561533857600080fd5b8151613f488161474b565b8082018082111561271a5761271a614e50565b6001600160a01b03861681526001600160601b0385811660208301528416604082015260a06060820181905260009061539190830185614e88565b90508260808301529695505050505050565b601f821115612c3257600081815260208120601f850160051c810160208610156153ca5750805b601f850160051c820191505b818110156153e9578281556001016153d6565b505050505050565b81516001600160401b0381111561540a5761540a61495b565b61541e8161541884546152ec565b846153a3565b602080601f831160018114615453576000841561543b5750858301515b600019600386901b1c1916600185901b1785556153e9565b600085815260208120601f198616915b8281101561548257888601518255948401946001909101908401615463565b50858210156154a05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600080604083850312156154c357600080fd5b82516154ce8161474b565b602084015190925061479e816148cb565b6000602082840312156154f157600080fd5b81516001600160401b0381168114613f4857600080fd5b60006020828403121561551a57600080fd5b81516001600160401b038082111561553157600080fd5b9083019060c0828603121561554557600080fd5b61554d61499a565b82516155588161474b565b815260208301516155688161474b565b6020820152604083015161557b8161494c565b604082015261558c6060840161524e565b60608201526080830151828111156155a357600080fd5b6155af87828601615054565b6080830152506155c160a08401615049565b60a082015295945050505050565b60ff818116838216019081111561271a5761271a614e50565b6001600160a01b03861681526001600160601b03858116602083015262ffffff851660408301528316606082015260a06080820181905260009061562e90830184614814565b979650505050505050565b60006020828403121561564b57600080fd5b5051919050565b61ffff818116838216019080821115614e8157614e81614e50565b60006020828403121561567f57600080fd5b8151613f4881614760565b6001600160a01b03861681526001600160601b03858116602083015261ffff851660408301528316606082015260a06080820181905260009061562e90830184614814565b805161502c81614937565b8181038181111561271a5761271a614e50565b6000602082840312156156ff57600080fd5b81516001600160401b038082111561571657600080fd5b9083019060e0828603121561572a57600080fd5b6157326149bc565b61573b83615021565b815261574960208401615021565b602082015261575a6040840161524e565b604082015261576b60608401615226565b606082015261577c608084016156cf565b608082015261578d60a084016156cf565b60a082015260c0830151828111156157a457600080fd5b6157b087828601615054565b60c08301525095945050505050565b6000604082840312156157d157600080fd5b604051604081018181106001600160401b03821117156157f3576157f361495b565b604052825181526020928301519281019290925250919050565b6000610140828403121561582057600080fd5b6158286149de565b615831836156cf565b815261583f602084016156cf565b602082015261585060408401615021565b604082015261586160608401615021565b606082015261587384608085016157bf565b60808201526158858460c085016157bf565b60a08201526158976101008401615226565b60c08201526158a961012084016156cf565b60e08201529392505050565b6000602082840312156158c757600080fd5b81516001600160401b03808211156158de57600080fd5b9083019060e082860312156158f257600080fd5b6158fa6149bc565b82518281111561590957600080fd5b61591587828601615054565b825250615924602084016156cf565b6020820152615935604084016156cf565b6040820152615946606084016156cf565b606082015261595760808401615021565b608082015261578d60a08401615021565b60006001600160601b03808a1683526001600160401b0360c01b808a16602085015288604085015264ffffffffff8816606085015260e060808501526159b160e0850188614814565b9590911660a08401529290921660c0909101525095945050505050565b60006101e082840312156159e157600080fd5b6159e9614a01565b825181526020808401519082015260408084015190820152606080840151908201526080808401519082015260a0808401519082015260c0808401519082015260e08084015190820152610100808401519082015261012080840151908201526101408084015190820152610160808401519082015261018080840151908201526101a080840151908201526101c0928301519281019290925250919050565b6001600160a01b039384168152919092166020820152604081019190915260600190565b60006101008284031215615ac057600080fd5b615ac861499a565b8251615ad38161474b565b81526020830151615ae381614937565b6020820152615af584604085016157bf565b6040820152615b0784608085016157bf565b606082015260c0830151615b1a81614937565b608082015260e0929092015160a083015250919050565b60008060408385031215615b4457600080fd5b8251615b4f81614937565b602084015190925061479e81614937565b634e487b7160e01b600052601260045260246000fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220a3faa40aa0d8c89f8e8fa3b50535b2174edb340d8a799d59476a9aec55fd71d664736f6c63430008140033",
1230
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106102275760003560e01c80634d5e16a9116101305780639996c6b9116100b8578063bf7e214f1161007c578063bf7e214f1461050d578063caf4e3d41461052b578063cc9fc59a14610533578063f21de1e8146103ee578063f7c34ee01461053b57600080fd5b80639996c6b9146104b05780639ffcede9146104c3578063ada9652e146104d6578063b68d1809146104eb578063bbfbbfba146104fa57600080fd5b8063675393bf116100ff578063675393bf1461044e5780637a9e5e4b14610461578063893d20e8146104745780638e32e9791461047c5780638fb360371461048f57600080fd5b80634d5e16a9146103db5780635ab1bd53146103ee5780635fd1a5f514610413578063644c45e01461042657600080fd5b806327bb7a33116101b35780633c53258e116101825780633c53258e1461036b5780633d3cf0231461037e57806349bb9e4b1461038f5780634a7d34cb146103a25780634d4889ad146103b557600080fd5b806327bb7a331461032a57806327c054b71461033d578063329d6e741461035057806336fc697e1461036357600080fd5b80630fec111c116101fa5780630fec111c146102b2578063138461e0146102c75780631c817972146102cf5780631eff4b22146102e2578063214cdb801461031757600080fd5b806301a57efc1461022c57806301ffc9a7146102415780630aaba8e8146102835780630d8e6e2c14610296575b600080fd5b61023f61023a366004614770565b61054e565b005b61026e61024f3660046147a9565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023f6102913660046147d3565b610698565b61029e610b6f565b60405162ffffff909116815260200161027a565b6102ba610bf9565b60405161027a9190614840565b61023f610dad565b61023f6102dd3660046148ec565b610faf565b6103097f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161027a565b61023f6103253660046147a9565b611388565b61023f610338366004614ad1565b6113b5565b61023f61034b366004614b7a565b611441565b61023f61035e366004614ba8565b6115d7565b61023f611724565b61029e610379366004614bdc565b61176a565b61023f61038c3660046147d3565b50565b61023f61039d366004614c50565b611af4565b61023f6103b0366004614770565b611bee565b6103c86103c3366004614c9f565b611d2d565b60405161ffff909116815260200161027a565b61023f6103e9366004614d00565b6123a0565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161027a565b610309610421366004614d2e565b612617565b600080516020615b77833981519152546040516001600160601b03909116815260200161027a565b61023f61045c366004614d50565b612720565b61023f61046f366004614d50565b61282d565b6103fb6128c7565b61023f61048a366004614d6d565b6129fe565b610497612c37565b6040516001600160e01b0319909116815260200161027a565b61023f6104be366004614dad565b612c6f565b61023f6104d13660046147d3565b612dce565b610309600080516020615b7783398151915281565b60405160d3815260200161027a565b61023f610508366004614d00565b612e20565b600080516020615b97833981519152546001600160a01b03166103fb565b6103fb613183565b6103fb61318f565b61023f610549366004614ded565b61319b565b600080600061055c85613212565b6004805460405163a0e4494d60e01b81529497509295509093506001600160a01b039091169163a0e4494d9161059a91879187918b918b9101614e1b565b600060405180830381600087803b1580156105b457600080fd5b505af11580156105c8573d6000803e3d6000fd5b50505050600181610160018181516105e09190614e66565b61ffff1690525060405163cbe8642560e01b81526001600160a01b0384169063cbe8642590610618908890859060ff90600401614fcf565b600060405180830381600087803b15801561063257600080fd5b505af1158015610646573d6000803e3d6000fd5b5050604080516001600160601b038916815261ffff881660208201527f77e6967c9588f9075fc07841c0d009a55111911ce2745eb58d0333272c9ca3ac93500190505b60405180910390a15050505050565b60006106a4606e6133d8565b925050506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061070c9190615004565b60405163bd7d9d8560e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa15801561075f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261078791908101906150a4565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af41580156107e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080b9190615231565b15610839576040516308cbe08b60e21b81526001600160601b03851660048201526024015b60405180910390fd5b604051639096a1f360e01b81526001600160601b03851660048201526000906001600160a01b03841690639096a1f390602401602060405180830381865afa158015610889573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ad9190615259565b905060ff81166064146108e757604051634de91cf360e11b81526001600160601b038616600482015260ff82166024820152604401610830565b6101e0820151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af4158015610944573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109689190615231565b1561099157604051634b80547760e11b81526001600160601b0386166004820152602401610830565b8160c001518260a00151146109db5760a082015160c0830151604051632b14368360e11b81526001600160601b038816600482015260248101929092526044820152606401610830565b61016082015161ffff1615610a1f5761016082015160405163a5bb07ed60e01b81526001600160601b038716600482015261ffff9091166024820152604401610830565b73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610a68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a8c9190615276565b64ffffffffff166101e0830152600654604051632f2e849d60e21b81526001600160a01b039091169063bcba127490610acd90879089908790600401615293565b600060405180830381600087803b158015610ae757600080fd5b505af1158015610afb573d6000803e3d6000fd5b50505050836001600160a01b031663cbe864258684610b1860c890565b6040518463ffffffff1660e01b8152600401610b3693929190614fcf565b600060405180830381600087803b158015610b5057600080fd5b505af1158015610b64573d6000803e3d6000fd5b505050505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610bd0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bf491906152cf565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b90910416151591810191909152600182018054919291606084019190610ca9906152ec565b80601f0160208091040260200160405190810160405280929190818152602001828054610cd5906152ec565b8015610d225780601f10610cf757610100808354040283529160200191610d22565b820191906000526020600020905b815481529060010190602001808311610d0557829003601f168201915b50505050508152505090506040518060e00160405280610d40600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610d916128c7565b6001600160a01b03168152602001826060015181525091505090565b6000600080516020615b7783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610e1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e409190615231565b15610e6c5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610830565b30610e7f6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610ec7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eeb9190615231565b610f135760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610830565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610f67573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f8b9190615326565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b600080610fbc606e6133d8565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611001573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110259190615004565b60405163bd7d9d8560e01b81526001600160601b03881660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015611078573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526110a091908101906150a4565b80519091506001600160601b038581169116146110ff5760405162461bcd60e51b815260206004820152601760248201527f504f4c4943595f50524f445543545f4d49534d415443480000000000000000006044820152606401610830565b604051639096a1f360e01b81526001600160601b038816600482015261117d906001600160a01b03841690639096a1f390602401602060405180830381865afa158015611150573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111749190615259565b60ff16600a1490565b6111c95760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032313a53544154455f4e4f545f4150504c494544006044820152606401610830565b602864ffffffffff86161561127e57606464ffffffffff8781166101a0850181905260e08501516040516352bcc5a760e11b81526004810192909252909116602482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063a5798b4e90604401602060405180830381865af415801561124c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112709190615276565b64ffffffffff166101c08301525b600087156112b157611295858a8560a00151613600565b90508260a001518360c0018181516112ad9190615343565b9052505b60405163cbe8642560e01b81526001600160a01b0386169063cbe86425906112e1908c9087908790600401614fcf565b600060405180830381600087803b1580156112fb57600080fd5b505af115801561130f573d6000803e3d6000fd5b505060065460405163363b3b3960e11b81526001600160a01b039091169250636c767672915061134b9088908a908e9089908890600401615356565b600060405180830381600087803b15801561136557600080fd5b505af1158015611379573d6000803e3d6000fd5b50505050505050505050505050565b611390613f4f565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6113bd613f4f565b6113c7828761319b565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b8615150217815590506001810161143783826153f1565b5050505050505050565b600080600061144f85613212565b60048054604051630c02e8ad60e01b81526001600160a01b038087169382019390935282851660248201526001600160601b038b16604482015262ffffff8a16606482015294975092955090935060009283929190911690630c02e8ad9060840160408051808303816000875af11580156114ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114f291906154b0565b91509150801561157b57600183610160018181516115109190614e66565b61ffff1690525060405163cbe8642560e01b81526001600160a01b0386169063cbe8642590611548908a90879060ff90600401614fcf565b600060405180830381600087803b15801561156257600080fd5b505af1158015611576573d6000803e3d6000fd5b505050505b604080516001600160601b03808a16825262ffffff891660208301528416918101919091527f902f21240dd81ead776e9f49b4c2b8640514e4d1705c450f6e50bab12ec03543906060015b60405180910390a150505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6115f9610b6f565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611639573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061165d91906154df565b600080516020615bb78339815191528054600160401b900460ff1680611690575080546001600160401b03808416911610155b156116ae5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556116d883613f88565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b61172c613f4f565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b60008060008061177988613212565b60405163a7ef3d2160e01b81526001600160601b038c16600482015261ffff8b16602482015292955090935091506000906001600160a01b0384169063a7ef3d2190604401600060405180830381865afa1580156117db573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526118039190810190615508565b60405163078ae93560e41b81526001600160601b038b16600482015261ffff8a1660248201529091506000906001600160a01b038516906378ae935090604401602060405180830381865afa158015611860573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118849190615259565b905060008260400151600161189991906155cf565b60405163d5b5ee5d60e01b815261ffff8c16600482015260ff8216602482015290915073__$e1d43d4fb5c0494c5b7331f52c1ee41012$__9063d5b5ee5d90604401602060405180830381865af41580156118f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061191c91906152cf565b9650600460009054906101000a90046001600160a01b03166001600160a01b031663fe7631d5878d8a8d8d6040518663ffffffff1660e01b81526004016119679594939291906155e8565b600060405180830381600087803b15801561198157600080fd5b505af1158015611995573d6000803e3d6000fd5b5050505061018084015160405163274acb3560e01b81526001600160601b039182166004820152908a16602482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063274acb3590604401602060405180830381865af4158015611a00573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a249190615326565b5060405163cbe8642560e01b81526001600160a01b0387169063cbe8642590611a56908e90889060ff90600401614fcf565b600060405180830381600087803b158015611a7057600080fd5b505af1158015611a84573d6000803e3d6000fd5b505050507f49582759c7297fe14c480e8acab67b42fd37c9f3004b859c9a0e7bdd97bfca728b888b604051611ade939291906001600160601b03938416815262ffffff929092166020830152909116604082015260600190565b60405180910390a1505050505050949350505050565b600080516020615bb78339815191528054600160401b810460ff1615906001600160401b0316600081158015611b275750825b90506000826001600160401b03166001148015611b435750303b155b905081158015611b51575080155b15611b6f5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611b9957845460ff60401b1916600160401b1785555b611ba38787613f90565b8315611be557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020016115c6565b50505050505050565b6000806000611bfc85613212565b60048054604051632ecc6ca560e21b81529497509295509093506001600160a01b039091169163bb31b29491611c3a91879187918b918b9101614e1b565b600060405180830381600087803b158015611c5457600080fd5b505af1158015611c68573d6000803e3d6000fd5b5050505060018161016001818151611c809190614e66565b61ffff1690525060405163cbe8642560e01b81526001600160a01b0384169063cbe8642590611cb8908890859060ff90600401614fcf565b600060405180830381600087803b158015611cd257600080fd5b505af1158015611ce6573d6000803e3d6000fd5b5050604080516001600160601b038916815261ffff881660208201527fe3ce18abb523f21452f7ac3d58c5f9377fd1d33be26b261de38c988bbb8880ea9350019050610689565b600080600080611d3c87613212565b6101a081015160405163790a38ad60e01b815264ffffffffff9091166004820152929550909350915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015611da1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dc59190615231565b80611e515750611e5173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611e17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e3b9190615276565b826101c0015164ffffffffff9081169116101590565b15611e7a57604051630479f37160e41b81526001600160601b0388166004820152602401610830565b608081015160405163046e44af60e11b81526001600160601b038816600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906308dc895e90602401602060405180830381865af4158015611ed7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611efb9190615639565b61018083015160405163046e44af60e11b81526001600160601b03909116600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906308dc895e90602401602060405180830381865af4158015611f5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f7e9190615639565b611f889190615343565b11156121b4576080810151604051632620eecb60e11b8152889173__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__91634c41dd9691611fce9160040190815260200190565b602060405180830381865af4158015611feb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061200f9190615326565b60405163046e44af60e11b81526001600160601b038916600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__90634c41dd969082906308dc895e90602401602060405180830381865af415801561206f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120939190615639565b61018086015160405163046e44af60e11b81526001600160601b03909116600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906308dc895e90602401602060405180830381865af41580156120f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121169190615639565b6121209190615343565b6040518263ffffffff1660e01b815260040161213e91815260200190565b602060405180830381865af415801561215b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061217f9190615326565b6040516350be842960e01b81526001600160601b03938416600482015291831660248301529091166044820152606401610830565b73__$0e0c503522f35343ef1955427c5075b143$__639cc45a3682610140015160016121e09190615652565b6040516001600160e01b031960e084901b16815261ffff9091166004820152602401602060405180830381865af415801561221f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612243919061566d565b6004805460405163c898bbaf60e01b81529296506001600160a01b03169163c898bbaf9161227b9187918c918a918d918d910161568a565b600060405180830381600087803b15801561229557600080fd5b505af11580156122a9573d6000803e3d6000fd5b50505050600181610140018181516122c19190615652565b61ffff1690525061016081018051600191906122de908390615652565b61ffff1690525060405163cbe8642560e01b81526001600160a01b0384169063cbe8642590612316908a90859060ff90600401614fcf565b600060405180830381600087803b15801561233057600080fd5b505af1158015612344573d6000803e3d6000fd5b5050604080516001600160601b038b8116825261ffff891660208301528a168183015290517f4b55d90307f307fd56cbb5e999a830a5db89f39b367ad6a6191172bc9700ef2e9350908190036060019150a15050509392505050565b60006123ac606e6133d8565b925050506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156123f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124149190615004565b60405163bd7d9d8560e01b81526001600160601b03861660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015612467573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261248f91908101906150a4565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af41580156124ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125139190615231565b61255f5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032303a414c52454144595f414354495641544544006044820152606401610830565b64ffffffffff8481166101a0830181905260e08301516040516352bcc5a760e11b81526004810192909252909116602482015273__$d53880c81dc91c20799140d711e5ab8718$__9063a5798b4e90604401602060405180830381865af41580156125ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125f29190615276565b64ffffffffff166101c08201526001600160a01b03831663cbe8642586836064610b18565b6040516322f5db0f60e11b815260048101829052600090819073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af415801561266c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126909190615639565b9050600061269e8583614427565b604051632255341b60e11b81526004810182905290915073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156126f1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127159190615639565b925050505b92915050565b612728613f4f565b806001600160a01b03163b60000361275e5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610830565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa9250505080156127d8575060408051601f3d908101601f191682019092526127d591810190615231565b60015b6128005760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610830565b806128295760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610830565b5050565b3361284d600080516020615b97833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b0316146128885760405162d1953b60e31b81526001600160a01b0382166004820152602401610830565b816001600160a01b03163b6000036128be576040516361798f2f60e11b81526001600160a01b0383166004820152602401610830565b6128298261443c565b600080600080516020615b7783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015612937573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061295b9190615231565b156129e8576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156129be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129e29190615004565b91505090565b54600160601b90046001600160a01b0316919050565b612a06613f4f565b612a8683846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612a48573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a6c9190615326565b603c600085604051806020016040528060008152506113b5565b6001600160a01b03821615612aa357612a9e8261449d565b612c12565b6000612ab76001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015612b17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b3b9190615259565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612b80573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ba49190615004565b9050612c10816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612be7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c0b9190615004565b61449d565b505b612c22634a531f3360e01b611388565b612c3263b68d180960e01b611388565b505050565b600080516020615b97833981519152805460009190600160a01b900460ff16612c615760006129e2565b638fb3603760e01b91505090565b6000806000612c7d86613212565b6004805460405163b962574f60e01b81526001600160a01b038087169382019390935282851660248201526001600160601b03808d16604483015261ffff8c1660648301528a166084820152949750929550909350169063b962574f9060a401600060405180830381600087803b158015612cf757600080fd5b505af1158015612d0b573d6000803e3d6000fd5b50505050826001600160a01b031663cbe864258783612d28603390565b6040518463ffffffff1660e01b8152600401612d4693929190614fcf565b600060405180830381600087803b158015612d6057600080fd5b505af1158015612d74573d6000803e3d6000fd5b5050604080516001600160601b038a8116825261ffff8a16602083015288168183015290517f717b1d3270371ccb32ccdefe73a57559ac67e1ea57b50cfff6f7c85be1267b089350908190036060019150a1505050505050565b60405162461bcd60e51b815260206004820152602160248201527f4552524f523a5052532d3233353a4e4f545f5945545f494d504c454d454e54456044820152601160fa1b6064820152608401610830565b600080612e2d606e6133d8565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612e72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e969190615004565b60405163bd7d9d8560e01b81526001600160601b03871660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015612ee9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612f1191908101906150a4565b90508060a001518160c0015103612f535760c081015160405163038a855760e51b81526001600160601b03881660048201526024810191909152604401610830565b60008160c001518260a00151612f6991906156da565b90506000612f78858984613600565b9050818360c001818151612f8c9190615343565b9052506003546020840151604051639babe3bf60e01b81526001600160a01b0388811660048301526001600160601b03909216602482015260448101849052911690639babe3bf90606401600060405180830381600087803b158015612ff157600080fd5b505af1158015613005573d6000803e3d6000fd5b50505050846001600160a01b031663cbe86425898561302260ff90565b6040518463ffffffff1660e01b815260040161304093929190614fcf565b600060405180830381600087803b15801561305a57600080fd5b505af115801561306e573d6000803e3d6000fd5b5050604051638d38cd4b60e01b815264ffffffffff8a16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9250638d38cd4b9150602401602060405180830381865af41580156130c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130ec9190615231565b801561317457506101a083015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015613150573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131749190615231565b156114375761143788886123a0565b6000610bf460286144ae565b6000610bf460466144ae565b6131a3613f4f565b6131ac81612720565b6131b4611724565b6001600160a01b0382166131db5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020615b7783398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e0810182905281908161329e606e6133d8565b90508095508192505050836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156132e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061330a9190615004565b60405163bd7d9d8560e01b81526001600160601b03871660048201529093506001600160a01b0384169063bd7d9d8590602401600060405180830381865afa15801561335a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261338291908101906150a4565b80519092506001600160601b038281169116146133d0578151604051631a06208360e01b81526001600160601b03808816600483015291821660248201529082166044820152606401610830565b509193909250565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201526000806134246001546001600160a01b031690565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa15801561346b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261349391908101906156ed565b92506134a983604001518660ff90811691161490565b6134eb5760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b6044820152606401610830565b826000015193506134ff83602001516145bb565b9150816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa15801561353f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135639190615004565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa1580156135ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135d19190615231565b156133d057608083015160405163d53987e560e01b81526001600160a01b039091166004820152602401610830565b60008115613f4857600061361c6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801561366b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261369391908101906156ed565b6020015190506000856001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156136d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136fd9190615004565b60405163242bdc1960e21b81526001600160601b03841660048201526001600160a01b0391909116906390af70649060240161014060405180830381865afa15801561374d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613771919061580d565b90506000866001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156137b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137d79190615004565b60405163bd7d9d8560e01b81526001600160601b03881660048201526001600160a01b03919091169063bd7d9d8590602401600060405180830381865afa158015613826573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261384e91908101906150a4565b6020830151909150600061386a6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b038a1660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156138b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138dd9190615004565b90506000896001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561391f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139439190615004565b606086015160405163f0ea17c360e01b81526001600160601b0390911660048201526001600160a01b03919091169063f0ea17c390602401600060405180830381865afa158015613998573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526139c091908101906158b5565b6060015190506000600260009054906101000a90046001600160a01b03166001600160a01b03166370e314e888876060015188608001518960e001518a61010001518b602001518c604001516040518863ffffffff1660e01b8152600401613a2e9796959493929190615968565b6101e060405180830381865afa158015613a4c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a7091906159ce565b905088816040015114613ab55760408082015190516355e9883560e11b81526001600160601b038c166004820152602481018b90526044810191909152606401610830565b60008660e0015190508160400151856001600160a01b03166321df0da76040518163ffffffff1660e01b8152600401602060405180830381865afa158015613b01573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b259190615004565b604051636eb1769f60e11b81526001600160a01b0387811660048301528881166024830152919091169063dd62ed3e90604401602060405180830381865afa158015613b75573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b999190615639565b1015613bc25783858360400151604051636d675c4360e01b815260040161083093929190615a89565b846001600160a01b031663beabacc885838560e001518660600151613be79190615343565b6040518463ffffffff1660e01b8152600401613c0593929190615a89565b600060405180830381600087803b158015613c1f57600080fd5b505af1158015613c33573d6000803e3d6000fd5b5050505060008c6001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015613c77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613c9b9190615004565b6040808a01519051639ad69c6760e01b81526001600160601b0390911660048201526001600160a01b039190911690639ad69c679060240161010060405180830381865afa158015613cf1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613d159190615aad565b90506000816080015190506000846101c001518561014001518660c00151613d3d9190615343565b613d4791906156da565b6040516317d5759960e31b81529091506001600160a01b0389169063beabacc890613d7a908a9086908690600401615a89565b600060405180830381600087803b158015613d9457600080fd5b505af1158015613da8573d6000803e3d6000fd5b505060055460408d8101518d820151825163d25f509560e01b81526001600160601b0390921660048301526001600160c01b03191660248201528951604482015260208a01516064820152908901516084820152606089015160a4820152608089015160c482015260a089015160e482015260c089015161010482015260e08901516101248201526101008901516101448201526101208901516101648201526101408901516101848201526101608901516101a48201526101808901516101c48201526101a08901516101e48201526101c089015161020482015261022481018590526001600160a01b03909116925063d25f5095915061024401600060405180830381600087803b158015613ebe57600080fd5b505af1158015613ed2573d6000803e3d6000fd5b505086516040516317d5759960e31b81526001600160a01b038c16935063beabacc89250613f07918b918b9190600401615a89565b600060405180830381600087803b158015613f2157600080fd5b505af1158015613f35573d6000803e3d6000fd5b505095519c505050505050505050505050505b9392505050565b600080516020615bb783398151915254600160401b900460ff16613f8657604051631afcd79f60e31b815260040160405180910390fd5b565b610227613f4f565b600080516020615bb78339815191528054600160401b810460ff1615906001600160401b0316600081158015613fc35750825b90506000826001600160401b03166001148015613fdf5750303b155b905081158015613fed575080155b1561400b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561403557845460ff60401b1916600160401b1785555b6000808780602001905181019061404c9190615b31565b909250905061405d8260008b6129fe565b6000614067610b6f565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156140bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906140e09190615259565b90506140f46001546001600160a01b031690565b6001600160a01b031663d39e6043608c6040516001600160e01b031960e084901b16815260ff91821660048201529084166024820152604401602060405180830381865afa15801561414a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061416e9190615004565b600680546001600160a01b0319166001600160a01b039283161790556001541663d39e604360dc6040516001600160e01b031960e084901b16815260ff91821660048201529084166024820152604401602060405180830381865afa1580156141db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906141ff9190615004565b600380546001600160a01b0319166001600160a01b039283161790556001541663d39e604360d46040516001600160e01b031960e084901b16815260ff91821660048201529084166024820152604401602060405180830381865afa15801561426c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906142909190615004565b600480546001600160a01b0319166001600160a01b039283161790556001541663d39e604360d26040516001600160e01b031960e084901b16815260ff91821660048201529084166024820152604401602060405180830381865afa1580156142fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906143219190615004565b600280546001600160a01b0319166001600160a01b039283161790556001541663d39e604360786040516001600160e01b031960e084901b16815260ff91821660048201529084166024820152604401602060405180830381865afa15801561438e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906143b29190615004565b600580546001600160a01b0319166001600160a01b03929092169190911790556143e2632642ed2b60e21b611388565b5050508315611be557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020016115c6565b6000613f488383670de0b6b3a7640000614650565b600080516020615b9783398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6144a5613f4f565b61038c8161473a565b60006144c26001546001600160a01b031690565b6001600160a01b031663d39e6043836144d9610b6f565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801561452e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906145529190615259565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015614597573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061271a9190615004565b60006145cf6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801561461e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261464691908101906156ed565b6080015192915050565b600080806000198587098587029250828110838203039150508060000361468a5783828161468057614680615b60565b0492505050613f48565b8084116146d15760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b6044820152606401610830565b60008486880960026001871981018816978890046003810283188082028403028082028403028082028403028082028403028082028403029081029092039091026000889003889004909101858311909403939093029303949094049190911702949350505050565b614742613f4f565b61038c8161443c565b6001600160601b038116811461038c57600080fd5b61ffff8116811461038c57600080fd5b6000806040838503121561478357600080fd5b823561478e8161474b565b9150602083013561479e81614760565b809150509250929050565b6000602082840312156147bb57600080fd5b81356001600160e01b031981168114613f4857600080fd5b6000602082840312156147e557600080fd5b8135613f488161474b565b60005b8381101561480b5781810151838201526020016147f3565b50506000910152565b6000815180845261482c8160208601602086016147f0565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516148a960c08401826001600160a01b03169052565b5060c083015160e0808401526148c3610100840182614814565b949350505050565b801515811461038c57600080fd5b64ffffffffff8116811461038c57600080fd5b60008060006060848603121561490157600080fd5b833561490c8161474b565b9250602084013561491c816148cb565b9150604084013561492c816148d9565b809150509250925092565b6001600160a01b038116811461038c57600080fd5b60ff8116811461038c57600080fd5b634e487b7160e01b600052604160045260246000fd5b60405161020081016001600160401b03811182821017156149945761499461495b565b60405290565b60405160c081016001600160401b03811182821017156149945761499461495b565b60405160e081016001600160401b03811182821017156149945761499461495b565b60405161010081016001600160401b03811182821017156149945761499461495b565b6040516101e081016001600160401b03811182821017156149945761499461495b565b604051601f8201601f191681016001600160401b0381118282101715614a4c57614a4c61495b565b604052919050565b60006001600160401b03821115614a6d57614a6d61495b565b50601f01601f191660200190565b600082601f830112614a8c57600080fd5b8135614a9f614a9a82614a54565b614a24565b818152846020838601011115614ab457600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215614aea57600080fd5b8635614af581614937565b95506020870135614b058161474b565b94506040870135614b158161494c565b93506060870135614b25816148cb565b92506080870135614b3581614937565b915060a08701356001600160401b03811115614b5057600080fd5b614b5c89828a01614a7b565b9150509295509295509295565b62ffffff8116811461038c57600080fd5b60008060408385031215614b8d57600080fd5b8235614b988161474b565b9150602083013561479e81614b69565b600060208284031215614bba57600080fd5b81356001600160401b03811115614bd057600080fd5b6148c384828501614a7b565b60008060008060808587031215614bf257600080fd5b8435614bfd8161474b565b93506020850135614c0d81614760565b92506040850135614c1d8161474b565b915060608501356001600160401b03811115614c3857600080fd5b614c4487828801614a7b565b91505092959194509250565b60008060408385031215614c6357600080fd5b8235614c6e81614937565b915060208301356001600160401b03811115614c8957600080fd5b614c9585828601614a7b565b9150509250929050565b600080600060608486031215614cb457600080fd5b8335614cbf8161474b565b92506020840135614ccf8161474b565b915060408401356001600160401b03811115614cea57600080fd5b614cf686828701614a7b565b9150509250925092565b60008060408385031215614d1357600080fd5b8235614d1e8161474b565b9150602083013561479e816148d9565b60008060408385031215614d4157600080fd5b50508035926020909101359150565b600060208284031215614d6257600080fd5b8135613f4881614937565b600080600060608486031215614d8257600080fd5b8335614d8d81614937565b92506020840135614d9d81614937565b9150604084013561492c81614937565b600080600060608486031215614dc257600080fd5b8335614dcd8161474b565b92506020840135614ddd81614760565b9150604084013561492c8161474b565b60008060408385031215614e0057600080fd5b8235614e0b81614937565b9150602083013561479e81614937565b6001600160a01b0394851681529290931660208301526001600160601b0316604082015261ffff909116606082015260800190565b634e487b7160e01b600052601160045260246000fd5b61ffff828116828216039080821115614e8157614e81614e50565b5092915050565b80516001600160601b0316825260006102006020830151614eb460208601826001600160601b03169052565b506040830151614ed060408601826001600160c01b0319169052565b506060830151614eec60608601826001600160c01b0319169052565b506080830151608085015260a083015160a085015260c083015160c085015260e0830151614f2360e086018264ffffffffff169052565b50610100808401518282870152614f3c83870182614814565b925050506101208084015185830382870152614f588382614814565b9250505061014080840151614f728287018261ffff169052565b50506101608381015161ffff1690850152610180808401516001600160601b0316908501526101a08084015164ffffffffff908116918601919091526101c0808501518216908601526101e0938401511692909301919091525090565b6001600160601b0384168152606060208201526000614ff16060830185614e88565b905060ff83166040830152949350505050565b60006020828403121561501657600080fd5b8151613f4881614937565b805161502c8161474b565b919050565b80516001600160c01b03198116811461502c57600080fd5b805161502c816148d9565b600082601f83011261506557600080fd5b8151615073614a9a82614a54565b81815284602083860101111561508857600080fd5b6148c38260208301602087016147f0565b805161502c81614760565b6000602082840312156150b657600080fd5b81516001600160401b03808211156150cd57600080fd5b9083019061020082860312156150e257600080fd5b6150ea614971565b6150f383615021565b815261510160208401615021565b602082015261511260408401615031565b604082015261512360608401615031565b60608201526080830151608082015260a083015160a082015260c083015160c082015261515260e08401615049565b60e0820152610100808401518381111561516b57600080fd5b61517788828701615054565b828401525050610120808401518381111561519157600080fd5b61519d88828701615054565b82840152505061014091506151b3828401615099565b8282015261016091506151c7828401615099565b8282015261018091506151db828401615021565b828201526101a091506151ef828401615049565b828201526101c09150615203828401615049565b828201526101e09150615217828401615049565b91810191909152949350505050565b805161502c816148cb565b60006020828403121561524357600080fd5b8151613f48816148cb565b805161502c8161494c565b60006020828403121561526b57600080fd5b8151613f488161494c565b60006020828403121561528857600080fd5b8151613f48816148d9565b6001600160a01b03841681526001600160601b03831660208201526060604082018190526000906152c690830184614e88565b95945050505050565b6000602082840312156152e157600080fd5b8151613f4881614b69565b600181811c9082168061530057607f821691505b60208210810361532057634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561533857600080fd5b8151613f488161474b565b8082018082111561271a5761271a614e50565b6001600160a01b03861681526001600160601b0385811660208301528416604082015260a06060820181905260009061539190830185614e88565b90508260808301529695505050505050565b601f821115612c3257600081815260208120601f850160051c810160208610156153ca5750805b601f850160051c820191505b818110156153e9578281556001016153d6565b505050505050565b81516001600160401b0381111561540a5761540a61495b565b61541e8161541884546152ec565b846153a3565b602080601f831160018114615453576000841561543b5750858301515b600019600386901b1c1916600185901b1785556153e9565b600085815260208120601f198616915b8281101561548257888601518255948401946001909101908401615463565b50858210156154a05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600080604083850312156154c357600080fd5b82516154ce8161474b565b602084015190925061479e816148cb565b6000602082840312156154f157600080fd5b81516001600160401b0381168114613f4857600080fd5b60006020828403121561551a57600080fd5b81516001600160401b038082111561553157600080fd5b9083019060c0828603121561554557600080fd5b61554d61499a565b82516155588161474b565b815260208301516155688161474b565b6020820152604083015161557b8161494c565b604082015261558c6060840161524e565b60608201526080830151828111156155a357600080fd5b6155af87828601615054565b6080830152506155c160a08401615049565b60a082015295945050505050565b60ff818116838216019081111561271a5761271a614e50565b6001600160a01b03861681526001600160601b03858116602083015262ffffff851660408301528316606082015260a06080820181905260009061562e90830184614814565b979650505050505050565b60006020828403121561564b57600080fd5b5051919050565b61ffff818116838216019080821115614e8157614e81614e50565b60006020828403121561567f57600080fd5b8151613f4881614760565b6001600160a01b03861681526001600160601b03858116602083015261ffff851660408301528316606082015260a06080820181905260009061562e90830184614814565b805161502c81614937565b8181038181111561271a5761271a614e50565b6000602082840312156156ff57600080fd5b81516001600160401b038082111561571657600080fd5b9083019060e0828603121561572a57600080fd5b6157326149bc565b61573b83615021565b815261574960208401615021565b602082015261575a6040840161524e565b604082015261576b60608401615226565b606082015261577c608084016156cf565b608082015261578d60a084016156cf565b60a082015260c0830151828111156157a457600080fd5b6157b087828601615054565b60c08301525095945050505050565b6000604082840312156157d157600080fd5b604051604081018181106001600160401b03821117156157f3576157f361495b565b604052825181526020928301519281019290925250919050565b6000610140828403121561582057600080fd5b6158286149de565b615831836156cf565b815261583f602084016156cf565b602082015261585060408401615021565b604082015261586160608401615021565b606082015261587384608085016157bf565b60808201526158858460c085016157bf565b60a08201526158976101008401615226565b60c08201526158a961012084016156cf565b60e08201529392505050565b6000602082840312156158c757600080fd5b81516001600160401b03808211156158de57600080fd5b9083019060e082860312156158f257600080fd5b6158fa6149bc565b82518281111561590957600080fd5b61591587828601615054565b825250615924602084016156cf565b6020820152615935604084016156cf565b6040820152615946606084016156cf565b606082015261595760808401615021565b608082015261578d60a08401615021565b60006001600160601b03808a1683526001600160401b0360c01b808a16602085015288604085015264ffffffffff8816606085015260e060808501526159b160e0850188614814565b9590911660a08401529290921660c0909101525095945050505050565b60006101e082840312156159e157600080fd5b6159e9614a01565b825181526020808401519082015260408084015190820152606080840151908201526080808401519082015260a0808401519082015260c0808401519082015260e08084015190820152610100808401519082015261012080840151908201526101408084015190820152610160808401519082015261018080840151908201526101a080840151908201526101c0928301519281019290925250919050565b6001600160a01b039384168152919092166020820152604081019190915260600190565b60006101008284031215615ac057600080fd5b615ac861499a565b8251615ad38161474b565b81526020830151615ae381614937565b6020820152615af584604085016157bf565b6040820152615b0784608085016157bf565b606082015260c0830151615b1a81614937565b608082015260e0929092015160a083015250919050565b60008060408385031215615b4457600080fd5b8251615b4f81614937565b602084015190925061479e81614937565b634e487b7160e01b600052601260045260246000fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220a3faa40aa0d8c89f8e8fa3b50535b2174edb340d8a799d59476a9aec55fd71d664736f6c63430008140033",
1231
+ "linkReferences": {
1232
+ "contracts/types/Amount.sol": {
1233
+ "AmountLib": [
1234
+ {
1235
+ "length": 20,
1236
+ "start": 6828
1237
+ },
1238
+ {
1239
+ "length": 20,
1240
+ "start": 8067
1241
+ },
1242
+ {
1243
+ "length": 20,
1244
+ "start": 8198
1245
+ },
1246
+ {
1247
+ "length": 20,
1248
+ "start": 8330
1249
+ },
1250
+ {
1251
+ "length": 20,
1252
+ "start": 8467
1253
+ },
1254
+ {
1255
+ "length": 20,
1256
+ "start": 8606
1257
+ }
1258
+ ]
1259
+ },
1260
+ "contracts/types/ClaimId.sol": {
1261
+ "ClaimIdLib": [
1262
+ {
1263
+ "length": 20,
1264
+ "start": 8860
1265
+ }
1266
+ ]
1267
+ },
1268
+ "contracts/types/NftId.sol": {
1269
+ "NftIdLib": [
1270
+ {
1271
+ "length": 20,
1272
+ "start": 3784
1273
+ },
1274
+ {
1275
+ "length": 20,
1276
+ "start": 10723
1277
+ }
1278
+ ]
1279
+ },
1280
+ "contracts/types/PayoutId.sol": {
1281
+ "PayoutIdLib": [
1282
+ {
1283
+ "length": 20,
1284
+ "start": 6564
1285
+ }
1286
+ ]
1287
+ },
1288
+ "contracts/types/Timestamp.sol": {
1289
+ "TimestampLib": [
1290
+ {
1291
+ "length": 20,
1292
+ "start": 2195
1293
+ },
1294
+ {
1295
+ "length": 20,
1296
+ "start": 2544
1297
+ },
1298
+ {
1299
+ "length": 20,
1300
+ "start": 2823
1301
+ },
1302
+ {
1303
+ "length": 20,
1304
+ "start": 4856
1305
+ },
1306
+ {
1307
+ "length": 20,
1308
+ "start": 7757
1309
+ },
1310
+ {
1311
+ "length": 20,
1312
+ "start": 7862
1313
+ },
1314
+ {
1315
+ "length": 20,
1316
+ "start": 9627
1317
+ },
1318
+ {
1319
+ "length": 20,
1320
+ "start": 9850
1321
+ },
1322
+ {
1323
+ "length": 20,
1324
+ "start": 12658
1325
+ },
1326
+ {
1327
+ "length": 20,
1328
+ "start": 12796
1329
+ }
1330
+ ]
1331
+ },
1332
+ "contracts/types/UFixed.sol": {
1333
+ "UFixedLib": [
1334
+ {
1335
+ "length": 20,
1336
+ "start": 10008
1337
+ },
1338
+ {
1339
+ "length": 20,
1340
+ "start": 10141
1341
+ }
1342
+ ]
1343
+ },
1344
+ "contracts/types/Version.sol": {
1345
+ "VersionLib": [
1346
+ {
1347
+ "length": 20,
1348
+ "start": 3196
1349
+ },
1350
+ {
1351
+ "length": 20,
1352
+ "start": 5823
1353
+ },
1354
+ {
1355
+ "length": 20,
1356
+ "start": 16744
1357
+ },
1358
+ {
1359
+ "length": 20,
1360
+ "start": 17882
1361
+ }
1362
+ ],
1363
+ "VersionPartLib": [
1364
+ {
1365
+ "length": 20,
1366
+ "start": 11203
1367
+ }
1368
+ ]
1369
+ }
1370
+ },
1371
+ "deployedLinkReferences": {
1372
+ "contracts/types/Amount.sol": {
1373
+ "AmountLib": [
1374
+ {
1375
+ "length": 20,
1376
+ "start": 6598
1377
+ },
1378
+ {
1379
+ "length": 20,
1380
+ "start": 7837
1381
+ },
1382
+ {
1383
+ "length": 20,
1384
+ "start": 7968
1385
+ },
1386
+ {
1387
+ "length": 20,
1388
+ "start": 8100
1389
+ },
1390
+ {
1391
+ "length": 20,
1392
+ "start": 8237
1393
+ },
1394
+ {
1395
+ "length": 20,
1396
+ "start": 8376
1397
+ }
1398
+ ]
1399
+ },
1400
+ "contracts/types/ClaimId.sol": {
1401
+ "ClaimIdLib": [
1402
+ {
1403
+ "length": 20,
1404
+ "start": 8630
1405
+ }
1406
+ ]
1407
+ },
1408
+ "contracts/types/NftId.sol": {
1409
+ "NftIdLib": [
1410
+ {
1411
+ "length": 20,
1412
+ "start": 3554
1413
+ },
1414
+ {
1415
+ "length": 20,
1416
+ "start": 10493
1417
+ }
1418
+ ]
1419
+ },
1420
+ "contracts/types/PayoutId.sol": {
1421
+ "PayoutIdLib": [
1422
+ {
1423
+ "length": 20,
1424
+ "start": 6334
1425
+ }
1426
+ ]
1427
+ },
1428
+ "contracts/types/Timestamp.sol": {
1429
+ "TimestampLib": [
1430
+ {
1431
+ "length": 20,
1432
+ "start": 1965
1433
+ },
1434
+ {
1435
+ "length": 20,
1436
+ "start": 2314
1437
+ },
1438
+ {
1439
+ "length": 20,
1440
+ "start": 2593
1441
+ },
1442
+ {
1443
+ "length": 20,
1444
+ "start": 4626
1445
+ },
1446
+ {
1447
+ "length": 20,
1448
+ "start": 7527
1449
+ },
1450
+ {
1451
+ "length": 20,
1452
+ "start": 7632
1453
+ },
1454
+ {
1455
+ "length": 20,
1456
+ "start": 9397
1457
+ },
1458
+ {
1459
+ "length": 20,
1460
+ "start": 9620
1461
+ },
1462
+ {
1463
+ "length": 20,
1464
+ "start": 12428
1465
+ },
1466
+ {
1467
+ "length": 20,
1468
+ "start": 12566
1469
+ }
1470
+ ]
1471
+ },
1472
+ "contracts/types/UFixed.sol": {
1473
+ "UFixedLib": [
1474
+ {
1475
+ "length": 20,
1476
+ "start": 9778
1477
+ },
1478
+ {
1479
+ "length": 20,
1480
+ "start": 9911
1481
+ }
1482
+ ]
1483
+ },
1484
+ "contracts/types/Version.sol": {
1485
+ "VersionLib": [
1486
+ {
1487
+ "length": 20,
1488
+ "start": 2966
1489
+ },
1490
+ {
1491
+ "length": 20,
1492
+ "start": 5593
1493
+ },
1494
+ {
1495
+ "length": 20,
1496
+ "start": 16514
1497
+ },
1498
+ {
1499
+ "length": 20,
1500
+ "start": 17652
1501
+ }
1502
+ ],
1503
+ "VersionPartLib": [
1504
+ {
1505
+ "length": 20,
1506
+ "start": 10973
1507
+ }
1508
+ ]
1509
+ }
1510
+ }
1511
+ }