@etherisc/gif-next 0.0.2-fe88ad7-208 → 0.0.2-ff8087d-237

Sign up to get free protection for your applications and to get access to all the features.
Files changed (378) hide show
  1. package/README.md +8 -13
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +873 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +903 -202
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/components/{BaseComponent.sol/BaseComponent.json → IComponent.sol/IComponent.json} +237 -83
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +879 -31
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +879 -59
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +720 -16
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +760 -195
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +564 -141
  18. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +1 -1
  19. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +15 -15
  20. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  21. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +69 -79
  22. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +1 -1
  23. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +5 -0
  24. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  25. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1474 -483
  26. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +248 -218
  28. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  29. package/artifacts/contracts/instance/Instance.sol/Instance.json +1152 -794
  30. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  31. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +462 -179
  32. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  33. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +414 -267
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  35. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +482 -346
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  37. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +355 -91
  38. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
  39. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +11 -40
  40. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  41. package/artifacts/contracts/instance/base/{ComponentServiceBase.sol/ComponentServiceBase.json → ComponentService.sol/ComponentService.json} +263 -164
  42. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  44. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  45. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +40 -10
  46. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  47. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
  48. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  49. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +58 -75
  50. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  51. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  52. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  53. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  54. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  55. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  56. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  57. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  58. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  59. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +1124 -0
  60. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  61. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +688 -0
  62. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +1 -1
  63. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +641 -303
  64. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  65. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +343 -79
  66. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  67. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +1384 -0
  68. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  69. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +752 -0
  70. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1434 -280
  72. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  73. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +469 -73
  74. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  75. package/artifacts/contracts/instance/service/{IComponentOwnerService.sol/IComponentOwnerService.json → IApplicationService.sol/IApplicationService.json} +342 -189
  76. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +1 -1
  77. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +310 -249
  78. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  79. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +743 -0
  80. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +757 -144
  82. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  83. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +262 -275
  84. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +703 -125
  86. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  87. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +71 -165
  88. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +1 -1
  89. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +632 -344
  90. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  91. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +367 -91
  92. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  93. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +1119 -224
  94. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  95. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +361 -73
  96. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  97. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +297 -210
  98. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
  99. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +298 -78
  100. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  101. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  102. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  103. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +117 -5
  104. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  105. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +99 -217
  106. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  107. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  108. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  109. package/artifacts/contracts/registry/Registry.sol/Registry.json +131 -27
  110. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +1 -1
  111. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +18 -18
  112. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  113. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +205 -250
  114. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  115. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +287 -81
  116. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
  117. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +81 -68
  118. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  119. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +138 -50
  120. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  121. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  122. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  123. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  124. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +27 -29
  125. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  126. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +189 -0
  127. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  128. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +8 -34
  129. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  130. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  131. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  132. package/artifacts/contracts/shared/IService.sol/IService.json +71 -165
  133. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  134. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  135. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  136. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +107 -27
  137. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  138. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +302 -0
  139. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  140. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +283 -63
  141. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  142. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +116 -51
  143. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  144. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
  145. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  146. package/artifacts/contracts/shared/Service.sol/Service.json +173 -153
  147. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  148. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +24 -6
  149. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  150. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  151. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  152. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  153. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  154. package/artifacts/contracts/test/TestFee.sol/TestFee.json +2 -2
  155. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  156. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +116 -51
  157. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  158. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +6 -6
  159. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  160. package/artifacts/contracts/test/TestService.sol/TestService.json +191 -203
  161. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  162. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  163. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  164. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  165. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -190
  166. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  167. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  168. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +4 -0
  169. package/artifacts/contracts/types/Amount.sol/AmountLib.json +281 -0
  170. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  171. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  172. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  173. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  174. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +179 -0
  175. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  176. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
  177. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  178. package/artifacts/contracts/types/Fee.sol/FeeLib.json +74 -19
  179. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  180. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  181. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  182. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
  183. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  184. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +2 -2
  185. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  186. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  187. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  188. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  189. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +209 -0
  190. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  191. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
  192. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  193. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  194. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  195. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  196. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  197. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  198. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  199. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  200. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +38 -7
  202. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  203. package/artifacts/contracts/types/UFixed.sol/MathLib.json +2 -2
  204. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  205. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +2 -2
  206. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  207. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  208. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  209. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
  210. package/contracts/components/Component.sol +272 -0
  211. package/contracts/components/Distribution.sol +204 -82
  212. package/contracts/components/IComponent.sol +90 -0
  213. package/contracts/components/IDistributionComponent.sol +44 -17
  214. package/contracts/components/IPoolComponent.sol +90 -42
  215. package/contracts/components/IProductComponent.sol +15 -9
  216. package/contracts/components/Pool.sol +217 -186
  217. package/contracts/components/Product.sol +246 -166
  218. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +2 -12
  219. package/contracts/instance/BundleManager.sol +17 -20
  220. package/contracts/instance/Cloneable.sol +7 -2
  221. package/contracts/instance/IInstance.sol +67 -25
  222. package/contracts/instance/IInstanceService.sol +34 -11
  223. package/contracts/instance/Instance.sol +158 -116
  224. package/contracts/instance/InstanceAccessManager.sol +389 -165
  225. package/contracts/instance/InstanceReader.sol +87 -36
  226. package/contracts/instance/InstanceService.sol +295 -161
  227. package/contracts/instance/InstanceServiceManager.sol +1 -1
  228. package/contracts/instance/ObjectManager.sol +10 -29
  229. package/contracts/instance/base/ComponentService.sol +130 -0
  230. package/contracts/instance/base/KeyValueStore.sol +13 -36
  231. package/contracts/instance/base/Lifecycle.sol +26 -6
  232. package/contracts/instance/module/IAccess.sol +22 -16
  233. package/contracts/instance/module/IBundle.sol +8 -5
  234. package/contracts/instance/module/IComponents.sol +41 -0
  235. package/contracts/instance/module/IDistribution.sol +3 -0
  236. package/contracts/instance/module/IPolicy.sol +43 -11
  237. package/contracts/instance/module/ISetup.sol +7 -20
  238. package/contracts/instance/service/ApplicationService.sol +356 -0
  239. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  240. package/contracts/instance/service/BundleService.sol +244 -119
  241. package/contracts/instance/service/BundleServiceManager.sol +1 -1
  242. package/contracts/instance/service/ClaimService.sol +443 -0
  243. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  244. package/contracts/instance/service/DistributionService.sol +360 -41
  245. package/contracts/instance/service/DistributionServiceManager.sol +1 -1
  246. package/contracts/instance/service/IApplicationService.sol +79 -0
  247. package/contracts/instance/service/IBundleService.sol +93 -20
  248. package/contracts/instance/service/IClaimService.sol +90 -0
  249. package/contracts/instance/service/IDistributionService.sol +89 -0
  250. package/contracts/instance/service/IPolicyService.sol +44 -51
  251. package/contracts/instance/service/IPoolService.sol +97 -3
  252. package/contracts/instance/service/PolicyService.sol +233 -364
  253. package/contracts/instance/service/PolicyServiceManager.sol +2 -2
  254. package/contracts/instance/service/PoolService.sol +319 -40
  255. package/contracts/instance/service/PoolServiceManager.sol +1 -1
  256. package/contracts/instance/service/ProductService.sol +90 -50
  257. package/contracts/instance/service/ProductServiceManager.sol +2 -2
  258. package/contracts/registry/ChainNft.sol +8 -0
  259. package/contracts/registry/IRegistry.sol +18 -8
  260. package/contracts/registry/IRegistryService.sol +21 -13
  261. package/contracts/registry/ITransferInterceptor.sol +1 -0
  262. package/contracts/registry/Registry.sol +142 -71
  263. package/contracts/registry/RegistryAccessManager.sol +31 -25
  264. package/contracts/registry/RegistryService.sol +93 -134
  265. package/contracts/registry/RegistryServiceManager.sol +13 -13
  266. package/contracts/registry/ReleaseManager.sol +103 -127
  267. package/contracts/registry/TokenRegistry.sol +19 -13
  268. package/contracts/shared/ERC165.sol +14 -12
  269. package/contracts/shared/INftOwnable.sol +11 -10
  270. package/contracts/shared/IPolicyHolder.sol +40 -0
  271. package/contracts/shared/IRegisterable.sol +4 -6
  272. package/contracts/shared/IRegistryLinked.sol +11 -0
  273. package/contracts/shared/IService.sol +6 -4
  274. package/contracts/shared/IVersionable.sol +4 -47
  275. package/contracts/shared/NftOwnable.sol +64 -80
  276. package/contracts/shared/PolicyHolder.sol +94 -0
  277. package/contracts/shared/ProxyManager.sol +100 -25
  278. package/contracts/shared/Registerable.sol +24 -39
  279. package/contracts/shared/RegistryLinked.sol +43 -0
  280. package/contracts/shared/Service.sol +36 -22
  281. package/contracts/shared/TokenHandler.sol +14 -6
  282. package/contracts/shared/Versionable.sol +4 -92
  283. package/contracts/test/TestRegisterable.sol +1 -1
  284. package/contracts/test/TestService.sol +1 -1
  285. package/contracts/types/Amount.sol +109 -0
  286. package/contracts/types/Blocknumber.sol +1 -0
  287. package/contracts/types/ClaimId.sol +75 -0
  288. package/contracts/types/DistributorType.sol +2 -2
  289. package/contracts/types/Fee.sol +17 -8
  290. package/contracts/types/NftId.sol +8 -0
  291. package/contracts/types/ObjectType.sol +11 -6
  292. package/contracts/types/PayoutId.sol +82 -0
  293. package/contracts/types/Referral.sol +4 -0
  294. package/contracts/types/RoleId.sol +18 -11
  295. package/contracts/types/Seconds.sol +54 -0
  296. package/contracts/types/StateId.sol +7 -2
  297. package/contracts/types/Timestamp.sol +18 -13
  298. package/contracts/types/UFixed.sol +1 -0
  299. package/contracts/types/Version.sol +1 -0
  300. package/package.json +3 -3
  301. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  302. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  303. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -397
  304. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  305. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  306. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  307. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  308. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  309. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  310. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  311. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  312. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  313. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  314. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  315. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  316. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  317. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  318. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  319. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  320. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  321. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  322. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  323. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  324. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  325. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  326. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  327. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  328. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  329. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  330. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  331. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  332. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  333. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  334. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  335. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  336. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  337. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  338. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  339. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  340. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  341. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  342. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  343. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  344. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.json +0 -448
  345. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  346. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +0 -763
  347. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  348. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  349. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  350. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  351. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -814
  352. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  353. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  354. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
  355. package/contracts/components/BaseComponent.sol +0 -159
  356. package/contracts/components/IBaseComponent.sol +0 -34
  357. package/contracts/experiment/cloning/Cloner.sol +0 -47
  358. package/contracts/experiment/errors/Require.sol +0 -38
  359. package/contracts/experiment/errors/Revert.sol +0 -44
  360. package/contracts/experiment/inheritance/A.sol +0 -53
  361. package/contracts/experiment/inheritance/B.sol +0 -28
  362. package/contracts/experiment/inheritance/C.sol +0 -34
  363. package/contracts/experiment/inheritance/IA.sol +0 -13
  364. package/contracts/experiment/inheritance/IB.sol +0 -10
  365. package/contracts/experiment/inheritance/IC.sol +0 -12
  366. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  367. package/contracts/experiment/statemachine/ISM.sol +0 -25
  368. package/contracts/experiment/statemachine/SM.sol +0 -57
  369. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  370. package/contracts/experiment/types/TypeA.sol +0 -47
  371. package/contracts/experiment/types/TypeB.sol +0 -29
  372. package/contracts/instance/IInstanceBase.sol +0 -26
  373. package/contracts/instance/InstanceBase.sol +0 -41
  374. package/contracts/instance/base/ComponentServiceBase.sol +0 -82
  375. package/contracts/instance/base/IInstanceBase.sol +0 -23
  376. package/contracts/instance/service/ComponentOwnerService.sol +0 -315
  377. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  378. package/contracts/shared/RegisterableUpgradable.sol +0 -16
@@ -45,27 +45,71 @@
45
45
  "inputs": [
46
46
  {
47
47
  "internalType": "address",
48
- "name": "registry",
48
+ "name": "instanceBundleManager",
49
49
  "type": "address"
50
- },
50
+ }
51
+ ],
52
+ "name": "ErrorInstanceBundleManagerAlreadySet",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
51
57
  {
52
- "internalType": "NftId",
53
- "name": "nftId",
54
- "type": "uint96"
58
+ "internalType": "address",
59
+ "name": "instanceAuthority",
60
+ "type": "address"
55
61
  }
56
62
  ],
57
- "name": "ErrorAlreadyLinked",
63
+ "name": "ErrorInstanceBundleManagerAuthorityMismatch",
58
64
  "type": "error"
59
65
  },
60
66
  {
61
67
  "inputs": [
62
68
  {
63
69
  "internalType": "address",
64
- "name": "contractAddress",
70
+ "name": "instance",
71
+ "type": "address"
72
+ }
73
+ ],
74
+ "name": "ErrorInstanceBundleManagerInstanceMismatch",
75
+ "type": "error"
76
+ },
77
+ {
78
+ "inputs": [
79
+ {
80
+ "internalType": "address",
81
+ "name": "instanceAccessManager",
82
+ "type": "address"
83
+ }
84
+ ],
85
+ "name": "ErrorInstanceInstanceAccessManagerAlreadySet",
86
+ "type": "error"
87
+ },
88
+ {
89
+ "inputs": [
90
+ {
91
+ "internalType": "address",
92
+ "name": "instanceAuthority",
93
+ "type": "address"
94
+ }
95
+ ],
96
+ "name": "ErrorInstanceInstanceAccessManagerAuthorityMismatch",
97
+ "type": "error"
98
+ },
99
+ {
100
+ "inputs": [],
101
+ "name": "ErrorInstanceInstanceAccessManagerZero",
102
+ "type": "error"
103
+ },
104
+ {
105
+ "inputs": [
106
+ {
107
+ "internalType": "address",
108
+ "name": "instanceAuthority",
65
109
  "type": "address"
66
110
  }
67
111
  ],
68
- "name": "ErrorContractNotRegistered",
112
+ "name": "ErrorInstanceInstanceReaderInstanceMismatch",
69
113
  "type": "error"
70
114
  },
71
115
  {
@@ -95,68 +139,63 @@
95
139
  "internalType": "NftId",
96
140
  "name": "nftId",
97
141
  "type": "uint96"
98
- },
99
- {
100
- "internalType": "ObjectType",
101
- "name": "objectType",
102
- "type": "uint8"
103
142
  }
104
143
  ],
105
- "name": "ErrorNoLifecycle",
144
+ "name": "ErrorNftOwnableAlreadyLinked",
106
145
  "type": "error"
107
146
  },
108
147
  {
109
148
  "inputs": [
110
149
  {
111
150
  "internalType": "address",
112
- "name": "account",
151
+ "name": "contractAddress",
113
152
  "type": "address"
114
153
  }
115
154
  ],
116
- "name": "ErrorNotOwner",
155
+ "name": "ErrorNftOwnableContractNotRegistered",
156
+ "type": "error"
157
+ },
158
+ {
159
+ "inputs": [],
160
+ "name": "ErrorNftOwnableInitialOwnerZero",
117
161
  "type": "error"
118
162
  },
119
163
  {
120
164
  "inputs": [
121
165
  {
122
166
  "internalType": "address",
123
- "name": "registryAddress",
167
+ "name": "account",
124
168
  "type": "address"
125
169
  }
126
170
  ],
127
- "name": "ErrorNotRegistry",
171
+ "name": "ErrorNftOwnableNotOwner",
128
172
  "type": "error"
129
173
  },
130
174
  {
131
175
  "inputs": [
132
176
  {
133
- "internalType": "address",
134
- "name": "registryAddress",
135
- "type": "address"
177
+ "internalType": "NftId",
178
+ "name": "nftId",
179
+ "type": "uint96"
180
+ },
181
+ {
182
+ "internalType": "ObjectType",
183
+ "name": "objectType",
184
+ "type": "uint8"
136
185
  }
137
186
  ],
138
- "name": "ErrorRegisterableNotRegistry",
139
- "type": "error"
140
- },
141
- {
142
- "inputs": [],
143
- "name": "ErrorRegistryAddressZero",
187
+ "name": "ErrorNoLifecycle",
144
188
  "type": "error"
145
189
  },
146
190
  {
147
191
  "inputs": [
148
192
  {
149
193
  "internalType": "address",
150
- "name": "registry",
194
+ "name": "registryAddress",
151
195
  "type": "address"
152
196
  }
153
197
  ],
154
- "name": "ErrorRegistryAlreadyInitialized",
155
- "type": "error"
156
- },
157
- {
158
- "inputs": [],
159
- "name": "ErrorRegistryNotInitialized",
198
+ "name": "ErrorNotRegistry",
160
199
  "type": "error"
161
200
  },
162
201
  {
@@ -363,6 +402,32 @@
363
402
  "stateMutability": "view",
364
403
  "type": "function"
365
404
  },
405
+ {
406
+ "inputs": [],
407
+ "name": "GIF_MAJOR_VERSION",
408
+ "outputs": [
409
+ {
410
+ "internalType": "uint256",
411
+ "name": "",
412
+ "type": "uint256"
413
+ }
414
+ ],
415
+ "stateMutability": "view",
416
+ "type": "function"
417
+ },
418
+ {
419
+ "inputs": [],
420
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
421
+ "outputs": [
422
+ {
423
+ "internalType": "bytes32",
424
+ "name": "",
425
+ "type": "bytes32"
426
+ }
427
+ ],
428
+ "stateMutability": "view",
429
+ "type": "function"
430
+ },
366
431
  {
367
432
  "inputs": [],
368
433
  "name": "PUBLIC_ROLE",
@@ -425,6 +490,111 @@
425
490
  "stateMutability": "view",
426
491
  "type": "function"
427
492
  },
493
+ {
494
+ "inputs": [
495
+ {
496
+ "internalType": "NftId",
497
+ "name": "applicationNftId",
498
+ "type": "uint96"
499
+ },
500
+ {
501
+ "components": [
502
+ {
503
+ "internalType": "NftId",
504
+ "name": "productNftId",
505
+ "type": "uint96"
506
+ },
507
+ {
508
+ "internalType": "NftId",
509
+ "name": "bundleNftId",
510
+ "type": "uint96"
511
+ },
512
+ {
513
+ "internalType": "ReferralId",
514
+ "name": "referralId",
515
+ "type": "bytes8"
516
+ },
517
+ {
518
+ "internalType": "RiskId",
519
+ "name": "riskId",
520
+ "type": "bytes8"
521
+ },
522
+ {
523
+ "internalType": "Amount",
524
+ "name": "sumInsuredAmount",
525
+ "type": "uint96"
526
+ },
527
+ {
528
+ "internalType": "Amount",
529
+ "name": "premiumAmount",
530
+ "type": "uint96"
531
+ },
532
+ {
533
+ "internalType": "Amount",
534
+ "name": "premiumPaidAmount",
535
+ "type": "uint96"
536
+ },
537
+ {
538
+ "internalType": "Seconds",
539
+ "name": "lifetime",
540
+ "type": "uint40"
541
+ },
542
+ {
543
+ "internalType": "bytes",
544
+ "name": "applicationData",
545
+ "type": "bytes"
546
+ },
547
+ {
548
+ "internalType": "bytes",
549
+ "name": "policyData",
550
+ "type": "bytes"
551
+ },
552
+ {
553
+ "internalType": "uint16",
554
+ "name": "claimsCount",
555
+ "type": "uint16"
556
+ },
557
+ {
558
+ "internalType": "uint16",
559
+ "name": "openClaimsCount",
560
+ "type": "uint16"
561
+ },
562
+ {
563
+ "internalType": "Amount",
564
+ "name": "claimAmount",
565
+ "type": "uint96"
566
+ },
567
+ {
568
+ "internalType": "Amount",
569
+ "name": "payoutAmount",
570
+ "type": "uint96"
571
+ },
572
+ {
573
+ "internalType": "Timestamp",
574
+ "name": "activatedAt",
575
+ "type": "uint40"
576
+ },
577
+ {
578
+ "internalType": "Timestamp",
579
+ "name": "expiredAt",
580
+ "type": "uint40"
581
+ },
582
+ {
583
+ "internalType": "Timestamp",
584
+ "name": "closedAt",
585
+ "type": "uint40"
586
+ }
587
+ ],
588
+ "internalType": "struct IPolicy.PolicyInfo",
589
+ "name": "policy",
590
+ "type": "tuple"
591
+ }
592
+ ],
593
+ "name": "createApplication",
594
+ "outputs": [],
595
+ "stateMutability": "nonpayable",
596
+ "type": "function"
597
+ },
428
598
  {
429
599
  "inputs": [
430
600
  {
@@ -462,24 +632,24 @@
462
632
  "type": "bytes"
463
633
  },
464
634
  {
465
- "internalType": "uint256",
635
+ "internalType": "Amount",
466
636
  "name": "capitalAmount",
467
- "type": "uint256"
637
+ "type": "uint96"
468
638
  },
469
639
  {
470
- "internalType": "uint256",
640
+ "internalType": "Amount",
471
641
  "name": "lockedAmount",
472
- "type": "uint256"
642
+ "type": "uint96"
473
643
  },
474
644
  {
475
- "internalType": "uint256",
476
- "name": "balanceAmount",
477
- "type": "uint256"
645
+ "internalType": "Amount",
646
+ "name": "feeAmount",
647
+ "type": "uint96"
478
648
  },
479
649
  {
480
- "internalType": "uint256",
650
+ "internalType": "Seconds",
481
651
  "name": "lifetime",
482
- "type": "uint256"
652
+ "type": "uint40"
483
653
  },
484
654
  {
485
655
  "internalType": "Timestamp",
@@ -510,21 +680,31 @@
510
680
  "type": "uint96"
511
681
  },
512
682
  {
513
- "internalType": "NumberId",
683
+ "internalType": "ClaimId",
514
684
  "name": "claimId",
515
- "type": "uint32"
685
+ "type": "uint16"
516
686
  },
517
687
  {
518
688
  "components": [
519
689
  {
520
- "internalType": "uint256",
690
+ "internalType": "Amount",
521
691
  "name": "claimAmount",
522
- "type": "uint256"
692
+ "type": "uint96"
523
693
  },
524
694
  {
525
- "internalType": "uint256",
695
+ "internalType": "Amount",
526
696
  "name": "paidAmount",
527
- "type": "uint256"
697
+ "type": "uint96"
698
+ },
699
+ {
700
+ "internalType": "uint8",
701
+ "name": "payoutsCount",
702
+ "type": "uint8"
703
+ },
704
+ {
705
+ "internalType": "uint8",
706
+ "name": "openPayoutsCount",
707
+ "type": "uint8"
528
708
  },
529
709
  {
530
710
  "internalType": "bytes",
@@ -580,18 +760,35 @@
580
760
  }
581
761
  ],
582
762
  "internalType": "struct Fee",
583
- "name": "distributionFee",
763
+ "name": "minDistributionOwnerFee",
584
764
  "type": "tuple"
585
765
  },
586
766
  {
587
- "internalType": "bool",
588
- "name": "isIntercepting",
589
- "type": "bool"
767
+ "components": [
768
+ {
769
+ "internalType": "UFixed",
770
+ "name": "fractionalFee",
771
+ "type": "uint256"
772
+ },
773
+ {
774
+ "internalType": "uint256",
775
+ "name": "fixedFee",
776
+ "type": "uint256"
777
+ }
778
+ ],
779
+ "internalType": "struct Fee",
780
+ "name": "distributionFee",
781
+ "type": "tuple"
590
782
  },
591
783
  {
592
784
  "internalType": "address",
593
785
  "name": "wallet",
594
786
  "type": "address"
787
+ },
788
+ {
789
+ "internalType": "uint256",
790
+ "name": "sumDistributionOwnerFees",
791
+ "type": "uint256"
595
792
  }
596
793
  ],
597
794
  "internalType": "struct ISetup.DistributionSetupInfo",
@@ -608,25 +805,20 @@
608
805
  "inputs": [
609
806
  {
610
807
  "internalType": "NftId",
611
- "name": "policyNftId",
808
+ "name": "distributorNftId",
612
809
  "type": "uint96"
613
810
  },
614
- {
615
- "internalType": "NumberId",
616
- "name": "payoutId",
617
- "type": "uint32"
618
- },
619
811
  {
620
812
  "components": [
621
813
  {
622
- "internalType": "NumberId",
623
- "name": "claimId",
624
- "type": "uint32"
814
+ "internalType": "DistributorType",
815
+ "name": "distributorType",
816
+ "type": "bytes8"
625
817
  },
626
818
  {
627
- "internalType": "uint256",
628
- "name": "amount",
629
- "type": "uint256"
819
+ "internalType": "bool",
820
+ "name": "active",
821
+ "type": "bool"
630
822
  },
631
823
  {
632
824
  "internalType": "bytes",
@@ -634,13 +826,18 @@
634
826
  "type": "bytes"
635
827
  },
636
828
  {
637
- "internalType": "Timestamp",
638
- "name": "paidAt",
639
- "type": "uint40"
829
+ "internalType": "Amount",
830
+ "name": "commissionAmount",
831
+ "type": "uint96"
832
+ },
833
+ {
834
+ "internalType": "uint32",
835
+ "name": "numPoliciesSold",
836
+ "type": "uint32"
640
837
  }
641
838
  ],
642
- "internalType": "struct IPolicy.PayoutInfo",
643
- "name": "payout",
839
+ "internalType": "struct IDistribution.DistributorInfo",
840
+ "name": "info",
644
841
  "type": "tuple"
645
842
  }
646
843
  ],
@@ -652,40 +849,60 @@
652
849
  {
653
850
  "inputs": [
654
851
  {
655
- "internalType": "NftId",
656
- "name": "policyNftId",
657
- "type": "uint96"
658
- },
659
- {
660
- "internalType": "NumberId",
661
- "name": "payoutId",
662
- "type": "uint32"
852
+ "internalType": "DistributorType",
853
+ "name": "distributorType",
854
+ "type": "bytes8"
663
855
  },
664
856
  {
665
857
  "components": [
666
858
  {
667
- "internalType": "NumberId",
668
- "name": "claimId",
669
- "type": "uint32"
859
+ "internalType": "string",
860
+ "name": "name",
861
+ "type": "string"
670
862
  },
671
863
  {
672
- "internalType": "uint256",
673
- "name": "amount",
864
+ "internalType": "UFixed",
865
+ "name": "minDiscountPercentage",
674
866
  "type": "uint256"
675
867
  },
868
+ {
869
+ "internalType": "UFixed",
870
+ "name": "maxDiscountPercentage",
871
+ "type": "uint256"
872
+ },
873
+ {
874
+ "internalType": "UFixed",
875
+ "name": "commissionPercentage",
876
+ "type": "uint256"
877
+ },
878
+ {
879
+ "internalType": "uint32",
880
+ "name": "maxReferralCount",
881
+ "type": "uint32"
882
+ },
883
+ {
884
+ "internalType": "uint32",
885
+ "name": "maxReferralLifetime",
886
+ "type": "uint32"
887
+ },
888
+ {
889
+ "internalType": "bool",
890
+ "name": "allowSelfReferrals",
891
+ "type": "bool"
892
+ },
893
+ {
894
+ "internalType": "bool",
895
+ "name": "allowRenewals",
896
+ "type": "bool"
897
+ },
676
898
  {
677
899
  "internalType": "bytes",
678
900
  "name": "data",
679
901
  "type": "bytes"
680
- },
681
- {
682
- "internalType": "Timestamp",
683
- "name": "paidAt",
684
- "type": "uint40"
685
902
  }
686
903
  ],
687
- "internalType": "struct IPolicy.PayoutInfo",
688
- "name": "payout",
904
+ "internalType": "struct IDistribution.DistributorTypeInfo",
905
+ "name": "info",
689
906
  "type": "tuple"
690
907
  }
691
908
  ],
@@ -702,21 +919,21 @@
702
919
  "type": "uint96"
703
920
  },
704
921
  {
705
- "internalType": "NumberId",
922
+ "internalType": "PayoutId",
706
923
  "name": "payoutId",
707
- "type": "uint32"
924
+ "type": "uint24"
708
925
  },
709
926
  {
710
927
  "components": [
711
928
  {
712
- "internalType": "NumberId",
929
+ "internalType": "ClaimId",
713
930
  "name": "claimId",
714
- "type": "uint32"
931
+ "type": "uint16"
715
932
  },
716
933
  {
717
- "internalType": "uint256",
934
+ "internalType": "Amount",
718
935
  "name": "amount",
719
- "type": "uint256"
936
+ "type": "uint96"
720
937
  },
721
938
  {
722
939
  "internalType": "bytes",
@@ -743,115 +960,20 @@
743
960
  "inputs": [
744
961
  {
745
962
  "internalType": "NftId",
746
- "name": "policyNftId",
963
+ "name": "poolNftId",
747
964
  "type": "uint96"
748
965
  },
749
966
  {
750
967
  "components": [
751
968
  {
752
- "internalType": "NftId",
753
- "name": "productNftId",
754
- "type": "uint96"
755
- },
756
- {
757
- "internalType": "NftId",
758
- "name": "bundleNftId",
759
- "type": "uint96"
969
+ "internalType": "string",
970
+ "name": "name",
971
+ "type": "string"
760
972
  },
761
973
  {
762
- "internalType": "ReferralId",
763
- "name": "referralId",
764
- "type": "bytes8"
765
- },
766
- {
767
- "internalType": "RiskId",
768
- "name": "riskId",
769
- "type": "bytes8"
770
- },
771
- {
772
- "internalType": "uint256",
773
- "name": "sumInsuredAmount",
774
- "type": "uint256"
775
- },
776
- {
777
- "internalType": "uint256",
778
- "name": "premiumAmount",
779
- "type": "uint256"
780
- },
781
- {
782
- "internalType": "uint256",
783
- "name": "premiumPaidAmount",
784
- "type": "uint256"
785
- },
786
- {
787
- "internalType": "uint256",
788
- "name": "lifetime",
789
- "type": "uint256"
790
- },
791
- {
792
- "internalType": "bytes",
793
- "name": "applicationData",
794
- "type": "bytes"
795
- },
796
- {
797
- "internalType": "bytes",
798
- "name": "policyData",
799
- "type": "bytes"
800
- },
801
- {
802
- "internalType": "uint16",
803
- "name": "claimsCount",
804
- "type": "uint16"
805
- },
806
- {
807
- "internalType": "uint16",
808
- "name": "openClaimsCount",
809
- "type": "uint16"
810
- },
811
- {
812
- "internalType": "uint256",
813
- "name": "payoutAmount",
814
- "type": "uint256"
815
- },
816
- {
817
- "internalType": "Timestamp",
818
- "name": "activatedAt",
819
- "type": "uint40"
820
- },
821
- {
822
- "internalType": "Timestamp",
823
- "name": "expiredAt",
824
- "type": "uint40"
825
- },
826
- {
827
- "internalType": "Timestamp",
828
- "name": "closedAt",
829
- "type": "uint40"
830
- }
831
- ],
832
- "internalType": "struct IPolicy.PolicyInfo",
833
- "name": "policy",
834
- "type": "tuple"
835
- }
836
- ],
837
- "name": "createPolicy",
838
- "outputs": [],
839
- "stateMutability": "nonpayable",
840
- "type": "function"
841
- },
842
- {
843
- "inputs": [
844
- {
845
- "internalType": "NftId",
846
- "name": "poolNftId",
847
- "type": "uint96"
848
- },
849
- {
850
- "components": [
851
- {
852
- "internalType": "NftId",
853
- "name": "productNftId",
854
- "type": "uint96"
974
+ "internalType": "contract IERC20Metadata",
975
+ "name": "token",
976
+ "type": "address"
855
977
  },
856
978
  {
857
979
  "internalType": "contract TokenHandler",
@@ -859,79 +981,28 @@
859
981
  "type": "address"
860
982
  },
861
983
  {
862
- "internalType": "UFixed",
863
- "name": "collateralizationLevel",
864
- "type": "uint256"
865
- },
866
- {
867
- "components": [
868
- {
869
- "internalType": "UFixed",
870
- "name": "fractionalFee",
871
- "type": "uint256"
872
- },
873
- {
874
- "internalType": "uint256",
875
- "name": "fixedFee",
876
- "type": "uint256"
877
- }
878
- ],
879
- "internalType": "struct Fee",
880
- "name": "poolFee",
881
- "type": "tuple"
882
- },
883
- {
884
- "components": [
885
- {
886
- "internalType": "UFixed",
887
- "name": "fractionalFee",
888
- "type": "uint256"
889
- },
890
- {
891
- "internalType": "uint256",
892
- "name": "fixedFee",
893
- "type": "uint256"
894
- }
895
- ],
896
- "internalType": "struct Fee",
897
- "name": "stakingFee",
898
- "type": "tuple"
899
- },
900
- {
901
- "components": [
902
- {
903
- "internalType": "UFixed",
904
- "name": "fractionalFee",
905
- "type": "uint256"
906
- },
907
- {
908
- "internalType": "uint256",
909
- "name": "fixedFee",
910
- "type": "uint256"
911
- }
912
- ],
913
- "internalType": "struct Fee",
914
- "name": "performanceFee",
915
- "type": "tuple"
984
+ "internalType": "address",
985
+ "name": "wallet",
986
+ "type": "address"
916
987
  },
917
988
  {
918
- "internalType": "bool",
919
- "name": "isIntercepting",
920
- "type": "bool"
989
+ "internalType": "Amount",
990
+ "name": "balanceAmount",
991
+ "type": "uint96"
921
992
  },
922
993
  {
923
- "internalType": "bool",
924
- "name": "isConfirmingApplication",
925
- "type": "bool"
994
+ "internalType": "Amount",
995
+ "name": "feeAmount",
996
+ "type": "uint96"
926
997
  },
927
998
  {
928
- "internalType": "address",
929
- "name": "wallet",
930
- "type": "address"
999
+ "internalType": "bytes",
1000
+ "name": "data",
1001
+ "type": "bytes"
931
1002
  }
932
1003
  ],
933
- "internalType": "struct ISetup.PoolSetupInfo",
934
- "name": "setup",
1004
+ "internalType": "struct IComponents.ComponentInfo",
1005
+ "name": "info",
935
1006
  "type": "tuple"
936
1007
  }
937
1008
  ],
@@ -969,23 +1040,6 @@
969
1040
  "name": "poolNftId",
970
1041
  "type": "uint96"
971
1042
  },
972
- {
973
- "components": [
974
- {
975
- "internalType": "UFixed",
976
- "name": "fractionalFee",
977
- "type": "uint256"
978
- },
979
- {
980
- "internalType": "uint256",
981
- "name": "fixedFee",
982
- "type": "uint256"
983
- }
984
- ],
985
- "internalType": "struct Fee",
986
- "name": "distributionFee",
987
- "type": "tuple"
988
- },
989
1043
  {
990
1044
  "components": [
991
1045
  {
@@ -1020,57 +1074,6 @@
1020
1074
  "name": "processingFee",
1021
1075
  "type": "tuple"
1022
1076
  },
1023
- {
1024
- "components": [
1025
- {
1026
- "internalType": "UFixed",
1027
- "name": "fractionalFee",
1028
- "type": "uint256"
1029
- },
1030
- {
1031
- "internalType": "uint256",
1032
- "name": "fixedFee",
1033
- "type": "uint256"
1034
- }
1035
- ],
1036
- "internalType": "struct Fee",
1037
- "name": "poolFee",
1038
- "type": "tuple"
1039
- },
1040
- {
1041
- "components": [
1042
- {
1043
- "internalType": "UFixed",
1044
- "name": "fractionalFee",
1045
- "type": "uint256"
1046
- },
1047
- {
1048
- "internalType": "uint256",
1049
- "name": "fixedFee",
1050
- "type": "uint256"
1051
- }
1052
- ],
1053
- "internalType": "struct Fee",
1054
- "name": "stakingFee",
1055
- "type": "tuple"
1056
- },
1057
- {
1058
- "components": [
1059
- {
1060
- "internalType": "UFixed",
1061
- "name": "fractionalFee",
1062
- "type": "uint256"
1063
- },
1064
- {
1065
- "internalType": "uint256",
1066
- "name": "fixedFee",
1067
- "type": "uint256"
1068
- }
1069
- ],
1070
- "internalType": "struct Fee",
1071
- "name": "performanceFee",
1072
- "type": "tuple"
1073
- },
1074
1077
  {
1075
1078
  "internalType": "bool",
1076
1079
  "name": "isIntercepting",
@@ -1095,40 +1098,50 @@
1095
1098
  {
1096
1099
  "inputs": [
1097
1100
  {
1098
- "internalType": "NftId",
1099
- "name": "policyNftId",
1100
- "type": "uint96"
1101
- },
1102
- {
1103
- "internalType": "NumberId",
1104
- "name": "payoutId",
1105
- "type": "uint32"
1101
+ "internalType": "ReferralId",
1102
+ "name": "referralId",
1103
+ "type": "bytes8"
1106
1104
  },
1107
1105
  {
1108
1106
  "components": [
1109
1107
  {
1110
- "internalType": "NumberId",
1111
- "name": "claimId",
1112
- "type": "uint32"
1108
+ "internalType": "NftId",
1109
+ "name": "distributorNftId",
1110
+ "type": "uint96"
1113
1111
  },
1114
1112
  {
1115
- "internalType": "uint256",
1116
- "name": "amount",
1113
+ "internalType": "string",
1114
+ "name": "referralCode",
1115
+ "type": "string"
1116
+ },
1117
+ {
1118
+ "internalType": "UFixed",
1119
+ "name": "discountPercentage",
1117
1120
  "type": "uint256"
1118
1121
  },
1119
1122
  {
1120
- "internalType": "bytes",
1121
- "name": "data",
1122
- "type": "bytes"
1123
+ "internalType": "uint32",
1124
+ "name": "maxReferrals",
1125
+ "type": "uint32"
1126
+ },
1127
+ {
1128
+ "internalType": "uint32",
1129
+ "name": "usedReferrals",
1130
+ "type": "uint32"
1123
1131
  },
1124
1132
  {
1125
1133
  "internalType": "Timestamp",
1126
- "name": "paidAt",
1134
+ "name": "expiryAt",
1127
1135
  "type": "uint40"
1136
+ },
1137
+ {
1138
+ "internalType": "bytes",
1139
+ "name": "data",
1140
+ "type": "bytes"
1128
1141
  }
1129
1142
  ],
1130
- "internalType": "struct IPolicy.PayoutInfo",
1131
- "name": "payout",
1143
+ "internalType": "struct IDistribution.ReferralInfo",
1144
+ "name": "referralInfo",
1132
1145
  "type": "tuple"
1133
1146
  }
1134
1147
  ],
@@ -1257,32 +1270,6 @@
1257
1270
  "stateMutability": "view",
1258
1271
  "type": "function"
1259
1272
  },
1260
- {
1261
- "inputs": [],
1262
- "name": "getBundleService",
1263
- "outputs": [
1264
- {
1265
- "internalType": "contract IBundleService",
1266
- "name": "",
1267
- "type": "address"
1268
- }
1269
- ],
1270
- "stateMutability": "view",
1271
- "type": "function"
1272
- },
1273
- {
1274
- "inputs": [],
1275
- "name": "getComponentOwnerService",
1276
- "outputs": [
1277
- {
1278
- "internalType": "contract IComponentOwnerService",
1279
- "name": "",
1280
- "type": "address"
1281
- }
1282
- ],
1283
- "stateMutability": "view",
1284
- "type": "function"
1285
- },
1286
1273
  {
1287
1274
  "inputs": [
1288
1275
  {
@@ -1302,19 +1289,6 @@
1302
1289
  "stateMutability": "view",
1303
1290
  "type": "function"
1304
1291
  },
1305
- {
1306
- "inputs": [],
1307
- "name": "getDistributionService",
1308
- "outputs": [
1309
- {
1310
- "internalType": "contract IDistributionService",
1311
- "name": "",
1312
- "type": "address"
1313
- }
1314
- ],
1315
- "stateMutability": "view",
1316
- "type": "function"
1317
- },
1318
1292
  {
1319
1293
  "inputs": [],
1320
1294
  "name": "getInitialInfo",
@@ -1358,13 +1332,8 @@
1358
1332
  }
1359
1333
  ],
1360
1334
  "internalType": "struct IRegistry.ObjectInfo",
1361
- "name": "",
1335
+ "name": "info",
1362
1336
  "type": "tuple"
1363
- },
1364
- {
1365
- "internalType": "bytes",
1366
- "name": "data",
1367
- "type": "bytes"
1368
1337
  }
1369
1338
  ],
1370
1339
  "stateMutability": "view",
@@ -1415,6 +1384,19 @@
1415
1384
  "stateMutability": "view",
1416
1385
  "type": "function"
1417
1386
  },
1387
+ {
1388
+ "inputs": [],
1389
+ "name": "getMajorVersion",
1390
+ "outputs": [
1391
+ {
1392
+ "internalType": "VersionPart",
1393
+ "name": "majorVersion",
1394
+ "type": "uint8"
1395
+ }
1396
+ ],
1397
+ "stateMutability": "pure",
1398
+ "type": "function"
1399
+ },
1418
1400
  {
1419
1401
  "inputs": [
1420
1402
  {
@@ -1487,45 +1469,6 @@
1487
1469
  "stateMutability": "view",
1488
1470
  "type": "function"
1489
1471
  },
1490
- {
1491
- "inputs": [],
1492
- "name": "getPolicyService",
1493
- "outputs": [
1494
- {
1495
- "internalType": "contract IPolicyService",
1496
- "name": "",
1497
- "type": "address"
1498
- }
1499
- ],
1500
- "stateMutability": "view",
1501
- "type": "function"
1502
- },
1503
- {
1504
- "inputs": [],
1505
- "name": "getPoolService",
1506
- "outputs": [
1507
- {
1508
- "internalType": "contract IPoolService",
1509
- "name": "",
1510
- "type": "address"
1511
- }
1512
- ],
1513
- "stateMutability": "view",
1514
- "type": "function"
1515
- },
1516
- {
1517
- "inputs": [],
1518
- "name": "getProductService",
1519
- "outputs": [
1520
- {
1521
- "internalType": "contract IProductService",
1522
- "name": "",
1523
- "type": "address"
1524
- }
1525
- ],
1526
- "stateMutability": "view",
1527
- "type": "function"
1528
- },
1529
1472
  {
1530
1473
  "inputs": [],
1531
1474
  "name": "getRegistry",
@@ -1581,9 +1524,59 @@
1581
1524
  "inputs": [
1582
1525
  {
1583
1526
  "internalType": "address",
1584
- "name": "accessManagerAddress",
1527
+ "name": "authority",
1585
1528
  "type": "address"
1586
1529
  },
1530
+ {
1531
+ "internalType": "address",
1532
+ "name": "registryAddress",
1533
+ "type": "address"
1534
+ },
1535
+ {
1536
+ "internalType": "address",
1537
+ "name": "initialOwner",
1538
+ "type": "address"
1539
+ }
1540
+ ],
1541
+ "name": "initialize",
1542
+ "outputs": [],
1543
+ "stateMutability": "nonpayable",
1544
+ "type": "function"
1545
+ },
1546
+ {
1547
+ "inputs": [],
1548
+ "name": "initializeERC165",
1549
+ "outputs": [],
1550
+ "stateMutability": "nonpayable",
1551
+ "type": "function"
1552
+ },
1553
+ {
1554
+ "inputs": [],
1555
+ "name": "initializeLifecycle",
1556
+ "outputs": [],
1557
+ "stateMutability": "nonpayable",
1558
+ "type": "function"
1559
+ },
1560
+ {
1561
+ "inputs": [
1562
+ {
1563
+ "internalType": "address",
1564
+ "name": "initialOwner",
1565
+ "type": "address"
1566
+ },
1567
+ {
1568
+ "internalType": "address",
1569
+ "name": "registryAddress",
1570
+ "type": "address"
1571
+ }
1572
+ ],
1573
+ "name": "initializeNftOwnable",
1574
+ "outputs": [],
1575
+ "stateMutability": "nonpayable",
1576
+ "type": "function"
1577
+ },
1578
+ {
1579
+ "inputs": [
1587
1580
  {
1588
1581
  "internalType": "address",
1589
1582
  "name": "registryAddress",
@@ -1591,16 +1584,44 @@
1591
1584
  },
1592
1585
  {
1593
1586
  "internalType": "NftId",
1594
- "name": "registryNftId",
1587
+ "name": "parentNftId",
1595
1588
  "type": "uint96"
1596
1589
  },
1590
+ {
1591
+ "internalType": "ObjectType",
1592
+ "name": "objectType",
1593
+ "type": "uint8"
1594
+ },
1595
+ {
1596
+ "internalType": "bool",
1597
+ "name": "isInterceptor",
1598
+ "type": "bool"
1599
+ },
1600
+ {
1601
+ "internalType": "address",
1602
+ "name": "initialOwner",
1603
+ "type": "address"
1604
+ },
1605
+ {
1606
+ "internalType": "bytes",
1607
+ "name": "registryData",
1608
+ "type": "bytes"
1609
+ }
1610
+ ],
1611
+ "name": "initializeRegisterable",
1612
+ "outputs": [],
1613
+ "stateMutability": "nonpayable",
1614
+ "type": "function"
1615
+ },
1616
+ {
1617
+ "inputs": [
1597
1618
  {
1598
1619
  "internalType": "address",
1599
- "name": "initialOwner",
1620
+ "name": "registryAddress",
1600
1621
  "type": "address"
1601
1622
  }
1602
1623
  ],
1603
- "name": "initialize",
1624
+ "name": "initializeRegistryLinked",
1604
1625
  "outputs": [],
1605
1626
  "stateMutability": "nonpayable",
1606
1627
  "type": "function"
@@ -1654,6 +1675,60 @@
1654
1675
  "stateMutability": "nonpayable",
1655
1676
  "type": "function"
1656
1677
  },
1678
+ {
1679
+ "inputs": [
1680
+ {
1681
+ "internalType": "address",
1682
+ "name": "to",
1683
+ "type": "address"
1684
+ },
1685
+ {
1686
+ "internalType": "uint256",
1687
+ "name": "tokenId",
1688
+ "type": "uint256"
1689
+ }
1690
+ ],
1691
+ "name": "nftMint",
1692
+ "outputs": [],
1693
+ "stateMutability": "nonpayable",
1694
+ "type": "function"
1695
+ },
1696
+ {
1697
+ "inputs": [
1698
+ {
1699
+ "internalType": "address",
1700
+ "name": "from",
1701
+ "type": "address"
1702
+ },
1703
+ {
1704
+ "internalType": "address",
1705
+ "name": "to",
1706
+ "type": "address"
1707
+ },
1708
+ {
1709
+ "internalType": "uint256",
1710
+ "name": "tokenId",
1711
+ "type": "uint256"
1712
+ }
1713
+ ],
1714
+ "name": "nftTransferFrom",
1715
+ "outputs": [],
1716
+ "stateMutability": "nonpayable",
1717
+ "type": "function"
1718
+ },
1719
+ {
1720
+ "inputs": [
1721
+ {
1722
+ "internalType": "bytes4",
1723
+ "name": "interfaceId",
1724
+ "type": "bytes4"
1725
+ }
1726
+ ],
1727
+ "name": "registerInterface",
1728
+ "outputs": [],
1729
+ "stateMutability": "nonpayable",
1730
+ "type": "function"
1731
+ },
1657
1732
  {
1658
1733
  "inputs": [
1659
1734
  {
@@ -1680,6 +1755,19 @@
1680
1755
  "stateMutability": "nonpayable",
1681
1756
  "type": "function"
1682
1757
  },
1758
+ {
1759
+ "inputs": [
1760
+ {
1761
+ "internalType": "contract InstanceAccessManager",
1762
+ "name": "accessManager",
1763
+ "type": "address"
1764
+ }
1765
+ ],
1766
+ "name": "setInstanceAccessManager",
1767
+ "outputs": [],
1768
+ "stateMutability": "nonpayable",
1769
+ "type": "function"
1770
+ },
1683
1771
  {
1684
1772
  "inputs": [
1685
1773
  {
@@ -1712,25 +1800,6 @@
1712
1800
  "stateMutability": "view",
1713
1801
  "type": "function"
1714
1802
  },
1715
- {
1716
- "inputs": [
1717
- {
1718
- "internalType": "NftId",
1719
- "name": "bundleNftId",
1720
- "type": "uint96"
1721
- }
1722
- ],
1723
- "name": "toBundleKey32",
1724
- "outputs": [
1725
- {
1726
- "internalType": "Key32",
1727
- "name": "",
1728
- "type": "bytes32"
1729
- }
1730
- ],
1731
- "stateMutability": "pure",
1732
- "type": "function"
1733
- },
1734
1803
  {
1735
1804
  "inputs": [
1736
1805
  {
@@ -1759,19 +1828,128 @@
1759
1828
  "inputs": [
1760
1829
  {
1761
1830
  "internalType": "NftId",
1762
- "name": "policyNftId",
1831
+ "name": "applicationNftId",
1763
1832
  "type": "uint96"
1833
+ },
1834
+ {
1835
+ "components": [
1836
+ {
1837
+ "internalType": "NftId",
1838
+ "name": "productNftId",
1839
+ "type": "uint96"
1840
+ },
1841
+ {
1842
+ "internalType": "NftId",
1843
+ "name": "bundleNftId",
1844
+ "type": "uint96"
1845
+ },
1846
+ {
1847
+ "internalType": "ReferralId",
1848
+ "name": "referralId",
1849
+ "type": "bytes8"
1850
+ },
1851
+ {
1852
+ "internalType": "RiskId",
1853
+ "name": "riskId",
1854
+ "type": "bytes8"
1855
+ },
1856
+ {
1857
+ "internalType": "Amount",
1858
+ "name": "sumInsuredAmount",
1859
+ "type": "uint96"
1860
+ },
1861
+ {
1862
+ "internalType": "Amount",
1863
+ "name": "premiumAmount",
1864
+ "type": "uint96"
1865
+ },
1866
+ {
1867
+ "internalType": "Amount",
1868
+ "name": "premiumPaidAmount",
1869
+ "type": "uint96"
1870
+ },
1871
+ {
1872
+ "internalType": "Seconds",
1873
+ "name": "lifetime",
1874
+ "type": "uint40"
1875
+ },
1876
+ {
1877
+ "internalType": "bytes",
1878
+ "name": "applicationData",
1879
+ "type": "bytes"
1880
+ },
1881
+ {
1882
+ "internalType": "bytes",
1883
+ "name": "policyData",
1884
+ "type": "bytes"
1885
+ },
1886
+ {
1887
+ "internalType": "uint16",
1888
+ "name": "claimsCount",
1889
+ "type": "uint16"
1890
+ },
1891
+ {
1892
+ "internalType": "uint16",
1893
+ "name": "openClaimsCount",
1894
+ "type": "uint16"
1895
+ },
1896
+ {
1897
+ "internalType": "Amount",
1898
+ "name": "claimAmount",
1899
+ "type": "uint96"
1900
+ },
1901
+ {
1902
+ "internalType": "Amount",
1903
+ "name": "payoutAmount",
1904
+ "type": "uint96"
1905
+ },
1906
+ {
1907
+ "internalType": "Timestamp",
1908
+ "name": "activatedAt",
1909
+ "type": "uint40"
1910
+ },
1911
+ {
1912
+ "internalType": "Timestamp",
1913
+ "name": "expiredAt",
1914
+ "type": "uint40"
1915
+ },
1916
+ {
1917
+ "internalType": "Timestamp",
1918
+ "name": "closedAt",
1919
+ "type": "uint40"
1920
+ }
1921
+ ],
1922
+ "internalType": "struct IPolicy.PolicyInfo",
1923
+ "name": "policy",
1924
+ "type": "tuple"
1925
+ },
1926
+ {
1927
+ "internalType": "StateId",
1928
+ "name": "newState",
1929
+ "type": "uint8"
1764
1930
  }
1765
1931
  ],
1766
- "name": "toPolicyKey32",
1767
- "outputs": [
1932
+ "name": "updateApplication",
1933
+ "outputs": [],
1934
+ "stateMutability": "nonpayable",
1935
+ "type": "function"
1936
+ },
1937
+ {
1938
+ "inputs": [
1768
1939
  {
1769
- "internalType": "Key32",
1770
- "name": "",
1771
- "type": "bytes32"
1940
+ "internalType": "NftId",
1941
+ "name": "applicationNftId",
1942
+ "type": "uint96"
1943
+ },
1944
+ {
1945
+ "internalType": "StateId",
1946
+ "name": "newState",
1947
+ "type": "uint8"
1772
1948
  }
1773
1949
  ],
1774
- "stateMutability": "pure",
1950
+ "name": "updateApplicationState",
1951
+ "outputs": [],
1952
+ "stateMutability": "nonpayable",
1775
1953
  "type": "function"
1776
1954
  },
1777
1955
  {
@@ -1811,24 +1989,24 @@
1811
1989
  "type": "bytes"
1812
1990
  },
1813
1991
  {
1814
- "internalType": "uint256",
1992
+ "internalType": "Amount",
1815
1993
  "name": "capitalAmount",
1816
- "type": "uint256"
1994
+ "type": "uint96"
1817
1995
  },
1818
1996
  {
1819
- "internalType": "uint256",
1997
+ "internalType": "Amount",
1820
1998
  "name": "lockedAmount",
1821
- "type": "uint256"
1999
+ "type": "uint96"
1822
2000
  },
1823
2001
  {
1824
- "internalType": "uint256",
1825
- "name": "balanceAmount",
1826
- "type": "uint256"
2002
+ "internalType": "Amount",
2003
+ "name": "feeAmount",
2004
+ "type": "uint96"
1827
2005
  },
1828
2006
  {
1829
- "internalType": "uint256",
2007
+ "internalType": "Seconds",
1830
2008
  "name": "lifetime",
1831
- "type": "uint256"
2009
+ "type": "uint40"
1832
2010
  },
1833
2011
  {
1834
2012
  "internalType": "Timestamp",
@@ -1882,71 +2060,31 @@
1882
2060
  "type": "uint96"
1883
2061
  },
1884
2062
  {
1885
- "internalType": "NumberId",
2063
+ "internalType": "ClaimId",
1886
2064
  "name": "claimId",
1887
- "type": "uint32"
2065
+ "type": "uint16"
1888
2066
  },
1889
2067
  {
1890
2068
  "components": [
1891
2069
  {
1892
- "internalType": "uint256",
2070
+ "internalType": "Amount",
1893
2071
  "name": "claimAmount",
1894
- "type": "uint256"
2072
+ "type": "uint96"
1895
2073
  },
1896
2074
  {
1897
- "internalType": "uint256",
2075
+ "internalType": "Amount",
1898
2076
  "name": "paidAmount",
1899
- "type": "uint256"
1900
- },
1901
- {
1902
- "internalType": "bytes",
1903
- "name": "data",
1904
- "type": "bytes"
2077
+ "type": "uint96"
1905
2078
  },
1906
2079
  {
1907
- "internalType": "Timestamp",
1908
- "name": "closedAt",
1909
- "type": "uint40"
1910
- }
1911
- ],
1912
- "internalType": "struct IPolicy.ClaimInfo",
1913
- "name": "claim",
1914
- "type": "tuple"
1915
- },
1916
- {
1917
- "internalType": "StateId",
1918
- "name": "newState",
1919
- "type": "uint8"
1920
- }
1921
- ],
1922
- "name": "updateClaim",
1923
- "outputs": [],
1924
- "stateMutability": "nonpayable",
1925
- "type": "function"
1926
- },
1927
- {
1928
- "inputs": [
1929
- {
1930
- "internalType": "NftId",
1931
- "name": "policyNftId",
1932
- "type": "uint96"
1933
- },
1934
- {
1935
- "internalType": "NumberId",
1936
- "name": "payoutId",
1937
- "type": "uint32"
1938
- },
1939
- {
1940
- "components": [
1941
- {
1942
- "internalType": "NumberId",
1943
- "name": "claimId",
1944
- "type": "uint32"
2080
+ "internalType": "uint8",
2081
+ "name": "payoutsCount",
2082
+ "type": "uint8"
1945
2083
  },
1946
2084
  {
1947
- "internalType": "uint256",
1948
- "name": "amount",
1949
- "type": "uint256"
2085
+ "internalType": "uint8",
2086
+ "name": "openPayoutsCount",
2087
+ "type": "uint8"
1950
2088
  },
1951
2089
  {
1952
2090
  "internalType": "bytes",
@@ -1955,12 +2093,12 @@
1955
2093
  },
1956
2094
  {
1957
2095
  "internalType": "Timestamp",
1958
- "name": "paidAt",
2096
+ "name": "closedAt",
1959
2097
  "type": "uint40"
1960
2098
  }
1961
2099
  ],
1962
- "internalType": "struct IPolicy.PayoutInfo",
1963
- "name": "payout",
2100
+ "internalType": "struct IPolicy.ClaimInfo",
2101
+ "name": "claim",
1964
2102
  "type": "tuple"
1965
2103
  },
1966
2104
  {
@@ -1981,6 +2119,11 @@
1981
2119
  "name": "policyNftId",
1982
2120
  "type": "uint96"
1983
2121
  },
2122
+ {
2123
+ "internalType": "ClaimId",
2124
+ "name": "claimId",
2125
+ "type": "uint16"
2126
+ },
1984
2127
  {
1985
2128
  "internalType": "StateId",
1986
2129
  "name": "newState",
@@ -2025,18 +2168,35 @@
2025
2168
  }
2026
2169
  ],
2027
2170
  "internalType": "struct Fee",
2028
- "name": "distributionFee",
2171
+ "name": "minDistributionOwnerFee",
2029
2172
  "type": "tuple"
2030
2173
  },
2031
2174
  {
2032
- "internalType": "bool",
2033
- "name": "isIntercepting",
2034
- "type": "bool"
2175
+ "components": [
2176
+ {
2177
+ "internalType": "UFixed",
2178
+ "name": "fractionalFee",
2179
+ "type": "uint256"
2180
+ },
2181
+ {
2182
+ "internalType": "uint256",
2183
+ "name": "fixedFee",
2184
+ "type": "uint256"
2185
+ }
2186
+ ],
2187
+ "internalType": "struct Fee",
2188
+ "name": "distributionFee",
2189
+ "type": "tuple"
2035
2190
  },
2036
2191
  {
2037
2192
  "internalType": "address",
2038
2193
  "name": "wallet",
2039
2194
  "type": "address"
2195
+ },
2196
+ {
2197
+ "internalType": "uint256",
2198
+ "name": "sumDistributionOwnerFees",
2199
+ "type": "uint256"
2040
2200
  }
2041
2201
  ],
2042
2202
  "internalType": "struct ISetup.DistributionSetupInfo",
@@ -2076,25 +2236,20 @@
2076
2236
  "inputs": [
2077
2237
  {
2078
2238
  "internalType": "NftId",
2079
- "name": "policyNftId",
2239
+ "name": "distributorNftId",
2080
2240
  "type": "uint96"
2081
2241
  },
2082
- {
2083
- "internalType": "NumberId",
2084
- "name": "payoutId",
2085
- "type": "uint32"
2086
- },
2087
2242
  {
2088
2243
  "components": [
2089
2244
  {
2090
- "internalType": "NumberId",
2091
- "name": "claimId",
2092
- "type": "uint32"
2245
+ "internalType": "DistributorType",
2246
+ "name": "distributorType",
2247
+ "type": "bytes8"
2093
2248
  },
2094
2249
  {
2095
- "internalType": "uint256",
2096
- "name": "amount",
2097
- "type": "uint256"
2250
+ "internalType": "bool",
2251
+ "name": "active",
2252
+ "type": "bool"
2098
2253
  },
2099
2254
  {
2100
2255
  "internalType": "bytes",
@@ -2102,13 +2257,18 @@
2102
2257
  "type": "bytes"
2103
2258
  },
2104
2259
  {
2105
- "internalType": "Timestamp",
2106
- "name": "paidAt",
2107
- "type": "uint40"
2260
+ "internalType": "Amount",
2261
+ "name": "commissionAmount",
2262
+ "type": "uint96"
2263
+ },
2264
+ {
2265
+ "internalType": "uint32",
2266
+ "name": "numPoliciesSold",
2267
+ "type": "uint32"
2108
2268
  }
2109
2269
  ],
2110
- "internalType": "struct IPolicy.PayoutInfo",
2111
- "name": "payout",
2270
+ "internalType": "struct IDistribution.DistributorInfo",
2271
+ "name": "info",
2112
2272
  "type": "tuple"
2113
2273
  },
2114
2274
  {
@@ -2126,7 +2286,7 @@
2126
2286
  "inputs": [
2127
2287
  {
2128
2288
  "internalType": "NftId",
2129
- "name": "policyNftId",
2289
+ "name": "distributorNftId",
2130
2290
  "type": "uint96"
2131
2291
  },
2132
2292
  {
@@ -2140,6 +2300,94 @@
2140
2300
  "stateMutability": "nonpayable",
2141
2301
  "type": "function"
2142
2302
  },
2303
+ {
2304
+ "inputs": [
2305
+ {
2306
+ "internalType": "DistributorType",
2307
+ "name": "distributorType",
2308
+ "type": "bytes8"
2309
+ },
2310
+ {
2311
+ "components": [
2312
+ {
2313
+ "internalType": "string",
2314
+ "name": "name",
2315
+ "type": "string"
2316
+ },
2317
+ {
2318
+ "internalType": "UFixed",
2319
+ "name": "minDiscountPercentage",
2320
+ "type": "uint256"
2321
+ },
2322
+ {
2323
+ "internalType": "UFixed",
2324
+ "name": "maxDiscountPercentage",
2325
+ "type": "uint256"
2326
+ },
2327
+ {
2328
+ "internalType": "UFixed",
2329
+ "name": "commissionPercentage",
2330
+ "type": "uint256"
2331
+ },
2332
+ {
2333
+ "internalType": "uint32",
2334
+ "name": "maxReferralCount",
2335
+ "type": "uint32"
2336
+ },
2337
+ {
2338
+ "internalType": "uint32",
2339
+ "name": "maxReferralLifetime",
2340
+ "type": "uint32"
2341
+ },
2342
+ {
2343
+ "internalType": "bool",
2344
+ "name": "allowSelfReferrals",
2345
+ "type": "bool"
2346
+ },
2347
+ {
2348
+ "internalType": "bool",
2349
+ "name": "allowRenewals",
2350
+ "type": "bool"
2351
+ },
2352
+ {
2353
+ "internalType": "bytes",
2354
+ "name": "data",
2355
+ "type": "bytes"
2356
+ }
2357
+ ],
2358
+ "internalType": "struct IDistribution.DistributorTypeInfo",
2359
+ "name": "info",
2360
+ "type": "tuple"
2361
+ },
2362
+ {
2363
+ "internalType": "StateId",
2364
+ "name": "newState",
2365
+ "type": "uint8"
2366
+ }
2367
+ ],
2368
+ "name": "updateDistributorType",
2369
+ "outputs": [],
2370
+ "stateMutability": "nonpayable",
2371
+ "type": "function"
2372
+ },
2373
+ {
2374
+ "inputs": [
2375
+ {
2376
+ "internalType": "DistributorType",
2377
+ "name": "distributorType",
2378
+ "type": "bytes8"
2379
+ },
2380
+ {
2381
+ "internalType": "StateId",
2382
+ "name": "newState",
2383
+ "type": "uint8"
2384
+ }
2385
+ ],
2386
+ "name": "updateDistributorTypeState",
2387
+ "outputs": [],
2388
+ "stateMutability": "nonpayable",
2389
+ "type": "function"
2390
+ },
2143
2391
  {
2144
2392
  "inputs": [
2145
2393
  {
@@ -2148,21 +2396,21 @@
2148
2396
  "type": "uint96"
2149
2397
  },
2150
2398
  {
2151
- "internalType": "NumberId",
2399
+ "internalType": "PayoutId",
2152
2400
  "name": "payoutId",
2153
- "type": "uint32"
2401
+ "type": "uint24"
2154
2402
  },
2155
2403
  {
2156
2404
  "components": [
2157
2405
  {
2158
- "internalType": "NumberId",
2406
+ "internalType": "ClaimId",
2159
2407
  "name": "claimId",
2160
- "type": "uint32"
2408
+ "type": "uint16"
2161
2409
  },
2162
2410
  {
2163
- "internalType": "uint256",
2411
+ "internalType": "Amount",
2164
2412
  "name": "amount",
2165
- "type": "uint256"
2413
+ "type": "uint96"
2166
2414
  },
2167
2415
  {
2168
2416
  "internalType": "bytes",
@@ -2185,7 +2433,7 @@
2185
2433
  "type": "uint8"
2186
2434
  }
2187
2435
  ],
2188
- "name": "updateDistributorType",
2436
+ "name": "updatePayout",
2189
2437
  "outputs": [],
2190
2438
  "stateMutability": "nonpayable",
2191
2439
  "type": "function"
@@ -2197,13 +2445,18 @@
2197
2445
  "name": "policyNftId",
2198
2446
  "type": "uint96"
2199
2447
  },
2448
+ {
2449
+ "internalType": "PayoutId",
2450
+ "name": "payoutId",
2451
+ "type": "uint24"
2452
+ },
2200
2453
  {
2201
2454
  "internalType": "StateId",
2202
2455
  "name": "newState",
2203
2456
  "type": "uint8"
2204
2457
  }
2205
2458
  ],
2206
- "name": "updateDistributorTypeState",
2459
+ "name": "updatePayoutState",
2207
2460
  "outputs": [],
2208
2461
  "stateMutability": "nonpayable",
2209
2462
  "type": "function"
@@ -2215,13 +2468,105 @@
2215
2468
  "name": "policyNftId",
2216
2469
  "type": "uint96"
2217
2470
  },
2471
+ {
2472
+ "components": [
2473
+ {
2474
+ "internalType": "NftId",
2475
+ "name": "productNftId",
2476
+ "type": "uint96"
2477
+ },
2478
+ {
2479
+ "internalType": "NftId",
2480
+ "name": "bundleNftId",
2481
+ "type": "uint96"
2482
+ },
2483
+ {
2484
+ "internalType": "ReferralId",
2485
+ "name": "referralId",
2486
+ "type": "bytes8"
2487
+ },
2488
+ {
2489
+ "internalType": "RiskId",
2490
+ "name": "riskId",
2491
+ "type": "bytes8"
2492
+ },
2493
+ {
2494
+ "internalType": "Amount",
2495
+ "name": "sumInsuredAmount",
2496
+ "type": "uint96"
2497
+ },
2498
+ {
2499
+ "internalType": "Amount",
2500
+ "name": "premiumAmount",
2501
+ "type": "uint96"
2502
+ },
2503
+ {
2504
+ "internalType": "Amount",
2505
+ "name": "premiumPaidAmount",
2506
+ "type": "uint96"
2507
+ },
2508
+ {
2509
+ "internalType": "Seconds",
2510
+ "name": "lifetime",
2511
+ "type": "uint40"
2512
+ },
2513
+ {
2514
+ "internalType": "bytes",
2515
+ "name": "applicationData",
2516
+ "type": "bytes"
2517
+ },
2518
+ {
2519
+ "internalType": "bytes",
2520
+ "name": "policyData",
2521
+ "type": "bytes"
2522
+ },
2523
+ {
2524
+ "internalType": "uint16",
2525
+ "name": "claimsCount",
2526
+ "type": "uint16"
2527
+ },
2528
+ {
2529
+ "internalType": "uint16",
2530
+ "name": "openClaimsCount",
2531
+ "type": "uint16"
2532
+ },
2533
+ {
2534
+ "internalType": "Amount",
2535
+ "name": "claimAmount",
2536
+ "type": "uint96"
2537
+ },
2538
+ {
2539
+ "internalType": "Amount",
2540
+ "name": "payoutAmount",
2541
+ "type": "uint96"
2542
+ },
2543
+ {
2544
+ "internalType": "Timestamp",
2545
+ "name": "activatedAt",
2546
+ "type": "uint40"
2547
+ },
2548
+ {
2549
+ "internalType": "Timestamp",
2550
+ "name": "expiredAt",
2551
+ "type": "uint40"
2552
+ },
2553
+ {
2554
+ "internalType": "Timestamp",
2555
+ "name": "closedAt",
2556
+ "type": "uint40"
2557
+ }
2558
+ ],
2559
+ "internalType": "struct IPolicy.PolicyInfo",
2560
+ "name": "policy",
2561
+ "type": "tuple"
2562
+ },
2218
2563
  {
2219
2564
  "internalType": "StateId",
2220
2565
  "name": "newState",
2221
2566
  "type": "uint8"
2222
2567
  }
2223
2568
  ],
2224
- "name": "updatePayoutState",
2569
+ "name": "updatePolicy",
2225
2570
  "outputs": [],
2226
2571
  "stateMutability": "nonpayable",
2227
2572
  "type": "function"
@@ -2256,24 +2601,24 @@
2256
2601
  "type": "bytes8"
2257
2602
  },
2258
2603
  {
2259
- "internalType": "uint256",
2604
+ "internalType": "Amount",
2260
2605
  "name": "sumInsuredAmount",
2261
- "type": "uint256"
2606
+ "type": "uint96"
2262
2607
  },
2263
2608
  {
2264
- "internalType": "uint256",
2609
+ "internalType": "Amount",
2265
2610
  "name": "premiumAmount",
2266
- "type": "uint256"
2611
+ "type": "uint96"
2267
2612
  },
2268
2613
  {
2269
- "internalType": "uint256",
2614
+ "internalType": "Amount",
2270
2615
  "name": "premiumPaidAmount",
2271
- "type": "uint256"
2616
+ "type": "uint96"
2272
2617
  },
2273
2618
  {
2274
- "internalType": "uint256",
2619
+ "internalType": "Seconds",
2275
2620
  "name": "lifetime",
2276
- "type": "uint256"
2621
+ "type": "uint40"
2277
2622
  },
2278
2623
  {
2279
2624
  "internalType": "bytes",
@@ -2296,9 +2641,14 @@
2296
2641
  "type": "uint16"
2297
2642
  },
2298
2643
  {
2299
- "internalType": "uint256",
2644
+ "internalType": "Amount",
2645
+ "name": "claimAmount",
2646
+ "type": "uint96"
2647
+ },
2648
+ {
2649
+ "internalType": "Amount",
2300
2650
  "name": "payoutAmount",
2301
- "type": "uint256"
2651
+ "type": "uint96"
2302
2652
  },
2303
2653
  {
2304
2654
  "internalType": "Timestamp",
@@ -2326,7 +2676,7 @@
2326
2676
  "type": "uint8"
2327
2677
  }
2328
2678
  ],
2329
- "name": "updatePolicy",
2679
+ "name": "updatePolicyClaims",
2330
2680
  "outputs": [],
2331
2681
  "stateMutability": "nonpayable",
2332
2682
  "type": "function"
@@ -2358,90 +2708,44 @@
2358
2708
  },
2359
2709
  {
2360
2710
  "components": [
2361
- {
2362
- "internalType": "NftId",
2363
- "name": "productNftId",
2364
- "type": "uint96"
2365
- },
2366
- {
2367
- "internalType": "contract TokenHandler",
2368
- "name": "tokenHandler",
2369
- "type": "address"
2370
- },
2371
- {
2372
- "internalType": "UFixed",
2373
- "name": "collateralizationLevel",
2374
- "type": "uint256"
2711
+ {
2712
+ "internalType": "string",
2713
+ "name": "name",
2714
+ "type": "string"
2375
2715
  },
2376
2716
  {
2377
- "components": [
2378
- {
2379
- "internalType": "UFixed",
2380
- "name": "fractionalFee",
2381
- "type": "uint256"
2382
- },
2383
- {
2384
- "internalType": "uint256",
2385
- "name": "fixedFee",
2386
- "type": "uint256"
2387
- }
2388
- ],
2389
- "internalType": "struct Fee",
2390
- "name": "poolFee",
2391
- "type": "tuple"
2717
+ "internalType": "contract IERC20Metadata",
2718
+ "name": "token",
2719
+ "type": "address"
2392
2720
  },
2393
2721
  {
2394
- "components": [
2395
- {
2396
- "internalType": "UFixed",
2397
- "name": "fractionalFee",
2398
- "type": "uint256"
2399
- },
2400
- {
2401
- "internalType": "uint256",
2402
- "name": "fixedFee",
2403
- "type": "uint256"
2404
- }
2405
- ],
2406
- "internalType": "struct Fee",
2407
- "name": "stakingFee",
2408
- "type": "tuple"
2722
+ "internalType": "contract TokenHandler",
2723
+ "name": "tokenHandler",
2724
+ "type": "address"
2409
2725
  },
2410
2726
  {
2411
- "components": [
2412
- {
2413
- "internalType": "UFixed",
2414
- "name": "fractionalFee",
2415
- "type": "uint256"
2416
- },
2417
- {
2418
- "internalType": "uint256",
2419
- "name": "fixedFee",
2420
- "type": "uint256"
2421
- }
2422
- ],
2423
- "internalType": "struct Fee",
2424
- "name": "performanceFee",
2425
- "type": "tuple"
2727
+ "internalType": "address",
2728
+ "name": "wallet",
2729
+ "type": "address"
2426
2730
  },
2427
2731
  {
2428
- "internalType": "bool",
2429
- "name": "isIntercepting",
2430
- "type": "bool"
2732
+ "internalType": "Amount",
2733
+ "name": "balanceAmount",
2734
+ "type": "uint96"
2431
2735
  },
2432
2736
  {
2433
- "internalType": "bool",
2434
- "name": "isConfirmingApplication",
2435
- "type": "bool"
2737
+ "internalType": "Amount",
2738
+ "name": "feeAmount",
2739
+ "type": "uint96"
2436
2740
  },
2437
2741
  {
2438
- "internalType": "address",
2439
- "name": "wallet",
2440
- "type": "address"
2742
+ "internalType": "bytes",
2743
+ "name": "data",
2744
+ "type": "bytes"
2441
2745
  }
2442
2746
  ],
2443
- "internalType": "struct ISetup.PoolSetupInfo",
2444
- "name": "setup",
2747
+ "internalType": "struct IComponents.ComponentInfo",
2748
+ "name": "info",
2445
2749
  "type": "tuple"
2446
2750
  },
2447
2751
  {
@@ -2502,23 +2806,6 @@
2502
2806
  "name": "poolNftId",
2503
2807
  "type": "uint96"
2504
2808
  },
2505
- {
2506
- "components": [
2507
- {
2508
- "internalType": "UFixed",
2509
- "name": "fractionalFee",
2510
- "type": "uint256"
2511
- },
2512
- {
2513
- "internalType": "uint256",
2514
- "name": "fixedFee",
2515
- "type": "uint256"
2516
- }
2517
- ],
2518
- "internalType": "struct Fee",
2519
- "name": "distributionFee",
2520
- "type": "tuple"
2521
- },
2522
2809
  {
2523
2810
  "components": [
2524
2811
  {
@@ -2553,57 +2840,6 @@
2553
2840
  "name": "processingFee",
2554
2841
  "type": "tuple"
2555
2842
  },
2556
- {
2557
- "components": [
2558
- {
2559
- "internalType": "UFixed",
2560
- "name": "fractionalFee",
2561
- "type": "uint256"
2562
- },
2563
- {
2564
- "internalType": "uint256",
2565
- "name": "fixedFee",
2566
- "type": "uint256"
2567
- }
2568
- ],
2569
- "internalType": "struct Fee",
2570
- "name": "poolFee",
2571
- "type": "tuple"
2572
- },
2573
- {
2574
- "components": [
2575
- {
2576
- "internalType": "UFixed",
2577
- "name": "fractionalFee",
2578
- "type": "uint256"
2579
- },
2580
- {
2581
- "internalType": "uint256",
2582
- "name": "fixedFee",
2583
- "type": "uint256"
2584
- }
2585
- ],
2586
- "internalType": "struct Fee",
2587
- "name": "stakingFee",
2588
- "type": "tuple"
2589
- },
2590
- {
2591
- "components": [
2592
- {
2593
- "internalType": "UFixed",
2594
- "name": "fractionalFee",
2595
- "type": "uint256"
2596
- },
2597
- {
2598
- "internalType": "uint256",
2599
- "name": "fixedFee",
2600
- "type": "uint256"
2601
- }
2602
- ],
2603
- "internalType": "struct Fee",
2604
- "name": "performanceFee",
2605
- "type": "tuple"
2606
- },
2607
2843
  {
2608
2844
  "internalType": "bool",
2609
2845
  "name": "isIntercepting",
@@ -2651,40 +2887,50 @@
2651
2887
  {
2652
2888
  "inputs": [
2653
2889
  {
2654
- "internalType": "NftId",
2655
- "name": "policyNftId",
2656
- "type": "uint96"
2657
- },
2658
- {
2659
- "internalType": "NumberId",
2660
- "name": "payoutId",
2661
- "type": "uint32"
2890
+ "internalType": "ReferralId",
2891
+ "name": "referralId",
2892
+ "type": "bytes8"
2662
2893
  },
2663
2894
  {
2664
2895
  "components": [
2665
2896
  {
2666
- "internalType": "NumberId",
2667
- "name": "claimId",
2668
- "type": "uint32"
2897
+ "internalType": "NftId",
2898
+ "name": "distributorNftId",
2899
+ "type": "uint96"
2669
2900
  },
2670
2901
  {
2671
- "internalType": "uint256",
2672
- "name": "amount",
2902
+ "internalType": "string",
2903
+ "name": "referralCode",
2904
+ "type": "string"
2905
+ },
2906
+ {
2907
+ "internalType": "UFixed",
2908
+ "name": "discountPercentage",
2673
2909
  "type": "uint256"
2674
2910
  },
2675
2911
  {
2676
- "internalType": "bytes",
2677
- "name": "data",
2678
- "type": "bytes"
2912
+ "internalType": "uint32",
2913
+ "name": "maxReferrals",
2914
+ "type": "uint32"
2915
+ },
2916
+ {
2917
+ "internalType": "uint32",
2918
+ "name": "usedReferrals",
2919
+ "type": "uint32"
2679
2920
  },
2680
2921
  {
2681
2922
  "internalType": "Timestamp",
2682
- "name": "paidAt",
2923
+ "name": "expiryAt",
2683
2924
  "type": "uint40"
2925
+ },
2926
+ {
2927
+ "internalType": "bytes",
2928
+ "name": "data",
2929
+ "type": "bytes"
2684
2930
  }
2685
2931
  ],
2686
- "internalType": "struct IPolicy.PayoutInfo",
2687
- "name": "payout",
2932
+ "internalType": "struct IDistribution.ReferralInfo",
2933
+ "name": "referralInfo",
2688
2934
  "type": "tuple"
2689
2935
  },
2690
2936
  {
@@ -2701,9 +2947,9 @@
2701
2947
  {
2702
2948
  "inputs": [
2703
2949
  {
2704
- "internalType": "NftId",
2705
- "name": "policyNftId",
2706
- "type": "uint96"
2950
+ "internalType": "ReferralId",
2951
+ "name": "referralId",
2952
+ "type": "bytes8"
2707
2953
  },
2708
2954
  {
2709
2955
  "internalType": "StateId",
@@ -2770,50 +3016,74 @@
2770
3016
  "type": "function"
2771
3017
  }
2772
3018
  ],
2773
- "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000094565b6200002662000248565b6200003062000381565b6200003a620005e9565b6200007c6301ffc9a760e01b60005260036020527f28b0ef64f7e82d3b26f3fd404bd0151552f792965f39c29ae82c0a78df67af9c805460ff19166001179055565b600580546001600160a01b031916331790556200075f565b60dc600090815260208190527f5bd290414b404036f9d63146803dd83b59a8e1905062a5bfed8b0154d20a390d805460ff191660641790556001908190620000da60dc90565b60ff1660ff1681526020019081526020016000206000620001006200072d60201b60201c565b60ff1660ff1681526020019081526020016000206000620001266200073760201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019081906200015960dc90565b60ff1660ff16815260200190815260200160002060006200017f6200073760201b60201c565b60ff1660ff1681526020019081526020016000206000620001a56200072d60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001908190620001d860dc90565b60ff1660ff1681526020019081526020016000206000620001fe6200073760201b60201c565b60ff1660ff1681526020019081526020016000206000620002246200073c60201b60201c565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f9db7038e59677010ca8f72fa448bad1b4f3c53346b666689163ccac31db467728054606460ff1991821681179092557f1a3062e9a24818c8281fcfb58ec4f3083a2f9a1314ac63f80d8d646661fdc5098054909116600190811790915560009182526020819052907f1bd07f61ef326b4de236f5b68f225f46ff76ee2c375ae31a06da201c49c70c1290620002dc606e90565b60ff1660ff1681526020019081526020016000206000620003026200072d60201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190819062000335606490565b60ff1660ff16815260200190815260200160002060006200035b6200073760201b60201c565b60ff1660ff1681526020019081526020016000206000620002246200074160201b60201c565b60d2600090815260208190527fc0d27dadfcf8ee0186a0f6fe9b5805a51e99869050491e4a3040efec012a214f805460ff1916600a1790556001908190620003c760d290565b60ff1660ff1681526020019081526020016000206000620003ed6200074660201b60201c565b60ff1660ff1681526020019081526020016000206000620004136200074b60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019081906200044660d290565b60ff1660ff16815260200190815260200160002060006200046c6200074660201b60201c565b60ff1660ff1681526020019081526020016000206000620004926200075060201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001908190620004c560d290565b60ff1660ff1681526020019081526020016000206000620004eb6200074660201b60201c565b60ff1660ff1681526020019081526020016000206000620005116200075560201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019081906200054460d290565b60ff1660ff16815260200190815260200160002060006200056a6200075560201b60201c565b60ff1660ff1681526020019081526020016000206000620005906200072d60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001908190620005c360d290565b60ff1660ff1681526020019081526020016000206000620001fe6200072d60201b60201c565b60c8600090815260208190527fc5f2c791ab4e0b1a0b6c600884b07e98575b00ebd7c3166c4272a53bebf71403805460ff1916606417905560019081906200062f60c890565b60ff1660ff1681526020019081526020016000206000620006556200072d60201b60201c565b60ff1660ff16815260200190815260200160002060006200067b6200073760201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001908190620006ae60c890565b60ff1660ff1681526020019081526020016000206000620006d46200073760201b60201c565b60ff1660ff1681526020019081526020016000206000620006fa6200072d60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019081906200033560c890565b606490565b905090565b606e90565b60c890565b60d290565b600a90565b601490565b601e90565b6000602862000732565b6147fd806200076f6000396000f3fe608060405234801561001057600080fd5b506004361061041d5760003560e01c80637cef48421161022b578063bd5947e311610130578063e5f6cd27116100b8578063f48016ce11610087578063f48016ce1461099f578063f7bc431c146109b2578063f8b648ac1461059d578063fe1f18d6146109c5578063fed3d63f146109d857600080fd5b8063e5f6cd271461093d578063e7cd37d41461094e578063e8951ee614610527578063e9e96c701461096157600080fd5b8063ca600b1c116100ff578063ca600b1c14610907578063d2f21a291461090f578063d5b221bd14610542578063dee3262314610922578063e1033e7d1461093557600080fd5b8063bd5947e3146108d9578063bf1db3f9146108ec578063bf7e214f146108ff578063c2f1a2d21461054257600080fd5b80639d7421f4116101b3578063a76ee01811610182578063a76ee0181461088d578063a8989675146108a0578063a9cea142146108b3578063b68ec1461461059d578063bc8d4000146108c657600080fd5b80639d7421f4146107b65780639df0280b14610527578063a13df2ab146107c9578063a5961b4c146107dc57600080fd5b80638eaa6ac0116101fa5780638eaa6ac01461073c5780638fb360371461075c57806391ff6eaa1461077d578063976b0a77146107905780639a960d52146107a357600080fd5b80637cef48421461072157806382f65adb1461059d578063893d20e8146107345780638dc77f421461052757600080fd5b806340529b0f1161033157806360aa32aa116102b95780636fa29853116102885780636fa29853146106eb57806375b238fc146106f357806375c82776146106fb5780637a415802146105425780637a9e5e4b1461070e57600080fd5b806360aa32aa1461069457806361f5f420146106a7578063644c45e0146106b85780636b9bf08b146106e357600080fd5b806354f6127f1161030057806354f6127f146106475780635ab1bd53146106675780635d4345cc146105275780635dfa73db146106785780636071a68e1461068157600080fd5b806340529b0f14610527578063422c9d00146106195780634288121d1461062c578063468a18671461063457600080fd5b8063138461e0116103b457806333bb0a971161038357806333bb0a971461059d57806337f135d7146105b057806338a699a4146105cd5780633ca7c02a146105e05780633fc5ab981461060657600080fd5b8063138461e01461053a5780631c45fe7a146105425780631eff4b22146105555780632f61088a1461058a57600080fd5b80630d358181116103f05780630d358181146104d85780630f526f7d146104fe5780630fec111c1461051157806310203d2c1461052757600080fd5b806301ffc9a71461042257806302cd30711461046457806309648a9d146104895780630b24cf5f146104c3575b600080fd5b61044f610430366004613009565b6001600160e01b03191660009081526003602052604090205460ff1690565b60405190151581526020015b60405180910390f35b6007546001600160a01b03165b6040516001600160a01b03909116815260200161045b565b6104b1610497366004613033565b600090815260026020526040902054610100900460ff1690565b60405160ff909116815260200161045b565b6104d66104d136600461323d565b6109e0565b005b6104b16104e6366004613282565b60ff9081166000908152602081905260409020541690565b6104d661050c36600461329f565b610a24565b610519610a41565b60405161045b929190613328565b6104d661053536600461329f565b610bc3565b6104d6610bd8565b6104d66105503660046134f7565b610e02565b61057c7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161045b565b6104d66105983660046135e6565b610e43565b6104d66105ab366004613635565b610ede565b6105b8600081565b60405163ffffffff909116815260200161045b565b61044f6105db366004613033565b610f09565b6105ee6001600160401b0381565b6040516001600160401b03909116815260200161045b565b6104d661061436600461374d565b610f9a565b6104d66106273660046137b0565b610fc0565b61047161111f565b61057c6106423660046137cd565b6111a5565b61065a610655366004613033565b61123e565b60405161045b91906137ea565b6004546001600160a01b0316610471565b6105ee61271081565b6104d661068f3660046137fd565b6112e3565b6104d66106a23660046138f8565b611309565b6008546001600160a01b0316610471565b600454600160a01b90046001600160601b03166040516001600160601b03909116815260200161045b565b610471611331565b61047161134c565b6105ee600081565b6104d661070936600461397c565b611367565b6104d661071c3660046137b0565b61138d565b6104d661072f3660046139d4565b611410565b61047161149a565b61074f61074a366004613033565b61157b565b60405161045b9190613a3c565b6107646116bc565b6040516001600160e01b0319909116815260200161045b565b6104d661078b366004613b68565b6116f5565b6104d661079e366004613b96565b61171d565b6104d66107b1366004613d34565b611902565b6104d66107c4366004613d7b565b611928565b61057c6107d73660046137cd565b61194e565b6108806107ea366004613033565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260026020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b60405161045b9190613dd2565b6104d661089b366004613de0565b61197b565b6104d66108ae366004613e27565b611a16565b6104d66108c1366004613e67565b611b07565b6104d66108d4366004613ea8565b611b2f565b6104d66108e7366004613eed565b611b55565b61044f6108fa366004613282565b611b7d565b610471611bca565b610471611be6565b6104d661091d36600461329f565b611c01565b6104d661093036600461329f565b611c18565b610471611c2f565b6006546001600160a01b0316610471565b6104d661095c366004613f2d565b611c4a565b61044f61096f366004613e27565b60ff9283166000908152600160209081526040808320948616835293815283822092851682529190915220541690565b61057c6109ad366004613f6b565b611c72565b6104d66109c03660046137b0565b611cfd565b6104d66109d336600461329f565b611dc5565b610471611dda565b6109ed335b600036611df5565b610a206109fb836078611efb565b82604051602001610a0c9190613f99565b604051602081830303815290604052611f47565b5050565b610a2d336109e5565b610a20610a3b83608c611efb565b82611f51565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610ac46004546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610b0c61149a565b6001600160a01b03168152602001826001018054610b2990613ff9565b80601f0160208091040260200160405190810160405280929190818152602001828054610b5590613ff9565b8015610ba25780601f10610b7757610100808354040283529160200191610ba2565b820191906000526020600020905b815481529060010190602001808311610b8557829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b610bcc336109e5565b610a20610a3b836111a5565b600480546040516330b8415f60e01b8152600160a01b9091046001600160601b03169181019190915273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610c3d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c619190614033565b15610caa57600480546040516316322c0f60e31b81526001600160a01b03821692810192909252600160a01b90046001600160601b031660248201526044015b60405180910390fd5b6004546001600160a01b0316610cd35760405163cf29926160e01b815260040160405180910390fd5b6004805460405163c3c5a54760e01b8152309281018390526001600160a01b039091169063c3c5a54790602401602060405180830381865afa158015610d1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d419190614033565b610d69576040516372657a5160e01b81526001600160a01b0382166004820152602401610ca1565b60048054604051636939560f60e11b81526001600160a01b038481169382019390935291169063d272ac1e90602401602060405180830381865afa158015610db5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dd99190614050565b600460146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b610e0b336109e5565b610e3d610e17856111a5565b83604051602001610e28919061406d565b60405160208183030381529060405283611f5b565b50505050565b610e4c336109e5565b6040516355ee627560e01b81526001600160c01b031983166004820152610a209073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610ea9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ecd91906140c0565b82604051602001610a0c91906140d9565b610ee7336109e5565b610f04610ef3846111a5565b82604051602001610a0c919061406d565b505050565b60008181526002602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af4158015610f70573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f949190614033565b92915050565b610fa3336109e5565b610f04610faf8461194e565b83604051602001610e289190614107565b610fc9336109e5565b6008546001600160a01b0316156110195760405162461bcd60e51b8152602060048201526014602482015273109d5b991b1953585b9859d95c881a5cc81cd95d60621b6044820152606401610ca1565b6110a2816001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa15801561105a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061107e9190614050565b600454600160a01b90046001600160601b03166001600160601b0390811691161490565b6110fd5760405162461bcd60e51b815260206004820152602660248201527f4e4654204944206f662042756e646c654d616e6167657220646f6573206e6f74604482015265040dac2e8c6d60d31b6064820152608401610ca1565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6004546000906001600160a01b031663d39e6043606e5b6040516001600160e01b031960e084901b16815260ff9091166004820152600360248201526044015b602060405180830381865afa15801561117c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111a091906141bb565b905090565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d25b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af415801561121a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f9491906140c0565b600081815260026020526040902060010180546060919061125e90613ff9565b80601f016020809104026020016040519081016040528092919081815260200182805461128a90613ff9565b80156112d75780601f106112ac576101008083540402835291602001916112d7565b820191906000526020600020905b8154815290600101906020018083116112ba57829003601f168201915b50505050509050919050565b6112ec336109e5565b610a206112f88361194e565b82604051602001610a0c9190614107565b611312336109e5565b610f0461132084608c611efb565b83604051602001610e2891906141d8565b6004546000906001600160a01b031663d39e6043608c611136565b6004546000906001600160a01b031663d39e60436064611136565b611370336109e5565b610e3d61137c856111a5565b83604051602001610e289190614298565b33611396611bca565b6001600160a01b0316816001600160a01b0316146113d15760405162d1953b60e31b81526001600160a01b0382166004820152602401610ca1565b816001600160a01b03163b600003611407576040516361798f2f60e11b81526001600160a01b0383166004820152602401610ca1565b610a2082611f66565b611419336109e5565b6040516355ee627560e01b81526001600160c01b031983166004820152610a209073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611476573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a3b91906140c0565b600480546040516330b8415f60e01b8152600160a01b9091046001600160601b03169181019190915260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611502573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115269190614033565b1561156b5760048054604051631c5da14d60e11b8152600160a01b82046001600160601b0316928101929092526001600160a01b0316906338bb429a9060240161115f565b506005546001600160a01b031690565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260026020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c0820152928352600181018054919284019161163390613ff9565b80601f016020809104026020016040519081016040528092919081815260200182805461165f90613ff9565b80156116ac5780601f10611681576101008083540402835291602001916116ac565b820191906000526020600020905b81548152906001019060200180831161168f57829003601f168201915b5050505050815250509050919050565b6000805160206147a8833981519152805460009190600160a01b900460ff166116e65760006116ef565b638fb3603760e01b5b91505090565b6116fe336109e5565b610a2061170c83606e611efb565b82604051602001610a0c91906142c8565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03166000811580156117625750825b90506000826001600160401b0316600114801561177e5750303b155b90508115801561178c575080155b156117aa5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156117d457845460ff60401b1916600160401b1785555b600554600160a01b900460ff16156118455760405162461bcd60e51b815260206004820152602e60248201527f436f6e747261637420696e7374616e63652068617320616c726561647920626560448201526d195b881a5b9a5d1a585b1a5e995960921b6064820152608401610ca1565b61184e89611fc7565b600680546001600160a01b0319166001600160a01b038b1617905561188e8888611876604690565b60008a60405180602001604052806000815250611fdb565b61189e6318da1e1f60e11b6120b0565b6005805460ff60a01b1916600160a01b17905583156118f757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050505050565b61190b336109e5565b610f04611917846111a5565b83604051602001610e2891906143f2565b611931336109e5565b610f0461193d846111a5565b82604051602001610a0c9190614298565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc6111ce565b611984336109e5565b6040516355ee627560e01b81526001600160c01b031984166004820152610f049073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af41580156119e1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a0591906140c0565b83604051602001610e2891906140d9565b60ff8381166000908152602081905260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015611a7b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a9f9190614033565b15611aa957505050565b60ff808416600090815260016020908152604080832086851684528252808320858516845290915290205416610f0457604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610ca1565b611b10336109e5565b610f04611b1e84606e611efb565b83604051602001610e2891906142c8565b611b38336109e5565b610a20611b44836111a5565b82604051602001610a0c91906143f2565b611b5e336109e5565b610f04611b6c846078611efb565b83604051602001610e289190613f99565b60ff81811660009081526020819052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401610f53565b6000805160206147a8833981519152546001600160a01b031690565b6004546000906001600160a01b031663d39e60436078611136565b611c0a336109e5565b610a20610a3b836078611efb565b611c21336109e5565b610a20610a3b83606e611efb565b6004546000906001600160a01b031663d39e604360d2611136565b611c53336109e5565b610a20611c6183608c611efb565b82604051602001610a0c91906141d8565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af4158015611cd2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cf691906140c0565b9392505050565b611d06336109e5565b611d47816001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa15801561105a573d6000803e3d6000fd5b611da35760405162461bcd60e51b815260206004820152602760248201527f4e4654204944206f6620496e7374616e636552656164657220646f6573206e6f6044820152660e840dac2e8c6d60cb1b6064820152608401610ca1565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b611dce336109e5565b610a20610a3b8361194e565b6004546000906001600160a01b031663d39e604360dc611136565b6000805160206147a8833981519152600080611e30611e12611bca565b8730611e22600460008a8c614533565b611e2b9161455d565b6120d5565b9150915081611ef35763ffffffff811615611ed057825460ff60a01b1916600160a01b178355611e5e611bca565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611e8d9392919061458d565b600060405180830381600087803b158015611ea757600080fd5b505af1158015611ebb573d6000803e3d6000fd5b5050845460ff60a01b1916855550611ef39050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610ca1565b505050505050565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c890604401611cb5565b610a2082826121e1565b610a208282612603565b610f04838383612937565b6000805160206147a883398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611fcf612dd2565b611fd881612e1d565b50565b61201c6301ffc9a760e01b60005260036020527f28b0ef64f7e82d3b26f3fd404bd0151552f792965f39c29ae82c0a78df67af9c805460ff19166001179055565b6120268287612e2e565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016120968382614613565b506120a76303fb044760e21b6120b0565b50505050505050565b6001600160e01b0319166000908152600360205260409020805460ff19166001179055565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161214491906146d2565b600060405180830381855afa9150503d806000811461217f576040519150601f19603f3d011682016040523d82523d6000602084013e612184565b606091505b509150915081156121d65760408151106121b657808060200190518101906121ac91906146ee565b90945092506121d6565b60208151106121d657808060200190518101906121d39190614033565b93505b505094509492505050565b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612234573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612258919061471d565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af41580156122ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122d19190614033565b61231d5760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401610ca1565b600083815260026020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015612386573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123aa9190614033565b6123f65760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401610ca1565b3343600061240385611b7d565b61240e576064612424565b60ff808616600090815260208190526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b9190910217855560008881526002602052604090209091506001016124ae8782614613565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612521573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612545919061471d565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612595573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125b9919061473a565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a0015b60405180910390a150505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015612655573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126799190614033565b6126c55760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3034303a53544154455f554e444546494e45440000006044820152606401610ca1565b600082815260026020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015612731573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127559190614033565b6127a15760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3034313a4e4f545f4558495354494e470000000000006044820152606401610ca1565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b909104166127e54390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612877573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061289b919061471d565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156128eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061290f919061473a565b87868632876040516129279796959493929190614757565b60405180910390a1505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015612989573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129ad9190614033565b6129f95760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3032303a53544154455f554e444546494e45440000006044820152606401610ca1565b600083815260026020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015612a65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a899190614033565b612ad55760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3032313a4e4f545f4558495354494e470000000000006044820152606401610ca1565b6000858152600260205260409020600101612af08582614613565b508154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b90910416612b354390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612bc7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612beb919061471d565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612c3b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c5f919061473a565b8786863287604051612c779796959493929190614757565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612cf1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d15919061471d565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612d65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d89919061473a565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c0016125f2565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16612e1b57604051631afcd79f60e31b815260040160405180910390fd5b565b612e25612dd2565b611fd881611f66565b6001600160a01b038216612e845760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e6572206973203000006044820152606401610ca1565b600580546001600160a01b0319166001600160a01b038416179055610a20816004546001600160a01b031615612edf576004805460405163fcdbf2d960e01b81526001600160a01b0390911691810191909152602401610ca1565b6001600160a01b038116612f065760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003612f3c5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610ca1565b600480546001600160a01b0319166001600160a01b03831690811782556040516301ffc9a760e01b815263102da10360e01b92810192909252906301ffc9a790602401602060405180830381865afa925050508015612fb8575060408051601f3d908101601f19168201909252612fb591810190614033565b60015b612fe05760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610ca1565b80610a205760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610ca1565b60006020828403121561301b57600080fd5b81356001600160e01b031981168114611cf657600080fd5b60006020828403121561304557600080fd5b5035919050565b6001600160601b0381168114611fd857600080fd5b803561306c8161304c565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b03811182821017156130a9576130a9613071565b60405290565b604051608081016001600160401b03811182821017156130a9576130a9613071565b60405161012081016001600160401b03811182821017156130a9576130a9613071565b60405161018081016001600160401b03811182821017156130a9576130a9613071565b60405161020081016001600160401b03811182821017156130a9576130a9613071565b6001600160a01b0381168114611fd857600080fd5b803561306c8161313a565b60006040828403121561316c57600080fd5b613174613087565b9050813581526020820135602082015292915050565b8015158114611fd857600080fd5b803561306c8161318a565b600060c082840312156131b557600080fd5b60405160a081018181106001600160401b03821117156131d7576131d7613071565b60405290508082356131e88161304c565b815260208301356131f88161313a565b602082015261320a846040850161315a565b6040820152608083013561321d8161318a565b606082015260a08301356132308161313a565b6080919091015292915050565b60008060e0838503121561325057600080fd5b823561325b8161304c565b915061326a84602085016131a3565b90509250929050565b60ff81168114611fd857600080fd5b60006020828403121561329457600080fd5b8135611cf681613273565b600080604083850312156132b257600080fd5b82356132bd8161304c565b915060208301356132cd81613273565b809150509250929050565b60005b838110156132f35781810151838201526020016132db565b50506000910152565b600081518084526133148160208601602086016132d8565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161336c60a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e06101008401526133b26101208401826132fc565b905082810360208401526133c681856132fc565b95945050505050565b63ffffffff81168114611fd857600080fd5b600082601f8301126133f257600080fd5b81356001600160401b038082111561340c5761340c613071565b604051601f8301601f19908116603f0116810190828211818310171561343457613434613071565b8160405283815286602085880101111561344d57600080fd5b836020870160208301376000602085830101528094505050505092915050565b803564ffffffffff8116811461306c57600080fd5b60006080828403121561349457600080fd5b61349c6130af565b905081356134a9816133cf565b81526020828101359082015260408201356001600160401b038111156134ce57600080fd5b6134da848285016133e1565b6040830152506134ec6060830161346d565b606082015292915050565b6000806000806080858703121561350d57600080fd5b84356135188161304c565b93506020850135613528816133cf565b925060408501356001600160401b0381111561354357600080fd5b61354f87828801613482565b925050606085013561356081613273565b939692955090935050565b6001600160c01b031981168114611fd857600080fd5b803561306c8161356b565b60006040828403121561359e57600080fd5b6135a6613087565b905081356135b38161304c565b815260208201356001600160401b038111156135ce57600080fd5b6135da848285016133e1565b60208301525092915050565b600080604083850312156135f957600080fd5b82356136048161356b565b915060208301356001600160401b0381111561361f57600080fd5b61362b8582860161358c565b9150509250929050565b60008060006060848603121561364a57600080fd5b83356136558161304c565b92506020840135613665816133cf565b915060408401356001600160401b0381111561368057600080fd5b61368c86828701613482565b9150509250925092565b600061014082840312156136a957600080fd5b6136b16130d1565b90506136bc82613061565b81526136cb836020840161315a565b602082015260608201356001600160401b038111156136e957600080fd5b6136f5848285016133e1565b6040830152506080820135606082015260a0820135608082015260c082013560a082015260e082013560c082015261010061373181840161346d565b60e0830152613743610120840161346d565b9082015292915050565b60008060006060848603121561376257600080fd5b833561376d8161304c565b925060208401356001600160401b0381111561378857600080fd5b61379486828701613696565b92505060408401356137a581613273565b809150509250925092565b6000602082840312156137c257600080fd5b8135611cf68161313a565b6000602082840312156137df57600080fd5b8135611cf68161304c565b602081526000611cf660208301846132fc565b6000806040838503121561381057600080fd5b823561381b8161304c565b915060208301356001600160401b0381111561383657600080fd5b61362b85828601613696565b6000610180828403121561385557600080fd5b61385d6130d1565b905061386882613061565b81526138766020830161314f565b602082015260408201356040820152613892836060840161315a565b60608201526138a48360a0840161315a565b60808201526138b68360e0840161315a565b60a08201526138c86101208301613198565b60c08201526138da6101408301613198565b60e08201526138ec610160830161314f565b61010082015292915050565b60008060006101c0848603121561390e57600080fd5b83356139198161304c565b92506139288560208601613842565b91506101a08401356137a581613273565b60006080828403121561394b57600080fd5b6139536130af565b9050813581526020820135602082015260408201356001600160401b038111156134ce57600080fd5b6000806000806080858703121561399257600080fd5b843561399d8161304c565b935060208501356139ad816133cf565b925060408501356001600160401b038111156139c857600080fd5b61354f87828801613939565b600080604083850312156139e757600080fd5b82356132bd8161356b565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b60208152613a4e6020820183516139f2565b6000602083015160c080840152613a6860e08401826132fc565b949350505050565b60006102408284031215613a8357600080fd5b613a8b6130f4565b9050613a968261314f565b8152613aa46020830161314f565b6020820152613ab560408301613061565b6040820152613ac660608301613061565b6060820152613ad8836080840161315a565b6080820152613aea8360c0840161315a565b60a0820152610100613afe8482850161315a565b60c0830152610140613b128582860161315a565b60e0840152613b2585610180860161315a565b82840152613b37856101c0860161315a565b610120840152613b4a6102008501613198565b9083015250613b5c610220830161314f565b61016082015292915050565b6000806102608385031215613b7c57600080fd5b8235613b878161304c565b915061326a8460208501613a70565b60008060008060808587031215613bac57600080fd5b8435613bb78161313a565b93506020850135613bc78161313a565b92506040850135613bd78161304c565b915060608501356135608161313a565b803561ffff8116811461306c57600080fd5b60006102008284031215613c0c57600080fd5b613c14613117565b9050613c1f82613061565b8152613c2d60208301613061565b6020820152613c3e60408301613581565b6040820152613c4f60608301613581565b60608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e0820152610100808301356001600160401b0380821115613c9857600080fd5b613ca4868387016133e1565b83850152610120925082850135915080821115613cc057600080fd5b50613ccd858286016133e1565b828401525050610140613ce1818401613be7565b90820152610160613cf3838201613be7565b9082015261018082810135908201526101a0613d1081840161346d565b908201526101c0613d2283820161346d565b908201526101e061374383820161346d565b600080600060608486031215613d4957600080fd5b8335613d548161304c565b925060208401356001600160401b03811115613d6f57600080fd5b61379486828701613bf9565b600080600060608486031215613d9057600080fd5b8335613d9b8161304c565b92506020840135613dab816133cf565b915060408401356001600160401b03811115613dc657600080fd5b61368c86828701613939565b60a08101610f9482846139f2565b600080600060608486031215613df557600080fd5b8335613e008161356b565b925060208401356001600160401b03811115613e1b57600080fd5b6137948682870161358c565b600080600060608486031215613e3c57600080fd5b8335613e4781613273565b92506020840135613e5781613273565b915060408401356137a581613273565b60008060006102808486031215613e7d57600080fd5b8335613e888161304c565b9250613e978560208601613a70565b91506102608401356137a581613273565b60008060408385031215613ebb57600080fd5b8235613ec68161304c565b915060208301356001600160401b03811115613ee157600080fd5b61362b85828601613bf9565b60008060006101008486031215613f0357600080fd5b8335613f0e8161304c565b9250613f1d85602086016131a3565b915060e08401356137a581613273565b6000806101a08385031215613f4157600080fd5b8235613f4c8161304c565b915061326a8460208501613842565b60ff1981168114611fd857600080fd5b60008060408385031215613f7e57600080fd5b8235613f8981613273565b915060208301356132cd81613f5b565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015260c0830191906060850151151560808501528060808601511660a0850152505092915050565b600181811c9082168061400d57607f821691505b60208210810361402d57634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561404557600080fd5b8151611cf68161318a565b60006020828403121561406257600080fd5b8151611cf68161304c565b6020815263ffffffff82511660208201526020820151604082015260006040830151608060608401526140a360a08401826132fc565b905064ffffffffff60608501511660808401528091505092915050565b6000602082840312156140d257600080fd5b5051919050565b602081526001600160601b03825116602082015260006020830151604080840152613a6860608401826132fc565b602081526141216020820183516001600160601b03169052565b6000602083015161413f604084018280518252602090810151910152565b50604083015161014080608085015261415c6101608501836132fc565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100818187015260e087015191506141a461012087018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b6000602082840312156141cd57600080fd5b8151611cf68161313a565b81516001600160601b03168152602080830151610180830191614205908401826001600160a01b03169052565b5060408301516040830152606083015161422c606084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c08301518015156101208401525060e0830151801515610140840152506101008301516001600160a01b0381166101608401525b5092915050565b60208152815160208201526020820151604082015260006040830151608060608401526140a360a08401826132fc565b81516001600160a01b03168152610240810160208301516142f460208401826001600160a01b03169052565b50604083015161430f60408401826001600160601b03169052565b50606083015161432a60608401826001600160601b03169052565b506080830151614347608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c083015161010061437d8185018380518252602090810151910152565b60e0850151915061014061439d8186018480518252602090810151910152565b9085015180516101808601526020908101516101a086015261012086015180516101c087015201516101e08501528401511515610200840152506101608301516001600160a01b038116610220840152614291565b6020815261440c6020820183516001600160601b03169052565b6000602083015161442860408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e083015161010081818501528085015191505061020061012081818601526144a06102208601846132fc565b9250808601519050610140601f1986850301818701526144c084836132fc565b9350808701519150506101606144db8187018361ffff169052565b86015190506101806144f28682018361ffff169052565b8601516101a08681019190915286015190506101c06145198187018364ffffffffff169052565b86015190506101e06141a48682018364ffffffffff169052565b6000808585111561454357600080fd5b8386111561455057600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156145855780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b601f821115610f0457600081815260208120601f850160051c810160208610156145f45750805b601f850160051c820191505b81811015611ef357828155600101614600565b81516001600160401b0381111561462c5761462c613071565b6146408161463a8454613ff9565b846145cd565b602080601f831160018114614675576000841561465d5750858301515b600019600386901b1c1916600185901b178555611ef3565b600085815260208120601f198616915b828110156146a457888601518255948401946001909101908401614685565b50858210156146c25787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082516146e48184602087016132d8565b9190910192915050565b6000806040838503121561470157600080fd5b825161470c8161318a565b60208401519092506132cd816133cf565b60006020828403121561472f57600080fd5b8151611cf681613273565b60006020828403121561474c57600080fd5b8151611cf681613f5b565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e0019056fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a264697066735822122083e5b7971426dfd7f3c1585b7a0b6d0020d64fe71444a49e1fbdfc235297435264736f6c63430008140033",
2774
- "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061041d5760003560e01c80637cef48421161022b578063bd5947e311610130578063e5f6cd27116100b8578063f48016ce11610087578063f48016ce1461099f578063f7bc431c146109b2578063f8b648ac1461059d578063fe1f18d6146109c5578063fed3d63f146109d857600080fd5b8063e5f6cd271461093d578063e7cd37d41461094e578063e8951ee614610527578063e9e96c701461096157600080fd5b8063ca600b1c116100ff578063ca600b1c14610907578063d2f21a291461090f578063d5b221bd14610542578063dee3262314610922578063e1033e7d1461093557600080fd5b8063bd5947e3146108d9578063bf1db3f9146108ec578063bf7e214f146108ff578063c2f1a2d21461054257600080fd5b80639d7421f4116101b3578063a76ee01811610182578063a76ee0181461088d578063a8989675146108a0578063a9cea142146108b3578063b68ec1461461059d578063bc8d4000146108c657600080fd5b80639d7421f4146107b65780639df0280b14610527578063a13df2ab146107c9578063a5961b4c146107dc57600080fd5b80638eaa6ac0116101fa5780638eaa6ac01461073c5780638fb360371461075c57806391ff6eaa1461077d578063976b0a77146107905780639a960d52146107a357600080fd5b80637cef48421461072157806382f65adb1461059d578063893d20e8146107345780638dc77f421461052757600080fd5b806340529b0f1161033157806360aa32aa116102b95780636fa29853116102885780636fa29853146106eb57806375b238fc146106f357806375c82776146106fb5780637a415802146105425780637a9e5e4b1461070e57600080fd5b806360aa32aa1461069457806361f5f420146106a7578063644c45e0146106b85780636b9bf08b146106e357600080fd5b806354f6127f1161030057806354f6127f146106475780635ab1bd53146106675780635d4345cc146105275780635dfa73db146106785780636071a68e1461068157600080fd5b806340529b0f14610527578063422c9d00146106195780634288121d1461062c578063468a18671461063457600080fd5b8063138461e0116103b457806333bb0a971161038357806333bb0a971461059d57806337f135d7146105b057806338a699a4146105cd5780633ca7c02a146105e05780633fc5ab981461060657600080fd5b8063138461e01461053a5780631c45fe7a146105425780631eff4b22146105555780632f61088a1461058a57600080fd5b80630d358181116103f05780630d358181146104d85780630f526f7d146104fe5780630fec111c1461051157806310203d2c1461052757600080fd5b806301ffc9a71461042257806302cd30711461046457806309648a9d146104895780630b24cf5f146104c3575b600080fd5b61044f610430366004613009565b6001600160e01b03191660009081526003602052604090205460ff1690565b60405190151581526020015b60405180910390f35b6007546001600160a01b03165b6040516001600160a01b03909116815260200161045b565b6104b1610497366004613033565b600090815260026020526040902054610100900460ff1690565b60405160ff909116815260200161045b565b6104d66104d136600461323d565b6109e0565b005b6104b16104e6366004613282565b60ff9081166000908152602081905260409020541690565b6104d661050c36600461329f565b610a24565b610519610a41565b60405161045b929190613328565b6104d661053536600461329f565b610bc3565b6104d6610bd8565b6104d66105503660046134f7565b610e02565b61057c7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161045b565b6104d66105983660046135e6565b610e43565b6104d66105ab366004613635565b610ede565b6105b8600081565b60405163ffffffff909116815260200161045b565b61044f6105db366004613033565b610f09565b6105ee6001600160401b0381565b6040516001600160401b03909116815260200161045b565b6104d661061436600461374d565b610f9a565b6104d66106273660046137b0565b610fc0565b61047161111f565b61057c6106423660046137cd565b6111a5565b61065a610655366004613033565b61123e565b60405161045b91906137ea565b6004546001600160a01b0316610471565b6105ee61271081565b6104d661068f3660046137fd565b6112e3565b6104d66106a23660046138f8565b611309565b6008546001600160a01b0316610471565b600454600160a01b90046001600160601b03166040516001600160601b03909116815260200161045b565b610471611331565b61047161134c565b6105ee600081565b6104d661070936600461397c565b611367565b6104d661071c3660046137b0565b61138d565b6104d661072f3660046139d4565b611410565b61047161149a565b61074f61074a366004613033565b61157b565b60405161045b9190613a3c565b6107646116bc565b6040516001600160e01b0319909116815260200161045b565b6104d661078b366004613b68565b6116f5565b6104d661079e366004613b96565b61171d565b6104d66107b1366004613d34565b611902565b6104d66107c4366004613d7b565b611928565b61057c6107d73660046137cd565b61194e565b6108806107ea366004613033565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260026020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b60405161045b9190613dd2565b6104d661089b366004613de0565b61197b565b6104d66108ae366004613e27565b611a16565b6104d66108c1366004613e67565b611b07565b6104d66108d4366004613ea8565b611b2f565b6104d66108e7366004613eed565b611b55565b61044f6108fa366004613282565b611b7d565b610471611bca565b610471611be6565b6104d661091d36600461329f565b611c01565b6104d661093036600461329f565b611c18565b610471611c2f565b6006546001600160a01b0316610471565b6104d661095c366004613f2d565b611c4a565b61044f61096f366004613e27565b60ff9283166000908152600160209081526040808320948616835293815283822092851682529190915220541690565b61057c6109ad366004613f6b565b611c72565b6104d66109c03660046137b0565b611cfd565b6104d66109d336600461329f565b611dc5565b610471611dda565b6109ed335b600036611df5565b610a206109fb836078611efb565b82604051602001610a0c9190613f99565b604051602081830303815290604052611f47565b5050565b610a2d336109e5565b610a20610a3b83608c611efb565b82611f51565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610ac46004546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610b0c61149a565b6001600160a01b03168152602001826001018054610b2990613ff9565b80601f0160208091040260200160405190810160405280929190818152602001828054610b5590613ff9565b8015610ba25780601f10610b7757610100808354040283529160200191610ba2565b820191906000526020600020905b815481529060010190602001808311610b8557829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b610bcc336109e5565b610a20610a3b836111a5565b600480546040516330b8415f60e01b8152600160a01b9091046001600160601b03169181019190915273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610c3d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c619190614033565b15610caa57600480546040516316322c0f60e31b81526001600160a01b03821692810192909252600160a01b90046001600160601b031660248201526044015b60405180910390fd5b6004546001600160a01b0316610cd35760405163cf29926160e01b815260040160405180910390fd5b6004805460405163c3c5a54760e01b8152309281018390526001600160a01b039091169063c3c5a54790602401602060405180830381865afa158015610d1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d419190614033565b610d69576040516372657a5160e01b81526001600160a01b0382166004820152602401610ca1565b60048054604051636939560f60e11b81526001600160a01b038481169382019390935291169063d272ac1e90602401602060405180830381865afa158015610db5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dd99190614050565b600460146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b610e0b336109e5565b610e3d610e17856111a5565b83604051602001610e28919061406d565b60405160208183030381529060405283611f5b565b50505050565b610e4c336109e5565b6040516355ee627560e01b81526001600160c01b031983166004820152610a209073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610ea9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ecd91906140c0565b82604051602001610a0c91906140d9565b610ee7336109e5565b610f04610ef3846111a5565b82604051602001610a0c919061406d565b505050565b60008181526002602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af4158015610f70573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f949190614033565b92915050565b610fa3336109e5565b610f04610faf8461194e565b83604051602001610e289190614107565b610fc9336109e5565b6008546001600160a01b0316156110195760405162461bcd60e51b8152602060048201526014602482015273109d5b991b1953585b9859d95c881a5cc81cd95d60621b6044820152606401610ca1565b6110a2816001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa15801561105a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061107e9190614050565b600454600160a01b90046001600160601b03166001600160601b0390811691161490565b6110fd5760405162461bcd60e51b815260206004820152602660248201527f4e4654204944206f662042756e646c654d616e6167657220646f6573206e6f74604482015265040dac2e8c6d60d31b6064820152608401610ca1565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6004546000906001600160a01b031663d39e6043606e5b6040516001600160e01b031960e084901b16815260ff9091166004820152600360248201526044015b602060405180830381865afa15801561117c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111a091906141bb565b905090565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d25b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af415801561121a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f9491906140c0565b600081815260026020526040902060010180546060919061125e90613ff9565b80601f016020809104026020016040519081016040528092919081815260200182805461128a90613ff9565b80156112d75780601f106112ac576101008083540402835291602001916112d7565b820191906000526020600020905b8154815290600101906020018083116112ba57829003601f168201915b50505050509050919050565b6112ec336109e5565b610a206112f88361194e565b82604051602001610a0c9190614107565b611312336109e5565b610f0461132084608c611efb565b83604051602001610e2891906141d8565b6004546000906001600160a01b031663d39e6043608c611136565b6004546000906001600160a01b031663d39e60436064611136565b611370336109e5565b610e3d61137c856111a5565b83604051602001610e289190614298565b33611396611bca565b6001600160a01b0316816001600160a01b0316146113d15760405162d1953b60e31b81526001600160a01b0382166004820152602401610ca1565b816001600160a01b03163b600003611407576040516361798f2f60e11b81526001600160a01b0383166004820152602401610ca1565b610a2082611f66565b611419336109e5565b6040516355ee627560e01b81526001600160c01b031983166004820152610a209073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611476573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a3b91906140c0565b600480546040516330b8415f60e01b8152600160a01b9091046001600160601b03169181019190915260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611502573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115269190614033565b1561156b5760048054604051631c5da14d60e11b8152600160a01b82046001600160601b0316928101929092526001600160a01b0316906338bb429a9060240161115f565b506005546001600160a01b031690565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260026020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c0820152928352600181018054919284019161163390613ff9565b80601f016020809104026020016040519081016040528092919081815260200182805461165f90613ff9565b80156116ac5780601f10611681576101008083540402835291602001916116ac565b820191906000526020600020905b81548152906001019060200180831161168f57829003601f168201915b5050505050815250509050919050565b6000805160206147a8833981519152805460009190600160a01b900460ff166116e65760006116ef565b638fb3603760e01b5b91505090565b6116fe336109e5565b610a2061170c83606e611efb565b82604051602001610a0c91906142c8565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03166000811580156117625750825b90506000826001600160401b0316600114801561177e5750303b155b90508115801561178c575080155b156117aa5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156117d457845460ff60401b1916600160401b1785555b600554600160a01b900460ff16156118455760405162461bcd60e51b815260206004820152602e60248201527f436f6e747261637420696e7374616e63652068617320616c726561647920626560448201526d195b881a5b9a5d1a585b1a5e995960921b6064820152608401610ca1565b61184e89611fc7565b600680546001600160a01b0319166001600160a01b038b1617905561188e8888611876604690565b60008a60405180602001604052806000815250611fdb565b61189e6318da1e1f60e11b6120b0565b6005805460ff60a01b1916600160a01b17905583156118f757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050505050565b61190b336109e5565b610f04611917846111a5565b83604051602001610e2891906143f2565b611931336109e5565b610f0461193d846111a5565b82604051602001610a0c9190614298565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc6111ce565b611984336109e5565b6040516355ee627560e01b81526001600160c01b031984166004820152610f049073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af41580156119e1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a0591906140c0565b83604051602001610e2891906140d9565b60ff8381166000908152602081905260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015611a7b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a9f9190614033565b15611aa957505050565b60ff808416600090815260016020908152604080832086851684528252808320858516845290915290205416610f0457604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610ca1565b611b10336109e5565b610f04611b1e84606e611efb565b83604051602001610e2891906142c8565b611b38336109e5565b610a20611b44836111a5565b82604051602001610a0c91906143f2565b611b5e336109e5565b610f04611b6c846078611efb565b83604051602001610e289190613f99565b60ff81811660009081526020819052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401610f53565b6000805160206147a8833981519152546001600160a01b031690565b6004546000906001600160a01b031663d39e60436078611136565b611c0a336109e5565b610a20610a3b836078611efb565b611c21336109e5565b610a20610a3b83606e611efb565b6004546000906001600160a01b031663d39e604360d2611136565b611c53336109e5565b610a20611c6183608c611efb565b82604051602001610a0c91906141d8565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af4158015611cd2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cf691906140c0565b9392505050565b611d06336109e5565b611d47816001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa15801561105a573d6000803e3d6000fd5b611da35760405162461bcd60e51b815260206004820152602760248201527f4e4654204944206f6620496e7374616e636552656164657220646f6573206e6f6044820152660e840dac2e8c6d60cb1b6064820152608401610ca1565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b611dce336109e5565b610a20610a3b8361194e565b6004546000906001600160a01b031663d39e604360dc611136565b6000805160206147a8833981519152600080611e30611e12611bca565b8730611e22600460008a8c614533565b611e2b9161455d565b6120d5565b9150915081611ef35763ffffffff811615611ed057825460ff60a01b1916600160a01b178355611e5e611bca565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611e8d9392919061458d565b600060405180830381600087803b158015611ea757600080fd5b505af1158015611ebb573d6000803e3d6000fd5b5050845460ff60a01b1916855550611ef39050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610ca1565b505050505050565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c890604401611cb5565b610a2082826121e1565b610a208282612603565b610f04838383612937565b6000805160206147a883398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611fcf612dd2565b611fd881612e1d565b50565b61201c6301ffc9a760e01b60005260036020527f28b0ef64f7e82d3b26f3fd404bd0151552f792965f39c29ae82c0a78df67af9c805460ff19166001179055565b6120268287612e2e565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016120968382614613565b506120a76303fb044760e21b6120b0565b50505050505050565b6001600160e01b0319166000908152600360205260409020805460ff19166001179055565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161214491906146d2565b600060405180830381855afa9150503d806000811461217f576040519150601f19603f3d011682016040523d82523d6000602084013e612184565b606091505b509150915081156121d65760408151106121b657808060200190518101906121ac91906146ee565b90945092506121d6565b60208151106121d657808060200190518101906121d39190614033565b93505b505094509492505050565b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612234573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612258919061471d565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af41580156122ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122d19190614033565b61231d5760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401610ca1565b600083815260026020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015612386573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123aa9190614033565b6123f65760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401610ca1565b3343600061240385611b7d565b61240e576064612424565b60ff808616600090815260208190526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b9190910217855560008881526002602052604090209091506001016124ae8782614613565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612521573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612545919061471d565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612595573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125b9919061473a565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a0015b60405180910390a150505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015612655573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126799190614033565b6126c55760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3034303a53544154455f554e444546494e45440000006044820152606401610ca1565b600082815260026020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015612731573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127559190614033565b6127a15760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3034313a4e4f545f4558495354494e470000000000006044820152606401610ca1565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b909104166127e54390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612877573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061289b919061471d565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156128eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061290f919061473a565b87868632876040516129279796959493929190614757565b60405180910390a1505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015612989573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129ad9190614033565b6129f95760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3032303a53544154455f554e444546494e45440000006044820152606401610ca1565b600083815260026020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015612a65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a899190614033565b612ad55760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3032313a4e4f545f4558495354494e470000000000006044820152606401610ca1565b6000858152600260205260409020600101612af08582614613565b508154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b90910416612b354390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612bc7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612beb919061471d565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612c3b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c5f919061473a565b8786863287604051612c779796959493929190614757565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612cf1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d15919061471d565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612d65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d89919061473a565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c0016125f2565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16612e1b57604051631afcd79f60e31b815260040160405180910390fd5b565b612e25612dd2565b611fd881611f66565b6001600160a01b038216612e845760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e6572206973203000006044820152606401610ca1565b600580546001600160a01b0319166001600160a01b038416179055610a20816004546001600160a01b031615612edf576004805460405163fcdbf2d960e01b81526001600160a01b0390911691810191909152602401610ca1565b6001600160a01b038116612f065760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003612f3c5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610ca1565b600480546001600160a01b0319166001600160a01b03831690811782556040516301ffc9a760e01b815263102da10360e01b92810192909252906301ffc9a790602401602060405180830381865afa925050508015612fb8575060408051601f3d908101601f19168201909252612fb591810190614033565b60015b612fe05760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610ca1565b80610a205760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610ca1565b60006020828403121561301b57600080fd5b81356001600160e01b031981168114611cf657600080fd5b60006020828403121561304557600080fd5b5035919050565b6001600160601b0381168114611fd857600080fd5b803561306c8161304c565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b03811182821017156130a9576130a9613071565b60405290565b604051608081016001600160401b03811182821017156130a9576130a9613071565b60405161012081016001600160401b03811182821017156130a9576130a9613071565b60405161018081016001600160401b03811182821017156130a9576130a9613071565b60405161020081016001600160401b03811182821017156130a9576130a9613071565b6001600160a01b0381168114611fd857600080fd5b803561306c8161313a565b60006040828403121561316c57600080fd5b613174613087565b9050813581526020820135602082015292915050565b8015158114611fd857600080fd5b803561306c8161318a565b600060c082840312156131b557600080fd5b60405160a081018181106001600160401b03821117156131d7576131d7613071565b60405290508082356131e88161304c565b815260208301356131f88161313a565b602082015261320a846040850161315a565b6040820152608083013561321d8161318a565b606082015260a08301356132308161313a565b6080919091015292915050565b60008060e0838503121561325057600080fd5b823561325b8161304c565b915061326a84602085016131a3565b90509250929050565b60ff81168114611fd857600080fd5b60006020828403121561329457600080fd5b8135611cf681613273565b600080604083850312156132b257600080fd5b82356132bd8161304c565b915060208301356132cd81613273565b809150509250929050565b60005b838110156132f35781810151838201526020016132db565b50506000910152565b600081518084526133148160208601602086016132d8565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161336c60a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e06101008401526133b26101208401826132fc565b905082810360208401526133c681856132fc565b95945050505050565b63ffffffff81168114611fd857600080fd5b600082601f8301126133f257600080fd5b81356001600160401b038082111561340c5761340c613071565b604051601f8301601f19908116603f0116810190828211818310171561343457613434613071565b8160405283815286602085880101111561344d57600080fd5b836020870160208301376000602085830101528094505050505092915050565b803564ffffffffff8116811461306c57600080fd5b60006080828403121561349457600080fd5b61349c6130af565b905081356134a9816133cf565b81526020828101359082015260408201356001600160401b038111156134ce57600080fd5b6134da848285016133e1565b6040830152506134ec6060830161346d565b606082015292915050565b6000806000806080858703121561350d57600080fd5b84356135188161304c565b93506020850135613528816133cf565b925060408501356001600160401b0381111561354357600080fd5b61354f87828801613482565b925050606085013561356081613273565b939692955090935050565b6001600160c01b031981168114611fd857600080fd5b803561306c8161356b565b60006040828403121561359e57600080fd5b6135a6613087565b905081356135b38161304c565b815260208201356001600160401b038111156135ce57600080fd5b6135da848285016133e1565b60208301525092915050565b600080604083850312156135f957600080fd5b82356136048161356b565b915060208301356001600160401b0381111561361f57600080fd5b61362b8582860161358c565b9150509250929050565b60008060006060848603121561364a57600080fd5b83356136558161304c565b92506020840135613665816133cf565b915060408401356001600160401b0381111561368057600080fd5b61368c86828701613482565b9150509250925092565b600061014082840312156136a957600080fd5b6136b16130d1565b90506136bc82613061565b81526136cb836020840161315a565b602082015260608201356001600160401b038111156136e957600080fd5b6136f5848285016133e1565b6040830152506080820135606082015260a0820135608082015260c082013560a082015260e082013560c082015261010061373181840161346d565b60e0830152613743610120840161346d565b9082015292915050565b60008060006060848603121561376257600080fd5b833561376d8161304c565b925060208401356001600160401b0381111561378857600080fd5b61379486828701613696565b92505060408401356137a581613273565b809150509250925092565b6000602082840312156137c257600080fd5b8135611cf68161313a565b6000602082840312156137df57600080fd5b8135611cf68161304c565b602081526000611cf660208301846132fc565b6000806040838503121561381057600080fd5b823561381b8161304c565b915060208301356001600160401b0381111561383657600080fd5b61362b85828601613696565b6000610180828403121561385557600080fd5b61385d6130d1565b905061386882613061565b81526138766020830161314f565b602082015260408201356040820152613892836060840161315a565b60608201526138a48360a0840161315a565b60808201526138b68360e0840161315a565b60a08201526138c86101208301613198565b60c08201526138da6101408301613198565b60e08201526138ec610160830161314f565b61010082015292915050565b60008060006101c0848603121561390e57600080fd5b83356139198161304c565b92506139288560208601613842565b91506101a08401356137a581613273565b60006080828403121561394b57600080fd5b6139536130af565b9050813581526020820135602082015260408201356001600160401b038111156134ce57600080fd5b6000806000806080858703121561399257600080fd5b843561399d8161304c565b935060208501356139ad816133cf565b925060408501356001600160401b038111156139c857600080fd5b61354f87828801613939565b600080604083850312156139e757600080fd5b82356132bd8161356b565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b60208152613a4e6020820183516139f2565b6000602083015160c080840152613a6860e08401826132fc565b949350505050565b60006102408284031215613a8357600080fd5b613a8b6130f4565b9050613a968261314f565b8152613aa46020830161314f565b6020820152613ab560408301613061565b6040820152613ac660608301613061565b6060820152613ad8836080840161315a565b6080820152613aea8360c0840161315a565b60a0820152610100613afe8482850161315a565b60c0830152610140613b128582860161315a565b60e0840152613b2585610180860161315a565b82840152613b37856101c0860161315a565b610120840152613b4a6102008501613198565b9083015250613b5c610220830161314f565b61016082015292915050565b6000806102608385031215613b7c57600080fd5b8235613b878161304c565b915061326a8460208501613a70565b60008060008060808587031215613bac57600080fd5b8435613bb78161313a565b93506020850135613bc78161313a565b92506040850135613bd78161304c565b915060608501356135608161313a565b803561ffff8116811461306c57600080fd5b60006102008284031215613c0c57600080fd5b613c14613117565b9050613c1f82613061565b8152613c2d60208301613061565b6020820152613c3e60408301613581565b6040820152613c4f60608301613581565b60608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e0820152610100808301356001600160401b0380821115613c9857600080fd5b613ca4868387016133e1565b83850152610120925082850135915080821115613cc057600080fd5b50613ccd858286016133e1565b828401525050610140613ce1818401613be7565b90820152610160613cf3838201613be7565b9082015261018082810135908201526101a0613d1081840161346d565b908201526101c0613d2283820161346d565b908201526101e061374383820161346d565b600080600060608486031215613d4957600080fd5b8335613d548161304c565b925060208401356001600160401b03811115613d6f57600080fd5b61379486828701613bf9565b600080600060608486031215613d9057600080fd5b8335613d9b8161304c565b92506020840135613dab816133cf565b915060408401356001600160401b03811115613dc657600080fd5b61368c86828701613939565b60a08101610f9482846139f2565b600080600060608486031215613df557600080fd5b8335613e008161356b565b925060208401356001600160401b03811115613e1b57600080fd5b6137948682870161358c565b600080600060608486031215613e3c57600080fd5b8335613e4781613273565b92506020840135613e5781613273565b915060408401356137a581613273565b60008060006102808486031215613e7d57600080fd5b8335613e888161304c565b9250613e978560208601613a70565b91506102608401356137a581613273565b60008060408385031215613ebb57600080fd5b8235613ec68161304c565b915060208301356001600160401b03811115613ee157600080fd5b61362b85828601613bf9565b60008060006101008486031215613f0357600080fd5b8335613f0e8161304c565b9250613f1d85602086016131a3565b915060e08401356137a581613273565b6000806101a08385031215613f4157600080fd5b8235613f4c8161304c565b915061326a8460208501613842565b60ff1981168114611fd857600080fd5b60008060408385031215613f7e57600080fd5b8235613f8981613273565b915060208301356132cd81613f5b565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015260c0830191906060850151151560808501528060808601511660a0850152505092915050565b600181811c9082168061400d57607f821691505b60208210810361402d57634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561404557600080fd5b8151611cf68161318a565b60006020828403121561406257600080fd5b8151611cf68161304c565b6020815263ffffffff82511660208201526020820151604082015260006040830151608060608401526140a360a08401826132fc565b905064ffffffffff60608501511660808401528091505092915050565b6000602082840312156140d257600080fd5b5051919050565b602081526001600160601b03825116602082015260006020830151604080840152613a6860608401826132fc565b602081526141216020820183516001600160601b03169052565b6000602083015161413f604084018280518252602090810151910152565b50604083015161014080608085015261415c6101608501836132fc565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100818187015260e087015191506141a461012087018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b6000602082840312156141cd57600080fd5b8151611cf68161313a565b81516001600160601b03168152602080830151610180830191614205908401826001600160a01b03169052565b5060408301516040830152606083015161422c606084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c08301518015156101208401525060e0830151801515610140840152506101008301516001600160a01b0381166101608401525b5092915050565b60208152815160208201526020820151604082015260006040830151608060608401526140a360a08401826132fc565b81516001600160a01b03168152610240810160208301516142f460208401826001600160a01b03169052565b50604083015161430f60408401826001600160601b03169052565b50606083015161432a60608401826001600160601b03169052565b506080830151614347608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c083015161010061437d8185018380518252602090810151910152565b60e0850151915061014061439d8186018480518252602090810151910152565b9085015180516101808601526020908101516101a086015261012086015180516101c087015201516101e08501528401511515610200840152506101608301516001600160a01b038116610220840152614291565b6020815261440c6020820183516001600160601b03169052565b6000602083015161442860408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e083015161010081818501528085015191505061020061012081818601526144a06102208601846132fc565b9250808601519050610140601f1986850301818701526144c084836132fc565b9350808701519150506101606144db8187018361ffff169052565b86015190506101806144f28682018361ffff169052565b8601516101a08681019190915286015190506101c06145198187018364ffffffffff169052565b86015190506101e06141a48682018364ffffffffff169052565b6000808585111561454357600080fd5b8386111561455057600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156145855780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b601f821115610f0457600081815260208120601f850160051c810160208610156145f45750805b601f850160051c820191505b81811015611ef357828155600101614600565b81516001600160401b0381111561462c5761462c613071565b6146408161463a8454613ff9565b846145cd565b602080601f831160018114614675576000841561465d5750858301515b600019600386901b1c1916600185901b178555611ef3565b600085815260208120601f198616915b828110156146a457888601518255948401946001909101908401614685565b50858210156146c25787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082516146e48184602087016132d8565b9190910192915050565b6000806040838503121561470157600080fd5b825161470c8161318a565b60208401519092506132cd816133cf565b60006020828403121561472f57600080fd5b8151611cf681613273565b60006020828403121561474c57600080fd5b8151611cf681613f5b565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e0019056fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a264697066735822122083e5b7971426dfd7f3c1585b7a0b6d0020d64fe71444a49e1fbdfc235297435264736f6c63430008140033",
3019
+ "bytecode": "0x608060405234801561001057600080fd5b50615f4980620000216000396000f3fe608060405234801561001057600080fd5b506004361061046a5760003560e01c80637a9e5e4b1161024c578063b6d7cd6211610146578063e5f6cd27116100c3578063f7b442d111610087578063f7b442d114610b04578063f7bc431c14610b17578063f7c34ee014610b2a578063fbc1a3a014610b3d578063fe1f18d614610b5057600080fd5b8063e5f6cd2714610a8a578063e7f7fb8614610aa0578063e9e96c7014610ab3578063f48016ce14610af1578063f5884fc51461088457600080fd5b8063ca0e7f081161010a578063ca0e7f0814610a36578063cde749f414610a49578063d2f21a2914610a51578063d5c9d77d14610a64578063dee3262314610a7757600080fd5b8063b6d7cd62146109e2578063bb1e0e59146109f5578063bf1db3f914610a08578063bf7e214f14610a1b578063c0c53b8b14610a2357600080fd5b80639e90178c116101d4578063a5961b4c11610198578063a5961b4c146108e3578063a76ee01814610994578063a8989675146109a7578063ada9652e146109ba578063af902500146109cf57600080fd5b80639e90178c14610897578063a1ef60e9146108aa578063a1fc100414610884578063a2842229146108bd578063a4eeee59146108d057600080fd5b8063893d20e81161021b578063893d20e8146108285780638eaa6ac0146108305780638fb360371461085057806397affbf514610871578063985aeba71461088457600080fd5b80637a9e5e4b146107dc5780637cca1124146107ef5780637cef48421461080257806381c2b2821461081557600080fd5b806330a130ba1161036857806359852426116102e557806361105e0e116102a957806361105e0e1461077557806361f5f42014610788578063644c45e014610799578063675393bf146107c157806375b238fc146107d457600080fd5b806359852426146107355780635a8416b0146107485780635ab1bd531461075b5780635d4345cc146105845780635dfa73db1461076c57600080fd5b80633ca7c02a1161032c5780633ca7c02a146106c157806340529b0f146106e7578063422c9d00146106fa578063468bce061461070d57806354f6127f1461071557600080fd5b806330a130ba1461066357806336fc697e1461067657806337f135d71461067e5780633870a7701461069b57806338a699a4146106ae57600080fd5b80630fec111c116103f65780632781d443116103ba5780632781d4431461060f57806327bb7a331461061757806329e63f621461062a5780632a8ea7ac1461063d5780632f61088a1461065057600080fd5b80630fec111c14610597578063138461e0146105ac5780631e40b363146105b45780631eff4b22146105c7578063214cdb80146105fc57600080fd5b80630d3581811161043d5780630d358181146105255780630f526f7d1461054b5780630f6c29ef1461055e5780630f749a89146105715780630fad0eb11461058457600080fd5b806301ffc9a71461046f57806302cd3071146104b157806309648a9d146104d65780630cbc6b8914610510575b600080fd5b61049c61047d366004613f09565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6006546001600160a01b03165b6040516001600160a01b0390911681526020016104a8565b6104fe6104e4366004613f33565b600090815260046020526040902054610100900460ff1690565b60405160ff90911681526020016104a8565b61052361051e36600461417d565b610b63565b005b6104fe6105333660046141c9565b60ff9081166000908152600260205260409020541690565b6105236105593660046141e6565b610ba9565b61052361056c36600461439a565b610bca565b61052361057f36600461440c565b610bf7565b6105236105923660046141e6565b610d1d565b61059f610d34565b6040516104a89190614479565b610523610e87565b6105236105c23660046145f8565b611089565b6105ee7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016104a8565b61052361060a366004613f09565b6110b1565b6105ee600381565b610523610625366004614650565b6110de565b61052361063836600461478e565b611183565b61052361064b366004614960565b6111aa565b61052361065e366004614a09565b6111e6565b610523610671366004614b21565b611286565b610523611326565b610686600081565b60405163ffffffff90911681526020016104a8565b6105236106a9366004614b66565b61136c565b61049c6106bc366004613f33565b611382565b6106cf6001600160401b0381565b6040516001600160401b0390911681526020016104a8565b6105236106f53660046141e6565b611417565b61052361070836600461440c565b61142e565b6105236115d5565b610728610723366004613f33565b611607565b6040516104a89190614ba4565b610523610743366004614c80565b6116ac565b610523610756366004614cc7565b6116d4565b6001546001600160a01b03166104be565b6106cf61271081565b610523610783366004614dca565b611774565b6007546001600160a01b03166104be565b600080516020615ed4833981519152546040516001600160601b0390911681526020016104a8565b6105236107cf36600461440c565b611814565b6106cf600081565b6105236107ea36600461440c565b611920565b6105236107fd366004614e11565b6119a3565b610523610810366004614e56565b6119cb565b610523610823366004614e74565b611a5a565b6104be611a81565b61084361083e366004613f33565b611bb8565b6040516104a89190614f1d565b610858611cf9565b6040516001600160e01b031990911681526020016104a8565b61052361087f366004614f49565b611d31565b610523610892366004614f8e565b611d59565b6105236108a536600461505a565b611d81565b6105236108b8366004615091565b611da9565b6105236108cb366004614e56565b611dd0565b6105236108de366004615179565b611e1e565b6109876108f1366004613f33565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260046020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b6040516104a891906151c0565b6105236109a23660046151ce565b611e46565b6105236109b5366004615215565b611ee6565b6105ee600080516020615ed483398151915281565b6105236109dd366004614e56565b611fd7565b6105236109f0366004615245565b612025565b610523610a03366004615275565b61203b565b61049c610a163660046141c9565b612200565b6104be61224d565b610523610a313660046152a1565b612269565b610523610a443660046152e1565b61243d565b6104fe6124dd565b610523610a5f3660046141e6565b612559565b610523610a72366004615326565b612570565b610523610a853660046141e6565b612598565b60055461010090046001600160a01b03166104be565b610523610aae36600461536b565b6125af565b61049c610ac1366004615215565b60ff9283166000908152600360209081526040808320948616835293815283822092851682529190915220541690565b6105ee610aff3660046153bc565b612789565b610523610b123660046153ea565b612814565b610523610b2536600461440c565b61283c565b610523610b3836600461542b565b6128fc565b610523610b4b366004615459565b612973565b610523610b5e3660046141e6565b61299b565b610b70335b6000366129b2565b610ba4610b7e84606e612ab8565b83604051602001610b8f9190615487565b60405160208183030381529060405283612b04565b505050565b610bb233610b68565b610bc6610bc083608c612ab8565b82612fb5565b5050565b610bd333610b68565b610bf1610be085856132f9565b83604051602001610b8f9190615536565b50505050565b610c0033610b68565b60055461010090046001600160a01b031615610c475760055460405163e02ca03360e01b81526101009091046001600160a01b031660048201526024015b60405180910390fd5b610c4f61224d565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cba9190615590565b6001600160a01b031614610cf557610cd061224d565b6040516374150f9560e11b81526001600160a01b039091166004820152602401610c3e565b600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b610d2633610b68565b610bc6610bc08360d3612ab8565b6040805160e0808201835260008083526020830181905282840181905260608084018290526080840182905260a0840182905260c0840152835191820190935290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300919081906001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610de3611a81565b6001600160a01b03168152602001826001018054610e00906155ad565b80601f0160208091040260200160405190810160405280929190818152602001828054610e2c906155ad565b8015610e795780601f10610e4e57610100808354040283529160200191610e79565b820191906000526020600020905b815481529060010190602001808311610e5c57829003601f168201915b505050505081525091505090565b6000600080516020615ed483398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610ef6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1a91906155e7565b15610f465780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610c3e565b30610f596001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610fa1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc591906155e7565b610fed5760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610c3e565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015611041573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110659190615604565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b61109233610b68565b610ba46110a084607a612ab8565b83604051602001610b8f9190615621565b6110b9613347565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6110e6613347565b6110f082876128fc565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30161117983826156d4565b5050505050505050565b61118c33610b68565b610bf16111998585613390565b83604051602001610b8f9190615793565b6111b333610b68565b610bc66111c18360d3612ab8565b826040516020016111d29190615807565b6040516020818303038152906040526133dd565b6111ef33610b68565b6040516355ee627560e01b8152610bc69073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590611234906001600160c01b03198716906004016159b8565b602060405180830381865af4158015611251573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061127591906159cd565b826040516020016111d291906159e6565b61128f33610b68565b6040516355ee627560e01b8152610bc69073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee6275906112d4906001600160c01b03198716906004016159b8565b602060405180830381865af41580156112f1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061131591906159cd565b826040516020016111d29190615a14565b61132e613347565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61137533610b68565b610ba4610bc084846132f9565b600081815260046020819052604080832054905163b2466acf60e01b815261010090910460ff169181019190915273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af41580156113ed573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061141191906155e7565b92915050565b61142033610b68565b610bc6610bc083607a612ab8565b61143733610b68565b6007546001600160a01b0316156114705760075460405163384c2dbd60e11b81526001600160a01b039091166004820152602401610c3e565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114dc9190615590565b6001600160a01b0316146115055760405163decb98c560e01b8152306004820152602401610c3e565b61150d61224d565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611554573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115789190615590565b6001600160a01b0316146115b35761158e61224d565b604051630312205960e41b81526001600160a01b039091166004820152602401610c3e565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6115dd613347565b6115e56137f6565b6115ed613919565b6115f5613a0c565b6115fd613b1a565b611605613c46565b565b6000818152600460205260409020600101805460609190611627906155ad565b80601f0160208091040260200160405190810160405280929190818152602001828054611653906155ad565b80156116a05780601f10611675576101008083540402835291602001916116a0565b820191906000526020600020905b81548152906001019060200180831161168357829003601f168201915b50505050509050919050565b6116b533610b68565b610ba46116c38460dc612ab8565b83604051602001610b8f9190615ac4565b6116dd33610b68565b6040516355ee627560e01b8152610ba49073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590611722906001600160c01b03198816906004016159b8565b602060405180830381865af415801561173f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061176391906159cd565b83604051602001610b8f9190615a14565b61177d33610b68565b6040516355ee627560e01b8152610ba49073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee6275906117c2906001600160c01b03198816906004016159b8565b602060405180830381865af41580156117df573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061180391906159cd565b83604051602001610b8f9190615b94565b61181c613347565b806001600160a01b03163b6000036118525760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610c3e565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa9250505080156118cc575060408051601f3d908101601f191682019092526118c9918101906155e7565b60015b6118f45760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610c3e565b80610bc65760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610c3e565b50565b3361192961224d565b6001600160a01b0316816001600160a01b0316146119645760405162d1953b60e31b81526001600160a01b0382166004820152602401610c3e565b816001600160a01b03163b60000361199a576040516361798f2f60e11b81526001600160a01b0383166004820152602401610c3e565b610bc682613d02565b6119ac33610b68565b610bc66119ba83607a612ab8565b826040516020016111d29190615621565b6119d433610b68565b6040516355ee627560e01b8152610bc69073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590611a19906001600160c01b03198716906004016159b8565b602060405180830381865af4158015611a36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc091906159cd565b611a6333610b68565b610ba4611a7084846132f9565b826040516020016111d29190615536565b600080600080516020615ed483398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611af1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b1591906155e7565b15611ba2576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611b78573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b9c9190615590565b91505090565b54600160601b90046001600160a01b0316919050565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260046020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c08201529283526001810180549192840191611c70906155ad565b80601f0160208091040260200160405190810160405280929190818152602001828054611c9c906155ad565b8015611ce95780601f10611cbe57610100808354040283529160200191611ce9565b820191906000526020600020905b815481529060010190602001808311611ccc57829003601f168201915b5050505050815250509050919050565b600080516020615ef4833981519152805460009190600160a01b900460ff16611d23576000611b9c565b638fb3603760e01b91505090565b611d3a33610b68565b610bc6611d488360dc612ab8565b826040516020016111d29190615ac4565b611d6233610b68565b610ba4611d708460d3612ab8565b83604051602001610b8f9190615807565b611d8a33610b68565b610bc6611d98836078612ab8565b826040516020016111d29190615c30565b611db233610b68565b610ba4611dbf8484613390565b826040516020016111d29190615793565b611dd933610b68565b6040516355ee627560e01b8152610bc69073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590611a19906001600160c01b03198716906004016159b8565b611e2733610b68565b610ba4611e3584608c612ab8565b83604051602001610b8f9190615ca4565b611e4f33610b68565b6040516355ee627560e01b8152610ba49073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590611e94906001600160c01b03198816906004016159b8565b602060405180830381865af4158015611eb1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ed591906159cd565b83604051602001610b8f91906159e6565b60ff8381166000908152600260205260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015611f4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f6f91906155e7565b15611f7957505050565b60ff808416600090815260036020908152604080832086851684528252808320858516845290915290205416610ba457604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610c3e565b611fe033610b68565b6040516355ee627560e01b8152610bc69073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590611a19906001600160c01b03198716906004016159b8565b61202e33610b68565b610ba4610bc08484613390565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015612084573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120a89190615590565b6001600160a01b0316336001600160a01b0316146120c557600080fd5b60055461010090046001600160a01b031663030149746120e3613d63565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865afa158015612127573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061214b91906159cd565b1561215857612158615d25565b60055461010090046001600160a01b031663b428b0b0612176613d63565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b03851660248201526044016020604051808303816000875af11580156121cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121ef91906155e7565b1515600114610bc657610bc6615d25565b60ff81811660009081526002602052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024016113d0565b600080516020615ef4833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03166000811580156122ae5750825b90506000826001600160401b031660011480156122ca5750303b155b9050811580156122d8575080155b156122f65760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561232057845460ff60401b1916600160401b1785555b6001600160a01b0388166123475760405163da1db49160e01b815260040160405180910390fd5b61235088613ddb565b60008790506123d588826001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612397573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123bb9190615604565b604660018b604051806020016040528060008152506110de565b6123dd6115d5565b6123ed6358bc0faf60e11b6110b1565b50831561117957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15050505050505050565b61244633610b68565b6040516355ee627560e01b8152610bc69073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee62759061248b906001600160c01b03198716906004016159b8565b602060405180830381865af41580156124a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124cc91906159cd565b826040516020016111d29190615b94565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015612530573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125549190615d3b565b905090565b61256233610b68565b610bc6610bc0836078612ab8565b61257933610b68565b610bc661258783608c612ab8565b826040516020016111d29190615ca4565b6125a133610b68565b610bc6610bc083606e612ab8565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156125f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061261c9190615590565b6001600160a01b0316336001600160a01b03161461263957600080fd5b60055461010090046001600160a01b031663b7d2b162612657613d63565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b03861660248201526044016020604051808303816000875af11580156126ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126d091906155e7565b15156001146126e1576126e1615d25565b60055461010090046001600160a01b031663b428b0b06126ff613d63565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b03851660248201526044016020604051808303816000875af1158015612754573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061277891906155e7565b1515600114610ba457610ba4615d25565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af41580156127e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061280d91906159cd565b9392505050565b61281d33610b68565b610ba461282b846078612ab8565b83604051602001610b8f9190615c30565b61284533610b68565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa15801561288d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128b19190615590565b6001600160a01b0316146128da576040516345789cf560e01b8152306004820152602401610c3e565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b612904613347565b61290d81611814565b612915611326565b6001600160a01b03821661293c5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020615ed483398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b61297c33610b68565b610bc661298a83606e612ab8565b826040516020016111d29190615487565b6129a433610b68565b610bc6610bc08360dc612ab8565b600080516020615ef48339815191526000806129ed6129cf61224d565b87306129df600460008a8c615d58565b6129e891615d82565b613dec565b9150915081612ab05763ffffffff811615612a8d57825460ff60a01b1916600160a01b178355612a1b61224d565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612a4a93929190615db2565b600060405180830381600087803b158015612a6457600080fd5b505af1158015612a78573d6000803e3d6000fd5b5050845460ff60a01b1916855550612ab09050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610c3e565b505050505050565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c8906044016127cc565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015612b56573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b7a91906155e7565b612bc65760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3032303a53544154455f554e444546494e45440000006044820152606401610c3e565b6000838152600460208190526040918290208054925163b2466acf60e01b815261010090930460ff169183018290529173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015612c32573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c5691906155e7565b612ca25760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3032313a4e4f545f4558495354494e470000000000006044820152606401610c3e565b6000858152600460205260409020600101612cbd85826156d4565b5060ff80841614612cdb57815461ff00191661010060ff8516021782555b8154620100003390810262010000600160b01b031983161784559063ffffffff600160b01b90910416612d0b4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612d9d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dc19190615d3b565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612e11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e359190615df2565b8588863287604051612e4d9796959493929190615e0f565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612ec7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612eeb9190615d3b565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612f3b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f5f9190615df2565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c0015b60405180910390a150505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015613007573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061302b91906155e7565b6130775760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3034303a53544154455f554e444546494e45440000006044820152606401610c3e565b6000828152600460208190526040918290208054925163b2466acf60e01b815261010090930460ff169183018290529173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156130e3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061310791906155e7565b6131535760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3034313a4e4f545f4558495354494e470000000000006044820152606401610c3e565b81546131639060ff168285611ee6565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b909104166131a74390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613239573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061325d9190615d3b565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156132ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132d19190615df2565b85888632876040516132e99796959493929190615e0f565b60405180910390a1505050505050565b604051635927341160e01b815262ffffff821660048201526001600160601b038316602482015260009073__$e1d43d4fb5c0494c5b7331f52c1ee41012$__906359273411906044016127cc565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661160557604051631afcd79f60e31b815260040160405180910390fd5b604051637d56159160e11b815261ffff821660048201526001600160601b038316602482015260009073__$0e0c503522f35343ef1955427c5075b143$__9063faac2b22906044016127cc565b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613430573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134549190615d3b565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af41580156134a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134cd91906155e7565b6135195760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401610c3e565b6000838152600460208190526040918290208054925163037c8cb160e51b815261010090930460ff16918301919091529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015613586573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135aa91906155e7565b6135f65760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401610c3e565b3343600061360385612200565b61360e576064613624565b60ff808616600090815260026020526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b9190910217855560008881526004602052604090209091506001016136ae87826156d4565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613721573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137459190615d3b565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015613795573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137b99190615df2565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a001612fa4565b7f4bee8dc518469fb8c73831886b94afa96b3ef3e3ee55b9076720259192220ef08054606460ff19918216179091557ffb39f406c8d3ff86a211d5f8c6729c90fce2fed80808bb47b6dc39e975a7d4d68054821660019081179091557fe59968928be831d9cd5403370c74d9f1dac318690d88a2efef2b29079332ee4f80548316821790557fe78520cf30689bb50fce16ae1e25040217df710de55e9ed38f2b2722b2a984688054909216811790915560dc600090815260036020527fa093975c0a88af8b2bf4799c5b4be14d42fc326c2a331b9f3fb3caecbaa5104f90606e5b60ff1660ff16815260200190815260200160002060006138f560c890565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f7673bcbb3401a7cbae68f81d40eea2cf35afdaf7ecd016ebf3f02857fcc1260a8054606460ff1991821681179092557fa1c69de77e78d12e062170d002ba111ba52c8f452f3b0ca326991b7298fd7aaf80548216600190811790915560008381527f6dcc58afd04aec67a07f8168234edce351865815e87e6f9a62e977830ebfce226020527f5267f8fb4089eaca6dac10383f9a063927ca0092f9c59d7ca3b3d61812638b028054909316821790925591600391905b60ff1660ff16815260200190815260200160002060006139ee606e90565b60ff1660ff16815260200190815260200160002060006138f560d290565b7feb6856e0ae0d71a8a9e0bc42aca98fe96c3be13699c5c2d551c94a190e39043d8054600a60ff19918216179091557f4b5a0a5953a753e51be29e6e2b638995162612852ea3b46cff09cbac61f9cb568054821660019081179091557fb7939d1e06f7236b22c8e9bf344ab29b7c87eec9f53e55d389378ef7585ffd7e80548316821790557f158b1af96972c14cb1a5e39cbdbd793a3bc4f7c57c85ef22cf298bf517d6e0b380548316821790557f6160f9e22b3793ed435de7ac6b8dd0ee9d3110d626fe8135ffbb7d38470f229a8054909216811790915560d3600090815260036020527fb0b6d2d73fcb69de4c434c711239319c2c669ebf6407f36fc258ff9f98f803fa9060646138d7565b7f07f164294c9f742449ae2b41ea995596da138b514d14d5f233585da8f9297196805460ff199081166032179091557f1aaad14668ac20aeb8e1295d4016ff57ca4e7d9a5d4ddded8fc4cc10cbd645768054821660019081179091557fe2294421c3570585f969350452a698010f0ce83857042531533f0ca7234165f780548316821790557feb93440461501f307485f24463ff8620c39e2837c2198fa31ef327eef292510980548316821790557f3926cb2852d780b0b027970c63edfde054d1b6dcba3e6f9d5494b62c7dc3deaf8054603c93168317905560009182527f231d22bc68c6c7424a2515a4e071b27784f0905392cd70ddae2ffd652d4c9539602052907fd700005a49d8862b1ef2c6810c55bae24955f83aacc7171fdd88d9fc2fa1cd1d9060dc6138f5565b7fec56eb74d500f9b1bf8f0c5cc42ff5ed51e8d9e3a2ebb6e83a26383f297e0f1e8054606460ff1991821681179092557fe63626ccd25c67b6e53c3bd622e9c77c962be121e55eb3904854ac631eb8f9f080548216600190811790915560009283527fa74711c3b0f698a9dde85849aefdd2d454c235a4c161e6f019356c5ec8490c816020527fbed2f4a35dfbfdf2c5294831261529ea73fa5b94705484f5af8ba1bc3cb59362805490921681179091559060039060c86139d0565b600080516020615ef483398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516368aebf7b60e01b815261076c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015613db7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125549190615e5f565b613de3613347565b61191d81613ef8565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251613e5b9190615e88565b600060405180830381855afa9150503d8060008114613e96576040519150601f19603f3d011682016040523d82523d6000602084013e613e9b565b606091505b50915091508115613eed576040815110613ecd5780806020019051810190613ec39190615ea4565b9094509250613eed565b6020815110613eed5780806020019051810190613eea91906155e7565b93505b505094509492505050565b613f00613347565b61191d81613d02565b600060208284031215613f1b57600080fd5b81356001600160e01b03198116811461280d57600080fd5b600060208284031215613f4557600080fd5b5035919050565b6001600160601b038116811461191d57600080fd5b8035613f6c81613f4c565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715613fa957613fa9613f71565b60405290565b60405161010081016001600160401b0381118282101715613fa957613fa9613f71565b60405160c081016001600160401b0381118282101715613fa957613fa9613f71565b60405161022081016001600160401b0381118282101715613fa957613fa9613f71565b60405161012081016001600160401b0381118282101715613fa957613fa9613f71565b60405160e081016001600160401b0381118282101715613fa957613fa9613f71565b6001600160a01b038116811461191d57600080fd5b8035613f6c8161405c565b60006040828403121561408e57600080fd5b614096613f87565b9050813581526020820135602082015292915050565b801515811461191d57600080fd5b8035613f6c816140ac565b600061014082840312156140d857600080fd5b6140e0613faf565b90506140eb82614071565b81526140f960208301614071565b602082015261410a60408301613f61565b604082015261411b60608301613f61565b606082015261412d836080840161407c565b608082015261413f8360c0840161407c565b60a082015261415161010083016140ba565b60c08201526141636101208301614071565b60e082015292915050565b60ff8116811461191d57600080fd5b6000806000610180848603121561419357600080fd5b833561419e81613f4c565b92506141ad85602086016140c5565b91506101608401356141be8161416e565b809150509250925092565b6000602082840312156141db57600080fd5b813561280d8161416e565b600080604083850312156141f957600080fd5b823561420481613f4c565b915060208301356142148161416e565b809150509250929050565b803562ffffff81168114613f6c57600080fd5b61ffff8116811461191d57600080fd5b8035613f6c81614232565b600082601f83011261425e57600080fd5b81356001600160401b038082111561427857614278613f71565b604051601f8301601f19908116603f011681019082821181831017156142a0576142a0613f71565b816040528381528660208588010111156142b957600080fd5b836020870160208301376000602085830101528094505050505092915050565b64ffffffffff8116811461191d57600080fd5b8035613f6c816142d9565b60006080828403121561430957600080fd5b604051608081016001600160401b03828210818311171561432c5761432c613f71565b816040528293508435915061434082614232565b90825260208401359061435282613f4c565b816020840152604085013591508082111561436c57600080fd5b506143798582860161424d565b604083015250606083013561438d816142d9565b6060919091015292915050565b600080600080608085870312156143b057600080fd5b84356143bb81613f4c565b93506143c96020860161421f565b925060408501356001600160401b038111156143e457600080fd5b6143f0878288016142f7565b92505060608501356144018161416e565b939692955090935050565b60006020828403121561441e57600080fd5b813561280d8161405c565b60005b8381101561444457818101518382015260200161442c565b50506000910152565b60008151808452614465816020860160208601614429565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516144e260c08401826001600160a01b03169052565b5060c083015160e0808401526144fc61010084018261444d565b949350505050565b6001600160c01b03198116811461191d57600080fd5b8035613f6c81614504565b63ffffffff8116811461191d57600080fd5b8035613f6c81614525565b600060a0828403121561455457600080fd5b60405160a081016001600160401b03828210818311171561457757614577613f71565b816040528293508435915061458b82614504565b90825260208401359061459d826140ac565b81602084015260408501359150808211156145b757600080fd5b506145c48582860161424d565b60408301525060608301356145d881613f4c565b606082015260808301356145eb81614525565b6080919091015292915050565b60008060006060848603121561460d57600080fd5b833561461881613f4c565b925060208401356001600160401b0381111561463357600080fd5b61463f86828701614542565b92505060408401356141be8161416e565b60008060008060008060c0878903121561466957600080fd5b86356146748161405c565b9550602087013561468481613f4c565b945060408701356146948161416e565b935060608701356146a4816140ac565b925060808701356146b48161405c565b915060a08701356001600160401b038111156146cf57600080fd5b6146db89828a0161424d565b9150509295509295509295565b600060c082840312156146fa57600080fd5b614702613fd2565b9050813561470f81613f4c565b8152602082013561471f81613f4c565b602082015260408201356147328161416e565b604082015260608201356147458161416e565b606082015260808201356001600160401b0381111561476357600080fd5b61476f8482850161424d565b60808301525060a0820135614783816142d9565b60a082015292915050565b600080600080608085870312156147a457600080fd5b84356147af81613f4c565b935060208501356147bf81614232565b925060408501356001600160401b038111156147da57600080fd5b6143f0878288016146e8565b600061022082840312156147f957600080fd5b614801613ff4565b905061480c82613f61565b815261481a60208301613f61565b602082015261482b6040830161451a565b604082015261483c6060830161451a565b606082015261484d60808301613f61565b608082015261485e60a08301613f61565b60a082015261486f60c08301613f61565b60c082015261488060e083016142ec565b60e0820152610100808301356001600160401b03808211156148a157600080fd5b6148ad8683870161424d565b838501526101209250828501359150808211156148c957600080fd5b506148d68582860161424d565b8284015250506101406148ea818401614242565b908201526101606148fc838201614242565b9082015261018061490e838201613f61565b908201526101a0614920838201613f61565b908201526101c06149328382016142ec565b908201526101e06149448382016142ec565b908201526102006149568382016142ec565b9082015292915050565b6000806040838503121561497357600080fd5b823561497e81613f4c565b915060208301356001600160401b0381111561499957600080fd5b6149a5858286016147e6565b9150509250929050565b6000604082840312156149c157600080fd5b6149c9613f87565b905081356149d681613f4c565b815260208201356001600160401b038111156149f157600080fd5b6149fd8482850161424d565b60208301525092915050565b60008060408385031215614a1c57600080fd5b8235614a2781614504565b915060208301356001600160401b03811115614a4257600080fd5b6149a5858286016149af565b60006101208284031215614a6157600080fd5b614a69614017565b905081356001600160401b0380821115614a8257600080fd5b614a8e8583860161424d565b8352602084013560208401526040840135604084015260608401356060840152614aba60808501614537565b6080840152614acb60a08501614537565b60a0840152614adc60c085016140ba565b60c0840152614aed60e085016140ba565b60e084015261010091508184013581811115614b0857600080fd5b614b148682870161424d565b8385015250505092915050565b60008060408385031215614b3457600080fd5b8235614b3f81614504565b915060208301356001600160401b03811115614b5a57600080fd5b6149a585828601614a4e565b600080600060608486031215614b7b57600080fd5b8335614b8681613f4c565b9250614b946020850161421f565b915060408401356141be8161416e565b60208152600061280d602083018461444d565b60006101408284031215614bca57600080fd5b614bd2614017565b9050614bdd82613f61565b8152614bec836020840161407c565b602082015260608201356001600160401b03811115614c0a57600080fd5b614c168482850161424d565b604083015250614c2860808301613f61565b6060820152614c3960a08301613f61565b6080820152614c4a60c08301613f61565b60a0820152614c5b60e083016142ec565b60c0820152610100614c6e8184016142ec565b60e083015261495661012084016142ec565b600080600060608486031215614c9557600080fd5b8335614ca081613f4c565b925060208401356001600160401b03811115614cbb57600080fd5b61463f86828701614bb7565b600080600060608486031215614cdc57600080fd5b8335614ce781614504565b925060208401356001600160401b03811115614d0257600080fd5b61463f86828701614a4e565b600060e08284031215614d2057600080fd5b614d2861403a565b9050614d3382613f61565b815260208201356001600160401b0380821115614d4f57600080fd5b614d5b8583860161424d565b602084015260408401356040840152614d7660608501614537565b6060840152614d8760808501614537565b6080840152614d9860a085016142ec565b60a084015260c0840135915080821115614db157600080fd5b50614dbe8482850161424d565b60c08301525092915050565b600080600060608486031215614ddf57600080fd5b8335614dea81614504565b925060208401356001600160401b03811115614e0557600080fd5b61463f86828701614d0e565b60008060408385031215614e2457600080fd5b8235614e2f81613f4c565b915060208301356001600160401b03811115614e4a57600080fd5b6149a585828601614542565b60008060408385031215614e6957600080fd5b823561420481614504565b600080600060608486031215614e8957600080fd5b8335614e9481613f4c565b9250614ea26020850161421f565b915060408401356001600160401b03811115614ebd57600080fd5b614ec9868287016142f7565b9150509250925092565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b60208152614f2f602082018351614ed3565b6000602083015160c0808401526144fc60e084018261444d565b60008060408385031215614f5c57600080fd5b8235614f6781613f4c565b915060208301356001600160401b03811115614f8257600080fd5b6149a585828601614bb7565b600080600060608486031215614fa357600080fd5b8335614fae81613f4c565b925060208401356001600160401b03811115614fc957600080fd5b61463f868287016147e6565b60006101008284031215614fe857600080fd5b614ff0613fd2565b90508135614ffd81613f4c565b8152602082013561500d8161405c565b602082015261501f836040840161407c565b6040820152615031836080840161407c565b606082015260c08201356150448161405c565b608082015260e0919091013560a0820152919050565b600080610120838503121561506e57600080fd5b823561507981613f4c565b91506150888460208501614fd5565b90509250929050565b6000806000606084860312156150a657600080fd5b83356150b181613f4c565b925060208401356150c181614232565b915060408401356001600160401b038111156150dc57600080fd5b614ec9868287016146e8565b600060e082840312156150fa57600080fd5b61510261403a565b905081356001600160401b038082111561511b57600080fd5b6151278583860161424d565b835261513560208501614071565b602084015261514660408501614071565b604084015261515760608501614071565b606084015261516860808501613f61565b6080840152614d9860a08501613f61565b60008060006060848603121561518e57600080fd5b833561519981613f4c565b925060208401356001600160401b038111156151b457600080fd5b61463f868287016150e8565b60a081016114118284614ed3565b6000806000606084860312156151e357600080fd5b83356151ee81614504565b925060208401356001600160401b0381111561520957600080fd5b61463f868287016149af565b60008060006060848603121561522a57600080fd5b83356152358161416e565b92506020840135614b948161416e565b60008060006060848603121561525a57600080fd5b833561526581613f4c565b92506020840135614b9481614232565b6000806040838503121561528857600080fd5b82356152938161405c565b946020939093013593505050565b6000806000606084860312156152b657600080fd5b83356152c18161405c565b925060208401356152d18161405c565b915060408401356141be8161405c565b600080604083850312156152f457600080fd5b82356152ff81614504565b915060208301356001600160401b0381111561531a57600080fd5b6149a585828601614d0e565b6000806040838503121561533957600080fd5b823561534481613f4c565b915060208301356001600160401b0381111561535f57600080fd5b6149a5858286016150e8565b60008060006060848603121561538057600080fd5b833561538b8161405c565b9250602084013561539b8161405c565b929592945050506040919091013590565b60ff198116811461191d57600080fd5b600080604083850312156153cf57600080fd5b82356153da8161416e565b91506020830135614214816153ac565b6000806000610140848603121561540057600080fd5b833561540b81613f4c565b925061541a8560208601614fd5565b91506101208401356141be8161416e565b6000806040838503121561543e57600080fd5b82356154498161405c565b915060208301356142148161405c565b600080610160838503121561546d57600080fd5b823561547881613f4c565b915061508884602085016140c5565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b0316908201526060808301516101408301916154d6908401826001600160601b03169052565b5060808301516154f3608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b0381166101208401525092915050565b6020815261ffff82511660208201526001600160601b036020830151166040820152600060408301516080606084015261557360a084018261444d565b905064ffffffffff60608501511660808401528091505092915050565b6000602082840312156155a257600080fd5b815161280d8161405c565b600181811c908216806155c157607f821691505b6020821081036155e157634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156155f957600080fd5b815161280d816140ac565b60006020828403121561561657600080fd5b815161280d81613f4c565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a0606084015261565f60c084018261444d565b90506001600160601b03606085015116608084015263ffffffff60808501511660a08401528091505092915050565b601f821115610ba457600081815260208120601f850160051c810160208610156156b55750805b601f850160051c820191505b81811015612ab0578281556001016156c1565b81516001600160401b038111156156ed576156ed613f71565b615701816156fb84546155ad565b8461568e565b602080601f831160018114615736576000841561571e5750858301515b600019600386901b1c1916600185901b178555612ab0565b600085815260208120601f198616915b8281101561576557888601518255948401946001909101908401615746565b50858210156157835787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260ff6060840151166080830152608083015160c060a08401526157ea60e084018261444d565b905064ffffffffff60a08501511660c08401528091505092915050565b602081526158216020820183516001600160601b03169052565b6000602083015161583d60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e08301516101006158c38185018364ffffffffff169052565b8085015191505061022061012081818601526158e361024086018461444d565b9250808601519050610140601f198685030181870152615903848361444d565b93508087015191505061016061591e8187018361ffff169052565b86015190506101806159358682018361ffff169052565b86015190506101a0615951868201836001600160601b03169052565b86015190506101c061596d868201836001600160601b03169052565b86015190506101e06159878682018364ffffffffff169052565b86015190506102006159a18682018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b6001600160c01b031991909116815260200190565b6000602082840312156159df57600080fd5b5051919050565b602081526001600160601b038251166020820152600060208301516040808401526144fc606084018261444d565b6020815260008251610120806020850152615a3361014085018361444d565b91506020850151604085015260408501516060850152606085015160808501526080850151615a6a60a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e0850151610100615aa08187018315159052565b860151858403601f1901838701529050615aba838261444d565b9695505050505050565b60208152615ade6020820183516001600160601b03169052565b60006020830151615afc604084018280518252602090810151910152565b506040830151610140806080850152615b1961016085018361444d565b91506060850151615b3560a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c0850151610100615b7a8187018364ffffffffff169052565b60e087015164ffffffffff811661012088015291506159a1565b602081526001600160601b0382511660208201526000602083015160e06040840152615bc461010084018261444d565b90506040840151606084015263ffffffff60608501511660808401526080840151615bf760a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e0850152615c27828261444d565b95945050505050565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b602081526000825160e06020840152615cc161010084018261444d565b9050602084015160018060a01b03808216604086015280604087015116606086015280606087015116608086015250506080840151615d0b60a08501826001600160601b03169052565b5060a08401516001600160601b03811660c0850152615c0b565b634e487b7160e01b600052600160045260246000fd5b600060208284031215615d4d57600080fd5b815161280d8161416e565b60008085851115615d6857600080fd5b83861115615d7557600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015615daa5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600060208284031215615e0457600080fd5b815161280d816153ac565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e00190565b600060208284031215615e7157600080fd5b81516001600160401b038116811461280d57600080fd5b60008251615e9a818460208701614429565b9190910192915050565b60008060408385031215615eb757600080fd5b8251615ec2816140ac565b60208401519092506142148161452556fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212201731abcd43ba6d00fc75ea3ffd45eee4f706f666287e2244790c803899c6414f64736f6c63430008140033",
3020
+ "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061046a5760003560e01c80637a9e5e4b1161024c578063b6d7cd6211610146578063e5f6cd27116100c3578063f7b442d111610087578063f7b442d114610b04578063f7bc431c14610b17578063f7c34ee014610b2a578063fbc1a3a014610b3d578063fe1f18d614610b5057600080fd5b8063e5f6cd2714610a8a578063e7f7fb8614610aa0578063e9e96c7014610ab3578063f48016ce14610af1578063f5884fc51461088457600080fd5b8063ca0e7f081161010a578063ca0e7f0814610a36578063cde749f414610a49578063d2f21a2914610a51578063d5c9d77d14610a64578063dee3262314610a7757600080fd5b8063b6d7cd62146109e2578063bb1e0e59146109f5578063bf1db3f914610a08578063bf7e214f14610a1b578063c0c53b8b14610a2357600080fd5b80639e90178c116101d4578063a5961b4c11610198578063a5961b4c146108e3578063a76ee01814610994578063a8989675146109a7578063ada9652e146109ba578063af902500146109cf57600080fd5b80639e90178c14610897578063a1ef60e9146108aa578063a1fc100414610884578063a2842229146108bd578063a4eeee59146108d057600080fd5b8063893d20e81161021b578063893d20e8146108285780638eaa6ac0146108305780638fb360371461085057806397affbf514610871578063985aeba71461088457600080fd5b80637a9e5e4b146107dc5780637cca1124146107ef5780637cef48421461080257806381c2b2821461081557600080fd5b806330a130ba1161036857806359852426116102e557806361105e0e116102a957806361105e0e1461077557806361f5f42014610788578063644c45e014610799578063675393bf146107c157806375b238fc146107d457600080fd5b806359852426146107355780635a8416b0146107485780635ab1bd531461075b5780635d4345cc146105845780635dfa73db1461076c57600080fd5b80633ca7c02a1161032c5780633ca7c02a146106c157806340529b0f146106e7578063422c9d00146106fa578063468bce061461070d57806354f6127f1461071557600080fd5b806330a130ba1461066357806336fc697e1461067657806337f135d71461067e5780633870a7701461069b57806338a699a4146106ae57600080fd5b80630fec111c116103f65780632781d443116103ba5780632781d4431461060f57806327bb7a331461061757806329e63f621461062a5780632a8ea7ac1461063d5780632f61088a1461065057600080fd5b80630fec111c14610597578063138461e0146105ac5780631e40b363146105b45780631eff4b22146105c7578063214cdb80146105fc57600080fd5b80630d3581811161043d5780630d358181146105255780630f526f7d1461054b5780630f6c29ef1461055e5780630f749a89146105715780630fad0eb11461058457600080fd5b806301ffc9a71461046f57806302cd3071146104b157806309648a9d146104d65780630cbc6b8914610510575b600080fd5b61049c61047d366004613f09565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6006546001600160a01b03165b6040516001600160a01b0390911681526020016104a8565b6104fe6104e4366004613f33565b600090815260046020526040902054610100900460ff1690565b60405160ff90911681526020016104a8565b61052361051e36600461417d565b610b63565b005b6104fe6105333660046141c9565b60ff9081166000908152600260205260409020541690565b6105236105593660046141e6565b610ba9565b61052361056c36600461439a565b610bca565b61052361057f36600461440c565b610bf7565b6105236105923660046141e6565b610d1d565b61059f610d34565b6040516104a89190614479565b610523610e87565b6105236105c23660046145f8565b611089565b6105ee7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016104a8565b61052361060a366004613f09565b6110b1565b6105ee600381565b610523610625366004614650565b6110de565b61052361063836600461478e565b611183565b61052361064b366004614960565b6111aa565b61052361065e366004614a09565b6111e6565b610523610671366004614b21565b611286565b610523611326565b610686600081565b60405163ffffffff90911681526020016104a8565b6105236106a9366004614b66565b61136c565b61049c6106bc366004613f33565b611382565b6106cf6001600160401b0381565b6040516001600160401b0390911681526020016104a8565b6105236106f53660046141e6565b611417565b61052361070836600461440c565b61142e565b6105236115d5565b610728610723366004613f33565b611607565b6040516104a89190614ba4565b610523610743366004614c80565b6116ac565b610523610756366004614cc7565b6116d4565b6001546001600160a01b03166104be565b6106cf61271081565b610523610783366004614dca565b611774565b6007546001600160a01b03166104be565b600080516020615ed4833981519152546040516001600160601b0390911681526020016104a8565b6105236107cf36600461440c565b611814565b6106cf600081565b6105236107ea36600461440c565b611920565b6105236107fd366004614e11565b6119a3565b610523610810366004614e56565b6119cb565b610523610823366004614e74565b611a5a565b6104be611a81565b61084361083e366004613f33565b611bb8565b6040516104a89190614f1d565b610858611cf9565b6040516001600160e01b031990911681526020016104a8565b61052361087f366004614f49565b611d31565b610523610892366004614f8e565b611d59565b6105236108a536600461505a565b611d81565b6105236108b8366004615091565b611da9565b6105236108cb366004614e56565b611dd0565b6105236108de366004615179565b611e1e565b6109876108f1366004613f33565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260046020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b6040516104a891906151c0565b6105236109a23660046151ce565b611e46565b6105236109b5366004615215565b611ee6565b6105ee600080516020615ed483398151915281565b6105236109dd366004614e56565b611fd7565b6105236109f0366004615245565b612025565b610523610a03366004615275565b61203b565b61049c610a163660046141c9565b612200565b6104be61224d565b610523610a313660046152a1565b612269565b610523610a443660046152e1565b61243d565b6104fe6124dd565b610523610a5f3660046141e6565b612559565b610523610a72366004615326565b612570565b610523610a853660046141e6565b612598565b60055461010090046001600160a01b03166104be565b610523610aae36600461536b565b6125af565b61049c610ac1366004615215565b60ff9283166000908152600360209081526040808320948616835293815283822092851682529190915220541690565b6105ee610aff3660046153bc565b612789565b610523610b123660046153ea565b612814565b610523610b2536600461440c565b61283c565b610523610b3836600461542b565b6128fc565b610523610b4b366004615459565b612973565b610523610b5e3660046141e6565b61299b565b610b70335b6000366129b2565b610ba4610b7e84606e612ab8565b83604051602001610b8f9190615487565b60405160208183030381529060405283612b04565b505050565b610bb233610b68565b610bc6610bc083608c612ab8565b82612fb5565b5050565b610bd333610b68565b610bf1610be085856132f9565b83604051602001610b8f9190615536565b50505050565b610c0033610b68565b60055461010090046001600160a01b031615610c475760055460405163e02ca03360e01b81526101009091046001600160a01b031660048201526024015b60405180910390fd5b610c4f61224d565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cba9190615590565b6001600160a01b031614610cf557610cd061224d565b6040516374150f9560e11b81526001600160a01b039091166004820152602401610c3e565b600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b610d2633610b68565b610bc6610bc08360d3612ab8565b6040805160e0808201835260008083526020830181905282840181905260608084018290526080840182905260a0840182905260c0840152835191820190935290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300919081906001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610de3611a81565b6001600160a01b03168152602001826001018054610e00906155ad565b80601f0160208091040260200160405190810160405280929190818152602001828054610e2c906155ad565b8015610e795780601f10610e4e57610100808354040283529160200191610e79565b820191906000526020600020905b815481529060010190602001808311610e5c57829003601f168201915b505050505081525091505090565b6000600080516020615ed483398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610ef6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1a91906155e7565b15610f465780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610c3e565b30610f596001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610fa1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc591906155e7565b610fed5760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610c3e565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015611041573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110659190615604565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b61109233610b68565b610ba46110a084607a612ab8565b83604051602001610b8f9190615621565b6110b9613347565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6110e6613347565b6110f082876128fc565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30161117983826156d4565b5050505050505050565b61118c33610b68565b610bf16111998585613390565b83604051602001610b8f9190615793565b6111b333610b68565b610bc66111c18360d3612ab8565b826040516020016111d29190615807565b6040516020818303038152906040526133dd565b6111ef33610b68565b6040516355ee627560e01b8152610bc69073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590611234906001600160c01b03198716906004016159b8565b602060405180830381865af4158015611251573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061127591906159cd565b826040516020016111d291906159e6565b61128f33610b68565b6040516355ee627560e01b8152610bc69073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee6275906112d4906001600160c01b03198716906004016159b8565b602060405180830381865af41580156112f1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061131591906159cd565b826040516020016111d29190615a14565b61132e613347565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61137533610b68565b610ba4610bc084846132f9565b600081815260046020819052604080832054905163b2466acf60e01b815261010090910460ff169181019190915273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af41580156113ed573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061141191906155e7565b92915050565b61142033610b68565b610bc6610bc083607a612ab8565b61143733610b68565b6007546001600160a01b0316156114705760075460405163384c2dbd60e11b81526001600160a01b039091166004820152602401610c3e565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114dc9190615590565b6001600160a01b0316146115055760405163decb98c560e01b8152306004820152602401610c3e565b61150d61224d565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611554573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115789190615590565b6001600160a01b0316146115b35761158e61224d565b604051630312205960e41b81526001600160a01b039091166004820152602401610c3e565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6115dd613347565b6115e56137f6565b6115ed613919565b6115f5613a0c565b6115fd613b1a565b611605613c46565b565b6000818152600460205260409020600101805460609190611627906155ad565b80601f0160208091040260200160405190810160405280929190818152602001828054611653906155ad565b80156116a05780601f10611675576101008083540402835291602001916116a0565b820191906000526020600020905b81548152906001019060200180831161168357829003601f168201915b50505050509050919050565b6116b533610b68565b610ba46116c38460dc612ab8565b83604051602001610b8f9190615ac4565b6116dd33610b68565b6040516355ee627560e01b8152610ba49073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590611722906001600160c01b03198816906004016159b8565b602060405180830381865af415801561173f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061176391906159cd565b83604051602001610b8f9190615a14565b61177d33610b68565b6040516355ee627560e01b8152610ba49073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee6275906117c2906001600160c01b03198816906004016159b8565b602060405180830381865af41580156117df573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061180391906159cd565b83604051602001610b8f9190615b94565b61181c613347565b806001600160a01b03163b6000036118525760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610c3e565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa9250505080156118cc575060408051601f3d908101601f191682019092526118c9918101906155e7565b60015b6118f45760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610c3e565b80610bc65760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610c3e565b50565b3361192961224d565b6001600160a01b0316816001600160a01b0316146119645760405162d1953b60e31b81526001600160a01b0382166004820152602401610c3e565b816001600160a01b03163b60000361199a576040516361798f2f60e11b81526001600160a01b0383166004820152602401610c3e565b610bc682613d02565b6119ac33610b68565b610bc66119ba83607a612ab8565b826040516020016111d29190615621565b6119d433610b68565b6040516355ee627560e01b8152610bc69073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590611a19906001600160c01b03198716906004016159b8565b602060405180830381865af4158015611a36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc091906159cd565b611a6333610b68565b610ba4611a7084846132f9565b826040516020016111d29190615536565b600080600080516020615ed483398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611af1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b1591906155e7565b15611ba2576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611b78573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b9c9190615590565b91505090565b54600160601b90046001600160a01b0316919050565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260046020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c08201529283526001810180549192840191611c70906155ad565b80601f0160208091040260200160405190810160405280929190818152602001828054611c9c906155ad565b8015611ce95780601f10611cbe57610100808354040283529160200191611ce9565b820191906000526020600020905b815481529060010190602001808311611ccc57829003601f168201915b5050505050815250509050919050565b600080516020615ef4833981519152805460009190600160a01b900460ff16611d23576000611b9c565b638fb3603760e01b91505090565b611d3a33610b68565b610bc6611d488360dc612ab8565b826040516020016111d29190615ac4565b611d6233610b68565b610ba4611d708460d3612ab8565b83604051602001610b8f9190615807565b611d8a33610b68565b610bc6611d98836078612ab8565b826040516020016111d29190615c30565b611db233610b68565b610ba4611dbf8484613390565b826040516020016111d29190615793565b611dd933610b68565b6040516355ee627560e01b8152610bc69073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590611a19906001600160c01b03198716906004016159b8565b611e2733610b68565b610ba4611e3584608c612ab8565b83604051602001610b8f9190615ca4565b611e4f33610b68565b6040516355ee627560e01b8152610ba49073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590611e94906001600160c01b03198816906004016159b8565b602060405180830381865af4158015611eb1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ed591906159cd565b83604051602001610b8f91906159e6565b60ff8381166000908152600260205260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015611f4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f6f91906155e7565b15611f7957505050565b60ff808416600090815260036020908152604080832086851684528252808320858516845290915290205416610ba457604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610c3e565b611fe033610b68565b6040516355ee627560e01b8152610bc69073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590611a19906001600160c01b03198716906004016159b8565b61202e33610b68565b610ba4610bc08484613390565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015612084573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120a89190615590565b6001600160a01b0316336001600160a01b0316146120c557600080fd5b60055461010090046001600160a01b031663030149746120e3613d63565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865afa158015612127573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061214b91906159cd565b1561215857612158615d25565b60055461010090046001600160a01b031663b428b0b0612176613d63565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b03851660248201526044016020604051808303816000875af11580156121cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121ef91906155e7565b1515600114610bc657610bc6615d25565b60ff81811660009081526002602052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024016113d0565b600080516020615ef4833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03166000811580156122ae5750825b90506000826001600160401b031660011480156122ca5750303b155b9050811580156122d8575080155b156122f65760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561232057845460ff60401b1916600160401b1785555b6001600160a01b0388166123475760405163da1db49160e01b815260040160405180910390fd5b61235088613ddb565b60008790506123d588826001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612397573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123bb9190615604565b604660018b604051806020016040528060008152506110de565b6123dd6115d5565b6123ed6358bc0faf60e11b6110b1565b50831561117957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15050505050505050565b61244633610b68565b6040516355ee627560e01b8152610bc69073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee62759061248b906001600160c01b03198716906004016159b8565b602060405180830381865af41580156124a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124cc91906159cd565b826040516020016111d29190615b94565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015612530573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125549190615d3b565b905090565b61256233610b68565b610bc6610bc0836078612ab8565b61257933610b68565b610bc661258783608c612ab8565b826040516020016111d29190615ca4565b6125a133610b68565b610bc6610bc083606e612ab8565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156125f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061261c9190615590565b6001600160a01b0316336001600160a01b03161461263957600080fd5b60055461010090046001600160a01b031663b7d2b162612657613d63565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b03861660248201526044016020604051808303816000875af11580156126ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126d091906155e7565b15156001146126e1576126e1615d25565b60055461010090046001600160a01b031663b428b0b06126ff613d63565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b03851660248201526044016020604051808303816000875af1158015612754573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061277891906155e7565b1515600114610ba457610ba4615d25565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af41580156127e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061280d91906159cd565b9392505050565b61281d33610b68565b610ba461282b846078612ab8565b83604051602001610b8f9190615c30565b61284533610b68565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa15801561288d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128b19190615590565b6001600160a01b0316146128da576040516345789cf560e01b8152306004820152602401610c3e565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b612904613347565b61290d81611814565b612915611326565b6001600160a01b03821661293c5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020615ed483398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b61297c33610b68565b610bc661298a83606e612ab8565b826040516020016111d29190615487565b6129a433610b68565b610bc6610bc08360dc612ab8565b600080516020615ef48339815191526000806129ed6129cf61224d565b87306129df600460008a8c615d58565b6129e891615d82565b613dec565b9150915081612ab05763ffffffff811615612a8d57825460ff60a01b1916600160a01b178355612a1b61224d565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612a4a93929190615db2565b600060405180830381600087803b158015612a6457600080fd5b505af1158015612a78573d6000803e3d6000fd5b5050845460ff60a01b1916855550612ab09050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610c3e565b505050505050565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c8906044016127cc565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015612b56573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b7a91906155e7565b612bc65760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3032303a53544154455f554e444546494e45440000006044820152606401610c3e565b6000838152600460208190526040918290208054925163b2466acf60e01b815261010090930460ff169183018290529173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015612c32573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c5691906155e7565b612ca25760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3032313a4e4f545f4558495354494e470000000000006044820152606401610c3e565b6000858152600460205260409020600101612cbd85826156d4565b5060ff80841614612cdb57815461ff00191661010060ff8516021782555b8154620100003390810262010000600160b01b031983161784559063ffffffff600160b01b90910416612d0b4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612d9d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dc19190615d3b565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612e11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e359190615df2565b8588863287604051612e4d9796959493929190615e0f565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612ec7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612eeb9190615d3b565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612f3b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f5f9190615df2565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c0015b60405180910390a150505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015613007573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061302b91906155e7565b6130775760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3034303a53544154455f554e444546494e45440000006044820152606401610c3e565b6000828152600460208190526040918290208054925163b2466acf60e01b815261010090930460ff169183018290529173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156130e3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061310791906155e7565b6131535760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3034313a4e4f545f4558495354494e470000000000006044820152606401610c3e565b81546131639060ff168285611ee6565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b909104166131a74390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613239573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061325d9190615d3b565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156132ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132d19190615df2565b85888632876040516132e99796959493929190615e0f565b60405180910390a1505050505050565b604051635927341160e01b815262ffffff821660048201526001600160601b038316602482015260009073__$e1d43d4fb5c0494c5b7331f52c1ee41012$__906359273411906044016127cc565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661160557604051631afcd79f60e31b815260040160405180910390fd5b604051637d56159160e11b815261ffff821660048201526001600160601b038316602482015260009073__$0e0c503522f35343ef1955427c5075b143$__9063faac2b22906044016127cc565b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613430573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134549190615d3b565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af41580156134a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134cd91906155e7565b6135195760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401610c3e565b6000838152600460208190526040918290208054925163037c8cb160e51b815261010090930460ff16918301919091529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015613586573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135aa91906155e7565b6135f65760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401610c3e565b3343600061360385612200565b61360e576064613624565b60ff808616600090815260026020526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b9190910217855560008881526004602052604090209091506001016136ae87826156d4565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613721573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137459190615d3b565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015613795573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137b99190615df2565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a001612fa4565b7f4bee8dc518469fb8c73831886b94afa96b3ef3e3ee55b9076720259192220ef08054606460ff19918216179091557ffb39f406c8d3ff86a211d5f8c6729c90fce2fed80808bb47b6dc39e975a7d4d68054821660019081179091557fe59968928be831d9cd5403370c74d9f1dac318690d88a2efef2b29079332ee4f80548316821790557fe78520cf30689bb50fce16ae1e25040217df710de55e9ed38f2b2722b2a984688054909216811790915560dc600090815260036020527fa093975c0a88af8b2bf4799c5b4be14d42fc326c2a331b9f3fb3caecbaa5104f90606e5b60ff1660ff16815260200190815260200160002060006138f560c890565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f7673bcbb3401a7cbae68f81d40eea2cf35afdaf7ecd016ebf3f02857fcc1260a8054606460ff1991821681179092557fa1c69de77e78d12e062170d002ba111ba52c8f452f3b0ca326991b7298fd7aaf80548216600190811790915560008381527f6dcc58afd04aec67a07f8168234edce351865815e87e6f9a62e977830ebfce226020527f5267f8fb4089eaca6dac10383f9a063927ca0092f9c59d7ca3b3d61812638b028054909316821790925591600391905b60ff1660ff16815260200190815260200160002060006139ee606e90565b60ff1660ff16815260200190815260200160002060006138f560d290565b7feb6856e0ae0d71a8a9e0bc42aca98fe96c3be13699c5c2d551c94a190e39043d8054600a60ff19918216179091557f4b5a0a5953a753e51be29e6e2b638995162612852ea3b46cff09cbac61f9cb568054821660019081179091557fb7939d1e06f7236b22c8e9bf344ab29b7c87eec9f53e55d389378ef7585ffd7e80548316821790557f158b1af96972c14cb1a5e39cbdbd793a3bc4f7c57c85ef22cf298bf517d6e0b380548316821790557f6160f9e22b3793ed435de7ac6b8dd0ee9d3110d626fe8135ffbb7d38470f229a8054909216811790915560d3600090815260036020527fb0b6d2d73fcb69de4c434c711239319c2c669ebf6407f36fc258ff9f98f803fa9060646138d7565b7f07f164294c9f742449ae2b41ea995596da138b514d14d5f233585da8f9297196805460ff199081166032179091557f1aaad14668ac20aeb8e1295d4016ff57ca4e7d9a5d4ddded8fc4cc10cbd645768054821660019081179091557fe2294421c3570585f969350452a698010f0ce83857042531533f0ca7234165f780548316821790557feb93440461501f307485f24463ff8620c39e2837c2198fa31ef327eef292510980548316821790557f3926cb2852d780b0b027970c63edfde054d1b6dcba3e6f9d5494b62c7dc3deaf8054603c93168317905560009182527f231d22bc68c6c7424a2515a4e071b27784f0905392cd70ddae2ffd652d4c9539602052907fd700005a49d8862b1ef2c6810c55bae24955f83aacc7171fdd88d9fc2fa1cd1d9060dc6138f5565b7fec56eb74d500f9b1bf8f0c5cc42ff5ed51e8d9e3a2ebb6e83a26383f297e0f1e8054606460ff1991821681179092557fe63626ccd25c67b6e53c3bd622e9c77c962be121e55eb3904854ac631eb8f9f080548216600190811790915560009283527fa74711c3b0f698a9dde85849aefdd2d454c235a4c161e6f019356c5ec8490c816020527fbed2f4a35dfbfdf2c5294831261529ea73fa5b94705484f5af8ba1bc3cb59362805490921681179091559060039060c86139d0565b600080516020615ef483398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516368aebf7b60e01b815261076c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015613db7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125549190615e5f565b613de3613347565b61191d81613ef8565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251613e5b9190615e88565b600060405180830381855afa9150503d8060008114613e96576040519150601f19603f3d011682016040523d82523d6000602084013e613e9b565b606091505b50915091508115613eed576040815110613ecd5780806020019051810190613ec39190615ea4565b9094509250613eed565b6020815110613eed5780806020019051810190613eea91906155e7565b93505b505094509492505050565b613f00613347565b61191d81613d02565b600060208284031215613f1b57600080fd5b81356001600160e01b03198116811461280d57600080fd5b600060208284031215613f4557600080fd5b5035919050565b6001600160601b038116811461191d57600080fd5b8035613f6c81613f4c565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715613fa957613fa9613f71565b60405290565b60405161010081016001600160401b0381118282101715613fa957613fa9613f71565b60405160c081016001600160401b0381118282101715613fa957613fa9613f71565b60405161022081016001600160401b0381118282101715613fa957613fa9613f71565b60405161012081016001600160401b0381118282101715613fa957613fa9613f71565b60405160e081016001600160401b0381118282101715613fa957613fa9613f71565b6001600160a01b038116811461191d57600080fd5b8035613f6c8161405c565b60006040828403121561408e57600080fd5b614096613f87565b9050813581526020820135602082015292915050565b801515811461191d57600080fd5b8035613f6c816140ac565b600061014082840312156140d857600080fd5b6140e0613faf565b90506140eb82614071565b81526140f960208301614071565b602082015261410a60408301613f61565b604082015261411b60608301613f61565b606082015261412d836080840161407c565b608082015261413f8360c0840161407c565b60a082015261415161010083016140ba565b60c08201526141636101208301614071565b60e082015292915050565b60ff8116811461191d57600080fd5b6000806000610180848603121561419357600080fd5b833561419e81613f4c565b92506141ad85602086016140c5565b91506101608401356141be8161416e565b809150509250925092565b6000602082840312156141db57600080fd5b813561280d8161416e565b600080604083850312156141f957600080fd5b823561420481613f4c565b915060208301356142148161416e565b809150509250929050565b803562ffffff81168114613f6c57600080fd5b61ffff8116811461191d57600080fd5b8035613f6c81614232565b600082601f83011261425e57600080fd5b81356001600160401b038082111561427857614278613f71565b604051601f8301601f19908116603f011681019082821181831017156142a0576142a0613f71565b816040528381528660208588010111156142b957600080fd5b836020870160208301376000602085830101528094505050505092915050565b64ffffffffff8116811461191d57600080fd5b8035613f6c816142d9565b60006080828403121561430957600080fd5b604051608081016001600160401b03828210818311171561432c5761432c613f71565b816040528293508435915061434082614232565b90825260208401359061435282613f4c565b816020840152604085013591508082111561436c57600080fd5b506143798582860161424d565b604083015250606083013561438d816142d9565b6060919091015292915050565b600080600080608085870312156143b057600080fd5b84356143bb81613f4c565b93506143c96020860161421f565b925060408501356001600160401b038111156143e457600080fd5b6143f0878288016142f7565b92505060608501356144018161416e565b939692955090935050565b60006020828403121561441e57600080fd5b813561280d8161405c565b60005b8381101561444457818101518382015260200161442c565b50506000910152565b60008151808452614465816020860160208601614429565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516144e260c08401826001600160a01b03169052565b5060c083015160e0808401526144fc61010084018261444d565b949350505050565b6001600160c01b03198116811461191d57600080fd5b8035613f6c81614504565b63ffffffff8116811461191d57600080fd5b8035613f6c81614525565b600060a0828403121561455457600080fd5b60405160a081016001600160401b03828210818311171561457757614577613f71565b816040528293508435915061458b82614504565b90825260208401359061459d826140ac565b81602084015260408501359150808211156145b757600080fd5b506145c48582860161424d565b60408301525060608301356145d881613f4c565b606082015260808301356145eb81614525565b6080919091015292915050565b60008060006060848603121561460d57600080fd5b833561461881613f4c565b925060208401356001600160401b0381111561463357600080fd5b61463f86828701614542565b92505060408401356141be8161416e565b60008060008060008060c0878903121561466957600080fd5b86356146748161405c565b9550602087013561468481613f4c565b945060408701356146948161416e565b935060608701356146a4816140ac565b925060808701356146b48161405c565b915060a08701356001600160401b038111156146cf57600080fd5b6146db89828a0161424d565b9150509295509295509295565b600060c082840312156146fa57600080fd5b614702613fd2565b9050813561470f81613f4c565b8152602082013561471f81613f4c565b602082015260408201356147328161416e565b604082015260608201356147458161416e565b606082015260808201356001600160401b0381111561476357600080fd5b61476f8482850161424d565b60808301525060a0820135614783816142d9565b60a082015292915050565b600080600080608085870312156147a457600080fd5b84356147af81613f4c565b935060208501356147bf81614232565b925060408501356001600160401b038111156147da57600080fd5b6143f0878288016146e8565b600061022082840312156147f957600080fd5b614801613ff4565b905061480c82613f61565b815261481a60208301613f61565b602082015261482b6040830161451a565b604082015261483c6060830161451a565b606082015261484d60808301613f61565b608082015261485e60a08301613f61565b60a082015261486f60c08301613f61565b60c082015261488060e083016142ec565b60e0820152610100808301356001600160401b03808211156148a157600080fd5b6148ad8683870161424d565b838501526101209250828501359150808211156148c957600080fd5b506148d68582860161424d565b8284015250506101406148ea818401614242565b908201526101606148fc838201614242565b9082015261018061490e838201613f61565b908201526101a0614920838201613f61565b908201526101c06149328382016142ec565b908201526101e06149448382016142ec565b908201526102006149568382016142ec565b9082015292915050565b6000806040838503121561497357600080fd5b823561497e81613f4c565b915060208301356001600160401b0381111561499957600080fd5b6149a5858286016147e6565b9150509250929050565b6000604082840312156149c157600080fd5b6149c9613f87565b905081356149d681613f4c565b815260208201356001600160401b038111156149f157600080fd5b6149fd8482850161424d565b60208301525092915050565b60008060408385031215614a1c57600080fd5b8235614a2781614504565b915060208301356001600160401b03811115614a4257600080fd5b6149a5858286016149af565b60006101208284031215614a6157600080fd5b614a69614017565b905081356001600160401b0380821115614a8257600080fd5b614a8e8583860161424d565b8352602084013560208401526040840135604084015260608401356060840152614aba60808501614537565b6080840152614acb60a08501614537565b60a0840152614adc60c085016140ba565b60c0840152614aed60e085016140ba565b60e084015261010091508184013581811115614b0857600080fd5b614b148682870161424d565b8385015250505092915050565b60008060408385031215614b3457600080fd5b8235614b3f81614504565b915060208301356001600160401b03811115614b5a57600080fd5b6149a585828601614a4e565b600080600060608486031215614b7b57600080fd5b8335614b8681613f4c565b9250614b946020850161421f565b915060408401356141be8161416e565b60208152600061280d602083018461444d565b60006101408284031215614bca57600080fd5b614bd2614017565b9050614bdd82613f61565b8152614bec836020840161407c565b602082015260608201356001600160401b03811115614c0a57600080fd5b614c168482850161424d565b604083015250614c2860808301613f61565b6060820152614c3960a08301613f61565b6080820152614c4a60c08301613f61565b60a0820152614c5b60e083016142ec565b60c0820152610100614c6e8184016142ec565b60e083015261495661012084016142ec565b600080600060608486031215614c9557600080fd5b8335614ca081613f4c565b925060208401356001600160401b03811115614cbb57600080fd5b61463f86828701614bb7565b600080600060608486031215614cdc57600080fd5b8335614ce781614504565b925060208401356001600160401b03811115614d0257600080fd5b61463f86828701614a4e565b600060e08284031215614d2057600080fd5b614d2861403a565b9050614d3382613f61565b815260208201356001600160401b0380821115614d4f57600080fd5b614d5b8583860161424d565b602084015260408401356040840152614d7660608501614537565b6060840152614d8760808501614537565b6080840152614d9860a085016142ec565b60a084015260c0840135915080821115614db157600080fd5b50614dbe8482850161424d565b60c08301525092915050565b600080600060608486031215614ddf57600080fd5b8335614dea81614504565b925060208401356001600160401b03811115614e0557600080fd5b61463f86828701614d0e565b60008060408385031215614e2457600080fd5b8235614e2f81613f4c565b915060208301356001600160401b03811115614e4a57600080fd5b6149a585828601614542565b60008060408385031215614e6957600080fd5b823561420481614504565b600080600060608486031215614e8957600080fd5b8335614e9481613f4c565b9250614ea26020850161421f565b915060408401356001600160401b03811115614ebd57600080fd5b614ec9868287016142f7565b9150509250925092565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b60208152614f2f602082018351614ed3565b6000602083015160c0808401526144fc60e084018261444d565b60008060408385031215614f5c57600080fd5b8235614f6781613f4c565b915060208301356001600160401b03811115614f8257600080fd5b6149a585828601614bb7565b600080600060608486031215614fa357600080fd5b8335614fae81613f4c565b925060208401356001600160401b03811115614fc957600080fd5b61463f868287016147e6565b60006101008284031215614fe857600080fd5b614ff0613fd2565b90508135614ffd81613f4c565b8152602082013561500d8161405c565b602082015261501f836040840161407c565b6040820152615031836080840161407c565b606082015260c08201356150448161405c565b608082015260e0919091013560a0820152919050565b600080610120838503121561506e57600080fd5b823561507981613f4c565b91506150888460208501614fd5565b90509250929050565b6000806000606084860312156150a657600080fd5b83356150b181613f4c565b925060208401356150c181614232565b915060408401356001600160401b038111156150dc57600080fd5b614ec9868287016146e8565b600060e082840312156150fa57600080fd5b61510261403a565b905081356001600160401b038082111561511b57600080fd5b6151278583860161424d565b835261513560208501614071565b602084015261514660408501614071565b604084015261515760608501614071565b606084015261516860808501613f61565b6080840152614d9860a08501613f61565b60008060006060848603121561518e57600080fd5b833561519981613f4c565b925060208401356001600160401b038111156151b457600080fd5b61463f868287016150e8565b60a081016114118284614ed3565b6000806000606084860312156151e357600080fd5b83356151ee81614504565b925060208401356001600160401b0381111561520957600080fd5b61463f868287016149af565b60008060006060848603121561522a57600080fd5b83356152358161416e565b92506020840135614b948161416e565b60008060006060848603121561525a57600080fd5b833561526581613f4c565b92506020840135614b9481614232565b6000806040838503121561528857600080fd5b82356152938161405c565b946020939093013593505050565b6000806000606084860312156152b657600080fd5b83356152c18161405c565b925060208401356152d18161405c565b915060408401356141be8161405c565b600080604083850312156152f457600080fd5b82356152ff81614504565b915060208301356001600160401b0381111561531a57600080fd5b6149a585828601614d0e565b6000806040838503121561533957600080fd5b823561534481613f4c565b915060208301356001600160401b0381111561535f57600080fd5b6149a5858286016150e8565b60008060006060848603121561538057600080fd5b833561538b8161405c565b9250602084013561539b8161405c565b929592945050506040919091013590565b60ff198116811461191d57600080fd5b600080604083850312156153cf57600080fd5b82356153da8161416e565b91506020830135614214816153ac565b6000806000610140848603121561540057600080fd5b833561540b81613f4c565b925061541a8560208601614fd5565b91506101208401356141be8161416e565b6000806040838503121561543e57600080fd5b82356154498161405c565b915060208301356142148161405c565b600080610160838503121561546d57600080fd5b823561547881613f4c565b915061508884602085016140c5565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b0316908201526060808301516101408301916154d6908401826001600160601b03169052565b5060808301516154f3608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b0381166101208401525092915050565b6020815261ffff82511660208201526001600160601b036020830151166040820152600060408301516080606084015261557360a084018261444d565b905064ffffffffff60608501511660808401528091505092915050565b6000602082840312156155a257600080fd5b815161280d8161405c565b600181811c908216806155c157607f821691505b6020821081036155e157634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156155f957600080fd5b815161280d816140ac565b60006020828403121561561657600080fd5b815161280d81613f4c565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a0606084015261565f60c084018261444d565b90506001600160601b03606085015116608084015263ffffffff60808501511660a08401528091505092915050565b601f821115610ba457600081815260208120601f850160051c810160208610156156b55750805b601f850160051c820191505b81811015612ab0578281556001016156c1565b81516001600160401b038111156156ed576156ed613f71565b615701816156fb84546155ad565b8461568e565b602080601f831160018114615736576000841561571e5750858301515b600019600386901b1c1916600185901b178555612ab0565b600085815260208120601f198616915b8281101561576557888601518255948401946001909101908401615746565b50858210156157835787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260ff6060840151166080830152608083015160c060a08401526157ea60e084018261444d565b905064ffffffffff60a08501511660c08401528091505092915050565b602081526158216020820183516001600160601b03169052565b6000602083015161583d60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e08301516101006158c38185018364ffffffffff169052565b8085015191505061022061012081818601526158e361024086018461444d565b9250808601519050610140601f198685030181870152615903848361444d565b93508087015191505061016061591e8187018361ffff169052565b86015190506101806159358682018361ffff169052565b86015190506101a0615951868201836001600160601b03169052565b86015190506101c061596d868201836001600160601b03169052565b86015190506101e06159878682018364ffffffffff169052565b86015190506102006159a18682018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b6001600160c01b031991909116815260200190565b6000602082840312156159df57600080fd5b5051919050565b602081526001600160601b038251166020820152600060208301516040808401526144fc606084018261444d565b6020815260008251610120806020850152615a3361014085018361444d565b91506020850151604085015260408501516060850152606085015160808501526080850151615a6a60a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e0850151610100615aa08187018315159052565b860151858403601f1901838701529050615aba838261444d565b9695505050505050565b60208152615ade6020820183516001600160601b03169052565b60006020830151615afc604084018280518252602090810151910152565b506040830151610140806080850152615b1961016085018361444d565b91506060850151615b3560a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c0850151610100615b7a8187018364ffffffffff169052565b60e087015164ffffffffff811661012088015291506159a1565b602081526001600160601b0382511660208201526000602083015160e06040840152615bc461010084018261444d565b90506040840151606084015263ffffffff60608501511660808401526080840151615bf760a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e0850152615c27828261444d565b95945050505050565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b602081526000825160e06020840152615cc161010084018261444d565b9050602084015160018060a01b03808216604086015280604087015116606086015280606087015116608086015250506080840151615d0b60a08501826001600160601b03169052565b5060a08401516001600160601b03811660c0850152615c0b565b634e487b7160e01b600052600160045260246000fd5b600060208284031215615d4d57600080fd5b815161280d8161416e565b60008085851115615d6857600080fd5b83861115615d7557600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015615daa5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600060208284031215615e0457600080fd5b815161280d816153ac565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e00190565b600060208284031215615e7157600080fd5b81516001600160401b038116811461280d57600080fd5b60008251615e9a818460208701614429565b9190910192915050565b60008060408385031215615eb757600080fd5b8251615ec2816140ac565b60208401519092506142148161452556fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212201731abcd43ba6d00fc75ea3ffd45eee4f706f666287e2244790c803899c6414f64736f6c63430008140033",
2775
3021
  "linkReferences": {
3022
+ "contracts/types/ClaimId.sol": {
3023
+ "ClaimIdLib": [
3024
+ {
3025
+ "length": 20,
3026
+ "start": 13276
3027
+ }
3028
+ ]
3029
+ },
3030
+ "contracts/types/DistributorType.sol": {
3031
+ "DistributorTypeLib": [
3032
+ {
3033
+ "length": 20,
3034
+ "start": 4803
3035
+ },
3036
+ {
3037
+ "length": 20,
3038
+ "start": 5905
3039
+ },
3040
+ {
3041
+ "length": 20,
3042
+ "start": 7693
3043
+ }
3044
+ ]
3045
+ },
2776
3046
  "contracts/types/Key32.sol": {
2777
3047
  "Key32Lib": [
2778
3048
  {
2779
3049
  "length": 20,
2780
- "start": 9222
3050
+ "start": 10191
2781
3051
  },
2782
3052
  {
2783
3053
  "length": 20,
2784
- "start": 10601
3054
+ "start": 11652
2785
3055
  },
2786
3056
  {
2787
3057
  "length": 20,
2788
- "start": 11350
3058
+ "start": 11768
2789
3059
  },
2790
3060
  {
2791
3061
  "length": 20,
2792
- "start": 11466
3062
+ "start": 11950
2793
3063
  },
2794
3064
  {
2795
3065
  "length": 20,
2796
- "start": 12204
3066
+ "start": 12066
2797
3067
  },
2798
3068
  {
2799
3069
  "length": 20,
2800
- "start": 12320
3070
+ "start": 12832
2801
3071
  },
2802
3072
  {
2803
3073
  "length": 20,
2804
- "start": 13052
3074
+ "start": 12948
2805
3075
  },
2806
3076
  {
2807
3077
  "length": 20,
2808
- "start": 13168
3078
+ "start": 13335
2809
3079
  },
2810
3080
  {
2811
3081
  "length": 20,
2812
- "start": 13350
3082
+ "start": 14088
2813
3083
  },
2814
3084
  {
2815
3085
  "length": 20,
2816
- "start": 13466
3086
+ "start": 14204
2817
3087
  }
2818
3088
  ]
2819
3089
  },
@@ -2821,31 +3091,47 @@
2821
3091
  "NftIdLib": [
2822
3092
  {
2823
3093
  "length": 20,
2824
- "start": 4978
3094
+ "start": 3805
2825
3095
  },
2826
3096
  {
2827
3097
  "length": 20,
2828
- "start": 6424
3098
+ "start": 6872
2829
3099
  },
2830
3100
  {
2831
3101
  "length": 20,
2832
- "start": 7223
2833
- },
3102
+ "start": 11011
3103
+ }
3104
+ ]
3105
+ },
3106
+ "contracts/types/ObjectType.sol": {
3107
+ "ObjectTypeLib": [
2834
3108
  {
2835
3109
  "length": 20,
2836
- "start": 8385
2837
- },
3110
+ "start": 13456
3111
+ }
3112
+ ]
3113
+ },
3114
+ "contracts/types/PayoutId.sol": {
3115
+ "PayoutIdLib": [
2838
3116
  {
2839
3117
  "length": 20,
2840
- "start": 9876
3118
+ "start": 13126
2841
3119
  }
2842
3120
  ]
2843
3121
  },
2844
- "contracts/types/ObjectType.sol": {
2845
- "ObjectTypeLib": [
3122
+ "contracts/types/Referral.sol": {
3123
+ "ReferralLib": [
3124
+ {
3125
+ "length": 20,
3126
+ "start": 6065
3127
+ },
3128
+ {
3129
+ "length": 20,
3130
+ "start": 8212
3131
+ },
2846
3132
  {
2847
3133
  "length": 20,
2848
- "start": 10722
3134
+ "start": 9338
2849
3135
  }
2850
3136
  ]
2851
3137
  },
@@ -2853,15 +3139,23 @@
2853
3139
  "RiskIdLib": [
2854
3140
  {
2855
3141
  "length": 20,
2856
- "start": 5598
3142
+ "start": 4643
2857
3143
  },
2858
3144
  {
2859
3145
  "length": 20,
2860
- "start": 7083
3146
+ "start": 6664
2861
3147
  },
2862
3148
  {
2863
3149
  "length": 20,
2864
- "start": 8470
3150
+ "start": 7811
3151
+ }
3152
+ ]
3153
+ },
3154
+ "contracts/types/RoleId.sol": {
3155
+ "RoleIdLib": [
3156
+ {
3157
+ "length": 20,
3158
+ "start": 15774
2865
3159
  }
2866
3160
  ]
2867
3161
  },
@@ -2869,81 +3163,113 @@
2869
3163
  "StateIdLib": [
2870
3164
  {
2871
3165
  "length": 20,
2872
- "start": 5796
3166
+ "start": 5075
2873
3167
  },
2874
3168
  {
2875
3169
  "length": 20,
2876
- "start": 8624
3170
+ "start": 7986
2877
3171
  },
2878
3172
  {
2879
3173
  "length": 20,
2880
- "start": 8983
3174
+ "start": 8780
2881
3175
  },
2882
3176
  {
2883
3177
  "length": 20,
2884
- "start": 10939
3178
+ "start": 11069
2885
3179
  },
2886
3180
  {
2887
3181
  "length": 20,
2888
- "start": 11658
3182
+ "start": 11289
2889
3183
  },
2890
3184
  {
2891
3185
  "length": 20,
2892
- "start": 11878
3186
+ "start": 12270
2893
3187
  },
2894
3188
  {
2895
3189
  "length": 20,
2896
- "start": 12478
3190
+ "start": 12490
2897
3191
  },
2898
3192
  {
2899
3193
  "length": 20,
2900
- "start": 12698
3194
+ "start": 13677
3195
+ }
3196
+ ]
3197
+ },
3198
+ "contracts/types/Version.sol": {
3199
+ "VersionPartLib": [
3200
+ {
3201
+ "length": 20,
3202
+ "start": 9495
2901
3203
  }
2902
3204
  ]
2903
3205
  }
2904
3206
  },
2905
3207
  "deployedLinkReferences": {
3208
+ "contracts/types/ClaimId.sol": {
3209
+ "ClaimIdLib": [
3210
+ {
3211
+ "length": 20,
3212
+ "start": 13243
3213
+ }
3214
+ ]
3215
+ },
3216
+ "contracts/types/DistributorType.sol": {
3217
+ "DistributorTypeLib": [
3218
+ {
3219
+ "length": 20,
3220
+ "start": 4770
3221
+ },
3222
+ {
3223
+ "length": 20,
3224
+ "start": 5872
3225
+ },
3226
+ {
3227
+ "length": 20,
3228
+ "start": 7660
3229
+ }
3230
+ ]
3231
+ },
2906
3232
  "contracts/types/Key32.sol": {
2907
3233
  "Key32Lib": [
2908
3234
  {
2909
3235
  "length": 20,
2910
- "start": 7319
3236
+ "start": 10158
2911
3237
  },
2912
3238
  {
2913
3239
  "length": 20,
2914
- "start": 8698
3240
+ "start": 11619
2915
3241
  },
2916
3242
  {
2917
3243
  "length": 20,
2918
- "start": 9447
3244
+ "start": 11735
2919
3245
  },
2920
3246
  {
2921
3247
  "length": 20,
2922
- "start": 9563
3248
+ "start": 11917
2923
3249
  },
2924
3250
  {
2925
3251
  "length": 20,
2926
- "start": 10301
3252
+ "start": 12033
2927
3253
  },
2928
3254
  {
2929
3255
  "length": 20,
2930
- "start": 10417
3256
+ "start": 12799
2931
3257
  },
2932
3258
  {
2933
3259
  "length": 20,
2934
- "start": 11149
3260
+ "start": 12915
2935
3261
  },
2936
3262
  {
2937
3263
  "length": 20,
2938
- "start": 11265
3264
+ "start": 13302
2939
3265
  },
2940
3266
  {
2941
3267
  "length": 20,
2942
- "start": 11447
3268
+ "start": 14055
2943
3269
  },
2944
3270
  {
2945
3271
  "length": 20,
2946
- "start": 11563
3272
+ "start": 14171
2947
3273
  }
2948
3274
  ]
2949
3275
  },
@@ -2951,31 +3277,47 @@
2951
3277
  "NftIdLib": [
2952
3278
  {
2953
3279
  "length": 20,
2954
- "start": 3075
3280
+ "start": 3772
2955
3281
  },
2956
3282
  {
2957
3283
  "length": 20,
2958
- "start": 4521
3284
+ "start": 6839
2959
3285
  },
2960
3286
  {
2961
3287
  "length": 20,
2962
- "start": 5320
2963
- },
3288
+ "start": 10978
3289
+ }
3290
+ ]
3291
+ },
3292
+ "contracts/types/ObjectType.sol": {
3293
+ "ObjectTypeLib": [
2964
3294
  {
2965
3295
  "length": 20,
2966
- "start": 6482
2967
- },
3296
+ "start": 13423
3297
+ }
3298
+ ]
3299
+ },
3300
+ "contracts/types/PayoutId.sol": {
3301
+ "PayoutIdLib": [
2968
3302
  {
2969
3303
  "length": 20,
2970
- "start": 7973
3304
+ "start": 13093
2971
3305
  }
2972
3306
  ]
2973
3307
  },
2974
- "contracts/types/ObjectType.sol": {
2975
- "ObjectTypeLib": [
3308
+ "contracts/types/Referral.sol": {
3309
+ "ReferralLib": [
2976
3310
  {
2977
3311
  "length": 20,
2978
- "start": 8819
3312
+ "start": 6032
3313
+ },
3314
+ {
3315
+ "length": 20,
3316
+ "start": 8179
3317
+ },
3318
+ {
3319
+ "length": 20,
3320
+ "start": 9305
2979
3321
  }
2980
3322
  ]
2981
3323
  },
@@ -2983,15 +3325,23 @@
2983
3325
  "RiskIdLib": [
2984
3326
  {
2985
3327
  "length": 20,
2986
- "start": 3695
3328
+ "start": 4610
2987
3329
  },
2988
3330
  {
2989
3331
  "length": 20,
2990
- "start": 5180
3332
+ "start": 6631
2991
3333
  },
2992
3334
  {
2993
3335
  "length": 20,
2994
- "start": 6567
3336
+ "start": 7778
3337
+ }
3338
+ ]
3339
+ },
3340
+ "contracts/types/RoleId.sol": {
3341
+ "RoleIdLib": [
3342
+ {
3343
+ "length": 20,
3344
+ "start": 15741
2995
3345
  }
2996
3346
  ]
2997
3347
  },
@@ -2999,35 +3349,43 @@
2999
3349
  "StateIdLib": [
3000
3350
  {
3001
3351
  "length": 20,
3002
- "start": 3893
3352
+ "start": 5042
3003
3353
  },
3004
3354
  {
3005
3355
  "length": 20,
3006
- "start": 6721
3356
+ "start": 7953
3007
3357
  },
3008
3358
  {
3009
3359
  "length": 20,
3010
- "start": 7080
3360
+ "start": 8747
3011
3361
  },
3012
3362
  {
3013
3363
  "length": 20,
3014
- "start": 9036
3364
+ "start": 11036
3015
3365
  },
3016
3366
  {
3017
3367
  "length": 20,
3018
- "start": 9755
3368
+ "start": 11256
3019
3369
  },
3020
3370
  {
3021
3371
  "length": 20,
3022
- "start": 9975
3372
+ "start": 12237
3023
3373
  },
3024
3374
  {
3025
3375
  "length": 20,
3026
- "start": 10575
3376
+ "start": 12457
3027
3377
  },
3028
3378
  {
3029
3379
  "length": 20,
3030
- "start": 10795
3380
+ "start": 13644
3381
+ }
3382
+ ]
3383
+ },
3384
+ "contracts/types/Version.sol": {
3385
+ "VersionPartLib": [
3386
+ {
3387
+ "length": 20,
3388
+ "start": 9462
3031
3389
  }
3032
3390
  ]
3033
3391
  }