@etherisc/gif-next 0.0.2-fe77319 → 0.0.2-fe88ad7-208

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