@etherisc/gif-next 0.0.2-ebbe63d → 0.0.2-ebf1a6b-485

Sign up to get free protection for your applications and to get access to all the features.
Files changed (329) hide show
  1. package/README.md +524 -2
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +774 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +1279 -0
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/components/IComponent.sol/IComponent.json +447 -0
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +829 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +1029 -0
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +672 -0
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +4 -0
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +1451 -0
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +4 -0
  17. package/artifacts/contracts/components/Product.sol/Product.json +1099 -0
  18. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  19. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +764 -0
  20. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  21. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +185 -0
  22. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +4 -0
  23. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +2422 -0
  24. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  25. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +509 -0
  26. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +4 -0
  27. package/artifacts/contracts/instance/Instance.sol/Instance.json +3326 -0
  28. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  29. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +984 -0
  30. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1355 -0
  32. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  33. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1046 -0
  34. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  35. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +693 -0
  36. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  37. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +261 -0
  38. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  39. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +552 -0
  40. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  41. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +429 -0
  42. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  43. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.json +115 -0
  44. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  45. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +502 -0
  46. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  47. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +169 -0
  48. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  49. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +254 -0
  50. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  51. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.json +10 -0
  52. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  53. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.json +10 -0
  54. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  55. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.json +10 -0
  56. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  57. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.json +10 -0
  58. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  59. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.json +10 -0
  60. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  61. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +10 -0
  62. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  63. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +968 -0
  64. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  65. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +665 -0
  66. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  67. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1096 -0
  68. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  69. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +661 -0
  70. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  71. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +754 -0
  72. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  73. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +637 -0
  74. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  75. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1553 -0
  76. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  77. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +793 -0
  78. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  79. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +556 -0
  80. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  81. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +633 -0
  82. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  83. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +409 -0
  84. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  85. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +858 -0
  86. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  87. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +519 -0
  88. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
  89. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +347 -0
  90. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
  91. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +384 -0
  92. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  93. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1000 -0
  94. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  95. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +689 -0
  96. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
  97. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +727 -0
  98. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  99. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +649 -0
  100. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  101. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +777 -0
  102. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  103. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +649 -0
  104. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +4 -0
  105. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +771 -0
  106. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +4 -0
  107. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +737 -0
  108. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  109. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +890 -0
  110. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  111. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
  112. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +4 -0
  113. package/artifacts/contracts/registry/Registry.sol/Registry.json +839 -0
  114. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  115. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  116. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  117. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1177 -0
  118. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  119. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +670 -0
  120. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  121. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
  122. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  123. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +498 -0
  124. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  125. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  126. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +4 -0
  127. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +73 -0
  128. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  129. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +138 -0
  130. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  131. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
  132. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +4 -0
  133. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +188 -0
  134. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  135. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +48 -0
  136. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  137. package/artifacts/contracts/shared/IService.sol/IService.json +269 -0
  138. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +4 -0
  139. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +55 -0
  140. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  141. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +251 -0
  142. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  143. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
  144. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  145. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +582 -0
  146. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +4 -0
  147. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +352 -0
  148. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  149. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
  150. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  151. package/artifacts/contracts/shared/Service.sol/Service.json +425 -0
  152. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  153. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
  154. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  155. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  156. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +4 -0
  157. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +78 -0
  158. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +4 -0
  159. package/artifacts/contracts/test/TestFee.sol/TestFee.json +119 -0
  160. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +4 -0
  161. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +383 -0
  162. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +4 -0
  163. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +116 -0
  164. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +4 -0
  165. package/artifacts/contracts/test/TestService.sol/TestService.json +521 -0
  166. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +4 -0
  167. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +376 -0
  168. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +4 -0
  169. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +218 -0
  170. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +4 -0
  171. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +104 -0
  172. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +4 -0
  173. package/artifacts/contracts/test/Usdc.sol/USDC.json +376 -0
  174. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  175. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +10 -0
  176. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  177. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +174 -0
  178. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +4 -0
  179. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +10 -0
  180. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  181. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +100 -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 +4 -0
  185. package/artifacts/contracts/types/Fee.sol/FeeLib.json +257 -0
  186. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +4 -0
  187. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +125 -0
  188. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +4 -0
  189. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +153 -0
  190. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  191. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +33 -0
  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 +4 -0
  195. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +92 -0
  196. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  197. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +100 -0
  198. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  199. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +123 -0
  200. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
  201. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
  202. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +4 -0
  203. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +156 -0
  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 +4 -0
  207. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +92 -0
  208. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +4 -0
  209. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +267 -0
  210. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  211. package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
  212. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  213. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +479 -0
  214. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +4 -0
  215. package/artifacts/contracts/types/Version.sol/VersionLib.json +177 -0
  216. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +4 -0
  217. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +49 -0
  218. package/contracts/components/Component.sol +221 -0
  219. package/contracts/components/Distribution.sol +293 -0
  220. package/contracts/components/IComponent.sol +68 -0
  221. package/contracts/components/IDistributionComponent.sol +79 -0
  222. package/contracts/components/IPoolComponent.sol +151 -0
  223. package/contracts/components/IProductComponent.sol +40 -0
  224. package/contracts/components/Pool.sol +378 -0
  225. package/contracts/components/Product.sol +289 -0
  226. package/contracts/instance/BundleManager.sol +125 -0
  227. package/contracts/instance/Cloneable.sol +46 -0
  228. package/contracts/instance/IInstance.sol +92 -0
  229. package/contracts/instance/IInstanceService.sol +59 -0
  230. package/contracts/instance/Instance.sol +291 -0
  231. package/contracts/instance/InstanceAccessManager.sol +297 -0
  232. package/contracts/instance/InstanceReader.sol +293 -0
  233. package/contracts/instance/InstanceService.sol +490 -0
  234. package/contracts/instance/InstanceServiceManager.sol +54 -0
  235. package/contracts/instance/ObjectManager.sol +84 -0
  236. package/contracts/instance/base/ComponentService.sol +134 -0
  237. package/contracts/instance/base/IKeyValueStore.sol +49 -0
  238. package/contracts/instance/base/ILifecycle.sol +30 -0
  239. package/contracts/instance/base/KeyValueStore.sol +172 -0
  240. package/contracts/instance/base/Lifecycle.sol +100 -0
  241. package/contracts/instance/module/IAccess.sol +47 -0
  242. package/contracts/instance/module/IBundle.sol +21 -0
  243. package/contracts/instance/module/IDistribution.sol +41 -0
  244. package/contracts/instance/module/IPolicy.sol +72 -0
  245. package/contracts/instance/module/IRisk.sol +11 -0
  246. package/contracts/instance/module/ISetup.sol +46 -0
  247. package/contracts/instance/module/ITreasury.sol +23 -0
  248. package/contracts/instance/service/ApplicationService.sol +349 -0
  249. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  250. package/contracts/instance/service/BundleService.sol +299 -0
  251. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  252. package/contracts/instance/service/ClaimService.sol +151 -0
  253. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  254. package/contracts/instance/service/DistributionService.sol +394 -0
  255. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  256. package/contracts/instance/service/IApplicationService.sol +82 -0
  257. package/contracts/instance/service/IBundleService.sol +55 -0
  258. package/contracts/instance/service/IClaimService.sol +61 -0
  259. package/contracts/instance/service/IDistributionService.sol +86 -0
  260. package/contracts/instance/service/IPolicyService.sol +70 -0
  261. package/contracts/instance/service/IPoolService.sol +20 -0
  262. package/contracts/instance/service/IProductService.sol +40 -0
  263. package/contracts/instance/service/PolicyService.sol +402 -0
  264. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  265. package/contracts/instance/service/PoolService.sol +109 -0
  266. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  267. package/contracts/instance/service/ProductService.sol +233 -0
  268. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  269. package/contracts/registry/ChainNft.sol +202 -0
  270. package/contracts/registry/IRegistry.sol +99 -0
  271. package/contracts/registry/IRegistryService.sol +67 -0
  272. package/contracts/registry/ITransferInterceptor.sol +6 -0
  273. package/contracts/registry/Registry.sol +464 -0
  274. package/contracts/registry/RegistryAccessManager.sol +216 -0
  275. package/contracts/registry/RegistryService.sol +283 -0
  276. package/contracts/registry/RegistryServiceManager.sol +62 -0
  277. package/contracts/registry/ReleaseManager.sol +322 -0
  278. package/contracts/registry/TokenRegistry.sol +116 -0
  279. package/contracts/shared/ContractDeployerLib.sol +72 -0
  280. package/contracts/shared/ERC165.sol +27 -0
  281. package/contracts/shared/INftOwnable.sol +23 -0
  282. package/contracts/shared/IPolicyHolder.sol +26 -0
  283. package/contracts/shared/IRegisterable.sol +15 -0
  284. package/contracts/shared/IRegistryLinked.sol +12 -0
  285. package/contracts/shared/IService.sol +18 -0
  286. package/contracts/shared/IVersionable.sol +53 -0
  287. package/contracts/shared/NftOwnable.sol +120 -0
  288. package/contracts/shared/PolicyHolder.sol +81 -0
  289. package/contracts/shared/ProxyManager.sol +169 -0
  290. package/contracts/shared/Registerable.sol +74 -0
  291. package/contracts/shared/RegistryLinked.sol +48 -0
  292. package/contracts/shared/Service.sol +58 -0
  293. package/contracts/shared/TokenHandler.sol +27 -0
  294. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  295. package/contracts/shared/Versionable.sol +59 -0
  296. package/contracts/test/TestFee.sol +25 -0
  297. package/contracts/test/TestRegisterable.sol +18 -0
  298. package/contracts/test/TestRoleId.sol +14 -0
  299. package/contracts/test/TestService.sol +25 -0
  300. package/contracts/{Dip.sol → test/TestToken.sol} +5 -5
  301. package/contracts/test/TestVersion.sol +44 -0
  302. package/contracts/test/TestVersionable.sol +17 -0
  303. package/contracts/test/Usdc.sol +26 -0
  304. package/contracts/types/AddressSet.sol +58 -0
  305. package/contracts/types/Blocknumber.sol +118 -0
  306. package/contracts/types/ChainId.sol +38 -0
  307. package/contracts/types/ClaimId.sol +52 -0
  308. package/contracts/types/DistributorType.sol +55 -0
  309. package/contracts/types/Fee.sol +56 -0
  310. package/contracts/types/Key32.sol +50 -0
  311. package/contracts/types/NftId.sol +72 -0
  312. package/contracts/types/NftIdSet.sol +62 -0
  313. package/contracts/types/NumberId.sol +52 -0
  314. package/contracts/types/ObjectType.sol +156 -0
  315. package/contracts/types/PayoutId.sol +54 -0
  316. package/contracts/types/Referral.sol +85 -0
  317. package/contracts/types/RiskId.sol +43 -0
  318. package/contracts/types/RoleId.sol +95 -0
  319. package/contracts/types/Seconds.sol +54 -0
  320. package/contracts/types/StateId.sol +105 -0
  321. package/contracts/types/Timestamp.sol +126 -0
  322. package/contracts/types/UFixed.sol +325 -0
  323. package/contracts/types/Version.sol +107 -0
  324. package/package.json +26 -10
  325. package/artifacts/contracts/Dip.sol/DIP.dbg.json +0 -4
  326. package/artifacts/contracts/Dip.sol/DIP.json +0 -338
  327. package/artifacts/contracts/Lock.sol/Lock.dbg.json +0 -4
  328. package/artifacts/contracts/Lock.sol/Lock.json +0 -74
  329. package/contracts/Lock.sol +0 -34
@@ -0,0 +1,3326 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "Instance",
4
+ "sourceName": "contracts/instance/Instance.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": "ObjectType",
48
+ "name": "objectType",
49
+ "type": "uint8"
50
+ },
51
+ {
52
+ "internalType": "StateId",
53
+ "name": "fromStateId",
54
+ "type": "uint8"
55
+ },
56
+ {
57
+ "internalType": "StateId",
58
+ "name": "toStateId",
59
+ "type": "uint8"
60
+ }
61
+ ],
62
+ "name": "ErrorInvalidStateTransition",
63
+ "type": "error"
64
+ },
65
+ {
66
+ "inputs": [
67
+ {
68
+ "internalType": "NftId",
69
+ "name": "nftId",
70
+ "type": "uint96"
71
+ }
72
+ ],
73
+ "name": "ErrorNftOwnableAlreadyLinked",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [
78
+ {
79
+ "internalType": "address",
80
+ "name": "contractAddress",
81
+ "type": "address"
82
+ }
83
+ ],
84
+ "name": "ErrorNftOwnableContractNotRegistered",
85
+ "type": "error"
86
+ },
87
+ {
88
+ "inputs": [],
89
+ "name": "ErrorNftOwnableInitialOwnerZero",
90
+ "type": "error"
91
+ },
92
+ {
93
+ "inputs": [
94
+ {
95
+ "internalType": "address",
96
+ "name": "account",
97
+ "type": "address"
98
+ }
99
+ ],
100
+ "name": "ErrorNftOwnableNotOwner",
101
+ "type": "error"
102
+ },
103
+ {
104
+ "inputs": [
105
+ {
106
+ "internalType": "NftId",
107
+ "name": "nftId",
108
+ "type": "uint96"
109
+ },
110
+ {
111
+ "internalType": "ObjectType",
112
+ "name": "objectType",
113
+ "type": "uint8"
114
+ }
115
+ ],
116
+ "name": "ErrorNoLifecycle",
117
+ "type": "error"
118
+ },
119
+ {
120
+ "inputs": [
121
+ {
122
+ "internalType": "address",
123
+ "name": "registryAddress",
124
+ "type": "address"
125
+ }
126
+ ],
127
+ "name": "ErrorNotRegistry",
128
+ "type": "error"
129
+ },
130
+ {
131
+ "inputs": [],
132
+ "name": "InvalidInitialization",
133
+ "type": "error"
134
+ },
135
+ {
136
+ "inputs": [],
137
+ "name": "NotInitializing",
138
+ "type": "error"
139
+ },
140
+ {
141
+ "anonymous": false,
142
+ "inputs": [
143
+ {
144
+ "indexed": false,
145
+ "internalType": "address",
146
+ "name": "authority",
147
+ "type": "address"
148
+ }
149
+ ],
150
+ "name": "AuthorityUpdated",
151
+ "type": "event"
152
+ },
153
+ {
154
+ "anonymous": false,
155
+ "inputs": [
156
+ {
157
+ "indexed": false,
158
+ "internalType": "uint64",
159
+ "name": "version",
160
+ "type": "uint64"
161
+ }
162
+ ],
163
+ "name": "Initialized",
164
+ "type": "event"
165
+ },
166
+ {
167
+ "anonymous": false,
168
+ "inputs": [
169
+ {
170
+ "indexed": false,
171
+ "internalType": "ObjectType",
172
+ "name": "objectType",
173
+ "type": "uint8"
174
+ },
175
+ {
176
+ "indexed": false,
177
+ "internalType": "KeyId",
178
+ "name": "keyId",
179
+ "type": "bytes31"
180
+ },
181
+ {
182
+ "indexed": false,
183
+ "internalType": "StateId",
184
+ "name": "state",
185
+ "type": "uint8"
186
+ },
187
+ {
188
+ "indexed": false,
189
+ "internalType": "address",
190
+ "name": "createdBy",
191
+ "type": "address"
192
+ },
193
+ {
194
+ "indexed": false,
195
+ "internalType": "address",
196
+ "name": "txOrigin",
197
+ "type": "address"
198
+ }
199
+ ],
200
+ "name": "LogInfoCreated",
201
+ "type": "event"
202
+ },
203
+ {
204
+ "anonymous": false,
205
+ "inputs": [
206
+ {
207
+ "indexed": false,
208
+ "internalType": "ObjectType",
209
+ "name": "objectType",
210
+ "type": "uint8"
211
+ },
212
+ {
213
+ "indexed": false,
214
+ "internalType": "KeyId",
215
+ "name": "keyId",
216
+ "type": "bytes31"
217
+ },
218
+ {
219
+ "indexed": false,
220
+ "internalType": "StateId",
221
+ "name": "state",
222
+ "type": "uint8"
223
+ },
224
+ {
225
+ "indexed": false,
226
+ "internalType": "address",
227
+ "name": "updatedBy",
228
+ "type": "address"
229
+ },
230
+ {
231
+ "indexed": false,
232
+ "internalType": "address",
233
+ "name": "txOrigin",
234
+ "type": "address"
235
+ },
236
+ {
237
+ "indexed": false,
238
+ "internalType": "Blocknumber",
239
+ "name": "lastUpdatedIn",
240
+ "type": "uint32"
241
+ }
242
+ ],
243
+ "name": "LogInfoUpdated",
244
+ "type": "event"
245
+ },
246
+ {
247
+ "anonymous": false,
248
+ "inputs": [
249
+ {
250
+ "indexed": false,
251
+ "internalType": "ObjectType",
252
+ "name": "objectType",
253
+ "type": "uint8"
254
+ },
255
+ {
256
+ "indexed": false,
257
+ "internalType": "KeyId",
258
+ "name": "keyId",
259
+ "type": "bytes31"
260
+ },
261
+ {
262
+ "indexed": false,
263
+ "internalType": "StateId",
264
+ "name": "stateOld",
265
+ "type": "uint8"
266
+ },
267
+ {
268
+ "indexed": false,
269
+ "internalType": "StateId",
270
+ "name": "stateNew",
271
+ "type": "uint8"
272
+ },
273
+ {
274
+ "indexed": false,
275
+ "internalType": "address",
276
+ "name": "updatedBy",
277
+ "type": "address"
278
+ },
279
+ {
280
+ "indexed": false,
281
+ "internalType": "address",
282
+ "name": "txOrigin",
283
+ "type": "address"
284
+ },
285
+ {
286
+ "indexed": false,
287
+ "internalType": "Blocknumber",
288
+ "name": "lastUpdatedIn",
289
+ "type": "uint32"
290
+ }
291
+ ],
292
+ "name": "LogStateUpdated",
293
+ "type": "event"
294
+ },
295
+ {
296
+ "inputs": [],
297
+ "name": "ADMIN_ROLE",
298
+ "outputs": [
299
+ {
300
+ "internalType": "uint64",
301
+ "name": "",
302
+ "type": "uint64"
303
+ }
304
+ ],
305
+ "stateMutability": "view",
306
+ "type": "function"
307
+ },
308
+ {
309
+ "inputs": [],
310
+ "name": "CUSTOM_ROLE_ID_MIN",
311
+ "outputs": [
312
+ {
313
+ "internalType": "uint64",
314
+ "name": "",
315
+ "type": "uint64"
316
+ }
317
+ ],
318
+ "stateMutability": "view",
319
+ "type": "function"
320
+ },
321
+ {
322
+ "inputs": [],
323
+ "name": "EXECUTION_DELAY",
324
+ "outputs": [
325
+ {
326
+ "internalType": "uint32",
327
+ "name": "",
328
+ "type": "uint32"
329
+ }
330
+ ],
331
+ "stateMutability": "view",
332
+ "type": "function"
333
+ },
334
+ {
335
+ "inputs": [],
336
+ "name": "GIF_MAJOR_VERSION",
337
+ "outputs": [
338
+ {
339
+ "internalType": "uint256",
340
+ "name": "",
341
+ "type": "uint256"
342
+ }
343
+ ],
344
+ "stateMutability": "view",
345
+ "type": "function"
346
+ },
347
+ {
348
+ "inputs": [],
349
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
350
+ "outputs": [
351
+ {
352
+ "internalType": "bytes32",
353
+ "name": "",
354
+ "type": "bytes32"
355
+ }
356
+ ],
357
+ "stateMutability": "view",
358
+ "type": "function"
359
+ },
360
+ {
361
+ "inputs": [],
362
+ "name": "PUBLIC_ROLE",
363
+ "outputs": [
364
+ {
365
+ "internalType": "uint64",
366
+ "name": "",
367
+ "type": "uint64"
368
+ }
369
+ ],
370
+ "stateMutability": "view",
371
+ "type": "function"
372
+ },
373
+ {
374
+ "inputs": [],
375
+ "name": "REGISTERABLE_LOCATION_V1",
376
+ "outputs": [
377
+ {
378
+ "internalType": "bytes32",
379
+ "name": "",
380
+ "type": "bytes32"
381
+ }
382
+ ],
383
+ "stateMutability": "view",
384
+ "type": "function"
385
+ },
386
+ {
387
+ "inputs": [],
388
+ "name": "authority",
389
+ "outputs": [
390
+ {
391
+ "internalType": "address",
392
+ "name": "",
393
+ "type": "address"
394
+ }
395
+ ],
396
+ "stateMutability": "view",
397
+ "type": "function"
398
+ },
399
+ {
400
+ "inputs": [
401
+ {
402
+ "internalType": "ObjectType",
403
+ "name": "objectType",
404
+ "type": "uint8"
405
+ },
406
+ {
407
+ "internalType": "StateId",
408
+ "name": "fromId",
409
+ "type": "uint8"
410
+ },
411
+ {
412
+ "internalType": "StateId",
413
+ "name": "toId",
414
+ "type": "uint8"
415
+ }
416
+ ],
417
+ "name": "checkTransition",
418
+ "outputs": [],
419
+ "stateMutability": "view",
420
+ "type": "function"
421
+ },
422
+ {
423
+ "inputs": [
424
+ {
425
+ "internalType": "NftId",
426
+ "name": "applicationNftId",
427
+ "type": "uint96"
428
+ },
429
+ {
430
+ "components": [
431
+ {
432
+ "internalType": "NftId",
433
+ "name": "productNftId",
434
+ "type": "uint96"
435
+ },
436
+ {
437
+ "internalType": "NftId",
438
+ "name": "bundleNftId",
439
+ "type": "uint96"
440
+ },
441
+ {
442
+ "internalType": "ReferralId",
443
+ "name": "referralId",
444
+ "type": "bytes8"
445
+ },
446
+ {
447
+ "internalType": "RiskId",
448
+ "name": "riskId",
449
+ "type": "bytes8"
450
+ },
451
+ {
452
+ "internalType": "uint256",
453
+ "name": "sumInsuredAmount",
454
+ "type": "uint256"
455
+ },
456
+ {
457
+ "internalType": "uint256",
458
+ "name": "premiumAmount",
459
+ "type": "uint256"
460
+ },
461
+ {
462
+ "internalType": "uint256",
463
+ "name": "premiumPaidAmount",
464
+ "type": "uint256"
465
+ },
466
+ {
467
+ "internalType": "Seconds",
468
+ "name": "lifetime",
469
+ "type": "uint40"
470
+ },
471
+ {
472
+ "internalType": "bytes",
473
+ "name": "applicationData",
474
+ "type": "bytes"
475
+ },
476
+ {
477
+ "internalType": "bytes",
478
+ "name": "policyData",
479
+ "type": "bytes"
480
+ },
481
+ {
482
+ "internalType": "uint16",
483
+ "name": "claimsCount",
484
+ "type": "uint16"
485
+ },
486
+ {
487
+ "internalType": "uint16",
488
+ "name": "openClaimsCount",
489
+ "type": "uint16"
490
+ },
491
+ {
492
+ "internalType": "uint256",
493
+ "name": "payoutAmount",
494
+ "type": "uint256"
495
+ },
496
+ {
497
+ "internalType": "Timestamp",
498
+ "name": "activatedAt",
499
+ "type": "uint40"
500
+ },
501
+ {
502
+ "internalType": "Timestamp",
503
+ "name": "expiredAt",
504
+ "type": "uint40"
505
+ },
506
+ {
507
+ "internalType": "Timestamp",
508
+ "name": "closedAt",
509
+ "type": "uint40"
510
+ }
511
+ ],
512
+ "internalType": "struct IPolicy.PolicyInfo",
513
+ "name": "policy",
514
+ "type": "tuple"
515
+ }
516
+ ],
517
+ "name": "createApplication",
518
+ "outputs": [],
519
+ "stateMutability": "nonpayable",
520
+ "type": "function"
521
+ },
522
+ {
523
+ "inputs": [
524
+ {
525
+ "internalType": "NftId",
526
+ "name": "bundleNftId",
527
+ "type": "uint96"
528
+ },
529
+ {
530
+ "components": [
531
+ {
532
+ "internalType": "NftId",
533
+ "name": "poolNftId",
534
+ "type": "uint96"
535
+ },
536
+ {
537
+ "components": [
538
+ {
539
+ "internalType": "UFixed",
540
+ "name": "fractionalFee",
541
+ "type": "uint256"
542
+ },
543
+ {
544
+ "internalType": "uint256",
545
+ "name": "fixedFee",
546
+ "type": "uint256"
547
+ }
548
+ ],
549
+ "internalType": "struct Fee",
550
+ "name": "fee",
551
+ "type": "tuple"
552
+ },
553
+ {
554
+ "internalType": "bytes",
555
+ "name": "filter",
556
+ "type": "bytes"
557
+ },
558
+ {
559
+ "internalType": "uint256",
560
+ "name": "capitalAmount",
561
+ "type": "uint256"
562
+ },
563
+ {
564
+ "internalType": "uint256",
565
+ "name": "lockedAmount",
566
+ "type": "uint256"
567
+ },
568
+ {
569
+ "internalType": "uint256",
570
+ "name": "balanceAmount",
571
+ "type": "uint256"
572
+ },
573
+ {
574
+ "internalType": "Seconds",
575
+ "name": "lifetime",
576
+ "type": "uint40"
577
+ },
578
+ {
579
+ "internalType": "Timestamp",
580
+ "name": "expiredAt",
581
+ "type": "uint40"
582
+ },
583
+ {
584
+ "internalType": "Timestamp",
585
+ "name": "closedAt",
586
+ "type": "uint40"
587
+ }
588
+ ],
589
+ "internalType": "struct IBundle.BundleInfo",
590
+ "name": "bundle",
591
+ "type": "tuple"
592
+ }
593
+ ],
594
+ "name": "createBundle",
595
+ "outputs": [],
596
+ "stateMutability": "nonpayable",
597
+ "type": "function"
598
+ },
599
+ {
600
+ "inputs": [
601
+ {
602
+ "internalType": "NftId",
603
+ "name": "policyNftId",
604
+ "type": "uint96"
605
+ },
606
+ {
607
+ "internalType": "ClaimId",
608
+ "name": "claimId",
609
+ "type": "uint16"
610
+ },
611
+ {
612
+ "components": [
613
+ {
614
+ "internalType": "uint256",
615
+ "name": "claimAmount",
616
+ "type": "uint256"
617
+ },
618
+ {
619
+ "internalType": "uint256",
620
+ "name": "paidAmount",
621
+ "type": "uint256"
622
+ },
623
+ {
624
+ "internalType": "bytes",
625
+ "name": "data",
626
+ "type": "bytes"
627
+ },
628
+ {
629
+ "internalType": "Timestamp",
630
+ "name": "closedAt",
631
+ "type": "uint40"
632
+ }
633
+ ],
634
+ "internalType": "struct IPolicy.ClaimInfo",
635
+ "name": "claim",
636
+ "type": "tuple"
637
+ }
638
+ ],
639
+ "name": "createClaim",
640
+ "outputs": [],
641
+ "stateMutability": "nonpayable",
642
+ "type": "function"
643
+ },
644
+ {
645
+ "inputs": [
646
+ {
647
+ "internalType": "NftId",
648
+ "name": "distributionNftId",
649
+ "type": "uint96"
650
+ },
651
+ {
652
+ "components": [
653
+ {
654
+ "internalType": "NftId",
655
+ "name": "productNftId",
656
+ "type": "uint96"
657
+ },
658
+ {
659
+ "internalType": "contract TokenHandler",
660
+ "name": "tokenHandler",
661
+ "type": "address"
662
+ },
663
+ {
664
+ "components": [
665
+ {
666
+ "internalType": "UFixed",
667
+ "name": "fractionalFee",
668
+ "type": "uint256"
669
+ },
670
+ {
671
+ "internalType": "uint256",
672
+ "name": "fixedFee",
673
+ "type": "uint256"
674
+ }
675
+ ],
676
+ "internalType": "struct Fee",
677
+ "name": "minDistributionOwnerFee",
678
+ "type": "tuple"
679
+ },
680
+ {
681
+ "components": [
682
+ {
683
+ "internalType": "UFixed",
684
+ "name": "fractionalFee",
685
+ "type": "uint256"
686
+ },
687
+ {
688
+ "internalType": "uint256",
689
+ "name": "fixedFee",
690
+ "type": "uint256"
691
+ }
692
+ ],
693
+ "internalType": "struct Fee",
694
+ "name": "distributionFee",
695
+ "type": "tuple"
696
+ },
697
+ {
698
+ "internalType": "address",
699
+ "name": "wallet",
700
+ "type": "address"
701
+ },
702
+ {
703
+ "internalType": "uint256",
704
+ "name": "sumDistributionFees",
705
+ "type": "uint256"
706
+ }
707
+ ],
708
+ "internalType": "struct ISetup.DistributionSetupInfo",
709
+ "name": "setup",
710
+ "type": "tuple"
711
+ }
712
+ ],
713
+ "name": "createDistributionSetup",
714
+ "outputs": [],
715
+ "stateMutability": "nonpayable",
716
+ "type": "function"
717
+ },
718
+ {
719
+ "inputs": [
720
+ {
721
+ "internalType": "NftId",
722
+ "name": "nftId",
723
+ "type": "uint96"
724
+ },
725
+ {
726
+ "components": [
727
+ {
728
+ "internalType": "DistributorType",
729
+ "name": "distributorType",
730
+ "type": "bytes8"
731
+ },
732
+ {
733
+ "internalType": "bool",
734
+ "name": "active",
735
+ "type": "bool"
736
+ },
737
+ {
738
+ "internalType": "bytes",
739
+ "name": "data",
740
+ "type": "bytes"
741
+ },
742
+ {
743
+ "internalType": "uint256",
744
+ "name": "sumCommisions",
745
+ "type": "uint256"
746
+ },
747
+ {
748
+ "internalType": "uint256",
749
+ "name": "numPoliciesSold",
750
+ "type": "uint256"
751
+ }
752
+ ],
753
+ "internalType": "struct IDistribution.DistributorInfo",
754
+ "name": "info",
755
+ "type": "tuple"
756
+ }
757
+ ],
758
+ "name": "createDistributor",
759
+ "outputs": [],
760
+ "stateMutability": "nonpayable",
761
+ "type": "function"
762
+ },
763
+ {
764
+ "inputs": [
765
+ {
766
+ "internalType": "Key32",
767
+ "name": "distributorKey",
768
+ "type": "bytes32"
769
+ },
770
+ {
771
+ "components": [
772
+ {
773
+ "internalType": "string",
774
+ "name": "name",
775
+ "type": "string"
776
+ },
777
+ {
778
+ "internalType": "UFixed",
779
+ "name": "minDiscountPercentage",
780
+ "type": "uint256"
781
+ },
782
+ {
783
+ "internalType": "UFixed",
784
+ "name": "maxDiscountPercentage",
785
+ "type": "uint256"
786
+ },
787
+ {
788
+ "internalType": "UFixed",
789
+ "name": "commissionPercentage",
790
+ "type": "uint256"
791
+ },
792
+ {
793
+ "internalType": "uint32",
794
+ "name": "maxReferralCount",
795
+ "type": "uint32"
796
+ },
797
+ {
798
+ "internalType": "uint32",
799
+ "name": "maxReferralLifetime",
800
+ "type": "uint32"
801
+ },
802
+ {
803
+ "internalType": "bool",
804
+ "name": "allowSelfReferrals",
805
+ "type": "bool"
806
+ },
807
+ {
808
+ "internalType": "bool",
809
+ "name": "allowRenewals",
810
+ "type": "bool"
811
+ },
812
+ {
813
+ "internalType": "bytes",
814
+ "name": "data",
815
+ "type": "bytes"
816
+ }
817
+ ],
818
+ "internalType": "struct IDistribution.DistributorTypeInfo",
819
+ "name": "info",
820
+ "type": "tuple"
821
+ }
822
+ ],
823
+ "name": "createDistributorType",
824
+ "outputs": [],
825
+ "stateMutability": "nonpayable",
826
+ "type": "function"
827
+ },
828
+ {
829
+ "inputs": [
830
+ {
831
+ "internalType": "NftId",
832
+ "name": "policyNftId",
833
+ "type": "uint96"
834
+ },
835
+ {
836
+ "internalType": "NumberId",
837
+ "name": "payoutId",
838
+ "type": "uint32"
839
+ },
840
+ {
841
+ "components": [
842
+ {
843
+ "internalType": "ClaimId",
844
+ "name": "claimId",
845
+ "type": "uint16"
846
+ },
847
+ {
848
+ "internalType": "uint256",
849
+ "name": "amount",
850
+ "type": "uint256"
851
+ },
852
+ {
853
+ "internalType": "bytes",
854
+ "name": "data",
855
+ "type": "bytes"
856
+ },
857
+ {
858
+ "internalType": "Timestamp",
859
+ "name": "paidAt",
860
+ "type": "uint40"
861
+ }
862
+ ],
863
+ "internalType": "struct IPolicy.PayoutInfo",
864
+ "name": "payout",
865
+ "type": "tuple"
866
+ }
867
+ ],
868
+ "name": "createPayout",
869
+ "outputs": [],
870
+ "stateMutability": "nonpayable",
871
+ "type": "function"
872
+ },
873
+ {
874
+ "inputs": [
875
+ {
876
+ "internalType": "NftId",
877
+ "name": "poolNftId",
878
+ "type": "uint96"
879
+ },
880
+ {
881
+ "components": [
882
+ {
883
+ "internalType": "NftId",
884
+ "name": "productNftId",
885
+ "type": "uint96"
886
+ },
887
+ {
888
+ "internalType": "contract TokenHandler",
889
+ "name": "tokenHandler",
890
+ "type": "address"
891
+ },
892
+ {
893
+ "internalType": "uint256",
894
+ "name": "maxCapitalAmount",
895
+ "type": "uint256"
896
+ },
897
+ {
898
+ "internalType": "bool",
899
+ "name": "isInterceptingBundleTransfers",
900
+ "type": "bool"
901
+ },
902
+ {
903
+ "internalType": "bool",
904
+ "name": "isExternallyManaged",
905
+ "type": "bool"
906
+ },
907
+ {
908
+ "internalType": "bool",
909
+ "name": "isVerifyingApplications",
910
+ "type": "bool"
911
+ },
912
+ {
913
+ "internalType": "UFixed",
914
+ "name": "collateralizationLevel",
915
+ "type": "uint256"
916
+ },
917
+ {
918
+ "internalType": "UFixed",
919
+ "name": "retentionLevel",
920
+ "type": "uint256"
921
+ },
922
+ {
923
+ "components": [
924
+ {
925
+ "internalType": "UFixed",
926
+ "name": "fractionalFee",
927
+ "type": "uint256"
928
+ },
929
+ {
930
+ "internalType": "uint256",
931
+ "name": "fixedFee",
932
+ "type": "uint256"
933
+ }
934
+ ],
935
+ "internalType": "struct Fee",
936
+ "name": "poolFee",
937
+ "type": "tuple"
938
+ },
939
+ {
940
+ "components": [
941
+ {
942
+ "internalType": "UFixed",
943
+ "name": "fractionalFee",
944
+ "type": "uint256"
945
+ },
946
+ {
947
+ "internalType": "uint256",
948
+ "name": "fixedFee",
949
+ "type": "uint256"
950
+ }
951
+ ],
952
+ "internalType": "struct Fee",
953
+ "name": "stakingFee",
954
+ "type": "tuple"
955
+ },
956
+ {
957
+ "components": [
958
+ {
959
+ "internalType": "UFixed",
960
+ "name": "fractionalFee",
961
+ "type": "uint256"
962
+ },
963
+ {
964
+ "internalType": "uint256",
965
+ "name": "fixedFee",
966
+ "type": "uint256"
967
+ }
968
+ ],
969
+ "internalType": "struct Fee",
970
+ "name": "performanceFee",
971
+ "type": "tuple"
972
+ },
973
+ {
974
+ "internalType": "address",
975
+ "name": "wallet",
976
+ "type": "address"
977
+ }
978
+ ],
979
+ "internalType": "struct ISetup.PoolSetupInfo",
980
+ "name": "setup",
981
+ "type": "tuple"
982
+ }
983
+ ],
984
+ "name": "createPoolSetup",
985
+ "outputs": [],
986
+ "stateMutability": "nonpayable",
987
+ "type": "function"
988
+ },
989
+ {
990
+ "inputs": [
991
+ {
992
+ "internalType": "NftId",
993
+ "name": "productNftId",
994
+ "type": "uint96"
995
+ },
996
+ {
997
+ "components": [
998
+ {
999
+ "internalType": "contract IERC20Metadata",
1000
+ "name": "token",
1001
+ "type": "address"
1002
+ },
1003
+ {
1004
+ "internalType": "contract TokenHandler",
1005
+ "name": "tokenHandler",
1006
+ "type": "address"
1007
+ },
1008
+ {
1009
+ "internalType": "NftId",
1010
+ "name": "distributionNftId",
1011
+ "type": "uint96"
1012
+ },
1013
+ {
1014
+ "internalType": "NftId",
1015
+ "name": "poolNftId",
1016
+ "type": "uint96"
1017
+ },
1018
+ {
1019
+ "components": [
1020
+ {
1021
+ "internalType": "UFixed",
1022
+ "name": "fractionalFee",
1023
+ "type": "uint256"
1024
+ },
1025
+ {
1026
+ "internalType": "uint256",
1027
+ "name": "fixedFee",
1028
+ "type": "uint256"
1029
+ }
1030
+ ],
1031
+ "internalType": "struct Fee",
1032
+ "name": "productFee",
1033
+ "type": "tuple"
1034
+ },
1035
+ {
1036
+ "components": [
1037
+ {
1038
+ "internalType": "UFixed",
1039
+ "name": "fractionalFee",
1040
+ "type": "uint256"
1041
+ },
1042
+ {
1043
+ "internalType": "uint256",
1044
+ "name": "fixedFee",
1045
+ "type": "uint256"
1046
+ }
1047
+ ],
1048
+ "internalType": "struct Fee",
1049
+ "name": "processingFee",
1050
+ "type": "tuple"
1051
+ },
1052
+ {
1053
+ "internalType": "bool",
1054
+ "name": "isIntercepting",
1055
+ "type": "bool"
1056
+ },
1057
+ {
1058
+ "internalType": "address",
1059
+ "name": "wallet",
1060
+ "type": "address"
1061
+ }
1062
+ ],
1063
+ "internalType": "struct ISetup.ProductSetupInfo",
1064
+ "name": "setup",
1065
+ "type": "tuple"
1066
+ }
1067
+ ],
1068
+ "name": "createProductSetup",
1069
+ "outputs": [],
1070
+ "stateMutability": "nonpayable",
1071
+ "type": "function"
1072
+ },
1073
+ {
1074
+ "inputs": [
1075
+ {
1076
+ "internalType": "Key32",
1077
+ "name": "referralKey",
1078
+ "type": "bytes32"
1079
+ },
1080
+ {
1081
+ "components": [
1082
+ {
1083
+ "internalType": "NftId",
1084
+ "name": "distributorNftId",
1085
+ "type": "uint96"
1086
+ },
1087
+ {
1088
+ "internalType": "string",
1089
+ "name": "referralCode",
1090
+ "type": "string"
1091
+ },
1092
+ {
1093
+ "internalType": "UFixed",
1094
+ "name": "discountPercentage",
1095
+ "type": "uint256"
1096
+ },
1097
+ {
1098
+ "internalType": "uint32",
1099
+ "name": "maxReferrals",
1100
+ "type": "uint32"
1101
+ },
1102
+ {
1103
+ "internalType": "uint32",
1104
+ "name": "usedReferrals",
1105
+ "type": "uint32"
1106
+ },
1107
+ {
1108
+ "internalType": "Timestamp",
1109
+ "name": "expiryAt",
1110
+ "type": "uint40"
1111
+ },
1112
+ {
1113
+ "internalType": "bytes",
1114
+ "name": "data",
1115
+ "type": "bytes"
1116
+ }
1117
+ ],
1118
+ "internalType": "struct IDistribution.ReferralInfo",
1119
+ "name": "referralInfo",
1120
+ "type": "tuple"
1121
+ }
1122
+ ],
1123
+ "name": "createReferral",
1124
+ "outputs": [],
1125
+ "stateMutability": "nonpayable",
1126
+ "type": "function"
1127
+ },
1128
+ {
1129
+ "inputs": [
1130
+ {
1131
+ "internalType": "RiskId",
1132
+ "name": "riskId",
1133
+ "type": "bytes8"
1134
+ },
1135
+ {
1136
+ "components": [
1137
+ {
1138
+ "internalType": "NftId",
1139
+ "name": "productNftId",
1140
+ "type": "uint96"
1141
+ },
1142
+ {
1143
+ "internalType": "bytes",
1144
+ "name": "data",
1145
+ "type": "bytes"
1146
+ }
1147
+ ],
1148
+ "internalType": "struct IRisk.RiskInfo",
1149
+ "name": "risk",
1150
+ "type": "tuple"
1151
+ }
1152
+ ],
1153
+ "name": "createRisk",
1154
+ "outputs": [],
1155
+ "stateMutability": "nonpayable",
1156
+ "type": "function"
1157
+ },
1158
+ {
1159
+ "inputs": [
1160
+ {
1161
+ "internalType": "Key32",
1162
+ "name": "key32",
1163
+ "type": "bytes32"
1164
+ }
1165
+ ],
1166
+ "name": "exists",
1167
+ "outputs": [
1168
+ {
1169
+ "internalType": "bool",
1170
+ "name": "",
1171
+ "type": "bool"
1172
+ }
1173
+ ],
1174
+ "stateMutability": "view",
1175
+ "type": "function"
1176
+ },
1177
+ {
1178
+ "inputs": [
1179
+ {
1180
+ "internalType": "Key32",
1181
+ "name": "key32",
1182
+ "type": "bytes32"
1183
+ }
1184
+ ],
1185
+ "name": "get",
1186
+ "outputs": [
1187
+ {
1188
+ "components": [
1189
+ {
1190
+ "components": [
1191
+ {
1192
+ "internalType": "ObjectType",
1193
+ "name": "objectType",
1194
+ "type": "uint8"
1195
+ },
1196
+ {
1197
+ "internalType": "StateId",
1198
+ "name": "state",
1199
+ "type": "uint8"
1200
+ },
1201
+ {
1202
+ "internalType": "address",
1203
+ "name": "updatedBy",
1204
+ "type": "address"
1205
+ },
1206
+ {
1207
+ "internalType": "Blocknumber",
1208
+ "name": "updatedIn",
1209
+ "type": "uint32"
1210
+ },
1211
+ {
1212
+ "internalType": "Blocknumber",
1213
+ "name": "createdIn",
1214
+ "type": "uint32"
1215
+ }
1216
+ ],
1217
+ "internalType": "struct IKeyValueStore.Metadata",
1218
+ "name": "metadata",
1219
+ "type": "tuple"
1220
+ },
1221
+ {
1222
+ "internalType": "bytes",
1223
+ "name": "data",
1224
+ "type": "bytes"
1225
+ }
1226
+ ],
1227
+ "internalType": "struct IKeyValueStore.Value",
1228
+ "name": "value",
1229
+ "type": "tuple"
1230
+ }
1231
+ ],
1232
+ "stateMutability": "view",
1233
+ "type": "function"
1234
+ },
1235
+ {
1236
+ "inputs": [],
1237
+ "name": "getBundleManager",
1238
+ "outputs": [
1239
+ {
1240
+ "internalType": "contract BundleManager",
1241
+ "name": "",
1242
+ "type": "address"
1243
+ }
1244
+ ],
1245
+ "stateMutability": "view",
1246
+ "type": "function"
1247
+ },
1248
+ {
1249
+ "inputs": [],
1250
+ "name": "getBundleService",
1251
+ "outputs": [
1252
+ {
1253
+ "internalType": "contract IBundleService",
1254
+ "name": "",
1255
+ "type": "address"
1256
+ }
1257
+ ],
1258
+ "stateMutability": "view",
1259
+ "type": "function"
1260
+ },
1261
+ {
1262
+ "inputs": [
1263
+ {
1264
+ "internalType": "Key32",
1265
+ "name": "key32",
1266
+ "type": "bytes32"
1267
+ }
1268
+ ],
1269
+ "name": "getData",
1270
+ "outputs": [
1271
+ {
1272
+ "internalType": "bytes",
1273
+ "name": "data",
1274
+ "type": "bytes"
1275
+ }
1276
+ ],
1277
+ "stateMutability": "view",
1278
+ "type": "function"
1279
+ },
1280
+ {
1281
+ "inputs": [],
1282
+ "name": "getDistributionService",
1283
+ "outputs": [
1284
+ {
1285
+ "internalType": "contract IDistributionService",
1286
+ "name": "",
1287
+ "type": "address"
1288
+ }
1289
+ ],
1290
+ "stateMutability": "view",
1291
+ "type": "function"
1292
+ },
1293
+ {
1294
+ "inputs": [],
1295
+ "name": "getInitialInfo",
1296
+ "outputs": [
1297
+ {
1298
+ "components": [
1299
+ {
1300
+ "internalType": "NftId",
1301
+ "name": "nftId",
1302
+ "type": "uint96"
1303
+ },
1304
+ {
1305
+ "internalType": "NftId",
1306
+ "name": "parentNftId",
1307
+ "type": "uint96"
1308
+ },
1309
+ {
1310
+ "internalType": "ObjectType",
1311
+ "name": "objectType",
1312
+ "type": "uint8"
1313
+ },
1314
+ {
1315
+ "internalType": "bool",
1316
+ "name": "isInterceptor",
1317
+ "type": "bool"
1318
+ },
1319
+ {
1320
+ "internalType": "address",
1321
+ "name": "objectAddress",
1322
+ "type": "address"
1323
+ },
1324
+ {
1325
+ "internalType": "address",
1326
+ "name": "initialOwner",
1327
+ "type": "address"
1328
+ },
1329
+ {
1330
+ "internalType": "bytes",
1331
+ "name": "data",
1332
+ "type": "bytes"
1333
+ }
1334
+ ],
1335
+ "internalType": "struct IRegistry.ObjectInfo",
1336
+ "name": "info",
1337
+ "type": "tuple"
1338
+ }
1339
+ ],
1340
+ "stateMutability": "view",
1341
+ "type": "function"
1342
+ },
1343
+ {
1344
+ "inputs": [
1345
+ {
1346
+ "internalType": "ObjectType",
1347
+ "name": "objectType",
1348
+ "type": "uint8"
1349
+ }
1350
+ ],
1351
+ "name": "getInitialState",
1352
+ "outputs": [
1353
+ {
1354
+ "internalType": "StateId",
1355
+ "name": "",
1356
+ "type": "uint8"
1357
+ }
1358
+ ],
1359
+ "stateMutability": "view",
1360
+ "type": "function"
1361
+ },
1362
+ {
1363
+ "inputs": [],
1364
+ "name": "getInstanceReader",
1365
+ "outputs": [
1366
+ {
1367
+ "internalType": "contract InstanceReader",
1368
+ "name": "",
1369
+ "type": "address"
1370
+ }
1371
+ ],
1372
+ "stateMutability": "view",
1373
+ "type": "function"
1374
+ },
1375
+ {
1376
+ "inputs": [],
1377
+ "name": "getMajorVersion",
1378
+ "outputs": [
1379
+ {
1380
+ "internalType": "VersionPart",
1381
+ "name": "majorVersion",
1382
+ "type": "uint8"
1383
+ }
1384
+ ],
1385
+ "stateMutability": "pure",
1386
+ "type": "function"
1387
+ },
1388
+ {
1389
+ "inputs": [
1390
+ {
1391
+ "internalType": "Key32",
1392
+ "name": "key32",
1393
+ "type": "bytes32"
1394
+ }
1395
+ ],
1396
+ "name": "getMetadata",
1397
+ "outputs": [
1398
+ {
1399
+ "components": [
1400
+ {
1401
+ "internalType": "ObjectType",
1402
+ "name": "objectType",
1403
+ "type": "uint8"
1404
+ },
1405
+ {
1406
+ "internalType": "StateId",
1407
+ "name": "state",
1408
+ "type": "uint8"
1409
+ },
1410
+ {
1411
+ "internalType": "address",
1412
+ "name": "updatedBy",
1413
+ "type": "address"
1414
+ },
1415
+ {
1416
+ "internalType": "Blocknumber",
1417
+ "name": "updatedIn",
1418
+ "type": "uint32"
1419
+ },
1420
+ {
1421
+ "internalType": "Blocknumber",
1422
+ "name": "createdIn",
1423
+ "type": "uint32"
1424
+ }
1425
+ ],
1426
+ "internalType": "struct IKeyValueStore.Metadata",
1427
+ "name": "metadata",
1428
+ "type": "tuple"
1429
+ }
1430
+ ],
1431
+ "stateMutability": "view",
1432
+ "type": "function"
1433
+ },
1434
+ {
1435
+ "inputs": [],
1436
+ "name": "getNftId",
1437
+ "outputs": [
1438
+ {
1439
+ "internalType": "NftId",
1440
+ "name": "",
1441
+ "type": "uint96"
1442
+ }
1443
+ ],
1444
+ "stateMutability": "view",
1445
+ "type": "function"
1446
+ },
1447
+ {
1448
+ "inputs": [],
1449
+ "name": "getOwner",
1450
+ "outputs": [
1451
+ {
1452
+ "internalType": "address",
1453
+ "name": "",
1454
+ "type": "address"
1455
+ }
1456
+ ],
1457
+ "stateMutability": "view",
1458
+ "type": "function"
1459
+ },
1460
+ {
1461
+ "inputs": [],
1462
+ "name": "getPolicyService",
1463
+ "outputs": [
1464
+ {
1465
+ "internalType": "contract IPolicyService",
1466
+ "name": "",
1467
+ "type": "address"
1468
+ }
1469
+ ],
1470
+ "stateMutability": "view",
1471
+ "type": "function"
1472
+ },
1473
+ {
1474
+ "inputs": [],
1475
+ "name": "getPoolService",
1476
+ "outputs": [
1477
+ {
1478
+ "internalType": "contract IPoolService",
1479
+ "name": "",
1480
+ "type": "address"
1481
+ }
1482
+ ],
1483
+ "stateMutability": "view",
1484
+ "type": "function"
1485
+ },
1486
+ {
1487
+ "inputs": [],
1488
+ "name": "getProductService",
1489
+ "outputs": [
1490
+ {
1491
+ "internalType": "contract IProductService",
1492
+ "name": "",
1493
+ "type": "address"
1494
+ }
1495
+ ],
1496
+ "stateMutability": "view",
1497
+ "type": "function"
1498
+ },
1499
+ {
1500
+ "inputs": [],
1501
+ "name": "getRegistry",
1502
+ "outputs": [
1503
+ {
1504
+ "internalType": "contract IRegistry",
1505
+ "name": "",
1506
+ "type": "address"
1507
+ }
1508
+ ],
1509
+ "stateMutability": "view",
1510
+ "type": "function"
1511
+ },
1512
+ {
1513
+ "inputs": [],
1514
+ "name": "getRegistryAddress",
1515
+ "outputs": [
1516
+ {
1517
+ "internalType": "address",
1518
+ "name": "",
1519
+ "type": "address"
1520
+ }
1521
+ ],
1522
+ "stateMutability": "view",
1523
+ "type": "function"
1524
+ },
1525
+ {
1526
+ "inputs": [
1527
+ {
1528
+ "internalType": "Key32",
1529
+ "name": "key32",
1530
+ "type": "bytes32"
1531
+ }
1532
+ ],
1533
+ "name": "getState",
1534
+ "outputs": [
1535
+ {
1536
+ "internalType": "StateId",
1537
+ "name": "state",
1538
+ "type": "uint8"
1539
+ }
1540
+ ],
1541
+ "stateMutability": "view",
1542
+ "type": "function"
1543
+ },
1544
+ {
1545
+ "inputs": [
1546
+ {
1547
+ "internalType": "ObjectType",
1548
+ "name": "objectType",
1549
+ "type": "uint8"
1550
+ }
1551
+ ],
1552
+ "name": "hasLifecycle",
1553
+ "outputs": [
1554
+ {
1555
+ "internalType": "bool",
1556
+ "name": "",
1557
+ "type": "bool"
1558
+ }
1559
+ ],
1560
+ "stateMutability": "view",
1561
+ "type": "function"
1562
+ },
1563
+ {
1564
+ "inputs": [
1565
+ {
1566
+ "internalType": "address",
1567
+ "name": "accessManagerAddress",
1568
+ "type": "address"
1569
+ },
1570
+ {
1571
+ "internalType": "address",
1572
+ "name": "registryAddress",
1573
+ "type": "address"
1574
+ },
1575
+ {
1576
+ "internalType": "NftId",
1577
+ "name": "registryNftId",
1578
+ "type": "uint96"
1579
+ },
1580
+ {
1581
+ "internalType": "address",
1582
+ "name": "initialOwner",
1583
+ "type": "address"
1584
+ }
1585
+ ],
1586
+ "name": "initialize",
1587
+ "outputs": [],
1588
+ "stateMutability": "nonpayable",
1589
+ "type": "function"
1590
+ },
1591
+ {
1592
+ "inputs": [],
1593
+ "name": "initializeERC165",
1594
+ "outputs": [],
1595
+ "stateMutability": "nonpayable",
1596
+ "type": "function"
1597
+ },
1598
+ {
1599
+ "inputs": [
1600
+ {
1601
+ "internalType": "address",
1602
+ "name": "initialOwner",
1603
+ "type": "address"
1604
+ },
1605
+ {
1606
+ "internalType": "address",
1607
+ "name": "registryAddress",
1608
+ "type": "address"
1609
+ }
1610
+ ],
1611
+ "name": "initializeNftOwnable",
1612
+ "outputs": [],
1613
+ "stateMutability": "nonpayable",
1614
+ "type": "function"
1615
+ },
1616
+ {
1617
+ "inputs": [
1618
+ {
1619
+ "internalType": "address",
1620
+ "name": "registryAddress",
1621
+ "type": "address"
1622
+ },
1623
+ {
1624
+ "internalType": "NftId",
1625
+ "name": "parentNftId",
1626
+ "type": "uint96"
1627
+ },
1628
+ {
1629
+ "internalType": "ObjectType",
1630
+ "name": "objectType",
1631
+ "type": "uint8"
1632
+ },
1633
+ {
1634
+ "internalType": "bool",
1635
+ "name": "isInterceptor",
1636
+ "type": "bool"
1637
+ },
1638
+ {
1639
+ "internalType": "address",
1640
+ "name": "initialOwner",
1641
+ "type": "address"
1642
+ },
1643
+ {
1644
+ "internalType": "bytes",
1645
+ "name": "registryData",
1646
+ "type": "bytes"
1647
+ }
1648
+ ],
1649
+ "name": "initializeRegisterable",
1650
+ "outputs": [],
1651
+ "stateMutability": "nonpayable",
1652
+ "type": "function"
1653
+ },
1654
+ {
1655
+ "inputs": [
1656
+ {
1657
+ "internalType": "address",
1658
+ "name": "registryAddress",
1659
+ "type": "address"
1660
+ }
1661
+ ],
1662
+ "name": "initializeRegistryLinked",
1663
+ "outputs": [],
1664
+ "stateMutability": "nonpayable",
1665
+ "type": "function"
1666
+ },
1667
+ {
1668
+ "inputs": [],
1669
+ "name": "isConsumingScheduledOp",
1670
+ "outputs": [
1671
+ {
1672
+ "internalType": "bytes4",
1673
+ "name": "",
1674
+ "type": "bytes4"
1675
+ }
1676
+ ],
1677
+ "stateMutability": "view",
1678
+ "type": "function"
1679
+ },
1680
+ {
1681
+ "inputs": [
1682
+ {
1683
+ "internalType": "ObjectType",
1684
+ "name": "objectType",
1685
+ "type": "uint8"
1686
+ },
1687
+ {
1688
+ "internalType": "StateId",
1689
+ "name": "fromId",
1690
+ "type": "uint8"
1691
+ },
1692
+ {
1693
+ "internalType": "StateId",
1694
+ "name": "toId",
1695
+ "type": "uint8"
1696
+ }
1697
+ ],
1698
+ "name": "isValidTransition",
1699
+ "outputs": [
1700
+ {
1701
+ "internalType": "bool",
1702
+ "name": "",
1703
+ "type": "bool"
1704
+ }
1705
+ ],
1706
+ "stateMutability": "view",
1707
+ "type": "function"
1708
+ },
1709
+ {
1710
+ "inputs": [],
1711
+ "name": "linkToRegisteredNftId",
1712
+ "outputs": [],
1713
+ "stateMutability": "nonpayable",
1714
+ "type": "function"
1715
+ },
1716
+ {
1717
+ "inputs": [
1718
+ {
1719
+ "internalType": "bytes4",
1720
+ "name": "interfaceId",
1721
+ "type": "bytes4"
1722
+ }
1723
+ ],
1724
+ "name": "registerInterface",
1725
+ "outputs": [],
1726
+ "stateMutability": "nonpayable",
1727
+ "type": "function"
1728
+ },
1729
+ {
1730
+ "inputs": [
1731
+ {
1732
+ "internalType": "address",
1733
+ "name": "newAuthority",
1734
+ "type": "address"
1735
+ }
1736
+ ],
1737
+ "name": "setAuthority",
1738
+ "outputs": [],
1739
+ "stateMutability": "nonpayable",
1740
+ "type": "function"
1741
+ },
1742
+ {
1743
+ "inputs": [
1744
+ {
1745
+ "internalType": "contract BundleManager",
1746
+ "name": "bundleManager",
1747
+ "type": "address"
1748
+ }
1749
+ ],
1750
+ "name": "setBundleManager",
1751
+ "outputs": [],
1752
+ "stateMutability": "nonpayable",
1753
+ "type": "function"
1754
+ },
1755
+ {
1756
+ "inputs": [
1757
+ {
1758
+ "internalType": "contract InstanceReader",
1759
+ "name": "instanceReader",
1760
+ "type": "address"
1761
+ }
1762
+ ],
1763
+ "name": "setInstanceReader",
1764
+ "outputs": [],
1765
+ "stateMutability": "nonpayable",
1766
+ "type": "function"
1767
+ },
1768
+ {
1769
+ "inputs": [
1770
+ {
1771
+ "internalType": "bytes4",
1772
+ "name": "interfaceId",
1773
+ "type": "bytes4"
1774
+ }
1775
+ ],
1776
+ "name": "supportsInterface",
1777
+ "outputs": [
1778
+ {
1779
+ "internalType": "bool",
1780
+ "name": "",
1781
+ "type": "bool"
1782
+ }
1783
+ ],
1784
+ "stateMutability": "view",
1785
+ "type": "function"
1786
+ },
1787
+ {
1788
+ "inputs": [
1789
+ {
1790
+ "internalType": "NftId",
1791
+ "name": "bundleNftId",
1792
+ "type": "uint96"
1793
+ }
1794
+ ],
1795
+ "name": "toBundleKey32",
1796
+ "outputs": [
1797
+ {
1798
+ "internalType": "Key32",
1799
+ "name": "",
1800
+ "type": "bytes32"
1801
+ }
1802
+ ],
1803
+ "stateMutability": "pure",
1804
+ "type": "function"
1805
+ },
1806
+ {
1807
+ "inputs": [
1808
+ {
1809
+ "internalType": "NftId",
1810
+ "name": "distNftId",
1811
+ "type": "uint96"
1812
+ }
1813
+ ],
1814
+ "name": "toDistributionKey32",
1815
+ "outputs": [
1816
+ {
1817
+ "internalType": "Key32",
1818
+ "name": "",
1819
+ "type": "bytes32"
1820
+ }
1821
+ ],
1822
+ "stateMutability": "pure",
1823
+ "type": "function"
1824
+ },
1825
+ {
1826
+ "inputs": [
1827
+ {
1828
+ "internalType": "NftId",
1829
+ "name": "distNftId",
1830
+ "type": "uint96"
1831
+ }
1832
+ ],
1833
+ "name": "toDistributorKey32",
1834
+ "outputs": [
1835
+ {
1836
+ "internalType": "Key32",
1837
+ "name": "",
1838
+ "type": "bytes32"
1839
+ }
1840
+ ],
1841
+ "stateMutability": "pure",
1842
+ "type": "function"
1843
+ },
1844
+ {
1845
+ "inputs": [
1846
+ {
1847
+ "internalType": "NftId",
1848
+ "name": "distNftId",
1849
+ "type": "uint96"
1850
+ }
1851
+ ],
1852
+ "name": "toDistributorTypeKey32",
1853
+ "outputs": [
1854
+ {
1855
+ "internalType": "Key32",
1856
+ "name": "",
1857
+ "type": "bytes32"
1858
+ }
1859
+ ],
1860
+ "stateMutability": "pure",
1861
+ "type": "function"
1862
+ },
1863
+ {
1864
+ "inputs": [
1865
+ {
1866
+ "internalType": "ObjectType",
1867
+ "name": "objectType",
1868
+ "type": "uint8"
1869
+ },
1870
+ {
1871
+ "internalType": "KeyId",
1872
+ "name": "id",
1873
+ "type": "bytes31"
1874
+ }
1875
+ ],
1876
+ "name": "toKey32",
1877
+ "outputs": [
1878
+ {
1879
+ "internalType": "Key32",
1880
+ "name": "",
1881
+ "type": "bytes32"
1882
+ }
1883
+ ],
1884
+ "stateMutability": "pure",
1885
+ "type": "function"
1886
+ },
1887
+ {
1888
+ "inputs": [
1889
+ {
1890
+ "internalType": "NftId",
1891
+ "name": "policyNftId",
1892
+ "type": "uint96"
1893
+ }
1894
+ ],
1895
+ "name": "toPolicyKey32",
1896
+ "outputs": [
1897
+ {
1898
+ "internalType": "Key32",
1899
+ "name": "",
1900
+ "type": "bytes32"
1901
+ }
1902
+ ],
1903
+ "stateMutability": "pure",
1904
+ "type": "function"
1905
+ },
1906
+ {
1907
+ "inputs": [
1908
+ {
1909
+ "internalType": "NftId",
1910
+ "name": "applicationNftId",
1911
+ "type": "uint96"
1912
+ },
1913
+ {
1914
+ "components": [
1915
+ {
1916
+ "internalType": "NftId",
1917
+ "name": "productNftId",
1918
+ "type": "uint96"
1919
+ },
1920
+ {
1921
+ "internalType": "NftId",
1922
+ "name": "bundleNftId",
1923
+ "type": "uint96"
1924
+ },
1925
+ {
1926
+ "internalType": "ReferralId",
1927
+ "name": "referralId",
1928
+ "type": "bytes8"
1929
+ },
1930
+ {
1931
+ "internalType": "RiskId",
1932
+ "name": "riskId",
1933
+ "type": "bytes8"
1934
+ },
1935
+ {
1936
+ "internalType": "uint256",
1937
+ "name": "sumInsuredAmount",
1938
+ "type": "uint256"
1939
+ },
1940
+ {
1941
+ "internalType": "uint256",
1942
+ "name": "premiumAmount",
1943
+ "type": "uint256"
1944
+ },
1945
+ {
1946
+ "internalType": "uint256",
1947
+ "name": "premiumPaidAmount",
1948
+ "type": "uint256"
1949
+ },
1950
+ {
1951
+ "internalType": "Seconds",
1952
+ "name": "lifetime",
1953
+ "type": "uint40"
1954
+ },
1955
+ {
1956
+ "internalType": "bytes",
1957
+ "name": "applicationData",
1958
+ "type": "bytes"
1959
+ },
1960
+ {
1961
+ "internalType": "bytes",
1962
+ "name": "policyData",
1963
+ "type": "bytes"
1964
+ },
1965
+ {
1966
+ "internalType": "uint16",
1967
+ "name": "claimsCount",
1968
+ "type": "uint16"
1969
+ },
1970
+ {
1971
+ "internalType": "uint16",
1972
+ "name": "openClaimsCount",
1973
+ "type": "uint16"
1974
+ },
1975
+ {
1976
+ "internalType": "uint256",
1977
+ "name": "payoutAmount",
1978
+ "type": "uint256"
1979
+ },
1980
+ {
1981
+ "internalType": "Timestamp",
1982
+ "name": "activatedAt",
1983
+ "type": "uint40"
1984
+ },
1985
+ {
1986
+ "internalType": "Timestamp",
1987
+ "name": "expiredAt",
1988
+ "type": "uint40"
1989
+ },
1990
+ {
1991
+ "internalType": "Timestamp",
1992
+ "name": "closedAt",
1993
+ "type": "uint40"
1994
+ }
1995
+ ],
1996
+ "internalType": "struct IPolicy.PolicyInfo",
1997
+ "name": "policy",
1998
+ "type": "tuple"
1999
+ },
2000
+ {
2001
+ "internalType": "StateId",
2002
+ "name": "newState",
2003
+ "type": "uint8"
2004
+ }
2005
+ ],
2006
+ "name": "updateApplication",
2007
+ "outputs": [],
2008
+ "stateMutability": "nonpayable",
2009
+ "type": "function"
2010
+ },
2011
+ {
2012
+ "inputs": [
2013
+ {
2014
+ "internalType": "NftId",
2015
+ "name": "applicationNftId",
2016
+ "type": "uint96"
2017
+ },
2018
+ {
2019
+ "internalType": "StateId",
2020
+ "name": "newState",
2021
+ "type": "uint8"
2022
+ }
2023
+ ],
2024
+ "name": "updateApplicationState",
2025
+ "outputs": [],
2026
+ "stateMutability": "nonpayable",
2027
+ "type": "function"
2028
+ },
2029
+ {
2030
+ "inputs": [
2031
+ {
2032
+ "internalType": "NftId",
2033
+ "name": "bundleNftId",
2034
+ "type": "uint96"
2035
+ },
2036
+ {
2037
+ "components": [
2038
+ {
2039
+ "internalType": "NftId",
2040
+ "name": "poolNftId",
2041
+ "type": "uint96"
2042
+ },
2043
+ {
2044
+ "components": [
2045
+ {
2046
+ "internalType": "UFixed",
2047
+ "name": "fractionalFee",
2048
+ "type": "uint256"
2049
+ },
2050
+ {
2051
+ "internalType": "uint256",
2052
+ "name": "fixedFee",
2053
+ "type": "uint256"
2054
+ }
2055
+ ],
2056
+ "internalType": "struct Fee",
2057
+ "name": "fee",
2058
+ "type": "tuple"
2059
+ },
2060
+ {
2061
+ "internalType": "bytes",
2062
+ "name": "filter",
2063
+ "type": "bytes"
2064
+ },
2065
+ {
2066
+ "internalType": "uint256",
2067
+ "name": "capitalAmount",
2068
+ "type": "uint256"
2069
+ },
2070
+ {
2071
+ "internalType": "uint256",
2072
+ "name": "lockedAmount",
2073
+ "type": "uint256"
2074
+ },
2075
+ {
2076
+ "internalType": "uint256",
2077
+ "name": "balanceAmount",
2078
+ "type": "uint256"
2079
+ },
2080
+ {
2081
+ "internalType": "Seconds",
2082
+ "name": "lifetime",
2083
+ "type": "uint40"
2084
+ },
2085
+ {
2086
+ "internalType": "Timestamp",
2087
+ "name": "expiredAt",
2088
+ "type": "uint40"
2089
+ },
2090
+ {
2091
+ "internalType": "Timestamp",
2092
+ "name": "closedAt",
2093
+ "type": "uint40"
2094
+ }
2095
+ ],
2096
+ "internalType": "struct IBundle.BundleInfo",
2097
+ "name": "bundle",
2098
+ "type": "tuple"
2099
+ },
2100
+ {
2101
+ "internalType": "StateId",
2102
+ "name": "newState",
2103
+ "type": "uint8"
2104
+ }
2105
+ ],
2106
+ "name": "updateBundle",
2107
+ "outputs": [],
2108
+ "stateMutability": "nonpayable",
2109
+ "type": "function"
2110
+ },
2111
+ {
2112
+ "inputs": [
2113
+ {
2114
+ "internalType": "NftId",
2115
+ "name": "bundleNftId",
2116
+ "type": "uint96"
2117
+ },
2118
+ {
2119
+ "internalType": "StateId",
2120
+ "name": "newState",
2121
+ "type": "uint8"
2122
+ }
2123
+ ],
2124
+ "name": "updateBundleState",
2125
+ "outputs": [],
2126
+ "stateMutability": "nonpayable",
2127
+ "type": "function"
2128
+ },
2129
+ {
2130
+ "inputs": [
2131
+ {
2132
+ "internalType": "NftId",
2133
+ "name": "policyNftId",
2134
+ "type": "uint96"
2135
+ },
2136
+ {
2137
+ "internalType": "ClaimId",
2138
+ "name": "claimId",
2139
+ "type": "uint16"
2140
+ },
2141
+ {
2142
+ "components": [
2143
+ {
2144
+ "internalType": "uint256",
2145
+ "name": "claimAmount",
2146
+ "type": "uint256"
2147
+ },
2148
+ {
2149
+ "internalType": "uint256",
2150
+ "name": "paidAmount",
2151
+ "type": "uint256"
2152
+ },
2153
+ {
2154
+ "internalType": "bytes",
2155
+ "name": "data",
2156
+ "type": "bytes"
2157
+ },
2158
+ {
2159
+ "internalType": "Timestamp",
2160
+ "name": "closedAt",
2161
+ "type": "uint40"
2162
+ }
2163
+ ],
2164
+ "internalType": "struct IPolicy.ClaimInfo",
2165
+ "name": "claim",
2166
+ "type": "tuple"
2167
+ },
2168
+ {
2169
+ "internalType": "StateId",
2170
+ "name": "newState",
2171
+ "type": "uint8"
2172
+ }
2173
+ ],
2174
+ "name": "updateClaim",
2175
+ "outputs": [],
2176
+ "stateMutability": "nonpayable",
2177
+ "type": "function"
2178
+ },
2179
+ {
2180
+ "inputs": [
2181
+ {
2182
+ "internalType": "NftId",
2183
+ "name": "policyNftId",
2184
+ "type": "uint96"
2185
+ },
2186
+ {
2187
+ "internalType": "ClaimId",
2188
+ "name": "claimId",
2189
+ "type": "uint16"
2190
+ },
2191
+ {
2192
+ "internalType": "StateId",
2193
+ "name": "newState",
2194
+ "type": "uint8"
2195
+ }
2196
+ ],
2197
+ "name": "updateClaimState",
2198
+ "outputs": [],
2199
+ "stateMutability": "nonpayable",
2200
+ "type": "function"
2201
+ },
2202
+ {
2203
+ "inputs": [
2204
+ {
2205
+ "internalType": "NftId",
2206
+ "name": "distributionNftId",
2207
+ "type": "uint96"
2208
+ },
2209
+ {
2210
+ "components": [
2211
+ {
2212
+ "internalType": "NftId",
2213
+ "name": "productNftId",
2214
+ "type": "uint96"
2215
+ },
2216
+ {
2217
+ "internalType": "contract TokenHandler",
2218
+ "name": "tokenHandler",
2219
+ "type": "address"
2220
+ },
2221
+ {
2222
+ "components": [
2223
+ {
2224
+ "internalType": "UFixed",
2225
+ "name": "fractionalFee",
2226
+ "type": "uint256"
2227
+ },
2228
+ {
2229
+ "internalType": "uint256",
2230
+ "name": "fixedFee",
2231
+ "type": "uint256"
2232
+ }
2233
+ ],
2234
+ "internalType": "struct Fee",
2235
+ "name": "minDistributionOwnerFee",
2236
+ "type": "tuple"
2237
+ },
2238
+ {
2239
+ "components": [
2240
+ {
2241
+ "internalType": "UFixed",
2242
+ "name": "fractionalFee",
2243
+ "type": "uint256"
2244
+ },
2245
+ {
2246
+ "internalType": "uint256",
2247
+ "name": "fixedFee",
2248
+ "type": "uint256"
2249
+ }
2250
+ ],
2251
+ "internalType": "struct Fee",
2252
+ "name": "distributionFee",
2253
+ "type": "tuple"
2254
+ },
2255
+ {
2256
+ "internalType": "address",
2257
+ "name": "wallet",
2258
+ "type": "address"
2259
+ },
2260
+ {
2261
+ "internalType": "uint256",
2262
+ "name": "sumDistributionFees",
2263
+ "type": "uint256"
2264
+ }
2265
+ ],
2266
+ "internalType": "struct ISetup.DistributionSetupInfo",
2267
+ "name": "setup",
2268
+ "type": "tuple"
2269
+ },
2270
+ {
2271
+ "internalType": "StateId",
2272
+ "name": "newState",
2273
+ "type": "uint8"
2274
+ }
2275
+ ],
2276
+ "name": "updateDistributionSetup",
2277
+ "outputs": [],
2278
+ "stateMutability": "nonpayable",
2279
+ "type": "function"
2280
+ },
2281
+ {
2282
+ "inputs": [
2283
+ {
2284
+ "internalType": "NftId",
2285
+ "name": "distributionNftId",
2286
+ "type": "uint96"
2287
+ },
2288
+ {
2289
+ "internalType": "StateId",
2290
+ "name": "newState",
2291
+ "type": "uint8"
2292
+ }
2293
+ ],
2294
+ "name": "updateDistributionSetupState",
2295
+ "outputs": [],
2296
+ "stateMutability": "nonpayable",
2297
+ "type": "function"
2298
+ },
2299
+ {
2300
+ "inputs": [
2301
+ {
2302
+ "internalType": "NftId",
2303
+ "name": "nftId",
2304
+ "type": "uint96"
2305
+ },
2306
+ {
2307
+ "components": [
2308
+ {
2309
+ "internalType": "DistributorType",
2310
+ "name": "distributorType",
2311
+ "type": "bytes8"
2312
+ },
2313
+ {
2314
+ "internalType": "bool",
2315
+ "name": "active",
2316
+ "type": "bool"
2317
+ },
2318
+ {
2319
+ "internalType": "bytes",
2320
+ "name": "data",
2321
+ "type": "bytes"
2322
+ },
2323
+ {
2324
+ "internalType": "uint256",
2325
+ "name": "sumCommisions",
2326
+ "type": "uint256"
2327
+ },
2328
+ {
2329
+ "internalType": "uint256",
2330
+ "name": "numPoliciesSold",
2331
+ "type": "uint256"
2332
+ }
2333
+ ],
2334
+ "internalType": "struct IDistribution.DistributorInfo",
2335
+ "name": "info",
2336
+ "type": "tuple"
2337
+ },
2338
+ {
2339
+ "internalType": "StateId",
2340
+ "name": "newState",
2341
+ "type": "uint8"
2342
+ }
2343
+ ],
2344
+ "name": "updateDistributor",
2345
+ "outputs": [],
2346
+ "stateMutability": "nonpayable",
2347
+ "type": "function"
2348
+ },
2349
+ {
2350
+ "inputs": [
2351
+ {
2352
+ "internalType": "NftId",
2353
+ "name": "nftId",
2354
+ "type": "uint96"
2355
+ },
2356
+ {
2357
+ "internalType": "StateId",
2358
+ "name": "newState",
2359
+ "type": "uint8"
2360
+ }
2361
+ ],
2362
+ "name": "updateDistributorState",
2363
+ "outputs": [],
2364
+ "stateMutability": "nonpayable",
2365
+ "type": "function"
2366
+ },
2367
+ {
2368
+ "inputs": [
2369
+ {
2370
+ "internalType": "Key32",
2371
+ "name": "distributorKey",
2372
+ "type": "bytes32"
2373
+ },
2374
+ {
2375
+ "components": [
2376
+ {
2377
+ "internalType": "string",
2378
+ "name": "name",
2379
+ "type": "string"
2380
+ },
2381
+ {
2382
+ "internalType": "UFixed",
2383
+ "name": "minDiscountPercentage",
2384
+ "type": "uint256"
2385
+ },
2386
+ {
2387
+ "internalType": "UFixed",
2388
+ "name": "maxDiscountPercentage",
2389
+ "type": "uint256"
2390
+ },
2391
+ {
2392
+ "internalType": "UFixed",
2393
+ "name": "commissionPercentage",
2394
+ "type": "uint256"
2395
+ },
2396
+ {
2397
+ "internalType": "uint32",
2398
+ "name": "maxReferralCount",
2399
+ "type": "uint32"
2400
+ },
2401
+ {
2402
+ "internalType": "uint32",
2403
+ "name": "maxReferralLifetime",
2404
+ "type": "uint32"
2405
+ },
2406
+ {
2407
+ "internalType": "bool",
2408
+ "name": "allowSelfReferrals",
2409
+ "type": "bool"
2410
+ },
2411
+ {
2412
+ "internalType": "bool",
2413
+ "name": "allowRenewals",
2414
+ "type": "bool"
2415
+ },
2416
+ {
2417
+ "internalType": "bytes",
2418
+ "name": "data",
2419
+ "type": "bytes"
2420
+ }
2421
+ ],
2422
+ "internalType": "struct IDistribution.DistributorTypeInfo",
2423
+ "name": "info",
2424
+ "type": "tuple"
2425
+ },
2426
+ {
2427
+ "internalType": "StateId",
2428
+ "name": "newState",
2429
+ "type": "uint8"
2430
+ }
2431
+ ],
2432
+ "name": "updateDistributorType",
2433
+ "outputs": [],
2434
+ "stateMutability": "nonpayable",
2435
+ "type": "function"
2436
+ },
2437
+ {
2438
+ "inputs": [
2439
+ {
2440
+ "internalType": "Key32",
2441
+ "name": "distributorKey",
2442
+ "type": "bytes32"
2443
+ },
2444
+ {
2445
+ "internalType": "StateId",
2446
+ "name": "newState",
2447
+ "type": "uint8"
2448
+ }
2449
+ ],
2450
+ "name": "updateDistributorTypeState",
2451
+ "outputs": [],
2452
+ "stateMutability": "nonpayable",
2453
+ "type": "function"
2454
+ },
2455
+ {
2456
+ "inputs": [
2457
+ {
2458
+ "internalType": "NftId",
2459
+ "name": "policyNftId",
2460
+ "type": "uint96"
2461
+ },
2462
+ {
2463
+ "internalType": "NumberId",
2464
+ "name": "payoutId",
2465
+ "type": "uint32"
2466
+ },
2467
+ {
2468
+ "components": [
2469
+ {
2470
+ "internalType": "ClaimId",
2471
+ "name": "claimId",
2472
+ "type": "uint16"
2473
+ },
2474
+ {
2475
+ "internalType": "uint256",
2476
+ "name": "amount",
2477
+ "type": "uint256"
2478
+ },
2479
+ {
2480
+ "internalType": "bytes",
2481
+ "name": "data",
2482
+ "type": "bytes"
2483
+ },
2484
+ {
2485
+ "internalType": "Timestamp",
2486
+ "name": "paidAt",
2487
+ "type": "uint40"
2488
+ }
2489
+ ],
2490
+ "internalType": "struct IPolicy.PayoutInfo",
2491
+ "name": "payout",
2492
+ "type": "tuple"
2493
+ },
2494
+ {
2495
+ "internalType": "StateId",
2496
+ "name": "newState",
2497
+ "type": "uint8"
2498
+ }
2499
+ ],
2500
+ "name": "updatePayout",
2501
+ "outputs": [],
2502
+ "stateMutability": "nonpayable",
2503
+ "type": "function"
2504
+ },
2505
+ {
2506
+ "inputs": [
2507
+ {
2508
+ "internalType": "NftId",
2509
+ "name": "policyNftId",
2510
+ "type": "uint96"
2511
+ },
2512
+ {
2513
+ "internalType": "StateId",
2514
+ "name": "newState",
2515
+ "type": "uint8"
2516
+ }
2517
+ ],
2518
+ "name": "updatePayoutState",
2519
+ "outputs": [],
2520
+ "stateMutability": "nonpayable",
2521
+ "type": "function"
2522
+ },
2523
+ {
2524
+ "inputs": [
2525
+ {
2526
+ "internalType": "NftId",
2527
+ "name": "policyNftId",
2528
+ "type": "uint96"
2529
+ },
2530
+ {
2531
+ "components": [
2532
+ {
2533
+ "internalType": "NftId",
2534
+ "name": "productNftId",
2535
+ "type": "uint96"
2536
+ },
2537
+ {
2538
+ "internalType": "NftId",
2539
+ "name": "bundleNftId",
2540
+ "type": "uint96"
2541
+ },
2542
+ {
2543
+ "internalType": "ReferralId",
2544
+ "name": "referralId",
2545
+ "type": "bytes8"
2546
+ },
2547
+ {
2548
+ "internalType": "RiskId",
2549
+ "name": "riskId",
2550
+ "type": "bytes8"
2551
+ },
2552
+ {
2553
+ "internalType": "uint256",
2554
+ "name": "sumInsuredAmount",
2555
+ "type": "uint256"
2556
+ },
2557
+ {
2558
+ "internalType": "uint256",
2559
+ "name": "premiumAmount",
2560
+ "type": "uint256"
2561
+ },
2562
+ {
2563
+ "internalType": "uint256",
2564
+ "name": "premiumPaidAmount",
2565
+ "type": "uint256"
2566
+ },
2567
+ {
2568
+ "internalType": "Seconds",
2569
+ "name": "lifetime",
2570
+ "type": "uint40"
2571
+ },
2572
+ {
2573
+ "internalType": "bytes",
2574
+ "name": "applicationData",
2575
+ "type": "bytes"
2576
+ },
2577
+ {
2578
+ "internalType": "bytes",
2579
+ "name": "policyData",
2580
+ "type": "bytes"
2581
+ },
2582
+ {
2583
+ "internalType": "uint16",
2584
+ "name": "claimsCount",
2585
+ "type": "uint16"
2586
+ },
2587
+ {
2588
+ "internalType": "uint16",
2589
+ "name": "openClaimsCount",
2590
+ "type": "uint16"
2591
+ },
2592
+ {
2593
+ "internalType": "uint256",
2594
+ "name": "payoutAmount",
2595
+ "type": "uint256"
2596
+ },
2597
+ {
2598
+ "internalType": "Timestamp",
2599
+ "name": "activatedAt",
2600
+ "type": "uint40"
2601
+ },
2602
+ {
2603
+ "internalType": "Timestamp",
2604
+ "name": "expiredAt",
2605
+ "type": "uint40"
2606
+ },
2607
+ {
2608
+ "internalType": "Timestamp",
2609
+ "name": "closedAt",
2610
+ "type": "uint40"
2611
+ }
2612
+ ],
2613
+ "internalType": "struct IPolicy.PolicyInfo",
2614
+ "name": "policy",
2615
+ "type": "tuple"
2616
+ },
2617
+ {
2618
+ "internalType": "StateId",
2619
+ "name": "newState",
2620
+ "type": "uint8"
2621
+ }
2622
+ ],
2623
+ "name": "updatePolicy",
2624
+ "outputs": [],
2625
+ "stateMutability": "nonpayable",
2626
+ "type": "function"
2627
+ },
2628
+ {
2629
+ "inputs": [
2630
+ {
2631
+ "internalType": "NftId",
2632
+ "name": "policyNftId",
2633
+ "type": "uint96"
2634
+ },
2635
+ {
2636
+ "internalType": "StateId",
2637
+ "name": "newState",
2638
+ "type": "uint8"
2639
+ }
2640
+ ],
2641
+ "name": "updatePolicyState",
2642
+ "outputs": [],
2643
+ "stateMutability": "nonpayable",
2644
+ "type": "function"
2645
+ },
2646
+ {
2647
+ "inputs": [
2648
+ {
2649
+ "internalType": "NftId",
2650
+ "name": "poolNftId",
2651
+ "type": "uint96"
2652
+ },
2653
+ {
2654
+ "components": [
2655
+ {
2656
+ "internalType": "NftId",
2657
+ "name": "productNftId",
2658
+ "type": "uint96"
2659
+ },
2660
+ {
2661
+ "internalType": "contract TokenHandler",
2662
+ "name": "tokenHandler",
2663
+ "type": "address"
2664
+ },
2665
+ {
2666
+ "internalType": "uint256",
2667
+ "name": "maxCapitalAmount",
2668
+ "type": "uint256"
2669
+ },
2670
+ {
2671
+ "internalType": "bool",
2672
+ "name": "isInterceptingBundleTransfers",
2673
+ "type": "bool"
2674
+ },
2675
+ {
2676
+ "internalType": "bool",
2677
+ "name": "isExternallyManaged",
2678
+ "type": "bool"
2679
+ },
2680
+ {
2681
+ "internalType": "bool",
2682
+ "name": "isVerifyingApplications",
2683
+ "type": "bool"
2684
+ },
2685
+ {
2686
+ "internalType": "UFixed",
2687
+ "name": "collateralizationLevel",
2688
+ "type": "uint256"
2689
+ },
2690
+ {
2691
+ "internalType": "UFixed",
2692
+ "name": "retentionLevel",
2693
+ "type": "uint256"
2694
+ },
2695
+ {
2696
+ "components": [
2697
+ {
2698
+ "internalType": "UFixed",
2699
+ "name": "fractionalFee",
2700
+ "type": "uint256"
2701
+ },
2702
+ {
2703
+ "internalType": "uint256",
2704
+ "name": "fixedFee",
2705
+ "type": "uint256"
2706
+ }
2707
+ ],
2708
+ "internalType": "struct Fee",
2709
+ "name": "poolFee",
2710
+ "type": "tuple"
2711
+ },
2712
+ {
2713
+ "components": [
2714
+ {
2715
+ "internalType": "UFixed",
2716
+ "name": "fractionalFee",
2717
+ "type": "uint256"
2718
+ },
2719
+ {
2720
+ "internalType": "uint256",
2721
+ "name": "fixedFee",
2722
+ "type": "uint256"
2723
+ }
2724
+ ],
2725
+ "internalType": "struct Fee",
2726
+ "name": "stakingFee",
2727
+ "type": "tuple"
2728
+ },
2729
+ {
2730
+ "components": [
2731
+ {
2732
+ "internalType": "UFixed",
2733
+ "name": "fractionalFee",
2734
+ "type": "uint256"
2735
+ },
2736
+ {
2737
+ "internalType": "uint256",
2738
+ "name": "fixedFee",
2739
+ "type": "uint256"
2740
+ }
2741
+ ],
2742
+ "internalType": "struct Fee",
2743
+ "name": "performanceFee",
2744
+ "type": "tuple"
2745
+ },
2746
+ {
2747
+ "internalType": "address",
2748
+ "name": "wallet",
2749
+ "type": "address"
2750
+ }
2751
+ ],
2752
+ "internalType": "struct ISetup.PoolSetupInfo",
2753
+ "name": "setup",
2754
+ "type": "tuple"
2755
+ },
2756
+ {
2757
+ "internalType": "StateId",
2758
+ "name": "newState",
2759
+ "type": "uint8"
2760
+ }
2761
+ ],
2762
+ "name": "updatePoolSetup",
2763
+ "outputs": [],
2764
+ "stateMutability": "nonpayable",
2765
+ "type": "function"
2766
+ },
2767
+ {
2768
+ "inputs": [
2769
+ {
2770
+ "internalType": "NftId",
2771
+ "name": "poolNftId",
2772
+ "type": "uint96"
2773
+ },
2774
+ {
2775
+ "internalType": "StateId",
2776
+ "name": "newState",
2777
+ "type": "uint8"
2778
+ }
2779
+ ],
2780
+ "name": "updatePoolSetupState",
2781
+ "outputs": [],
2782
+ "stateMutability": "nonpayable",
2783
+ "type": "function"
2784
+ },
2785
+ {
2786
+ "inputs": [
2787
+ {
2788
+ "internalType": "NftId",
2789
+ "name": "productNftId",
2790
+ "type": "uint96"
2791
+ },
2792
+ {
2793
+ "components": [
2794
+ {
2795
+ "internalType": "contract IERC20Metadata",
2796
+ "name": "token",
2797
+ "type": "address"
2798
+ },
2799
+ {
2800
+ "internalType": "contract TokenHandler",
2801
+ "name": "tokenHandler",
2802
+ "type": "address"
2803
+ },
2804
+ {
2805
+ "internalType": "NftId",
2806
+ "name": "distributionNftId",
2807
+ "type": "uint96"
2808
+ },
2809
+ {
2810
+ "internalType": "NftId",
2811
+ "name": "poolNftId",
2812
+ "type": "uint96"
2813
+ },
2814
+ {
2815
+ "components": [
2816
+ {
2817
+ "internalType": "UFixed",
2818
+ "name": "fractionalFee",
2819
+ "type": "uint256"
2820
+ },
2821
+ {
2822
+ "internalType": "uint256",
2823
+ "name": "fixedFee",
2824
+ "type": "uint256"
2825
+ }
2826
+ ],
2827
+ "internalType": "struct Fee",
2828
+ "name": "productFee",
2829
+ "type": "tuple"
2830
+ },
2831
+ {
2832
+ "components": [
2833
+ {
2834
+ "internalType": "UFixed",
2835
+ "name": "fractionalFee",
2836
+ "type": "uint256"
2837
+ },
2838
+ {
2839
+ "internalType": "uint256",
2840
+ "name": "fixedFee",
2841
+ "type": "uint256"
2842
+ }
2843
+ ],
2844
+ "internalType": "struct Fee",
2845
+ "name": "processingFee",
2846
+ "type": "tuple"
2847
+ },
2848
+ {
2849
+ "internalType": "bool",
2850
+ "name": "isIntercepting",
2851
+ "type": "bool"
2852
+ },
2853
+ {
2854
+ "internalType": "address",
2855
+ "name": "wallet",
2856
+ "type": "address"
2857
+ }
2858
+ ],
2859
+ "internalType": "struct ISetup.ProductSetupInfo",
2860
+ "name": "setup",
2861
+ "type": "tuple"
2862
+ },
2863
+ {
2864
+ "internalType": "StateId",
2865
+ "name": "newState",
2866
+ "type": "uint8"
2867
+ }
2868
+ ],
2869
+ "name": "updateProductSetup",
2870
+ "outputs": [],
2871
+ "stateMutability": "nonpayable",
2872
+ "type": "function"
2873
+ },
2874
+ {
2875
+ "inputs": [
2876
+ {
2877
+ "internalType": "NftId",
2878
+ "name": "productNftId",
2879
+ "type": "uint96"
2880
+ },
2881
+ {
2882
+ "internalType": "StateId",
2883
+ "name": "newState",
2884
+ "type": "uint8"
2885
+ }
2886
+ ],
2887
+ "name": "updateProductSetupState",
2888
+ "outputs": [],
2889
+ "stateMutability": "nonpayable",
2890
+ "type": "function"
2891
+ },
2892
+ {
2893
+ "inputs": [
2894
+ {
2895
+ "internalType": "Key32",
2896
+ "name": "referralKey",
2897
+ "type": "bytes32"
2898
+ },
2899
+ {
2900
+ "components": [
2901
+ {
2902
+ "internalType": "NftId",
2903
+ "name": "distributorNftId",
2904
+ "type": "uint96"
2905
+ },
2906
+ {
2907
+ "internalType": "string",
2908
+ "name": "referralCode",
2909
+ "type": "string"
2910
+ },
2911
+ {
2912
+ "internalType": "UFixed",
2913
+ "name": "discountPercentage",
2914
+ "type": "uint256"
2915
+ },
2916
+ {
2917
+ "internalType": "uint32",
2918
+ "name": "maxReferrals",
2919
+ "type": "uint32"
2920
+ },
2921
+ {
2922
+ "internalType": "uint32",
2923
+ "name": "usedReferrals",
2924
+ "type": "uint32"
2925
+ },
2926
+ {
2927
+ "internalType": "Timestamp",
2928
+ "name": "expiryAt",
2929
+ "type": "uint40"
2930
+ },
2931
+ {
2932
+ "internalType": "bytes",
2933
+ "name": "data",
2934
+ "type": "bytes"
2935
+ }
2936
+ ],
2937
+ "internalType": "struct IDistribution.ReferralInfo",
2938
+ "name": "referralInfo",
2939
+ "type": "tuple"
2940
+ },
2941
+ {
2942
+ "internalType": "StateId",
2943
+ "name": "newState",
2944
+ "type": "uint8"
2945
+ }
2946
+ ],
2947
+ "name": "updateReferral",
2948
+ "outputs": [],
2949
+ "stateMutability": "nonpayable",
2950
+ "type": "function"
2951
+ },
2952
+ {
2953
+ "inputs": [
2954
+ {
2955
+ "internalType": "Key32",
2956
+ "name": "referralKey",
2957
+ "type": "bytes32"
2958
+ },
2959
+ {
2960
+ "internalType": "StateId",
2961
+ "name": "newState",
2962
+ "type": "uint8"
2963
+ }
2964
+ ],
2965
+ "name": "updateReferralState",
2966
+ "outputs": [],
2967
+ "stateMutability": "nonpayable",
2968
+ "type": "function"
2969
+ },
2970
+ {
2971
+ "inputs": [
2972
+ {
2973
+ "internalType": "RiskId",
2974
+ "name": "riskId",
2975
+ "type": "bytes8"
2976
+ },
2977
+ {
2978
+ "components": [
2979
+ {
2980
+ "internalType": "NftId",
2981
+ "name": "productNftId",
2982
+ "type": "uint96"
2983
+ },
2984
+ {
2985
+ "internalType": "bytes",
2986
+ "name": "data",
2987
+ "type": "bytes"
2988
+ }
2989
+ ],
2990
+ "internalType": "struct IRisk.RiskInfo",
2991
+ "name": "risk",
2992
+ "type": "tuple"
2993
+ },
2994
+ {
2995
+ "internalType": "StateId",
2996
+ "name": "newState",
2997
+ "type": "uint8"
2998
+ }
2999
+ ],
3000
+ "name": "updateRisk",
3001
+ "outputs": [],
3002
+ "stateMutability": "nonpayable",
3003
+ "type": "function"
3004
+ },
3005
+ {
3006
+ "inputs": [
3007
+ {
3008
+ "internalType": "RiskId",
3009
+ "name": "riskId",
3010
+ "type": "bytes8"
3011
+ },
3012
+ {
3013
+ "internalType": "StateId",
3014
+ "name": "newState",
3015
+ "type": "uint8"
3016
+ }
3017
+ ],
3018
+ "name": "updateRiskState",
3019
+ "outputs": [],
3020
+ "stateMutability": "nonpayable",
3021
+ "type": "function"
3022
+ }
3023
+ ],
3024
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000040565b62000026620001f7565b6200003062000331565b6200003a6200059e565b62000717565b60dc600090815260026020527f4bee8dc518469fb8c73831886b94afa96b3ef3e3ee55b9076720259192220ef0805460ff191660641790556001906003906200008760dc90565b60ff1660ff1681526020019081526020016000206000620000ad620006e560201b60201c565b60ff1660ff1681526020019081526020016000206000620000d3620006ef60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906003906200010760dc90565b60ff1660ff16815260200190815260200160002060006200012d620006ef60201b60201c565b60ff1660ff168152602001908152602001600020600062000153620006e560201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906003906200018760dc90565b60ff1660ff1681526020019081526020016000206000620001ad620006ef60201b60201c565b60ff1660ff1681526020019081526020016000206000620001d3620006f460201b60201c565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f7673bcbb3401a7cbae68f81d40eea2cf35afdaf7ecd016ebf3f02857fcc1260a8054606460ff1991821681179092557fa1c69de77e78d12e062170d002ba111ba52c8f452f3b0ca326991b7298fd7aaf8054909116600190811790915560009182526003602052907f6b16ef514f22b74729cbea5cc7babfecbdc2309e530ca716643d11fe929eed2e906200028b606e90565b60ff1660ff1681526020019081526020016000206000620002b1620006e560201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600390620002e5606490565b60ff1660ff16815260200190815260200160002060006200030b620006ef60201b60201c565b60ff1660ff1681526020019081526020016000206000620001d3620006f960201b60201c565b60d3600090815260026020527feb6856e0ae0d71a8a9e0bc42aca98fe96c3be13699c5c2d551c94a190e39043d805460ff1916600a1790556001906003906200037860d390565b60ff1660ff16815260200190815260200160002060006200039e620006fe60201b60201c565b60ff1660ff1681526020019081526020016000206000620003c46200070360201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600390620003f860d390565b60ff1660ff16815260200190815260200160002060006200041e620006fe60201b60201c565b60ff1660ff1681526020019081526020016000206000620004446200070860201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906003906200047860d390565b60ff1660ff16815260200190815260200160002060006200049e620006fe60201b60201c565b60ff1660ff1681526020019081526020016000206000620004c46200070d60201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600390620004f860d390565b60ff1660ff16815260200190815260200160002060006200051e6200070d60201b60201c565b60ff1660ff168152602001908152602001600020600062000544620006e560201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906003906200057860d390565b60ff1660ff1681526020019081526020016000206000620001ad620006e560201b60201c565b60c8600090815260026020527fec56eb74d500f9b1bf8f0c5cc42ff5ed51e8d9e3a2ebb6e83a26383f297e0f1e805460ff19166064179055600190600390620005e560c890565b60ff1660ff16815260200190815260200160002060006200060b620006e560201b60201c565b60ff1660ff168152602001908152602001600020600062000631620006ef60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906003906200066560c890565b60ff1660ff16815260200190815260200160002060006200068b620006ef60201b60201c565b60ff1660ff1681526020019081526020016000206000620006b1620006e560201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600390620002e560c890565b606490565b905090565b606e90565b60c890565b60d290565b600a90565b601490565b601e90565b60006028620006ea565b61520480620007276000396000f3fe608060405234801561001057600080fd5b50600436106104a15760003560e01c8063675393bf1161026d578063b6d7cd6211610151578063e9e96c70116100ce578063f7c34ee011610092578063f7c34ee014610b3d578063fa145b6d14610b50578063fb4a8e3414610b63578063fbc1a3a014610b76578063fe1f18d614610b89578063fed3d63f14610b9c57600080fd5b8063e9e96c7014610ac6578063f21de1e8146107f1578063f48016ce14610b04578063f7b442d114610b17578063f7bc431c14610b2a57600080fd5b8063cde749f411610115578063cde749f414610a7d578063cf947d2014610a85578063d2f21a2914610a98578063dee3262314610aab578063e1033e7d14610abe57600080fd5b8063b6d7cd6214610a47578063bf1db3f914610a5a578063bf7e214f14610a6d578063c29948fc14610611578063ca600b1c14610a7557600080fd5b80639df0280b116101ea578063a76ee018116101ae578063a76ee018146109e6578063a8989675146109f9578063ada9652e14610a0c578063afa5e13014610798578063afcc743914610a21578063b3260e9314610a3457600080fd5b80639df0280b146105bb5780639e90178c146108fc578063a13df2ab1461090f578063a5961b4c14610922578063a671495e146109d357600080fd5b80637cef4842116102315780637cef48421461088d578063893d20e8146108a05780638eaa6ac0146108a85780638fb36037146108c8578063976b0a77146108e957600080fd5b8063675393bf146108445780636b9bf08b1461085757806375b238fc1461085f5780637a9e5e4b146108675780637b8c388f1461087a57600080fd5b80632f61088a11610394578063447fc48f116103115780635772b101116102d55780635772b101146107de5780635ab1bd53146107f15780635d4345cc146105bb5780635dfa73db1461080257806361f5f4201461080b578063644c45e01461081c57600080fd5b8063447fc48f14610772578063468a1867146107855780635378cd3c1461079857806354d747a8146107ab57806354f6127f146107be57600080fd5b80633ca7c02a116103585780633ca7c02a1461070b5780633e35aba81461073157806340529b0f14610744578063422c9d00146107575780634288121d1461076a57600080fd5b80632f61088a146106ad57806336fc697e146106c057806337f135d7146106c857806338a699a4146106e55780633c0d6a41146106f857600080fd5b80631204b553116104225780631eff4b22116103e65780631eff4b2214610645578063214cdb801461066c5780632781d4431461067f57806327953f481461068757806327bb7a331461069a57600080fd5b80631204b553146105e357806312aa0b2a146105f6578063138461e0146106095780631518afb9146106115780631b38d5f41461062457600080fd5b80630d358181116104695780630d3581811461056f5780630f03144a146105955780630f526f7d146105a85780630fad0eb1146105bb5780630fec111c146105ce57600080fd5b806301ffc9a7146104a657806302cd3071146104e857806309648a9d1461050d57806309fb1d08146105475780630cbc6b891461055c575b600080fd5b6104d36104b4366004613364565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6006546001600160a01b03165b6040516001600160a01b0390911681526020016104df565b61053561051b36600461338e565b600090815260046020526040902054610100900460ff1690565b60405160ff90911681526020016104df565b61055a61055536600461362f565b610ba4565b005b61055a61056a366004613724565b610bea565b61053561057d366004613765565b60ff9081166000908152600260205260409020541690565b61055a6105a33660046138ea565b610c12565b61055a6105b6366004613939565b610c50565b61055a6105c9366004613939565b610c6d565b6105d6610c82565b6040516104df91906139c2565b61055a6105f1366004613a4d565b610e31565b61055a610604366004613aa5565b610e57565b61055a610e7f565b61055a61061f366004613c5a565b611086565b610637610632366004613ca1565b6110ac565b6040519081526020016104df565b6106377f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b61055a61067a366004613364565b61114b565b610637600381565b61055a610695366004613dae565b611178565b61055a6106a8366004613dea565b611196565b61055a6106bb366004613edc565b611222565b61055a6112bd565b6106d0600081565b60405163ffffffff90911681526020016104df565b6104d36106f336600461338e565b611303565b61055a610706366004613f98565b611392565b6107196001600160401b0381565b6040516001600160401b0390911681526020016104df565b61063761073f366004613ca1565b6113b8565b61055a610752366004613939565b6113e5565b61055a610765366004613ff9565b6113fa565b6104f5611537565b61055a610780366004614016565b6115ca565b610637610793366004613ca1565b6115f6565b61055a6107a636600461408a565b611623565b61055a6107b936600461416b565b611636565b6107d16107cc36600461338e565b611654565b6040516104df91906141a7565b61055a6107ec3660046141fd565b6116f9565b6001546001600160a01b03166104f5565b61071961271081565b6007546001600160a01b03166104f5565b60008051602061518f833981519152546040516001600160601b0390911681526020016104df565b61055a610852366004613ff9565b61171f565b6104f561182b565b610719600081565b61055a610875366004613ff9565b611854565b610637610888366004613ca1565b6118d7565b61055a61089b366004614255565b611904565b6104f561198e565b6108bb6108b636600461338e565b611ac5565b6040516104df91906142bd565b6108d0611c06565b6040516001600160e01b031990911681526020016104df565b61055a6108f73660046142e9565b611c3e565b61055a61090a3660046143df565b611d7d565b61063761091d366004613ca1565b611da5565b6109c661093036600461338e565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260046020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b6040516104df919061440d565b61055a6109e13660046144be565b611dd2565b61055a6109f4366004614503565b611df8565b61055a610a0736600461454a565b611e93565b61063760008051602061518f83398151915281565b61055a610a2f36600461458a565b611f84565b61055a610a423660046145cf565b611faa565b61055a610a5536600461460d565b611fc8565b6104d3610a68366004613765565b611fdd565b6104f561202a565b6104f5612046565b61053561206f565b61055a610a9336600461463d565b6120e6565b61055a610aa6366004613939565b612104565b61055a610ab9366004613939565b61211b565b6104f5612132565b6104d3610ad436600461454a565b60ff9283166000908152600360209081526040808320948616835293815283822092851682529190915220541690565b610637610b1236600461468b565b61215b565b61055a610b253660046146b9565b6121e6565b61055a610b38366004613ff9565b61220e565b61055a610b4b3660046146fa565b6122fb565b61055a610b5e366004614728565b612372565b61055a610b7136600461477f565b612398565b61055a610b843660046147c6565b6123be565b61055a610b97366004613939565b6123e6565b6104f56123fb565b610bb1335b600036612424565b610be5610bbf84608c61252a565b83604051602001610bd091906147f4565b60405160208183030381529060405283612576565b505050565b610bf333610ba9565b610be5610c0184606e61252a565b83604051602001610bd091906148ed565b610c1b33610ba9565b610c4c610c2783611da5565b82604051602001610c38919061499a565b604051602081830303815290604052612581565b5050565b610c5933610ba9565b610c4c610c6783608c61252a565b8261258b565b610c7633610ba9565b610c4c610c67836115f6565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b90910416151591810191909152600182018054919291606084019190610d2d90614a56565b80601f0160208091040260200160405190810160405280929190818152602001828054610d5990614a56565b8015610da65780601f10610d7b57610100808354040283529160200191610da6565b820191906000526020600020905b815481529060010190602001808311610d8957829003601f168201915b50505050508152505090506040518060e00160405280610dc4600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610e1561198e565b6001600160a01b03168152602001826060015181525091505090565b610e3a33610ba9565b610be5610e4684611da5565b83604051602001610bd0919061499a565b610e6033610ba9565b610c4c610e6e83608c61252a565b82604051602001610c3891906147f4565b600060008051602061518f83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610eee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f129190614a90565b15610f435780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b30610f566001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610f9e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc29190614a90565b610fea5760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610f3a565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa15801561103e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110629190614aad565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b61108f33610ba9565b610be561109b846115f6565b83604051602001610bd09190614aca565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660795b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af4158015611121573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111459190614c18565b92915050565b611153612595565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61118133610ba9565b610c4c8282604051602001610c389190614c31565b61119e612595565b6111a882876122fb565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016112188382614d27565b5050505050505050565b61122b33610ba9565b6040516355ee627560e01b81526001600160c01b031983166004820152610c4c9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611288573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ac9190614c18565b82604051602001610c389190614de6565b6112c5612595565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600081815260046020819052604080832054905163b2466acf60e01b815261010090910460ff169181019190915273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af415801561136e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111459190614a90565b61139b33610ba9565b610be56113a7846115f6565b82604051602001610c389190614e14565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660786110d5565b6113ee33610ba9565b610c4c610c67836118d7565b61140333610ba9565b6007546001600160a01b0316156114535760405162461bcd60e51b8152602060048201526014602482015273109d5b991b1953585b9859d95c881a5cc81cd95d60621b6044820152606401610f3a565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa15801561149b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114bf9190614e65565b6001600160a01b0316146115155760405162461bcd60e51b815260206004820152601f60248201527f42756e646c654d616e6167657220696e7374616e6365206d69736d61746368006044820152606401610f3a565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b600061154b6001546001600160a01b031690565b6001600160a01b031663d39e6043606e5b6040516001600160e01b031960e084901b16815260ff909116600482015260036024820152604401602060405180830381865afa1580156115a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115c59190614e65565b905090565b6115d333610ba9565b6115f06115df856115f6565b83604051602001610bd09190614e14565b50505050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d36110d5565b61162c33610ba9565b610c4c828261258b565b61163f33610ba9565b610c4c8282604051602001610c389190614e82565b600081815260046020526040902060010180546060919061167490614a56565b80601f01602080910402602001604051908101604052809291908181526020018280546116a090614a56565b80156116ed5780601f106116c2576101008083540402835291602001916116ed565b820191906000526020600020905b8154815290600101906020018083116116d057829003601f168201915b50505050509050919050565b61170233610ba9565b6115f061170e856115f6565b83604051602001610bd09190614f1d565b611727612595565b806001600160a01b03163b60000361175d5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610f3a565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156117d7575060408051601f3d908101601f191682019092526117d491810190614a90565b60015b6117ff5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610f3a565b80610c4c5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610f3a565b50565b600061183f6001546001600160a01b031690565b6001600160a01b031663d39e6043608c61155c565b3361185d61202a565b6001600160a01b0316816001600160a01b0316146118985760405162d1953b60e31b81526001600160a01b0382166004820152602401610f3a565b816001600160a01b03163b6000036118ce576040516361798f2f60e11b81526001600160a01b0383166004820152602401610f3a565b610c4c826125e0565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a6110d5565b61190d33610ba9565b6040516355ee627560e01b81526001600160c01b031983166004820152610c4c9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af415801561196a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c679190614c18565b60008060008051602061518f83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156119fe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a229190614a90565b15611aaf576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611a85573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aa99190614e65565b91505090565b54600160601b90046001600160a01b0316919050565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260046020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c08201529283526001810180549192840191611b7d90614a56565b80601f0160208091040260200160405190810160405280929190818152602001828054611ba990614a56565b8015611bf65780601f10611bcb57610100808354040283529160200191611bf6565b820191906000526020600020905b815481529060010190602001808311611bd957829003601f168201915b5050505050815250509050919050565b6000805160206151af833981519152805460009190600160a01b900460ff16611c30576000611aa9565b638fb3603760e01b91505090565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b0316600081158015611c835750825b90506000826001600160401b03166001148015611c9f5750303b155b905081158015611cad575080155b15611ccb5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611cf557845460ff60401b1916600160401b1785555b611cfe89612641565b611d1d8888604660008a60405180602001604052806000815250611196565b611d2c62e51dcd60e31b61114b565b8315611d7257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050505050565b611d8633610ba9565b610c4c611d9483607861252a565b82604051602001610c389190614f4d565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc6110d5565b611ddb33610ba9565b610c4c611de7836118d7565b82604051602001610c389190614fc1565b611e0133610ba9565b6040516355ee627560e01b81526001600160c01b031984166004820152610be59073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611e5e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e829190614c18565b83604051602001610bd09190614de6565b60ff8381166000908152600260205260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015611ef8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f1c9190614a90565b15611f2657505050565b60ff808416600090815260036020908152604080832086851684528252808320858516845290915290205416610be557604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610f3a565b611f8d33610ba9565b610c4c611f99836115f6565b82604051602001610c389190614aca565b611fb333610ba9565b610be58383604051602001610bd09190614c31565b611fd133610ba9565b610be5610c67846115f6565b60ff81811660009081526002602052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401611351565b6000805160206151af833981519152546001600160a01b031690565b600061205a6001546001600160a01b031690565b6001600160a01b031663d39e6043607861155c565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af41580156120c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115c5919061501f565b6120ef33610ba9565b610be58383604051602001610bd09190614e82565b61210d33610ba9565b610c4c610c6783607861252a565b61212433610ba9565b610c4c610c6783606e61252a565b60006121466001546001600160a01b031690565b6001600160a01b031663d39e604360d361155c565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af41580156121bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121df9190614c18565b9392505050565b6121ef33610ba9565b610be56121fd84607861252a565b83604051602001610bd09190614f4d565b61221733610ba9565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa15801561225f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122839190614e65565b6001600160a01b0316146122d95760405162461bcd60e51b815260206004820181905260248201527f496e7374616e636552656164657220696e7374616e6365206d69736d617463686044820152606401610f3a565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b612303612595565b61230c8161171f565b6123146112bd565b6001600160a01b03821661233b5760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061518f83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b61237b33610ba9565b610be5612387846115f6565b82604051602001610c389190614f1d565b6123a133610ba9565b610be56123ad846118d7565b83604051602001610bd09190614fc1565b6123c733610ba9565b610c4c6123d583606e61252a565b82604051602001610c3891906148ed565b6123ef33610ba9565b610c4c610c6783611da5565b600061240f6001546001600160a01b031690565b6001600160a01b031663d39e604360dc61155c565b6000805160206151af83398151915260008061245f61244161202a565b8730612451600460008a8c61503c565b61245a91615066565b612652565b91509150816125225763ffffffff8116156124ff57825460ff60a01b1916600160a01b17835561248d61202a565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016124bc93929190615096565b600060405180830381600087803b1580156124d657600080fd5b505af11580156124ea573d6000803e3d6000fd5b5050845460ff60a01b19168555506125229050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610f3a565b505050505050565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c89060440161219e565b610be583838361275e565b610c4c8282612c06565b610c4c828261301f565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166125de57604051631afcd79f60e31b815260040160405180910390fd5b565b6000805160206151af83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b612649612595565b61182881613353565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516126c191906150d6565b600060405180830381855afa9150503d80600081146126fc576040519150601f19603f3d011682016040523d82523d6000602084013e612701565b606091505b50915091508115612753576040815110612733578080602001905181019061272991906150f2565b9094509250612753565b602081511061275357808060200190518101906127509190614a90565b93505b505094509492505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156127b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127d49190614a90565b6128205760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3032303a53544154455f554e444546494e45440000006044820152606401610f3a565b6000838152600460208190526040918290208054925163b2466acf60e01b815261010090930460ff169183018290529173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af415801561288c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128b09190614a90565b6128fc5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3032313a4e4f545f4558495354494e470000000000006044820152606401610f3a565b60008581526004602052604090206001016129178582614d27565b508154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b9091041661295c4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156129ee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a12919061501f565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612a62573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a869190615121565b8786863287604051612a9e979695949392919061513e565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612b18573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b3c919061501f565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612b8c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bb09190615121565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c0015b60405180910390a150505050505050565b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612c59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c7d919061501f565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af4158015612cd2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cf69190614a90565b612d425760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401610f3a565b6000838152600460208190526040918290208054925163037c8cb160e51b815261010090930460ff16918301919091529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015612daf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dd39190614a90565b612e1f5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401610f3a565b33436000612e2c85611fdd565b612e37576064612e4d565b60ff808616600090815260026020526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b919091021785556000888152600460205260409020909150600101612ed78782614d27565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612f4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f6e919061501f565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612fbe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fe29190615121565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a001612bf5565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015613071573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130959190614a90565b6130e15760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3034303a53544154455f554e444546494e45440000006044820152606401610f3a565b6000828152600460208190526040918290208054925163b2466acf60e01b815261010090930460ff169183018290529173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af415801561314d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131719190614a90565b6131bd5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3034313a4e4f545f4558495354494e470000000000006044820152606401610f3a565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b909104166132014390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613293573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132b7919061501f565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015613307573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061332b9190615121565b8786863287604051613343979695949392919061513e565b60405180910390a1505050505050565b61335b612595565b611828816125e0565b60006020828403121561337657600080fd5b81356001600160e01b0319811681146121df57600080fd5b6000602082840312156133a057600080fd5b5035919050565b6001600160601b038116811461182857600080fd5b80356133c7816133a7565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715613404576134046133cc565b60405290565b60405161018081016001600160401b0381118282101715613404576134046133cc565b60405161010081016001600160401b0381118282101715613404576134046133cc565b60405161012081016001600160401b0381118282101715613404576134046133cc565b60405161020081016001600160401b0381118282101715613404576134046133cc565b604051608081016001600160401b0381118282101715613404576134046133cc565b60405160e081016001600160401b0381118282101715613404576134046133cc565b6001600160a01b038116811461182857600080fd5b80356133c7816134da565b801515811461182857600080fd5b80356133c7816134fa565b60006040828403121561352557600080fd5b61352d6133e2565b9050813581526020820135602082015292915050565b60006101e0828403121561355657600080fd5b61355e61340a565b9050613569826133bc565b8152613577602083016134ef565b60208201526040820135604082015261359260608301613508565b60608201526135a360808301613508565b60808201526135b460a08301613508565b60a082015260c082013560c082015260e082013560e08201526101006135dc84828501613513565b908201526101406135ef84848301613513565b610120830152613603846101808501613513565b908201526136146101c083016134ef565b61016082015292915050565b60ff8116811461182857600080fd5b6000806000610220848603121561364557600080fd5b8335613650816133a7565b925061365f8560208601613543565b915061020084013561367081613620565b809150509250925092565b6000610140828403121561368e57600080fd5b61369661342d565b90506136a1826134ef565b81526136af602083016134ef565b60208201526136c0604083016133bc565b60408201526136d1606083016133bc565b60608201526136e38360808401613513565b60808201526136f58360c08401613513565b60a08201526137076101008301613508565b60c082015261371961012083016134ef565b60e082015292915050565b6000806000610180848603121561373a57600080fd5b8335613745816133a7565b9250613754856020860161367b565b915061016084013561367081613620565b60006020828403121561377757600080fd5b81356121df81613620565b600082601f83011261379357600080fd5b81356001600160401b03808211156137ad576137ad6133cc565b604051601f8301601f19908116603f011681019082821181831017156137d5576137d56133cc565b816040528381528660208588010111156137ee57600080fd5b836020870160208301376000602085830101528094505050505092915050565b64ffffffffff8116811461182857600080fd5b80356133c78161380e565b6000610140828403121561383f57600080fd5b613847613450565b9050613852826133bc565b81526138618360208401613513565b602082015260608201356001600160401b0381111561387f57600080fd5b61388b84828501613782565b6040830152506080820135606082015260a0820135608082015260c082013560a08201526138bb60e08301613821565b60c08201526101006138ce818401613821565b60e08301526138e06101208401613821565b9082015292915050565b600080604083850312156138fd57600080fd5b8235613908816133a7565b915060208301356001600160401b0381111561392357600080fd5b61392f8582860161382c565b9150509250929050565b6000806040838503121561394c57600080fd5b8235613957816133a7565b9150602083013561396781613620565b809150509250929050565b60005b8381101561398d578181015183820152602001613975565b50506000910152565b600081518084526139ae816020860160208601613972565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151613a2b60c08401826001600160a01b03169052565b5060c083015160e080840152613a45610100840182613996565b949350505050565b600080600060608486031215613a6257600080fd5b8335613a6d816133a7565b925060208401356001600160401b03811115613a8857600080fd5b613a948682870161382c565b925050604084013561367081613620565b6000806102008385031215613ab957600080fd5b8235613ac4816133a7565b9150613ad38460208501613543565b90509250929050565b6001600160c01b03198116811461182857600080fd5b80356133c781613adc565b61ffff8116811461182857600080fd5b80356133c781613afd565b60006102008284031215613b2b57600080fd5b613b33613473565b9050613b3e826133bc565b8152613b4c602083016133bc565b6020820152613b5d60408301613af2565b6040820152613b6e60608301613af2565b60608201526080820135608082015260a082013560a082015260c082013560c0820152613b9d60e08301613821565b60e0820152610100808301356001600160401b0380821115613bbe57600080fd5b613bca86838701613782565b83850152610120925082850135915080821115613be657600080fd5b50613bf385828601613782565b828401525050610140613c07818401613b0d565b90820152610160613c19838201613b0d565b9082015261018082810135908201526101a0613c36818401613821565b908201526101c0613c48838201613821565b908201526101e06138e0838201613821565b600080600060608486031215613c6f57600080fd5b8335613c7a816133a7565b925060208401356001600160401b03811115613c9557600080fd5b613a9486828701613b18565b600060208284031215613cb357600080fd5b81356121df816133a7565b63ffffffff8116811461182857600080fd5b80356133c781613cbe565b60006101208284031215613cee57600080fd5b613cf6613450565b905081356001600160401b0380821115613d0f57600080fd5b613d1b85838601613782565b8352602084013560208401526040840135604084015260608401356060840152613d4760808501613cd0565b6080840152613d5860a08501613cd0565b60a0840152613d6960c08501613508565b60c0840152613d7a60e08501613508565b60e084015261010091508184013581811115613d9557600080fd5b613da186828701613782565b8385015250505092915050565b60008060408385031215613dc157600080fd5b8235915060208301356001600160401b03811115613dde57600080fd5b61392f85828601613cdb565b60008060008060008060c08789031215613e0357600080fd5b8635613e0e816134da565b95506020870135613e1e816133a7565b94506040870135613e2e81613620565b93506060870135613e3e816134fa565b92506080870135613e4e816134da565b915060a08701356001600160401b03811115613e6957600080fd5b613e7589828a01613782565b9150509295509295509295565b600060408284031215613e9457600080fd5b613e9c6133e2565b90508135613ea9816133a7565b815260208201356001600160401b03811115613ec457600080fd5b613ed084828501613782565b60208301525092915050565b60008060408385031215613eef57600080fd5b8235613efa81613adc565b915060208301356001600160401b03811115613f1557600080fd5b61392f85828601613e82565b600060808284031215613f3357600080fd5b613f3b613496565b90508135613f4881613afd565b81526020828101359082015260408201356001600160401b03811115613f6d57600080fd5b613f7984828501613782565b6040830152506060820135613f8d8161380e565b606082015292915050565b600080600060608486031215613fad57600080fd5b8335613fb8816133a7565b92506020840135613fc881613cbe565b915060408401356001600160401b03811115613fe357600080fd5b613fef86828701613f21565b9150509250925092565b60006020828403121561400b57600080fd5b81356121df816134da565b6000806000806080858703121561402c57600080fd5b8435614037816133a7565b9350602085013561404781613cbe565b925060408501356001600160401b0381111561406257600080fd5b61406e87828801613f21565b925050606085013561407f81613620565b939692955090935050565b6000806040838503121561409d57600080fd5b82359150602083013561396781613620565b600060e082840312156140c157600080fd5b6140c96134b8565b90506140d4826133bc565b815260208201356001600160401b03808211156140f057600080fd5b6140fc85838601613782565b60208401526040840135604084015261411760608501613cd0565b606084015261412860808501613cd0565b608084015261413960a08501613821565b60a084015260c084013591508082111561415257600080fd5b5061415f84828501613782565b60c08301525092915050565b6000806040838503121561417e57600080fd5b8235915060208301356001600160401b0381111561419b57600080fd5b61392f858286016140af565b6020815260006121df6020830184613996565b6000608082840312156141cc57600080fd5b6141d4613496565b9050813581526020820135602082015260408201356001600160401b03811115613f6d57600080fd5b6000806000806080858703121561421357600080fd5b843561421e816133a7565b9350602085013561422e81613afd565b925060408501356001600160401b0381111561424957600080fd5b61406e878288016141ba565b6000806040838503121561426857600080fd5b823561395781613adc565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b602081526142cf602082018351614273565b6000602083015160c080840152613a4560e0840182613996565b600080600080608085870312156142ff57600080fd5b843561430a816134da565b9350602085013561431a816134da565b9250604085013561432a816133a7565b9150606085013561407f816134da565b6000610100828403121561434d57600080fd5b60405160c081018181106001600160401b038211171561436f5761436f6133cc565b6040529050808235614380816133a7565b81526020830135614390816134da565b60208201526143a28460408501613513565b60408201526143b48460808501613513565b606082015260c08301356143c7816134da565b8060808301525060e083013560a08201525092915050565b60008061012083850312156143f357600080fd5b82356143fe816133a7565b9150613ad3846020850161433a565b60a081016111458284614273565b600060a0828403121561442d57600080fd5b60405160a081016001600160401b038282108183111715614450576144506133cc565b816040528293508435915061446482613adc565b908252602084013590614476826134fa565b816020840152604085013591508082111561449057600080fd5b5061449d85828601613782565b60408301525060608301356060820152608083013560808201525092915050565b600080604083850312156144d157600080fd5b82356144dc816133a7565b915060208301356001600160401b038111156144f757600080fd5b61392f8582860161441b565b60008060006060848603121561451857600080fd5b833561452381613adc565b925060208401356001600160401b0381111561453e57600080fd5b613a9486828701613e82565b60008060006060848603121561455f57600080fd5b833561456a81613620565b9250602084013561457a81613620565b9150604084013561367081613620565b6000806040838503121561459d57600080fd5b82356145a8816133a7565b915060208301356001600160401b038111156145c357600080fd5b61392f85828601613b18565b6000806000606084860312156145e457600080fd5b8335925060208401356001600160401b0381111561460157600080fd5b613a9486828701613cdb565b60008060006060848603121561462257600080fd5b833561462d816133a7565b9250602084013561457a81613afd565b60008060006060848603121561465257600080fd5b8335925060208401356001600160401b0381111561466f57600080fd5b613a94868287016140af565b60ff198116811461182857600080fd5b6000806040838503121561469e57600080fd5b82356146a981613620565b915060208301356139678161467b565b600080600061014084860312156146cf57600080fd5b83356146da816133a7565b92506146e9856020860161433a565b915061012084013561367081613620565b6000806040838503121561470d57600080fd5b8235614718816134da565b91506020830135613967816134da565b60008060006060848603121561473d57600080fd5b8335614748816133a7565b9250602084013561475881613afd565b915060408401356001600160401b0381111561477357600080fd5b613fef868287016141ba565b60008060006060848603121561479457600080fd5b833561479f816133a7565b925060208401356001600160401b038111156147ba57600080fd5b613a948682870161441b565b60008061016083850312156147da57600080fd5b82356147e5816133a7565b9150613ad3846020850161367b565b81516001600160601b031681526101e08101602083015161482060208401826001600160a01b03169052565b5060408301516040830152606083015161483e606084018215159052565b506080830151614852608084018215159052565b5060a083015161486660a084018215159052565b5060c083015160c083015260e083015160e0830152610100808401516148988285018280518252602090810151910152565b50506101208301516101406148b98185018380518252602090810151910152565b8401518051610180850152602001516101a0840152506101608301516001600160a01b0381166101c08401525b5092915050565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b03169082015260608083015161014083019161493c908401826001600160601b03169052565b506080830151614959608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b0381166101208401526148e6565b602081526149b46020820183516001600160601b03169052565b600060208301516149d2604084018280518252602090810151910152565b5060408301516101408060808501526149ef610160850183613996565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100614a298187018364ffffffffff169052565b60e087015164ffffffffff811661012088015291505b9095015164ffffffffff1693019290925250919050565b600181811c90821680614a6a57607f821691505b602082108103614a8a57634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215614aa257600080fd5b81516121df816134fa565b600060208284031215614abf57600080fd5b81516121df816133a7565b60208152614ae46020820183516001600160601b03169052565b60006020830151614b0060408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e0830151610100614b658185018364ffffffffff169052565b808501519150506102006101208181860152614b85610220860184613996565b9250808601519050610140601f198685030181870152614ba58483613996565b935080870151915050610160614bc08187018361ffff169052565b8601519050610180614bd78682018361ffff169052565b8601516101a08681019190915286015190506101c0614bfe8187018364ffffffffff169052565b86015190506101e0614a3f8682018364ffffffffff169052565b600060208284031215614c2a57600080fd5b5051919050565b6020815260008251610120806020850152614c50610140850183613996565b91506020850151604085015260408501516060850152606085015160808501526080850151614c8760a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e0850151610100614cbd8187018315159052565b860151858403601f1901838701529050614cd78382613996565b9695505050505050565b601f821115610be557600081815260208120601f850160051c81016020861015614d085750805b601f850160051c820191505b8181101561252257828155600101614d14565b81516001600160401b03811115614d4057614d406133cc565b614d5481614d4e8454614a56565b84614ce1565b602080601f831160018114614d895760008415614d715750858301515b600019600386901b1c1916600185901b178555612522565b600085815260208120601f198616915b82811015614db857888601518255948401946001909101908401614d99565b5085821015614dd65787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b602081526001600160601b03825116602082015260006020830151604080840152613a456060840182613996565b6020815261ffff8251166020820152602082015160408201526000604083015160806060840152614e4860a0840182613996565b905064ffffffffff60608501511660808401528091505092915050565b600060208284031215614e7757600080fd5b81516121df816134da565b602081526001600160601b0382511660208201526000602083015160e06040840152614eb2610100840182613996565b90506040840151606084015263ffffffff60608501511660808401526080840151614ee560a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e0850152614f148282613996565b95945050505050565b6020815281516020820152602082015160408201526000604083015160806060840152614e4860a0840182613996565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a06060840152614fff60c0840182613996565b905060608401516080840152608084015160a08401528091505092915050565b60006020828403121561503157600080fd5b81516121df81613620565b6000808585111561504c57600080fd5b8386111561505957600080fd5b5050820193919092039150565b6001600160e01b0319813581811691600485101561508e5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082516150e8818460208701613972565b9190910192915050565b6000806040838503121561510557600080fd5b8251615110816134fa565b602084015190925061396781613cbe565b60006020828403121561513357600080fd5b81516121df8161467b565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e0019056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a264697066735822122056dafd0b4ccfe206ab75e005e11ac1ca6c1a49c34d886e1faa3807eebaeb1f0c64736f6c63430008140033",
3025
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106104a15760003560e01c8063675393bf1161026d578063b6d7cd6211610151578063e9e96c70116100ce578063f7c34ee011610092578063f7c34ee014610b3d578063fa145b6d14610b50578063fb4a8e3414610b63578063fbc1a3a014610b76578063fe1f18d614610b89578063fed3d63f14610b9c57600080fd5b8063e9e96c7014610ac6578063f21de1e8146107f1578063f48016ce14610b04578063f7b442d114610b17578063f7bc431c14610b2a57600080fd5b8063cde749f411610115578063cde749f414610a7d578063cf947d2014610a85578063d2f21a2914610a98578063dee3262314610aab578063e1033e7d14610abe57600080fd5b8063b6d7cd6214610a47578063bf1db3f914610a5a578063bf7e214f14610a6d578063c29948fc14610611578063ca600b1c14610a7557600080fd5b80639df0280b116101ea578063a76ee018116101ae578063a76ee018146109e6578063a8989675146109f9578063ada9652e14610a0c578063afa5e13014610798578063afcc743914610a21578063b3260e9314610a3457600080fd5b80639df0280b146105bb5780639e90178c146108fc578063a13df2ab1461090f578063a5961b4c14610922578063a671495e146109d357600080fd5b80637cef4842116102315780637cef48421461088d578063893d20e8146108a05780638eaa6ac0146108a85780638fb36037146108c8578063976b0a77146108e957600080fd5b8063675393bf146108445780636b9bf08b1461085757806375b238fc1461085f5780637a9e5e4b146108675780637b8c388f1461087a57600080fd5b80632f61088a11610394578063447fc48f116103115780635772b101116102d55780635772b101146107de5780635ab1bd53146107f15780635d4345cc146105bb5780635dfa73db1461080257806361f5f4201461080b578063644c45e01461081c57600080fd5b8063447fc48f14610772578063468a1867146107855780635378cd3c1461079857806354d747a8146107ab57806354f6127f146107be57600080fd5b80633ca7c02a116103585780633ca7c02a1461070b5780633e35aba81461073157806340529b0f14610744578063422c9d00146107575780634288121d1461076a57600080fd5b80632f61088a146106ad57806336fc697e146106c057806337f135d7146106c857806338a699a4146106e55780633c0d6a41146106f857600080fd5b80631204b553116104225780631eff4b22116103e65780631eff4b2214610645578063214cdb801461066c5780632781d4431461067f57806327953f481461068757806327bb7a331461069a57600080fd5b80631204b553146105e357806312aa0b2a146105f6578063138461e0146106095780631518afb9146106115780631b38d5f41461062457600080fd5b80630d358181116104695780630d3581811461056f5780630f03144a146105955780630f526f7d146105a85780630fad0eb1146105bb5780630fec111c146105ce57600080fd5b806301ffc9a7146104a657806302cd3071146104e857806309648a9d1461050d57806309fb1d08146105475780630cbc6b891461055c575b600080fd5b6104d36104b4366004613364565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6006546001600160a01b03165b6040516001600160a01b0390911681526020016104df565b61053561051b36600461338e565b600090815260046020526040902054610100900460ff1690565b60405160ff90911681526020016104df565b61055a61055536600461362f565b610ba4565b005b61055a61056a366004613724565b610bea565b61053561057d366004613765565b60ff9081166000908152600260205260409020541690565b61055a6105a33660046138ea565b610c12565b61055a6105b6366004613939565b610c50565b61055a6105c9366004613939565b610c6d565b6105d6610c82565b6040516104df91906139c2565b61055a6105f1366004613a4d565b610e31565b61055a610604366004613aa5565b610e57565b61055a610e7f565b61055a61061f366004613c5a565b611086565b610637610632366004613ca1565b6110ac565b6040519081526020016104df565b6106377f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b61055a61067a366004613364565b61114b565b610637600381565b61055a610695366004613dae565b611178565b61055a6106a8366004613dea565b611196565b61055a6106bb366004613edc565b611222565b61055a6112bd565b6106d0600081565b60405163ffffffff90911681526020016104df565b6104d36106f336600461338e565b611303565b61055a610706366004613f98565b611392565b6107196001600160401b0381565b6040516001600160401b0390911681526020016104df565b61063761073f366004613ca1565b6113b8565b61055a610752366004613939565b6113e5565b61055a610765366004613ff9565b6113fa565b6104f5611537565b61055a610780366004614016565b6115ca565b610637610793366004613ca1565b6115f6565b61055a6107a636600461408a565b611623565b61055a6107b936600461416b565b611636565b6107d16107cc36600461338e565b611654565b6040516104df91906141a7565b61055a6107ec3660046141fd565b6116f9565b6001546001600160a01b03166104f5565b61071961271081565b6007546001600160a01b03166104f5565b60008051602061518f833981519152546040516001600160601b0390911681526020016104df565b61055a610852366004613ff9565b61171f565b6104f561182b565b610719600081565b61055a610875366004613ff9565b611854565b610637610888366004613ca1565b6118d7565b61055a61089b366004614255565b611904565b6104f561198e565b6108bb6108b636600461338e565b611ac5565b6040516104df91906142bd565b6108d0611c06565b6040516001600160e01b031990911681526020016104df565b61055a6108f73660046142e9565b611c3e565b61055a61090a3660046143df565b611d7d565b61063761091d366004613ca1565b611da5565b6109c661093036600461338e565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260046020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b6040516104df919061440d565b61055a6109e13660046144be565b611dd2565b61055a6109f4366004614503565b611df8565b61055a610a0736600461454a565b611e93565b61063760008051602061518f83398151915281565b61055a610a2f36600461458a565b611f84565b61055a610a423660046145cf565b611faa565b61055a610a5536600461460d565b611fc8565b6104d3610a68366004613765565b611fdd565b6104f561202a565b6104f5612046565b61053561206f565b61055a610a9336600461463d565b6120e6565b61055a610aa6366004613939565b612104565b61055a610ab9366004613939565b61211b565b6104f5612132565b6104d3610ad436600461454a565b60ff9283166000908152600360209081526040808320948616835293815283822092851682529190915220541690565b610637610b1236600461468b565b61215b565b61055a610b253660046146b9565b6121e6565b61055a610b38366004613ff9565b61220e565b61055a610b4b3660046146fa565b6122fb565b61055a610b5e366004614728565b612372565b61055a610b7136600461477f565b612398565b61055a610b843660046147c6565b6123be565b61055a610b97366004613939565b6123e6565b6104f56123fb565b610bb1335b600036612424565b610be5610bbf84608c61252a565b83604051602001610bd091906147f4565b60405160208183030381529060405283612576565b505050565b610bf333610ba9565b610be5610c0184606e61252a565b83604051602001610bd091906148ed565b610c1b33610ba9565b610c4c610c2783611da5565b82604051602001610c38919061499a565b604051602081830303815290604052612581565b5050565b610c5933610ba9565b610c4c610c6783608c61252a565b8261258b565b610c7633610ba9565b610c4c610c67836115f6565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b90910416151591810191909152600182018054919291606084019190610d2d90614a56565b80601f0160208091040260200160405190810160405280929190818152602001828054610d5990614a56565b8015610da65780601f10610d7b57610100808354040283529160200191610da6565b820191906000526020600020905b815481529060010190602001808311610d8957829003601f168201915b50505050508152505090506040518060e00160405280610dc4600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610e1561198e565b6001600160a01b03168152602001826060015181525091505090565b610e3a33610ba9565b610be5610e4684611da5565b83604051602001610bd0919061499a565b610e6033610ba9565b610c4c610e6e83608c61252a565b82604051602001610c3891906147f4565b600060008051602061518f83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610eee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f129190614a90565b15610f435780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b30610f566001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610f9e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc29190614a90565b610fea5760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610f3a565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa15801561103e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110629190614aad565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b61108f33610ba9565b610be561109b846115f6565b83604051602001610bd09190614aca565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660795b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af4158015611121573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111459190614c18565b92915050565b611153612595565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61118133610ba9565b610c4c8282604051602001610c389190614c31565b61119e612595565b6111a882876122fb565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016112188382614d27565b5050505050505050565b61122b33610ba9565b6040516355ee627560e01b81526001600160c01b031983166004820152610c4c9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611288573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ac9190614c18565b82604051602001610c389190614de6565b6112c5612595565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600081815260046020819052604080832054905163b2466acf60e01b815261010090910460ff169181019190915273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af415801561136e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111459190614a90565b61139b33610ba9565b610be56113a7846115f6565b82604051602001610c389190614e14565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660786110d5565b6113ee33610ba9565b610c4c610c67836118d7565b61140333610ba9565b6007546001600160a01b0316156114535760405162461bcd60e51b8152602060048201526014602482015273109d5b991b1953585b9859d95c881a5cc81cd95d60621b6044820152606401610f3a565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa15801561149b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114bf9190614e65565b6001600160a01b0316146115155760405162461bcd60e51b815260206004820152601f60248201527f42756e646c654d616e6167657220696e7374616e6365206d69736d61746368006044820152606401610f3a565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b600061154b6001546001600160a01b031690565b6001600160a01b031663d39e6043606e5b6040516001600160e01b031960e084901b16815260ff909116600482015260036024820152604401602060405180830381865afa1580156115a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115c59190614e65565b905090565b6115d333610ba9565b6115f06115df856115f6565b83604051602001610bd09190614e14565b50505050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d36110d5565b61162c33610ba9565b610c4c828261258b565b61163f33610ba9565b610c4c8282604051602001610c389190614e82565b600081815260046020526040902060010180546060919061167490614a56565b80601f01602080910402602001604051908101604052809291908181526020018280546116a090614a56565b80156116ed5780601f106116c2576101008083540402835291602001916116ed565b820191906000526020600020905b8154815290600101906020018083116116d057829003601f168201915b50505050509050919050565b61170233610ba9565b6115f061170e856115f6565b83604051602001610bd09190614f1d565b611727612595565b806001600160a01b03163b60000361175d5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610f3a565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156117d7575060408051601f3d908101601f191682019092526117d491810190614a90565b60015b6117ff5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610f3a565b80610c4c5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610f3a565b50565b600061183f6001546001600160a01b031690565b6001600160a01b031663d39e6043608c61155c565b3361185d61202a565b6001600160a01b0316816001600160a01b0316146118985760405162d1953b60e31b81526001600160a01b0382166004820152602401610f3a565b816001600160a01b03163b6000036118ce576040516361798f2f60e11b81526001600160a01b0383166004820152602401610f3a565b610c4c826125e0565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a6110d5565b61190d33610ba9565b6040516355ee627560e01b81526001600160c01b031983166004820152610c4c9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af415801561196a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c679190614c18565b60008060008051602061518f83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156119fe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a229190614a90565b15611aaf576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611a85573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aa99190614e65565b91505090565b54600160601b90046001600160a01b0316919050565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260046020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c08201529283526001810180549192840191611b7d90614a56565b80601f0160208091040260200160405190810160405280929190818152602001828054611ba990614a56565b8015611bf65780601f10611bcb57610100808354040283529160200191611bf6565b820191906000526020600020905b815481529060010190602001808311611bd957829003601f168201915b5050505050815250509050919050565b6000805160206151af833981519152805460009190600160a01b900460ff16611c30576000611aa9565b638fb3603760e01b91505090565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b0316600081158015611c835750825b90506000826001600160401b03166001148015611c9f5750303b155b905081158015611cad575080155b15611ccb5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611cf557845460ff60401b1916600160401b1785555b611cfe89612641565b611d1d8888604660008a60405180602001604052806000815250611196565b611d2c62e51dcd60e31b61114b565b8315611d7257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050505050565b611d8633610ba9565b610c4c611d9483607861252a565b82604051602001610c389190614f4d565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc6110d5565b611ddb33610ba9565b610c4c611de7836118d7565b82604051602001610c389190614fc1565b611e0133610ba9565b6040516355ee627560e01b81526001600160c01b031984166004820152610be59073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611e5e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e829190614c18565b83604051602001610bd09190614de6565b60ff8381166000908152600260205260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015611ef8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f1c9190614a90565b15611f2657505050565b60ff808416600090815260036020908152604080832086851684528252808320858516845290915290205416610be557604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610f3a565b611f8d33610ba9565b610c4c611f99836115f6565b82604051602001610c389190614aca565b611fb333610ba9565b610be58383604051602001610bd09190614c31565b611fd133610ba9565b610be5610c67846115f6565b60ff81811660009081526002602052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401611351565b6000805160206151af833981519152546001600160a01b031690565b600061205a6001546001600160a01b031690565b6001600160a01b031663d39e6043607861155c565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af41580156120c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115c5919061501f565b6120ef33610ba9565b610be58383604051602001610bd09190614e82565b61210d33610ba9565b610c4c610c6783607861252a565b61212433610ba9565b610c4c610c6783606e61252a565b60006121466001546001600160a01b031690565b6001600160a01b031663d39e604360d361155c565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af41580156121bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121df9190614c18565b9392505050565b6121ef33610ba9565b610be56121fd84607861252a565b83604051602001610bd09190614f4d565b61221733610ba9565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa15801561225f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122839190614e65565b6001600160a01b0316146122d95760405162461bcd60e51b815260206004820181905260248201527f496e7374616e636552656164657220696e7374616e6365206d69736d617463686044820152606401610f3a565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b612303612595565b61230c8161171f565b6123146112bd565b6001600160a01b03821661233b5760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061518f83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b61237b33610ba9565b610be5612387846115f6565b82604051602001610c389190614f1d565b6123a133610ba9565b610be56123ad846118d7565b83604051602001610bd09190614fc1565b6123c733610ba9565b610c4c6123d583606e61252a565b82604051602001610c3891906148ed565b6123ef33610ba9565b610c4c610c6783611da5565b600061240f6001546001600160a01b031690565b6001600160a01b031663d39e604360dc61155c565b6000805160206151af83398151915260008061245f61244161202a565b8730612451600460008a8c61503c565b61245a91615066565b612652565b91509150816125225763ffffffff8116156124ff57825460ff60a01b1916600160a01b17835561248d61202a565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016124bc93929190615096565b600060405180830381600087803b1580156124d657600080fd5b505af11580156124ea573d6000803e3d6000fd5b5050845460ff60a01b19168555506125229050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610f3a565b505050505050565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c89060440161219e565b610be583838361275e565b610c4c8282612c06565b610c4c828261301f565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166125de57604051631afcd79f60e31b815260040160405180910390fd5b565b6000805160206151af83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b612649612595565b61182881613353565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516126c191906150d6565b600060405180830381855afa9150503d80600081146126fc576040519150601f19603f3d011682016040523d82523d6000602084013e612701565b606091505b50915091508115612753576040815110612733578080602001905181019061272991906150f2565b9094509250612753565b602081511061275357808060200190518101906127509190614a90565b93505b505094509492505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156127b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127d49190614a90565b6128205760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3032303a53544154455f554e444546494e45440000006044820152606401610f3a565b6000838152600460208190526040918290208054925163b2466acf60e01b815261010090930460ff169183018290529173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af415801561288c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128b09190614a90565b6128fc5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3032313a4e4f545f4558495354494e470000000000006044820152606401610f3a565b60008581526004602052604090206001016129178582614d27565b508154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b9091041661295c4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156129ee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a12919061501f565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612a62573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a869190615121565b8786863287604051612a9e979695949392919061513e565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612b18573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b3c919061501f565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612b8c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bb09190615121565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c0015b60405180910390a150505050505050565b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612c59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c7d919061501f565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af4158015612cd2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cf69190614a90565b612d425760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401610f3a565b6000838152600460208190526040918290208054925163037c8cb160e51b815261010090930460ff16918301919091529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015612daf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dd39190614a90565b612e1f5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401610f3a565b33436000612e2c85611fdd565b612e37576064612e4d565b60ff808616600090815260026020526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b919091021785556000888152600460205260409020909150600101612ed78782614d27565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612f4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f6e919061501f565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612fbe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fe29190615121565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a001612bf5565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015613071573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130959190614a90565b6130e15760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3034303a53544154455f554e444546494e45440000006044820152606401610f3a565b6000828152600460208190526040918290208054925163b2466acf60e01b815261010090930460ff169183018290529173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af415801561314d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131719190614a90565b6131bd5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3034313a4e4f545f4558495354494e470000000000006044820152606401610f3a565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b909104166132014390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613293573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132b7919061501f565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015613307573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061332b9190615121565b8786863287604051613343979695949392919061513e565b60405180910390a1505050505050565b61335b612595565b611828816125e0565b60006020828403121561337657600080fd5b81356001600160e01b0319811681146121df57600080fd5b6000602082840312156133a057600080fd5b5035919050565b6001600160601b038116811461182857600080fd5b80356133c7816133a7565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715613404576134046133cc565b60405290565b60405161018081016001600160401b0381118282101715613404576134046133cc565b60405161010081016001600160401b0381118282101715613404576134046133cc565b60405161012081016001600160401b0381118282101715613404576134046133cc565b60405161020081016001600160401b0381118282101715613404576134046133cc565b604051608081016001600160401b0381118282101715613404576134046133cc565b60405160e081016001600160401b0381118282101715613404576134046133cc565b6001600160a01b038116811461182857600080fd5b80356133c7816134da565b801515811461182857600080fd5b80356133c7816134fa565b60006040828403121561352557600080fd5b61352d6133e2565b9050813581526020820135602082015292915050565b60006101e0828403121561355657600080fd5b61355e61340a565b9050613569826133bc565b8152613577602083016134ef565b60208201526040820135604082015261359260608301613508565b60608201526135a360808301613508565b60808201526135b460a08301613508565b60a082015260c082013560c082015260e082013560e08201526101006135dc84828501613513565b908201526101406135ef84848301613513565b610120830152613603846101808501613513565b908201526136146101c083016134ef565b61016082015292915050565b60ff8116811461182857600080fd5b6000806000610220848603121561364557600080fd5b8335613650816133a7565b925061365f8560208601613543565b915061020084013561367081613620565b809150509250925092565b6000610140828403121561368e57600080fd5b61369661342d565b90506136a1826134ef565b81526136af602083016134ef565b60208201526136c0604083016133bc565b60408201526136d1606083016133bc565b60608201526136e38360808401613513565b60808201526136f58360c08401613513565b60a08201526137076101008301613508565b60c082015261371961012083016134ef565b60e082015292915050565b6000806000610180848603121561373a57600080fd5b8335613745816133a7565b9250613754856020860161367b565b915061016084013561367081613620565b60006020828403121561377757600080fd5b81356121df81613620565b600082601f83011261379357600080fd5b81356001600160401b03808211156137ad576137ad6133cc565b604051601f8301601f19908116603f011681019082821181831017156137d5576137d56133cc565b816040528381528660208588010111156137ee57600080fd5b836020870160208301376000602085830101528094505050505092915050565b64ffffffffff8116811461182857600080fd5b80356133c78161380e565b6000610140828403121561383f57600080fd5b613847613450565b9050613852826133bc565b81526138618360208401613513565b602082015260608201356001600160401b0381111561387f57600080fd5b61388b84828501613782565b6040830152506080820135606082015260a0820135608082015260c082013560a08201526138bb60e08301613821565b60c08201526101006138ce818401613821565b60e08301526138e06101208401613821565b9082015292915050565b600080604083850312156138fd57600080fd5b8235613908816133a7565b915060208301356001600160401b0381111561392357600080fd5b61392f8582860161382c565b9150509250929050565b6000806040838503121561394c57600080fd5b8235613957816133a7565b9150602083013561396781613620565b809150509250929050565b60005b8381101561398d578181015183820152602001613975565b50506000910152565b600081518084526139ae816020860160208601613972565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151613a2b60c08401826001600160a01b03169052565b5060c083015160e080840152613a45610100840182613996565b949350505050565b600080600060608486031215613a6257600080fd5b8335613a6d816133a7565b925060208401356001600160401b03811115613a8857600080fd5b613a948682870161382c565b925050604084013561367081613620565b6000806102008385031215613ab957600080fd5b8235613ac4816133a7565b9150613ad38460208501613543565b90509250929050565b6001600160c01b03198116811461182857600080fd5b80356133c781613adc565b61ffff8116811461182857600080fd5b80356133c781613afd565b60006102008284031215613b2b57600080fd5b613b33613473565b9050613b3e826133bc565b8152613b4c602083016133bc565b6020820152613b5d60408301613af2565b6040820152613b6e60608301613af2565b60608201526080820135608082015260a082013560a082015260c082013560c0820152613b9d60e08301613821565b60e0820152610100808301356001600160401b0380821115613bbe57600080fd5b613bca86838701613782565b83850152610120925082850135915080821115613be657600080fd5b50613bf385828601613782565b828401525050610140613c07818401613b0d565b90820152610160613c19838201613b0d565b9082015261018082810135908201526101a0613c36818401613821565b908201526101c0613c48838201613821565b908201526101e06138e0838201613821565b600080600060608486031215613c6f57600080fd5b8335613c7a816133a7565b925060208401356001600160401b03811115613c9557600080fd5b613a9486828701613b18565b600060208284031215613cb357600080fd5b81356121df816133a7565b63ffffffff8116811461182857600080fd5b80356133c781613cbe565b60006101208284031215613cee57600080fd5b613cf6613450565b905081356001600160401b0380821115613d0f57600080fd5b613d1b85838601613782565b8352602084013560208401526040840135604084015260608401356060840152613d4760808501613cd0565b6080840152613d5860a08501613cd0565b60a0840152613d6960c08501613508565b60c0840152613d7a60e08501613508565b60e084015261010091508184013581811115613d9557600080fd5b613da186828701613782565b8385015250505092915050565b60008060408385031215613dc157600080fd5b8235915060208301356001600160401b03811115613dde57600080fd5b61392f85828601613cdb565b60008060008060008060c08789031215613e0357600080fd5b8635613e0e816134da565b95506020870135613e1e816133a7565b94506040870135613e2e81613620565b93506060870135613e3e816134fa565b92506080870135613e4e816134da565b915060a08701356001600160401b03811115613e6957600080fd5b613e7589828a01613782565b9150509295509295509295565b600060408284031215613e9457600080fd5b613e9c6133e2565b90508135613ea9816133a7565b815260208201356001600160401b03811115613ec457600080fd5b613ed084828501613782565b60208301525092915050565b60008060408385031215613eef57600080fd5b8235613efa81613adc565b915060208301356001600160401b03811115613f1557600080fd5b61392f85828601613e82565b600060808284031215613f3357600080fd5b613f3b613496565b90508135613f4881613afd565b81526020828101359082015260408201356001600160401b03811115613f6d57600080fd5b613f7984828501613782565b6040830152506060820135613f8d8161380e565b606082015292915050565b600080600060608486031215613fad57600080fd5b8335613fb8816133a7565b92506020840135613fc881613cbe565b915060408401356001600160401b03811115613fe357600080fd5b613fef86828701613f21565b9150509250925092565b60006020828403121561400b57600080fd5b81356121df816134da565b6000806000806080858703121561402c57600080fd5b8435614037816133a7565b9350602085013561404781613cbe565b925060408501356001600160401b0381111561406257600080fd5b61406e87828801613f21565b925050606085013561407f81613620565b939692955090935050565b6000806040838503121561409d57600080fd5b82359150602083013561396781613620565b600060e082840312156140c157600080fd5b6140c96134b8565b90506140d4826133bc565b815260208201356001600160401b03808211156140f057600080fd5b6140fc85838601613782565b60208401526040840135604084015261411760608501613cd0565b606084015261412860808501613cd0565b608084015261413960a08501613821565b60a084015260c084013591508082111561415257600080fd5b5061415f84828501613782565b60c08301525092915050565b6000806040838503121561417e57600080fd5b8235915060208301356001600160401b0381111561419b57600080fd5b61392f858286016140af565b6020815260006121df6020830184613996565b6000608082840312156141cc57600080fd5b6141d4613496565b9050813581526020820135602082015260408201356001600160401b03811115613f6d57600080fd5b6000806000806080858703121561421357600080fd5b843561421e816133a7565b9350602085013561422e81613afd565b925060408501356001600160401b0381111561424957600080fd5b61406e878288016141ba565b6000806040838503121561426857600080fd5b823561395781613adc565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b602081526142cf602082018351614273565b6000602083015160c080840152613a4560e0840182613996565b600080600080608085870312156142ff57600080fd5b843561430a816134da565b9350602085013561431a816134da565b9250604085013561432a816133a7565b9150606085013561407f816134da565b6000610100828403121561434d57600080fd5b60405160c081018181106001600160401b038211171561436f5761436f6133cc565b6040529050808235614380816133a7565b81526020830135614390816134da565b60208201526143a28460408501613513565b60408201526143b48460808501613513565b606082015260c08301356143c7816134da565b8060808301525060e083013560a08201525092915050565b60008061012083850312156143f357600080fd5b82356143fe816133a7565b9150613ad3846020850161433a565b60a081016111458284614273565b600060a0828403121561442d57600080fd5b60405160a081016001600160401b038282108183111715614450576144506133cc565b816040528293508435915061446482613adc565b908252602084013590614476826134fa565b816020840152604085013591508082111561449057600080fd5b5061449d85828601613782565b60408301525060608301356060820152608083013560808201525092915050565b600080604083850312156144d157600080fd5b82356144dc816133a7565b915060208301356001600160401b038111156144f757600080fd5b61392f8582860161441b565b60008060006060848603121561451857600080fd5b833561452381613adc565b925060208401356001600160401b0381111561453e57600080fd5b613a9486828701613e82565b60008060006060848603121561455f57600080fd5b833561456a81613620565b9250602084013561457a81613620565b9150604084013561367081613620565b6000806040838503121561459d57600080fd5b82356145a8816133a7565b915060208301356001600160401b038111156145c357600080fd5b61392f85828601613b18565b6000806000606084860312156145e457600080fd5b8335925060208401356001600160401b0381111561460157600080fd5b613a9486828701613cdb565b60008060006060848603121561462257600080fd5b833561462d816133a7565b9250602084013561457a81613afd565b60008060006060848603121561465257600080fd5b8335925060208401356001600160401b0381111561466f57600080fd5b613a94868287016140af565b60ff198116811461182857600080fd5b6000806040838503121561469e57600080fd5b82356146a981613620565b915060208301356139678161467b565b600080600061014084860312156146cf57600080fd5b83356146da816133a7565b92506146e9856020860161433a565b915061012084013561367081613620565b6000806040838503121561470d57600080fd5b8235614718816134da565b91506020830135613967816134da565b60008060006060848603121561473d57600080fd5b8335614748816133a7565b9250602084013561475881613afd565b915060408401356001600160401b0381111561477357600080fd5b613fef868287016141ba565b60008060006060848603121561479457600080fd5b833561479f816133a7565b925060208401356001600160401b038111156147ba57600080fd5b613a948682870161441b565b60008061016083850312156147da57600080fd5b82356147e5816133a7565b9150613ad3846020850161367b565b81516001600160601b031681526101e08101602083015161482060208401826001600160a01b03169052565b5060408301516040830152606083015161483e606084018215159052565b506080830151614852608084018215159052565b5060a083015161486660a084018215159052565b5060c083015160c083015260e083015160e0830152610100808401516148988285018280518252602090810151910152565b50506101208301516101406148b98185018380518252602090810151910152565b8401518051610180850152602001516101a0840152506101608301516001600160a01b0381166101c08401525b5092915050565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b03169082015260608083015161014083019161493c908401826001600160601b03169052565b506080830151614959608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b0381166101208401526148e6565b602081526149b46020820183516001600160601b03169052565b600060208301516149d2604084018280518252602090810151910152565b5060408301516101408060808501526149ef610160850183613996565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100614a298187018364ffffffffff169052565b60e087015164ffffffffff811661012088015291505b9095015164ffffffffff1693019290925250919050565b600181811c90821680614a6a57607f821691505b602082108103614a8a57634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215614aa257600080fd5b81516121df816134fa565b600060208284031215614abf57600080fd5b81516121df816133a7565b60208152614ae46020820183516001600160601b03169052565b60006020830151614b0060408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e0830151610100614b658185018364ffffffffff169052565b808501519150506102006101208181860152614b85610220860184613996565b9250808601519050610140601f198685030181870152614ba58483613996565b935080870151915050610160614bc08187018361ffff169052565b8601519050610180614bd78682018361ffff169052565b8601516101a08681019190915286015190506101c0614bfe8187018364ffffffffff169052565b86015190506101e0614a3f8682018364ffffffffff169052565b600060208284031215614c2a57600080fd5b5051919050565b6020815260008251610120806020850152614c50610140850183613996565b91506020850151604085015260408501516060850152606085015160808501526080850151614c8760a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e0850151610100614cbd8187018315159052565b860151858403601f1901838701529050614cd78382613996565b9695505050505050565b601f821115610be557600081815260208120601f850160051c81016020861015614d085750805b601f850160051c820191505b8181101561252257828155600101614d14565b81516001600160401b03811115614d4057614d406133cc565b614d5481614d4e8454614a56565b84614ce1565b602080601f831160018114614d895760008415614d715750858301515b600019600386901b1c1916600185901b178555612522565b600085815260208120601f198616915b82811015614db857888601518255948401946001909101908401614d99565b5085821015614dd65787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b602081526001600160601b03825116602082015260006020830151604080840152613a456060840182613996565b6020815261ffff8251166020820152602082015160408201526000604083015160806060840152614e4860a0840182613996565b905064ffffffffff60608501511660808401528091505092915050565b600060208284031215614e7757600080fd5b81516121df816134da565b602081526001600160601b0382511660208201526000602083015160e06040840152614eb2610100840182613996565b90506040840151606084015263ffffffff60608501511660808401526080840151614ee560a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e0850152614f148282613996565b95945050505050565b6020815281516020820152602082015160408201526000604083015160806060840152614e4860a0840182613996565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a06060840152614fff60c0840182613996565b905060608401516080840152608084015160a08401528091505092915050565b60006020828403121561503157600080fd5b81516121df81613620565b6000808585111561504c57600080fd5b8386111561505957600080fd5b5050820193919092039150565b6001600160e01b0319813581811691600485101561508e5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082516150e8818460208701613972565b9190910192915050565b6000806040838503121561510557600080fd5b8251615110816134fa565b602084015190925061396781613cbe565b60006020828403121561513357600080fd5b81516121df8161467b565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e0019056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a264697066735822122056dafd0b4ccfe206ab75e005e11ac1ca6c1a49c34d886e1faa3807eebaeb1f0c64736f6c63430008140033",
3026
+ "linkReferences": {
3027
+ "contracts/types/Key32.sol": {
3028
+ "Key32Lib": [
3029
+ {
3030
+ "length": 20,
3031
+ "start": 10407
3032
+ },
3033
+ {
3034
+ "length": 20,
3035
+ "start": 12507
3036
+ },
3037
+ {
3038
+ "length": 20,
3039
+ "start": 12623
3040
+ },
3041
+ {
3042
+ "length": 20,
3043
+ "start": 12805
3044
+ },
3045
+ {
3046
+ "length": 20,
3047
+ "start": 12921
3048
+ },
3049
+ {
3050
+ "length": 20,
3051
+ "start": 13126
3052
+ },
3053
+ {
3054
+ "length": 20,
3055
+ "start": 13879
3056
+ },
3057
+ {
3058
+ "length": 20,
3059
+ "start": 13995
3060
+ },
3061
+ {
3062
+ "length": 20,
3063
+ "start": 14720
3064
+ },
3065
+ {
3066
+ "length": 20,
3067
+ "start": 14836
3068
+ }
3069
+ ]
3070
+ },
3071
+ "contracts/types/NftId.sol": {
3072
+ "NftIdLib": [
3073
+ {
3074
+ "length": 20,
3075
+ "start": 5595
3076
+ },
3077
+ {
3078
+ "length": 20,
3079
+ "start": 6103
3080
+ },
3081
+ {
3082
+ "length": 20,
3083
+ "start": 6883
3084
+ },
3085
+ {
3086
+ "length": 20,
3087
+ "start": 7457
3088
+ },
3089
+ {
3090
+ "length": 20,
3091
+ "start": 8194
3092
+ },
3093
+ {
3094
+ "length": 20,
3095
+ "start": 8427
3096
+ },
3097
+ {
3098
+ "length": 20,
3099
+ "start": 9424
3100
+ },
3101
+ {
3102
+ "length": 20,
3103
+ "start": 11387
3104
+ }
3105
+ ]
3106
+ },
3107
+ "contracts/types/ObjectType.sol": {
3108
+ "ObjectTypeLib": [
3109
+ {
3110
+ "length": 20,
3111
+ "start": 13247
3112
+ }
3113
+ ]
3114
+ },
3115
+ "contracts/types/RiskId.sol": {
3116
+ "RiskIdLib": [
3117
+ {
3118
+ "length": 20,
3119
+ "start": 6517
3120
+ },
3121
+ {
3122
+ "length": 20,
3123
+ "start": 8279
3124
+ },
3125
+ {
3126
+ "length": 20,
3127
+ "start": 9547
3128
+ }
3129
+ ]
3130
+ },
3131
+ "contracts/types/StateId.sol": {
3132
+ "StateIdLib": [
3133
+ {
3134
+ "length": 20,
3135
+ "start": 6746
3136
+ },
3137
+ {
3138
+ "length": 20,
3139
+ "start": 9701
3140
+ },
3141
+ {
3142
+ "length": 20,
3143
+ "start": 10031
3144
+ },
3145
+ {
3146
+ "length": 20,
3147
+ "start": 11933
3148
+ },
3149
+ {
3150
+ "length": 20,
3151
+ "start": 12153
3152
+ },
3153
+ {
3154
+ "length": 20,
3155
+ "start": 13468
3156
+ },
3157
+ {
3158
+ "length": 20,
3159
+ "start": 14174
3160
+ },
3161
+ {
3162
+ "length": 20,
3163
+ "start": 14394
3164
+ }
3165
+ ]
3166
+ },
3167
+ "contracts/types/Version.sol": {
3168
+ "VersionPartLib": [
3169
+ {
3170
+ "length": 20,
3171
+ "start": 10159
3172
+ }
3173
+ ]
3174
+ }
3175
+ },
3176
+ "deployedLinkReferences": {
3177
+ "contracts/types/Key32.sol": {
3178
+ "Key32Lib": [
3179
+ {
3180
+ "length": 20,
3181
+ "start": 8576
3182
+ },
3183
+ {
3184
+ "length": 20,
3185
+ "start": 10676
3186
+ },
3187
+ {
3188
+ "length": 20,
3189
+ "start": 10792
3190
+ },
3191
+ {
3192
+ "length": 20,
3193
+ "start": 10974
3194
+ },
3195
+ {
3196
+ "length": 20,
3197
+ "start": 11090
3198
+ },
3199
+ {
3200
+ "length": 20,
3201
+ "start": 11295
3202
+ },
3203
+ {
3204
+ "length": 20,
3205
+ "start": 12048
3206
+ },
3207
+ {
3208
+ "length": 20,
3209
+ "start": 12164
3210
+ },
3211
+ {
3212
+ "length": 20,
3213
+ "start": 12889
3214
+ },
3215
+ {
3216
+ "length": 20,
3217
+ "start": 13005
3218
+ }
3219
+ ]
3220
+ },
3221
+ "contracts/types/NftId.sol": {
3222
+ "NftIdLib": [
3223
+ {
3224
+ "length": 20,
3225
+ "start": 3764
3226
+ },
3227
+ {
3228
+ "length": 20,
3229
+ "start": 4272
3230
+ },
3231
+ {
3232
+ "length": 20,
3233
+ "start": 5052
3234
+ },
3235
+ {
3236
+ "length": 20,
3237
+ "start": 5626
3238
+ },
3239
+ {
3240
+ "length": 20,
3241
+ "start": 6363
3242
+ },
3243
+ {
3244
+ "length": 20,
3245
+ "start": 6596
3246
+ },
3247
+ {
3248
+ "length": 20,
3249
+ "start": 7593
3250
+ },
3251
+ {
3252
+ "length": 20,
3253
+ "start": 9556
3254
+ }
3255
+ ]
3256
+ },
3257
+ "contracts/types/ObjectType.sol": {
3258
+ "ObjectTypeLib": [
3259
+ {
3260
+ "length": 20,
3261
+ "start": 11416
3262
+ }
3263
+ ]
3264
+ },
3265
+ "contracts/types/RiskId.sol": {
3266
+ "RiskIdLib": [
3267
+ {
3268
+ "length": 20,
3269
+ "start": 4686
3270
+ },
3271
+ {
3272
+ "length": 20,
3273
+ "start": 6448
3274
+ },
3275
+ {
3276
+ "length": 20,
3277
+ "start": 7716
3278
+ }
3279
+ ]
3280
+ },
3281
+ "contracts/types/StateId.sol": {
3282
+ "StateIdLib": [
3283
+ {
3284
+ "length": 20,
3285
+ "start": 4915
3286
+ },
3287
+ {
3288
+ "length": 20,
3289
+ "start": 7870
3290
+ },
3291
+ {
3292
+ "length": 20,
3293
+ "start": 8200
3294
+ },
3295
+ {
3296
+ "length": 20,
3297
+ "start": 10102
3298
+ },
3299
+ {
3300
+ "length": 20,
3301
+ "start": 10322
3302
+ },
3303
+ {
3304
+ "length": 20,
3305
+ "start": 11637
3306
+ },
3307
+ {
3308
+ "length": 20,
3309
+ "start": 12343
3310
+ },
3311
+ {
3312
+ "length": 20,
3313
+ "start": 12563
3314
+ }
3315
+ ]
3316
+ },
3317
+ "contracts/types/Version.sol": {
3318
+ "VersionPartLib": [
3319
+ {
3320
+ "length": 20,
3321
+ "start": 8328
3322
+ }
3323
+ ]
3324
+ }
3325
+ }
3326
+ }