@etherisc/gif-next 0.0.2-e1e92ab-754 → 0.0.2-e26c262-698

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