@etherisc/gif-next 0.0.2-f9bc4c7-556 → 0.0.2-faaba97-954

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