@etherisc/gif-next 0.0.2-e1e92ab-754 → 0.0.2-e20063b-144

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