@etherisc/gif-next 0.0.2-dc7e4cb-141 → 0.0.2-dc95063-418

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