@etherisc/gif-next 0.0.2-da77c50-824 → 0.0.2-dd8bcd0-978

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