@etherisc/gif-next 0.0.2-da77c50-824 → 0.0.2-db1e1e4-828

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