@etherisc/gif-next 0.0.2-e875d61-189 → 0.0.2-e9148e0-933

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