@etherisc/gif-next 0.0.2-cc4a5cb-898 → 0.0.2-cdac553-411

Sign up to get free protection for your applications and to get access to all the features.
Files changed (381) hide show
  1. package/README.md +148 -26
  2. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +1 -1
  3. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +176 -23
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +308 -43
  6. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +1 -1
  7. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +129 -23
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +36 -172
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -238
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -213
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +391 -96
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +409 -78
  18. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +4 -0
  19. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +66 -0
  20. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +4 -0
  21. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +24 -0
  22. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +4 -0
  23. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +42 -0
  24. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  25. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  26. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  28. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  29. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  30. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  31. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  32. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  33. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  34. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
  35. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +2 -2
  36. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
  37. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
  38. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
  39. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +2 -2
  40. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
  41. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +2 -2
  42. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  43. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  44. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +4 -0
  45. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.json +101 -0
  46. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +4 -0
  47. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +1132 -0
  48. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +4 -0
  49. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +1082 -0
  50. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  51. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +238 -1492
  52. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  53. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +480 -0
  54. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  55. package/artifacts/contracts/instance/Instance.sol/Instance.json +2298 -1144
  56. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  57. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +917 -0
  58. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  59. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1388 -0
  60. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  61. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +891 -0
  62. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  63. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +492 -0
  64. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +1 -1
  65. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +229 -43
  66. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +1 -1
  67. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +1 -1
  68. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  69. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +27 -158
  70. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  71. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  72. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +37 -245
  73. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  74. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +2 -2
  75. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  76. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +211 -0
  77. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  78. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  79. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  80. package/artifacts/contracts/instance/module/{distribution/IDistribution.sol → IDistribution.sol}/IDistribution.json +1 -1
  81. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  82. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  83. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  84. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  85. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  86. package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/ISetup.sol/ISetup.json} +2 -2
  87. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  88. package/artifacts/contracts/instance/module/{treasury/ITreasury.sol → ITreasury.sol}/ITreasury.json +1 -1
  89. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +1 -1
  90. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +375 -79
  91. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  92. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +290 -53
  93. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  94. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +436 -0
  95. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +1 -1
  96. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +177 -75
  97. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  98. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +174 -53
  99. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  100. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +176 -55
  101. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  102. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +179 -58
  103. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  104. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +307 -54
  105. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  106. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +448 -0
  107. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  108. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +186 -12
  109. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  110. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +485 -37
  111. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  112. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +853 -0
  113. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  114. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
  115. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  116. package/artifacts/contracts/registry/Registry.sol/Registry.json +597 -122
  117. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  118. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1237 -0
  119. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  120. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +525 -0
  121. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  122. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +410 -0
  123. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  124. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  125. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  126. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
  127. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  128. package/artifacts/contracts/{instance/module/component/ComponentModule.sol/ComponentModule.json → shared/INftOwnable.sol/INftOwnable.json} +67 -57
  129. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  130. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +117 -37
  131. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  132. package/artifacts/contracts/{instance/base/InstanceBase.sol/InstanceBase.json → shared/IService.sol/IService.json} +168 -123
  133. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  134. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +55 -14
  135. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  136. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +158 -0
  137. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  138. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +349 -0
  139. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  140. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +190 -37
  141. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +4 -0
  142. package/artifacts/contracts/{instance/base/IService.sol/IService.json → shared/RegisterableUpgradable.sol/RegisterableUpgradable.json} +215 -73
  143. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  144. package/artifacts/contracts/{instance/base/ServiceBase.sol/ServiceBase.json → shared/Service.sol/Service.json} +222 -54
  145. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  146. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
  147. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  148. package/artifacts/contracts/shared/{Proxy.sol/ProxyWithProxyAdminGetter.json → UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json} +4 -4
  149. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  150. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +78 -14
  151. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  152. package/artifacts/contracts/test/TestFee.sol/TestFee.json +4 -4
  153. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  154. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +204 -36
  155. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  156. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +14 -14
  157. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  158. package/artifacts/contracts/test/TestService.sol/TestService.json +283 -62
  159. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  160. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
  161. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  162. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  163. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  164. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +103 -23
  165. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  166. package/artifacts/contracts/test/Usdc.sol/USDC.json +91 -53
  167. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  168. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  169. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  170. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  171. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  172. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  173. package/artifacts/contracts/types/Fee.sol/FeeLib.json +4 -4
  174. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  175. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +31 -17
  176. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  177. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
  178. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  179. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +2 -2
  180. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  181. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  182. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  183. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  184. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  185. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +123 -0
  186. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  187. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  188. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  189. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +134 -8
  190. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  191. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  192. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  193. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +15 -2
  194. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  195. package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
  196. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  197. package/artifacts/contracts/types/UFixed.sol/{UFixedMathLib.json → UFixedLib.json} +3 -3
  198. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  199. package/artifacts/contracts/types/Version.sol/VersionLib.json +40 -2
  200. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  202. package/contracts/components/BaseComponent.sol +26 -29
  203. package/contracts/components/Distribution.sol +52 -18
  204. package/contracts/components/IBaseComponent.sol +9 -3
  205. package/contracts/components/IDistributionComponent.sol +5 -6
  206. package/contracts/components/IPoolComponent.sol +2 -11
  207. package/contracts/components/IProductComponent.sol +4 -7
  208. package/contracts/components/Pool.sol +87 -75
  209. package/contracts/components/Product.sol +111 -41
  210. package/contracts/experiment/cloning/Cloner.sol +47 -0
  211. package/contracts/instance/AccessManagedSimple.sol +115 -0
  212. package/contracts/instance/AccessManagerSimple.sol +692 -0
  213. package/contracts/instance/IAccessManagerSimple.sol +391 -0
  214. package/contracts/instance/IInstance.sol +31 -45
  215. package/contracts/instance/IInstanceService.sol +30 -0
  216. package/contracts/instance/Instance.sol +426 -57
  217. package/contracts/instance/InstanceAccessManager.sol +288 -0
  218. package/contracts/instance/InstanceReader.sol +306 -0
  219. package/contracts/instance/InstanceService.sol +180 -0
  220. package/contracts/instance/InstanceServiceManager.sol +56 -0
  221. package/contracts/instance/base/ComponentServiceBase.sol +12 -13
  222. package/contracts/instance/base/IInstanceBase.sol +3 -2
  223. package/contracts/instance/base/IKeyValueStore.sol +13 -14
  224. package/contracts/instance/base/ILifecycle.sol +3 -3
  225. package/contracts/instance/base/KeyValueStore.sol +49 -38
  226. package/contracts/instance/base/Lifecycle.sol +1 -1
  227. package/contracts/instance/module/IAccess.sol +38 -0
  228. package/contracts/instance/module/IBundle.sol +20 -0
  229. package/contracts/instance/module/IDistribution.sol +39 -0
  230. package/contracts/instance/module/IPolicy.sol +45 -0
  231. package/contracts/instance/module/IRisk.sol +11 -0
  232. package/contracts/instance/module/ISetup.sol +44 -0
  233. package/contracts/instance/module/ITreasury.sol +23 -0
  234. package/contracts/instance/service/ComponentOwnerService.sol +232 -72
  235. package/contracts/instance/service/DistributionService.sol +66 -20
  236. package/contracts/instance/service/DistributionServiceManager.sol +53 -0
  237. package/contracts/instance/service/IComponentOwnerService.sol +1 -3
  238. package/contracts/instance/service/IDistributionService.sol +1 -1
  239. package/contracts/instance/service/IPoolService.sol +1 -1
  240. package/contracts/instance/service/IProductService.sol +3 -3
  241. package/contracts/instance/service/PoolService.sol +116 -54
  242. package/contracts/instance/service/PoolServiceManager.sol +53 -0
  243. package/contracts/registry/ChainNft.sol +80 -37
  244. package/contracts/registry/IRegistry.sol +62 -25
  245. package/contracts/registry/IRegistryService.sol +33 -0
  246. package/contracts/registry/ITransferInterceptor.sol +6 -0
  247. package/contracts/registry/Registry.sol +374 -266
  248. package/contracts/registry/RegistryService.sol +399 -0
  249. package/contracts/registry/RegistryServiceManager.sol +80 -0
  250. package/contracts/registry/TokenRegistry.sol +111 -0
  251. package/contracts/shared/ContractDeployerLib.sol +72 -0
  252. package/contracts/shared/ERC165.sol +6 -2
  253. package/contracts/shared/INftOwnable.sol +22 -0
  254. package/contracts/shared/IRegisterable.sol +8 -15
  255. package/contracts/{instance/base → shared}/IService.sol +3 -3
  256. package/contracts/shared/IVersionable.sol +55 -11
  257. package/contracts/shared/NftOwnable.sol +136 -0
  258. package/contracts/shared/ProxyManager.sol +94 -0
  259. package/contracts/shared/Registerable.sol +63 -59
  260. package/contracts/shared/RegisterableUpgradable.sol +16 -0
  261. package/contracts/shared/Service.sol +54 -0
  262. package/contracts/shared/TokenHandler.sol +27 -0
  263. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  264. package/contracts/shared/Versionable.sol +113 -55
  265. package/contracts/test/TestFee.sol +2 -2
  266. package/contracts/test/TestRegisterable.sol +5 -6
  267. package/contracts/test/TestRoleId.sol +1 -1
  268. package/contracts/test/TestService.sol +5 -13
  269. package/contracts/types/DistributorType.sol +55 -0
  270. package/contracts/types/Fee.sol +3 -3
  271. package/contracts/types/Key32.sol +8 -3
  272. package/contracts/types/NumberId.sol +52 -0
  273. package/contracts/types/ObjectType.sol +35 -14
  274. package/contracts/types/Referral.sol +85 -0
  275. package/contracts/types/RoleId.sol +60 -9
  276. package/contracts/types/StateId.sol +5 -1
  277. package/contracts/types/Timestamp.sol +7 -3
  278. package/contracts/types/UFixed.sol +128 -12
  279. package/contracts/types/Version.sol +13 -1
  280. package/package.json +4 -3
  281. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  282. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  283. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  284. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  285. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  286. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  287. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  288. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  289. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  290. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.json +0 -10
  291. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  292. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  293. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  294. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -297
  295. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  296. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  297. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -297
  298. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  299. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  300. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  301. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  302. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -117
  303. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +0 -4
  304. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +0 -10
  305. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +0 -4
  306. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +0 -4
  307. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.json +0 -10
  308. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  309. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  310. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -284
  311. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  312. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -284
  313. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  314. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  315. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  316. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -144
  317. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  318. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -144
  319. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  320. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  321. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -113
  322. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  323. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -131
  324. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  325. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  326. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -511
  327. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  328. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  329. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  330. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -511
  331. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  332. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -858
  333. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  334. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -452
  335. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  336. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +0 -24
  337. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  338. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
  339. package/artifacts/contracts/shared/Proxy.sol/Proxy.dbg.json +0 -4
  340. package/artifacts/contracts/shared/Proxy.sol/Proxy.json +0 -178
  341. package/artifacts/contracts/shared/Proxy.sol/ProxyWithProxyAdminGetter.dbg.json +0 -4
  342. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +0 -4
  343. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +0 -405
  344. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  345. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -578
  346. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  347. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -575
  348. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +0 -4
  349. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.json +0 -99
  350. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  351. package/contracts/experiment/statemachine/README.md +0 -112
  352. package/contracts/instance/IInstanceLinked.sol +0 -8
  353. package/contracts/instance/base/InstanceBase.sol +0 -91
  354. package/contracts/instance/base/ModuleBase.sol +0 -57
  355. package/contracts/instance/base/ServiceBase.sol +0 -37
  356. package/contracts/instance/module/access/Access.sol +0 -149
  357. package/contracts/instance/module/access/IAccess.sol +0 -53
  358. package/contracts/instance/module/bundle/BundleModule.sol +0 -134
  359. package/contracts/instance/module/bundle/IBundle.sol +0 -53
  360. package/contracts/instance/module/component/ComponentModule.sol +0 -70
  361. package/contracts/instance/module/component/IComponent.sol +0 -28
  362. package/contracts/instance/module/distribution/DistributionModule.sol +0 -17
  363. package/contracts/instance/module/distribution/IDistribution.sol +0 -10
  364. package/contracts/instance/module/policy/IPolicy.sol +0 -63
  365. package/contracts/instance/module/policy/PolicyModule.sol +0 -91
  366. package/contracts/instance/module/pool/IPoolModule.sol +0 -40
  367. package/contracts/instance/module/pool/PoolModule.sol +0 -90
  368. package/contracts/instance/module/risk/IRisk.sol +0 -26
  369. package/contracts/instance/module/risk/RiskModule.sol +0 -62
  370. package/contracts/instance/module/treasury/ITreasury.sol +0 -82
  371. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  372. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -138
  373. package/contracts/instance/service/ProductService.sol +0 -509
  374. package/contracts/registry/IChainNft.sol +0 -21
  375. package/contracts/registry/IRegistryLinked.sol +0 -8
  376. package/contracts/shared/IOwnable.sol +0 -6
  377. package/contracts/shared/Proxy.sol +0 -83
  378. package/contracts/test/TestDistribution.sol +0 -21
  379. package/contracts/test/TestPool.sol +0 -25
  380. package/contracts/test/TestProduct.sol +0 -72
  381. package/contracts/types/ReferralId.sol +0 -48
@@ -7,7 +7,12 @@
7
7
  "inputs": [
8
8
  {
9
9
  "internalType": "address",
10
- "name": "registry",
10
+ "name": "accessManagerAddress",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "internalType": "address",
15
+ "name": "registryAddress",
11
16
  "type": "address"
12
17
  },
13
18
  {
@@ -20,374 +25,717 @@
20
25
  "type": "constructor"
21
26
  },
22
27
  {
23
- "anonymous": false,
24
28
  "inputs": [
25
29
  {
26
- "indexed": false,
27
- "internalType": "RoleId",
28
- "name": "role",
29
- "type": "bytes8"
30
- },
31
- {
32
- "indexed": false,
33
- "internalType": "string",
34
- "name": "roleName",
35
- "type": "string"
30
+ "internalType": "address",
31
+ "name": "authority",
32
+ "type": "address"
36
33
  }
37
34
  ],
38
- "name": "LogAccessRoleCreated",
39
- "type": "event"
35
+ "name": "AccessManagedInvalidAuthority",
36
+ "type": "error"
40
37
  },
41
38
  {
42
- "anonymous": false,
43
39
  "inputs": [
44
40
  {
45
- "indexed": false,
46
- "internalType": "RoleId",
47
- "name": "role",
48
- "type": "bytes8"
49
- },
50
- {
51
- "indexed": false,
52
41
  "internalType": "address",
53
- "name": "member",
42
+ "name": "caller",
54
43
  "type": "address"
55
44
  },
56
45
  {
57
- "indexed": false,
58
- "internalType": "bool",
59
- "name": "isMember",
60
- "type": "bool"
46
+ "internalType": "uint32",
47
+ "name": "delay",
48
+ "type": "uint32"
61
49
  }
62
50
  ],
63
- "name": "LogAccessRoleGranted",
64
- "type": "event"
51
+ "name": "AccessManagedRequiredDelay",
52
+ "type": "error"
65
53
  },
66
54
  {
67
- "anonymous": false,
68
55
  "inputs": [
69
56
  {
70
- "indexed": false,
71
- "internalType": "RoleId",
72
- "name": "role",
73
- "type": "bytes8"
74
- },
75
- {
76
- "indexed": false,
77
- "internalType": "bool",
78
- "name": "active",
79
- "type": "bool"
57
+ "internalType": "address",
58
+ "name": "caller",
59
+ "type": "address"
80
60
  }
81
61
  ],
82
- "name": "LogAccessRoleStateSet",
83
- "type": "event"
62
+ "name": "AccessManagedUnauthorized",
63
+ "type": "error"
84
64
  },
85
65
  {
86
- "anonymous": false,
87
66
  "inputs": [
88
67
  {
89
- "indexed": false,
90
- "internalType": "Version",
91
- "name": "version",
92
- "type": "uint24"
93
- },
94
- {
95
- "indexed": false,
96
68
  "internalType": "address",
97
- "name": "implementation",
69
+ "name": "registry",
98
70
  "type": "address"
99
71
  },
100
72
  {
101
- "indexed": false,
102
- "internalType": "address",
103
- "name": "activatedBy",
104
- "type": "address"
73
+ "internalType": "NftId",
74
+ "name": "nftId",
75
+ "type": "uint96"
105
76
  }
106
77
  ],
107
- "name": "LogVersionableActivated",
108
- "type": "event"
78
+ "name": "ErrorAlreadyLinked",
79
+ "type": "error"
109
80
  },
110
81
  {
111
82
  "inputs": [
112
83
  {
113
84
  "internalType": "address",
114
- "name": "implementation",
115
- "type": "address"
116
- },
117
- {
118
- "internalType": "address",
119
- "name": "activatedBy",
85
+ "name": "contractAddress",
120
86
  "type": "address"
121
87
  }
122
88
  ],
123
- "name": "activate",
124
- "outputs": [],
125
- "stateMutability": "nonpayable",
126
- "type": "function"
89
+ "name": "ErrorContractNotRegistered",
90
+ "type": "error"
127
91
  },
128
92
  {
129
93
  "inputs": [
130
94
  {
131
- "internalType": "NftId",
132
- "name": "bundleNftId",
133
- "type": "uint96"
134
- },
135
- {
136
- "internalType": "NftId",
137
- "name": "poolNftId",
138
- "type": "uint96"
139
- },
140
- {
141
- "internalType": "uint256",
142
- "name": "",
143
- "type": "uint256"
95
+ "internalType": "RoleId",
96
+ "name": "roleId",
97
+ "type": "uint64"
144
98
  }
145
99
  ],
146
- "name": "addBundleToPool",
147
- "outputs": [],
148
- "stateMutability": "nonpayable",
149
- "type": "function"
100
+ "name": "ErrorGrantNonexstentRole",
101
+ "type": "error"
150
102
  },
151
103
  {
152
104
  "inputs": [
153
105
  {
154
- "internalType": "uint256",
155
- "name": "amount",
156
- "type": "uint256"
106
+ "internalType": "ObjectType",
107
+ "name": "objectType",
108
+ "type": "uint8"
157
109
  },
158
110
  {
159
- "components": [
160
- {
161
- "internalType": "UFixed",
162
- "name": "fractionalFee",
163
- "type": "uint256"
164
- },
165
- {
166
- "internalType": "uint256",
167
- "name": "fixedFee",
168
- "type": "uint256"
169
- }
170
- ],
171
- "internalType": "struct Fee",
172
- "name": "fee",
173
- "type": "tuple"
174
- }
175
- ],
176
- "name": "calculateFeeAmount",
177
- "outputs": [
178
- {
179
- "internalType": "uint256",
180
- "name": "feeAmount",
181
- "type": "uint256"
111
+ "internalType": "StateId",
112
+ "name": "fromStateId",
113
+ "type": "uint8"
182
114
  },
183
115
  {
184
- "internalType": "uint256",
185
- "name": "netAmount",
186
- "type": "uint256"
116
+ "internalType": "StateId",
117
+ "name": "toStateId",
118
+ "type": "uint8"
187
119
  }
188
120
  ],
189
- "stateMutability": "pure",
190
- "type": "function"
121
+ "name": "ErrorInvalidStateTransition",
122
+ "type": "error"
191
123
  },
192
124
  {
193
125
  "inputs": [
194
126
  {
195
127
  "internalType": "NftId",
196
- "name": "bundleNftId",
197
- "type": "uint96"
198
- },
199
- {
200
- "internalType": "NftId",
201
- "name": "policyNftId",
128
+ "name": "nftId",
202
129
  "type": "uint96"
203
130
  },
204
131
  {
205
- "internalType": "uint256",
206
- "name": "collateralAmount",
207
- "type": "uint256"
132
+ "internalType": "ObjectType",
133
+ "name": "objectType",
134
+ "type": "uint8"
208
135
  }
209
136
  ],
210
- "name": "collateralizePolicy",
211
- "outputs": [],
212
- "stateMutability": "nonpayable",
213
- "type": "function"
137
+ "name": "ErrorNoLifecycle",
138
+ "type": "error"
214
139
  },
215
140
  {
216
141
  "inputs": [
217
142
  {
218
- "internalType": "NftId",
219
- "name": "bundleNftId",
220
- "type": "uint96"
221
- },
222
- {
223
- "internalType": "NftId",
224
- "name": "poolNftId",
225
- "type": "uint96"
226
- },
227
- {
228
- "components": [
229
- {
230
- "internalType": "UFixed",
231
- "name": "fractionalFee",
232
- "type": "uint256"
233
- },
234
- {
235
- "internalType": "uint256",
236
- "name": "fixedFee",
237
- "type": "uint256"
238
- }
239
- ],
240
- "internalType": "struct Fee",
241
- "name": "fee",
242
- "type": "tuple"
243
- },
244
- {
245
- "internalType": "uint256",
246
- "name": "amount",
247
- "type": "uint256"
248
- },
249
- {
250
- "internalType": "uint256",
251
- "name": "lifetime",
252
- "type": "uint256"
253
- },
254
- {
255
- "internalType": "bytes",
256
- "name": "filter",
257
- "type": "bytes"
143
+ "internalType": "address",
144
+ "name": "account",
145
+ "type": "address"
258
146
  }
259
147
  ],
260
- "name": "createBundleInfo",
261
- "outputs": [],
262
- "stateMutability": "nonpayable",
263
- "type": "function"
148
+ "name": "ErrorNotOwner",
149
+ "type": "error"
264
150
  },
265
151
  {
266
152
  "inputs": [
267
153
  {
268
- "internalType": "NftId",
269
- "name": "policyNftId",
270
- "type": "uint96"
271
- },
272
- {
273
- "internalType": "NftId",
274
- "name": "productNftId",
275
- "type": "uint96"
276
- },
277
- {
278
- "internalType": "ReferralId",
279
- "name": "referralId",
280
- "type": "bytes8"
281
- },
282
- {
283
- "internalType": "RiskId",
284
- "name": "riskId",
285
- "type": "bytes8"
286
- },
287
- {
288
- "internalType": "uint256",
289
- "name": "sumInsuredAmount",
290
- "type": "uint256"
291
- },
292
- {
293
- "internalType": "uint256",
294
- "name": "premiumAmount",
295
- "type": "uint256"
296
- },
297
- {
298
- "internalType": "uint256",
299
- "name": "lifetime",
300
- "type": "uint256"
301
- },
302
- {
303
- "internalType": "NftId",
304
- "name": "bundleNftId",
305
- "type": "uint96"
154
+ "internalType": "address",
155
+ "name": "registryAddress",
156
+ "type": "address"
306
157
  }
307
158
  ],
308
- "name": "createPolicyInfo",
309
- "outputs": [],
310
- "stateMutability": "nonpayable",
311
- "type": "function"
159
+ "name": "ErrorNotRegistry",
160
+ "type": "error"
312
161
  },
313
162
  {
314
163
  "inputs": [
315
164
  {
316
- "internalType": "RiskId",
317
- "name": "riskId",
318
- "type": "bytes8"
319
- },
320
- {
321
- "internalType": "NftId",
322
- "name": "productNftId",
323
- "type": "uint96"
324
- },
325
- {
326
- "internalType": "bytes",
327
- "name": "data",
328
- "type": "bytes"
165
+ "internalType": "address",
166
+ "name": "registryAddress",
167
+ "type": "address"
329
168
  }
330
169
  ],
331
- "name": "createRisk",
332
- "outputs": [],
333
- "stateMutability": "nonpayable",
334
- "type": "function"
170
+ "name": "ErrorRegisterableNotRegistry",
171
+ "type": "error"
172
+ },
173
+ {
174
+ "inputs": [],
175
+ "name": "ErrorRegistryAddressZero",
176
+ "type": "error"
335
177
  },
336
178
  {
337
179
  "inputs": [
338
180
  {
339
- "internalType": "string",
340
- "name": "roleName",
341
- "type": "string"
181
+ "internalType": "address",
182
+ "name": "registry",
183
+ "type": "address"
342
184
  }
343
185
  ],
344
- "name": "createRole",
345
- "outputs": [
186
+ "name": "ErrorRegistryAlreadyInitialized",
187
+ "type": "error"
188
+ },
189
+ {
190
+ "inputs": [],
191
+ "name": "ErrorRegistryNotInitialized",
192
+ "type": "error"
193
+ },
194
+ {
195
+ "inputs": [
346
196
  {
347
197
  "internalType": "RoleId",
348
- "name": "role",
349
- "type": "bytes8"
198
+ "name": "roleId",
199
+ "type": "uint64"
350
200
  }
351
201
  ],
352
- "stateMutability": "nonpayable",
353
- "type": "function"
202
+ "name": "ErrorRenounceNonexstentRole",
203
+ "type": "error"
354
204
  },
355
205
  {
356
206
  "inputs": [
357
207
  {
358
- "internalType": "NftId",
359
- "name": "poolNftId",
360
- "type": "uint96"
208
+ "internalType": "RoleId",
209
+ "name": "roleId",
210
+ "type": "uint64"
361
211
  }
362
212
  ],
363
- "name": "getBundleCount",
364
- "outputs": [
213
+ "name": "ErrorRevokeNonexstentRole",
214
+ "type": "error"
215
+ },
216
+ {
217
+ "inputs": [
365
218
  {
366
- "internalType": "uint256",
367
- "name": "bundleCount",
368
- "type": "uint256"
219
+ "internalType": "RoleId",
220
+ "name": "roleId",
221
+ "type": "uint64"
369
222
  }
370
223
  ],
371
- "stateMutability": "view",
372
- "type": "function"
224
+ "name": "ErrorRoleIdInvalid",
225
+ "type": "error"
373
226
  },
374
227
  {
375
228
  "inputs": [
376
229
  {
377
- "internalType": "NftId",
378
- "name": "bundleNftId",
230
+ "internalType": "RoleId",
231
+ "name": "roleId",
232
+ "type": "uint64"
233
+ }
234
+ ],
235
+ "name": "ErrorRoleIdNotActive",
236
+ "type": "error"
237
+ },
238
+ {
239
+ "inputs": [
240
+ {
241
+ "internalType": "RoleId",
242
+ "name": "roleId",
243
+ "type": "uint64"
244
+ }
245
+ ],
246
+ "name": "ErrorRoleIdTooBig",
247
+ "type": "error"
248
+ },
249
+ {
250
+ "inputs": [
251
+ {
252
+ "internalType": "RoleId",
253
+ "name": "roleId",
254
+ "type": "uint64"
255
+ }
256
+ ],
257
+ "name": "ErrorRoleIdTooSmall",
258
+ "type": "error"
259
+ },
260
+ {
261
+ "inputs": [
262
+ {
263
+ "internalType": "RoleId",
264
+ "name": "roleId",
265
+ "type": "uint64"
266
+ }
267
+ ],
268
+ "name": "ErrorRoleNameEmpty",
269
+ "type": "error"
270
+ },
271
+ {
272
+ "inputs": [
273
+ {
274
+ "internalType": "RoleId",
275
+ "name": "roleId",
276
+ "type": "uint64"
277
+ },
278
+ {
279
+ "internalType": "ShortString",
280
+ "name": "name",
281
+ "type": "bytes32"
282
+ }
283
+ ],
284
+ "name": "ErrorRoleNameNotUnique",
285
+ "type": "error"
286
+ },
287
+ {
288
+ "inputs": [
289
+ {
290
+ "internalType": "address",
291
+ "name": "target",
292
+ "type": "address"
293
+ }
294
+ ],
295
+ "name": "ErrorTargetDoesNotExist",
296
+ "type": "error"
297
+ },
298
+ {
299
+ "inputs": [],
300
+ "name": "InvalidInitialization",
301
+ "type": "error"
302
+ },
303
+ {
304
+ "inputs": [],
305
+ "name": "InvalidShortString",
306
+ "type": "error"
307
+ },
308
+ {
309
+ "inputs": [],
310
+ "name": "NotInitializing",
311
+ "type": "error"
312
+ },
313
+ {
314
+ "inputs": [
315
+ {
316
+ "internalType": "string",
317
+ "name": "str",
318
+ "type": "string"
319
+ }
320
+ ],
321
+ "name": "StringTooLong",
322
+ "type": "error"
323
+ },
324
+ {
325
+ "anonymous": false,
326
+ "inputs": [
327
+ {
328
+ "indexed": false,
329
+ "internalType": "address",
330
+ "name": "authority",
331
+ "type": "address"
332
+ }
333
+ ],
334
+ "name": "AuthorityUpdated",
335
+ "type": "event"
336
+ },
337
+ {
338
+ "anonymous": false,
339
+ "inputs": [
340
+ {
341
+ "indexed": false,
342
+ "internalType": "uint64",
343
+ "name": "version",
344
+ "type": "uint64"
345
+ }
346
+ ],
347
+ "name": "Initialized",
348
+ "type": "event"
349
+ },
350
+ {
351
+ "anonymous": false,
352
+ "inputs": [
353
+ {
354
+ "indexed": false,
355
+ "internalType": "ObjectType",
356
+ "name": "objectType",
357
+ "type": "uint8"
358
+ },
359
+ {
360
+ "indexed": false,
361
+ "internalType": "KeyId",
362
+ "name": "keyId",
363
+ "type": "bytes31"
364
+ },
365
+ {
366
+ "indexed": false,
367
+ "internalType": "StateId",
368
+ "name": "state",
369
+ "type": "uint8"
370
+ },
371
+ {
372
+ "indexed": false,
373
+ "internalType": "address",
374
+ "name": "createdBy",
375
+ "type": "address"
376
+ },
377
+ {
378
+ "indexed": false,
379
+ "internalType": "address",
380
+ "name": "txOrigin",
381
+ "type": "address"
382
+ }
383
+ ],
384
+ "name": "LogInfoCreated",
385
+ "type": "event"
386
+ },
387
+ {
388
+ "anonymous": false,
389
+ "inputs": [
390
+ {
391
+ "indexed": false,
392
+ "internalType": "ObjectType",
393
+ "name": "objectType",
394
+ "type": "uint8"
395
+ },
396
+ {
397
+ "indexed": false,
398
+ "internalType": "KeyId",
399
+ "name": "keyId",
400
+ "type": "bytes31"
401
+ },
402
+ {
403
+ "indexed": false,
404
+ "internalType": "StateId",
405
+ "name": "state",
406
+ "type": "uint8"
407
+ },
408
+ {
409
+ "indexed": false,
410
+ "internalType": "address",
411
+ "name": "updatedBy",
412
+ "type": "address"
413
+ },
414
+ {
415
+ "indexed": false,
416
+ "internalType": "address",
417
+ "name": "txOrigin",
418
+ "type": "address"
419
+ },
420
+ {
421
+ "indexed": false,
422
+ "internalType": "Blocknumber",
423
+ "name": "lastUpdatedIn",
424
+ "type": "uint32"
425
+ }
426
+ ],
427
+ "name": "LogInfoUpdated",
428
+ "type": "event"
429
+ },
430
+ {
431
+ "anonymous": false,
432
+ "inputs": [
433
+ {
434
+ "indexed": false,
435
+ "internalType": "ObjectType",
436
+ "name": "objectType",
437
+ "type": "uint8"
438
+ },
439
+ {
440
+ "indexed": false,
441
+ "internalType": "KeyId",
442
+ "name": "keyId",
443
+ "type": "bytes31"
444
+ },
445
+ {
446
+ "indexed": false,
447
+ "internalType": "StateId",
448
+ "name": "stateOld",
449
+ "type": "uint8"
450
+ },
451
+ {
452
+ "indexed": false,
453
+ "internalType": "StateId",
454
+ "name": "stateNew",
455
+ "type": "uint8"
456
+ },
457
+ {
458
+ "indexed": false,
459
+ "internalType": "address",
460
+ "name": "updatedBy",
461
+ "type": "address"
462
+ },
463
+ {
464
+ "indexed": false,
465
+ "internalType": "address",
466
+ "name": "txOrigin",
467
+ "type": "address"
468
+ },
469
+ {
470
+ "indexed": false,
471
+ "internalType": "Blocknumber",
472
+ "name": "lastUpdatedIn",
473
+ "type": "uint32"
474
+ }
475
+ ],
476
+ "name": "LogStateUpdated",
477
+ "type": "event"
478
+ },
479
+ {
480
+ "inputs": [],
481
+ "name": "ADMIN_ROLE",
482
+ "outputs": [
483
+ {
484
+ "internalType": "uint64",
485
+ "name": "",
486
+ "type": "uint64"
487
+ }
488
+ ],
489
+ "stateMutability": "view",
490
+ "type": "function"
491
+ },
492
+ {
493
+ "inputs": [],
494
+ "name": "CUSTOM_ROLE_ID_MIN",
495
+ "outputs": [
496
+ {
497
+ "internalType": "uint64",
498
+ "name": "",
499
+ "type": "uint64"
500
+ }
501
+ ],
502
+ "stateMutability": "view",
503
+ "type": "function"
504
+ },
505
+ {
506
+ "inputs": [],
507
+ "name": "EXECUTION_DELAY",
508
+ "outputs": [
509
+ {
510
+ "internalType": "uint32",
511
+ "name": "",
512
+ "type": "uint32"
513
+ }
514
+ ],
515
+ "stateMutability": "view",
516
+ "type": "function"
517
+ },
518
+ {
519
+ "inputs": [],
520
+ "name": "PUBLIC_ROLE",
521
+ "outputs": [
522
+ {
523
+ "internalType": "uint64",
524
+ "name": "",
525
+ "type": "uint64"
526
+ }
527
+ ],
528
+ "stateMutability": "view",
529
+ "type": "function"
530
+ },
531
+ {
532
+ "inputs": [],
533
+ "name": "REGISTERABLE_LOCATION_V1",
534
+ "outputs": [
535
+ {
536
+ "internalType": "bytes32",
537
+ "name": "",
538
+ "type": "bytes32"
539
+ }
540
+ ],
541
+ "stateMutability": "view",
542
+ "type": "function"
543
+ },
544
+ {
545
+ "inputs": [],
546
+ "name": "authority",
547
+ "outputs": [
548
+ {
549
+ "internalType": "address",
550
+ "name": "",
551
+ "type": "address"
552
+ }
553
+ ],
554
+ "stateMutability": "view",
555
+ "type": "function"
556
+ },
557
+ {
558
+ "inputs": [
559
+ {
560
+ "internalType": "ObjectType",
561
+ "name": "objectType",
562
+ "type": "uint8"
563
+ },
564
+ {
565
+ "internalType": "StateId",
566
+ "name": "fromId",
567
+ "type": "uint8"
568
+ },
569
+ {
570
+ "internalType": "StateId",
571
+ "name": "toId",
572
+ "type": "uint8"
573
+ }
574
+ ],
575
+ "name": "checkTransition",
576
+ "outputs": [],
577
+ "stateMutability": "view",
578
+ "type": "function"
579
+ },
580
+ {
581
+ "inputs": [
582
+ {
583
+ "internalType": "NftId",
584
+ "name": "bundleNftId",
585
+ "type": "uint96"
586
+ },
587
+ {
588
+ "components": [
589
+ {
590
+ "internalType": "NftId",
591
+ "name": "poolNftId",
592
+ "type": "uint96"
593
+ },
594
+ {
595
+ "components": [
596
+ {
597
+ "internalType": "UFixed",
598
+ "name": "fractionalFee",
599
+ "type": "uint256"
600
+ },
601
+ {
602
+ "internalType": "uint256",
603
+ "name": "fixedFee",
604
+ "type": "uint256"
605
+ }
606
+ ],
607
+ "internalType": "struct Fee",
608
+ "name": "fee",
609
+ "type": "tuple"
610
+ },
611
+ {
612
+ "internalType": "bytes",
613
+ "name": "filter",
614
+ "type": "bytes"
615
+ },
616
+ {
617
+ "internalType": "uint256",
618
+ "name": "capitalAmount",
619
+ "type": "uint256"
620
+ },
621
+ {
622
+ "internalType": "uint256",
623
+ "name": "lockedAmount",
624
+ "type": "uint256"
625
+ },
626
+ {
627
+ "internalType": "uint256",
628
+ "name": "balanceAmount",
629
+ "type": "uint256"
630
+ },
631
+ {
632
+ "internalType": "uint256",
633
+ "name": "lifetime",
634
+ "type": "uint256"
635
+ },
636
+ {
637
+ "internalType": "Timestamp",
638
+ "name": "expiredAt",
639
+ "type": "uint40"
640
+ },
641
+ {
642
+ "internalType": "Timestamp",
643
+ "name": "closedAt",
644
+ "type": "uint40"
645
+ }
646
+ ],
647
+ "internalType": "struct IBundle.BundleInfo",
648
+ "name": "bundle",
649
+ "type": "tuple"
650
+ }
651
+ ],
652
+ "name": "createBundle",
653
+ "outputs": [],
654
+ "stateMutability": "nonpayable",
655
+ "type": "function"
656
+ },
657
+ {
658
+ "inputs": [
659
+ {
660
+ "internalType": "NftId",
661
+ "name": "policyNftId",
379
662
  "type": "uint96"
663
+ },
664
+ {
665
+ "internalType": "NumberId",
666
+ "name": "claimId",
667
+ "type": "uint32"
668
+ },
669
+ {
670
+ "components": [
671
+ {
672
+ "internalType": "uint256",
673
+ "name": "claimAmount",
674
+ "type": "uint256"
675
+ },
676
+ {
677
+ "internalType": "uint256",
678
+ "name": "paidAmount",
679
+ "type": "uint256"
680
+ },
681
+ {
682
+ "internalType": "bytes",
683
+ "name": "data",
684
+ "type": "bytes"
685
+ },
686
+ {
687
+ "internalType": "Timestamp",
688
+ "name": "closedAt",
689
+ "type": "uint40"
690
+ }
691
+ ],
692
+ "internalType": "struct IPolicy.ClaimInfo",
693
+ "name": "claim",
694
+ "type": "tuple"
380
695
  }
381
696
  ],
382
- "name": "getBundleInfo",
383
- "outputs": [
697
+ "name": "createClaim",
698
+ "outputs": [],
699
+ "stateMutability": "nonpayable",
700
+ "type": "function"
701
+ },
702
+ {
703
+ "inputs": [
704
+ {
705
+ "internalType": "RoleId",
706
+ "name": "roleId",
707
+ "type": "uint64"
708
+ },
709
+ {
710
+ "internalType": "string",
711
+ "name": "name",
712
+ "type": "string"
713
+ }
714
+ ],
715
+ "name": "createCustomRole",
716
+ "outputs": [],
717
+ "stateMutability": "nonpayable",
718
+ "type": "function"
719
+ },
720
+ {
721
+ "inputs": [
722
+ {
723
+ "internalType": "NftId",
724
+ "name": "distributionNftId",
725
+ "type": "uint96"
726
+ },
384
727
  {
385
728
  "components": [
386
729
  {
387
730
  "internalType": "NftId",
388
- "name": "poolNftId",
731
+ "name": "productNftId",
389
732
  "type": "uint96"
390
733
  },
734
+ {
735
+ "internalType": "contract TokenHandler",
736
+ "name": "tokenHandler",
737
+ "type": "address"
738
+ },
391
739
  {
392
740
  "components": [
393
741
  {
@@ -402,29 +750,244 @@
402
750
  }
403
751
  ],
404
752
  "internalType": "struct Fee",
405
- "name": "fee",
753
+ "name": "distributionFee",
406
754
  "type": "tuple"
407
755
  },
756
+ {
757
+ "internalType": "bool",
758
+ "name": "isIntercepting",
759
+ "type": "bool"
760
+ },
761
+ {
762
+ "internalType": "address",
763
+ "name": "wallet",
764
+ "type": "address"
765
+ }
766
+ ],
767
+ "internalType": "struct ISetup.DistributionSetupInfo",
768
+ "name": "setup",
769
+ "type": "tuple"
770
+ }
771
+ ],
772
+ "name": "createDistributionSetup",
773
+ "outputs": [],
774
+ "stateMutability": "nonpayable",
775
+ "type": "function"
776
+ },
777
+ {
778
+ "inputs": [
779
+ {
780
+ "internalType": "NftId",
781
+ "name": "policyNftId",
782
+ "type": "uint96"
783
+ },
784
+ {
785
+ "internalType": "NumberId",
786
+ "name": "payoutId",
787
+ "type": "uint32"
788
+ },
789
+ {
790
+ "components": [
791
+ {
792
+ "internalType": "NumberId",
793
+ "name": "claimId",
794
+ "type": "uint32"
795
+ },
796
+ {
797
+ "internalType": "uint256",
798
+ "name": "amount",
799
+ "type": "uint256"
800
+ },
801
+ {
802
+ "internalType": "bytes",
803
+ "name": "data",
804
+ "type": "bytes"
805
+ },
806
+ {
807
+ "internalType": "Timestamp",
808
+ "name": "paidAt",
809
+ "type": "uint40"
810
+ }
811
+ ],
812
+ "internalType": "struct IPolicy.PayoutInfo",
813
+ "name": "payout",
814
+ "type": "tuple"
815
+ }
816
+ ],
817
+ "name": "createDistributor",
818
+ "outputs": [],
819
+ "stateMutability": "nonpayable",
820
+ "type": "function"
821
+ },
822
+ {
823
+ "inputs": [
824
+ {
825
+ "internalType": "NftId",
826
+ "name": "policyNftId",
827
+ "type": "uint96"
828
+ },
829
+ {
830
+ "internalType": "NumberId",
831
+ "name": "payoutId",
832
+ "type": "uint32"
833
+ },
834
+ {
835
+ "components": [
836
+ {
837
+ "internalType": "NumberId",
838
+ "name": "claimId",
839
+ "type": "uint32"
840
+ },
841
+ {
842
+ "internalType": "uint256",
843
+ "name": "amount",
844
+ "type": "uint256"
845
+ },
846
+ {
847
+ "internalType": "bytes",
848
+ "name": "data",
849
+ "type": "bytes"
850
+ },
851
+ {
852
+ "internalType": "Timestamp",
853
+ "name": "paidAt",
854
+ "type": "uint40"
855
+ }
856
+ ],
857
+ "internalType": "struct IPolicy.PayoutInfo",
858
+ "name": "payout",
859
+ "type": "tuple"
860
+ }
861
+ ],
862
+ "name": "createDistributorType",
863
+ "outputs": [],
864
+ "stateMutability": "nonpayable",
865
+ "type": "function"
866
+ },
867
+ {
868
+ "inputs": [
869
+ {
870
+ "internalType": "NftId",
871
+ "name": "policyNftId",
872
+ "type": "uint96"
873
+ },
874
+ {
875
+ "internalType": "NumberId",
876
+ "name": "payoutId",
877
+ "type": "uint32"
878
+ },
879
+ {
880
+ "components": [
881
+ {
882
+ "internalType": "NumberId",
883
+ "name": "claimId",
884
+ "type": "uint32"
885
+ },
886
+ {
887
+ "internalType": "uint256",
888
+ "name": "amount",
889
+ "type": "uint256"
890
+ },
891
+ {
892
+ "internalType": "bytes",
893
+ "name": "data",
894
+ "type": "bytes"
895
+ },
896
+ {
897
+ "internalType": "Timestamp",
898
+ "name": "paidAt",
899
+ "type": "uint40"
900
+ }
901
+ ],
902
+ "internalType": "struct IPolicy.PayoutInfo",
903
+ "name": "payout",
904
+ "type": "tuple"
905
+ }
906
+ ],
907
+ "name": "createPayout",
908
+ "outputs": [],
909
+ "stateMutability": "nonpayable",
910
+ "type": "function"
911
+ },
912
+ {
913
+ "inputs": [
914
+ {
915
+ "internalType": "NftId",
916
+ "name": "policyNftId",
917
+ "type": "uint96"
918
+ },
919
+ {
920
+ "components": [
921
+ {
922
+ "internalType": "NftId",
923
+ "name": "productNftId",
924
+ "type": "uint96"
925
+ },
926
+ {
927
+ "internalType": "NftId",
928
+ "name": "bundleNftId",
929
+ "type": "uint96"
930
+ },
931
+ {
932
+ "internalType": "ReferralId",
933
+ "name": "referralId",
934
+ "type": "bytes8"
935
+ },
936
+ {
937
+ "internalType": "RiskId",
938
+ "name": "riskId",
939
+ "type": "bytes8"
940
+ },
941
+ {
942
+ "internalType": "uint256",
943
+ "name": "sumInsuredAmount",
944
+ "type": "uint256"
945
+ },
946
+ {
947
+ "internalType": "uint256",
948
+ "name": "premiumAmount",
949
+ "type": "uint256"
950
+ },
951
+ {
952
+ "internalType": "uint256",
953
+ "name": "premiumPaidAmount",
954
+ "type": "uint256"
955
+ },
956
+ {
957
+ "internalType": "uint256",
958
+ "name": "lifetime",
959
+ "type": "uint256"
960
+ },
408
961
  {
409
962
  "internalType": "bytes",
410
- "name": "filter",
963
+ "name": "applicationData",
411
964
  "type": "bytes"
412
965
  },
413
966
  {
414
- "internalType": "uint256",
415
- "name": "capitalAmount",
416
- "type": "uint256"
967
+ "internalType": "bytes",
968
+ "name": "policyData",
969
+ "type": "bytes"
417
970
  },
418
971
  {
419
- "internalType": "uint256",
420
- "name": "lockedAmount",
421
- "type": "uint256"
972
+ "internalType": "uint16",
973
+ "name": "claimsCount",
974
+ "type": "uint16"
975
+ },
976
+ {
977
+ "internalType": "uint16",
978
+ "name": "openClaimsCount",
979
+ "type": "uint16"
422
980
  },
423
981
  {
424
982
  "internalType": "uint256",
425
- "name": "balanceAmount",
983
+ "name": "payoutAmount",
426
984
  "type": "uint256"
427
985
  },
986
+ {
987
+ "internalType": "Timestamp",
988
+ "name": "activatedAt",
989
+ "type": "uint40"
990
+ },
428
991
  {
429
992
  "internalType": "Timestamp",
430
993
  "name": "expiredAt",
@@ -436,12 +999,14 @@
436
999
  "type": "uint40"
437
1000
  }
438
1001
  ],
439
- "internalType": "struct IBundle.BundleInfo",
440
- "name": "bundleInfo",
1002
+ "internalType": "struct IPolicy.PolicyInfo",
1003
+ "name": "policy",
441
1004
  "type": "tuple"
442
1005
  }
443
1006
  ],
444
- "stateMutability": "view",
1007
+ "name": "createPolicy",
1008
+ "outputs": [],
1009
+ "stateMutability": "nonpayable",
445
1010
  "type": "function"
446
1011
  },
447
1012
  {
@@ -452,126 +1017,373 @@
452
1017
  "type": "uint96"
453
1018
  },
454
1019
  {
455
- "internalType": "uint256",
456
- "name": "index",
457
- "type": "uint256"
458
- }
459
- ],
460
- "name": "getBundleNftId",
461
- "outputs": [
462
- {
463
- "internalType": "NftId",
464
- "name": "bundleNftId",
465
- "type": "uint96"
466
- }
467
- ],
468
- "stateMutability": "view",
469
- "type": "function"
470
- },
471
- {
472
- "inputs": [],
473
- "name": "getComponentCount",
474
- "outputs": [
475
- {
476
- "internalType": "uint256",
477
- "name": "numberOfCompnents",
478
- "type": "uint256"
1020
+ "components": [
1021
+ {
1022
+ "internalType": "NftId",
1023
+ "name": "productNftId",
1024
+ "type": "uint96"
1025
+ },
1026
+ {
1027
+ "internalType": "contract TokenHandler",
1028
+ "name": "tokenHandler",
1029
+ "type": "address"
1030
+ },
1031
+ {
1032
+ "internalType": "UFixed",
1033
+ "name": "collateralizationLevel",
1034
+ "type": "uint256"
1035
+ },
1036
+ {
1037
+ "components": [
1038
+ {
1039
+ "internalType": "UFixed",
1040
+ "name": "fractionalFee",
1041
+ "type": "uint256"
1042
+ },
1043
+ {
1044
+ "internalType": "uint256",
1045
+ "name": "fixedFee",
1046
+ "type": "uint256"
1047
+ }
1048
+ ],
1049
+ "internalType": "struct Fee",
1050
+ "name": "poolFee",
1051
+ "type": "tuple"
1052
+ },
1053
+ {
1054
+ "components": [
1055
+ {
1056
+ "internalType": "UFixed",
1057
+ "name": "fractionalFee",
1058
+ "type": "uint256"
1059
+ },
1060
+ {
1061
+ "internalType": "uint256",
1062
+ "name": "fixedFee",
1063
+ "type": "uint256"
1064
+ }
1065
+ ],
1066
+ "internalType": "struct Fee",
1067
+ "name": "stakingFee",
1068
+ "type": "tuple"
1069
+ },
1070
+ {
1071
+ "components": [
1072
+ {
1073
+ "internalType": "UFixed",
1074
+ "name": "fractionalFee",
1075
+ "type": "uint256"
1076
+ },
1077
+ {
1078
+ "internalType": "uint256",
1079
+ "name": "fixedFee",
1080
+ "type": "uint256"
1081
+ }
1082
+ ],
1083
+ "internalType": "struct Fee",
1084
+ "name": "performanceFee",
1085
+ "type": "tuple"
1086
+ },
1087
+ {
1088
+ "internalType": "bool",
1089
+ "name": "isIntercepting",
1090
+ "type": "bool"
1091
+ },
1092
+ {
1093
+ "internalType": "address",
1094
+ "name": "wallet",
1095
+ "type": "address"
1096
+ }
1097
+ ],
1098
+ "internalType": "struct ISetup.PoolSetupInfo",
1099
+ "name": "setup",
1100
+ "type": "tuple"
479
1101
  }
480
1102
  ],
481
- "stateMutability": "view",
1103
+ "name": "createPoolSetup",
1104
+ "outputs": [],
1105
+ "stateMutability": "nonpayable",
482
1106
  "type": "function"
483
1107
  },
484
1108
  {
485
1109
  "inputs": [
486
- {
487
- "internalType": "uint256",
488
- "name": "idx",
489
- "type": "uint256"
490
- }
491
- ],
492
- "name": "getComponentId",
493
- "outputs": [
494
1110
  {
495
1111
  "internalType": "NftId",
496
- "name": "componentNftId",
1112
+ "name": "productNftId",
497
1113
  "type": "uint96"
1114
+ },
1115
+ {
1116
+ "components": [
1117
+ {
1118
+ "internalType": "contract IERC20Metadata",
1119
+ "name": "token",
1120
+ "type": "address"
1121
+ },
1122
+ {
1123
+ "internalType": "contract TokenHandler",
1124
+ "name": "tokenHandler",
1125
+ "type": "address"
1126
+ },
1127
+ {
1128
+ "internalType": "NftId",
1129
+ "name": "distributionNftId",
1130
+ "type": "uint96"
1131
+ },
1132
+ {
1133
+ "internalType": "NftId",
1134
+ "name": "poolNftId",
1135
+ "type": "uint96"
1136
+ },
1137
+ {
1138
+ "components": [
1139
+ {
1140
+ "internalType": "UFixed",
1141
+ "name": "fractionalFee",
1142
+ "type": "uint256"
1143
+ },
1144
+ {
1145
+ "internalType": "uint256",
1146
+ "name": "fixedFee",
1147
+ "type": "uint256"
1148
+ }
1149
+ ],
1150
+ "internalType": "struct Fee",
1151
+ "name": "distributionFee",
1152
+ "type": "tuple"
1153
+ },
1154
+ {
1155
+ "components": [
1156
+ {
1157
+ "internalType": "UFixed",
1158
+ "name": "fractionalFee",
1159
+ "type": "uint256"
1160
+ },
1161
+ {
1162
+ "internalType": "uint256",
1163
+ "name": "fixedFee",
1164
+ "type": "uint256"
1165
+ }
1166
+ ],
1167
+ "internalType": "struct Fee",
1168
+ "name": "productFee",
1169
+ "type": "tuple"
1170
+ },
1171
+ {
1172
+ "components": [
1173
+ {
1174
+ "internalType": "UFixed",
1175
+ "name": "fractionalFee",
1176
+ "type": "uint256"
1177
+ },
1178
+ {
1179
+ "internalType": "uint256",
1180
+ "name": "fixedFee",
1181
+ "type": "uint256"
1182
+ }
1183
+ ],
1184
+ "internalType": "struct Fee",
1185
+ "name": "processingFee",
1186
+ "type": "tuple"
1187
+ },
1188
+ {
1189
+ "components": [
1190
+ {
1191
+ "internalType": "UFixed",
1192
+ "name": "fractionalFee",
1193
+ "type": "uint256"
1194
+ },
1195
+ {
1196
+ "internalType": "uint256",
1197
+ "name": "fixedFee",
1198
+ "type": "uint256"
1199
+ }
1200
+ ],
1201
+ "internalType": "struct Fee",
1202
+ "name": "poolFee",
1203
+ "type": "tuple"
1204
+ },
1205
+ {
1206
+ "components": [
1207
+ {
1208
+ "internalType": "UFixed",
1209
+ "name": "fractionalFee",
1210
+ "type": "uint256"
1211
+ },
1212
+ {
1213
+ "internalType": "uint256",
1214
+ "name": "fixedFee",
1215
+ "type": "uint256"
1216
+ }
1217
+ ],
1218
+ "internalType": "struct Fee",
1219
+ "name": "stakingFee",
1220
+ "type": "tuple"
1221
+ },
1222
+ {
1223
+ "components": [
1224
+ {
1225
+ "internalType": "UFixed",
1226
+ "name": "fractionalFee",
1227
+ "type": "uint256"
1228
+ },
1229
+ {
1230
+ "internalType": "uint256",
1231
+ "name": "fixedFee",
1232
+ "type": "uint256"
1233
+ }
1234
+ ],
1235
+ "internalType": "struct Fee",
1236
+ "name": "performanceFee",
1237
+ "type": "tuple"
1238
+ }
1239
+ ],
1240
+ "internalType": "struct ISetup.ProductSetupInfo",
1241
+ "name": "setup",
1242
+ "type": "tuple"
498
1243
  }
499
1244
  ],
500
- "stateMutability": "view",
1245
+ "name": "createProductSetup",
1246
+ "outputs": [],
1247
+ "stateMutability": "nonpayable",
501
1248
  "type": "function"
502
1249
  },
503
1250
  {
504
- "inputs": [],
505
- "name": "getComponentOwnerService",
506
- "outputs": [
1251
+ "inputs": [
507
1252
  {
508
- "internalType": "contract IComponentOwnerService",
509
- "name": "service",
510
- "type": "address"
1253
+ "internalType": "NftId",
1254
+ "name": "policyNftId",
1255
+ "type": "uint96"
1256
+ },
1257
+ {
1258
+ "internalType": "NumberId",
1259
+ "name": "payoutId",
1260
+ "type": "uint32"
1261
+ },
1262
+ {
1263
+ "components": [
1264
+ {
1265
+ "internalType": "NumberId",
1266
+ "name": "claimId",
1267
+ "type": "uint32"
1268
+ },
1269
+ {
1270
+ "internalType": "uint256",
1271
+ "name": "amount",
1272
+ "type": "uint256"
1273
+ },
1274
+ {
1275
+ "internalType": "bytes",
1276
+ "name": "data",
1277
+ "type": "bytes"
1278
+ },
1279
+ {
1280
+ "internalType": "Timestamp",
1281
+ "name": "paidAt",
1282
+ "type": "uint40"
1283
+ }
1284
+ ],
1285
+ "internalType": "struct IPolicy.PayoutInfo",
1286
+ "name": "payout",
1287
+ "type": "tuple"
511
1288
  }
512
1289
  ],
513
- "stateMutability": "view",
1290
+ "name": "createReferral",
1291
+ "outputs": [],
1292
+ "stateMutability": "nonpayable",
514
1293
  "type": "function"
515
1294
  },
516
1295
  {
517
1296
  "inputs": [
518
1297
  {
519
- "internalType": "NftId",
520
- "name": "nftId",
521
- "type": "uint96"
522
- }
523
- ],
524
- "name": "getComponentToken",
525
- "outputs": [
1298
+ "internalType": "RiskId",
1299
+ "name": "riskId",
1300
+ "type": "bytes8"
1301
+ },
526
1302
  {
527
- "internalType": "contract IERC20Metadata",
528
- "name": "token",
529
- "type": "address"
1303
+ "components": [
1304
+ {
1305
+ "internalType": "NftId",
1306
+ "name": "productNftId",
1307
+ "type": "uint96"
1308
+ },
1309
+ {
1310
+ "internalType": "bytes",
1311
+ "name": "data",
1312
+ "type": "bytes"
1313
+ }
1314
+ ],
1315
+ "internalType": "struct IRisk.RiskInfo",
1316
+ "name": "risk",
1317
+ "type": "tuple"
530
1318
  }
531
1319
  ],
532
- "stateMutability": "view",
1320
+ "name": "createRisk",
1321
+ "outputs": [],
1322
+ "stateMutability": "nonpayable",
533
1323
  "type": "function"
534
1324
  },
535
1325
  {
536
1326
  "inputs": [
537
1327
  {
538
- "internalType": "NftId",
539
- "name": "nftId",
540
- "type": "uint96"
1328
+ "internalType": "RoleId",
1329
+ "name": "roleId",
1330
+ "type": "uint64"
1331
+ },
1332
+ {
1333
+ "internalType": "string",
1334
+ "name": "name",
1335
+ "type": "string"
541
1336
  }
542
1337
  ],
543
- "name": "getComponentWallet",
544
- "outputs": [
1338
+ "name": "createStandardRole",
1339
+ "outputs": [],
1340
+ "stateMutability": "nonpayable",
1341
+ "type": "function"
1342
+ },
1343
+ {
1344
+ "inputs": [
545
1345
  {
546
1346
  "internalType": "address",
547
- "name": "wallet",
1347
+ "name": "target",
548
1348
  "type": "address"
1349
+ },
1350
+ {
1351
+ "components": [
1352
+ {
1353
+ "internalType": "ShortString",
1354
+ "name": "name",
1355
+ "type": "bytes32"
1356
+ },
1357
+ {
1358
+ "internalType": "bool",
1359
+ "name": "isCustom",
1360
+ "type": "bool"
1361
+ }
1362
+ ],
1363
+ "internalType": "struct IAccess.TargetInfo",
1364
+ "name": "targetInfo",
1365
+ "type": "tuple"
549
1366
  }
550
1367
  ],
551
- "stateMutability": "view",
1368
+ "name": "createTarget",
1369
+ "outputs": [],
1370
+ "stateMutability": "nonpayable",
552
1371
  "type": "function"
553
1372
  },
554
1373
  {
555
- "inputs": [],
556
- "name": "getData",
557
- "outputs": [
1374
+ "inputs": [
558
1375
  {
559
- "internalType": "bytes",
560
- "name": "data",
561
- "type": "bytes"
1376
+ "internalType": "Key32",
1377
+ "name": "key32",
1378
+ "type": "bytes32"
562
1379
  }
563
1380
  ],
564
- "stateMutability": "view",
565
- "type": "function"
566
- },
567
- {
568
- "inputs": [],
569
- "name": "getDistributionService",
1381
+ "name": "exists",
570
1382
  "outputs": [
571
1383
  {
572
- "internalType": "contract IDistributionService",
573
- "name": "service",
574
- "type": "address"
1384
+ "internalType": "bool",
1385
+ "name": "",
1386
+ "type": "bool"
575
1387
  }
576
1388
  ],
577
1389
  "stateMutability": "view",
@@ -580,46 +1392,68 @@
580
1392
  {
581
1393
  "inputs": [
582
1394
  {
583
- "internalType": "UFixed",
584
- "name": "fractionalFee",
585
- "type": "uint256"
586
- },
587
- {
588
- "internalType": "uint256",
589
- "name": "fixedFee",
590
- "type": "uint256"
1395
+ "internalType": "Key32",
1396
+ "name": "key32",
1397
+ "type": "bytes32"
591
1398
  }
592
1399
  ],
593
- "name": "getFee",
1400
+ "name": "get",
594
1401
  "outputs": [
595
1402
  {
596
1403
  "components": [
597
1404
  {
598
- "internalType": "UFixed",
599
- "name": "fractionalFee",
600
- "type": "uint256"
1405
+ "components": [
1406
+ {
1407
+ "internalType": "ObjectType",
1408
+ "name": "objectType",
1409
+ "type": "uint8"
1410
+ },
1411
+ {
1412
+ "internalType": "StateId",
1413
+ "name": "state",
1414
+ "type": "uint8"
1415
+ },
1416
+ {
1417
+ "internalType": "address",
1418
+ "name": "updatedBy",
1419
+ "type": "address"
1420
+ },
1421
+ {
1422
+ "internalType": "Blocknumber",
1423
+ "name": "updatedIn",
1424
+ "type": "uint32"
1425
+ },
1426
+ {
1427
+ "internalType": "Blocknumber",
1428
+ "name": "createdIn",
1429
+ "type": "uint32"
1430
+ }
1431
+ ],
1432
+ "internalType": "struct IKeyValueStore.Metadata",
1433
+ "name": "metadata",
1434
+ "type": "tuple"
601
1435
  },
602
1436
  {
603
- "internalType": "uint256",
604
- "name": "fixedFee",
605
- "type": "uint256"
1437
+ "internalType": "bytes",
1438
+ "name": "data",
1439
+ "type": "bytes"
606
1440
  }
607
1441
  ],
608
- "internalType": "struct Fee",
609
- "name": "fee",
1442
+ "internalType": "struct IKeyValueStore.Value",
1443
+ "name": "value",
610
1444
  "type": "tuple"
611
1445
  }
612
1446
  ],
613
- "stateMutability": "pure",
1447
+ "stateMutability": "view",
614
1448
  "type": "function"
615
1449
  },
616
1450
  {
617
1451
  "inputs": [],
618
- "name": "getKeyValueStore",
1452
+ "name": "getComponentOwnerService",
619
1453
  "outputs": [
620
1454
  {
621
- "internalType": "contract IKeyValueStore",
622
- "name": "keyValueStore",
1455
+ "internalType": "contract IComponentOwnerService",
1456
+ "name": "",
623
1457
  "type": "address"
624
1458
  }
625
1459
  ],
@@ -627,26 +1461,19 @@
627
1461
  "type": "function"
628
1462
  },
629
1463
  {
630
- "inputs": [],
631
- "name": "getNftId",
632
- "outputs": [
1464
+ "inputs": [
633
1465
  {
634
- "internalType": "NftId",
635
- "name": "nftId",
636
- "type": "uint96"
1466
+ "internalType": "Key32",
1467
+ "name": "key32",
1468
+ "type": "bytes32"
637
1469
  }
638
1470
  ],
639
- "stateMutability": "view",
640
- "type": "function"
641
- },
642
- {
643
- "inputs": [],
644
- "name": "getOwner",
1471
+ "name": "getData",
645
1472
  "outputs": [
646
1473
  {
647
- "internalType": "address",
648
- "name": "owner",
649
- "type": "address"
1474
+ "internalType": "bytes",
1475
+ "name": "data",
1476
+ "type": "bytes"
650
1477
  }
651
1478
  ],
652
1479
  "stateMutability": "view",
@@ -654,103 +1481,99 @@
654
1481
  },
655
1482
  {
656
1483
  "inputs": [],
657
- "name": "getParentNftId",
1484
+ "name": "getDistributionService",
658
1485
  "outputs": [
659
1486
  {
660
- "internalType": "NftId",
661
- "name": "nftId",
662
- "type": "uint96"
1487
+ "internalType": "contract IDistributionService",
1488
+ "name": "",
1489
+ "type": "address"
663
1490
  }
664
1491
  ],
665
1492
  "stateMutability": "view",
666
1493
  "type": "function"
667
1494
  },
668
1495
  {
669
- "inputs": [
670
- {
671
- "internalType": "NftId",
672
- "name": "nftId",
673
- "type": "uint96"
674
- }
675
- ],
676
- "name": "getPolicyInfo",
1496
+ "inputs": [],
1497
+ "name": "getInitialInfo",
677
1498
  "outputs": [
678
1499
  {
679
1500
  "components": [
680
1501
  {
681
1502
  "internalType": "NftId",
682
- "name": "productNftId",
1503
+ "name": "nftId",
683
1504
  "type": "uint96"
684
1505
  },
685
1506
  {
686
1507
  "internalType": "NftId",
687
- "name": "bundleNftId",
1508
+ "name": "parentNftId",
688
1509
  "type": "uint96"
689
1510
  },
690
1511
  {
691
- "internalType": "ReferralId",
692
- "name": "referralId",
693
- "type": "bytes8"
694
- },
695
- {
696
- "internalType": "address",
697
- "name": "beneficiary",
698
- "type": "address"
699
- },
700
- {
701
- "internalType": "RiskId",
702
- "name": "riskId",
703
- "type": "bytes8"
704
- },
705
- {
706
- "internalType": "uint256",
707
- "name": "sumInsuredAmount",
708
- "type": "uint256"
709
- },
710
- {
711
- "internalType": "uint256",
712
- "name": "premiumAmount",
713
- "type": "uint256"
1512
+ "internalType": "ObjectType",
1513
+ "name": "objectType",
1514
+ "type": "uint8"
714
1515
  },
715
1516
  {
716
- "internalType": "uint256",
717
- "name": "premiumPaidAmount",
718
- "type": "uint256"
1517
+ "internalType": "bool",
1518
+ "name": "isInterceptor",
1519
+ "type": "bool"
719
1520
  },
720
1521
  {
721
- "internalType": "uint256",
722
- "name": "lifetime",
723
- "type": "uint256"
1522
+ "internalType": "address",
1523
+ "name": "objectAddress",
1524
+ "type": "address"
724
1525
  },
725
1526
  {
726
- "internalType": "bytes",
727
- "name": "applicationData",
728
- "type": "bytes"
1527
+ "internalType": "address",
1528
+ "name": "initialOwner",
1529
+ "type": "address"
729
1530
  },
730
1531
  {
731
1532
  "internalType": "bytes",
732
- "name": "policyData",
1533
+ "name": "data",
733
1534
  "type": "bytes"
734
- },
735
- {
736
- "internalType": "Timestamp",
737
- "name": "activatedAt",
738
- "type": "uint40"
739
- },
740
- {
741
- "internalType": "Timestamp",
742
- "name": "expiredAt",
743
- "type": "uint40"
744
- },
745
- {
746
- "internalType": "Timestamp",
747
- "name": "closedAt",
748
- "type": "uint40"
749
1535
  }
750
1536
  ],
751
- "internalType": "struct IPolicy.PolicyInfo",
752
- "name": "info",
1537
+ "internalType": "struct IRegistry.ObjectInfo",
1538
+ "name": "",
753
1539
  "type": "tuple"
1540
+ },
1541
+ {
1542
+ "internalType": "bytes",
1543
+ "name": "data",
1544
+ "type": "bytes"
1545
+ }
1546
+ ],
1547
+ "stateMutability": "view",
1548
+ "type": "function"
1549
+ },
1550
+ {
1551
+ "inputs": [
1552
+ {
1553
+ "internalType": "ObjectType",
1554
+ "name": "objectType",
1555
+ "type": "uint8"
1556
+ }
1557
+ ],
1558
+ "name": "getInitialState",
1559
+ "outputs": [
1560
+ {
1561
+ "internalType": "StateId",
1562
+ "name": "",
1563
+ "type": "uint8"
1564
+ }
1565
+ ],
1566
+ "stateMutability": "view",
1567
+ "type": "function"
1568
+ },
1569
+ {
1570
+ "inputs": [],
1571
+ "name": "getInstanceReader",
1572
+ "outputs": [
1573
+ {
1574
+ "internalType": "contract InstanceReader",
1575
+ "name": "",
1576
+ "type": "address"
754
1577
  }
755
1578
  ],
756
1579
  "stateMutability": "view",
@@ -759,28 +1582,43 @@
759
1582
  {
760
1583
  "inputs": [
761
1584
  {
762
- "internalType": "NftId",
763
- "name": "nftId",
764
- "type": "uint96"
1585
+ "internalType": "Key32",
1586
+ "name": "key32",
1587
+ "type": "bytes32"
765
1588
  }
766
1589
  ],
767
- "name": "getPoolInfo",
1590
+ "name": "getMetadata",
768
1591
  "outputs": [
769
1592
  {
770
1593
  "components": [
771
1594
  {
772
- "internalType": "bool",
773
- "name": "isVerifying",
774
- "type": "bool"
1595
+ "internalType": "ObjectType",
1596
+ "name": "objectType",
1597
+ "type": "uint8"
775
1598
  },
776
1599
  {
777
- "internalType": "UFixed",
778
- "name": "collateralizationLevel",
779
- "type": "uint256"
1600
+ "internalType": "StateId",
1601
+ "name": "state",
1602
+ "type": "uint8"
1603
+ },
1604
+ {
1605
+ "internalType": "address",
1606
+ "name": "updatedBy",
1607
+ "type": "address"
1608
+ },
1609
+ {
1610
+ "internalType": "Blocknumber",
1611
+ "name": "updatedIn",
1612
+ "type": "uint32"
1613
+ },
1614
+ {
1615
+ "internalType": "Blocknumber",
1616
+ "name": "createdIn",
1617
+ "type": "uint32"
780
1618
  }
781
1619
  ],
782
- "internalType": "struct IPool.PoolInfo",
783
- "name": "info",
1620
+ "internalType": "struct IKeyValueStore.Metadata",
1621
+ "name": "metadata",
784
1622
  "type": "tuple"
785
1623
  }
786
1624
  ],
@@ -789,31 +1627,25 @@
789
1627
  },
790
1628
  {
791
1629
  "inputs": [],
792
- "name": "getPoolService",
1630
+ "name": "getNftId",
793
1631
  "outputs": [
794
1632
  {
795
- "internalType": "contract IPoolService",
796
- "name": "service",
797
- "type": "address"
1633
+ "internalType": "NftId",
1634
+ "name": "",
1635
+ "type": "uint96"
798
1636
  }
799
1637
  ],
800
1638
  "stateMutability": "view",
801
1639
  "type": "function"
802
1640
  },
803
1641
  {
804
- "inputs": [
805
- {
806
- "internalType": "NftId",
807
- "name": "componentNftId",
808
- "type": "uint96"
809
- }
810
- ],
811
- "name": "getProductNftId",
1642
+ "inputs": [],
1643
+ "name": "getOwner",
812
1644
  "outputs": [
813
1645
  {
814
- "internalType": "NftId",
815
- "name": "productNftId",
816
- "type": "uint96"
1646
+ "internalType": "address",
1647
+ "name": "",
1648
+ "type": "address"
817
1649
  }
818
1650
  ],
819
1651
  "stateMutability": "view",
@@ -821,11 +1653,11 @@
821
1653
  },
822
1654
  {
823
1655
  "inputs": [],
824
- "name": "getProductService",
1656
+ "name": "getPoolService",
825
1657
  "outputs": [
826
1658
  {
827
- "internalType": "contract IProductService",
828
- "name": "service",
1659
+ "internalType": "contract IPoolService",
1660
+ "name": "",
829
1661
  "type": "address"
830
1662
  }
831
1663
  ],
@@ -838,7 +1670,7 @@
838
1670
  "outputs": [
839
1671
  {
840
1672
  "internalType": "contract IRegistry",
841
- "name": "registry",
1673
+ "name": "",
842
1674
  "type": "address"
843
1675
  }
844
1676
  ],
@@ -848,28 +1680,28 @@
848
1680
  {
849
1681
  "inputs": [
850
1682
  {
851
- "internalType": "RiskId",
852
- "name": "riskId",
853
- "type": "bytes8"
1683
+ "internalType": "RoleId",
1684
+ "name": "roleId",
1685
+ "type": "uint64"
854
1686
  }
855
1687
  ],
856
- "name": "getRiskInfo",
1688
+ "name": "getRole",
857
1689
  "outputs": [
858
1690
  {
859
1691
  "components": [
860
1692
  {
861
- "internalType": "NftId",
862
- "name": "productNftId",
863
- "type": "uint96"
1693
+ "internalType": "ShortString",
1694
+ "name": "name",
1695
+ "type": "bytes32"
864
1696
  },
865
1697
  {
866
- "internalType": "bytes",
867
- "name": "data",
868
- "type": "bytes"
1698
+ "internalType": "bool",
1699
+ "name": "isCustom",
1700
+ "type": "bool"
869
1701
  }
870
1702
  ],
871
- "internalType": "struct IRisk.RiskInfo",
872
- "name": "info",
1703
+ "internalType": "struct IAccess.RoleInfo",
1704
+ "name": "role",
873
1705
  "type": "tuple"
874
1706
  }
875
1707
  ],
@@ -884,80 +1716,98 @@
884
1716
  "type": "uint256"
885
1717
  }
886
1718
  ],
887
- "name": "getRole",
1719
+ "name": "getRoleId",
888
1720
  "outputs": [
889
1721
  {
890
1722
  "internalType": "RoleId",
891
- "name": "role",
892
- "type": "bytes8"
1723
+ "name": "roleId",
1724
+ "type": "uint64"
893
1725
  }
894
1726
  ],
895
1727
  "stateMutability": "view",
896
1728
  "type": "function"
897
1729
  },
898
1730
  {
899
- "inputs": [],
900
- "name": "getRoleCount",
901
- "outputs": [
1731
+ "inputs": [
1732
+ {
1733
+ "internalType": "RoleId",
1734
+ "name": "roleId",
1735
+ "type": "uint64"
1736
+ },
902
1737
  {
903
1738
  "internalType": "uint256",
904
- "name": "roles",
1739
+ "name": "idx",
905
1740
  "type": "uint256"
906
1741
  }
907
1742
  ],
1743
+ "name": "getRoleMember",
1744
+ "outputs": [
1745
+ {
1746
+ "internalType": "address",
1747
+ "name": "roleMember",
1748
+ "type": "address"
1749
+ }
1750
+ ],
908
1751
  "stateMutability": "view",
909
1752
  "type": "function"
910
1753
  },
911
1754
  {
912
1755
  "inputs": [
913
1756
  {
914
- "internalType": "string",
915
- "name": "roleName",
916
- "type": "string"
1757
+ "internalType": "Key32",
1758
+ "name": "key32",
1759
+ "type": "bytes32"
917
1760
  }
918
1761
  ],
919
- "name": "getRoleId",
1762
+ "name": "getState",
920
1763
  "outputs": [
921
1764
  {
922
- "internalType": "RoleId",
923
- "name": "role",
924
- "type": "bytes8"
1765
+ "internalType": "StateId",
1766
+ "name": "state",
1767
+ "type": "uint8"
925
1768
  }
926
1769
  ],
927
- "stateMutability": "pure",
1770
+ "stateMutability": "view",
928
1771
  "type": "function"
929
1772
  },
930
1773
  {
931
1774
  "inputs": [
932
1775
  {
933
1776
  "internalType": "RoleId",
934
- "name": "role",
935
- "type": "bytes8"
1777
+ "name": "roleId",
1778
+ "type": "uint64"
1779
+ },
1780
+ {
1781
+ "internalType": "address",
1782
+ "name": "member",
1783
+ "type": "address"
936
1784
  }
937
1785
  ],
938
- "name": "getRoleInfo",
1786
+ "name": "grantRole",
939
1787
  "outputs": [
940
1788
  {
941
- "components": [
942
- {
943
- "internalType": "RoleId",
944
- "name": "id",
945
- "type": "bytes8"
946
- },
947
- {
948
- "internalType": "string",
949
- "name": "name",
950
- "type": "string"
951
- },
952
- {
953
- "internalType": "bool",
954
- "name": "isActive",
955
- "type": "bool"
956
- }
957
- ],
958
- "internalType": "struct IAccess.RoleInfo",
959
- "name": "info",
960
- "type": "tuple"
1789
+ "internalType": "bool",
1790
+ "name": "granted",
1791
+ "type": "bool"
1792
+ }
1793
+ ],
1794
+ "stateMutability": "nonpayable",
1795
+ "type": "function"
1796
+ },
1797
+ {
1798
+ "inputs": [
1799
+ {
1800
+ "internalType": "ObjectType",
1801
+ "name": "objectType",
1802
+ "type": "uint8"
1803
+ }
1804
+ ],
1805
+ "name": "hasLifecycle",
1806
+ "outputs": [
1807
+ {
1808
+ "internalType": "bool",
1809
+ "name": "",
1810
+ "type": "bool"
961
1811
  }
962
1812
  ],
963
1813
  "stateMutability": "view",
@@ -966,40 +1816,136 @@
966
1816
  {
967
1817
  "inputs": [
968
1818
  {
969
- "internalType": "RoleId",
970
- "name": "role",
971
- "type": "bytes8"
1819
+ "internalType": "address",
1820
+ "name": "accessManagerAddress",
1821
+ "type": "address"
972
1822
  },
973
1823
  {
974
- "internalType": "uint256",
975
- "name": "idx",
976
- "type": "uint256"
1824
+ "internalType": "address",
1825
+ "name": "registryAddress",
1826
+ "type": "address"
1827
+ },
1828
+ {
1829
+ "internalType": "NftId",
1830
+ "name": "registryNftId",
1831
+ "type": "uint96"
1832
+ },
1833
+ {
1834
+ "internalType": "address",
1835
+ "name": "initialOwner",
1836
+ "type": "address"
977
1837
  }
978
1838
  ],
979
- "name": "getRoleMember",
1839
+ "name": "initialize",
1840
+ "outputs": [],
1841
+ "stateMutability": "nonpayable",
1842
+ "type": "function"
1843
+ },
1844
+ {
1845
+ "inputs": [],
1846
+ "name": "isConsumingScheduledOp",
1847
+ "outputs": [
1848
+ {
1849
+ "internalType": "bytes4",
1850
+ "name": "",
1851
+ "type": "bytes4"
1852
+ }
1853
+ ],
1854
+ "stateMutability": "view",
1855
+ "type": "function"
1856
+ },
1857
+ {
1858
+ "inputs": [
1859
+ {
1860
+ "internalType": "ObjectType",
1861
+ "name": "objectType",
1862
+ "type": "uint8"
1863
+ },
1864
+ {
1865
+ "internalType": "StateId",
1866
+ "name": "fromId",
1867
+ "type": "uint8"
1868
+ },
1869
+ {
1870
+ "internalType": "StateId",
1871
+ "name": "toId",
1872
+ "type": "uint8"
1873
+ }
1874
+ ],
1875
+ "name": "isValidTransition",
1876
+ "outputs": [
1877
+ {
1878
+ "internalType": "bool",
1879
+ "name": "",
1880
+ "type": "bool"
1881
+ }
1882
+ ],
1883
+ "stateMutability": "view",
1884
+ "type": "function"
1885
+ },
1886
+ {
1887
+ "inputs": [],
1888
+ "name": "linkToRegisteredNftId",
1889
+ "outputs": [],
1890
+ "stateMutability": "nonpayable",
1891
+ "type": "function"
1892
+ },
1893
+ {
1894
+ "inputs": [
1895
+ {
1896
+ "internalType": "RoleId",
1897
+ "name": "roleId",
1898
+ "type": "uint64"
1899
+ }
1900
+ ],
1901
+ "name": "renounceRole",
980
1902
  "outputs": [
1903
+ {
1904
+ "internalType": "bool",
1905
+ "name": "revoked",
1906
+ "type": "bool"
1907
+ }
1908
+ ],
1909
+ "stateMutability": "nonpayable",
1910
+ "type": "function"
1911
+ },
1912
+ {
1913
+ "inputs": [
1914
+ {
1915
+ "internalType": "RoleId",
1916
+ "name": "roleId",
1917
+ "type": "uint64"
1918
+ },
981
1919
  {
982
1920
  "internalType": "address",
983
- "name": "roleMembers",
1921
+ "name": "member",
984
1922
  "type": "address"
985
1923
  }
986
1924
  ],
987
- "stateMutability": "view",
1925
+ "name": "revokeRole",
1926
+ "outputs": [
1927
+ {
1928
+ "internalType": "bool",
1929
+ "name": "revoked",
1930
+ "type": "bool"
1931
+ }
1932
+ ],
1933
+ "stateMutability": "nonpayable",
988
1934
  "type": "function"
989
1935
  },
990
1936
  {
991
1937
  "inputs": [
992
1938
  {
993
1939
  "internalType": "RoleId",
994
- "name": "role",
995
- "type": "bytes8"
1940
+ "name": "roleId",
1941
+ "type": "uint64"
996
1942
  }
997
1943
  ],
998
- "name": "getRoleMemberCount",
1944
+ "name": "roleMembers",
999
1945
  "outputs": [
1000
1946
  {
1001
1947
  "internalType": "uint256",
1002
- "name": "roleMembers",
1948
+ "name": "numberOfMembers",
1003
1949
  "type": "uint256"
1004
1950
  }
1005
1951
  ],
@@ -1007,19 +1953,13 @@
1007
1953
  "type": "function"
1008
1954
  },
1009
1955
  {
1010
- "inputs": [
1011
- {
1012
- "internalType": "Key32",
1013
- "name": "key",
1014
- "type": "bytes32"
1015
- }
1016
- ],
1017
- "name": "getState",
1956
+ "inputs": [],
1957
+ "name": "roles",
1018
1958
  "outputs": [
1019
1959
  {
1020
- "internalType": "StateId",
1021
- "name": "state",
1022
- "type": "uint8"
1960
+ "internalType": "uint256",
1961
+ "name": "numberOfRoles",
1962
+ "type": "uint256"
1023
1963
  }
1024
1964
  ],
1025
1965
  "stateMutability": "view",
@@ -1028,192 +1968,80 @@
1028
1968
  {
1029
1969
  "inputs": [
1030
1970
  {
1031
- "internalType": "NftId",
1032
- "name": "componentNftId",
1033
- "type": "uint96"
1971
+ "internalType": "address",
1972
+ "name": "newAuthority",
1973
+ "type": "address"
1034
1974
  }
1035
1975
  ],
1036
- "name": "getTokenHandler",
1037
- "outputs": [
1976
+ "name": "setAuthority",
1977
+ "outputs": [],
1978
+ "stateMutability": "nonpayable",
1979
+ "type": "function"
1980
+ },
1981
+ {
1982
+ "inputs": [
1038
1983
  {
1039
- "internalType": "contract TokenHandler",
1040
- "name": "tokenHandler",
1984
+ "internalType": "contract InstanceReader",
1985
+ "name": "instanceReader",
1041
1986
  "type": "address"
1042
1987
  }
1043
1988
  ],
1044
- "stateMutability": "view",
1989
+ "name": "setInstanceReader",
1990
+ "outputs": [],
1991
+ "stateMutability": "nonpayable",
1045
1992
  "type": "function"
1046
1993
  },
1047
1994
  {
1048
1995
  "inputs": [
1049
1996
  {
1050
- "internalType": "NftId",
1051
- "name": "productNftId",
1052
- "type": "uint96"
1053
- }
1054
- ],
1055
- "name": "getTreasuryInfo",
1056
- "outputs": [
1997
+ "internalType": "address",
1998
+ "name": "target",
1999
+ "type": "address"
2000
+ },
1057
2001
  {
1058
- "components": [
1059
- {
1060
- "internalType": "NftId",
1061
- "name": "poolNftId",
1062
- "type": "uint96"
1063
- },
1064
- {
1065
- "internalType": "NftId",
1066
- "name": "distributionNftId",
1067
- "type": "uint96"
1068
- },
1069
- {
1070
- "internalType": "contract IERC20Metadata",
1071
- "name": "token",
1072
- "type": "address"
1073
- },
1074
- {
1075
- "components": [
1076
- {
1077
- "internalType": "UFixed",
1078
- "name": "fractionalFee",
1079
- "type": "uint256"
1080
- },
1081
- {
1082
- "internalType": "uint256",
1083
- "name": "fixedFee",
1084
- "type": "uint256"
1085
- }
1086
- ],
1087
- "internalType": "struct Fee",
1088
- "name": "productFee",
1089
- "type": "tuple"
1090
- },
1091
- {
1092
- "components": [
1093
- {
1094
- "internalType": "UFixed",
1095
- "name": "fractionalFee",
1096
- "type": "uint256"
1097
- },
1098
- {
1099
- "internalType": "uint256",
1100
- "name": "fixedFee",
1101
- "type": "uint256"
1102
- }
1103
- ],
1104
- "internalType": "struct Fee",
1105
- "name": "processingFee",
1106
- "type": "tuple"
1107
- },
1108
- {
1109
- "components": [
1110
- {
1111
- "internalType": "UFixed",
1112
- "name": "fractionalFee",
1113
- "type": "uint256"
1114
- },
1115
- {
1116
- "internalType": "uint256",
1117
- "name": "fixedFee",
1118
- "type": "uint256"
1119
- }
1120
- ],
1121
- "internalType": "struct Fee",
1122
- "name": "poolFee",
1123
- "type": "tuple"
1124
- },
1125
- {
1126
- "components": [
1127
- {
1128
- "internalType": "UFixed",
1129
- "name": "fractionalFee",
1130
- "type": "uint256"
1131
- },
1132
- {
1133
- "internalType": "uint256",
1134
- "name": "fixedFee",
1135
- "type": "uint256"
1136
- }
1137
- ],
1138
- "internalType": "struct Fee",
1139
- "name": "stakingFee",
1140
- "type": "tuple"
1141
- },
1142
- {
1143
- "components": [
1144
- {
1145
- "internalType": "UFixed",
1146
- "name": "fractionalFee",
1147
- "type": "uint256"
1148
- },
1149
- {
1150
- "internalType": "uint256",
1151
- "name": "fixedFee",
1152
- "type": "uint256"
1153
- }
1154
- ],
1155
- "internalType": "struct Fee",
1156
- "name": "performanceFee",
1157
- "type": "tuple"
1158
- },
1159
- {
1160
- "components": [
1161
- {
1162
- "internalType": "UFixed",
1163
- "name": "fractionalFee",
1164
- "type": "uint256"
1165
- },
1166
- {
1167
- "internalType": "uint256",
1168
- "name": "fixedFee",
1169
- "type": "uint256"
1170
- }
1171
- ],
1172
- "internalType": "struct Fee",
1173
- "name": "distributionFee",
1174
- "type": "tuple"
1175
- }
1176
- ],
1177
- "internalType": "struct ITreasury.TreasuryInfo",
1178
- "name": "info",
1179
- "type": "tuple"
2002
+ "internalType": "bool",
2003
+ "name": "closed",
2004
+ "type": "bool"
1180
2005
  }
1181
2006
  ],
1182
- "stateMutability": "view",
2007
+ "name": "setTargetClosed",
2008
+ "outputs": [],
2009
+ "stateMutability": "nonpayable",
1183
2010
  "type": "function"
1184
2011
  },
1185
2012
  {
1186
- "inputs": [],
1187
- "name": "getType",
2013
+ "inputs": [
2014
+ {
2015
+ "internalType": "bytes4",
2016
+ "name": "interfaceId",
2017
+ "type": "bytes4"
2018
+ }
2019
+ ],
2020
+ "name": "supportsInterface",
1188
2021
  "outputs": [
1189
2022
  {
1190
- "internalType": "ObjectType",
1191
- "name": "objectType",
1192
- "type": "uint8"
2023
+ "internalType": "bool",
2024
+ "name": "",
2025
+ "type": "bool"
1193
2026
  }
1194
2027
  ],
1195
- "stateMutability": "pure",
2028
+ "stateMutability": "view",
1196
2029
  "type": "function"
1197
2030
  },
1198
2031
  {
1199
2032
  "inputs": [
1200
2033
  {
1201
- "internalType": "uint256",
1202
- "name": "a",
1203
- "type": "uint256"
1204
- },
1205
- {
1206
- "internalType": "int8",
1207
- "name": "exp",
1208
- "type": "int8"
2034
+ "internalType": "NftId",
2035
+ "name": "bundleNftId",
2036
+ "type": "uint96"
1209
2037
  }
1210
2038
  ],
1211
- "name": "getUFixed",
2039
+ "name": "toBundleKey32",
1212
2040
  "outputs": [
1213
2041
  {
1214
- "internalType": "UFixed",
2042
+ "internalType": "Key32",
1215
2043
  "name": "",
1216
- "type": "uint256"
2044
+ "type": "bytes32"
1217
2045
  }
1218
2046
  ],
1219
2047
  "stateMutability": "pure",
@@ -1222,30 +2050,41 @@
1222
2050
  {
1223
2051
  "inputs": [
1224
2052
  {
1225
- "internalType": "uint256",
1226
- "name": "a",
1227
- "type": "uint256"
2053
+ "internalType": "ObjectType",
2054
+ "name": "objectType",
2055
+ "type": "uint8"
2056
+ },
2057
+ {
2058
+ "internalType": "KeyId",
2059
+ "name": "id",
2060
+ "type": "bytes31"
1228
2061
  }
1229
2062
  ],
1230
- "name": "getUFixed",
2063
+ "name": "toKey32",
1231
2064
  "outputs": [
1232
2065
  {
1233
- "internalType": "UFixed",
2066
+ "internalType": "Key32",
1234
2067
  "name": "",
1235
- "type": "uint256"
2068
+ "type": "bytes32"
1236
2069
  }
1237
2070
  ],
1238
2071
  "stateMutability": "pure",
1239
2072
  "type": "function"
1240
2073
  },
1241
2074
  {
1242
- "inputs": [],
1243
- "name": "getVersion",
2075
+ "inputs": [
2076
+ {
2077
+ "internalType": "NftId",
2078
+ "name": "policyNftId",
2079
+ "type": "uint96"
2080
+ }
2081
+ ],
2082
+ "name": "toPolicyKey32",
1244
2083
  "outputs": [
1245
2084
  {
1246
- "internalType": "Version",
2085
+ "internalType": "Key32",
1247
2086
  "name": "",
1248
- "type": "uint24"
2087
+ "type": "bytes32"
1249
2088
  }
1250
2089
  ],
1251
2090
  "stateMutability": "pure",
@@ -1254,120 +2093,119 @@
1254
2093
  {
1255
2094
  "inputs": [
1256
2095
  {
1257
- "internalType": "uint256",
1258
- "name": "idx",
1259
- "type": "uint256"
2096
+ "internalType": "RoleId",
2097
+ "name": "roleId",
2098
+ "type": "uint64"
1260
2099
  }
1261
2100
  ],
1262
- "name": "getVersion",
2101
+ "name": "toRoleKey32",
1263
2102
  "outputs": [
1264
2103
  {
1265
- "internalType": "Version",
2104
+ "internalType": "Key32",
1266
2105
  "name": "",
1267
- "type": "uint24"
2106
+ "type": "bytes32"
1268
2107
  }
1269
2108
  ],
1270
- "stateMutability": "view",
2109
+ "stateMutability": "pure",
1271
2110
  "type": "function"
1272
2111
  },
1273
2112
  {
1274
- "inputs": [],
1275
- "name": "getVersionCount",
2113
+ "inputs": [
2114
+ {
2115
+ "internalType": "address",
2116
+ "name": "target",
2117
+ "type": "address"
2118
+ }
2119
+ ],
2120
+ "name": "toTargetKey32",
1276
2121
  "outputs": [
1277
2122
  {
1278
- "internalType": "uint256",
2123
+ "internalType": "Key32",
1279
2124
  "name": "",
1280
- "type": "uint256"
2125
+ "type": "bytes32"
1281
2126
  }
1282
2127
  ],
1283
- "stateMutability": "view",
2128
+ "stateMutability": "pure",
1284
2129
  "type": "function"
1285
2130
  },
1286
2131
  {
1287
2132
  "inputs": [
1288
2133
  {
1289
- "internalType": "Version",
1290
- "name": "_version",
1291
- "type": "uint24"
1292
- }
1293
- ],
1294
- "name": "getVersionInfo",
1295
- "outputs": [
2134
+ "internalType": "NftId",
2135
+ "name": "bundleNftId",
2136
+ "type": "uint96"
2137
+ },
1296
2138
  {
1297
2139
  "components": [
1298
2140
  {
1299
- "internalType": "Version",
1300
- "name": "version",
1301
- "type": "uint24"
2141
+ "internalType": "NftId",
2142
+ "name": "poolNftId",
2143
+ "type": "uint96"
2144
+ },
2145
+ {
2146
+ "components": [
2147
+ {
2148
+ "internalType": "UFixed",
2149
+ "name": "fractionalFee",
2150
+ "type": "uint256"
2151
+ },
2152
+ {
2153
+ "internalType": "uint256",
2154
+ "name": "fixedFee",
2155
+ "type": "uint256"
2156
+ }
2157
+ ],
2158
+ "internalType": "struct Fee",
2159
+ "name": "fee",
2160
+ "type": "tuple"
1302
2161
  },
1303
2162
  {
1304
- "internalType": "address",
1305
- "name": "implementation",
1306
- "type": "address"
2163
+ "internalType": "bytes",
2164
+ "name": "filter",
2165
+ "type": "bytes"
1307
2166
  },
1308
2167
  {
1309
- "internalType": "address",
1310
- "name": "activatedBy",
1311
- "type": "address"
2168
+ "internalType": "uint256",
2169
+ "name": "capitalAmount",
2170
+ "type": "uint256"
1312
2171
  },
1313
2172
  {
1314
- "internalType": "Timestamp",
1315
- "name": "activatedAt",
1316
- "type": "uint40"
2173
+ "internalType": "uint256",
2174
+ "name": "lockedAmount",
2175
+ "type": "uint256"
1317
2176
  },
1318
2177
  {
1319
- "internalType": "Blocknumber",
1320
- "name": "activatedIn",
1321
- "type": "uint32"
1322
- }
1323
- ],
1324
- "internalType": "struct IVersionable.VersionInfo",
1325
- "name": "",
1326
- "type": "tuple"
1327
- }
1328
- ],
1329
- "stateMutability": "view",
1330
- "type": "function"
1331
- },
1332
- {
1333
- "inputs": [],
1334
- "name": "getZeroFee",
1335
- "outputs": [
1336
- {
1337
- "components": [
1338
- {
1339
- "internalType": "UFixed",
1340
- "name": "fractionalFee",
2178
+ "internalType": "uint256",
2179
+ "name": "balanceAmount",
1341
2180
  "type": "uint256"
1342
2181
  },
1343
2182
  {
1344
2183
  "internalType": "uint256",
1345
- "name": "fixedFee",
2184
+ "name": "lifetime",
1346
2185
  "type": "uint256"
2186
+ },
2187
+ {
2188
+ "internalType": "Timestamp",
2189
+ "name": "expiredAt",
2190
+ "type": "uint40"
2191
+ },
2192
+ {
2193
+ "internalType": "Timestamp",
2194
+ "name": "closedAt",
2195
+ "type": "uint40"
1347
2196
  }
1348
2197
  ],
1349
- "internalType": "struct Fee",
1350
- "name": "fee",
2198
+ "internalType": "struct IBundle.BundleInfo",
2199
+ "name": "bundle",
1351
2200
  "type": "tuple"
1352
- }
1353
- ],
1354
- "stateMutability": "view",
1355
- "type": "function"
1356
- },
1357
- {
1358
- "inputs": [
1359
- {
1360
- "internalType": "RoleId",
1361
- "name": "role",
1362
- "type": "bytes8"
1363
2201
  },
1364
2202
  {
1365
- "internalType": "address",
1366
- "name": "member",
1367
- "type": "address"
2203
+ "internalType": "StateId",
2204
+ "name": "newState",
2205
+ "type": "uint8"
1368
2206
  }
1369
2207
  ],
1370
- "name": "grantRole",
2208
+ "name": "updateBundle",
1371
2209
  "outputs": [],
1372
2210
  "stateMutability": "nonpayable",
1373
2211
  "type": "function"
@@ -1375,75 +2213,118 @@
1375
2213
  {
1376
2214
  "inputs": [
1377
2215
  {
1378
- "internalType": "RoleId",
1379
- "name": "role",
1380
- "type": "bytes8"
2216
+ "internalType": "NftId",
2217
+ "name": "bundleNftId",
2218
+ "type": "uint96"
1381
2219
  },
1382
2220
  {
1383
- "internalType": "address",
1384
- "name": "member",
1385
- "type": "address"
1386
- }
1387
- ],
1388
- "name": "hasRole",
1389
- "outputs": [
1390
- {
1391
- "internalType": "bool",
1392
- "name": "",
1393
- "type": "bool"
2221
+ "internalType": "StateId",
2222
+ "name": "newState",
2223
+ "type": "uint8"
1394
2224
  }
1395
2225
  ],
1396
- "stateMutability": "view",
2226
+ "name": "updateBundleState",
2227
+ "outputs": [],
2228
+ "stateMutability": "nonpayable",
1397
2229
  "type": "function"
1398
2230
  },
1399
2231
  {
1400
2232
  "inputs": [
1401
2233
  {
1402
2234
  "internalType": "NftId",
1403
- "name": "productNftId",
2235
+ "name": "policyNftId",
1404
2236
  "type": "uint96"
1405
- }
1406
- ],
1407
- "name": "hasTreasuryInfo",
1408
- "outputs": [
2237
+ },
1409
2238
  {
1410
- "internalType": "bool",
1411
- "name": "hasInfo",
1412
- "type": "bool"
1413
- }
1414
- ],
1415
- "stateMutability": "view",
1416
- "type": "function"
1417
- },
1418
- {
1419
- "inputs": [
2239
+ "internalType": "NumberId",
2240
+ "name": "claimId",
2241
+ "type": "uint32"
2242
+ },
1420
2243
  {
1421
- "internalType": "Version",
1422
- "name": "_version",
1423
- "type": "uint24"
1424
- }
1425
- ],
1426
- "name": "isActivated",
1427
- "outputs": [
2244
+ "components": [
2245
+ {
2246
+ "internalType": "uint256",
2247
+ "name": "claimAmount",
2248
+ "type": "uint256"
2249
+ },
2250
+ {
2251
+ "internalType": "uint256",
2252
+ "name": "paidAmount",
2253
+ "type": "uint256"
2254
+ },
2255
+ {
2256
+ "internalType": "bytes",
2257
+ "name": "data",
2258
+ "type": "bytes"
2259
+ },
2260
+ {
2261
+ "internalType": "Timestamp",
2262
+ "name": "closedAt",
2263
+ "type": "uint40"
2264
+ }
2265
+ ],
2266
+ "internalType": "struct IPolicy.ClaimInfo",
2267
+ "name": "claim",
2268
+ "type": "tuple"
2269
+ },
1428
2270
  {
1429
- "internalType": "bool",
1430
- "name": "",
1431
- "type": "bool"
2271
+ "internalType": "StateId",
2272
+ "name": "newState",
2273
+ "type": "uint8"
1432
2274
  }
1433
2275
  ],
1434
- "stateMutability": "view",
2276
+ "name": "updateClaim",
2277
+ "outputs": [],
2278
+ "stateMutability": "nonpayable",
1435
2279
  "type": "function"
1436
2280
  },
1437
2281
  {
1438
- "inputs": [],
1439
- "name": "register",
1440
- "outputs": [
2282
+ "inputs": [
1441
2283
  {
1442
2284
  "internalType": "NftId",
1443
- "name": "nftId",
2285
+ "name": "policyNftId",
1444
2286
  "type": "uint96"
2287
+ },
2288
+ {
2289
+ "internalType": "NumberId",
2290
+ "name": "payoutId",
2291
+ "type": "uint32"
2292
+ },
2293
+ {
2294
+ "components": [
2295
+ {
2296
+ "internalType": "NumberId",
2297
+ "name": "claimId",
2298
+ "type": "uint32"
2299
+ },
2300
+ {
2301
+ "internalType": "uint256",
2302
+ "name": "amount",
2303
+ "type": "uint256"
2304
+ },
2305
+ {
2306
+ "internalType": "bytes",
2307
+ "name": "data",
2308
+ "type": "bytes"
2309
+ },
2310
+ {
2311
+ "internalType": "Timestamp",
2312
+ "name": "paidAt",
2313
+ "type": "uint40"
2314
+ }
2315
+ ],
2316
+ "internalType": "struct IPolicy.PayoutInfo",
2317
+ "name": "payout",
2318
+ "type": "tuple"
2319
+ },
2320
+ {
2321
+ "internalType": "StateId",
2322
+ "name": "newState",
2323
+ "type": "uint8"
1445
2324
  }
1446
2325
  ],
2326
+ "name": "updateClaim",
2327
+ "outputs": [],
1447
2328
  "stateMutability": "nonpayable",
1448
2329
  "type": "function"
1449
2330
  },
@@ -1451,21 +2332,16 @@
1451
2332
  "inputs": [
1452
2333
  {
1453
2334
  "internalType": "NftId",
1454
- "name": "nftId",
2335
+ "name": "policyNftId",
1455
2336
  "type": "uint96"
1456
2337
  },
1457
2338
  {
1458
- "internalType": "contract IERC20Metadata",
1459
- "name": "token",
1460
- "type": "address"
1461
- },
1462
- {
1463
- "internalType": "address",
1464
- "name": "wallet",
1465
- "type": "address"
2339
+ "internalType": "StateId",
2340
+ "name": "newState",
2341
+ "type": "uint8"
1466
2342
  }
1467
2343
  ],
1468
- "name": "registerComponent",
2344
+ "name": "updateClaimState",
1469
2345
  "outputs": [],
1470
2346
  "stateMutability": "nonpayable",
1471
2347
  "type": "function"
@@ -1474,21 +2350,60 @@
1474
2350
  "inputs": [
1475
2351
  {
1476
2352
  "internalType": "NftId",
1477
- "name": "nftId",
2353
+ "name": "distributionNftId",
1478
2354
  "type": "uint96"
1479
2355
  },
1480
2356
  {
1481
- "internalType": "bool",
1482
- "name": "isVerifying",
1483
- "type": "bool"
2357
+ "components": [
2358
+ {
2359
+ "internalType": "NftId",
2360
+ "name": "productNftId",
2361
+ "type": "uint96"
2362
+ },
2363
+ {
2364
+ "internalType": "contract TokenHandler",
2365
+ "name": "tokenHandler",
2366
+ "type": "address"
2367
+ },
2368
+ {
2369
+ "components": [
2370
+ {
2371
+ "internalType": "UFixed",
2372
+ "name": "fractionalFee",
2373
+ "type": "uint256"
2374
+ },
2375
+ {
2376
+ "internalType": "uint256",
2377
+ "name": "fixedFee",
2378
+ "type": "uint256"
2379
+ }
2380
+ ],
2381
+ "internalType": "struct Fee",
2382
+ "name": "distributionFee",
2383
+ "type": "tuple"
2384
+ },
2385
+ {
2386
+ "internalType": "bool",
2387
+ "name": "isIntercepting",
2388
+ "type": "bool"
2389
+ },
2390
+ {
2391
+ "internalType": "address",
2392
+ "name": "wallet",
2393
+ "type": "address"
2394
+ }
2395
+ ],
2396
+ "internalType": "struct ISetup.DistributionSetupInfo",
2397
+ "name": "setup",
2398
+ "type": "tuple"
1484
2399
  },
1485
2400
  {
1486
- "internalType": "UFixed",
1487
- "name": "collateralizationRate",
1488
- "type": "uint256"
2401
+ "internalType": "StateId",
2402
+ "name": "newState",
2403
+ "type": "uint8"
1489
2404
  }
1490
2405
  ],
1491
- "name": "registerPool",
2406
+ "name": "updateDistributionSetup",
1492
2407
  "outputs": [],
1493
2408
  "stateMutability": "nonpayable",
1494
2409
  "type": "function"
@@ -1496,22 +2411,17 @@
1496
2411
  {
1497
2412
  "inputs": [
1498
2413
  {
1499
- "internalType": "contract IProductComponent",
1500
- "name": "product",
1501
- "type": "address"
1502
- },
1503
- {
1504
- "internalType": "contract IPoolComponent",
1505
- "name": "pool",
1506
- "type": "address"
2414
+ "internalType": "NftId",
2415
+ "name": "distributionNftId",
2416
+ "type": "uint96"
1507
2417
  },
1508
2418
  {
1509
- "internalType": "contract IDistributionComponent",
1510
- "name": "distribution",
1511
- "type": "address"
2419
+ "internalType": "StateId",
2420
+ "name": "newState",
2421
+ "type": "uint8"
1512
2422
  }
1513
2423
  ],
1514
- "name": "registerProductSetup",
2424
+ "name": "updateDistributionSetupState",
1515
2425
  "outputs": [],
1516
2426
  "stateMutability": "nonpayable",
1517
2427
  "type": "function"
@@ -1520,131 +2430,152 @@
1520
2430
  "inputs": [
1521
2431
  {
1522
2432
  "internalType": "NftId",
1523
- "name": "bundleNftId",
2433
+ "name": "policyNftId",
1524
2434
  "type": "uint96"
1525
2435
  },
1526
2436
  {
1527
- "internalType": "NftId",
1528
- "name": "policyNftId",
1529
- "type": "uint96"
1530
- }
1531
- ],
1532
- "name": "releasePolicy",
1533
- "outputs": [
2437
+ "internalType": "NumberId",
2438
+ "name": "payoutId",
2439
+ "type": "uint32"
2440
+ },
2441
+ {
2442
+ "components": [
2443
+ {
2444
+ "internalType": "NumberId",
2445
+ "name": "claimId",
2446
+ "type": "uint32"
2447
+ },
2448
+ {
2449
+ "internalType": "uint256",
2450
+ "name": "amount",
2451
+ "type": "uint256"
2452
+ },
2453
+ {
2454
+ "internalType": "bytes",
2455
+ "name": "data",
2456
+ "type": "bytes"
2457
+ },
2458
+ {
2459
+ "internalType": "Timestamp",
2460
+ "name": "paidAt",
2461
+ "type": "uint40"
2462
+ }
2463
+ ],
2464
+ "internalType": "struct IPolicy.PayoutInfo",
2465
+ "name": "payout",
2466
+ "type": "tuple"
2467
+ },
1534
2468
  {
1535
- "internalType": "uint256",
1536
- "name": "collateralAmount",
1537
- "type": "uint256"
2469
+ "internalType": "StateId",
2470
+ "name": "newState",
2471
+ "type": "uint8"
1538
2472
  }
1539
2473
  ],
2474
+ "name": "updateDistributor",
2475
+ "outputs": [],
1540
2476
  "stateMutability": "nonpayable",
1541
2477
  "type": "function"
1542
2478
  },
1543
2479
  {
1544
2480
  "inputs": [
1545
2481
  {
1546
- "internalType": "RoleId",
1547
- "name": "role",
1548
- "type": "bytes8"
2482
+ "internalType": "NftId",
2483
+ "name": "policyNftId",
2484
+ "type": "uint96"
1549
2485
  },
1550
2486
  {
1551
- "internalType": "address",
1552
- "name": "member",
1553
- "type": "address"
2487
+ "internalType": "StateId",
2488
+ "name": "newState",
2489
+ "type": "uint8"
1554
2490
  }
1555
2491
  ],
1556
- "name": "revokeRole",
2492
+ "name": "updateDistributorState",
1557
2493
  "outputs": [],
1558
2494
  "stateMutability": "nonpayable",
1559
2495
  "type": "function"
1560
2496
  },
1561
- {
1562
- "inputs": [
1563
- {
1564
- "internalType": "RoleId",
1565
- "name": "role",
1566
- "type": "bytes8"
1567
- }
1568
- ],
1569
- "name": "roleExists",
1570
- "outputs": [
1571
- {
1572
- "internalType": "bool",
1573
- "name": "",
1574
- "type": "bool"
1575
- }
1576
- ],
1577
- "stateMutability": "view",
1578
- "type": "function"
1579
- },
1580
2497
  {
1581
2498
  "inputs": [
1582
2499
  {
1583
2500
  "internalType": "NftId",
1584
- "name": "bundleNftId",
2501
+ "name": "policyNftId",
1585
2502
  "type": "uint96"
1586
2503
  },
2504
+ {
2505
+ "internalType": "NumberId",
2506
+ "name": "payoutId",
2507
+ "type": "uint32"
2508
+ },
1587
2509
  {
1588
2510
  "components": [
1589
2511
  {
1590
- "internalType": "NftId",
1591
- "name": "poolNftId",
1592
- "type": "uint96"
1593
- },
1594
- {
1595
- "components": [
1596
- {
1597
- "internalType": "UFixed",
1598
- "name": "fractionalFee",
1599
- "type": "uint256"
1600
- },
1601
- {
1602
- "internalType": "uint256",
1603
- "name": "fixedFee",
1604
- "type": "uint256"
1605
- }
1606
- ],
1607
- "internalType": "struct Fee",
1608
- "name": "fee",
1609
- "type": "tuple"
1610
- },
1611
- {
1612
- "internalType": "bytes",
1613
- "name": "filter",
1614
- "type": "bytes"
1615
- },
1616
- {
1617
- "internalType": "uint256",
1618
- "name": "capitalAmount",
1619
- "type": "uint256"
1620
- },
1621
- {
1622
- "internalType": "uint256",
1623
- "name": "lockedAmount",
1624
- "type": "uint256"
2512
+ "internalType": "NumberId",
2513
+ "name": "claimId",
2514
+ "type": "uint32"
1625
2515
  },
1626
2516
  {
1627
2517
  "internalType": "uint256",
1628
- "name": "balanceAmount",
2518
+ "name": "amount",
1629
2519
  "type": "uint256"
1630
2520
  },
1631
2521
  {
1632
- "internalType": "Timestamp",
1633
- "name": "expiredAt",
1634
- "type": "uint40"
2522
+ "internalType": "bytes",
2523
+ "name": "data",
2524
+ "type": "bytes"
1635
2525
  },
1636
2526
  {
1637
2527
  "internalType": "Timestamp",
1638
- "name": "closedAt",
2528
+ "name": "paidAt",
1639
2529
  "type": "uint40"
1640
2530
  }
1641
2531
  ],
1642
- "internalType": "struct IBundle.BundleInfo",
1643
- "name": "info",
2532
+ "internalType": "struct IPolicy.PayoutInfo",
2533
+ "name": "payout",
1644
2534
  "type": "tuple"
2535
+ },
2536
+ {
2537
+ "internalType": "StateId",
2538
+ "name": "newState",
2539
+ "type": "uint8"
2540
+ }
2541
+ ],
2542
+ "name": "updateDistributorType",
2543
+ "outputs": [],
2544
+ "stateMutability": "nonpayable",
2545
+ "type": "function"
2546
+ },
2547
+ {
2548
+ "inputs": [
2549
+ {
2550
+ "internalType": "NftId",
2551
+ "name": "policyNftId",
2552
+ "type": "uint96"
2553
+ },
2554
+ {
2555
+ "internalType": "StateId",
2556
+ "name": "newState",
2557
+ "type": "uint8"
2558
+ }
2559
+ ],
2560
+ "name": "updateDistributorTypeState",
2561
+ "outputs": [],
2562
+ "stateMutability": "nonpayable",
2563
+ "type": "function"
2564
+ },
2565
+ {
2566
+ "inputs": [
2567
+ {
2568
+ "internalType": "NftId",
2569
+ "name": "policyNftId",
2570
+ "type": "uint96"
2571
+ },
2572
+ {
2573
+ "internalType": "StateId",
2574
+ "name": "newState",
2575
+ "type": "uint8"
1645
2576
  }
1646
2577
  ],
1647
- "name": "setBundleInfo",
2578
+ "name": "updatePayoutState",
1648
2579
  "outputs": [],
1649
2580
  "stateMutability": "nonpayable",
1650
2581
  "type": "function"
@@ -1673,11 +2604,6 @@
1673
2604
  "name": "referralId",
1674
2605
  "type": "bytes8"
1675
2606
  },
1676
- {
1677
- "internalType": "address",
1678
- "name": "beneficiary",
1679
- "type": "address"
1680
- },
1681
2607
  {
1682
2608
  "internalType": "RiskId",
1683
2609
  "name": "riskId",
@@ -1713,6 +2639,21 @@
1713
2639
  "name": "policyData",
1714
2640
  "type": "bytes"
1715
2641
  },
2642
+ {
2643
+ "internalType": "uint16",
2644
+ "name": "claimsCount",
2645
+ "type": "uint16"
2646
+ },
2647
+ {
2648
+ "internalType": "uint16",
2649
+ "name": "openClaimsCount",
2650
+ "type": "uint16"
2651
+ },
2652
+ {
2653
+ "internalType": "uint256",
2654
+ "name": "payoutAmount",
2655
+ "type": "uint256"
2656
+ },
1716
2657
  {
1717
2658
  "internalType": "Timestamp",
1718
2659
  "name": "activatedAt",
@@ -1730,11 +2671,16 @@
1730
2671
  }
1731
2672
  ],
1732
2673
  "internalType": "struct IPolicy.PolicyInfo",
1733
- "name": "info",
2674
+ "name": "policy",
1734
2675
  "type": "tuple"
2676
+ },
2677
+ {
2678
+ "internalType": "StateId",
2679
+ "name": "newState",
2680
+ "type": "uint8"
1735
2681
  }
1736
2682
  ],
1737
- "name": "setPolicyInfo",
2683
+ "name": "updatePolicy",
1738
2684
  "outputs": [],
1739
2685
  "stateMutability": "nonpayable",
1740
2686
  "type": "function"
@@ -1742,9 +2688,27 @@
1742
2688
  {
1743
2689
  "inputs": [
1744
2690
  {
1745
- "internalType": "RiskId",
1746
- "name": "riskId",
1747
- "type": "bytes8"
2691
+ "internalType": "NftId",
2692
+ "name": "policyNftId",
2693
+ "type": "uint96"
2694
+ },
2695
+ {
2696
+ "internalType": "StateId",
2697
+ "name": "newState",
2698
+ "type": "uint8"
2699
+ }
2700
+ ],
2701
+ "name": "updatePolicyState",
2702
+ "outputs": [],
2703
+ "stateMutability": "nonpayable",
2704
+ "type": "function"
2705
+ },
2706
+ {
2707
+ "inputs": [
2708
+ {
2709
+ "internalType": "NftId",
2710
+ "name": "poolNftId",
2711
+ "type": "uint96"
1748
2712
  },
1749
2713
  {
1750
2714
  "components": [
@@ -1754,17 +2718,88 @@
1754
2718
  "type": "uint96"
1755
2719
  },
1756
2720
  {
1757
- "internalType": "bytes",
1758
- "name": "data",
1759
- "type": "bytes"
2721
+ "internalType": "contract TokenHandler",
2722
+ "name": "tokenHandler",
2723
+ "type": "address"
2724
+ },
2725
+ {
2726
+ "internalType": "UFixed",
2727
+ "name": "collateralizationLevel",
2728
+ "type": "uint256"
2729
+ },
2730
+ {
2731
+ "components": [
2732
+ {
2733
+ "internalType": "UFixed",
2734
+ "name": "fractionalFee",
2735
+ "type": "uint256"
2736
+ },
2737
+ {
2738
+ "internalType": "uint256",
2739
+ "name": "fixedFee",
2740
+ "type": "uint256"
2741
+ }
2742
+ ],
2743
+ "internalType": "struct Fee",
2744
+ "name": "poolFee",
2745
+ "type": "tuple"
2746
+ },
2747
+ {
2748
+ "components": [
2749
+ {
2750
+ "internalType": "UFixed",
2751
+ "name": "fractionalFee",
2752
+ "type": "uint256"
2753
+ },
2754
+ {
2755
+ "internalType": "uint256",
2756
+ "name": "fixedFee",
2757
+ "type": "uint256"
2758
+ }
2759
+ ],
2760
+ "internalType": "struct Fee",
2761
+ "name": "stakingFee",
2762
+ "type": "tuple"
2763
+ },
2764
+ {
2765
+ "components": [
2766
+ {
2767
+ "internalType": "UFixed",
2768
+ "name": "fractionalFee",
2769
+ "type": "uint256"
2770
+ },
2771
+ {
2772
+ "internalType": "uint256",
2773
+ "name": "fixedFee",
2774
+ "type": "uint256"
2775
+ }
2776
+ ],
2777
+ "internalType": "struct Fee",
2778
+ "name": "performanceFee",
2779
+ "type": "tuple"
2780
+ },
2781
+ {
2782
+ "internalType": "bool",
2783
+ "name": "isIntercepting",
2784
+ "type": "bool"
2785
+ },
2786
+ {
2787
+ "internalType": "address",
2788
+ "name": "wallet",
2789
+ "type": "address"
1760
2790
  }
1761
2791
  ],
1762
- "internalType": "struct IRisk.RiskInfo",
1763
- "name": "info",
2792
+ "internalType": "struct ISetup.PoolSetupInfo",
2793
+ "name": "setup",
1764
2794
  "type": "tuple"
2795
+ },
2796
+ {
2797
+ "internalType": "StateId",
2798
+ "name": "newState",
2799
+ "type": "uint8"
1765
2800
  }
1766
2801
  ],
1767
- "name": "setRiskInfo",
2802
+ "name": "updatePoolSetup",
1768
2803
  "outputs": [],
1769
2804
  "stateMutability": "nonpayable",
1770
2805
  "type": "function"
@@ -1772,17 +2807,17 @@
1772
2807
  {
1773
2808
  "inputs": [
1774
2809
  {
1775
- "internalType": "RoleId",
1776
- "name": "role",
1777
- "type": "bytes8"
2810
+ "internalType": "NftId",
2811
+ "name": "poolNftId",
2812
+ "type": "uint96"
1778
2813
  },
1779
2814
  {
1780
- "internalType": "bool",
1781
- "name": "active",
1782
- "type": "bool"
2815
+ "internalType": "StateId",
2816
+ "name": "newState",
2817
+ "type": "uint8"
1783
2818
  }
1784
2819
  ],
1785
- "name": "setRoleState",
2820
+ "name": "updatePoolSetupState",
1786
2821
  "outputs": [],
1787
2822
  "stateMutability": "nonpayable",
1788
2823
  "type": "function"
@@ -1797,9 +2832,14 @@
1797
2832
  {
1798
2833
  "components": [
1799
2834
  {
1800
- "internalType": "NftId",
1801
- "name": "poolNftId",
1802
- "type": "uint96"
2835
+ "internalType": "contract IERC20Metadata",
2836
+ "name": "token",
2837
+ "type": "address"
2838
+ },
2839
+ {
2840
+ "internalType": "contract TokenHandler",
2841
+ "name": "tokenHandler",
2842
+ "type": "address"
1803
2843
  },
1804
2844
  {
1805
2845
  "internalType": "NftId",
@@ -1807,9 +2847,9 @@
1807
2847
  "type": "uint96"
1808
2848
  },
1809
2849
  {
1810
- "internalType": "contract IERC20Metadata",
1811
- "name": "token",
1812
- "type": "address"
2850
+ "internalType": "NftId",
2851
+ "name": "poolNftId",
2852
+ "type": "uint96"
1813
2853
  },
1814
2854
  {
1815
2855
  "components": [
@@ -1825,7 +2865,7 @@
1825
2865
  }
1826
2866
  ],
1827
2867
  "internalType": "struct Fee",
1828
- "name": "productFee",
2868
+ "name": "distributionFee",
1829
2869
  "type": "tuple"
1830
2870
  },
1831
2871
  {
@@ -1842,7 +2882,7 @@
1842
2882
  }
1843
2883
  ],
1844
2884
  "internalType": "struct Fee",
1845
- "name": "processingFee",
2885
+ "name": "productFee",
1846
2886
  "type": "tuple"
1847
2887
  },
1848
2888
  {
@@ -1859,7 +2899,7 @@
1859
2899
  }
1860
2900
  ],
1861
2901
  "internalType": "struct Fee",
1862
- "name": "poolFee",
2902
+ "name": "processingFee",
1863
2903
  "type": "tuple"
1864
2904
  },
1865
2905
  {
@@ -1876,7 +2916,7 @@
1876
2916
  }
1877
2917
  ],
1878
2918
  "internalType": "struct Fee",
1879
- "name": "stakingFee",
2919
+ "name": "poolFee",
1880
2920
  "type": "tuple"
1881
2921
  },
1882
2922
  {
@@ -1893,7 +2933,7 @@
1893
2933
  }
1894
2934
  ],
1895
2935
  "internalType": "struct Fee",
1896
- "name": "performanceFee",
2936
+ "name": "stakingFee",
1897
2937
  "type": "tuple"
1898
2938
  },
1899
2939
  {
@@ -1910,16 +2950,21 @@
1910
2950
  }
1911
2951
  ],
1912
2952
  "internalType": "struct Fee",
1913
- "name": "distributionFee",
2953
+ "name": "performanceFee",
1914
2954
  "type": "tuple"
1915
2955
  }
1916
2956
  ],
1917
- "internalType": "struct ITreasury.TreasuryInfo",
1918
- "name": "info",
2957
+ "internalType": "struct ISetup.ProductSetupInfo",
2958
+ "name": "setup",
1919
2959
  "type": "tuple"
2960
+ },
2961
+ {
2962
+ "internalType": "StateId",
2963
+ "name": "newState",
2964
+ "type": "uint8"
1920
2965
  }
1921
2966
  ],
1922
- "name": "setTreasuryInfo",
2967
+ "name": "updateProductSetup",
1923
2968
  "outputs": [],
1924
2969
  "stateMutability": "nonpayable",
1925
2970
  "type": "function"
@@ -1927,36 +2972,67 @@
1927
2972
  {
1928
2973
  "inputs": [
1929
2974
  {
1930
- "internalType": "bytes4",
1931
- "name": "interfaceId",
1932
- "type": "bytes4"
1933
- }
1934
- ],
1935
- "name": "supportsInterface",
1936
- "outputs": [
2975
+ "internalType": "NftId",
2976
+ "name": "productNftId",
2977
+ "type": "uint96"
2978
+ },
1937
2979
  {
1938
- "internalType": "bool",
1939
- "name": "",
1940
- "type": "bool"
2980
+ "internalType": "StateId",
2981
+ "name": "newState",
2982
+ "type": "uint8"
1941
2983
  }
1942
2984
  ],
1943
- "stateMutability": "view",
2985
+ "name": "updateProductSetupState",
2986
+ "outputs": [],
2987
+ "stateMutability": "nonpayable",
1944
2988
  "type": "function"
1945
2989
  },
1946
2990
  {
1947
2991
  "inputs": [
1948
2992
  {
1949
2993
  "internalType": "NftId",
1950
- "name": "bundleNftId",
2994
+ "name": "policyNftId",
1951
2995
  "type": "uint96"
1952
2996
  },
2997
+ {
2998
+ "internalType": "NumberId",
2999
+ "name": "payoutId",
3000
+ "type": "uint32"
3001
+ },
3002
+ {
3003
+ "components": [
3004
+ {
3005
+ "internalType": "NumberId",
3006
+ "name": "claimId",
3007
+ "type": "uint32"
3008
+ },
3009
+ {
3010
+ "internalType": "uint256",
3011
+ "name": "amount",
3012
+ "type": "uint256"
3013
+ },
3014
+ {
3015
+ "internalType": "bytes",
3016
+ "name": "data",
3017
+ "type": "bytes"
3018
+ },
3019
+ {
3020
+ "internalType": "Timestamp",
3021
+ "name": "paidAt",
3022
+ "type": "uint40"
3023
+ }
3024
+ ],
3025
+ "internalType": "struct IPolicy.PayoutInfo",
3026
+ "name": "payout",
3027
+ "type": "tuple"
3028
+ },
1953
3029
  {
1954
3030
  "internalType": "StateId",
1955
- "name": "state",
3031
+ "name": "newState",
1956
3032
  "type": "uint8"
1957
3033
  }
1958
3034
  ],
1959
- "name": "updateBundleState",
3035
+ "name": "updateReferral",
1960
3036
  "outputs": [],
1961
3037
  "stateMutability": "nonpayable",
1962
3038
  "type": "function"
@@ -1965,16 +3041,16 @@
1965
3041
  "inputs": [
1966
3042
  {
1967
3043
  "internalType": "NftId",
1968
- "name": "bundleNftId",
3044
+ "name": "policyNftId",
1969
3045
  "type": "uint96"
1970
3046
  },
1971
3047
  {
1972
3048
  "internalType": "StateId",
1973
- "name": "state",
3049
+ "name": "newState",
1974
3050
  "type": "uint8"
1975
3051
  }
1976
3052
  ],
1977
- "name": "updatePolicyState",
3053
+ "name": "updateReferralState",
1978
3054
  "outputs": [],
1979
3055
  "stateMutability": "nonpayable",
1980
3056
  "type": "function"
@@ -1986,9 +3062,44 @@
1986
3062
  "name": "riskId",
1987
3063
  "type": "bytes8"
1988
3064
  },
3065
+ {
3066
+ "components": [
3067
+ {
3068
+ "internalType": "NftId",
3069
+ "name": "productNftId",
3070
+ "type": "uint96"
3071
+ },
3072
+ {
3073
+ "internalType": "bytes",
3074
+ "name": "data",
3075
+ "type": "bytes"
3076
+ }
3077
+ ],
3078
+ "internalType": "struct IRisk.RiskInfo",
3079
+ "name": "risk",
3080
+ "type": "tuple"
3081
+ },
1989
3082
  {
1990
3083
  "internalType": "StateId",
1991
- "name": "state",
3084
+ "name": "newState",
3085
+ "type": "uint8"
3086
+ }
3087
+ ],
3088
+ "name": "updateRisk",
3089
+ "outputs": [],
3090
+ "stateMutability": "nonpayable",
3091
+ "type": "function"
3092
+ },
3093
+ {
3094
+ "inputs": [
3095
+ {
3096
+ "internalType": "RiskId",
3097
+ "name": "riskId",
3098
+ "type": "bytes8"
3099
+ },
3100
+ {
3101
+ "internalType": "StateId",
3102
+ "name": "newState",
1992
3103
  "type": "uint8"
1993
3104
  }
1994
3105
  ],
@@ -2000,126 +3111,129 @@
2000
3111
  {
2001
3112
  "inputs": [
2002
3113
  {
2003
- "internalType": "Key32",
2004
- "name": "key",
2005
- "type": "bytes32"
3114
+ "internalType": "RoleId",
3115
+ "name": "roleId",
3116
+ "type": "uint64"
3117
+ },
3118
+ {
3119
+ "internalType": "string",
3120
+ "name": "name",
3121
+ "type": "string"
2006
3122
  },
2007
3123
  {
2008
3124
  "internalType": "StateId",
2009
- "name": "state",
3125
+ "name": "newState",
3126
+ "type": "uint8"
3127
+ }
3128
+ ],
3129
+ "name": "updateRole",
3130
+ "outputs": [],
3131
+ "stateMutability": "nonpayable",
3132
+ "type": "function"
3133
+ },
3134
+ {
3135
+ "inputs": [
3136
+ {
3137
+ "internalType": "RoleId",
3138
+ "name": "roleId",
3139
+ "type": "uint64"
3140
+ },
3141
+ {
3142
+ "internalType": "StateId",
3143
+ "name": "newState",
2010
3144
  "type": "uint8"
2011
3145
  }
2012
3146
  ],
2013
- "name": "updateState",
3147
+ "name": "updateRoleState",
2014
3148
  "outputs": [],
2015
3149
  "stateMutability": "nonpayable",
2016
3150
  "type": "function"
2017
3151
  }
2018
3152
  ],
2019
- "bytecode": "0x60e06040523480156200001157600080fd5b506040516200912d3803806200912d833981016040819052620000349162000ea0565b81818181620000456000336200046f565b6301ffc9a760e01b60005260026020527f71203db6a8b906f8e7c7701ea536708e3d7c6018d3ad50e5680c3241edacce17805460ff191660011790556001600160a01b038216620000dd5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a5247422d3031303a52454749535452595f5a45524f000000000060448201526064015b60405180910390fd5b6001600160a01b03821660808190526040516301ffc9a760e01b81526306ecd8ef60e01b60048201526301ffc9a790602401602060405180830381865afa1580156200012d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000153919062000ee8565b620001a15760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5247422d3031313a4e4f545f52454749535452590000000000006044820152606401620000d4565b6001600160601b03811660a081905260805160405163e74d052f60e01b815260048101929092526001600160a01b03169063e74d052f90602401602060405180830381865afa158015620001f9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200021f919062000ee8565b620002795760405162461bcd60e51b815260206004820152602360248201527f4552524f523a5247422d3031323a504152454e545f4e4f545f5245474953544560448201526214915160ea1b6064820152608401620000d4565b3360c052631dfba64760e11b60005260026020527ffc5164b528507fb56c225cc68864b8f0ef1e129250403b69e252bd0b2789bfea805460ff191660011790555050604051620002c99062000e75565b604051809103906000f080158015620002e6573d6000803e3d6000fd5b50600380546001600160a01b0319166001600160a01b0392909216919091179055630de7806f60e41b60005260026020527fb7a5bd31c9701672db9f727cc86f4464d7714e74fe637c779c9647bf979b2c39805460ff191660011790556200034d62000746565b506200039890506200035e62000939565b60408051808201909152601581527f446973747269627574696f6e4f776e6572526f6c6500000000000000000000006020820152620009e6565b620003d2620003a662000a4b565b60408051808201909152600f81526e4f7261636c654f776e6572526f6c6560881b6020820152620009e6565b6200040a620003e062000aa6565b60408051808201909152600d81526c506f6f6c4f776e6572526f6c6560981b6020820152620009e6565b620004456200041862000aff565b60408051808201909152601081526f50726f647563744f776e6572526f6c6560801b6020820152620009e6565b5050600354600c80546001600160a01b0319166001600160a01b039092169190911790556200120a565b60006200047b62000b5b565b9050620004888162000be3565b15620004e75760405162461bcd60e51b815260206004820152602760248201527f4552524f523a56524e2d3030313a56455253494f4e5f414c52454144595f41436044820152661512559055115160ca1b6064820152608401620000d4565b60015415620005a75760018054600091906200050590829062000f13565b8154811062000518576200051862000f35565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff1690506200054b828262000c87565b620005a55760405162461bcd60e51b8152602060048201526024808201527f4552524f523a56524e2d3030323a56455253494f4e5f4e4f545f494e4352454160448201526353494e4760e01b6064820152608401620000d4565b505b600180548082018255600091909152600a8082047fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf601805462ffffff808616600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b03808616602084015284169082015260608101620006304290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602081815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517f68e7327fca0057a787cde34ababb9ef9844ba8065ee03e8781d8122fc15d441990620007399083908690869062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b60405180910390a1505050565b60006200075262000b5b565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015620007a8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620007ce919062000f4b565b9050620008176040518060400160405280601581526020017f436f6d706f6e656e744f776e65725365727669636500000000000000000000008152508262000c9960201b60201c565b600480546001600160a01b0319166001600160a01b039290921691909117905560408051808201909152601381527f446973747269627574696f6e5365727669636500000000000000000000000000602082015262000877908262000c99565b600580546001600160a01b0319166001600160a01b039290921691909117905560408051808201909152600e81526d50726f647563745365727669636560901b6020820152620008c8908262000c99565b600680546001600160a01b0319166001600160a01b039290921691909117905560408051808201909152600b81526a506f6f6c5365727669636560a81b602082015262000916908262000c99565b600780546001600160a01b0319166001600160a01b039290921691909117905550565b60405163e14787cb60e01b815260206004820152601560248201527f446973747269627574696f6e4f776e6572526f6c650000000000000000000000604482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb906064015b602060405180830381865af4158015620009bb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620009e1919062000f70565b905090565b604080516060810182526001600160c01b0319841681526020810183905260019181019190915262000a188162000d6c565b7f34e1f82fc40bf14028ae2a3150f074e7715e20ed8e30e250f8789cee718c648583836040516200073992919062000fe4565b60405163e14787cb60e01b815260206004820152600f60248201526e4f7261636c654f776e6572526f6c6560881b604482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb906064016200099d565b60405163e14787cb60e01b815260206004820152600d60248201526c506f6f6c4f776e6572526f6c6560981b604482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb906064016200099d565b60405163e14787cb60e01b815260206004820152601060248201526f50726f647563744f776e6572526f6c6560801b604482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb906064016200099d565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801562000bbd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620009e1919062001013565b62ffffff8116600090815260208190526040808220600101549051631bbffab160e21b8152600160c81b90910463ffffffff166004820152819073__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af415801562000c5a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000c8091906200103a565b1192915050565b62ffffff808216908316115b92915050565b60805160405163a3bcd81d60e01b81526000916001600160a01b03169063a3bcd81d9062000cce908690869060040162001054565b602060405180830381865afa15801562000cec573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000d1291906200107b565b90506001600160a01b03811662000c935760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a494e532d3030313a4e4f545f52454749535445524544000000006044820152606401620000d4565b80516001600160c01b031981166000908152600860209081526040909120835181546001600160401b03191660c09190911c17815590830151839190600182019062000db990826200113e565b50604091909101516002909101805460ff191691151591909117905562000de08162000e4a565b62000e4657600980546001810182556000919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af600482040180546001600160401b0360039093166008026101000a928302191660c084901c929092029190911790555b5050565b6001600160c01b0319818116600081815260086020526040812054909260c09190911b161462000c93565b611f94806200719983390190565b80516001600160a01b038116811462000e9b57600080fd5b919050565b6000806040838503121562000eb457600080fd5b62000ebf8362000e83565b60208401519092506001600160601b038116811462000edd57600080fd5b809150509250929050565b60006020828403121562000efb57600080fd5b8151801515811462000f0c57600080fd5b9392505050565b8181038181111562000c9357634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60006020828403121562000f5e57600080fd5b815160ff8116811462000f0c57600080fd5b60006020828403121562000f8357600080fd5b81516001600160c01b03198116811462000f0c57600080fd5b6000815180845260005b8181101562000fc45760208185018101518683018201520162000fa6565b506000602082860101526020601f19601f83011685010191505092915050565b6001600160c01b0319831681526040602082018190526000906200100b9083018462000f9c565b949350505050565b6000602082840312156200102657600080fd5b815162ffffff8116811462000f0c57600080fd5b6000602082840312156200104d57600080fd5b5051919050565b60408152600062001069604083018562000f9c565b905060ff831660208301529392505050565b6000602082840312156200108e57600080fd5b62000f0c8262000e83565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620010c457607f821691505b602082108103620010e557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200113957600081815260208120601f850160051c81016020861015620011145750805b601f850160051c820191505b81811015620011355782815560010162001120565b5050505b505050565b81516001600160401b038111156200115a576200115a62001099565b62001172816200116b8454620010af565b84620010eb565b602080601f831160018114620011aa5760008415620011915750858301515b600019600386901b1c1916600185901b17855562001135565b600085815260208120601f198616915b82811015620011db57888601518255948401946001909101908401620011ba565b5085821015620011fa5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a05160c051615f43620012566000396000613bff015260006105dc0152600081816107ec0152818161123c0152818161142801528181613b7e0152613c420152615f436000f3fe60806040523480156200001157600080fd5b5060043610620004515760003560e01c8063893d20e81162000241578063bd7d9d85116200013d578063e1f64d7711620000c7578063ee0fdf711162000092578063ee0fdf711462000c30578063f274e87d1462000c47578063f2b246c31462000c74578063fd143c761462000c9a578063fe1f18d61462000cb157600080fd5b8063e1f64d771462000bd4578063e26b857b1462000beb578063e79597401462000c02578063ea5fa54b1462000c1957600080fd5b8063d250185c1162000108578063d250185c1462000b78578063dad73bed1462000b8f578063db70354c1462000ba6578063e03eeb851462000bbd57600080fd5b8063bd7d9d851462000b03578063c2bf7d261462000b29578063ca600b1c1462000b40578063cf5ccedb1462000b5257600080fd5b8063a238accd11620001cb578063af17d38a1162000196578063af17d38a1462000a90578063b88da7591462000aa7578063b89010821462000abe578063b8c510671462000ad5578063b9f36dde1462000aec57600080fd5b8063a238accd1462000a16578063a310e2a31462000a2d578063a5a4fbbc1462000a62578063a90be9071462000a7957600080fd5b80639675513d116200020c5780639675513d146200097157806398457437146200098857806399fd4677146200099f5780639ae31ff514620009e757600080fd5b8063893d20e814620009305780638d5d536e146200093a578063946dfcfe14620009515780639555c4db146200095a57600080fd5b80634793b4ab116200035157806369a44a1b11620002db5780637fec8b3111620002a65780637fec8b3114620008955780638125ea9214620008ac57806383d3331914620008b657806387c5658614620008bf578063887b1fa914620008f757600080fd5b806369a44a1b14620008495780636b9bf08b14620008605780636fa2985314620008725780637cef4842146200088457600080fd5b80635ab1bd53116200031c5780635ab1bd5314620007ea5780635d4345cc1462000811578063644c45e01462000828578063674d0ccf146200083257600080fd5b80634793b4ab146200064d5780634d459c9014620006735780635312fdc2146200078457806357f80bbf14620007b557600080fd5b806315dae03e11620003df57806331b62a3b11620003aa57806331b62a3b14620005da578063349195f914620006015780633bc5de30146200060a578063423eb9fa14620006265780634288121d146200063b57600080fd5b806315dae03e14620005685780631a91887614620005705780631aa3a00814620005a0578063278b381b14620005c357600080fd5b80630abd843411620004205780630abd843414620004f55780630d0ccc5b146200050c5780630d8e6e2c14620005325780630d9b998d146200055157600080fd5b806301ffc9a7146200045657806306a5298b146200049b57806307af0dc014620004b457806309648a9d14620004cb575b600080fd5b62000486620004673660046200434d565b6001600160e01b03191660009081526002602052604090205460ff1690565b60405190151581526020015b60405180910390f35b620004b2620004ac366004620044db565b62000cc8565b005b620004b2620004c5366004620046b1565b62000cf7565b620004e2620004dc36600462004833565b62000db4565b60405160ff909116815260200162000492565b62000486620005063660046200485f565b62000e2b565b620005236200051d3660046200487f565b62000ecf565b60405190815260200162000492565b6200053c62000f58565b60405162ffffff909116815260200162000492565b620004b262000562366004620048b7565b62000fe5565b6032620004e2565b620005876200058136600462004950565b62001188565b6040516001600160a01b03909116815260200162000492565b620005aa620011b9565b6040516001600160601b03909116815260200162000492565b62000486620005d436600462004950565b620012b4565b7f0000000000000000000000000000000000000000000000000000000000000000620005aa565b600f5462000523565b60408051602081018252600081529051620004929190620049c4565b620004b262000637366004620049d9565b5050565b6006546001600160a01b031662000587565b620006646200065e36600462004950565b620012c3565b60405162000492919062004a79565b62000726620006843660046200485f565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091525062ffffff90811660009081526020818152604091829020825160a0810184528154948516815263010000009094046001600160a01b03908116928501929092526001015490811691830191909152600160a01b810464ffffffffff166060830152600160c81b900463ffffffff16608082015290565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a00162000492565b6200079b6200079536600462004833565b620012f0565b6040516001600160c01b0319909116815260200162000492565b620007cc620007c636600462004950565b62001332565b60408051825115158152602092830151928101929092520162000492565b7f000000000000000000000000000000000000000000000000000000000000000062000587565b620004b26200082236600462004b32565b62001367565b620005aa62001410565b620005236200084336600462004b65565b62001478565b620005236200085a36600462004950565b6200149c565b6007546001600160a01b031662000587565b6004546001600160a01b031662000587565b620004b26200063736600462004b85565b620005aa620008a636600462004833565b6200152d565b6200058762001575565b60095462000523565b604080518082018252600080825260209182015281518083019092526013548252601454908201525b60405162000492919062004ba6565b620009216200090836600462004b65565b5060408051808201909152600081526060602082015290565b60405162000492919062004bbe565b620005876200158f565b620004b26200094b36600462004bf6565b6200159b565b60015462000523565b620004b26200096b36600462004cbd565b62001798565b620005236200098236600462004cf0565b620017a4565b620004b26200099936600462004d23565b6200190e565b62000486620009b036600462004d69565b6001600160c01b031982166000908152600a602090815260408083206001600160a01b038516845290915290205460ff1692915050565b620005aa620009f836600462004950565b6001600160601b039081166000908152601160205260409020541690565b620004b262000a2736600462004d8a565b62001a8e565b6200058762000a3e36600462004950565b6001600160601b03166000908152601260205260409020546001600160a01b031690565b6200058762000a7336600462004950565b62001afb565b6200052362000a8a36600462004833565b62001b27565b6200079b62000aa136600462004db2565b62001b63565b6200053c62000ab836600462004833565b62001cec565b620004b262000acf36600462004dff565b62001d30565b6200079b62000ae636600462004db2565b62001e01565b620004b262000afd36600462004d69565b62001e81565b62000b1a62000b1436600462004950565b62001fea565b60405162000492919062004e68565b620004b262000b3a36600462004d69565b6200207b565b6005546001600160a01b031662000587565b62000b6962000b6336600462004b65565b6200227b565b60405162000492919062004fa7565b620008e862000b8936600462004ff0565b62002379565b620004b262000ba036600462005022565b62002408565b620005aa62000bb736600462005055565b62002626565b620004b262000bce36600462005084565b620026bd565b620004b262000be536600462004d23565b620026fa565b620004b262000bfc366004620050b9565b62002848565b6200058762000c133660046200510b565b62003153565b620004b262000c2a3660046200512c565b62003178565b6200048662000c4136600462004b65565b620032f8565b62000c5e62000c583660046200514f565b62003323565b6040805192835260208301919091520162000492565b62000c8b62000c8536600462004950565b620033ba565b6040516200049291906200517f565b620004b262000cab36600462005268565b6200347e565b620004b262000cc236600462004b32565b620035f6565b620006376065838360405160200162000ce291906200517f565b604051602081830303815290604052620036cb565b306001600160a01b0316634288121d6040518163ffffffff1660e01b81526004016020604051808303816000875af115801562000d38573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000d5e919062005360565b6001600160a01b0316336001600160a01b03161462000d9a5760405162461bcd60e51b815260040162000d919062005380565b60405180910390fd5b6200063760d2838360405160200162000ce2919062004e68565b6003546040516309648a9d60e01b8152600481018390526000916001600160a01b0316906309648a9d90602401602060405180830381865afa15801562000dff573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000e259190620053c1565b92915050565b62ffffff8116600090815260208190526040808220600101549051631bbffab160e21b8152600160c81b90910463ffffffff166004820152819073__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af415801562000ea2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000ec89190620053e1565b1192915050565b604051631488c84560e01b815260048101839052600082810b60248301529073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__90631488c84590604401602060405180830381865af415801562000f2b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000f519190620053e1565b9392505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801562000fba573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000fe09190620053fb565b905090565b306001600160a01b0316634288121d6040518163ffffffff1660e01b81526004016020604051808303816000875af115801562001026573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200104c919062005360565b6001600160a01b0316336001600160a01b0316146200107f5760405162461bcd60e51b815260040162000d919062005380565b6000604051806101c00160405280896001600160601b03168152602001836001600160601b03168152602001886001600160c01b031916815260200160006001600160a01b03168152602001876001600160c01b03191681526020018681526020018581526020016000815260200184815260200160405180602001604052806000815250815260200160405180602001604052806000815250815260200162001127600090565b64ffffffffff168152602001600064ffffffffff168152602001600064ffffffffff16905290506200117d60d28a8360405160200162001168919062004e68565b604051602081830303815290604052620037c1565b505050505050505050565b6000806200119960645b8462003880565b806020019051810190620011ae919062005428565b602001519392505050565b6000620011c56200158f565b6001600160a01b0316336001600160a01b031614620012275760405162461bcd60e51b815260206004820152601760248201527f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000604482015260640162000d91565b604051632210724360e11b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690634420e486906024016020604051808303816000875af11580156200128e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000fe091906200547d565b600062000e2560658362003985565b620012cd620042c7565b620012db60dc5b8362003880565b80602001905181019062000e25919062005529565b6000600982815481106200130857620013086200560a565b90600052602060002090600491828204019190066008029054906101000a900460c01b9050919050565b604080518082019091526000808252602082015262001352608c620012d4565b80602001905181019062000e25919062005620565b306001600160a01b0316634288121d6040518163ffffffff1660e01b81526004016020604051808303816000875af1158015620013a8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620013ce919062005360565b6001600160a01b0316336001600160a01b031614620014015760405162461bcd60e51b815260040162000d919062005380565b6200063760d25b838362003a86565b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e90602401602060405180830381865afa1580156200128e573d6000803e3d6000fd5b6001600160c01b031981166000908152600b6020526040812062000e259062003b51565b6001600160601b038116600090815260106020526040808220905163697d0f1b60e11b8152600481019190915273__$0dc988b1672de335b826773df9015af2da$__9063d2fa1e36906024015b602060405180830381865af415801562001507573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000e259190620053e1565b6000600f82815481106200154557620015456200560a565b9060005260206000209060029182820401919006600c029054906101000a90046001600160601b03169050919050565b600062000fe06003546001600160a01b031690565b919050565b600062000fe062003b5c565b306001600160a01b0316636b9bf08b6040518163ffffffff1660e01b81526004016020604051808303816000875af1158015620015dc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001602919062005360565b6001600160a01b0316336001600160a01b031614620016645760405162461bcd60e51b815260206004820152601e60248201527f4552524f523a42444c2d3030313a4e4f545f504f4f4c5f534552564943450000604482015260640162000d91565b6000604051806101000160405280886001600160601b0316815260200187815260200184848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201829052509385525050506020820188905260408201526060810187905260800142604051631ded81af60e31b815264ffffffffff90911660048201526024810187905273__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af415801562001735573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200175b91906200565f565b64ffffffffff168152602001600064ffffffffff16905290506200178e60dc898360405160200162001168919062004a79565b5050505050505050565b62000637828262003cbe565b6000306001600160a01b0316634288121d6040518163ffffffff1660e01b81526004016020604051808303816000875af1158015620017e7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200180d919062005360565b6001600160a01b0316336001600160a01b031614620018405760405162461bcd60e51b815260040162000d91906200567f565b506001600160601b038083166000818152600e602090815260408083209486168352938152838220805490839055928252600d9052829020915163539eabab60e11b8152909173__$0dc988b1672de335b826773df9015af2da$__9163a73d575691620018c39186906004019182526001600160601b0316602082015260400190565b602060405180830381865af4158015620018e1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620019079190620056c0565b5092915050565b6001600160601b03828116600090815260106020526040908190209051632bfdd6b960e01b81526004810182905291851660248301529073__$0dc988b1672de335b826773df9015af2da$__90632bfdd6b990604401602060405180830381865af415801562001982573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620019a89190620056c0565b1562001a015760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504c2d3032303a42554e444c455f414c52454144595f414444456044820152601160fa1b606482015260840162000d91565b604051631461054360e31b8152600481018290526001600160601b038516602482015273__$0dc988b1672de335b826773df9015af2da$__9063a3082a1890604401602060405180830381865af415801562001a61573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001a879190620056c0565b5050505050565b60035460405163a238accd60e01b81526004810184905260ff831660248201526001600160a01b039091169063a238accd90604401600060405180830381600087803b15801562001ade57600080fd5b505af115801562001af3573d6000803e3d6000fd5b505050505050565b60008062001b0a606462001192565b80602001905181019062001b1f919062005428565b519392505050565b6040516322f5db0f60e11b81526004810182905260009073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__906345ebb61e90602401620014e9565b6000306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001ba4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001bca919062005360565b6001600160a01b0316336001600160a01b03161462001bfd5760405162461bcd60e51b815260040162000d9190620056e0565b60405163e14787cb60e01b815273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb9062001c36908590600401620049c4565b602060405180830381865af415801562001c54573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001c7a919062005724565b905062001c8781620032f8565b1562001ce05760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4143532d3031303a524f4c455f414c52454144595f45584953546044820152605360f81b606482015260840162000d91565b6200158a818362003f8f565b60006001828154811062001d045762001d046200560a565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b604080518082019091526001600160601b03831681526020810182905262001dfb60c86040516355ee627560e01b81526001600160c01b03198716600482015273__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af415801562001dad573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001dd39190620053e1565b8360405160200162001de6919062004bbe565b60405160208183030381529060405262003ff4565b50505050565b60405163e14787cb60e01b815260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb9062001e3d908590600401620049c4565b602060405180830381865af415801562001e5b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000e25919062005724565b6001600160c01b0319828116600081815260086020526040902054849260c09190911b161462001ec55760405162461bcd60e51b815260040162000d919062005744565b306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001f04573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001f2a919062005360565b6001600160a01b0316336001600160a01b03161462001f5d5760405162461bcd60e51b815260040162000d9190620056e0565b6001600160c01b031983166000818152600a602090815260408083206001600160a01b03871684528252808320805460ff19169055928252600b90522062001fa690836200402a565b507fab64a6bff51dad0663bf6702fca25a9e2751ecc0353d6fe92d169875453966848383600060405162001fdd939291906200577b565b60405180910390a1505050565b604080516101c08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018390526101208201819052610140820152610160810182905261018081018290526101a08101919091526200206660d2620012d4565b80602001905181019062000e259190620057a8565b6001600160c01b0319828116600081815260086020526040902054849260c09190911b1614620020bf5760405162461bcd60e51b815260040162000d919062005744565b306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa158015620020fe573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002124919062005360565b6001600160a01b0316336001600160a01b031614620021575760405162461bcd60e51b815260040162000d9190620056e0565b6001600160c01b0319831660009081526008602052604090206002015460ff16620021c55760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4143532d3034303a524f4c455f4e4f545f414354495645000000604482015260640162000d91565b6001600160c01b031983166000818152600a602090815260408083206001600160a01b03871684528252808320805460ff19166001179055928252600b90522062002211908362004041565b506001600160c01b031983166000908152600a602090815260408083206001600160a01b0386168452909152908190205490517fab64a6bff51dad0663bf6702fca25a9e2751ecc0353d6fe92d169875453966849162001fdd918691869160ff909116906200577b565b6040805160608082018352600080835260208084018390528385018290526001600160c01b0319868116835260088252918590208551938401909552845460c01b90911682526001840180549394929391840191620022da9062005915565b80601f0160208091040260200160405190810160405280929190818152602001828054620023089062005915565b8015620023595780601f106200232d5761010080835404028352916020019162002359565b820191906000526020600020905b8154815290600101906020018083116200233b57829003601f168201915b50505091835250506002919091015460ff16151560209091015292915050565b60408051808201825260008082526020820152905163638086fd60e11b8152600481018490526024810183905273__$a23651848365a6a5ca15f07b4331037f48$__9063c7010dfa906044016040805180830381865af4158015620023e2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000f51919062005951565b6001600160c01b0319828116600081815260086020526040902054849260c09190911b16146200244c5760405162461bcd60e51b815260040162000d919062005744565b306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200248b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620024b1919062005360565b6001600160a01b0316336001600160a01b031614620024e45760405162461bcd60e51b815260040162000d9190620056e0565b6001600160c01b03198084166000908152600860209081526040808320815160608101909252805460c01b90941681526001840180549394919391928401916200252e9062005915565b80601f01602080910402602001604051908101604052809291908181526020018280546200255c9062005915565b8015620025ad5780601f106200258157610100808354040283529160200191620025ad565b820191906000526020600020905b8154815290600101906020018083116200258f57829003601f168201915b50505091835250506002919091015460ff16151560209091015283151560408201529050620025dc8162004058565b604080516001600160c01b03198616815284151560208201527feaffaec948991ecc6e201ba4f67ba865fbf66aace3d2f2823dc5483cc9813fda910160405180910390a150505050565b6001600160601b038216600090815260106020526040808220905163e797d89960e01b815260048101919091526024810183905273__$0dc988b1672de335b826773df9015af2da$__9063e797d89990604401602060405180830381865af415801562002697573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000f5191906200547d565b60408051808201825283151580825260208083018581528451918201929092529051928101929092529062001dfb90608c90869060600162001168565b306001600160a01b0316634288121d6040518163ffffffff1660e01b81526004016020604051808303816000875af11580156200273b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002761919062005360565b6001600160a01b0316336001600160a01b031614620027945760405162461bcd60e51b815260040162000d91906200567f565b6001600160601b038381166000818152600e60209081526040808320948716808452948252808320869055928252600d90528190209051631461054360e31b81526004810191909152602481019190915273__$0dc988b1672de335b826773df9015af2da$__9063a3082a1890604401602060405180830381865af415801562002822573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001dfb9190620056c0565b6000836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002889573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620028af91906200547d565b90506000836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015620028f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200291891906200547d565b90506000836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200295b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200298191906200547d565b6040516330b8415f60e01b81526001600160601b038516600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015620029dd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002a039190620056c0565b62002a515760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5452532d3031303a50524f445543545f554e444546494e454400604482015260640162000d91565b6040516330b8415f60e01b81526001600160601b038316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562002aaa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002ad09190620056c0565b62002b1e5760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a5452532d3031313a504f4f4c5f554e444546494e454400000000604482015260640162000d91565b6001600160601b0383166000908152601260205260409020546001600160a01b03161562002ba65760405162461bcd60e51b815260206004820152602e60248201527f4552524f523a5452532d3031323a544f4b454e5f48414e444c45525f414c524560448201526d10511657d49151d254d51154915160921b606482015260840162000d91565b6001600160601b0382811660009081526011602052604090819020549051630a4d29dd60e31b81529116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af415801562002c12573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002c389190620056c0565b62002c905760405162461bcd60e51b815260206004820152602160248201527f4552524f523a5452532d3031333a504f4f4c5f414c52454144595f4c494e4b456044820152601160fa1b606482015260840162000d91565b6001600160601b0381811660009081526011602052604090819020549051630a4d29dd60e31b81529116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af415801562002cfc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002d229190620056c0565b62002d825760405162461bcd60e51b815260206004820152602960248201527f4552524f523a5452532d3031343a434f4d50454e534154494f4e5f414c524541604482015268111657d3125392d15160ba1b606482015260840162000d91565b6000866001600160a01b03166321df0da76040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002dc3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002de9919062005360565b9050838160405162002dfb906200433f565b6001600160601b0390921682526001600160a01b03166020820152604001604051809103906000f08015801562002e36573d6000803e3d6000fd5b506001600160601b03858116600081815260126020908152604080832080546001600160a01b0319166001600160a01b039788161790558785168084526011835281842080546bffffffffffffffffffffffff199081168717909155958a16808552828520805490971690951790955580516101208101825293845290830193909352848416828401528251631380bf2360e01b815283519194929360608501938d1692631380bf239260048082019392918290030181865afa15801562002f02573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002f28919062005951565b8152602001896001600160a01b031663daafed406040518163ffffffff1660e01b81526004016040805180830381865afa15801562002f6b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002f91919062005951565b8152602001886001600160a01b0316636741fad26040518163ffffffff1660e01b81526004016040805180830381865afa15801562002fd4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002ffa919062005951565b8152602001886001600160a01b0316634b270a466040518163ffffffff1660e01b81526004016040805180830381865afa1580156200303d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003063919062005951565b8152602001886001600160a01b031663235c36036040518163ffffffff1660e01b81526004016040805180830381865afa158015620030a6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620030cc919062005951565b8152602001876001600160a01b0316637c3d51666040518163ffffffff1660e01b81526004016040805180830381865afa1580156200310f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003135919062005951565b905290506200178e606586836040516020016200116891906200517f565b6001600160c01b031982166000908152600b6020526040812062000f51908362004136565b306001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa158015620031b7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620031dd919062005360565b6001600160a01b0316336001600160a01b0316146200323f5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434d502d3030313a4e4f545f4f574e45525f5345525649434500604482015260640162000d91565b604080518082019091526001600160a01b03838116825282166020820152600f8054600180820183556000929092527f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac8026002820401805492909116600c026101000a6001600160601b03818102199093169287160291909117905562001dfb620032c7606490565b858360405160200162001168919081516001600160a01b039081168252602092830151169181019190915260400190565b6001600160c01b0319818116600081815260086020526040812054909260c09190911b161462000e25565b60405163012ebd8360e21b8152815160048201526020820151602482015260448101839052600090819073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af415801562003389573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620033af919062005970565b915091509250929050565b6200345d6040805161012081018252600080825260208083018290528284018290528351808501855282815280820183905260608401528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e084015283518085019094528184528301529061010082015290565b620034696065620012d4565b80602001905181019062000e25919062005995565b306001600160a01b0316636b9bf08b6040518163ffffffff1660e01b81526004016020604051808303816000875af1158015620034bf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620034e5919062005360565b6001600160a01b0316336001600160a01b031614806200357c5750306001600160a01b0316634288121d6040518163ffffffff1660e01b81526004016020604051808303816000875af115801562003541573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003567919062005360565b6001600160a01b0316336001600160a01b0316145b620035dc5760405162461bcd60e51b815260206004820152602960248201527f4552524f523a42444c2d3030333a4e4f545f504f4f4c5f4f525f50524f445543604482015268545f5345525649434560b81b606482015260840162000d91565b6200063760dc838360405160200162000ce2919062004a79565b306001600160a01b0316636b9bf08b6040518163ffffffff1660e01b81526004016020604051808303816000875af115801562003637573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200365d919062005360565b6001600160a01b0316336001600160a01b031614620036bf5760405162461bcd60e51b815260206004820152601e60248201527f4552524f523a42444c2d3030313a4e4f545f504f4f4c5f534552564943450000604482015260640162000d91565b6200063760dc62001408565b600c54604051630711349960e31b81526001600160601b038416600482015260ff851660248201526001600160a01b0390911690636ec3d9409073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c890604401602060405180830381865af415801562003742573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620037689190620053e1565b836040518363ffffffff1660e01b81526004016200378892919062005a69565b600060405180830381600087803b158015620037a357600080fd5b505af1158015620037b8573d6000803e3d6000fd5b50505050505050565b600c54604051630711349960e31b81526001600160601b038416600482015260ff851660248201526001600160a01b0390911690635dee47889073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c890604401602060405180830381865af415801562003838573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200385e9190620053e1565b85846040518463ffffffff1660e01b8152600401620037889392919062005a84565b600c54604051630711349960e31b81526001600160601b038316600482015260ff841660248201526060916001600160a01b0316906354f6127f9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c890604401602060405180830381865af4158015620038f8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200391e9190620053e1565b6040518263ffffffff1660e01b81526004016200393d91815260200190565b600060405180830381865afa1580156200395b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000f51919081019062005ab1565b600c54604051630711349960e31b81526001600160601b038316600482015260ff841660248201526000916001600160a01b0316906338a699a49073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c890604401602060405180830381865af4158015620039fd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003a239190620053e1565b6040518263ffffffff1660e01b815260040162003a4291815260200190565b602060405180830381865afa15801562003a60573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000f519190620056c0565b600c54604051630711349960e31b81526001600160601b038416600482015260ff851660248201526001600160a01b039091169063a238accd9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c890604401602060405180830381865af415801562003afd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003b239190620053e1565b6040516001600160e01b031960e084901b168152600481019190915260ff8416602482015260440162003788565b600062000e25825490565b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa15801562003bc6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003bec91906200547d565b90506001600160601b03811662003c24577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa15801562003c92573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003cb8919062005360565b91505090565b600062003cca62000f58565b905062003cd78162000e2b565b1562003d365760405162461bcd60e51b815260206004820152602760248201527f4552524f523a56524e2d3030313a56455253494f4e5f414c52454144595f41436044820152661512559055115160ca1b606482015260840162000d91565b6001541562003dfd57600180546000919062003d5490829062005ae9565b8154811062003d675762003d676200560a565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff16905062003da1828262ffffff90811691161190565b62003dfb5760405162461bcd60e51b8152602060048201526024808201527f4552524f523a56524e2d3030323a56455253494f4e5f4e4f545f494e4352454160448201526353494e4760e01b606482015260840162000d91565b505b600180548082018255600091909152600a8082047fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf601805462ffffff808616600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b0380861660208401528416908201526060810162003e864290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602081815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517f68e7327fca0057a787cde34ababb9ef9844ba8065ee03e8781d8122fc15d44199062001fdd9083908690869062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b604080516060810182526001600160c01b0319841681526020810183905260019181019190915262003fc18162004058565b7f34e1f82fc40bf14028ae2a3150f074e7715e20ed8e30e250f8789cee718c6485838360405162001fdd92919062005b0b565b600c54604051630bbdc8f160e31b81526001600160a01b0390911690635dee478890620037889085908790869060040162005a84565b600062000f51836001600160a01b03841662004144565b600062000f51836001600160a01b03841662004248565b80516001600160c01b0319811660009081526008602090815260409091208351815467ffffffffffffffff191660c09190911c178155908301518391906001820190620040a6908262005b81565b50604091909101516002909101805460ff1916911515919091179055620040cd81620032f8565b6200063757600980546001810182556000919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af600482040180546001600160401b0360039093166008026101000a928302191660c09390931c9190910291909117905550565b600062000f5183836200429a565b600081815260018301602052604081205480156200423d5760006200416b60018362005ae9565b8554909150600090620041819060019062005ae9565b9050818114620041ed576000866000018281548110620041a557620041a56200560a565b9060005260206000200154905080876000018481548110620041cb57620041cb6200560a565b6000918252602080832090910192909255918252600188019052604090208390555b855486908062004201576200420162005c4d565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505062000e25565b600091505062000e25565b6000818152600183016020526040812054620042915750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562000e25565b50600062000e25565b6000826000018281548110620042b457620042b46200560a565b9060005260206000200154905092915050565b60405180610100016040528060006001600160601b0316815260200162004301604051806040016040528060008152602001600081525090565b815260200160608152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b6102aa8062005c6483390190565b6000602082840312156200436057600080fd5b81356001600160e01b03198116811462000f5157600080fd5b6001600160601b03811681146200438f57600080fd5b50565b80356200158a8162004379565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715620043da57620043da6200439f565b60405290565b60405161012081016001600160401b0381118282101715620043da57620043da6200439f565b6040516101c081016001600160401b0381118282101715620043da57620043da6200439f565b60405161010081016001600160401b0381118282101715620043da57620043da6200439f565b604051601f8201601f191681016001600160401b03811182821017156200447d576200447d6200439f565b604052919050565b6001600160a01b03811681146200438f57600080fd5b80356200158a8162004485565b600060408284031215620044bb57600080fd5b620044c5620043b5565b9050813581526020820135602082015292915050565b600080828403610200811215620044f157600080fd5b8335620044fe8162004379565b92506101e0601f19820112156200451457600080fd5b506200451f620043e0565b6200452d6020850162004392565b81526200453d6040850162004392565b602082015262004550606085016200449b565b6040820152620045648560808601620044a8565b6060820152620045788560c08601620044a8565b60808201526101006200458e86828701620044a8565b60a0830152620045a3866101408701620044a8565b60c0830152620045b8866101808701620044a8565b60e0830152620045cd866101c08701620044a8565b90820152919491935090915050565b6001600160c01b0319811681146200438f57600080fd5b80356200158a81620045dc565b60006001600160401b038211156200461c576200461c6200439f565b50601f01601f191660200190565b6000620046416200463b8462004600565b62004452565b90508281528383830111156200465657600080fd5b828260208301376000602084830101529392505050565b600082601f8301126200467f57600080fd5b62000f51838335602085016200462a565b64ffffffffff811681146200438f57600080fd5b80356200158a8162004690565b60008060408385031215620046c557600080fd5b8235620046d28162004379565b915060208301356001600160401b0380821115620046ef57600080fd5b908401906101c082870312156200470557600080fd5b6200470f62004406565b6200471a8362004392565b81526200472a6020840162004392565b60208201526200473d60408401620045f3565b604082015262004750606084016200449b565b60608201526200476360808401620045f3565b608082015260a083013560a082015260c083013560c082015260e083013560e08201526101008084013581830152506101208084013583811115620047a757600080fd5b620047b5898287016200466d565b8284015250506101408084013583811115620047d057600080fd5b620047de898287016200466d565b8284015250506101609150620047f6828401620046a4565b8282015261018091506200480c828401620046a4565b828201526101a0915062004822828401620046a4565b828201528093505050509250929050565b6000602082840312156200484657600080fd5b5035919050565b62ffffff811681146200438f57600080fd5b6000602082840312156200487257600080fd5b813562000f51816200484d565b600080604083850312156200489357600080fd5b8235915060208301358060000b8114620048ac57600080fd5b809150509250929050565b600080600080600080600080610100898b031215620048d557600080fd5b8835620048e28162004379565b97506020890135620048f48162004379565b965060408901356200490681620045dc565b955060608901356200491881620045dc565b94506080890135935060a0890135925060c0890135915060e08901356200493f8162004379565b809150509295985092959890939650565b6000602082840312156200496357600080fd5b813562000f518162004379565b60005b838110156200498d57818101518382015260200162004973565b50506000910152565b60008151808452620049b081602086016020860162004970565b601f01601f19169290920160200192915050565b60208152600062000f51602083018462004996565b60008060408385031215620049ed57600080fd5b8235620049fa81620045dc565b915060208301356001600160401b038082111562004a1757600080fd5b908401906040828703121562004a2c57600080fd5b62004a36620043b5565b823562004a438162004379565b815260208301358281111562004a5857600080fd5b62004a66888286016200466d565b6020830152508093505050509250929050565b602081526001600160601b0382511660208201526000602083015162004aac604084018280518252602090810151910152565b50604083015161012080608085015262004acb61014085018362004996565b9150606085015160a0850152608085015160c085015260a085015160e085015260c085015162004b0561010086018264ffffffffff169052565b5060e085015164ffffffffff8116858301525b5090949350505050565b60ff811681146200438f57600080fd5b6000806040838503121562004b4657600080fd5b823562004b538162004379565b91506020830135620048ac8162004b22565b60006020828403121562004b7857600080fd5b813562000f5181620045dc565b6000806040838503121562004b9957600080fd5b823562004b5381620045dc565b81518152602080830151908201526040810162000e25565b602081526001600160601b0382511660208201526000602083015160408084015262004bee606084018262004996565b949350505050565b600080600080600080600060e0888a03121562004c1257600080fd5b873562004c1f8162004379565b9650602088013562004c318162004379565b955062004c428960408a01620044a8565b94506080880135935060a0880135925060c08801356001600160401b038082111562004c6d57600080fd5b818a0191508a601f83011262004c8257600080fd5b81358181111562004c9257600080fd5b8b602082850101111562004ca557600080fd5b60208301945080935050505092959891949750929550565b6000806040838503121562004cd157600080fd5b823562004cde8162004485565b91506020830135620048ac8162004485565b6000806040838503121562004d0457600080fd5b823562004d118162004379565b91506020830135620048ac8162004379565b60008060006060848603121562004d3957600080fd5b833562004d468162004379565b9250602084013562004d588162004379565b929592945050506040919091013590565b6000806040838503121562004d7d57600080fd5b823562004cde81620045dc565b6000806040838503121562004d9e57600080fd5b823591506020830135620048ac8162004b22565b60006020828403121562004dc557600080fd5b81356001600160401b0381111562004ddc57600080fd5b8201601f8101841362004dee57600080fd5b62004bee848235602084016200462a565b60008060006060848603121562004e1557600080fd5b833562004e2281620045dc565b9250602084013562004e348162004379565b915060408401356001600160401b0381111562004e5057600080fd5b62004e5e868287016200466d565b9150509250925092565b6020815262004e836020820183516001600160601b03169052565b6000602083015162004ea060408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160a01b03811660808401525060808301516001600160c01b0319811660a08401525060a083015160c083015260c083015160e083015260e08301516101008181850152808501519150506101208181850152808501519150506101c0610140818186015262004f346101e086018462004996565b9250808601519050610160601f19868503018187015262004f56848362004996565b93508087015191505061018062004f758187018364ffffffffff169052565b86015190506101a062004f908682018364ffffffffff169052565b86015164ffffffffff811683870152905062004b18565b602080825282516001600160c01b031916828201528201516060604083015260009062004fd8608084018262004996565b90506040840151151560608401528091505092915050565b600080604083850312156200500457600080fd5b50508035926020909101359150565b80151581146200438f57600080fd5b600080604083850312156200503657600080fd5b82356200504381620045dc565b91506020830135620048ac8162005013565b600080604083850312156200506957600080fd5b8235620050768162004379565b946020939093013593505050565b6000806000606084860312156200509a57600080fd5b8335620050a78162004379565b9250602084013562004d588162005013565b600080600060608486031215620050cf57600080fd5b8335620050dc8162004485565b92506020840135620050ee8162004485565b91506040840135620051008162004485565b809150509250925092565b600080604083850312156200511f57600080fd5b82356200507681620045dc565b6000806000606084860312156200514257600080fd5b8335620050dc8162004379565b600080606083850312156200516357600080fd5b82359150620051768460208501620044a8565b90509250929050565b81516001600160601b031681526020808301516101e0830191620051ad908401826001600160601b03169052565b506040830151620051c960408401826001600160a01b03169052565b506060830151620051e7606084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151805161012084015260208101516101408401525060e0830151805161016084015260208101516101808401525061010083015180516101a084015260208101516101c084015262001907565b600080604083850312156200527c57600080fd5b8235620052898162004379565b915060208301356001600160401b0380821115620052a657600080fd5b908401906101208287031215620052bc57600080fd5b620052c66200442c565b620052d18362004392565b8152620052e28760208501620044a8565b6020820152606083013582811115620052fa57600080fd5b62005308888286016200466d565b6040830152506080830135606082015260a0830135608082015260c083013560a08201526200533a60e08401620046a4565b60c08201526200534e6101008401620046a4565b60e08201528093505050509250929050565b6000602082840312156200537357600080fd5b815162000f518162004485565b60208082526021908201527f4552524f523a504f4c2d3030313a4e4f545f50524f445543545f5345525649436040820152604560f81b606082015260800190565b600060208284031215620053d457600080fd5b815162000f518162004b22565b600060208284031215620053f457600080fd5b5051919050565b6000602082840312156200540e57600080fd5b815162000f51816200484d565b80516200158a8162004485565b6000604082840312156200543b57600080fd5b62005445620043b5565b8251620054528162004485565b81526020830151620054648162004485565b60208201529392505050565b80516200158a8162004379565b6000602082840312156200549057600080fd5b815162000f518162004379565b600060408284031215620054b057600080fd5b620054ba620043b5565b9050815181526020820151602082015292915050565b600082601f830112620054e257600080fd5b8151620054f36200463b8262004600565b8181528460208386010111156200550957600080fd5b62004bee82602083016020870162004970565b80516200158a8162004690565b6000602082840312156200553c57600080fd5b81516001600160401b03808211156200555457600080fd5b9083019061012082860312156200556a57600080fd5b620055746200442c565b6200557f8362005470565b81526200559086602085016200549d565b6020820152606083015182811115620055a857600080fd5b620055b687828601620054d0565b6040830152506080830151606082015260a0830151608082015260c083015160a0820152620055e860e084016200551c565b60c0820152620055fc61010084016200551c565b60e082015295945050505050565b634e487b7160e01b600052603260045260246000fd5b6000604082840312156200563357600080fd5b6200563d620043b5565b82516200564a8162005013565b81526020928301519281019290925250919050565b6000602082840312156200567257600080fd5b815162000f518162004690565b60208082526021908201527f4552524f523a42444c2d3030323a4e4f545f50524f445543545f5345525649436040820152604560f81b606082015260800190565b600060208284031215620056d357600080fd5b815162000f518162005013565b60208082526017908201527f4552524f523a4143532d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b80516200158a81620045dc565b6000602082840312156200573757600080fd5b815162000f5181620045dc565b6020808252601f908201527f4552524f523a4143532d3030323a524f4c455f4e4f545f4558495354494e4700604082015260600190565b6001600160c01b03199390931683526001600160a01b039190911660208301521515604082015260600190565b600060208284031215620057bb57600080fd5b81516001600160401b0380821115620057d357600080fd5b908301906101c08286031215620057e957600080fd5b620057f362004406565b620057fe8362005470565b81526200580e6020840162005470565b6020820152620058216040840162005717565b604082015262005834606084016200541b565b6060820152620058476080840162005717565b608082015260a083015160a082015260c083015160c082015260e083015160e082015261010080840151818301525061012080840151838111156200588b57600080fd5b6200589988828701620054d0565b8284015250506101408084015183811115620058b457600080fd5b620058c288828701620054d0565b8284015250506101609150620058da8284016200551c565b828201526101809150620058f08284016200551c565b828201526101a09150620059068284016200551c565b91810191909152949350505050565b600181811c908216806200592a57607f821691505b6020821081036200594b57634e487b7160e01b600052602260045260246000fd5b50919050565b6000604082840312156200596457600080fd5b62000f5183836200549d565b600080604083850312156200598457600080fd5b505080516020909101519092909150565b60006101e08284031215620059a957600080fd5b620059b3620043e0565b620059be8362005470565b8152620059ce6020840162005470565b6020820152620059e1604084016200541b565b6040820152620059f584606085016200549d565b606082015262005a098460a085016200549d565b608082015262005a1d8460e085016200549d565b60a082015262005a328461012085016200549d565b60c082015262005a478461016085016200549d565b60e082015262005a5c846101a085016200549d565b6101008201529392505050565b82815260406020820152600062004bee604083018462004996565b83815260ff8316602082015260606040820152600062005aa8606083018462004996565b95945050505050565b60006020828403121562005ac457600080fd5b81516001600160401b0381111562005adb57600080fd5b62004bee84828501620054d0565b8181038181111562000e2557634e487b7160e01b600052601160045260246000fd5b6001600160401b0360c01b8316815260406020820152600062004bee604083018462004996565b601f82111562005b7c57600081815260208120601f850160051c8101602086101562005b5b5750805b601f850160051c820191505b8181101562001af35782815560010162005b67565b505050565b81516001600160401b0381111562005b9d5762005b9d6200439f565b62005bb58162005bae845462005915565b8462005b32565b602080601f83116001811462005bed576000841562005bd45750858301515b600019600386901b1c1916600185901b17855562001af3565b600085815260208120601f198616915b8281101562005c1e5788860151825594840194600190910190840162005bfd565b508582101562005c3d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603160045260246000fdfe608060405234801561001057600080fd5b506040516102aa3803806102aa83398101604081905261002f9161005b565b6001600160a01b03166c01000000000000000000000000026001600160601b03909116176000556100ad565b6000806040838503121561006e57600080fd5b82516001600160601b038116811461008557600080fd5b60208401519092506001600160a01b03811681146100a257600080fd5b809150509250929050565b6101ee806100bc6000396000f3fe608060405234801561001057600080fd5b50600436106100405760003560e01c806251884a1461004557806321df0da71461006a578063beabacc814610095575b600080fd5b6000546040516bffffffffffffffffffffffff90911681526020015b60405180910390f35b600054600160601b90046001600160a01b03166040516001600160a01b039091168152602001610061565b6100a86100a3366004610153565b6100aa565b005b6000546040516323b872dd60e01b81526001600160a01b038581166004830152848116602483015260448201849052600160601b909204909116906323b872dd906064016020604051808303816000875af115801561010d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610131919061018f565b50505050565b80356001600160a01b038116811461014e57600080fd5b919050565b60008060006060848603121561016857600080fd5b61017184610137565b925061017f60208501610137565b9150604084013590509250925092565b6000602082840312156101a157600080fd5b815180151581146101b157600080fd5b939250505056fea264697066735822122098042a25f53a65deabe0e6f542a37f2241e6a3e8502eedd92fc64bb45d25bfc364736f6c63430008140033a26469706673582212205c86167e08bbf3ed86d6cad39fee038e023913e1081be8b6dd683e92ddaf5b2b64736f6c6343000814003360806040523480156200001157600080fd5b506200001c62000052565b6200002662000206565b620000306200033f565b6200003a620005a7565b600380546001600160a01b031916331790556200071d565b60dc600090815260208190527f5bd290414b404036f9d63146803dd83b59a8e1905062a5bfed8b0154d20a390d805460ff1916606417905560019081906200009860dc90565b60ff1660ff1681526020019081526020016000206000620000be620006eb60201b60201c565b60ff1660ff1681526020019081526020016000206000620000e4620006f560201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019081906200011760dc90565b60ff1660ff16815260200190815260200160002060006200013d620006f560201b60201c565b60ff1660ff168152602001908152602001600020600062000163620006eb60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019081906200019660dc90565b60ff1660ff1681526020019081526020016000206000620001bc620006f560201b60201c565b60ff1660ff1681526020019081526020016000206000620001e2620006fa60201b60201c565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f9db7038e59677010ca8f72fa448bad1b4f3c53346b666689163ccac31db467728054606460ff1991821681179092557f1a3062e9a24818c8281fcfb58ec4f3083a2f9a1314ac63f80d8d646661fdc5098054909116600190811790915560009182526020819052907f1bd07f61ef326b4de236f5b68f225f46ff76ee2c375ae31a06da201c49c70c12906200029a606e90565b60ff1660ff1681526020019081526020016000206000620002c0620006eb60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001908190620002f3606490565b60ff1660ff168152602001908152602001600020600062000319620006f560201b60201c565b60ff1660ff1681526020019081526020016000206000620001e2620006ff60201b60201c565b60d2600090815260208190527fc0d27dadfcf8ee0186a0f6fe9b5805a51e99869050491e4a3040efec012a214f805460ff1916600a17905560019081906200038560d290565b60ff1660ff1681526020019081526020016000206000620003ab6200070460201b60201c565b60ff1660ff1681526020019081526020016000206000620003d16200070960201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019081906200040460d290565b60ff1660ff16815260200190815260200160002060006200042a6200070460201b60201c565b60ff1660ff1681526020019081526020016000206000620004506200070e60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019081906200048360d290565b60ff1660ff1681526020019081526020016000206000620004a96200070460201b60201c565b60ff1660ff1681526020019081526020016000206000620004cf6200071360201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019081906200050260d290565b60ff1660ff1681526020019081526020016000206000620005286200071360201b60201c565b60ff1660ff16815260200190815260200160002060006200054e620006eb60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019081906200058160d290565b60ff1660ff1681526020019081526020016000206000620001bc620006eb60201b60201c565b60c8600090815260208190527fc5f2c791ab4e0b1a0b6c600884b07e98575b00ebd7c3166c4272a53bebf71403805460ff191660641790556001908190620005ed60c890565b60ff1660ff168152602001908152602001600020600062000613620006eb60201b60201c565b60ff1660ff168152602001908152602001600020600062000639620006f560201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019081906200066c60c890565b60ff1660ff168152602001908152602001600020600062000692620006f560201b60201c565b60ff1660ff1681526020019081526020016000206000620006b8620006eb60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001908190620002f360c890565b606490565b905090565b606e90565b60c890565b60d290565b600a90565b601490565b601e90565b60006028620006f0565b611867806200072d6000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c8063a238accd11610097578063b24133ec11610066578063b24133ec146102e1578063bf1db3f9146102f4578063e9e96c7014610307578063f48016ce1461034557600080fd5b8063a238accd146101ea578063a4dc7d86146101fd578063a5961b4c1461021d578063a8989675146102ce57600080fd5b806354f6127f116100d357806354f6127f146101825780635dee4788146101a25780636ec3d940146101b75780638eaa6ac0146101ca57600080fd5b806309648a9d146100fa5780630d3581811461013957806338a699a41461015f575b600080fd5b610122610108366004611234565b600090815260026020526040902054610100900460ff1690565b60405160ff90911681526020015b60405180910390f35b61012261014736600461125f565b60ff9081166000908152602081905260409020541690565b61017261016d366004611234565b610366565b6040519015158152602001610130565b610195610190366004611234565b6103f7565b60405161013091906112c2565b6101b56101b0366004611378565b61049c565b005b6101b56101c53660046113d1565b610771565b6101dd6101d8366004611234565b610927565b6040516101309190611462565b6101b56101f8366004611496565b610a68565b61021061020b366004611234565b610cda565b60405161013091906114dc565b6102c161022b366004611234565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260026020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b60405161013091906114ea565b6101b56102dc3660046114f8565b610d88565b6101b56102ef366004611378565b610e7e565b61017261030236600461125f565b61115d565b6101726103153660046114f8565b60ff9283166000908152600160209081526040808320948616835293815283822092851682529190915220541690565b610358610353366004611553565b6111aa565b604051908152602001610130565b60008181526002602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af41580156103cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103f19190611581565b92915050565b6000818152600260205260409020600101805460609190610417906115a3565b80601f0160208091040260200160405190810160405280929190818152602001828054610443906115a3565b80156104905780601f1061046557610100808354040283529160200191610490565b820191906000526020600020905b81548152906001019060200180831161047357829003601f168201915b50505050509050919050565b6003546001600160a01b031633146104cf5760405162461bcd60e51b81526004016104c6906115dd565b60405180910390fd5b60405163b2466acf60e01b815260ff8316600482015273__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af4158015610521573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105459190611581565b6105915760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e45440000000060448201526064016104c6565b600083815260026020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af41580156105fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061061e9190611581565b61066a5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f4352454154454400000060448201526064016104c6565b334360006106778661115d565b610682576064610698565b60ff808716600090815260208190526040902054165b845460ff88811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b9190910217855560008881526002602052604090209091506001016107228682611662565b507f0ccdf5d7cd4da66a6894cfa246e02d19253a3f7c4cb3b0daee0bc2bf1a7dd4ff61074d88610cda565b8285326040516107609493929190611722565b60405180910390a150505050505050565b6003546001600160a01b0316331461079b5760405162461bcd60e51b81526004016104c6906115dd565b600082815260026020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015610807573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061082b9190611581565b6108775760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3033303a4e4f545f4558495354494e4700000000000060448201526064016104c6565b60008481526002602052604090206001016108928482611662565b508154620100003390810262010000600160b01b031983161784559063ffffffff600160b01b909104166108c34390565b845463ffffffff91909116600160b01b0263ffffffff60b01b1990911617845560006108ee87610cda565b90507f228147c3bb5d3f2e24432bc0abaa1541c1f3f4208a9ab759bf26567e983fbdb78185853286604051610760959493929190611758565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260026020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c082015292835260018101805491928401916109df906115a3565b80601f0160208091040260200160405190810160405280929190818152602001828054610a0b906115a3565b8015610a585780601f10610a2d57610100808354040283529160200191610a58565b820191906000526020600020905b815481529060010190602001808311610a3b57829003601f168201915b5050505050815250509050919050565b6003546001600160a01b03163314610a925760405162461bcd60e51b81526004016104c6906115dd565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015610ae4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b089190611581565b610b545760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3034303a53544154455f554e444546494e454400000060448201526064016104c6565b600082815260026020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015610bc0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610be49190611581565b610c305760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3034313a4e4f545f4558495354494e4700000000000060448201526064016104c6565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b90910416610c744390565b845463ffffffff91909116600160b01b0263ffffffff60b01b199091161784556000610c9f87610cda565b90507feb640fdc9d45826fb47cd85fac116714d3d638f1409790b2b7c0ac824db13b728187868632876040516107609695949392919061179d565b604080518082019091526000808252602082015260405163526e3ec360e11b815260048101839052600090819073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063a4dc7d86906024016040805180830381865af4158015610d42573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d6691906117e9565b6040805180820190915260ff909216825260ff19166020820152949350505050565b60ff8381166000908152602081905260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015610ded573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e119190611581565b15610e1b57505050565b60ff808416600090815260016020908152604080832086851684528252808320858516845290915290205416610e7957604051636bb20ea760e01b815260ff80851660048301528084166024830152821660448201526064016104c6565b505050565b6003546001600160a01b03163314610ea85760405162461bcd60e51b81526004016104c6906115dd565b60405163b2466acf60e01b815260ff8316600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015610efa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1e9190611581565b610f6a5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3032303a53544154455f554e444546494e454400000060448201526064016104c6565b600083815260026020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015610fd6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ffa9190611581565b6110465760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3032313a4e4f545f4558495354494e4700000000000060448201526064016104c6565b60008581526002602052604090206001016110618482611662565b508154620100003390810262010000600160b01b031960ff88166101000216610100600160b01b03198416171784559063ffffffff600160b01b909104166110a64390565b845463ffffffff91909116600160b01b0263ffffffff60b01b1990911617845560006110d188610cda565b90507feb640fdc9d45826fb47cd85fac116714d3d638f1409790b2b7c0ac824db13b7281888686328760405161110c9695949392919061179d565b60405180910390a17f228147c3bb5d3f2e24432bc0abaa1541c1f3f4208a9ab759bf26567e983fbdb7818885328660405161114b959493929190611758565b60405180910390a15050505050505050565b60ff81811660009081526020819052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024016103b0565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce90604401602060405180830381865af4158015611209573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061122d9190611818565b9392505050565b60006020828403121561124657600080fd5b5035919050565b60ff8116811461125c57600080fd5b50565b60006020828403121561127157600080fd5b813561122d8161124d565b6000815180845260005b818110156112a257602081850181015186830182015201611286565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600061122d602083018461127c565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126112fc57600080fd5b813567ffffffffffffffff80821115611317576113176112d5565b604051601f8301601f19908116603f0116810190828211818310171561133f5761133f6112d5565b8160405283815286602085880101111561135857600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060006060848603121561138d57600080fd5b83359250602084013561139f8161124d565b9150604084013567ffffffffffffffff8111156113bb57600080fd5b6113c7868287016112eb565b9150509250925092565b600080604083850312156113e457600080fd5b82359150602083013567ffffffffffffffff81111561140257600080fd5b61140e858286016112eb565b9150509250929050565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b60208152611474602082018351611418565b6000602083015160c08084015261148e60e084018261127c565b949350505050565b600080604083850312156114a957600080fd5b8235915060208301356114bb8161124d565b809150509250929050565b805160ff16825260209081015160ff1916910152565b604081016103f182846114c6565b60a081016103f18284611418565b60008060006060848603121561150d57600080fd5b83356115188161124d565b925060208401356115288161124d565b915060408401356115388161124d565b809150509250925092565b60ff198116811461125c57600080fd5b6000806040838503121561156657600080fd5b82356115718161124d565b915060208301356114bb81611543565b60006020828403121561159357600080fd5b8151801515811461122d57600080fd5b600181811c908216806115b757607f821691505b6020821081036115d757634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526017908201527f4552524f523a4b56532d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b601f821115610e7957600081815260208120601f850160051c8101602086101561163b5750805b601f850160051c820191505b8181101561165a57828155600101611647565b505050505050565b815167ffffffffffffffff81111561167c5761167c6112d5565b6116908161168a84546115a3565b84611614565b602080601f8311600181146116c557600084156116ad5750858301515b600019600386901b1c1916600185901b17855561165a565b600085815260208120601f198616915b828110156116f4578886015182559484019460019091019084016116d5565b50858210156117125787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60a0810161173082876114c6565b60ff9490941660408201526001600160a01b0392831660608201529116608090910152919050565b60c0810161176682886114c6565b60ff9590951660408201526001600160a01b03938416606082015291909216608082015263ffffffff90911660a090910152919050565b60e081016117ab82896114c6565b60ff96871660408301529490951660608601526001600160a01b039283166080860152911660a084015263ffffffff1660c090920191909152919050565b600080604083850312156117fc57600080fd5b82516118078161124d565b60208401519092506114bb81611543565b60006020828403121561182a57600080fd5b505191905056fea2646970667358221220f939c446d2a8f4e906670f91871af4dbd5d1080e0e33cb50e0e6fc2a596aabeb64736f6c63430008140033",
2020
- "deployedBytecode": "0x60806040523480156200001157600080fd5b5060043610620004515760003560e01c8063893d20e81162000241578063bd7d9d85116200013d578063e1f64d7711620000c7578063ee0fdf711162000092578063ee0fdf711462000c30578063f274e87d1462000c47578063f2b246c31462000c74578063fd143c761462000c9a578063fe1f18d61462000cb157600080fd5b8063e1f64d771462000bd4578063e26b857b1462000beb578063e79597401462000c02578063ea5fa54b1462000c1957600080fd5b8063d250185c1162000108578063d250185c1462000b78578063dad73bed1462000b8f578063db70354c1462000ba6578063e03eeb851462000bbd57600080fd5b8063bd7d9d851462000b03578063c2bf7d261462000b29578063ca600b1c1462000b40578063cf5ccedb1462000b5257600080fd5b8063a238accd11620001cb578063af17d38a1162000196578063af17d38a1462000a90578063b88da7591462000aa7578063b89010821462000abe578063b8c510671462000ad5578063b9f36dde1462000aec57600080fd5b8063a238accd1462000a16578063a310e2a31462000a2d578063a5a4fbbc1462000a62578063a90be9071462000a7957600080fd5b80639675513d116200020c5780639675513d146200097157806398457437146200098857806399fd4677146200099f5780639ae31ff514620009e757600080fd5b8063893d20e814620009305780638d5d536e146200093a578063946dfcfe14620009515780639555c4db146200095a57600080fd5b80634793b4ab116200035157806369a44a1b11620002db5780637fec8b3111620002a65780637fec8b3114620008955780638125ea9214620008ac57806383d3331914620008b657806387c5658614620008bf578063887b1fa914620008f757600080fd5b806369a44a1b14620008495780636b9bf08b14620008605780636fa2985314620008725780637cef4842146200088457600080fd5b80635ab1bd53116200031c5780635ab1bd5314620007ea5780635d4345cc1462000811578063644c45e01462000828578063674d0ccf146200083257600080fd5b80634793b4ab146200064d5780634d459c9014620006735780635312fdc2146200078457806357f80bbf14620007b557600080fd5b806315dae03e11620003df57806331b62a3b11620003aa57806331b62a3b14620005da578063349195f914620006015780633bc5de30146200060a578063423eb9fa14620006265780634288121d146200063b57600080fd5b806315dae03e14620005685780631a91887614620005705780631aa3a00814620005a0578063278b381b14620005c357600080fd5b80630abd843411620004205780630abd843414620004f55780630d0ccc5b146200050c5780630d8e6e2c14620005325780630d9b998d146200055157600080fd5b806301ffc9a7146200045657806306a5298b146200049b57806307af0dc014620004b457806309648a9d14620004cb575b600080fd5b62000486620004673660046200434d565b6001600160e01b03191660009081526002602052604090205460ff1690565b60405190151581526020015b60405180910390f35b620004b2620004ac366004620044db565b62000cc8565b005b620004b2620004c5366004620046b1565b62000cf7565b620004e2620004dc36600462004833565b62000db4565b60405160ff909116815260200162000492565b62000486620005063660046200485f565b62000e2b565b620005236200051d3660046200487f565b62000ecf565b60405190815260200162000492565b6200053c62000f58565b60405162ffffff909116815260200162000492565b620004b262000562366004620048b7565b62000fe5565b6032620004e2565b620005876200058136600462004950565b62001188565b6040516001600160a01b03909116815260200162000492565b620005aa620011b9565b6040516001600160601b03909116815260200162000492565b62000486620005d436600462004950565b620012b4565b7f0000000000000000000000000000000000000000000000000000000000000000620005aa565b600f5462000523565b60408051602081018252600081529051620004929190620049c4565b620004b262000637366004620049d9565b5050565b6006546001600160a01b031662000587565b620006646200065e36600462004950565b620012c3565b60405162000492919062004a79565b62000726620006843660046200485f565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091525062ffffff90811660009081526020818152604091829020825160a0810184528154948516815263010000009094046001600160a01b03908116928501929092526001015490811691830191909152600160a01b810464ffffffffff166060830152600160c81b900463ffffffff16608082015290565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a00162000492565b6200079b6200079536600462004833565b620012f0565b6040516001600160c01b0319909116815260200162000492565b620007cc620007c636600462004950565b62001332565b60408051825115158152602092830151928101929092520162000492565b7f000000000000000000000000000000000000000000000000000000000000000062000587565b620004b26200082236600462004b32565b62001367565b620005aa62001410565b620005236200084336600462004b65565b62001478565b620005236200085a36600462004950565b6200149c565b6007546001600160a01b031662000587565b6004546001600160a01b031662000587565b620004b26200063736600462004b85565b620005aa620008a636600462004833565b6200152d565b6200058762001575565b60095462000523565b604080518082018252600080825260209182015281518083019092526013548252601454908201525b60405162000492919062004ba6565b620009216200090836600462004b65565b5060408051808201909152600081526060602082015290565b60405162000492919062004bbe565b620005876200158f565b620004b26200094b36600462004bf6565b6200159b565b60015462000523565b620004b26200096b36600462004cbd565b62001798565b620005236200098236600462004cf0565b620017a4565b620004b26200099936600462004d23565b6200190e565b62000486620009b036600462004d69565b6001600160c01b031982166000908152600a602090815260408083206001600160a01b038516845290915290205460ff1692915050565b620005aa620009f836600462004950565b6001600160601b039081166000908152601160205260409020541690565b620004b262000a2736600462004d8a565b62001a8e565b6200058762000a3e36600462004950565b6001600160601b03166000908152601260205260409020546001600160a01b031690565b6200058762000a7336600462004950565b62001afb565b6200052362000a8a36600462004833565b62001b27565b6200079b62000aa136600462004db2565b62001b63565b6200053c62000ab836600462004833565b62001cec565b620004b262000acf36600462004dff565b62001d30565b6200079b62000ae636600462004db2565b62001e01565b620004b262000afd36600462004d69565b62001e81565b62000b1a62000b1436600462004950565b62001fea565b60405162000492919062004e68565b620004b262000b3a36600462004d69565b6200207b565b6005546001600160a01b031662000587565b62000b6962000b6336600462004b65565b6200227b565b60405162000492919062004fa7565b620008e862000b8936600462004ff0565b62002379565b620004b262000ba036600462005022565b62002408565b620005aa62000bb736600462005055565b62002626565b620004b262000bce36600462005084565b620026bd565b620004b262000be536600462004d23565b620026fa565b620004b262000bfc366004620050b9565b62002848565b6200058762000c133660046200510b565b62003153565b620004b262000c2a3660046200512c565b62003178565b6200048662000c4136600462004b65565b620032f8565b62000c5e62000c583660046200514f565b62003323565b6040805192835260208301919091520162000492565b62000c8b62000c8536600462004950565b620033ba565b6040516200049291906200517f565b620004b262000cab36600462005268565b6200347e565b620004b262000cc236600462004b32565b620035f6565b620006376065838360405160200162000ce291906200517f565b604051602081830303815290604052620036cb565b306001600160a01b0316634288121d6040518163ffffffff1660e01b81526004016020604051808303816000875af115801562000d38573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000d5e919062005360565b6001600160a01b0316336001600160a01b03161462000d9a5760405162461bcd60e51b815260040162000d919062005380565b60405180910390fd5b6200063760d2838360405160200162000ce2919062004e68565b6003546040516309648a9d60e01b8152600481018390526000916001600160a01b0316906309648a9d90602401602060405180830381865afa15801562000dff573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000e259190620053c1565b92915050565b62ffffff8116600090815260208190526040808220600101549051631bbffab160e21b8152600160c81b90910463ffffffff166004820152819073__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af415801562000ea2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000ec89190620053e1565b1192915050565b604051631488c84560e01b815260048101839052600082810b60248301529073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__90631488c84590604401602060405180830381865af415801562000f2b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000f519190620053e1565b9392505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801562000fba573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000fe09190620053fb565b905090565b306001600160a01b0316634288121d6040518163ffffffff1660e01b81526004016020604051808303816000875af115801562001026573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200104c919062005360565b6001600160a01b0316336001600160a01b0316146200107f5760405162461bcd60e51b815260040162000d919062005380565b6000604051806101c00160405280896001600160601b03168152602001836001600160601b03168152602001886001600160c01b031916815260200160006001600160a01b03168152602001876001600160c01b03191681526020018681526020018581526020016000815260200184815260200160405180602001604052806000815250815260200160405180602001604052806000815250815260200162001127600090565b64ffffffffff168152602001600064ffffffffff168152602001600064ffffffffff16905290506200117d60d28a8360405160200162001168919062004e68565b604051602081830303815290604052620037c1565b505050505050505050565b6000806200119960645b8462003880565b806020019051810190620011ae919062005428565b602001519392505050565b6000620011c56200158f565b6001600160a01b0316336001600160a01b031614620012275760405162461bcd60e51b815260206004820152601760248201527f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000604482015260640162000d91565b604051632210724360e11b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690634420e486906024016020604051808303816000875af11580156200128e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000fe091906200547d565b600062000e2560658362003985565b620012cd620042c7565b620012db60dc5b8362003880565b80602001905181019062000e25919062005529565b6000600982815481106200130857620013086200560a565b90600052602060002090600491828204019190066008029054906101000a900460c01b9050919050565b604080518082019091526000808252602082015262001352608c620012d4565b80602001905181019062000e25919062005620565b306001600160a01b0316634288121d6040518163ffffffff1660e01b81526004016020604051808303816000875af1158015620013a8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620013ce919062005360565b6001600160a01b0316336001600160a01b031614620014015760405162461bcd60e51b815260040162000d919062005380565b6200063760d25b838362003a86565b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e90602401602060405180830381865afa1580156200128e573d6000803e3d6000fd5b6001600160c01b031981166000908152600b6020526040812062000e259062003b51565b6001600160601b038116600090815260106020526040808220905163697d0f1b60e11b8152600481019190915273__$0dc988b1672de335b826773df9015af2da$__9063d2fa1e36906024015b602060405180830381865af415801562001507573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000e259190620053e1565b6000600f82815481106200154557620015456200560a565b9060005260206000209060029182820401919006600c029054906101000a90046001600160601b03169050919050565b600062000fe06003546001600160a01b031690565b919050565b600062000fe062003b5c565b306001600160a01b0316636b9bf08b6040518163ffffffff1660e01b81526004016020604051808303816000875af1158015620015dc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001602919062005360565b6001600160a01b0316336001600160a01b031614620016645760405162461bcd60e51b815260206004820152601e60248201527f4552524f523a42444c2d3030313a4e4f545f504f4f4c5f534552564943450000604482015260640162000d91565b6000604051806101000160405280886001600160601b0316815260200187815260200184848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201829052509385525050506020820188905260408201526060810187905260800142604051631ded81af60e31b815264ffffffffff90911660048201526024810187905273__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af415801562001735573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200175b91906200565f565b64ffffffffff168152602001600064ffffffffff16905290506200178e60dc898360405160200162001168919062004a79565b5050505050505050565b62000637828262003cbe565b6000306001600160a01b0316634288121d6040518163ffffffff1660e01b81526004016020604051808303816000875af1158015620017e7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200180d919062005360565b6001600160a01b0316336001600160a01b031614620018405760405162461bcd60e51b815260040162000d91906200567f565b506001600160601b038083166000818152600e602090815260408083209486168352938152838220805490839055928252600d9052829020915163539eabab60e11b8152909173__$0dc988b1672de335b826773df9015af2da$__9163a73d575691620018c39186906004019182526001600160601b0316602082015260400190565b602060405180830381865af4158015620018e1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620019079190620056c0565b5092915050565b6001600160601b03828116600090815260106020526040908190209051632bfdd6b960e01b81526004810182905291851660248301529073__$0dc988b1672de335b826773df9015af2da$__90632bfdd6b990604401602060405180830381865af415801562001982573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620019a89190620056c0565b1562001a015760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504c2d3032303a42554e444c455f414c52454144595f414444456044820152601160fa1b606482015260840162000d91565b604051631461054360e31b8152600481018290526001600160601b038516602482015273__$0dc988b1672de335b826773df9015af2da$__9063a3082a1890604401602060405180830381865af415801562001a61573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001a879190620056c0565b5050505050565b60035460405163a238accd60e01b81526004810184905260ff831660248201526001600160a01b039091169063a238accd90604401600060405180830381600087803b15801562001ade57600080fd5b505af115801562001af3573d6000803e3d6000fd5b505050505050565b60008062001b0a606462001192565b80602001905181019062001b1f919062005428565b519392505050565b6040516322f5db0f60e11b81526004810182905260009073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__906345ebb61e90602401620014e9565b6000306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001ba4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001bca919062005360565b6001600160a01b0316336001600160a01b03161462001bfd5760405162461bcd60e51b815260040162000d9190620056e0565b60405163e14787cb60e01b815273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb9062001c36908590600401620049c4565b602060405180830381865af415801562001c54573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001c7a919062005724565b905062001c8781620032f8565b1562001ce05760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4143532d3031303a524f4c455f414c52454144595f45584953546044820152605360f81b606482015260840162000d91565b6200158a818362003f8f565b60006001828154811062001d045762001d046200560a565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b604080518082019091526001600160601b03831681526020810182905262001dfb60c86040516355ee627560e01b81526001600160c01b03198716600482015273__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af415801562001dad573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001dd39190620053e1565b8360405160200162001de6919062004bbe565b60405160208183030381529060405262003ff4565b50505050565b60405163e14787cb60e01b815260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb9062001e3d908590600401620049c4565b602060405180830381865af415801562001e5b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000e25919062005724565b6001600160c01b0319828116600081815260086020526040902054849260c09190911b161462001ec55760405162461bcd60e51b815260040162000d919062005744565b306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001f04573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001f2a919062005360565b6001600160a01b0316336001600160a01b03161462001f5d5760405162461bcd60e51b815260040162000d9190620056e0565b6001600160c01b031983166000818152600a602090815260408083206001600160a01b03871684528252808320805460ff19169055928252600b90522062001fa690836200402a565b507fab64a6bff51dad0663bf6702fca25a9e2751ecc0353d6fe92d169875453966848383600060405162001fdd939291906200577b565b60405180910390a1505050565b604080516101c08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018390526101208201819052610140820152610160810182905261018081018290526101a08101919091526200206660d2620012d4565b80602001905181019062000e259190620057a8565b6001600160c01b0319828116600081815260086020526040902054849260c09190911b1614620020bf5760405162461bcd60e51b815260040162000d919062005744565b306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa158015620020fe573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002124919062005360565b6001600160a01b0316336001600160a01b031614620021575760405162461bcd60e51b815260040162000d9190620056e0565b6001600160c01b0319831660009081526008602052604090206002015460ff16620021c55760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4143532d3034303a524f4c455f4e4f545f414354495645000000604482015260640162000d91565b6001600160c01b031983166000818152600a602090815260408083206001600160a01b03871684528252808320805460ff19166001179055928252600b90522062002211908362004041565b506001600160c01b031983166000908152600a602090815260408083206001600160a01b0386168452909152908190205490517fab64a6bff51dad0663bf6702fca25a9e2751ecc0353d6fe92d169875453966849162001fdd918691869160ff909116906200577b565b6040805160608082018352600080835260208084018390528385018290526001600160c01b0319868116835260088252918590208551938401909552845460c01b90911682526001840180549394929391840191620022da9062005915565b80601f0160208091040260200160405190810160405280929190818152602001828054620023089062005915565b8015620023595780601f106200232d5761010080835404028352916020019162002359565b820191906000526020600020905b8154815290600101906020018083116200233b57829003601f168201915b50505091835250506002919091015460ff16151560209091015292915050565b60408051808201825260008082526020820152905163638086fd60e11b8152600481018490526024810183905273__$a23651848365a6a5ca15f07b4331037f48$__9063c7010dfa906044016040805180830381865af4158015620023e2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000f51919062005951565b6001600160c01b0319828116600081815260086020526040902054849260c09190911b16146200244c5760405162461bcd60e51b815260040162000d919062005744565b306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200248b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620024b1919062005360565b6001600160a01b0316336001600160a01b031614620024e45760405162461bcd60e51b815260040162000d9190620056e0565b6001600160c01b03198084166000908152600860209081526040808320815160608101909252805460c01b90941681526001840180549394919391928401916200252e9062005915565b80601f01602080910402602001604051908101604052809291908181526020018280546200255c9062005915565b8015620025ad5780601f106200258157610100808354040283529160200191620025ad565b820191906000526020600020905b8154815290600101906020018083116200258f57829003601f168201915b50505091835250506002919091015460ff16151560209091015283151560408201529050620025dc8162004058565b604080516001600160c01b03198616815284151560208201527feaffaec948991ecc6e201ba4f67ba865fbf66aace3d2f2823dc5483cc9813fda910160405180910390a150505050565b6001600160601b038216600090815260106020526040808220905163e797d89960e01b815260048101919091526024810183905273__$0dc988b1672de335b826773df9015af2da$__9063e797d89990604401602060405180830381865af415801562002697573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000f5191906200547d565b60408051808201825283151580825260208083018581528451918201929092529051928101929092529062001dfb90608c90869060600162001168565b306001600160a01b0316634288121d6040518163ffffffff1660e01b81526004016020604051808303816000875af11580156200273b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002761919062005360565b6001600160a01b0316336001600160a01b031614620027945760405162461bcd60e51b815260040162000d91906200567f565b6001600160601b038381166000818152600e60209081526040808320948716808452948252808320869055928252600d90528190209051631461054360e31b81526004810191909152602481019190915273__$0dc988b1672de335b826773df9015af2da$__9063a3082a1890604401602060405180830381865af415801562002822573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001dfb9190620056c0565b6000836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002889573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620028af91906200547d565b90506000836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015620028f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200291891906200547d565b90506000836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200295b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200298191906200547d565b6040516330b8415f60e01b81526001600160601b038516600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015620029dd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002a039190620056c0565b62002a515760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5452532d3031303a50524f445543545f554e444546494e454400604482015260640162000d91565b6040516330b8415f60e01b81526001600160601b038316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562002aaa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002ad09190620056c0565b62002b1e5760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a5452532d3031313a504f4f4c5f554e444546494e454400000000604482015260640162000d91565b6001600160601b0383166000908152601260205260409020546001600160a01b03161562002ba65760405162461bcd60e51b815260206004820152602e60248201527f4552524f523a5452532d3031323a544f4b454e5f48414e444c45525f414c524560448201526d10511657d49151d254d51154915160921b606482015260840162000d91565b6001600160601b0382811660009081526011602052604090819020549051630a4d29dd60e31b81529116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af415801562002c12573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002c389190620056c0565b62002c905760405162461bcd60e51b815260206004820152602160248201527f4552524f523a5452532d3031333a504f4f4c5f414c52454144595f4c494e4b456044820152601160fa1b606482015260840162000d91565b6001600160601b0381811660009081526011602052604090819020549051630a4d29dd60e31b81529116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af415801562002cfc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002d229190620056c0565b62002d825760405162461bcd60e51b815260206004820152602960248201527f4552524f523a5452532d3031343a434f4d50454e534154494f4e5f414c524541604482015268111657d3125392d15160ba1b606482015260840162000d91565b6000866001600160a01b03166321df0da76040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002dc3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002de9919062005360565b9050838160405162002dfb906200433f565b6001600160601b0390921682526001600160a01b03166020820152604001604051809103906000f08015801562002e36573d6000803e3d6000fd5b506001600160601b03858116600081815260126020908152604080832080546001600160a01b0319166001600160a01b039788161790558785168084526011835281842080546bffffffffffffffffffffffff199081168717909155958a16808552828520805490971690951790955580516101208101825293845290830193909352848416828401528251631380bf2360e01b815283519194929360608501938d1692631380bf239260048082019392918290030181865afa15801562002f02573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002f28919062005951565b8152602001896001600160a01b031663daafed406040518163ffffffff1660e01b81526004016040805180830381865afa15801562002f6b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002f91919062005951565b8152602001886001600160a01b0316636741fad26040518163ffffffff1660e01b81526004016040805180830381865afa15801562002fd4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002ffa919062005951565b8152602001886001600160a01b0316634b270a466040518163ffffffff1660e01b81526004016040805180830381865afa1580156200303d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003063919062005951565b8152602001886001600160a01b031663235c36036040518163ffffffff1660e01b81526004016040805180830381865afa158015620030a6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620030cc919062005951565b8152602001876001600160a01b0316637c3d51666040518163ffffffff1660e01b81526004016040805180830381865afa1580156200310f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003135919062005951565b905290506200178e606586836040516020016200116891906200517f565b6001600160c01b031982166000908152600b6020526040812062000f51908362004136565b306001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa158015620031b7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620031dd919062005360565b6001600160a01b0316336001600160a01b0316146200323f5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434d502d3030313a4e4f545f4f574e45525f5345525649434500604482015260640162000d91565b604080518082019091526001600160a01b03838116825282166020820152600f8054600180820183556000929092527f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac8026002820401805492909116600c026101000a6001600160601b03818102199093169287160291909117905562001dfb620032c7606490565b858360405160200162001168919081516001600160a01b039081168252602092830151169181019190915260400190565b6001600160c01b0319818116600081815260086020526040812054909260c09190911b161462000e25565b60405163012ebd8360e21b8152815160048201526020820151602482015260448101839052600090819073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af415801562003389573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620033af919062005970565b915091509250929050565b6200345d6040805161012081018252600080825260208083018290528284018290528351808501855282815280820183905260608401528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e084015283518085019094528184528301529061010082015290565b620034696065620012d4565b80602001905181019062000e25919062005995565b306001600160a01b0316636b9bf08b6040518163ffffffff1660e01b81526004016020604051808303816000875af1158015620034bf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620034e5919062005360565b6001600160a01b0316336001600160a01b031614806200357c5750306001600160a01b0316634288121d6040518163ffffffff1660e01b81526004016020604051808303816000875af115801562003541573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003567919062005360565b6001600160a01b0316336001600160a01b0316145b620035dc5760405162461bcd60e51b815260206004820152602960248201527f4552524f523a42444c2d3030333a4e4f545f504f4f4c5f4f525f50524f445543604482015268545f5345525649434560b81b606482015260840162000d91565b6200063760dc838360405160200162000ce2919062004a79565b306001600160a01b0316636b9bf08b6040518163ffffffff1660e01b81526004016020604051808303816000875af115801562003637573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200365d919062005360565b6001600160a01b0316336001600160a01b031614620036bf5760405162461bcd60e51b815260206004820152601e60248201527f4552524f523a42444c2d3030313a4e4f545f504f4f4c5f534552564943450000604482015260640162000d91565b6200063760dc62001408565b600c54604051630711349960e31b81526001600160601b038416600482015260ff851660248201526001600160a01b0390911690636ec3d9409073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c890604401602060405180830381865af415801562003742573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620037689190620053e1565b836040518363ffffffff1660e01b81526004016200378892919062005a69565b600060405180830381600087803b158015620037a357600080fd5b505af1158015620037b8573d6000803e3d6000fd5b50505050505050565b600c54604051630711349960e31b81526001600160601b038416600482015260ff851660248201526001600160a01b0390911690635dee47889073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c890604401602060405180830381865af415801562003838573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200385e9190620053e1565b85846040518463ffffffff1660e01b8152600401620037889392919062005a84565b600c54604051630711349960e31b81526001600160601b038316600482015260ff841660248201526060916001600160a01b0316906354f6127f9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c890604401602060405180830381865af4158015620038f8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200391e9190620053e1565b6040518263ffffffff1660e01b81526004016200393d91815260200190565b600060405180830381865afa1580156200395b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000f51919081019062005ab1565b600c54604051630711349960e31b81526001600160601b038316600482015260ff841660248201526000916001600160a01b0316906338a699a49073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c890604401602060405180830381865af4158015620039fd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003a239190620053e1565b6040518263ffffffff1660e01b815260040162003a4291815260200190565b602060405180830381865afa15801562003a60573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000f519190620056c0565b600c54604051630711349960e31b81526001600160601b038416600482015260ff851660248201526001600160a01b039091169063a238accd9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c890604401602060405180830381865af415801562003afd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003b239190620053e1565b6040516001600160e01b031960e084901b168152600481019190915260ff8416602482015260440162003788565b600062000e25825490565b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa15801562003bc6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003bec91906200547d565b90506001600160601b03811662003c24577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa15801562003c92573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003cb8919062005360565b91505090565b600062003cca62000f58565b905062003cd78162000e2b565b1562003d365760405162461bcd60e51b815260206004820152602760248201527f4552524f523a56524e2d3030313a56455253494f4e5f414c52454144595f41436044820152661512559055115160ca1b606482015260840162000d91565b6001541562003dfd57600180546000919062003d5490829062005ae9565b8154811062003d675762003d676200560a565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff16905062003da1828262ffffff90811691161190565b62003dfb5760405162461bcd60e51b8152602060048201526024808201527f4552524f523a56524e2d3030323a56455253494f4e5f4e4f545f494e4352454160448201526353494e4760e01b606482015260840162000d91565b505b600180548082018255600091909152600a8082047fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf601805462ffffff808616600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b0380861660208401528416908201526060810162003e864290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602081815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517f68e7327fca0057a787cde34ababb9ef9844ba8065ee03e8781d8122fc15d44199062001fdd9083908690869062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b604080516060810182526001600160c01b0319841681526020810183905260019181019190915262003fc18162004058565b7f34e1f82fc40bf14028ae2a3150f074e7715e20ed8e30e250f8789cee718c6485838360405162001fdd92919062005b0b565b600c54604051630bbdc8f160e31b81526001600160a01b0390911690635dee478890620037889085908790869060040162005a84565b600062000f51836001600160a01b03841662004144565b600062000f51836001600160a01b03841662004248565b80516001600160c01b0319811660009081526008602090815260409091208351815467ffffffffffffffff191660c09190911c178155908301518391906001820190620040a6908262005b81565b50604091909101516002909101805460ff1916911515919091179055620040cd81620032f8565b6200063757600980546001810182556000919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af600482040180546001600160401b0360039093166008026101000a928302191660c09390931c9190910291909117905550565b600062000f5183836200429a565b600081815260018301602052604081205480156200423d5760006200416b60018362005ae9565b8554909150600090620041819060019062005ae9565b9050818114620041ed576000866000018281548110620041a557620041a56200560a565b9060005260206000200154905080876000018481548110620041cb57620041cb6200560a565b6000918252602080832090910192909255918252600188019052604090208390555b855486908062004201576200420162005c4d565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505062000e25565b600091505062000e25565b6000818152600183016020526040812054620042915750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562000e25565b50600062000e25565b6000826000018281548110620042b457620042b46200560a565b9060005260206000200154905092915050565b60405180610100016040528060006001600160601b0316815260200162004301604051806040016040528060008152602001600081525090565b815260200160608152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b6102aa8062005c6483390190565b6000602082840312156200436057600080fd5b81356001600160e01b03198116811462000f5157600080fd5b6001600160601b03811681146200438f57600080fd5b50565b80356200158a8162004379565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715620043da57620043da6200439f565b60405290565b60405161012081016001600160401b0381118282101715620043da57620043da6200439f565b6040516101c081016001600160401b0381118282101715620043da57620043da6200439f565b60405161010081016001600160401b0381118282101715620043da57620043da6200439f565b604051601f8201601f191681016001600160401b03811182821017156200447d576200447d6200439f565b604052919050565b6001600160a01b03811681146200438f57600080fd5b80356200158a8162004485565b600060408284031215620044bb57600080fd5b620044c5620043b5565b9050813581526020820135602082015292915050565b600080828403610200811215620044f157600080fd5b8335620044fe8162004379565b92506101e0601f19820112156200451457600080fd5b506200451f620043e0565b6200452d6020850162004392565b81526200453d6040850162004392565b602082015262004550606085016200449b565b6040820152620045648560808601620044a8565b6060820152620045788560c08601620044a8565b60808201526101006200458e86828701620044a8565b60a0830152620045a3866101408701620044a8565b60c0830152620045b8866101808701620044a8565b60e0830152620045cd866101c08701620044a8565b90820152919491935090915050565b6001600160c01b0319811681146200438f57600080fd5b80356200158a81620045dc565b60006001600160401b038211156200461c576200461c6200439f565b50601f01601f191660200190565b6000620046416200463b8462004600565b62004452565b90508281528383830111156200465657600080fd5b828260208301376000602084830101529392505050565b600082601f8301126200467f57600080fd5b62000f51838335602085016200462a565b64ffffffffff811681146200438f57600080fd5b80356200158a8162004690565b60008060408385031215620046c557600080fd5b8235620046d28162004379565b915060208301356001600160401b0380821115620046ef57600080fd5b908401906101c082870312156200470557600080fd5b6200470f62004406565b6200471a8362004392565b81526200472a6020840162004392565b60208201526200473d60408401620045f3565b604082015262004750606084016200449b565b60608201526200476360808401620045f3565b608082015260a083013560a082015260c083013560c082015260e083013560e08201526101008084013581830152506101208084013583811115620047a757600080fd5b620047b5898287016200466d565b8284015250506101408084013583811115620047d057600080fd5b620047de898287016200466d565b8284015250506101609150620047f6828401620046a4565b8282015261018091506200480c828401620046a4565b828201526101a0915062004822828401620046a4565b828201528093505050509250929050565b6000602082840312156200484657600080fd5b5035919050565b62ffffff811681146200438f57600080fd5b6000602082840312156200487257600080fd5b813562000f51816200484d565b600080604083850312156200489357600080fd5b8235915060208301358060000b8114620048ac57600080fd5b809150509250929050565b600080600080600080600080610100898b031215620048d557600080fd5b8835620048e28162004379565b97506020890135620048f48162004379565b965060408901356200490681620045dc565b955060608901356200491881620045dc565b94506080890135935060a0890135925060c0890135915060e08901356200493f8162004379565b809150509295985092959890939650565b6000602082840312156200496357600080fd5b813562000f518162004379565b60005b838110156200498d57818101518382015260200162004973565b50506000910152565b60008151808452620049b081602086016020860162004970565b601f01601f19169290920160200192915050565b60208152600062000f51602083018462004996565b60008060408385031215620049ed57600080fd5b8235620049fa81620045dc565b915060208301356001600160401b038082111562004a1757600080fd5b908401906040828703121562004a2c57600080fd5b62004a36620043b5565b823562004a438162004379565b815260208301358281111562004a5857600080fd5b62004a66888286016200466d565b6020830152508093505050509250929050565b602081526001600160601b0382511660208201526000602083015162004aac604084018280518252602090810151910152565b50604083015161012080608085015262004acb61014085018362004996565b9150606085015160a0850152608085015160c085015260a085015160e085015260c085015162004b0561010086018264ffffffffff169052565b5060e085015164ffffffffff8116858301525b5090949350505050565b60ff811681146200438f57600080fd5b6000806040838503121562004b4657600080fd5b823562004b538162004379565b91506020830135620048ac8162004b22565b60006020828403121562004b7857600080fd5b813562000f5181620045dc565b6000806040838503121562004b9957600080fd5b823562004b5381620045dc565b81518152602080830151908201526040810162000e25565b602081526001600160601b0382511660208201526000602083015160408084015262004bee606084018262004996565b949350505050565b600080600080600080600060e0888a03121562004c1257600080fd5b873562004c1f8162004379565b9650602088013562004c318162004379565b955062004c428960408a01620044a8565b94506080880135935060a0880135925060c08801356001600160401b038082111562004c6d57600080fd5b818a0191508a601f83011262004c8257600080fd5b81358181111562004c9257600080fd5b8b602082850101111562004ca557600080fd5b60208301945080935050505092959891949750929550565b6000806040838503121562004cd157600080fd5b823562004cde8162004485565b91506020830135620048ac8162004485565b6000806040838503121562004d0457600080fd5b823562004d118162004379565b91506020830135620048ac8162004379565b60008060006060848603121562004d3957600080fd5b833562004d468162004379565b9250602084013562004d588162004379565b929592945050506040919091013590565b6000806040838503121562004d7d57600080fd5b823562004cde81620045dc565b6000806040838503121562004d9e57600080fd5b823591506020830135620048ac8162004b22565b60006020828403121562004dc557600080fd5b81356001600160401b0381111562004ddc57600080fd5b8201601f8101841362004dee57600080fd5b62004bee848235602084016200462a565b60008060006060848603121562004e1557600080fd5b833562004e2281620045dc565b9250602084013562004e348162004379565b915060408401356001600160401b0381111562004e5057600080fd5b62004e5e868287016200466d565b9150509250925092565b6020815262004e836020820183516001600160601b03169052565b6000602083015162004ea060408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160a01b03811660808401525060808301516001600160c01b0319811660a08401525060a083015160c083015260c083015160e083015260e08301516101008181850152808501519150506101208181850152808501519150506101c0610140818186015262004f346101e086018462004996565b9250808601519050610160601f19868503018187015262004f56848362004996565b93508087015191505061018062004f758187018364ffffffffff169052565b86015190506101a062004f908682018364ffffffffff169052565b86015164ffffffffff811683870152905062004b18565b602080825282516001600160c01b031916828201528201516060604083015260009062004fd8608084018262004996565b90506040840151151560608401528091505092915050565b600080604083850312156200500457600080fd5b50508035926020909101359150565b80151581146200438f57600080fd5b600080604083850312156200503657600080fd5b82356200504381620045dc565b91506020830135620048ac8162005013565b600080604083850312156200506957600080fd5b8235620050768162004379565b946020939093013593505050565b6000806000606084860312156200509a57600080fd5b8335620050a78162004379565b9250602084013562004d588162005013565b600080600060608486031215620050cf57600080fd5b8335620050dc8162004485565b92506020840135620050ee8162004485565b91506040840135620051008162004485565b809150509250925092565b600080604083850312156200511f57600080fd5b82356200507681620045dc565b6000806000606084860312156200514257600080fd5b8335620050dc8162004379565b600080606083850312156200516357600080fd5b82359150620051768460208501620044a8565b90509250929050565b81516001600160601b031681526020808301516101e0830191620051ad908401826001600160601b03169052565b506040830151620051c960408401826001600160a01b03169052565b506060830151620051e7606084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151805161012084015260208101516101408401525060e0830151805161016084015260208101516101808401525061010083015180516101a084015260208101516101c084015262001907565b600080604083850312156200527c57600080fd5b8235620052898162004379565b915060208301356001600160401b0380821115620052a657600080fd5b908401906101208287031215620052bc57600080fd5b620052c66200442c565b620052d18362004392565b8152620052e28760208501620044a8565b6020820152606083013582811115620052fa57600080fd5b62005308888286016200466d565b6040830152506080830135606082015260a0830135608082015260c083013560a08201526200533a60e08401620046a4565b60c08201526200534e6101008401620046a4565b60e08201528093505050509250929050565b6000602082840312156200537357600080fd5b815162000f518162004485565b60208082526021908201527f4552524f523a504f4c2d3030313a4e4f545f50524f445543545f5345525649436040820152604560f81b606082015260800190565b600060208284031215620053d457600080fd5b815162000f518162004b22565b600060208284031215620053f457600080fd5b5051919050565b6000602082840312156200540e57600080fd5b815162000f51816200484d565b80516200158a8162004485565b6000604082840312156200543b57600080fd5b62005445620043b5565b8251620054528162004485565b81526020830151620054648162004485565b60208201529392505050565b80516200158a8162004379565b6000602082840312156200549057600080fd5b815162000f518162004379565b600060408284031215620054b057600080fd5b620054ba620043b5565b9050815181526020820151602082015292915050565b600082601f830112620054e257600080fd5b8151620054f36200463b8262004600565b8181528460208386010111156200550957600080fd5b62004bee82602083016020870162004970565b80516200158a8162004690565b6000602082840312156200553c57600080fd5b81516001600160401b03808211156200555457600080fd5b9083019061012082860312156200556a57600080fd5b620055746200442c565b6200557f8362005470565b81526200559086602085016200549d565b6020820152606083015182811115620055a857600080fd5b620055b687828601620054d0565b6040830152506080830151606082015260a0830151608082015260c083015160a0820152620055e860e084016200551c565b60c0820152620055fc61010084016200551c565b60e082015295945050505050565b634e487b7160e01b600052603260045260246000fd5b6000604082840312156200563357600080fd5b6200563d620043b5565b82516200564a8162005013565b81526020928301519281019290925250919050565b6000602082840312156200567257600080fd5b815162000f518162004690565b60208082526021908201527f4552524f523a42444c2d3030323a4e4f545f50524f445543545f5345525649436040820152604560f81b606082015260800190565b600060208284031215620056d357600080fd5b815162000f518162005013565b60208082526017908201527f4552524f523a4143532d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b80516200158a81620045dc565b6000602082840312156200573757600080fd5b815162000f5181620045dc565b6020808252601f908201527f4552524f523a4143532d3030323a524f4c455f4e4f545f4558495354494e4700604082015260600190565b6001600160c01b03199390931683526001600160a01b039190911660208301521515604082015260600190565b600060208284031215620057bb57600080fd5b81516001600160401b0380821115620057d357600080fd5b908301906101c08286031215620057e957600080fd5b620057f362004406565b620057fe8362005470565b81526200580e6020840162005470565b6020820152620058216040840162005717565b604082015262005834606084016200541b565b6060820152620058476080840162005717565b608082015260a083015160a082015260c083015160c082015260e083015160e082015261010080840151818301525061012080840151838111156200588b57600080fd5b6200589988828701620054d0565b8284015250506101408084015183811115620058b457600080fd5b620058c288828701620054d0565b8284015250506101609150620058da8284016200551c565b828201526101809150620058f08284016200551c565b828201526101a09150620059068284016200551c565b91810191909152949350505050565b600181811c908216806200592a57607f821691505b6020821081036200594b57634e487b7160e01b600052602260045260246000fd5b50919050565b6000604082840312156200596457600080fd5b62000f5183836200549d565b600080604083850312156200598457600080fd5b505080516020909101519092909150565b60006101e08284031215620059a957600080fd5b620059b3620043e0565b620059be8362005470565b8152620059ce6020840162005470565b6020820152620059e1604084016200541b565b6040820152620059f584606085016200549d565b606082015262005a098460a085016200549d565b608082015262005a1d8460e085016200549d565b60a082015262005a328461012085016200549d565b60c082015262005a478461016085016200549d565b60e082015262005a5c846101a085016200549d565b6101008201529392505050565b82815260406020820152600062004bee604083018462004996565b83815260ff8316602082015260606040820152600062005aa8606083018462004996565b95945050505050565b60006020828403121562005ac457600080fd5b81516001600160401b0381111562005adb57600080fd5b62004bee84828501620054d0565b8181038181111562000e2557634e487b7160e01b600052601160045260246000fd5b6001600160401b0360c01b8316815260406020820152600062004bee604083018462004996565b601f82111562005b7c57600081815260208120601f850160051c8101602086101562005b5b5750805b601f850160051c820191505b8181101562001af35782815560010162005b67565b505050565b81516001600160401b0381111562005b9d5762005b9d6200439f565b62005bb58162005bae845462005915565b8462005b32565b602080601f83116001811462005bed576000841562005bd45750858301515b600019600386901b1c1916600185901b17855562001af3565b600085815260208120601f198616915b8281101562005c1e5788860151825594840194600190910190840162005bfd565b508582101562005c3d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603160045260246000fdfe608060405234801561001057600080fd5b506040516102aa3803806102aa83398101604081905261002f9161005b565b6001600160a01b03166c01000000000000000000000000026001600160601b03909116176000556100ad565b6000806040838503121561006e57600080fd5b82516001600160601b038116811461008557600080fd5b60208401519092506001600160a01b03811681146100a257600080fd5b809150509250929050565b6101ee806100bc6000396000f3fe608060405234801561001057600080fd5b50600436106100405760003560e01c806251884a1461004557806321df0da71461006a578063beabacc814610095575b600080fd5b6000546040516bffffffffffffffffffffffff90911681526020015b60405180910390f35b600054600160601b90046001600160a01b03166040516001600160a01b039091168152602001610061565b6100a86100a3366004610153565b6100aa565b005b6000546040516323b872dd60e01b81526001600160a01b038581166004830152848116602483015260448201849052600160601b909204909116906323b872dd906064016020604051808303816000875af115801561010d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610131919061018f565b50505050565b80356001600160a01b038116811461014e57600080fd5b919050565b60008060006060848603121561016857600080fd5b61017184610137565b925061017f60208501610137565b9150604084013590509250925092565b6000602082840312156101a157600080fd5b815180151581146101b157600080fd5b939250505056fea264697066735822122098042a25f53a65deabe0e6f542a37f2241e6a3e8502eedd92fc64bb45d25bfc364736f6c63430008140033a26469706673582212205c86167e08bbf3ed86d6cad39fee038e023913e1081be8b6dd683e92ddaf5b2b64736f6c63430008140033",
3153
+ "bytecode": "0x60806040523480156200001157600080fd5b50604051620073343803806200733483398101604081905262000034916200180f565b6200003e620000cd565b6200004862000284565b62000052620003be565b6200005c6200062b565b6200009e6301ffc9a760e01b60005260046020527f9fe05126d2d9ecf60592e254dead906a4b2e492f36cca727682c38e9008c6ac1805460ff19166001179055565b600680546001600160a01b03191633908117909155620000c49084908490849062000772565b50505062001b6e565b60dc6000908152600160208190527f81c2bf9f7c6e8ac9bd8bcd9d323e94b867d2f5054aff8759d884773c680ec1ec805460ff19166064179055906002906200011460dc90565b60ff1660ff16815260200190815260200160002060006200013a620009dc60201b60201c565b60ff1660ff168152602001908152602001600020600062000160620009e160201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906002906200019460dc90565b60ff1660ff1681526020019081526020016000206000620001ba620009e160201b60201c565b60ff1660ff1681526020019081526020016000206000620001e0620009dc60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906002906200021460dc90565b60ff1660ff16815260200190815260200160002060006200023a620009e160201b60201c565b60ff1660ff168152602001908152602001600020600062000260620009e660201b60201c565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f1bd07f61ef326b4de236f5b68f225f46ff76ee2c375ae31a06da201c49c70c128054606460ff1991821681179092557f879b65b464eb639409179c76c21acf6fbada740970e2300d47ea857d08cacd3c8054909116600190811790915560009182526002602052907f7673bcbb3401a7cbae68f81d40eea2cf35afdaf7ecd016ebf3f02857fcc1260a9062000318606e90565b60ff1660ff16815260200190815260200160002060006200033e620009dc60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060029062000372606490565b60ff1660ff168152602001908152602001600020600062000398620009e160201b60201c565b60ff1660ff168152602001908152602001600020600062000260620009eb60201b60201c565b60d26000908152600160208190527fcfa08e49dd9e66a4af3cdf0c2ef56f411154768307cac6dc23ee77c0386825be805460ff1916600a179055906002906200040560d290565b60ff1660ff16815260200190815260200160002060006200042b620009f060201b60201c565b60ff1660ff168152602001908152602001600020600062000451620009f560201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906002906200048560d290565b60ff1660ff1681526020019081526020016000206000620004ab620009f060201b60201c565b60ff1660ff1681526020019081526020016000206000620004d1620009fa60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906002906200050560d290565b60ff1660ff16815260200190815260200160002060006200052b620009f060201b60201c565b60ff1660ff168152602001908152602001600020600062000551620009ff60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906002906200058560d290565b60ff1660ff1681526020019081526020016000206000620005ab620009ff60201b60201c565b60ff1660ff1681526020019081526020016000206000620005d1620009dc60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906002906200060560d290565b60ff1660ff16815260200190815260200160002060006200023a620009dc60201b60201c565b60c86000908152600160208190527f345f7c6c888721344af4147de0834159e0b302300ba13c4e7b6c0b60d8f2314e805460ff19166064179055906002906200067260c890565b60ff1660ff168152602001908152602001600020600062000698620009dc60201b60201c565b60ff1660ff1681526020019081526020016000206000620006be620009e160201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600290620006f260c890565b60ff1660ff168152602001908152602001600020600062000718620009e160201b60201c565b60ff1660ff16815260200190815260200160002060006200073e620009dc60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906002906200037260c890565b600654600160a01b900460ff1615620007e95760405162461bcd60e51b815260206004820152602e60248201527f436f6e747261637420696e7374616e63652068617320616c726561647920626560448201526d195b881a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b620007f48462000a04565b600b80546001600160a01b0319166001600160a01b0386161790556040516368aebf7b60e01b815260006004820152620008b49073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af415801562000865573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200088b919062001869565b60408051808201909152600981526841646d696e526f6c6560b81b602082015260008062000a7f565b6040516368aebf7b60e01b81526001600160401b036004820152620009609073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af415801562000910573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000936919062001869565b60408051808201909152600a8152695075626c6963526f6c6560b01b602082015260008062000a7f565b62000987838360466000856040518060200160405280600081525062000b6560201b60201c565b639f07a2f160e01b60005260046020527f98b2b8de78dda36b7dee248bec98f420711551cc2fa8e29eebd0984244713eb6805460ff1916600117905550506006805460ff60a01b1916600160a01b1790555050565b606490565b606e90565b60c890565b60d290565b600a90565b601490565b601e90565b602890565b60005460ff161562000a645760405162461bcd60e51b815260206004820152602260248201527f4163636573734d616e616765643a20616c726561647920696e697469616c697a604482015261195960f21b6064820152608401620007e0565b62000a6f8162000c78565b506000805460ff19166001179055565b801562000a965762000a9384848462000cd4565b50505b600062000aa585858562000f5e565b8051600090815260076020526040812080546001600160401b0319166001600160401b038981169182179092556009805460018101825593527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af6004840401805460039094166008026101000a928302199093169102179055905062000b5e62000b2f8662000f9a565b604080518451602080830191909152850151151581830152815180820383018152606090910190915262001022565b5050505050565b62000ba76301ffc9a760e01b60005260046020527f9fe05126d2d9ecf60592e254dead906a4b2e492f36cca727682c38e9008c6ac1805460ff19166001179055565b62000bb3828762001032565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d01000000000000000000000000008615150217815590506001810162000c32838262001940565b506303fb044760e21b60005260046020527f91a409085efa2cad9dad64790cb14ef1d9b61e9173e901d74242d27ef0ced4a1805460ff1916600117905550505050505050565b60008054610100600160a81b0319166101006001600160a01b038416908102919091179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b6000808062000ce38662000f9a565b905062000cf08162001058565b9250821562000d255762000d0481620010e6565b80602001905181019062000d19919062001a1d565b60200151915062000d29565b8391505b856001600160401b038116158062000d4957506001600160401b03818116145b1562000d745760405163981bf42160e01b81526001600160401b0388166004820152602401620007e0565b82801562000d8c57506127106001600160401b038216105b1562000db757604051633119b9df60e21b81526001600160401b0388166004820152602401620007e0565b82801562000dd057506127106001600160401b03821610155b1562000dfb5760405163094fb39160e01b81526001600160401b0388166004820152602401620007e0565b600062000e088762001193565b905062000e1581620011d6565b60000362000e42576040516321ab17ab60e01b81526001600160401b0389166004820152602401620007e0565b60008181526007602090815260409182902054825163bc1b392d60e01b8152925162000ee9936001600160401b039092169273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9263bc1b392d92600480830193928290030181865af415801562000eb1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000ed7919062001869565b6001600160401b039081169116141590565b801562000f1057506000818152600760205260409020546001600160401b03898116911614155b1562000f535760008181526007602052604090819020549051631660fb9360e21b81526001600160401b03909116600482015260248101829052604401620007e0565b505050935093915050565b604080518082018252600080825260208201528151808301909252908062000f868562001193565b815260200183151581525090509392505050565b604051630f37f38f60e41b81526001600160401b038216600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063f37f38f090602401602060405180830381865af415801562000ff6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200101c919062001a76565b92915050565b6200102e8282620011ff565b5050565b600680546001600160a01b0319166001600160a01b0384161790556200102e8162001637565b60008181526003602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af4158015620010c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200101c919062001a90565b60008181526003602052604090206001018054606091906200110890620018b1565b80601f01602080910402602001604051908101604052809291908181526020018280546200113690620018b1565b8015620011875780601f106200115b5761010080835404028352916020019162001187565b820191906000526020600020905b8154815290600101906020018083116200116957829003601f168201915b50505050509050919050565b600080829050601f81511115620011c1578260405163305a27a960e01b8152600401620007e0919062001aae565b8051620011ce8262001afe565b179392505050565b600060ff8216601f8111156200101c57604051632cd44ac360e21b815260040160405180910390fd5b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af415801562001253573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001279919062001b23565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af4158015620012cf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620012f5919062001a90565b620013435760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401620007e0565b600083815260036020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015620013ad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620013d3919062001a90565b620014215760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401620007e0565b334360006200143085620017a4565b6200143d57606462001453565b60ff808616600090815260016020526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b919091021785556000888152600360205260409020909150600101620014df878262001940565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af415801562001553573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001579919062001b23565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015620015ca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620015f0919062001b48565b6040805160ff938416815260ff19929092166020830152918416818301526001600160a01b038616606082015232608082015290519081900360a00190a150505050505050565b6005546001600160a01b031615620016725760055460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401620007e0565b6001600160a01b0381166200169a5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003620016d25760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620007e0565b600580546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263e14a543960e01b60048201526301ffc9a790602401602060405180830381865afa9250505080156200174f575060408051601f3d908101601f191682019092526200174c9181019062001a90565b60015b620017795760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620007e0565b806200102e5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620007e0565b60ff81811660009081526001602052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401620010a2565b80516001600160a01b03811681146200180a57600080fd5b919050565b6000806000606084860312156200182557600080fd5b6200183084620017f2565b92506200184060208501620017f2565b60408501519092506001600160601b03811681146200185e57600080fd5b809150509250925092565b6000602082840312156200187c57600080fd5b81516001600160401b03811681146200189457600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620018c657607f821691505b602082108103620018e757634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200193b57600081815260208120601f850160051c81016020861015620019165750805b601f850160051c820191505b81811015620019375782815560010162001922565b5050505b505050565b81516001600160401b038111156200195c576200195c6200189b565b62001974816200196d8454620018b1565b84620018ed565b602080601f831160018114620019ac5760008415620019935750858301515b600019600386901b1c1916600185901b17855562001937565b600085815260208120601f198616915b82811015620019dd57888601518255948401946001909101908401620019bc565b5085821015620019fc5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b805180151581146200180a57600080fd5b60006040828403121562001a3057600080fd5b604080519081016001600160401b038111828210171562001a555762001a556200189b565b6040528251815262001a6a6020840162001a0c565b60208201529392505050565b60006020828403121562001a8957600080fd5b5051919050565b60006020828403121562001aa357600080fd5b620018948262001a0c565b600060208083528351808285015260005b8181101562001add5785810183015185820160400152820162001abf565b506000604082860101526040601f19601f8301168501019250505092915050565b80516020808301519190811015620018e75760001960209190910360031b1b16919050565b60006020828403121562001b3657600080fd5b815160ff811681146200189457600080fd5b60006020828403121562001b5b57600080fd5b815160ff19811681146200189457600080fd5b6157b68062001b7e6000396000f3fe608060405234801561001057600080fd5b506004361061048b5760003560e01c80637a41580211610262578063b428b0b011610151578063cd50b97e116100ce578063e8951ee611610092578063e8951ee6146105b6578063e9e96c7014610aca578063f48016ce14610b08578063f7bc431c14610b1b578063f8b648ac1461066a578063fe1f18d614610b2e57600080fd5b8063cd50b97e14610a7e578063d2f21a2914610a91578063d5b221bd146105e4578063d78a83b114610aa4578063dee3262314610ab757600080fd5b8063bd5947e311610115578063bd5947e314610a3a578063bf1db3f914610a4d578063bf7e214f14610a60578063c2f1a2d2146105e4578063ca600b1c14610a7657600080fd5b8063b428b0b0146109ee578063b68ec1461461066a578063b7d2b16214610a01578063bc8d400014610a14578063bd4fe04e14610a2757600080fd5b80638fb36037116101df5780639df0280b116101a35780639df0280b146105b6578063a13df2ab14610904578063a5961b4c14610917578063a76ee018146109c8578063a8989675146109db57600080fd5b80638fb3603714610897578063950ad70b146108b8578063976b0a77146108cb5780639a960d52146108de5780639d7421f4146108f157600080fd5b806386f0c47b1161022657806386f0c47b1461083c5780638793a9ac1461085c578063893d20e81461086f5780638dc77f42146105b65780638eaa6ac01461087757600080fd5b80637a415802146105e45780637a9e5e4b146108035780637cef48421461081657806382f65adb1461066a578063835933c91461082957600080fd5b806338a699a41161037e5780635d4345cc116102fb5780636b9bf08b116102bf5780636b9bf08b146107c55780636fa29853146107cd57806373539127146107d557806375b238fc146107e857806375c82776146107f057600080fd5b80635d4345cc146105b65780635dfa73db1461076b5780636071a68e14610774578063644c45e01461078757806364c55d9c146107b257600080fd5b806340529b0f1161034257806340529b0f146105b6578063468a18671461071457806354f6127f1461072757806357f96805146107475780635ab1bd531461075a57600080fd5b806338a699a4146106ad578063392f5f64146106c05780633ca7c02a146106c85780633fc5ab98146106ee5780633fd855611461070157600080fd5b8063167bd3951161040c5780632f61088a116103d05780632f61088a1461064457806331d311a71461065757806333bb0a971461066a57806337f135d71461067d578063384c9a571461069a57600080fd5b8063167bd395146105d15780631c45fe7a146105e45780631e23a2f5146105f75780631eff4b221461060a57806322f46b841461063157600080fd5b80630d358181116104535780630d358181146105675780630f526f7d1461058d5780630fec111c146105a057806310203d2c146105b6578063138461e0146105c957600080fd5b806301ffc9a71461049057806302cd3071146104d257806303014974146104f757806309648a9d146105185780630b24cf5f14610552575b600080fd5b6104bd61049e366004613d99565b6001600160e01b03191660009081526004602052604090205460ff1690565b60405190151581526020015b60405180910390f35b600c546001600160a01b03165b6040516001600160a01b0390911681526020016104c9565b61050a610505366004613dd8565b610b41565b6040519081526020016104c9565b610540610526366004613df5565b600090815260036020526040902054610100900460ff1690565b60405160ff90911681526020016104c9565b610565610560366004614022565b610b68565b005b610540610575366004614067565b60ff9081166000908152600160205260409020541690565b61056561059b366004614084565b610bac565b6105a8610bc9565b6040516104c992919061410d565b6105656105c4366004614084565b610d4b565b610565610d60565b6105656105df3660046141b4565b610f82565b6105656105f236600461430a565b61102a565b61056561060536600461437e565b61106b565b61050a7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b61056561063f3660046143df565b611091565b6105656106523660046144a9565b6110a7565b61050a6106653660046144ee565b611142565b61056561067836600461450b565b6111d3565b610685600081565b60405163ffffffff90911681526020016104c9565b6104bd6106a8366004613dd8565b6111fe565b6104bd6106bb366004613df5565b611394565b60095461050a565b6106d66001600160401b0381565b6040516001600160401b0390911681526020016104c9565b6105656106fc366004614623565b61141f565b6106d661070f366004613df5565b611445565b61050a610722366004614686565b61148a565b61073a610735366004613df5565b6114e7565b6040516104c991906146a3565b610565610755366004614759565b61158c565b6005546001600160a01b03166104df565b6106d661271081565b610565610782366004614787565b6115b4565b600554600160a01b90046001600160601b03166040516001600160601b0390911681526020016104c9565b6105656107c036600461489e565b6115da565b6104df611602565b6104df61169a565b6105656107e33660046148df565b6116fa565b6106d6600081565b6105656107fe366004614950565b611722565b6105656108113660046144ee565b611748565b6105656108243660046149a8565b6117c3565b61050a610837366004613dd8565b61184d565b61084f61084a366004613dd8565b611890565b6040516104c991906149c6565b61056561086a3660046149df565b611935565b6104df61194a565b61088a610885366004613df5565b611a27565b6040516104c99190614a47565b61089f611b68565b6040516001600160e01b031990911681526020016104c9565b6105656108c6366004614a7b565b611b8c565b6105656108d9366004614ac2565b611bee565b6105656108ec366004614c60565b611e16565b6105656108ff366004614ca7565b611e3c565b61050a610912366004614686565b611e62565b6109bb610925366004613df5565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260036020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b6040516104c99190614cfe565b6105656109d6366004614d0c565b611e8f565b6105656109e9366004614d53565b611f2a565b6104bd6109fc366004614d93565b61201b565b6104bd610a0f366004614d93565b61220f565b610565610a22366004614dc1565b61239a565b610565610a35366004614e06565b6123c0565b610565610a48366004614e47565b6123e8565b6104bd610a5b366004614067565b612410565b60005461010090046001600160a01b03166104df565b6104df61245d565b610565610a8c3660046143df565b6124bb565b610565610a9f366004614084565b6124d2565b6104df610ab2366004614e87565b6124e9565b610565610ac5366004614084565b612512565b6104bd610ad8366004614d53565b60ff9283166000908152600260209081526040808320948616835293815283822092851682529190915220541690565b61050a610b16366004614ec3565b612529565b610565610b293660046144ee565b6125ad565b610565610b3c366004614084565b612629565b6001600160401b0381166000908152600860205260408120610b629061263e565b92915050565b610b75335b600036612648565b610ba8610b8383607861275b565b82604051602001610b949190614ef1565b6040516020818303038152906040526127a7565b5050565b610bb533610b6d565b610ba8610bc383608c61275b565b826127b1565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610c4c6005546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610c9461194a565b6001600160a01b03168152602001826001018054610cb190614f51565b80601f0160208091040260200160405190810160405280929190818152602001828054610cdd90614f51565b8015610d2a5780601f10610cff57610100808354040283529160200191610d2a565b820191906000526020600020905b815481529060010190602001808311610d0d57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b610d5433610b6d565b610ba8610bc38361148a565b6005546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610dc2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610de69190614f8b565b15610e2d576005546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6005546001600160a01b0316610e565760405163cf29926160e01b815260040160405180910390fd5b60055460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610e9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ec39190614f8b565b610eeb576040516372657a5160e01b81526001600160a01b0382166004820152602401610e24565b600554604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610f35573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f599190614fa8565b600560146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b610f8b33610b6d565b610f976106bb83611142565b610fbf576040516325b6f39560e21b81526001600160a01b0383166004820152602401610e24565b600b5460405163167bd39560e01b81526001600160a01b03848116600483015283151560248301529091169063167bd39590604401600060405180830381600087803b15801561100e57600080fd5b505af1158015611022573d6000803e3d6000fd5b505050505050565b61103333610b6d565b61106561103f8561148a565b836040516020016110509190614fc5565b604051602081830303815290604052836127bb565b50505050565b61107433610b6d565b610ba861108083611142565b82604051602001610b9491906149c6565b61109a33610b6d565b610ba882826001806127c6565b6110b033610b6d565b6040516355ee627560e01b81526001600160c01b031983166004820152610ba89073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af415801561110d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111319190615018565b82604051602001610b949190615031565b604051637a400b6760e11b8152601e6004820152606082901b6bffffffffffffffffffffffff1916602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af41580156111af573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b629190615018565b6111dc33610b6d565b6111f96111e88461148a565b82604051602001610b949190614fc5565b505050565b6000338161120b8461184d565b905061121681611394565b61123d57604051627a416f60e01b81526001600160401b0385166004820152602401610e24565b6001600160401b038416600090815260086020526040902061125f908361286f565b1561138a57600b54604051631517388760e21b81526001600160401b03861660048201526001600160a01b039091169063fe0776f59073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156112d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112f5919061505f565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b0385166024820152604401600060405180830381600087803b15801561134557600080fd5b505af1158015611359573d6000803e3d6000fd5b5050506001600160401b038516600090815260086020526040902061137f915083612891565b506001949350505050565b5060009392505050565b60008181526003602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af41580156113fb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b629190614f8b565b61142833610b6d565b6111f961143484611e62565b83604051602001611050919061507c565b60006009828154811061145a5761145a615130565b90600052602060002090600491828204019190066008029054906101000a90046001600160401b03169050919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d25b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401611192565b600081815260036020526040902060010180546060919061150790614f51565b80601f016020809104026020016040519081016040528092919081815260200182805461153390614f51565b80156115805780601f1061155557610100808354040283529160200191611580565b820191906000526020600020905b81548152906001019060200180831161156357829003601f168201915b50505050509050919050565b61159533610b6d565b610ba86115a383608c61275b565b82604051602001610b949190615146565b6115bd33610b6d565b610ba86115c983611e62565b82604051602001610b94919061507c565b6115e333610b6d565b6111f96115f184606e61275b565b8360405160200161105091906151e9565b6005546040805163a3bcd81d60e01b81526004810191909152600b60448201526a506f6f6c5365727669636560a81b6064820152600360248201526000916001600160a01b03169063a3bcd81d906084015b602060405180830381865afa158015611671573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061169591906152eb565b905090565b6005546040805163a3bcd81d60e01b815260048101919091526015604482015274436f6d706f6e656e744f776e65725365727669636560581b6064820152600360248201526000916001600160a01b03169063a3bcd81d90608401611654565b61170333610b6d565b610ba861171183606e61275b565b82604051602001610b9491906151e9565b61172b33610b6d565b6110656117378561148a565b836040516020016110509190615308565b600054339061010090046001600160a01b031681146117845760405162d1953b60e31b81526001600160a01b0382166004820152602401610e24565b816001600160a01b03163b6000036117ba576040516361798f2f60e11b81526001600160a01b0383166004820152602401610e24565b610ba8826128a6565b6117cc33610b6d565b6040516355ee627560e01b81526001600160c01b031983166004820152610ba89073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611829573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc39190615018565b604051630f37f38f60e41b81526001600160401b038216600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063f37f38f090602401611192565b604080518082018252600080825260208201529051630f37f38f60e41b81526001600160401b03831660048201526119229073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063f37f38f090602401602060405180830381865af41580156118fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107359190615018565b806020019051810190610b629190615338565b61193e33610b6d565b610ba8610bc38361184d565b6005546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156119af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119d39190614f8b565b15611a1757600554604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401611654565b506006546001600160a01b031690565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260036020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c08201529283526001810180549192840191611adf90614f51565b80601f0160208091040260200160405190810160405280929190818152602001828054611b0b90614f51565b8015611b585780601f10611b2d57610100808354040283529160200191611b58565b820191906000526020600020905b815481529060010190602001808311611b3b57829003601f168201915b5050505050815250509050919050565b60008054600160a81b900460ff16611b805750600090565b50638fb3603760e01b90565b611b9533610b6d565b6000611ba384846000612902565b5090506000611bb3858584612b6d565b9050611be7611bc18661184d565b82604051602001611bd291906149c6565b604051602081830303815290604052856127bb565b5050505050565b600654600160a01b900460ff1615611c5f5760405162461bcd60e51b815260206004820152602e60248201527f436f6e747261637420696e7374616e63652068617320616c726561647920626560448201526d195b881a5b9a5d1a585b1a5e995960921b6064820152608401610e24565b611c6884612ba9565b600b80546001600160a01b0319166001600160a01b0386161790556040516368aebf7b60e01b815260006004820152611d259073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015611cd7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cfb919061505f565b6040518060400160405280600981526020016841646d696e526f6c6560b81b8152506000806127c6565b6040516368aebf7b60e01b81526001600160401b036004820152611dce9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015611d7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611da3919061505f565b6040518060400160405280600a8152602001695075626c6963526f6c6560b01b8152506000806127c6565b611ded8383604660008560405180602001604052806000815250612c20565b611dfd639f07a2f160e01b612cf5565b50506006805460ff60a01b1916600160a01b1790555050565b611e1f33610b6d565b6111f9611e2b8461148a565b836040516020016110509190615370565b611e4533610b6d565b6111f9611e518461148a565b82604051602001610b949190615308565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc6114b3565b611e9833610b6d565b6040516355ee627560e01b81526001600160c01b0319841660048201526111f99073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611ef5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f199190615018565b836040516020016110509190615031565b60ff8381166000908152600160205260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015611f8f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fb39190614f8b565b15611fbd57505050565b60ff8084166000908152600260209081526040808320868516845282528083208585168452909152902054166111f957604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610e24565b600061202633610b6d565b60006120318461184d565b905061203c81611394565b61206457604051636777365b60e01b81526001600160401b0385166004820152602401610e24565b60008181526003602052604090205461209390610100900460ff16612087606490565b60ff9081169116141590565b156120bc5760405163fe229d5d60e01b81526001600160401b0385166004820152602401610e24565b6001600160401b03841660009081526008602052604090206120de908461286f565b61138a57600b54604051631517388760e21b81526001600160401b03861660048201526001600160a01b03909116906325c471a09073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af415801561214f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612173919061505f565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038616602482015260006044820152606401600060405180830381600087803b1580156121ca57600080fd5b505af11580156121de573d6000803e3d6000fd5b5050506001600160401b0385166000908152600860205260409020612204915084612d1a565b506001915050610b62565b600061221a33610b6d565b60006122258461184d565b905061223081611394565b61225857604051634cee277360e11b81526001600160401b0385166004820152602401610e24565b6001600160401b038416600090815260086020526040902061227a908461286f565b1561138a57600b54604051631517388760e21b81526001600160401b03861660048201526001600160a01b039091169063b7d2b1629073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156122ec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612310919061505f565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b0386166024820152604401600060405180830381600087803b15801561236057600080fd5b505af1158015612374573d6000803e3d6000fd5b5050506001600160401b0385166000908152600860205260409020612204915084612891565b6123a333610b6d565b610ba86123af8361148a565b82604051602001610b949190615370565b6123c933610b6d565b6111f96123d784608c61275b565b836040516020016110509190615146565b6123f133610b6d565b6111f96123ff84607861275b565b836040516020016110509190614ef1565b60ff81811660009081526001602052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024016113de565b6005546040805163a3bcd81d60e01b815260048101919091526013604482015272446973747269627574696f6e5365727669636560681b6064820152600360248201526000916001600160a01b03169063a3bcd81d90608401611654565b6124c433610b6d565b610ba88282600060016127c6565b6124db33610b6d565b610ba8610bc383607861275b565b6001600160401b038216600090815260086020526040812061250b9083612d2f565b9392505050565b61251b33610b6d565b610ba8610bc383606e61275b565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af4158015612589573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061250b9190615018565b6125b633610b6d565b600c546001600160a01b0316156126075760405162461bcd60e51b8152602060048201526015602482015274125b9cdd185b98d954995859195c881a5cc81cd95d605a1b6044820152606401610e24565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b61263233610b6d565b610ba8610bc383611e62565b6000610b62825490565b6000806126846126666000546001600160a01b036101009091041690565b863061267660046000898b6154b1565b61267f916154db565b612d3b565b9150915081611be75763ffffffff811615612738576000805460ff60a81b1916600160a81b1790556126c46000546001600160a01b036101009091041690565b6001600160a01b03166394c7d7ee8686866040518463ffffffff1660e01b81526004016126f39392919061550b565b600060405180830381600087803b15801561270d57600080fd5b505af1158015612721573d6000803e3d6000fd5b50506000805460ff60a81b1916905550611be79050565b60405162d1953b60e31b81526001600160a01b0386166004820152602401610e24565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c89060440161256c565b610ba88282612e47565b610ba88282613269565b6111f983838361359d565b80156127da576127d7848484612902565b50505b60006127e7858585612b6d565b80516000908152600760205260408120805467ffffffffffffffff19166001600160401b038981169182179092556009805460018101825593527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af6004840401805460039094166008026101000a9283021990931691021790559050611be76110808661184d565b6001600160a01b0381166000908152600183016020526040812054151561250b565b600061250b836001600160a01b038416613a38565b60008054610100600160a81b0319166101006001600160a01b038416908102919091179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b60008060006129108661184d565b905061291b81611394565b9250821561294a5761292c816114e7565b80602001905181019061293f9190615338565b60200151915061294e565b8391505b856001600160401b038116158061296d57506001600160401b03818116145b156129965760405163981bf42160e01b81526001600160401b0388166004820152602401610e24565b8280156129ad57506127106001600160401b038216105b156129d657604051633119b9df60e21b81526001600160401b0388166004820152602401610e24565b8280156129ee57506127106001600160401b03821610155b15612a175760405163094fb39160e01b81526001600160401b0388166004820152602401610e24565b6000612a2287613b32565b9050612a2d81613b70565b600003612a58576040516321ab17ab60e01b81526001600160401b0389166004820152602401610e24565b60008181526007602090815260409182902054825163bc1b392d60e01b81529251612afb936001600160401b039092169273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9263bc1b392d92600480830193928290030181865af4158015612ac5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ae9919061505f565b6001600160401b039081169116141590565b8015612b2157506000818152600760205260409020546001600160401b03898116911614155b15612b625760008181526007602052604090819020549051631660fb9360e21b81526001600160401b03909116600482015260248101829052604401610e24565b505050935093915050565b60408051808201909152600080825260208201526040518060400160405280612b9585613b32565b815260200183151581525090509392505050565b60005460ff1615612c075760405162461bcd60e51b815260206004820152602260248201527f4163636573734d616e616765643a20616c726561647920696e697469616c697a604482015261195960f21b6064820152608401610e24565b612c10816128a6565b506000805460ff19166001179055565b612c616301ffc9a760e01b60005260046020527f9fe05126d2d9ecf60592e254dead906a4b2e492f36cca727682c38e9008c6ac1805460ff19166001179055565b612c6b8287613b98565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101612cdb8382615591565b50612cec6303fb044760e21b612cf5565b50505050505050565b6001600160e01b0319166000908152600460205260409020805460ff19166001179055565b600061250b836001600160a01b038416613bbc565b600061250b8383613c0b565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251612daa9190615650565b600060405180830381855afa9150503d8060008114612de5576040519150601f19603f3d011682016040523d82523d6000602084013e612dea565b606091505b50915091508115612e3c576040815110612e1c5780806020019051810190612e12919061566c565b9094509250612e3c565b6020815110612e3c5780806020019051810190612e399190614f8b565b93505b505094509492505050565b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612e9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ebe919061569b565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af4158015612f13573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f379190614f8b565b612f835760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401610e24565b600083815260036020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015612fec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130109190614f8b565b61305c5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401610e24565b3343600061306985612410565b61307457606461308a565b60ff808616600090815260016020526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b9190910217855560008881526003602052604090209091506001016131148782615591565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613187573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131ab919061569b565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156131fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061321f91906156b8565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a0015b60405180910390a150505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156132bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132df9190614f8b565b61332b5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3034303a53544154455f554e444546494e45440000006044820152606401610e24565b600082815260036020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015613397573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133bb9190614f8b565b6134075760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3034313a4e4f545f4558495354494e470000000000006044820152606401610e24565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b9091041661344b4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156134dd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613501919061569b565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015613551573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061357591906156b8565b878686328760405161358d97969594939291906156d5565b60405180910390a1505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156135ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136139190614f8b565b61365f5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3032303a53544154455f554e444546494e45440000006044820152606401610e24565b600083815260036020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156136cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136ef9190614f8b565b61373b5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3032313a4e4f545f4558495354494e470000000000006044820152606401610e24565b60008581526003602052604090206001016137568582615591565b508154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b9091041661379b4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af415801561382d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613851919061569b565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156138a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138c591906156b8565b87868632876040516138dd97969594939291906156d5565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613957573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061397b919061569b565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156139cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139ef91906156b8565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c001613258565b60008181526001830160205260408120548015613b21576000613a5c600183615725565b8554909150600090613a7090600190615725565b9050808214613ad5576000866000018281548110613a9057613a90615130565b9060005260206000200154905080876000018481548110613ab357613ab3615130565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080613ae657613ae6615746565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610b62565b6000915050610b62565b5092915050565b600080829050601f81511115613b5d578260405163305a27a960e01b8152600401610e2491906146a3565b8051613b688261575c565b179392505050565b600060ff8216601f811115610b6257604051632cd44ac360e21b815260040160405180910390fd5b600680546001600160a01b0319166001600160a01b038416179055610ba881613c35565b6000818152600183016020526040812054613c0357508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610b62565b506000610b62565b6000826000018281548110613c2257613c22615130565b9060005260206000200154905092915050565b6005546001600160a01b031615613c6e5760055460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610e24565b6001600160a01b038116613c955760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003613ccb5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610e24565b600580546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263e14a543960e01b60048201526301ffc9a790602401602060405180830381865afa925050508015613d45575060408051601f3d908101601f19168201909252613d4291810190614f8b565b60015b613d6d5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610e24565b80610ba85760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610e24565b50565b600060208284031215613dab57600080fd5b81356001600160e01b03198116811461250b57600080fd5b6001600160401b0381168114613d9657600080fd5b600060208284031215613dea57600080fd5b813561250b81613dc3565b600060208284031215613e0757600080fd5b5035919050565b6001600160601b0381168114613d9657600080fd5b8035613e2e81613e0e565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715613e6b57613e6b613e33565b60405290565b604051608081016001600160401b0381118282101715613e6b57613e6b613e33565b60405161012081016001600160401b0381118282101715613e6b57613e6b613e33565b60405161010081016001600160401b0381118282101715613e6b57613e6b613e33565b60405161014081016001600160401b0381118282101715613e6b57613e6b613e33565b60405161020081016001600160401b0381118282101715613e6b57613e6b613e33565b6001600160a01b0381168114613d9657600080fd5b8035613e2e81613f1f565b600060408284031215613f5157600080fd5b613f59613e49565b9050813581526020820135602082015292915050565b8015158114613d9657600080fd5b8035613e2e81613f6f565b600060c08284031215613f9a57600080fd5b60405160a081018181106001600160401b0382111715613fbc57613fbc613e33565b6040529050808235613fcd81613e0e565b81526020830135613fdd81613f1f565b6020820152613fef8460408501613f3f565b6040820152608083013561400281613f6f565b606082015260a083013561401581613f1f565b6080919091015292915050565b60008060e0838503121561403557600080fd5b823561404081613e0e565b915061404f8460208501613f88565b90509250929050565b60ff81168114613d9657600080fd5b60006020828403121561407957600080fd5b813561250b81614058565b6000806040838503121561409757600080fd5b82356140a281613e0e565b915060208301356140b281614058565b809150509250929050565b60005b838110156140d85781810151838201526020016140c0565b50506000910152565b600081518084526140f98160208601602086016140bd565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161415160a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e06101008401526141976101208401826140e1565b905082810360208401526141ab81856140e1565b95945050505050565b600080604083850312156141c757600080fd5b82356141d281613f1f565b915060208301356140b281613f6f565b63ffffffff81168114613d9657600080fd5b600082601f83011261420557600080fd5b81356001600160401b038082111561421f5761421f613e33565b604051601f8301601f19908116603f0116810190828211818310171561424757614247613e33565b8160405283815286602085880101111561426057600080fd5b836020870160208301376000602085830101528094505050505092915050565b803564ffffffffff81168114613e2e57600080fd5b6000608082840312156142a757600080fd5b6142af613e71565b905081356142bc816141e2565b81526020828101359082015260408201356001600160401b038111156142e157600080fd5b6142ed848285016141f4565b6040830152506142ff60608301614280565b606082015292915050565b6000806000806080858703121561432057600080fd5b843561432b81613e0e565b9350602085013561433b816141e2565b925060408501356001600160401b0381111561435657600080fd5b61436287828801614295565b925050606085013561437381614058565b939692955090935050565b600080828403606081121561439257600080fd5b833561439d81613f1f565b92506040601f19820112156143b157600080fd5b506143ba613e49565b6020840135815260408401356143cf81613f6f565b6020820152919491935090915050565b600080604083850312156143f257600080fd5b82356143fd81613dc3565b915060208301356001600160401b0381111561441857600080fd5b614424858286016141f4565b9150509250929050565b6001600160c01b031981168114613d9657600080fd5b8035613e2e8161442e565b60006040828403121561446157600080fd5b614469613e49565b9050813561447681613e0e565b815260208201356001600160401b0381111561449157600080fd5b61449d848285016141f4565b60208301525092915050565b600080604083850312156144bc57600080fd5b82356144c78161442e565b915060208301356001600160401b038111156144e257600080fd5b6144248582860161444f565b60006020828403121561450057600080fd5b813561250b81613f1f565b60008060006060848603121561452057600080fd5b833561452b81613e0e565b9250602084013561453b816141e2565b915060408401356001600160401b0381111561455657600080fd5b61456286828701614295565b9150509250925092565b6000610140828403121561457f57600080fd5b614587613e93565b905061459282613e23565b81526145a18360208401613f3f565b602082015260608201356001600160401b038111156145bf57600080fd5b6145cb848285016141f4565b6040830152506080820135606082015260a0820135608082015260c082013560a082015260e082013560c0820152610100614607818401614280565b60e08301526146196101208401614280565b9082015292915050565b60008060006060848603121561463857600080fd5b833561464381613e0e565b925060208401356001600160401b0381111561465e57600080fd5b61466a8682870161456c565b925050604084013561467b81614058565b809150509250925092565b60006020828403121561469857600080fd5b813561250b81613e0e565b60208152600061250b60208301846140e1565b600061016082840312156146c957600080fd5b6146d1613eb6565b90506146dc82613e23565b81526146ea60208301613f34565b6020820152604082013560408201526147068360608401613f3f565b60608201526147188360a08401613f3f565b608082015261472a8360e08401613f3f565b60a082015261473c6101208301613f7d565b60c082015261474e6101408301613f34565b60e082015292915050565b600080610180838503121561476d57600080fd5b823561477881613e0e565b915061404f84602085016146b6565b6000806040838503121561479a57600080fd5b82356147a581613e0e565b915060208301356001600160401b038111156147c057600080fd5b6144248582860161456c565b600061020082840312156147df57600080fd5b6147e7613ed9565b90506147f282613f34565b815261480060208301613f34565b602082015261481160408301613e23565b604082015261482260608301613e23565b60608201526148348360808401613f3f565b60808201526148468360c08401613f3f565b60a082015261010061485a84828501613f3f565b60c083015261486d846101408501613f3f565b60e0830152614880846101808501613f3f565b90820152614892836101c08401613f3f565b61012082015292915050565b600080600061024084860312156148b457600080fd5b83356148bf81613e0e565b92506148ce85602086016147cc565b915061022084013561467b81614058565b60008061022083850312156148f357600080fd5b82356148fe81613e0e565b915061404f84602085016147cc565b60006080828403121561491f57600080fd5b614927613e71565b9050813581526020820135602082015260408201356001600160401b038111156142e157600080fd5b6000806000806080858703121561496657600080fd5b843561497181613e0e565b93506020850135614981816141e2565b925060408501356001600160401b0381111561499c57600080fd5b6143628782880161490d565b600080604083850312156149bb57600080fd5b82356140a28161442e565b8151815260208083015115159082015260408101610b62565b600080604083850312156149f257600080fd5b82356140a281613dc3565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b60208152614a596020820183516149fd565b6000602083015160c080840152614a7360e08401826140e1565b949350505050565b600080600060608486031215614a9057600080fd5b8335614a9b81613dc3565b925060208401356001600160401b03811115614ab657600080fd5b61466a868287016141f4565b60008060008060808587031215614ad857600080fd5b8435614ae381613f1f565b93506020850135614af381613f1f565b92506040850135614b0381613e0e565b9150606085013561437381613f1f565b803561ffff81168114613e2e57600080fd5b60006102008284031215614b3857600080fd5b614b40613efc565b9050614b4b82613e23565b8152614b5960208301613e23565b6020820152614b6a60408301614444565b6040820152614b7b60608301614444565b60608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e0820152610100808301356001600160401b0380821115614bc457600080fd5b614bd0868387016141f4565b83850152610120925082850135915080821115614bec57600080fd5b50614bf9858286016141f4565b828401525050610140614c0d818401614b13565b90820152610160614c1f838201614b13565b9082015261018082810135908201526101a0614c3c818401614280565b908201526101c0614c4e838201614280565b908201526101e0614619838201614280565b600080600060608486031215614c7557600080fd5b8335614c8081613e0e565b925060208401356001600160401b03811115614c9b57600080fd5b61466a86828701614b25565b600080600060608486031215614cbc57600080fd5b8335614cc781613e0e565b92506020840135614cd7816141e2565b915060408401356001600160401b03811115614cf257600080fd5b6145628682870161490d565b60a08101610b6282846149fd565b600080600060608486031215614d2157600080fd5b8335614d2c8161442e565b925060208401356001600160401b03811115614d4757600080fd5b61466a8682870161444f565b600080600060608486031215614d6857600080fd5b8335614d7381614058565b92506020840135614d8381614058565b9150604084013561467b81614058565b60008060408385031215614da657600080fd5b8235614db181613dc3565b915060208301356140b281613f1f565b60008060408385031215614dd457600080fd5b8235614ddf81613e0e565b915060208301356001600160401b03811115614dfa57600080fd5b61442485828601614b25565b60008060006101a08486031215614e1c57600080fd5b8335614e2781613e0e565b9250614e3685602086016146b6565b915061018084013561467b81614058565b60008060006101008486031215614e5d57600080fd5b8335614e6881613e0e565b9250614e778560208601613f88565b915060e084013561467b81614058565b60008060408385031215614e9a57600080fd5b8235614ea581613dc3565b946020939093013593505050565b60ff1981168114613d9657600080fd5b60008060408385031215614ed657600080fd5b8235614ee181614058565b915060208301356140b281614eb3565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015260c0830191906060850151151560808501528060808601511660a0850152505092915050565b600181811c90821680614f6557607f821691505b602082108103614f8557634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215614f9d57600080fd5b815161250b81613f6f565b600060208284031215614fba57600080fd5b815161250b81613e0e565b6020815263ffffffff8251166020820152602082015160408201526000604083015160806060840152614ffb60a08401826140e1565b905064ffffffffff60608501511660808401528091505092915050565b60006020828403121561502a57600080fd5b5051919050565b602081526001600160601b03825116602082015260006020830151604080840152614a7360608401826140e1565b60006020828403121561507157600080fd5b815161250b81613dc3565b602081526150966020820183516001600160601b03169052565b600060208301516150b4604084018280518252602090810151910152565b5060408301516101408060808501526150d16101608501836140e1565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100818187015260e0870151915061511961012087018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b634e487b7160e01b600052603260045260246000fd5b81516001600160601b031681526020808301516001600160a01b031690820152604080830151908201526060808301516101608301916151929084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151151561012083015260e08301516001600160a01b038116610140840152613b2b565b81516001600160a01b031681526102008101602083015161521560208401826001600160a01b03169052565b50604083015161523060408401826001600160601b03169052565b50606083015161524b60608401826001600160601b03169052565b506080830151615268608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c083015161010061529e8185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e08501529050613b2b565b6000602082840312156152fd57600080fd5b815161250b81613f1f565b6020815281516020820152602082015160408201526000604083015160806060840152614ffb60a08401826140e1565b60006040828403121561534a57600080fd5b615352613e49565b82518152602083015161536481613f6f565b60208201529392505050565b6020815261538a6020820183516001600160601b03169052565b600060208301516153a660408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e0830151610100818185015280850151915050610200610120818186015261541e6102208601846140e1565b9250808601519050610140601f19868503018187015261543e84836140e1565b9350808701519150506101606154598187018361ffff169052565b86015190506101806154708682018361ffff169052565b8601516101a08681019190915286015190506101c06154978187018364ffffffffff169052565b86015190506101e06151198682018364ffffffffff169052565b600080858511156154c157600080fd5b838611156154ce57600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156155035780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b601f8211156111f957600081815260208120601f850160051c810160208610156155725750805b601f850160051c820191505b818110156110225782815560010161557e565b81516001600160401b038111156155aa576155aa613e33565b6155be816155b88454614f51565b8461554b565b602080601f8311600181146155f357600084156155db5750858301515b600019600386901b1c1916600185901b178555611022565b600085815260208120601f198616915b8281101561562257888601518255948401946001909101908401615603565b50858210156156405787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082516156628184602087016140bd565b9190910192915050565b6000806040838503121561567f57600080fd5b825161568a81613f6f565b60208401519092506140b2816141e2565b6000602082840312156156ad57600080fd5b815161250b81614058565b6000602082840312156156ca57600080fd5b815161250b81614eb3565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e00190565b81810381811115610b6257634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b80516020808301519190811015614f855760001960209190910360031b1b1691905056fea26469706673582212206f7ab977be24d52112e5f7a3b6fc5462d3ccd5145634752661dcf21f319c0a1a64736f6c63430008140033",
3154
+ "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061048b5760003560e01c80637a41580211610262578063b428b0b011610151578063cd50b97e116100ce578063e8951ee611610092578063e8951ee6146105b6578063e9e96c7014610aca578063f48016ce14610b08578063f7bc431c14610b1b578063f8b648ac1461066a578063fe1f18d614610b2e57600080fd5b8063cd50b97e14610a7e578063d2f21a2914610a91578063d5b221bd146105e4578063d78a83b114610aa4578063dee3262314610ab757600080fd5b8063bd5947e311610115578063bd5947e314610a3a578063bf1db3f914610a4d578063bf7e214f14610a60578063c2f1a2d2146105e4578063ca600b1c14610a7657600080fd5b8063b428b0b0146109ee578063b68ec1461461066a578063b7d2b16214610a01578063bc8d400014610a14578063bd4fe04e14610a2757600080fd5b80638fb36037116101df5780639df0280b116101a35780639df0280b146105b6578063a13df2ab14610904578063a5961b4c14610917578063a76ee018146109c8578063a8989675146109db57600080fd5b80638fb3603714610897578063950ad70b146108b8578063976b0a77146108cb5780639a960d52146108de5780639d7421f4146108f157600080fd5b806386f0c47b1161022657806386f0c47b1461083c5780638793a9ac1461085c578063893d20e81461086f5780638dc77f42146105b65780638eaa6ac01461087757600080fd5b80637a415802146105e45780637a9e5e4b146108035780637cef48421461081657806382f65adb1461066a578063835933c91461082957600080fd5b806338a699a41161037e5780635d4345cc116102fb5780636b9bf08b116102bf5780636b9bf08b146107c55780636fa29853146107cd57806373539127146107d557806375b238fc146107e857806375c82776146107f057600080fd5b80635d4345cc146105b65780635dfa73db1461076b5780636071a68e14610774578063644c45e01461078757806364c55d9c146107b257600080fd5b806340529b0f1161034257806340529b0f146105b6578063468a18671461071457806354f6127f1461072757806357f96805146107475780635ab1bd531461075a57600080fd5b806338a699a4146106ad578063392f5f64146106c05780633ca7c02a146106c85780633fc5ab98146106ee5780633fd855611461070157600080fd5b8063167bd3951161040c5780632f61088a116103d05780632f61088a1461064457806331d311a71461065757806333bb0a971461066a57806337f135d71461067d578063384c9a571461069a57600080fd5b8063167bd395146105d15780631c45fe7a146105e45780631e23a2f5146105f75780631eff4b221461060a57806322f46b841461063157600080fd5b80630d358181116104535780630d358181146105675780630f526f7d1461058d5780630fec111c146105a057806310203d2c146105b6578063138461e0146105c957600080fd5b806301ffc9a71461049057806302cd3071146104d257806303014974146104f757806309648a9d146105185780630b24cf5f14610552575b600080fd5b6104bd61049e366004613d99565b6001600160e01b03191660009081526004602052604090205460ff1690565b60405190151581526020015b60405180910390f35b600c546001600160a01b03165b6040516001600160a01b0390911681526020016104c9565b61050a610505366004613dd8565b610b41565b6040519081526020016104c9565b610540610526366004613df5565b600090815260036020526040902054610100900460ff1690565b60405160ff90911681526020016104c9565b610565610560366004614022565b610b68565b005b610540610575366004614067565b60ff9081166000908152600160205260409020541690565b61056561059b366004614084565b610bac565b6105a8610bc9565b6040516104c992919061410d565b6105656105c4366004614084565b610d4b565b610565610d60565b6105656105df3660046141b4565b610f82565b6105656105f236600461430a565b61102a565b61056561060536600461437e565b61106b565b61050a7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b61056561063f3660046143df565b611091565b6105656106523660046144a9565b6110a7565b61050a6106653660046144ee565b611142565b61056561067836600461450b565b6111d3565b610685600081565b60405163ffffffff90911681526020016104c9565b6104bd6106a8366004613dd8565b6111fe565b6104bd6106bb366004613df5565b611394565b60095461050a565b6106d66001600160401b0381565b6040516001600160401b0390911681526020016104c9565b6105656106fc366004614623565b61141f565b6106d661070f366004613df5565b611445565b61050a610722366004614686565b61148a565b61073a610735366004613df5565b6114e7565b6040516104c991906146a3565b610565610755366004614759565b61158c565b6005546001600160a01b03166104df565b6106d661271081565b610565610782366004614787565b6115b4565b600554600160a01b90046001600160601b03166040516001600160601b0390911681526020016104c9565b6105656107c036600461489e565b6115da565b6104df611602565b6104df61169a565b6105656107e33660046148df565b6116fa565b6106d6600081565b6105656107fe366004614950565b611722565b6105656108113660046144ee565b611748565b6105656108243660046149a8565b6117c3565b61050a610837366004613dd8565b61184d565b61084f61084a366004613dd8565b611890565b6040516104c991906149c6565b61056561086a3660046149df565b611935565b6104df61194a565b61088a610885366004613df5565b611a27565b6040516104c99190614a47565b61089f611b68565b6040516001600160e01b031990911681526020016104c9565b6105656108c6366004614a7b565b611b8c565b6105656108d9366004614ac2565b611bee565b6105656108ec366004614c60565b611e16565b6105656108ff366004614ca7565b611e3c565b61050a610912366004614686565b611e62565b6109bb610925366004613df5565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260036020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b6040516104c99190614cfe565b6105656109d6366004614d0c565b611e8f565b6105656109e9366004614d53565b611f2a565b6104bd6109fc366004614d93565b61201b565b6104bd610a0f366004614d93565b61220f565b610565610a22366004614dc1565b61239a565b610565610a35366004614e06565b6123c0565b610565610a48366004614e47565b6123e8565b6104bd610a5b366004614067565b612410565b60005461010090046001600160a01b03166104df565b6104df61245d565b610565610a8c3660046143df565b6124bb565b610565610a9f366004614084565b6124d2565b6104df610ab2366004614e87565b6124e9565b610565610ac5366004614084565b612512565b6104bd610ad8366004614d53565b60ff9283166000908152600260209081526040808320948616835293815283822092851682529190915220541690565b61050a610b16366004614ec3565b612529565b610565610b293660046144ee565b6125ad565b610565610b3c366004614084565b612629565b6001600160401b0381166000908152600860205260408120610b629061263e565b92915050565b610b75335b600036612648565b610ba8610b8383607861275b565b82604051602001610b949190614ef1565b6040516020818303038152906040526127a7565b5050565b610bb533610b6d565b610ba8610bc383608c61275b565b826127b1565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610c4c6005546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610c9461194a565b6001600160a01b03168152602001826001018054610cb190614f51565b80601f0160208091040260200160405190810160405280929190818152602001828054610cdd90614f51565b8015610d2a5780601f10610cff57610100808354040283529160200191610d2a565b820191906000526020600020905b815481529060010190602001808311610d0d57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b610d5433610b6d565b610ba8610bc38361148a565b6005546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610dc2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610de69190614f8b565b15610e2d576005546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6005546001600160a01b0316610e565760405163cf29926160e01b815260040160405180910390fd5b60055460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610e9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ec39190614f8b565b610eeb576040516372657a5160e01b81526001600160a01b0382166004820152602401610e24565b600554604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610f35573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f599190614fa8565b600560146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b610f8b33610b6d565b610f976106bb83611142565b610fbf576040516325b6f39560e21b81526001600160a01b0383166004820152602401610e24565b600b5460405163167bd39560e01b81526001600160a01b03848116600483015283151560248301529091169063167bd39590604401600060405180830381600087803b15801561100e57600080fd5b505af1158015611022573d6000803e3d6000fd5b505050505050565b61103333610b6d565b61106561103f8561148a565b836040516020016110509190614fc5565b604051602081830303815290604052836127bb565b50505050565b61107433610b6d565b610ba861108083611142565b82604051602001610b9491906149c6565b61109a33610b6d565b610ba882826001806127c6565b6110b033610b6d565b6040516355ee627560e01b81526001600160c01b031983166004820152610ba89073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af415801561110d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111319190615018565b82604051602001610b949190615031565b604051637a400b6760e11b8152601e6004820152606082901b6bffffffffffffffffffffffff1916602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af41580156111af573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b629190615018565b6111dc33610b6d565b6111f96111e88461148a565b82604051602001610b949190614fc5565b505050565b6000338161120b8461184d565b905061121681611394565b61123d57604051627a416f60e01b81526001600160401b0385166004820152602401610e24565b6001600160401b038416600090815260086020526040902061125f908361286f565b1561138a57600b54604051631517388760e21b81526001600160401b03861660048201526001600160a01b039091169063fe0776f59073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156112d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112f5919061505f565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b0385166024820152604401600060405180830381600087803b15801561134557600080fd5b505af1158015611359573d6000803e3d6000fd5b5050506001600160401b038516600090815260086020526040902061137f915083612891565b506001949350505050565b5060009392505050565b60008181526003602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af41580156113fb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b629190614f8b565b61142833610b6d565b6111f961143484611e62565b83604051602001611050919061507c565b60006009828154811061145a5761145a615130565b90600052602060002090600491828204019190066008029054906101000a90046001600160401b03169050919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d25b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401611192565b600081815260036020526040902060010180546060919061150790614f51565b80601f016020809104026020016040519081016040528092919081815260200182805461153390614f51565b80156115805780601f1061155557610100808354040283529160200191611580565b820191906000526020600020905b81548152906001019060200180831161156357829003601f168201915b50505050509050919050565b61159533610b6d565b610ba86115a383608c61275b565b82604051602001610b949190615146565b6115bd33610b6d565b610ba86115c983611e62565b82604051602001610b94919061507c565b6115e333610b6d565b6111f96115f184606e61275b565b8360405160200161105091906151e9565b6005546040805163a3bcd81d60e01b81526004810191909152600b60448201526a506f6f6c5365727669636560a81b6064820152600360248201526000916001600160a01b03169063a3bcd81d906084015b602060405180830381865afa158015611671573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061169591906152eb565b905090565b6005546040805163a3bcd81d60e01b815260048101919091526015604482015274436f6d706f6e656e744f776e65725365727669636560581b6064820152600360248201526000916001600160a01b03169063a3bcd81d90608401611654565b61170333610b6d565b610ba861171183606e61275b565b82604051602001610b9491906151e9565b61172b33610b6d565b6110656117378561148a565b836040516020016110509190615308565b600054339061010090046001600160a01b031681146117845760405162d1953b60e31b81526001600160a01b0382166004820152602401610e24565b816001600160a01b03163b6000036117ba576040516361798f2f60e11b81526001600160a01b0383166004820152602401610e24565b610ba8826128a6565b6117cc33610b6d565b6040516355ee627560e01b81526001600160c01b031983166004820152610ba89073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611829573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc39190615018565b604051630f37f38f60e41b81526001600160401b038216600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063f37f38f090602401611192565b604080518082018252600080825260208201529051630f37f38f60e41b81526001600160401b03831660048201526119229073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063f37f38f090602401602060405180830381865af41580156118fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107359190615018565b806020019051810190610b629190615338565b61193e33610b6d565b610ba8610bc38361184d565b6005546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156119af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119d39190614f8b565b15611a1757600554604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401611654565b506006546001600160a01b031690565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260036020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c08201529283526001810180549192840191611adf90614f51565b80601f0160208091040260200160405190810160405280929190818152602001828054611b0b90614f51565b8015611b585780601f10611b2d57610100808354040283529160200191611b58565b820191906000526020600020905b815481529060010190602001808311611b3b57829003601f168201915b5050505050815250509050919050565b60008054600160a81b900460ff16611b805750600090565b50638fb3603760e01b90565b611b9533610b6d565b6000611ba384846000612902565b5090506000611bb3858584612b6d565b9050611be7611bc18661184d565b82604051602001611bd291906149c6565b604051602081830303815290604052856127bb565b5050505050565b600654600160a01b900460ff1615611c5f5760405162461bcd60e51b815260206004820152602e60248201527f436f6e747261637420696e7374616e63652068617320616c726561647920626560448201526d195b881a5b9a5d1a585b1a5e995960921b6064820152608401610e24565b611c6884612ba9565b600b80546001600160a01b0319166001600160a01b0386161790556040516368aebf7b60e01b815260006004820152611d259073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015611cd7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cfb919061505f565b6040518060400160405280600981526020016841646d696e526f6c6560b81b8152506000806127c6565b6040516368aebf7b60e01b81526001600160401b036004820152611dce9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015611d7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611da3919061505f565b6040518060400160405280600a8152602001695075626c6963526f6c6560b01b8152506000806127c6565b611ded8383604660008560405180602001604052806000815250612c20565b611dfd639f07a2f160e01b612cf5565b50506006805460ff60a01b1916600160a01b1790555050565b611e1f33610b6d565b6111f9611e2b8461148a565b836040516020016110509190615370565b611e4533610b6d565b6111f9611e518461148a565b82604051602001610b949190615308565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc6114b3565b611e9833610b6d565b6040516355ee627560e01b81526001600160c01b0319841660048201526111f99073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611ef5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f199190615018565b836040516020016110509190615031565b60ff8381166000908152600160205260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015611f8f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fb39190614f8b565b15611fbd57505050565b60ff8084166000908152600260209081526040808320868516845282528083208585168452909152902054166111f957604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610e24565b600061202633610b6d565b60006120318461184d565b905061203c81611394565b61206457604051636777365b60e01b81526001600160401b0385166004820152602401610e24565b60008181526003602052604090205461209390610100900460ff16612087606490565b60ff9081169116141590565b156120bc5760405163fe229d5d60e01b81526001600160401b0385166004820152602401610e24565b6001600160401b03841660009081526008602052604090206120de908461286f565b61138a57600b54604051631517388760e21b81526001600160401b03861660048201526001600160a01b03909116906325c471a09073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af415801561214f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612173919061505f565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038616602482015260006044820152606401600060405180830381600087803b1580156121ca57600080fd5b505af11580156121de573d6000803e3d6000fd5b5050506001600160401b0385166000908152600860205260409020612204915084612d1a565b506001915050610b62565b600061221a33610b6d565b60006122258461184d565b905061223081611394565b61225857604051634cee277360e11b81526001600160401b0385166004820152602401610e24565b6001600160401b038416600090815260086020526040902061227a908461286f565b1561138a57600b54604051631517388760e21b81526001600160401b03861660048201526001600160a01b039091169063b7d2b1629073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156122ec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612310919061505f565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b0386166024820152604401600060405180830381600087803b15801561236057600080fd5b505af1158015612374573d6000803e3d6000fd5b5050506001600160401b0385166000908152600860205260409020612204915084612891565b6123a333610b6d565b610ba86123af8361148a565b82604051602001610b949190615370565b6123c933610b6d565b6111f96123d784608c61275b565b836040516020016110509190615146565b6123f133610b6d565b6111f96123ff84607861275b565b836040516020016110509190614ef1565b60ff81811660009081526001602052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024016113de565b6005546040805163a3bcd81d60e01b815260048101919091526013604482015272446973747269627574696f6e5365727669636560681b6064820152600360248201526000916001600160a01b03169063a3bcd81d90608401611654565b6124c433610b6d565b610ba88282600060016127c6565b6124db33610b6d565b610ba8610bc383607861275b565b6001600160401b038216600090815260086020526040812061250b9083612d2f565b9392505050565b61251b33610b6d565b610ba8610bc383606e61275b565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af4158015612589573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061250b9190615018565b6125b633610b6d565b600c546001600160a01b0316156126075760405162461bcd60e51b8152602060048201526015602482015274125b9cdd185b98d954995859195c881a5cc81cd95d605a1b6044820152606401610e24565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b61263233610b6d565b610ba8610bc383611e62565b6000610b62825490565b6000806126846126666000546001600160a01b036101009091041690565b863061267660046000898b6154b1565b61267f916154db565b612d3b565b9150915081611be75763ffffffff811615612738576000805460ff60a81b1916600160a81b1790556126c46000546001600160a01b036101009091041690565b6001600160a01b03166394c7d7ee8686866040518463ffffffff1660e01b81526004016126f39392919061550b565b600060405180830381600087803b15801561270d57600080fd5b505af1158015612721573d6000803e3d6000fd5b50506000805460ff60a81b1916905550611be79050565b60405162d1953b60e31b81526001600160a01b0386166004820152602401610e24565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c89060440161256c565b610ba88282612e47565b610ba88282613269565b6111f983838361359d565b80156127da576127d7848484612902565b50505b60006127e7858585612b6d565b80516000908152600760205260408120805467ffffffffffffffff19166001600160401b038981169182179092556009805460018101825593527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af6004840401805460039094166008026101000a9283021990931691021790559050611be76110808661184d565b6001600160a01b0381166000908152600183016020526040812054151561250b565b600061250b836001600160a01b038416613a38565b60008054610100600160a81b0319166101006001600160a01b038416908102919091179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b60008060006129108661184d565b905061291b81611394565b9250821561294a5761292c816114e7565b80602001905181019061293f9190615338565b60200151915061294e565b8391505b856001600160401b038116158061296d57506001600160401b03818116145b156129965760405163981bf42160e01b81526001600160401b0388166004820152602401610e24565b8280156129ad57506127106001600160401b038216105b156129d657604051633119b9df60e21b81526001600160401b0388166004820152602401610e24565b8280156129ee57506127106001600160401b03821610155b15612a175760405163094fb39160e01b81526001600160401b0388166004820152602401610e24565b6000612a2287613b32565b9050612a2d81613b70565b600003612a58576040516321ab17ab60e01b81526001600160401b0389166004820152602401610e24565b60008181526007602090815260409182902054825163bc1b392d60e01b81529251612afb936001600160401b039092169273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9263bc1b392d92600480830193928290030181865af4158015612ac5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ae9919061505f565b6001600160401b039081169116141590565b8015612b2157506000818152600760205260409020546001600160401b03898116911614155b15612b625760008181526007602052604090819020549051631660fb9360e21b81526001600160401b03909116600482015260248101829052604401610e24565b505050935093915050565b60408051808201909152600080825260208201526040518060400160405280612b9585613b32565b815260200183151581525090509392505050565b60005460ff1615612c075760405162461bcd60e51b815260206004820152602260248201527f4163636573734d616e616765643a20616c726561647920696e697469616c697a604482015261195960f21b6064820152608401610e24565b612c10816128a6565b506000805460ff19166001179055565b612c616301ffc9a760e01b60005260046020527f9fe05126d2d9ecf60592e254dead906a4b2e492f36cca727682c38e9008c6ac1805460ff19166001179055565b612c6b8287613b98565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101612cdb8382615591565b50612cec6303fb044760e21b612cf5565b50505050505050565b6001600160e01b0319166000908152600460205260409020805460ff19166001179055565b600061250b836001600160a01b038416613bbc565b600061250b8383613c0b565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251612daa9190615650565b600060405180830381855afa9150503d8060008114612de5576040519150601f19603f3d011682016040523d82523d6000602084013e612dea565b606091505b50915091508115612e3c576040815110612e1c5780806020019051810190612e12919061566c565b9094509250612e3c565b6020815110612e3c5780806020019051810190612e399190614f8b565b93505b505094509492505050565b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612e9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ebe919061569b565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af4158015612f13573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f379190614f8b565b612f835760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401610e24565b600083815260036020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015612fec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130109190614f8b565b61305c5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401610e24565b3343600061306985612410565b61307457606461308a565b60ff808616600090815260016020526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b9190910217855560008881526003602052604090209091506001016131148782615591565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613187573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131ab919061569b565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156131fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061321f91906156b8565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a0015b60405180910390a150505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156132bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132df9190614f8b565b61332b5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3034303a53544154455f554e444546494e45440000006044820152606401610e24565b600082815260036020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015613397573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133bb9190614f8b565b6134075760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3034313a4e4f545f4558495354494e470000000000006044820152606401610e24565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b9091041661344b4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156134dd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613501919061569b565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015613551573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061357591906156b8565b878686328760405161358d97969594939291906156d5565b60405180910390a1505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156135ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136139190614f8b565b61365f5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3032303a53544154455f554e444546494e45440000006044820152606401610e24565b600083815260036020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156136cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136ef9190614f8b565b61373b5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3032313a4e4f545f4558495354494e470000000000006044820152606401610e24565b60008581526003602052604090206001016137568582615591565b508154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b9091041661379b4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af415801561382d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613851919061569b565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156138a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138c591906156b8565b87868632876040516138dd97969594939291906156d5565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613957573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061397b919061569b565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156139cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139ef91906156b8565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c001613258565b60008181526001830160205260408120548015613b21576000613a5c600183615725565b8554909150600090613a7090600190615725565b9050808214613ad5576000866000018281548110613a9057613a90615130565b9060005260206000200154905080876000018481548110613ab357613ab3615130565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080613ae657613ae6615746565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610b62565b6000915050610b62565b5092915050565b600080829050601f81511115613b5d578260405163305a27a960e01b8152600401610e2491906146a3565b8051613b688261575c565b179392505050565b600060ff8216601f811115610b6257604051632cd44ac360e21b815260040160405180910390fd5b600680546001600160a01b0319166001600160a01b038416179055610ba881613c35565b6000818152600183016020526040812054613c0357508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610b62565b506000610b62565b6000826000018281548110613c2257613c22615130565b9060005260206000200154905092915050565b6005546001600160a01b031615613c6e5760055460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610e24565b6001600160a01b038116613c955760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003613ccb5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610e24565b600580546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263e14a543960e01b60048201526301ffc9a790602401602060405180830381865afa925050508015613d45575060408051601f3d908101601f19168201909252613d4291810190614f8b565b60015b613d6d5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610e24565b80610ba85760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610e24565b50565b600060208284031215613dab57600080fd5b81356001600160e01b03198116811461250b57600080fd5b6001600160401b0381168114613d9657600080fd5b600060208284031215613dea57600080fd5b813561250b81613dc3565b600060208284031215613e0757600080fd5b5035919050565b6001600160601b0381168114613d9657600080fd5b8035613e2e81613e0e565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715613e6b57613e6b613e33565b60405290565b604051608081016001600160401b0381118282101715613e6b57613e6b613e33565b60405161012081016001600160401b0381118282101715613e6b57613e6b613e33565b60405161010081016001600160401b0381118282101715613e6b57613e6b613e33565b60405161014081016001600160401b0381118282101715613e6b57613e6b613e33565b60405161020081016001600160401b0381118282101715613e6b57613e6b613e33565b6001600160a01b0381168114613d9657600080fd5b8035613e2e81613f1f565b600060408284031215613f5157600080fd5b613f59613e49565b9050813581526020820135602082015292915050565b8015158114613d9657600080fd5b8035613e2e81613f6f565b600060c08284031215613f9a57600080fd5b60405160a081018181106001600160401b0382111715613fbc57613fbc613e33565b6040529050808235613fcd81613e0e565b81526020830135613fdd81613f1f565b6020820152613fef8460408501613f3f565b6040820152608083013561400281613f6f565b606082015260a083013561401581613f1f565b6080919091015292915050565b60008060e0838503121561403557600080fd5b823561404081613e0e565b915061404f8460208501613f88565b90509250929050565b60ff81168114613d9657600080fd5b60006020828403121561407957600080fd5b813561250b81614058565b6000806040838503121561409757600080fd5b82356140a281613e0e565b915060208301356140b281614058565b809150509250929050565b60005b838110156140d85781810151838201526020016140c0565b50506000910152565b600081518084526140f98160208601602086016140bd565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161415160a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e06101008401526141976101208401826140e1565b905082810360208401526141ab81856140e1565b95945050505050565b600080604083850312156141c757600080fd5b82356141d281613f1f565b915060208301356140b281613f6f565b63ffffffff81168114613d9657600080fd5b600082601f83011261420557600080fd5b81356001600160401b038082111561421f5761421f613e33565b604051601f8301601f19908116603f0116810190828211818310171561424757614247613e33565b8160405283815286602085880101111561426057600080fd5b836020870160208301376000602085830101528094505050505092915050565b803564ffffffffff81168114613e2e57600080fd5b6000608082840312156142a757600080fd5b6142af613e71565b905081356142bc816141e2565b81526020828101359082015260408201356001600160401b038111156142e157600080fd5b6142ed848285016141f4565b6040830152506142ff60608301614280565b606082015292915050565b6000806000806080858703121561432057600080fd5b843561432b81613e0e565b9350602085013561433b816141e2565b925060408501356001600160401b0381111561435657600080fd5b61436287828801614295565b925050606085013561437381614058565b939692955090935050565b600080828403606081121561439257600080fd5b833561439d81613f1f565b92506040601f19820112156143b157600080fd5b506143ba613e49565b6020840135815260408401356143cf81613f6f565b6020820152919491935090915050565b600080604083850312156143f257600080fd5b82356143fd81613dc3565b915060208301356001600160401b0381111561441857600080fd5b614424858286016141f4565b9150509250929050565b6001600160c01b031981168114613d9657600080fd5b8035613e2e8161442e565b60006040828403121561446157600080fd5b614469613e49565b9050813561447681613e0e565b815260208201356001600160401b0381111561449157600080fd5b61449d848285016141f4565b60208301525092915050565b600080604083850312156144bc57600080fd5b82356144c78161442e565b915060208301356001600160401b038111156144e257600080fd5b6144248582860161444f565b60006020828403121561450057600080fd5b813561250b81613f1f565b60008060006060848603121561452057600080fd5b833561452b81613e0e565b9250602084013561453b816141e2565b915060408401356001600160401b0381111561455657600080fd5b61456286828701614295565b9150509250925092565b6000610140828403121561457f57600080fd5b614587613e93565b905061459282613e23565b81526145a18360208401613f3f565b602082015260608201356001600160401b038111156145bf57600080fd5b6145cb848285016141f4565b6040830152506080820135606082015260a0820135608082015260c082013560a082015260e082013560c0820152610100614607818401614280565b60e08301526146196101208401614280565b9082015292915050565b60008060006060848603121561463857600080fd5b833561464381613e0e565b925060208401356001600160401b0381111561465e57600080fd5b61466a8682870161456c565b925050604084013561467b81614058565b809150509250925092565b60006020828403121561469857600080fd5b813561250b81613e0e565b60208152600061250b60208301846140e1565b600061016082840312156146c957600080fd5b6146d1613eb6565b90506146dc82613e23565b81526146ea60208301613f34565b6020820152604082013560408201526147068360608401613f3f565b60608201526147188360a08401613f3f565b608082015261472a8360e08401613f3f565b60a082015261473c6101208301613f7d565b60c082015261474e6101408301613f34565b60e082015292915050565b600080610180838503121561476d57600080fd5b823561477881613e0e565b915061404f84602085016146b6565b6000806040838503121561479a57600080fd5b82356147a581613e0e565b915060208301356001600160401b038111156147c057600080fd5b6144248582860161456c565b600061020082840312156147df57600080fd5b6147e7613ed9565b90506147f282613f34565b815261480060208301613f34565b602082015261481160408301613e23565b604082015261482260608301613e23565b60608201526148348360808401613f3f565b60808201526148468360c08401613f3f565b60a082015261010061485a84828501613f3f565b60c083015261486d846101408501613f3f565b60e0830152614880846101808501613f3f565b90820152614892836101c08401613f3f565b61012082015292915050565b600080600061024084860312156148b457600080fd5b83356148bf81613e0e565b92506148ce85602086016147cc565b915061022084013561467b81614058565b60008061022083850312156148f357600080fd5b82356148fe81613e0e565b915061404f84602085016147cc565b60006080828403121561491f57600080fd5b614927613e71565b9050813581526020820135602082015260408201356001600160401b038111156142e157600080fd5b6000806000806080858703121561496657600080fd5b843561497181613e0e565b93506020850135614981816141e2565b925060408501356001600160401b0381111561499c57600080fd5b6143628782880161490d565b600080604083850312156149bb57600080fd5b82356140a28161442e565b8151815260208083015115159082015260408101610b62565b600080604083850312156149f257600080fd5b82356140a281613dc3565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b60208152614a596020820183516149fd565b6000602083015160c080840152614a7360e08401826140e1565b949350505050565b600080600060608486031215614a9057600080fd5b8335614a9b81613dc3565b925060208401356001600160401b03811115614ab657600080fd5b61466a868287016141f4565b60008060008060808587031215614ad857600080fd5b8435614ae381613f1f565b93506020850135614af381613f1f565b92506040850135614b0381613e0e565b9150606085013561437381613f1f565b803561ffff81168114613e2e57600080fd5b60006102008284031215614b3857600080fd5b614b40613efc565b9050614b4b82613e23565b8152614b5960208301613e23565b6020820152614b6a60408301614444565b6040820152614b7b60608301614444565b60608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e0820152610100808301356001600160401b0380821115614bc457600080fd5b614bd0868387016141f4565b83850152610120925082850135915080821115614bec57600080fd5b50614bf9858286016141f4565b828401525050610140614c0d818401614b13565b90820152610160614c1f838201614b13565b9082015261018082810135908201526101a0614c3c818401614280565b908201526101c0614c4e838201614280565b908201526101e0614619838201614280565b600080600060608486031215614c7557600080fd5b8335614c8081613e0e565b925060208401356001600160401b03811115614c9b57600080fd5b61466a86828701614b25565b600080600060608486031215614cbc57600080fd5b8335614cc781613e0e565b92506020840135614cd7816141e2565b915060408401356001600160401b03811115614cf257600080fd5b6145628682870161490d565b60a08101610b6282846149fd565b600080600060608486031215614d2157600080fd5b8335614d2c8161442e565b925060208401356001600160401b03811115614d4757600080fd5b61466a8682870161444f565b600080600060608486031215614d6857600080fd5b8335614d7381614058565b92506020840135614d8381614058565b9150604084013561467b81614058565b60008060408385031215614da657600080fd5b8235614db181613dc3565b915060208301356140b281613f1f565b60008060408385031215614dd457600080fd5b8235614ddf81613e0e565b915060208301356001600160401b03811115614dfa57600080fd5b61442485828601614b25565b60008060006101a08486031215614e1c57600080fd5b8335614e2781613e0e565b9250614e3685602086016146b6565b915061018084013561467b81614058565b60008060006101008486031215614e5d57600080fd5b8335614e6881613e0e565b9250614e778560208601613f88565b915060e084013561467b81614058565b60008060408385031215614e9a57600080fd5b8235614ea581613dc3565b946020939093013593505050565b60ff1981168114613d9657600080fd5b60008060408385031215614ed657600080fd5b8235614ee181614058565b915060208301356140b281614eb3565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015260c0830191906060850151151560808501528060808601511660a0850152505092915050565b600181811c90821680614f6557607f821691505b602082108103614f8557634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215614f9d57600080fd5b815161250b81613f6f565b600060208284031215614fba57600080fd5b815161250b81613e0e565b6020815263ffffffff8251166020820152602082015160408201526000604083015160806060840152614ffb60a08401826140e1565b905064ffffffffff60608501511660808401528091505092915050565b60006020828403121561502a57600080fd5b5051919050565b602081526001600160601b03825116602082015260006020830151604080840152614a7360608401826140e1565b60006020828403121561507157600080fd5b815161250b81613dc3565b602081526150966020820183516001600160601b03169052565b600060208301516150b4604084018280518252602090810151910152565b5060408301516101408060808501526150d16101608501836140e1565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100818187015260e0870151915061511961012087018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b634e487b7160e01b600052603260045260246000fd5b81516001600160601b031681526020808301516001600160a01b031690820152604080830151908201526060808301516101608301916151929084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151151561012083015260e08301516001600160a01b038116610140840152613b2b565b81516001600160a01b031681526102008101602083015161521560208401826001600160a01b03169052565b50604083015161523060408401826001600160601b03169052565b50606083015161524b60608401826001600160601b03169052565b506080830151615268608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c083015161010061529e8185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e08501529050613b2b565b6000602082840312156152fd57600080fd5b815161250b81613f1f565b6020815281516020820152602082015160408201526000604083015160806060840152614ffb60a08401826140e1565b60006040828403121561534a57600080fd5b615352613e49565b82518152602083015161536481613f6f565b60208201529392505050565b6020815261538a6020820183516001600160601b03169052565b600060208301516153a660408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e0830151610100818185015280850151915050610200610120818186015261541e6102208601846140e1565b9250808601519050610140601f19868503018187015261543e84836140e1565b9350808701519150506101606154598187018361ffff169052565b86015190506101806154708682018361ffff169052565b8601516101a08681019190915286015190506101c06154978187018364ffffffffff169052565b86015190506101e06151198682018364ffffffffff169052565b600080858511156154c157600080fd5b838611156154ce57600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156155035780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b601f8211156111f957600081815260208120601f850160051c810160208610156155725750805b601f850160051c820191505b818110156110225782815560010161557e565b81516001600160401b038111156155aa576155aa613e33565b6155be816155b88454614f51565b8461554b565b602080601f8311600181146155f357600084156155db5750858301515b600019600386901b1c1916600185901b178555611022565b600085815260208120601f198616915b8281101561562257888601518255948401946001909101908401615603565b50858210156156405787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082516156628184602087016140bd565b9190910192915050565b6000806040838503121561567f57600080fd5b825161568a81613f6f565b60208401519092506140b2816141e2565b6000602082840312156156ad57600080fd5b815161250b81614058565b6000602082840312156156ca57600080fd5b815161250b81614eb3565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e00190565b81810381811115610b6257634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b80516020808301519190811015614f855760001960209190910360031b1b1691905056fea26469706673582212206f7ab977be24d52112e5f7a3b6fc5462d3ccd5145634752661dcf21f319c0a1a64736f6c63430008140033",
2021
3155
  "linkReferences": {
2022
- "contracts/types/Blocknumber.sol": {
2023
- "BlocknumberLib": [
3156
+ "contracts/types/Key32.sol": {
3157
+ "Key32Lib": [
2024
3158
  {
2025
3159
  "length": 20,
2026
- "start": 3103
3160
+ "start": 4632
2027
3161
  },
2028
3162
  {
2029
3163
  "length": 20,
2030
- "start": 8381
2031
- }
2032
- ]
2033
- },
2034
- "contracts/types/Fee.sol": {
2035
- "FeeLib": [
2036
- {
2037
- "length": 20,
2038
- "start": 13822
3164
+ "start": 5400
2039
3165
  },
2040
3166
  {
2041
3167
  "length": 20,
2042
- "start": 17829
2043
- }
2044
- ]
2045
- },
2046
- "contracts/types/Key32.sol": {
2047
- "Key32Lib": [
3168
+ "start": 5519
3169
+ },
2048
3170
  {
2049
3171
  "length": 20,
2050
- "start": 34255
3172
+ "start": 11506
2051
3173
  },
2052
3174
  {
2053
3175
  "length": 20,
2054
- "start": 35477
2055
- }
2056
- ]
2057
- },
2058
- "contracts/types/NftId.sol": {
2059
- "NftIdLib": [
3176
+ "start": 16588
3177
+ },
2060
3178
  {
2061
3179
  "length": 20,
2062
- "start": 15352
3180
+ "start": 18910
2063
3181
  },
2064
3182
  {
2065
3183
  "length": 20,
2066
- "start": 15557
3184
+ "start": 19659
2067
3185
  },
2068
3186
  {
2069
3187
  "length": 20,
2070
- "start": 15917
3188
+ "start": 19775
2071
3189
  },
2072
3190
  {
2073
3191
  "length": 20,
2074
- "start": 16151
3192
+ "start": 20513
2075
3193
  },
2076
3194
  {
2077
3195
  "length": 20,
2078
- "start": 18781
3196
+ "start": 20629
2079
3197
  },
2080
3198
  {
2081
3199
  "length": 20,
2082
- "start": 19027
3200
+ "start": 21361
2083
3201
  },
2084
3202
  {
2085
3203
  "length": 20,
2086
- "start": 19219
3204
+ "start": 21477
2087
3205
  },
2088
3206
  {
2089
3207
  "length": 20,
2090
- "start": 19480
3208
+ "start": 21659
2091
3209
  },
2092
3210
  {
2093
3211
  "length": 20,
2094
- "start": 19736
3212
+ "start": 21775
2095
3213
  }
2096
3214
  ]
2097
3215
  },
2098
- "contracts/types/NftIdSet.sol": {
2099
- "LibNftIdSet": [
2100
- {
2101
- "length": 20,
2102
- "start": 10017
2103
- },
3216
+ "contracts/types/NftId.sol": {
3217
+ "NftIdLib": [
2104
3218
  {
2105
3219
  "length": 20,
2106
- "start": 10974
3220
+ "start": 10502
2107
3221
  },
2108
3222
  {
2109
3223
  "length": 20,
2110
- "start": 11165
3224
+ "start": 12300
2111
3225
  },
2112
3226
  {
2113
3227
  "length": 20,
2114
- "start": 11388
3228
+ "start": 13555
2115
3229
  },
2116
3230
  {
2117
3231
  "length": 20,
2118
- "start": 14514
3232
+ "start": 14820
2119
3233
  },
2120
3234
  {
2121
3235
  "length": 20,
2122
- "start": 14909
3236
+ "start": 17155
2123
3237
  }
2124
3238
  ]
2125
3239
  },
@@ -2127,7 +3241,11 @@
2127
3241
  "ObjectTypeLib": [
2128
3242
  {
2129
3243
  "length": 20,
2130
- "start": 32173
3244
+ "start": 4756
3245
+ },
3246
+ {
3247
+ "length": 20,
3248
+ "start": 19031
2131
3249
  }
2132
3250
  ]
2133
3251
  },
@@ -2135,7 +3253,15 @@
2135
3253
  "RiskIdLib": [
2136
3254
  {
2137
3255
  "length": 20,
2138
- "start": 12232
3256
+ "start": 11345
3257
+ },
3258
+ {
3259
+ "length": 20,
3260
+ "start": 13165
3261
+ },
3262
+ {
3263
+ "length": 20,
3264
+ "start": 14905
2139
3265
  }
2140
3266
  ]
2141
3267
  },
@@ -2143,193 +3269,181 @@
2143
3269
  "RoleIdLib": [
2144
3270
  {
2145
3271
  "length": 20,
2146
- "start": 2431
3272
+ "start": 2090
2147
3273
  },
2148
3274
  {
2149
3275
  "length": 20,
2150
- "start": 2691
3276
+ "start": 2261
2151
3277
  },
2152
3278
  {
2153
3279
  "length": 20,
2154
- "start": 2780
3280
+ "start": 3702
2155
3281
  },
2156
3282
  {
2157
3283
  "length": 20,
2158
- "start": 2872
3284
+ "start": 4027
2159
3285
  },
2160
3286
  {
2161
3287
  "length": 20,
2162
- "start": 11874
3288
+ "start": 11797
2163
3289
  },
2164
3290
  {
2165
3291
  "length": 20,
2166
- "start": 12393
2167
- }
2168
- ]
2169
- },
2170
- "contracts/types/StateId.sol": {
2171
- "StateIdLib": [
3292
+ "start": 13292
3293
+ },
2172
3294
  {
2173
3295
  "length": 20,
2174
- "start": 31832
3296
+ "start": 13378
2175
3297
  },
2176
3298
  {
2177
3299
  "length": 20,
2178
- "start": 32390
3300
+ "start": 14363
2179
3301
  },
2180
3302
  {
2181
3303
  "length": 20,
2182
- "start": 32915
3304
+ "start": 14531
2183
3305
  },
2184
3306
  {
2185
3307
  "length": 20,
2186
- "start": 33648
3308
+ "start": 15507
2187
3309
  },
2188
3310
  {
2189
3311
  "length": 20,
2190
- "start": 33868
3312
+ "start": 15920
2191
3313
  },
2192
3314
  {
2193
3315
  "length": 20,
2194
- "start": 34425
3316
+ "start": 17929
3317
+ }
3318
+ ]
3319
+ },
3320
+ "contracts/types/StateId.sol": {
3321
+ "StateIdLib": [
3322
+ {
3323
+ "length": 20,
3324
+ "start": 4228
2195
3325
  },
2196
3326
  {
2197
3327
  "length": 20,
2198
- "start": 34694
3328
+ "start": 4978
2199
3329
  },
2200
3330
  {
2201
3331
  "length": 20,
2202
- "start": 34914
3332
+ "start": 6095
2203
3333
  },
2204
3334
  {
2205
3335
  "length": 20,
2206
- "start": 35406
2207
- }
2208
- ]
2209
- },
2210
- "contracts/types/Timestamp.sol": {
2211
- "TimestampLib": [
3336
+ "start": 12094
3337
+ },
2212
3338
  {
2213
3339
  "length": 20,
2214
- "start": 10576
2215
- }
2216
- ]
2217
- },
2218
- "contracts/types/UFixed.sol": {
2219
- "UFixedMathLib": [
3340
+ "start": 15059
3341
+ },
2220
3342
  {
2221
3343
  "length": 20,
2222
- "start": 8518
3344
+ "start": 16313
2223
3345
  },
2224
3346
  {
2225
3347
  "length": 20,
2226
- "start": 11670
2227
- }
2228
- ]
2229
- },
2230
- "contracts/types/Version.sol": {
2231
- "VersionLib": [
3348
+ "start": 19248
3349
+ },
3350
+ {
3351
+ "length": 20,
3352
+ "start": 19967
3353
+ },
2232
3354
  {
2233
3355
  "length": 20,
2234
- "start": 1901
3356
+ "start": 20187
2235
3357
  },
2236
3358
  {
2237
3359
  "length": 20,
2238
- "start": 2946
3360
+ "start": 20787
2239
3361
  },
2240
3362
  {
2241
3363
  "length": 20,
2242
- "start": 8661
3364
+ "start": 21007
2243
3365
  }
2244
3366
  ]
2245
3367
  }
2246
3368
  },
2247
3369
  "deployedLinkReferences": {
2248
- "contracts/types/Blocknumber.sol": {
2249
- "BlocknumberLib": [
2250
- {
2251
- "length": 20,
2252
- "start": 3687
2253
- }
2254
- ]
2255
- },
2256
- "contracts/types/Fee.sol": {
2257
- "FeeLib": [
3370
+ "contracts/types/Key32.sol": {
3371
+ "Key32Lib": [
2258
3372
  {
2259
3373
  "length": 20,
2260
- "start": 9128
3374
+ "start": 4468
2261
3375
  },
2262
3376
  {
2263
3377
  "length": 20,
2264
- "start": 13135
2265
- }
2266
- ]
2267
- },
2268
- "contracts/types/NftId.sol": {
2269
- "NftIdLib": [
3378
+ "start": 9550
3379
+ },
2270
3380
  {
2271
3381
  "length": 20,
2272
- "start": 10658
3382
+ "start": 11872
2273
3383
  },
2274
3384
  {
2275
3385
  "length": 20,
2276
- "start": 10863
3386
+ "start": 12621
2277
3387
  },
2278
3388
  {
2279
3389
  "length": 20,
2280
- "start": 11223
3390
+ "start": 12737
2281
3391
  },
2282
3392
  {
2283
3393
  "length": 20,
2284
- "start": 11457
3394
+ "start": 13475
2285
3395
  },
2286
3396
  {
2287
3397
  "length": 20,
2288
- "start": 14087
3398
+ "start": 13591
2289
3399
  },
2290
3400
  {
2291
3401
  "length": 20,
2292
- "start": 14333
3402
+ "start": 14323
2293
3403
  },
2294
3404
  {
2295
3405
  "length": 20,
2296
- "start": 14525
3406
+ "start": 14439
2297
3407
  },
2298
3408
  {
2299
3409
  "length": 20,
2300
- "start": 14786
3410
+ "start": 14621
2301
3411
  },
2302
3412
  {
2303
3413
  "length": 20,
2304
- "start": 15042
3414
+ "start": 14737
2305
3415
  }
2306
3416
  ]
2307
3417
  },
2308
- "contracts/types/NftIdSet.sol": {
2309
- "LibNftIdSet": [
3418
+ "contracts/types/NftId.sol": {
3419
+ "NftIdLib": [
2310
3420
  {
2311
3421
  "length": 20,
2312
- "start": 5323
3422
+ "start": 3464
2313
3423
  },
2314
3424
  {
2315
3425
  "length": 20,
2316
- "start": 6280
3426
+ "start": 5262
2317
3427
  },
2318
3428
  {
2319
3429
  "length": 20,
2320
- "start": 6471
3430
+ "start": 6517
2321
3431
  },
2322
3432
  {
2323
3433
  "length": 20,
2324
- "start": 6694
3434
+ "start": 7782
2325
3435
  },
2326
3436
  {
2327
3437
  "length": 20,
2328
- "start": 9820
2329
- },
3438
+ "start": 10117
3439
+ }
3440
+ ]
3441
+ },
3442
+ "contracts/types/ObjectType.sol": {
3443
+ "ObjectTypeLib": [
2330
3444
  {
2331
3445
  "length": 20,
2332
- "start": 10215
3446
+ "start": 11993
2333
3447
  }
2334
3448
  ]
2335
3449
  },
@@ -2337,7 +3451,15 @@
2337
3451
  "RiskIdLib": [
2338
3452
  {
2339
3453
  "length": 20,
2340
- "start": 7538
3454
+ "start": 4307
3455
+ },
3456
+ {
3457
+ "length": 20,
3458
+ "start": 6127
3459
+ },
3460
+ {
3461
+ "length": 20,
3462
+ "start": 7867
2341
3463
  }
2342
3464
  ]
2343
3465
  },
@@ -2345,39 +3467,71 @@
2345
3467
  "RoleIdLib": [
2346
3468
  {
2347
3469
  "length": 20,
2348
- "start": 7180
3470
+ "start": 4759
2349
3471
  },
2350
3472
  {
2351
3473
  "length": 20,
2352
- "start": 7699
2353
- }
2354
- ]
2355
- },
2356
- "contracts/types/Timestamp.sol": {
2357
- "TimestampLib": [
3474
+ "start": 6254
3475
+ },
2358
3476
  {
2359
3477
  "length": 20,
2360
- "start": 5882
2361
- }
2362
- ]
2363
- },
2364
- "contracts/types/UFixed.sol": {
2365
- "UFixedMathLib": [
3478
+ "start": 6340
3479
+ },
2366
3480
  {
2367
3481
  "length": 20,
2368
- "start": 3824
3482
+ "start": 7325
2369
3483
  },
2370
3484
  {
2371
3485
  "length": 20,
2372
- "start": 6976
3486
+ "start": 7493
3487
+ },
3488
+ {
3489
+ "length": 20,
3490
+ "start": 8469
3491
+ },
3492
+ {
3493
+ "length": 20,
3494
+ "start": 8882
3495
+ },
3496
+ {
3497
+ "length": 20,
3498
+ "start": 10891
2373
3499
  }
2374
3500
  ]
2375
3501
  },
2376
- "contracts/types/Version.sol": {
2377
- "VersionLib": [
3502
+ "contracts/types/StateId.sol": {
3503
+ "StateIdLib": [
3504
+ {
3505
+ "length": 20,
3506
+ "start": 5056
3507
+ },
3508
+ {
3509
+ "length": 20,
3510
+ "start": 8021
3511
+ },
3512
+ {
3513
+ "length": 20,
3514
+ "start": 9275
3515
+ },
3516
+ {
3517
+ "length": 20,
3518
+ "start": 12210
3519
+ },
3520
+ {
3521
+ "length": 20,
3522
+ "start": 12929
3523
+ },
3524
+ {
3525
+ "length": 20,
3526
+ "start": 13149
3527
+ },
3528
+ {
3529
+ "length": 20,
3530
+ "start": 13749
3531
+ },
2378
3532
  {
2379
3533
  "length": 20,
2380
- "start": 3967
3534
+ "start": 13969
2381
3535
  }
2382
3536
  ]
2383
3537
  }