@etherisc/gif-next 0.0.2-da77c50-824 → 0.0.2-db81915-875

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