@etherisc/gif-next 0.0.2-f7be756-963 → 0.0.2-f7c17b4-297

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