@etherisc/gif-next 0.0.2-de220d6-949 → 0.0.2-e0ff180-567

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