@etherisc/gif-next 0.0.2-8d47fa1-080 → 0.0.2-8dd2f76-992

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