@etherisc/gif-next 0.0.2-d3ee0cc-268 → 0.0.2-d48ae55-246

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