@etherisc/gif-next 0.0.2-d10d6b3-916 → 0.0.2-d1f0662-893

Sign up to get free protection for your applications and to get access to all the features.
Files changed (397) hide show
  1. package/README.md +28 -14
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +873 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +1020 -262
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/components/IComponent.sol/IComponent.json +636 -0
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +879 -31
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +879 -59
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +720 -16
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +849 -255
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +720 -251
  18. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  19. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +69 -66
  20. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +1 -1
  21. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +5 -0
  22. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  23. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +299 -1344
  24. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  25. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +314 -183
  26. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  27. package/artifacts/contracts/instance/Instance.sol/Instance.json +445 -3116
  28. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  29. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +609 -178
  30. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +124 -0
  32. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  33. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +414 -267
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  35. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +422 -413
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  37. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +280 -136
  38. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  39. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +2788 -0
  40. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
  41. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +11 -27
  42. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  43. package/artifacts/contracts/instance/base/{ComponentServiceBase.sol/ComponentServiceBase.json → ComponentService.sol/ComponentService.json} +271 -180
  44. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  45. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  46. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  47. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +40 -10
  48. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  49. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
  50. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  51. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +71 -45
  52. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  53. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  54. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  55. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  56. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  57. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  58. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  59. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  60. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  61. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +918 -0
  62. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  63. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +648 -0
  64. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  65. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1288 -0
  66. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  67. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +696 -0
  68. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  69. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +1376 -0
  70. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  71. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +748 -0
  72. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  73. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1055 -215
  74. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  75. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +417 -81
  76. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  77. package/artifacts/contracts/instance/service/{IComponentOwnerService.sol/IComponentOwnerService.json → IApplicationService.sol/IApplicationService.json} +231 -204
  78. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  79. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +735 -0
  80. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  81. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +743 -0
  82. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  83. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +540 -146
  84. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  85. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +651 -0
  86. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  87. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +652 -303
  88. package/artifacts/contracts/instance/service/IPricingService.sol/IPricingService.dbg.json +4 -0
  89. package/artifacts/contracts/{shared/RegisterableUpgradable.sol/RegisterableUpgradable.json → instance/service/IPricingService.sol/IPricingService.json} +245 -177
  90. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  91. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +76 -394
  92. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  93. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1281 -0
  94. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  95. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +740 -0
  96. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  97. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +972 -399
  98. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  99. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +336 -92
  100. package/artifacts/contracts/instance/service/PricingService.sol/PricingService.dbg.json +4 -0
  101. package/artifacts/contracts/instance/service/PricingService.sol/PricingService.json +1004 -0
  102. package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  103. package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.json +688 -0
  104. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  105. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +283 -566
  106. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
  107. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +278 -126
  108. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  109. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  110. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  111. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +244 -133
  112. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  113. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +147 -236
  114. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  115. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  116. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  117. package/artifacts/contracts/registry/Registry.sol/Registry.json +257 -235
  118. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  119. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  120. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  121. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +191 -334
  122. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  123. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +285 -145
  124. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  125. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +559 -0
  126. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  127. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +128 -53
  128. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  129. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  130. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  131. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  132. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  133. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  134. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +27 -29
  135. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  136. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +189 -0
  137. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  138. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +8 -34
  139. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  140. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  141. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  142. package/artifacts/contracts/shared/IService.sol/IService.json +84 -178
  143. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  144. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  145. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  146. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +107 -27
  147. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  148. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +302 -0
  149. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  150. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +283 -63
  151. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  152. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +116 -51
  153. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  154. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
  155. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  156. package/artifacts/contracts/shared/Service.sol/Service.json +185 -165
  157. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  158. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +24 -6
  159. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  160. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  161. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  162. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  163. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  164. package/artifacts/contracts/test/TestFee.sol/TestFee.json +2 -2
  165. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  166. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +116 -51
  167. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  168. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +6 -6
  169. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  170. package/artifacts/contracts/test/TestService.sol/TestService.json +204 -216
  171. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  172. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  173. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  174. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  175. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -190
  176. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  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 +281 -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 +179 -0
  185. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  186. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
  187. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  188. package/artifacts/contracts/types/Fee.sol/FeeLib.json +74 -19
  189. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  190. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  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 +2 -2
  195. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  196. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  197. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  198. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  199. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +209 -0
  200. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
  202. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  203. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  204. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  205. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  206. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  207. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  208. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  209. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  210. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  211. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +38 -7
  212. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  213. package/artifacts/contracts/types/UFixed.sol/MathLib.json +2 -2
  214. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  215. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +2 -2
  216. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  217. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  218. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  219. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
  220. package/contracts/components/Component.sol +272 -0
  221. package/contracts/components/Distribution.sol +205 -83
  222. package/contracts/components/IComponent.sol +90 -0
  223. package/contracts/components/IDistributionComponent.sol +44 -17
  224. package/contracts/components/IPoolComponent.sol +90 -42
  225. package/contracts/components/IProductComponent.sol +15 -9
  226. package/contracts/components/Pool.sol +218 -183
  227. package/contracts/components/Product.sol +250 -164
  228. package/contracts/instance/BundleManager.sol +17 -20
  229. package/contracts/instance/Cloneable.sol +7 -2
  230. package/contracts/instance/IInstance.sol +54 -33
  231. package/contracts/instance/IInstanceService.sol +52 -11
  232. package/contracts/instance/Instance.sol +144 -369
  233. package/contracts/instance/InstanceAccessManager.sol +430 -177
  234. package/contracts/instance/InstanceAuthorizationsLib.sol +308 -0
  235. package/contracts/instance/InstanceReader.sol +91 -38
  236. package/contracts/instance/InstanceService.sol +241 -165
  237. package/contracts/instance/InstanceServiceManager.sol +6 -9
  238. package/contracts/instance/InstanceStore.sol +212 -0
  239. package/contracts/instance/ObjectManager.sol +11 -24
  240. package/contracts/instance/base/ComponentService.sol +148 -0
  241. package/contracts/instance/base/KeyValueStore.sol +13 -36
  242. package/contracts/instance/base/Lifecycle.sol +26 -6
  243. package/contracts/instance/module/IAccess.sol +36 -20
  244. package/contracts/instance/module/IBundle.sol +8 -5
  245. package/contracts/instance/module/IComponents.sol +41 -0
  246. package/contracts/instance/module/IDistribution.sol +3 -0
  247. package/contracts/instance/module/IPolicy.sol +43 -11
  248. package/contracts/instance/module/ISetup.sol +7 -20
  249. package/contracts/instance/service/ApplicationService.sol +186 -0
  250. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  251. package/contracts/instance/service/BundleService.sol +382 -0
  252. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  253. package/contracts/instance/service/ClaimService.sol +437 -0
  254. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  255. package/contracts/instance/service/DistributionService.sol +293 -33
  256. package/contracts/instance/service/DistributionServiceManager.sol +7 -10
  257. package/contracts/instance/service/IApplicationService.sol +62 -0
  258. package/contracts/instance/service/IBundleService.sol +118 -0
  259. package/contracts/instance/service/IClaimService.sol +90 -0
  260. package/contracts/instance/service/IDistributionService.sol +76 -1
  261. package/contracts/instance/service/IPolicyService.sol +80 -0
  262. package/contracts/instance/service/IPoolService.sol +88 -25
  263. package/contracts/instance/service/IPricingService.sol +37 -0
  264. package/contracts/instance/service/IProductService.sol +2 -72
  265. package/contracts/instance/service/PolicyService.sol +376 -0
  266. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  267. package/contracts/instance/service/PoolService.sol +286 -170
  268. package/contracts/instance/service/PoolServiceManager.sol +6 -9
  269. package/contracts/instance/service/PricingService.sol +275 -0
  270. package/contracts/instance/service/PricingServiceManager.sol +51 -0
  271. package/contracts/instance/service/ProductService.sol +109 -469
  272. package/contracts/instance/service/ProductServiceManager.sol +2 -2
  273. package/contracts/registry/ChainNft.sol +9 -1
  274. package/contracts/registry/IRegistry.sol +39 -19
  275. package/contracts/registry/IRegistryService.sol +29 -13
  276. package/contracts/registry/ITransferInterceptor.sol +1 -0
  277. package/contracts/registry/Registry.sol +243 -224
  278. package/contracts/registry/RegistryAccessManager.sol +216 -0
  279. package/contracts/registry/RegistryService.sol +101 -173
  280. package/contracts/registry/RegistryServiceManager.sol +21 -39
  281. package/contracts/registry/ReleaseManager.sol +324 -0
  282. package/contracts/registry/TokenRegistry.sol +22 -17
  283. package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +13 -0
  284. package/contracts/shared/ERC165.sol +14 -12
  285. package/contracts/shared/INftOwnable.sol +11 -10
  286. package/contracts/shared/IPolicyHolder.sol +40 -0
  287. package/contracts/shared/IRegisterable.sol +4 -6
  288. package/contracts/shared/IRegistryLinked.sol +11 -0
  289. package/contracts/shared/IService.sol +7 -4
  290. package/contracts/shared/IVersionable.sol +4 -47
  291. package/contracts/shared/NftOwnable.sol +64 -80
  292. package/contracts/shared/PolicyHolder.sol +94 -0
  293. package/contracts/shared/ProxyManager.sol +100 -25
  294. package/contracts/shared/Registerable.sol +24 -39
  295. package/contracts/shared/RegistryLinked.sol +43 -0
  296. package/contracts/shared/Service.sol +41 -24
  297. package/contracts/shared/TokenHandler.sol +14 -6
  298. package/contracts/shared/Versionable.sol +4 -92
  299. package/contracts/test/TestRegisterable.sol +1 -1
  300. package/contracts/test/TestService.sol +4 -3
  301. package/contracts/types/Amount.sol +109 -0
  302. package/contracts/types/Blocknumber.sol +1 -0
  303. package/contracts/types/ClaimId.sol +75 -0
  304. package/contracts/types/DistributorType.sol +2 -2
  305. package/contracts/types/Fee.sol +17 -8
  306. package/contracts/types/NftId.sol +8 -0
  307. package/contracts/types/ObjectType.sol +16 -7
  308. package/contracts/types/PayoutId.sol +82 -0
  309. package/contracts/types/Referral.sol +4 -0
  310. package/contracts/types/RoleId.sol +26 -19
  311. package/contracts/types/Seconds.sol +54 -0
  312. package/contracts/types/StateId.sol +7 -2
  313. package/contracts/types/Timestamp.sol +18 -13
  314. package/contracts/types/UFixed.sol +1 -0
  315. package/contracts/types/Version.sol +1 -0
  316. package/package.json +3 -3
  317. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  318. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -327
  319. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  320. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -280
  321. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  322. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  323. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  324. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  325. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  326. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  327. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  328. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  329. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  330. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  331. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  332. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  333. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  334. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  335. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  336. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  337. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  338. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  339. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  340. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  341. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  342. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  343. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  344. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  345. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  346. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  347. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  348. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  349. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  350. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  351. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  352. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  353. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  354. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  355. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  356. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  357. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  358. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  359. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  360. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  361. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.json +0 -101
  362. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  363. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
  364. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  365. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  366. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  367. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  368. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  369. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  370. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  371. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  372. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  373. package/contracts/components/BaseComponent.sol +0 -91
  374. package/contracts/components/IBaseComponent.sol +0 -25
  375. package/contracts/experiment/cloning/Cloner.sol +0 -47
  376. package/contracts/experiment/errors/Require.sol +0 -38
  377. package/contracts/experiment/errors/Revert.sol +0 -44
  378. package/contracts/experiment/inheritance/A.sol +0 -53
  379. package/contracts/experiment/inheritance/B.sol +0 -28
  380. package/contracts/experiment/inheritance/C.sol +0 -34
  381. package/contracts/experiment/inheritance/IA.sol +0 -13
  382. package/contracts/experiment/inheritance/IB.sol +0 -10
  383. package/contracts/experiment/inheritance/IC.sol +0 -12
  384. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  385. package/contracts/experiment/statemachine/ISM.sol +0 -25
  386. package/contracts/experiment/statemachine/SM.sol +0 -57
  387. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  388. package/contracts/experiment/types/TypeA.sol +0 -47
  389. package/contracts/experiment/types/TypeB.sol +0 -29
  390. package/contracts/instance/AccessManagedSimple.sol +0 -115
  391. package/contracts/instance/AccessManagerSimple.sol +0 -692
  392. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  393. package/contracts/instance/base/ComponentServiceBase.sol +0 -134
  394. package/contracts/instance/base/IInstanceBase.sol +0 -23
  395. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  396. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  397. package/contracts/shared/RegisterableUpgradable.sol +0 -16
@@ -6,141 +6,264 @@
6
6
  {
7
7
  "inputs": [
8
8
  {
9
- "internalType": "ObjectType",
10
- "name": "componentType",
11
- "type": "uint8"
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
12
  }
13
13
  ],
14
- "name": "ComponentTypeInvalid",
14
+ "name": "AccessManagedInvalidAuthority",
15
15
  "type": "error"
16
16
  },
17
17
  {
18
18
  "inputs": [
19
19
  {
20
20
  "internalType": "address",
21
- "name": "registry",
21
+ "name": "caller",
22
22
  "type": "address"
23
23
  },
24
24
  {
25
- "internalType": "NftId",
26
- "name": "nftId",
27
- "type": "uint96"
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "address",
48
+ "name": "component",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "ErrorComponentServiceComponentLocked",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "address",
59
+ "name": "component",
60
+ "type": "address"
61
+ },
62
+ {
63
+ "internalType": "ObjectType",
64
+ "name": "expectedType",
65
+ "type": "uint8"
66
+ },
67
+ {
68
+ "internalType": "ObjectType",
69
+ "name": "foundType",
70
+ "type": "uint8"
28
71
  }
29
72
  ],
30
- "name": "ErrorAlreadyLinked",
73
+ "name": "ErrorComponentServiceComponentTypeInvalid",
31
74
  "type": "error"
32
75
  },
33
76
  {
34
77
  "inputs": [
35
78
  {
36
79
  "internalType": "NftId",
37
- "name": "policyNftId",
80
+ "name": "instanceNftId",
38
81
  "type": "uint96"
82
+ },
83
+ {
84
+ "internalType": "RoleId",
85
+ "name": "requiredRole",
86
+ "type": "uint64"
87
+ },
88
+ {
89
+ "internalType": "address",
90
+ "name": "sender",
91
+ "type": "address"
39
92
  }
40
93
  ],
41
- "name": "ErrorBundleManagerErrorPolicyAlreadyActivated",
94
+ "name": "ErrorComponentServiceExpectedRoleMissing",
42
95
  "type": "error"
43
96
  },
44
97
  {
45
98
  "inputs": [
46
99
  {
47
100
  "internalType": "address",
48
- "name": "contractAddress",
101
+ "name": "component",
102
+ "type": "address"
103
+ },
104
+ {
105
+ "internalType": "ObjectType",
106
+ "name": "requiredType",
107
+ "type": "uint8"
108
+ },
109
+ {
110
+ "internalType": "ObjectType",
111
+ "name": "componentType",
112
+ "type": "uint8"
113
+ }
114
+ ],
115
+ "name": "ErrorComponentServiceInvalidType",
116
+ "type": "error"
117
+ },
118
+ {
119
+ "inputs": [
120
+ {
121
+ "internalType": "address",
122
+ "name": "component",
49
123
  "type": "address"
50
124
  }
51
125
  ],
52
- "name": "ErrorContractNotRegistered",
126
+ "name": "ErrorComponentServiceNotComponent",
53
127
  "type": "error"
54
128
  },
55
129
  {
56
130
  "inputs": [
57
131
  {
58
132
  "internalType": "address",
59
- "name": "bundleOwner",
133
+ "name": "component",
60
134
  "type": "address"
61
135
  },
62
136
  {
63
137
  "internalType": "address",
64
- "name": "tokenHandlerAddress",
138
+ "name": "initialOwner",
65
139
  "type": "address"
66
140
  },
67
141
  {
68
- "internalType": "uint256",
69
- "name": "amount",
70
- "type": "uint256"
142
+ "internalType": "address",
143
+ "name": "sender",
144
+ "type": "address"
71
145
  }
72
146
  ],
73
- "name": "ErrorIPoolServiceInsufficientAllowance",
147
+ "name": "ErrorComponentServiceSenderNotOwner",
74
148
  "type": "error"
75
149
  },
76
150
  {
77
151
  "inputs": [
78
152
  {
79
153
  "internalType": "address",
80
- "name": "account",
154
+ "name": "sender",
81
155
  "type": "address"
82
156
  }
83
157
  ],
84
- "name": "ErrorNotOwner",
158
+ "name": "ErrorComponentServiceSenderNotService",
85
159
  "type": "error"
86
160
  },
87
161
  {
88
162
  "inputs": [
89
163
  {
90
164
  "internalType": "address",
91
- "name": "registryAddress",
165
+ "name": "target",
92
166
  "type": "address"
93
167
  }
94
168
  ],
95
- "name": "ErrorNotRegistry",
169
+ "name": "ErrorIAccessTargetLocked",
170
+ "type": "error"
171
+ },
172
+ {
173
+ "inputs": [
174
+ {
175
+ "internalType": "NftId",
176
+ "name": "nftId",
177
+ "type": "uint96"
178
+ }
179
+ ],
180
+ "name": "ErrorNftOwnableAlreadyLinked",
96
181
  "type": "error"
97
182
  },
98
183
  {
99
184
  "inputs": [
100
185
  {
101
186
  "internalType": "address",
102
- "name": "registryAddress",
187
+ "name": "contractAddress",
103
188
  "type": "address"
104
189
  }
105
190
  ],
106
- "name": "ErrorRegisterableNotRegistry",
191
+ "name": "ErrorNftOwnableContractNotRegistered",
107
192
  "type": "error"
108
193
  },
109
194
  {
110
195
  "inputs": [],
111
- "name": "ErrorRegistryAddressZero",
196
+ "name": "ErrorNftOwnableInitialOwnerZero",
112
197
  "type": "error"
113
198
  },
114
199
  {
115
200
  "inputs": [
116
201
  {
117
202
  "internalType": "address",
118
- "name": "registry",
203
+ "name": "account",
119
204
  "type": "address"
120
205
  }
121
206
  ],
122
- "name": "ErrorRegistryAlreadyInitialized",
207
+ "name": "ErrorNftOwnableNotOwner",
123
208
  "type": "error"
124
209
  },
125
210
  {
126
- "inputs": [],
127
- "name": "ErrorRegistryNotInitialized",
211
+ "inputs": [
212
+ {
213
+ "internalType": "address",
214
+ "name": "registryAddress",
215
+ "type": "address"
216
+ }
217
+ ],
218
+ "name": "ErrorNotRegistry",
128
219
  "type": "error"
129
220
  },
130
221
  {
131
222
  "inputs": [
132
223
  {
133
- "internalType": "RoleId",
134
- "name": "expected",
135
- "type": "uint64"
224
+ "internalType": "NftId",
225
+ "name": "poolNftId",
226
+ "type": "uint96"
227
+ }
228
+ ],
229
+ "name": "ErrorPoolServiceBundleOwnerRoleAlreadySet",
230
+ "type": "error"
231
+ },
232
+ {
233
+ "inputs": [
234
+ {
235
+ "internalType": "NftId",
236
+ "name": "bundlePoolNftId",
237
+ "type": "uint96"
136
238
  },
137
239
  {
138
- "internalType": "address",
139
- "name": "caller",
140
- "type": "address"
240
+ "internalType": "NftId",
241
+ "name": "productPoolNftId",
242
+ "type": "uint96"
243
+ }
244
+ ],
245
+ "name": "ErrorPoolServiceBundlePoolMismatch",
246
+ "type": "error"
247
+ },
248
+ {
249
+ "inputs": [
250
+ {
251
+ "internalType": "Amount",
252
+ "name": "expectedAmount",
253
+ "type": "uint96"
254
+ },
255
+ {
256
+ "internalType": "Amount",
257
+ "name": "actualAmount",
258
+ "type": "uint96"
141
259
  }
142
260
  ],
143
- "name": "ExpectedRoleMissing",
261
+ "name": "ErrorPoolServiceInvalidTransferAmount",
262
+ "type": "error"
263
+ },
264
+ {
265
+ "inputs": [],
266
+ "name": "ErrorServiceNotImplemented",
144
267
  "type": "error"
145
268
  },
146
269
  {
@@ -153,6 +276,19 @@
153
276
  "name": "NotInitializing",
154
277
  "type": "error"
155
278
  },
279
+ {
280
+ "anonymous": false,
281
+ "inputs": [
282
+ {
283
+ "indexed": false,
284
+ "internalType": "address",
285
+ "name": "authority",
286
+ "type": "address"
287
+ }
288
+ ],
289
+ "name": "AuthorityUpdated",
290
+ "type": "event"
291
+ },
156
292
  {
157
293
  "anonymous": false,
158
294
  "inputs": [
@@ -171,34 +307,103 @@
171
307
  "inputs": [
172
308
  {
173
309
  "indexed": false,
174
- "internalType": "Version",
175
- "name": "version",
176
- "type": "uint24"
310
+ "internalType": "NftId",
311
+ "name": "instanceNftId",
312
+ "type": "uint96"
177
313
  },
178
314
  {
179
315
  "indexed": false,
180
- "internalType": "address",
181
- "name": "implementation",
182
- "type": "address"
316
+ "internalType": "NftId",
317
+ "name": "poolNftId",
318
+ "type": "uint96"
183
319
  },
184
320
  {
185
321
  "indexed": false,
186
- "internalType": "address",
187
- "name": "activatedBy",
188
- "type": "address"
322
+ "internalType": "NftId",
323
+ "name": "bundleNftId",
324
+ "type": "uint96"
325
+ }
326
+ ],
327
+ "name": "LogPoolServiceBundleClosed",
328
+ "type": "event"
329
+ },
330
+ {
331
+ "anonymous": false,
332
+ "inputs": [
333
+ {
334
+ "indexed": false,
335
+ "internalType": "NftId",
336
+ "name": "instanceNftId",
337
+ "type": "uint96"
338
+ },
339
+ {
340
+ "indexed": false,
341
+ "internalType": "NftId",
342
+ "name": "poolNftId",
343
+ "type": "uint96"
344
+ },
345
+ {
346
+ "indexed": false,
347
+ "internalType": "NftId",
348
+ "name": "bundleNftId",
349
+ "type": "uint96"
350
+ }
351
+ ],
352
+ "name": "LogPoolServiceBundleCreated",
353
+ "type": "event"
354
+ },
355
+ {
356
+ "anonymous": false,
357
+ "inputs": [
358
+ {
359
+ "indexed": false,
360
+ "internalType": "NftId",
361
+ "name": "poolNftId",
362
+ "type": "uint96"
363
+ },
364
+ {
365
+ "indexed": false,
366
+ "internalType": "RoleId",
367
+ "name": "bundleOwnerRole",
368
+ "type": "uint64"
369
+ }
370
+ ],
371
+ "name": "LogPoolServiceBundleOwnerRoleSet",
372
+ "type": "event"
373
+ },
374
+ {
375
+ "anonymous": false,
376
+ "inputs": [
377
+ {
378
+ "indexed": false,
379
+ "internalType": "NftId",
380
+ "name": "poolNftId",
381
+ "type": "uint96"
382
+ },
383
+ {
384
+ "indexed": false,
385
+ "internalType": "Amount",
386
+ "name": "previousMaxCapitalAmount",
387
+ "type": "uint96"
388
+ },
389
+ {
390
+ "indexed": false,
391
+ "internalType": "Amount",
392
+ "name": "currentMaxCapitalAmount",
393
+ "type": "uint96"
189
394
  }
190
395
  ],
191
- "name": "LogVersionableInitialized",
396
+ "name": "LogPoolServiceMaxCapitalAmountUpdated",
192
397
  "type": "event"
193
398
  },
194
399
  {
195
400
  "inputs": [],
196
- "name": "NAME",
401
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
197
402
  "outputs": [
198
403
  {
199
- "internalType": "string",
404
+ "internalType": "bytes32",
200
405
  "name": "",
201
- "type": "string"
406
+ "type": "bytes32"
202
407
  }
203
408
  ],
204
409
  "stateMutability": "view",
@@ -217,6 +422,32 @@
217
422
  "stateMutability": "view",
218
423
  "type": "function"
219
424
  },
425
+ {
426
+ "inputs": [],
427
+ "name": "authority",
428
+ "outputs": [
429
+ {
430
+ "internalType": "address",
431
+ "name": "",
432
+ "type": "address"
433
+ }
434
+ ],
435
+ "stateMutability": "view",
436
+ "type": "function"
437
+ },
438
+ {
439
+ "inputs": [
440
+ {
441
+ "internalType": "NftId",
442
+ "name": "bundleNftId",
443
+ "type": "uint96"
444
+ }
445
+ ],
446
+ "name": "closeBundle",
447
+ "outputs": [],
448
+ "stateMutability": "nonpayable",
449
+ "type": "function"
450
+ },
220
451
  {
221
452
  "inputs": [
222
453
  {
@@ -242,14 +473,14 @@
242
473
  "type": "tuple"
243
474
  },
244
475
  {
245
- "internalType": "uint256",
476
+ "internalType": "Amount",
246
477
  "name": "stakingAmount",
247
- "type": "uint256"
478
+ "type": "uint96"
248
479
  },
249
480
  {
250
- "internalType": "uint256",
481
+ "internalType": "Seconds",
251
482
  "name": "lifetime",
252
- "type": "uint256"
483
+ "type": "uint40"
253
484
  },
254
485
  {
255
486
  "internalType": "bytes",
@@ -270,16 +501,29 @@
270
501
  },
271
502
  {
272
503
  "inputs": [],
273
- "name": "getInitialInfo",
504
+ "name": "getDomain",
274
505
  "outputs": [
275
506
  {
276
- "components": [
277
- {
278
- "internalType": "NftId",
279
- "name": "nftId",
280
- "type": "uint96"
281
- },
282
- {
507
+ "internalType": "ObjectType",
508
+ "name": "",
509
+ "type": "uint8"
510
+ }
511
+ ],
512
+ "stateMutability": "pure",
513
+ "type": "function"
514
+ },
515
+ {
516
+ "inputs": [],
517
+ "name": "getInitialInfo",
518
+ "outputs": [
519
+ {
520
+ "components": [
521
+ {
522
+ "internalType": "NftId",
523
+ "name": "nftId",
524
+ "type": "uint96"
525
+ },
526
+ {
283
527
  "internalType": "NftId",
284
528
  "name": "parentNftId",
285
529
  "type": "uint96"
@@ -311,26 +555,8 @@
311
555
  }
312
556
  ],
313
557
  "internalType": "struct IRegistry.ObjectInfo",
314
- "name": "",
558
+ "name": "info",
315
559
  "type": "tuple"
316
- },
317
- {
318
- "internalType": "bytes",
319
- "name": "data",
320
- "type": "bytes"
321
- }
322
- ],
323
- "stateMutability": "view",
324
- "type": "function"
325
- },
326
- {
327
- "inputs": [],
328
- "name": "getInitializedVersion",
329
- "outputs": [
330
- {
331
- "internalType": "uint64",
332
- "name": "",
333
- "type": "uint64"
334
560
  }
335
561
  ],
336
562
  "stateMutability": "view",
@@ -349,32 +575,6 @@
349
575
  "stateMutability": "view",
350
576
  "type": "function"
351
577
  },
352
- {
353
- "inputs": [],
354
- "name": "getMajorVersion",
355
- "outputs": [
356
- {
357
- "internalType": "VersionPart",
358
- "name": "majorVersion",
359
- "type": "uint8"
360
- }
361
- ],
362
- "stateMutability": "view",
363
- "type": "function"
364
- },
365
- {
366
- "inputs": [],
367
- "name": "getName",
368
- "outputs": [
369
- {
370
- "internalType": "string",
371
- "name": "name",
372
- "type": "string"
373
- }
374
- ],
375
- "stateMutability": "pure",
376
- "type": "function"
377
- },
378
578
  {
379
579
  "inputs": [],
380
580
  "name": "getNftId",
@@ -440,64 +640,231 @@
440
640
  "stateMutability": "pure",
441
641
  "type": "function"
442
642
  },
643
+ {
644
+ "inputs": [],
645
+ "name": "initializeERC165",
646
+ "outputs": [],
647
+ "stateMutability": "nonpayable",
648
+ "type": "function"
649
+ },
443
650
  {
444
651
  "inputs": [
445
652
  {
446
- "internalType": "uint256",
447
- "name": "idx",
448
- "type": "uint256"
653
+ "internalType": "address",
654
+ "name": "initialOwner",
655
+ "type": "address"
656
+ },
657
+ {
658
+ "internalType": "address",
659
+ "name": "registryAddress",
660
+ "type": "address"
449
661
  }
450
662
  ],
451
- "name": "getVersion",
452
- "outputs": [
663
+ "name": "initializeNftOwnable",
664
+ "outputs": [],
665
+ "stateMutability": "nonpayable",
666
+ "type": "function"
667
+ },
668
+ {
669
+ "inputs": [
453
670
  {
454
- "internalType": "Version",
455
- "name": "",
456
- "type": "uint24"
671
+ "internalType": "address",
672
+ "name": "registryAddress",
673
+ "type": "address"
674
+ },
675
+ {
676
+ "internalType": "NftId",
677
+ "name": "parentNftId",
678
+ "type": "uint96"
679
+ },
680
+ {
681
+ "internalType": "ObjectType",
682
+ "name": "objectType",
683
+ "type": "uint8"
684
+ },
685
+ {
686
+ "internalType": "bool",
687
+ "name": "isInterceptor",
688
+ "type": "bool"
689
+ },
690
+ {
691
+ "internalType": "address",
692
+ "name": "initialOwner",
693
+ "type": "address"
694
+ },
695
+ {
696
+ "internalType": "bytes",
697
+ "name": "registryData",
698
+ "type": "bytes"
457
699
  }
458
700
  ],
459
- "stateMutability": "view",
701
+ "name": "initializeRegisterable",
702
+ "outputs": [],
703
+ "stateMutability": "nonpayable",
704
+ "type": "function"
705
+ },
706
+ {
707
+ "inputs": [
708
+ {
709
+ "internalType": "address",
710
+ "name": "registryAddress",
711
+ "type": "address"
712
+ }
713
+ ],
714
+ "name": "initializeRegistryLinked",
715
+ "outputs": [],
716
+ "stateMutability": "nonpayable",
717
+ "type": "function"
718
+ },
719
+ {
720
+ "inputs": [
721
+ {
722
+ "internalType": "address",
723
+ "name": "registry",
724
+ "type": "address"
725
+ },
726
+ {
727
+ "internalType": "address",
728
+ "name": "authority",
729
+ "type": "address"
730
+ },
731
+ {
732
+ "internalType": "address",
733
+ "name": "initialOwner",
734
+ "type": "address"
735
+ }
736
+ ],
737
+ "name": "initializeService",
738
+ "outputs": [],
739
+ "stateMutability": "nonpayable",
740
+ "type": "function"
741
+ },
742
+ {
743
+ "inputs": [
744
+ {
745
+ "internalType": "address",
746
+ "name": "activatedBy",
747
+ "type": "address"
748
+ },
749
+ {
750
+ "internalType": "bytes",
751
+ "name": "data",
752
+ "type": "bytes"
753
+ }
754
+ ],
755
+ "name": "initializeVersionable",
756
+ "outputs": [],
757
+ "stateMutability": "nonpayable",
460
758
  "type": "function"
461
759
  },
462
760
  {
463
761
  "inputs": [],
464
- "name": "getVersionCount",
762
+ "name": "isConsumingScheduledOp",
465
763
  "outputs": [
466
764
  {
467
- "internalType": "uint256",
765
+ "internalType": "bytes4",
468
766
  "name": "",
469
- "type": "uint256"
767
+ "type": "bytes4"
470
768
  }
471
769
  ],
472
770
  "stateMutability": "view",
473
771
  "type": "function"
474
772
  },
773
+ {
774
+ "inputs": [],
775
+ "name": "linkToRegisteredNftId",
776
+ "outputs": [],
777
+ "stateMutability": "nonpayable",
778
+ "type": "function"
779
+ },
475
780
  {
476
781
  "inputs": [
477
782
  {
478
- "internalType": "Version",
479
- "name": "_version",
480
- "type": "uint24"
481
- }
482
- ],
483
- "name": "getVersionInfo",
484
- "outputs": [
783
+ "internalType": "contract IInstance",
784
+ "name": "instance",
785
+ "type": "address"
786
+ },
787
+ {
788
+ "internalType": "NftId",
789
+ "name": "productNftId",
790
+ "type": "uint96"
791
+ },
792
+ {
793
+ "internalType": "NftId",
794
+ "name": "applicationNftId",
795
+ "type": "uint96"
796
+ },
485
797
  {
486
798
  "components": [
487
799
  {
488
- "internalType": "Version",
489
- "name": "version",
490
- "type": "uint24"
800
+ "internalType": "NftId",
801
+ "name": "productNftId",
802
+ "type": "uint96"
491
803
  },
492
804
  {
493
- "internalType": "address",
494
- "name": "implementation",
495
- "type": "address"
805
+ "internalType": "NftId",
806
+ "name": "bundleNftId",
807
+ "type": "uint96"
496
808
  },
497
809
  {
498
- "internalType": "address",
499
- "name": "activatedBy",
500
- "type": "address"
810
+ "internalType": "ReferralId",
811
+ "name": "referralId",
812
+ "type": "bytes8"
813
+ },
814
+ {
815
+ "internalType": "RiskId",
816
+ "name": "riskId",
817
+ "type": "bytes8"
818
+ },
819
+ {
820
+ "internalType": "Amount",
821
+ "name": "sumInsuredAmount",
822
+ "type": "uint96"
823
+ },
824
+ {
825
+ "internalType": "Amount",
826
+ "name": "premiumAmount",
827
+ "type": "uint96"
828
+ },
829
+ {
830
+ "internalType": "Amount",
831
+ "name": "premiumPaidAmount",
832
+ "type": "uint96"
833
+ },
834
+ {
835
+ "internalType": "Seconds",
836
+ "name": "lifetime",
837
+ "type": "uint40"
838
+ },
839
+ {
840
+ "internalType": "bytes",
841
+ "name": "applicationData",
842
+ "type": "bytes"
843
+ },
844
+ {
845
+ "internalType": "bytes",
846
+ "name": "policyData",
847
+ "type": "bytes"
848
+ },
849
+ {
850
+ "internalType": "uint16",
851
+ "name": "claimsCount",
852
+ "type": "uint16"
853
+ },
854
+ {
855
+ "internalType": "uint16",
856
+ "name": "openClaimsCount",
857
+ "type": "uint16"
858
+ },
859
+ {
860
+ "internalType": "Amount",
861
+ "name": "claimAmount",
862
+ "type": "uint96"
863
+ },
864
+ {
865
+ "internalType": "Amount",
866
+ "name": "payoutAmount",
867
+ "type": "uint96"
501
868
  },
502
869
  {
503
870
  "internalType": "Timestamp",
@@ -505,38 +872,242 @@
505
872
  "type": "uint40"
506
873
  },
507
874
  {
508
- "internalType": "Blocknumber",
509
- "name": "activatedIn",
510
- "type": "uint32"
875
+ "internalType": "Timestamp",
876
+ "name": "expiredAt",
877
+ "type": "uint40"
878
+ },
879
+ {
880
+ "internalType": "Timestamp",
881
+ "name": "closedAt",
882
+ "type": "uint40"
883
+ }
884
+ ],
885
+ "internalType": "struct IPolicy.PolicyInfo",
886
+ "name": "applicationInfo",
887
+ "type": "tuple"
888
+ },
889
+ {
890
+ "internalType": "Amount",
891
+ "name": "premiumAmount",
892
+ "type": "uint96"
893
+ }
894
+ ],
895
+ "name": "lockCollateral",
896
+ "outputs": [],
897
+ "stateMutability": "nonpayable",
898
+ "type": "function"
899
+ },
900
+ {
901
+ "inputs": [
902
+ {
903
+ "internalType": "NftId",
904
+ "name": "bundleNftId",
905
+ "type": "uint96"
906
+ },
907
+ {
908
+ "components": [
909
+ {
910
+ "internalType": "uint256",
911
+ "name": "netPremiumAmount",
912
+ "type": "uint256"
913
+ },
914
+ {
915
+ "internalType": "uint256",
916
+ "name": "fullPremiumAmount",
917
+ "type": "uint256"
918
+ },
919
+ {
920
+ "internalType": "uint256",
921
+ "name": "premiumAmount",
922
+ "type": "uint256"
923
+ },
924
+ {
925
+ "internalType": "uint256",
926
+ "name": "productFeeFixAmount",
927
+ "type": "uint256"
928
+ },
929
+ {
930
+ "internalType": "uint256",
931
+ "name": "poolFeeFixAmount",
932
+ "type": "uint256"
933
+ },
934
+ {
935
+ "internalType": "uint256",
936
+ "name": "bundleFeeFixAmount",
937
+ "type": "uint256"
938
+ },
939
+ {
940
+ "internalType": "uint256",
941
+ "name": "distributionFeeFixAmount",
942
+ "type": "uint256"
943
+ },
944
+ {
945
+ "internalType": "uint256",
946
+ "name": "productFeeVarAmount",
947
+ "type": "uint256"
948
+ },
949
+ {
950
+ "internalType": "uint256",
951
+ "name": "poolFeeVarAmount",
952
+ "type": "uint256"
953
+ },
954
+ {
955
+ "internalType": "uint256",
956
+ "name": "bundleFeeVarAmount",
957
+ "type": "uint256"
958
+ },
959
+ {
960
+ "internalType": "uint256",
961
+ "name": "distributionFeeVarAmount",
962
+ "type": "uint256"
963
+ },
964
+ {
965
+ "internalType": "uint256",
966
+ "name": "distributionOwnerFeeFixAmount",
967
+ "type": "uint256"
968
+ },
969
+ {
970
+ "internalType": "uint256",
971
+ "name": "distributionOwnerFeeVarAmount",
972
+ "type": "uint256"
973
+ },
974
+ {
975
+ "internalType": "uint256",
976
+ "name": "commissionAmount",
977
+ "type": "uint256"
978
+ },
979
+ {
980
+ "internalType": "uint256",
981
+ "name": "discountAmount",
982
+ "type": "uint256"
511
983
  }
512
984
  ],
513
- "internalType": "struct IVersionable.VersionInfo",
514
- "name": "",
985
+ "internalType": "struct IPolicy.Premium",
986
+ "name": "premium",
515
987
  "type": "tuple"
988
+ },
989
+ {
990
+ "internalType": "Amount",
991
+ "name": "actualAmountTransferred",
992
+ "type": "uint96"
516
993
  }
517
994
  ],
518
- "stateMutability": "view",
995
+ "name": "processSale",
996
+ "outputs": [],
997
+ "stateMutability": "nonpayable",
519
998
  "type": "function"
520
999
  },
521
1000
  {
522
1001
  "inputs": [
523
1002
  {
524
- "internalType": "address",
525
- "name": "implementation",
1003
+ "internalType": "contract IInstance",
1004
+ "name": "instance",
526
1005
  "type": "address"
527
1006
  },
528
1007
  {
529
- "internalType": "address",
530
- "name": "activatedBy",
531
- "type": "address"
1008
+ "internalType": "NftId",
1009
+ "name": "policyNftId",
1010
+ "type": "uint96"
532
1011
  },
533
1012
  {
534
- "internalType": "bytes",
535
- "name": "data",
536
- "type": "bytes"
1013
+ "components": [
1014
+ {
1015
+ "internalType": "NftId",
1016
+ "name": "productNftId",
1017
+ "type": "uint96"
1018
+ },
1019
+ {
1020
+ "internalType": "NftId",
1021
+ "name": "bundleNftId",
1022
+ "type": "uint96"
1023
+ },
1024
+ {
1025
+ "internalType": "ReferralId",
1026
+ "name": "referralId",
1027
+ "type": "bytes8"
1028
+ },
1029
+ {
1030
+ "internalType": "RiskId",
1031
+ "name": "riskId",
1032
+ "type": "bytes8"
1033
+ },
1034
+ {
1035
+ "internalType": "Amount",
1036
+ "name": "sumInsuredAmount",
1037
+ "type": "uint96"
1038
+ },
1039
+ {
1040
+ "internalType": "Amount",
1041
+ "name": "premiumAmount",
1042
+ "type": "uint96"
1043
+ },
1044
+ {
1045
+ "internalType": "Amount",
1046
+ "name": "premiumPaidAmount",
1047
+ "type": "uint96"
1048
+ },
1049
+ {
1050
+ "internalType": "Seconds",
1051
+ "name": "lifetime",
1052
+ "type": "uint40"
1053
+ },
1054
+ {
1055
+ "internalType": "bytes",
1056
+ "name": "applicationData",
1057
+ "type": "bytes"
1058
+ },
1059
+ {
1060
+ "internalType": "bytes",
1061
+ "name": "policyData",
1062
+ "type": "bytes"
1063
+ },
1064
+ {
1065
+ "internalType": "uint16",
1066
+ "name": "claimsCount",
1067
+ "type": "uint16"
1068
+ },
1069
+ {
1070
+ "internalType": "uint16",
1071
+ "name": "openClaimsCount",
1072
+ "type": "uint16"
1073
+ },
1074
+ {
1075
+ "internalType": "Amount",
1076
+ "name": "claimAmount",
1077
+ "type": "uint96"
1078
+ },
1079
+ {
1080
+ "internalType": "Amount",
1081
+ "name": "payoutAmount",
1082
+ "type": "uint96"
1083
+ },
1084
+ {
1085
+ "internalType": "Timestamp",
1086
+ "name": "activatedAt",
1087
+ "type": "uint40"
1088
+ },
1089
+ {
1090
+ "internalType": "Timestamp",
1091
+ "name": "expiredAt",
1092
+ "type": "uint40"
1093
+ },
1094
+ {
1095
+ "internalType": "Timestamp",
1096
+ "name": "closedAt",
1097
+ "type": "uint40"
1098
+ }
1099
+ ],
1100
+ "internalType": "struct IPolicy.PolicyInfo",
1101
+ "name": "policyInfo",
1102
+ "type": "tuple"
1103
+ },
1104
+ {
1105
+ "internalType": "Amount",
1106
+ "name": "payoutAmount",
1107
+ "type": "uint96"
537
1108
  }
538
1109
  ],
539
- "name": "initialize",
1110
+ "name": "reduceCollateral",
540
1111
  "outputs": [],
541
1112
  "stateMutability": "nonpayable",
542
1113
  "type": "function"
@@ -544,38 +1115,141 @@
544
1115
  {
545
1116
  "inputs": [
546
1117
  {
547
- "internalType": "Version",
548
- "name": "_version",
549
- "type": "uint24"
1118
+ "internalType": "address",
1119
+ "name": "poolAddress",
1120
+ "type": "address"
550
1121
  }
551
1122
  ],
552
- "name": "isInitialized",
1123
+ "name": "register",
553
1124
  "outputs": [
554
1125
  {
555
- "internalType": "bool",
556
- "name": "",
557
- "type": "bool"
1126
+ "internalType": "NftId",
1127
+ "name": "poolNftId",
1128
+ "type": "uint96"
558
1129
  }
559
1130
  ],
560
- "stateMutability": "view",
1131
+ "stateMutability": "nonpayable",
561
1132
  "type": "function"
562
1133
  },
563
1134
  {
564
- "inputs": [],
565
- "name": "linkToRegisteredNftId",
1135
+ "inputs": [
1136
+ {
1137
+ "internalType": "bytes4",
1138
+ "name": "interfaceId",
1139
+ "type": "bytes4"
1140
+ }
1141
+ ],
1142
+ "name": "registerInterface",
566
1143
  "outputs": [],
567
1144
  "stateMutability": "nonpayable",
568
1145
  "type": "function"
569
1146
  },
570
1147
  {
571
1148
  "inputs": [
1149
+ {
1150
+ "internalType": "contract IInstance",
1151
+ "name": "instance",
1152
+ "type": "address"
1153
+ },
572
1154
  {
573
1155
  "internalType": "NftId",
574
- "name": "bundleNftId",
1156
+ "name": "policyNftId",
575
1157
  "type": "uint96"
1158
+ },
1159
+ {
1160
+ "components": [
1161
+ {
1162
+ "internalType": "NftId",
1163
+ "name": "productNftId",
1164
+ "type": "uint96"
1165
+ },
1166
+ {
1167
+ "internalType": "NftId",
1168
+ "name": "bundleNftId",
1169
+ "type": "uint96"
1170
+ },
1171
+ {
1172
+ "internalType": "ReferralId",
1173
+ "name": "referralId",
1174
+ "type": "bytes8"
1175
+ },
1176
+ {
1177
+ "internalType": "RiskId",
1178
+ "name": "riskId",
1179
+ "type": "bytes8"
1180
+ },
1181
+ {
1182
+ "internalType": "Amount",
1183
+ "name": "sumInsuredAmount",
1184
+ "type": "uint96"
1185
+ },
1186
+ {
1187
+ "internalType": "Amount",
1188
+ "name": "premiumAmount",
1189
+ "type": "uint96"
1190
+ },
1191
+ {
1192
+ "internalType": "Amount",
1193
+ "name": "premiumPaidAmount",
1194
+ "type": "uint96"
1195
+ },
1196
+ {
1197
+ "internalType": "Seconds",
1198
+ "name": "lifetime",
1199
+ "type": "uint40"
1200
+ },
1201
+ {
1202
+ "internalType": "bytes",
1203
+ "name": "applicationData",
1204
+ "type": "bytes"
1205
+ },
1206
+ {
1207
+ "internalType": "bytes",
1208
+ "name": "policyData",
1209
+ "type": "bytes"
1210
+ },
1211
+ {
1212
+ "internalType": "uint16",
1213
+ "name": "claimsCount",
1214
+ "type": "uint16"
1215
+ },
1216
+ {
1217
+ "internalType": "uint16",
1218
+ "name": "openClaimsCount",
1219
+ "type": "uint16"
1220
+ },
1221
+ {
1222
+ "internalType": "Amount",
1223
+ "name": "claimAmount",
1224
+ "type": "uint96"
1225
+ },
1226
+ {
1227
+ "internalType": "Amount",
1228
+ "name": "payoutAmount",
1229
+ "type": "uint96"
1230
+ },
1231
+ {
1232
+ "internalType": "Timestamp",
1233
+ "name": "activatedAt",
1234
+ "type": "uint40"
1235
+ },
1236
+ {
1237
+ "internalType": "Timestamp",
1238
+ "name": "expiredAt",
1239
+ "type": "uint40"
1240
+ },
1241
+ {
1242
+ "internalType": "Timestamp",
1243
+ "name": "closedAt",
1244
+ "type": "uint40"
1245
+ }
1246
+ ],
1247
+ "internalType": "struct IPolicy.PolicyInfo",
1248
+ "name": "policyInfo",
1249
+ "type": "tuple"
576
1250
  }
577
1251
  ],
578
- "name": "lockBundle",
1252
+ "name": "releaseCollateral",
579
1253
  "outputs": [],
580
1254
  "stateMutability": "nonpayable",
581
1255
  "type": "function"
@@ -584,47 +1258,24 @@
584
1258
  "inputs": [
585
1259
  {
586
1260
  "internalType": "address",
587
- "name": "componentAddress",
1261
+ "name": "newAuthority",
588
1262
  "type": "address"
589
1263
  }
590
1264
  ],
591
- "name": "register",
592
- "outputs": [
593
- {
594
- "internalType": "NftId",
595
- "name": "componentNftId",
596
- "type": "uint96"
597
- }
598
- ],
1265
+ "name": "setAuthority",
1266
+ "outputs": [],
599
1267
  "stateMutability": "nonpayable",
600
1268
  "type": "function"
601
1269
  },
602
1270
  {
603
1271
  "inputs": [
604
1272
  {
605
- "internalType": "NftId",
606
- "name": "bundleNftId",
607
- "type": "uint96"
608
- },
609
- {
610
- "components": [
611
- {
612
- "internalType": "UFixed",
613
- "name": "fractionalFee",
614
- "type": "uint256"
615
- },
616
- {
617
- "internalType": "uint256",
618
- "name": "fixedFee",
619
- "type": "uint256"
620
- }
621
- ],
622
- "internalType": "struct Fee",
623
- "name": "fee",
624
- "type": "tuple"
1273
+ "internalType": "RoleId",
1274
+ "name": "bundleOwnerRole",
1275
+ "type": "uint64"
625
1276
  }
626
1277
  ],
627
- "name": "setBundleFee",
1278
+ "name": "setBundleOwnerRole",
628
1279
  "outputs": [],
629
1280
  "stateMutability": "nonpayable",
630
1281
  "type": "function"
@@ -688,6 +1339,19 @@
688
1339
  "stateMutability": "nonpayable",
689
1340
  "type": "function"
690
1341
  },
1342
+ {
1343
+ "inputs": [
1344
+ {
1345
+ "internalType": "Amount",
1346
+ "name": "maxCapitalAmount",
1347
+ "type": "uint96"
1348
+ }
1349
+ ],
1350
+ "name": "setMaxCapitalAmount",
1351
+ "outputs": [],
1352
+ "stateMutability": "nonpayable",
1353
+ "type": "function"
1354
+ },
691
1355
  {
692
1356
  "inputs": [
693
1357
  {
@@ -710,168 +1374,65 @@
710
1374
  {
711
1375
  "inputs": [
712
1376
  {
713
- "internalType": "contract IInstance",
714
- "name": "instance",
715
- "type": "address"
716
- },
717
- {
718
- "internalType": "NftId",
719
- "name": "policyNftId",
720
- "type": "uint96"
721
- },
722
- {
723
- "internalType": "NftId",
724
- "name": "bundleNftId",
725
- "type": "uint96"
726
- },
727
- {
728
- "internalType": "uint256",
729
- "name": "collateralAmount",
730
- "type": "uint256"
731
- },
732
- {
733
- "internalType": "uint256",
734
- "name": "netPremiumAmount",
735
- "type": "uint256"
1377
+ "internalType": "bytes",
1378
+ "name": "data",
1379
+ "type": "bytes"
736
1380
  }
737
1381
  ],
738
- "name": "underwritePolicy",
1382
+ "name": "upgradeVersionable",
739
1383
  "outputs": [],
740
1384
  "stateMutability": "nonpayable",
741
1385
  "type": "function"
742
- },
743
- {
744
- "inputs": [
1386
+ }
1387
+ ],
1388
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b615d8c80620000e66000396000f3fe60806040523480156200001157600080fd5b5060043610620002255760003560e01c80637738eb861162000131578063a8de511711620000bb578063caf4e3d41162000086578063caf4e3d41462000521578063cc9fc59a146200052b578063d0d63b091462000535578063f7c34ee0146200054c578063fce06ca8146200056357600080fd5b8063a8de511714620004c3578063ada9652e14620004da578063b68d180914620004f1578063bf7e214f146200050157600080fd5b80638e32e97911620000fc5780638e32e979146200045a5780638fb360371462000471578063991cbfb31462000495578063a3c2605214620004ac57600080fd5b80637738eb86146200040b5780637a9e5e4b1462000422578063826787661462000439578063893d20e8146200045057600080fd5b806336fc697e11620001b35780635ab1bd53116200017e5780635ab1bd531462000397578063644c45e014620003bd578063673ad94f14620003dd578063675393bf14620003f457600080fd5b806336fc697e146200032f5780633cc70e3e14620003395780634420e486146200035057806349bb9e4b146200038057600080fd5b80631eff4b2211620001f45780631eff4b2214620002b3578063214cdb8014620002ea57806327bb7a331462000301578063329d6e74146200031857600080fd5b806301ffc9a7146200022a5780630d8e6e2c146200026f5780630fec111c146200028e578063138461e014620002a7575b600080fd5b6200025a6200023b36600462004059565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b620002796200057a565b60405162ffffff909116815260200162000266565b6200029862000607565b604051620002669190620040d9565b620002b162000734565b005b620002db7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200162000266565b620002b1620002fb36600462004059565b62000949565b620002b162000312366004620043a1565b62000978565b620002b16200032936600462004447565b62000a23565b620002b162000b7b565b620002b16200034a3660046200466d565b62000bc3565b620003676200036136600462004702565b62000fc5565b6040516001600160601b03909116815260200162000266565b620002b16200039136600462004722565b62001563565b6001546001600160a01b03165b6040516001600160a01b03909116815260200162000266565b60008051602062005cf7833981519152546001600160601b031662000367565b620002b1620003ee36600462004777565b6200166b565b620002b16200040536600462004702565b620018dc565b620003676200041c366004620047ca565b620019f5565b620002b16200043336600462004702565b62001c67565b620002b16200044a36600462004891565b62001d09565b620003a462001f3a565b620002b16200046b366004620048de565b62002079565b6200047b620022cd565b6040516001600160e01b0319909116815260200162000266565b620002b1620004a636600462004930565b62002308565b620002b1620004bd36600462004a45565b62002aa9565b620002b1620004d436600462004a65565b62002d6b565b620002db60008051602062005cf783398151915281565b604051608c815260200162000266565b60008051602062005d17833981519152546001600160a01b0316620003a4565b620003a462002e61565b620003a462002e6f565b620002b16200054636600462004777565b62002e7d565b620002b16200055d36600462004ace565b62002fb3565b620002b16200057436600462004b0c565b62003032565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015620005dc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000602919062004b8a565b905090565b620006116200400d565b6040805160e081018252600081527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116602084015260ff600160601b8204811694840194909452600160681b90049092161515606082015230608082015260a081016200068862001f3a565b6001600160a01b03168152602001826001018054620006a79062004bb1565b80601f0160208091040260200160405190810160405280929190818152602001828054620006d59062004bb1565b8015620007265780601f10620006fa5761010080835404028352916020019162000726565b820191906000526020600020905b8154815290600101906020018083116200070857829003601f168201915b505050505081525091505090565b600060008051602062005cf783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015620007a5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620007cb919062004bfa565b15620007fd5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b30620008116001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156200085a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000880919062004bfa565b620008aa5760405163b9304b0d60e01b81526001600160a01b0382166004820152602401620007f4565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015620008ff573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000925919062004c27565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b620009536200309d565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b620009826200309d565b6200098e828762002fb3565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30162000a19838262004c99565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c62000a476200057a565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af415801562000a88573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000aae919062004d72565b60008051602062005d378339815191528054600160401b900460ff168062000ae3575080546001600160401b03808416911610155b1562000b025760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815562000b2e83620030d8565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a1505050565b62000b856200309d565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000856001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000c04573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000c2a919062004d92565b60405163242bdc1960e21b81526001600160601b03871660048201529091506000906001600160a01b038316906390af70649060240161014060405180830381865afa15801562000c7f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000ca5919062004df2565b606001516020850151604051634793b4ab60e01b81526001600160601b0382166004820152919250906000906001600160a01b03851690634793b4ab90602401600060405180830381865afa15801562000d03573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000d2d919081019062004f06565b905062000d3f816000015184620030e2565b1562000d75578051604051630a49ea2360e01b81526001600160601b0391821660048201529084166024820152604401620007f4565b60405163f0ea17c360e01b81526001600160601b03841660048201526000906001600160a01b0386169063f0ea17c390602401600060405180830381865afa15801562000dc6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000df091908101906200501a565b905060008160c0015180602001905181019062000e0e919062005114565b608089015160025460405163377a6db760e01b81526001600160a01b038f811660048301526001600160601b03808f166024840152808a16604484015280851660648401528c16608483015293945091928a9291169063377a6db79060a401600060405180830381600087803b15801562000e8857600080fd5b505af115801562000e9d573d6000803e3d6000fd5b505050508260e001511562000fb657600062000ec16001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b038a1660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562000f11573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000f3b91908101906200522e565b608001519050806001600160a01b0316639e2177a78d8d61010001518a8a60400151886040518663ffffffff1660e01b815260040162000f80959493929190620052df565b600060405180830381600087803b15801562000f9b57600080fd5b505af115801562000fb0573d6000803e3d6000fd5b50505050505b50505050505050505050505050565b60008080808062000fe286608c62000fdc620030f9565b62003173565b9296509094509250905085600062000ff962002e61565b604051637286e5e560e01b81526001600160a01b03848116600483015287811660248301529190911690637286e5e5906044016000604051808303816000875af11580156200104c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200107691908101906200522e565b9050816001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015620010b457600080fd5b505af1158015620010c9573d6000803e3d6000fd5b50505050806000015196506000826001600160a01b03166390edbd356040518163ffffffff1660e01b8152600401600060405180830381865afa15801562001115573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200113f91908101906200501a565b9050806020015160405162001154906200404b565b6001600160a01b039091168152602001604051809103906000f08015801562001181573d6000803e3d6000fd5b5081604001906001600160a01b031690816001600160a01b031681525050846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015620011de573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001204919062004d92565b6001600160a01b031663d5c9d77d89836040518363ffffffff1660e01b815260040162001233929190620053c2565b600060405180830381600087803b1580156200124e57600080fd5b505af115801562001263573d6000803e3d6000fd5b506000925060029150620012749050565b604051908082528060200260200182016040528015620012a957816020015b6060815260200190600190039081620012935790505b50604080516001808252818301909252919250602080830190803683370190505081600081518110620012e057620012e0620053e6565b6020908102919091010152604080516001808252818301909252908160200160208202803683370190505081600181518110620013215762001321620053e6565b6020026020010181905250638267876660e01b816000815181106200134a576200134a620053e6565b6020026020010151600081518110620013675762001367620053e6565b6001600160e01b0319909216602092830291909101909101528051639e2177a760e01b9082906001908110620013a157620013a1620053e6565b6020026020010151600081518110620013be57620013be620053e6565b6001600160e01b031992909216602092830291909101820152604080516002808252606082018352600093919290918301908036833701905050905062001404620030f9565b816000815181106200141a576200141a620053e6565b60200260200101906001600160401b031690816001600160401b031681525050620014446200347b565b816001815181106200145a576200145a620053e6565b60200260200101906001600160401b031690816001600160401b0316815250506200148462002e6f565b6001600160a01b0316636c6fbb28878d886001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015620014d3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620014fd9190810190620053fc565b86866040518663ffffffff1660e01b8152600401620015219594939291906200547a565b600060405180830381600087803b1580156200153c57600080fd5b505af115801562001551573d6000803e3d6000fd5b50505050505050505050505050919050565b60008051602062005d378339815191528054600160401b810460ff1615906001600160401b0316600081158015620015985750825b90506000826001600160401b03166001148015620015b55750303b155b905081158015620015c4575080155b15620015e35760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156200160e57845460ff60401b1916600160401b1785555b6200161a8787620034b8565b83156200166257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000806200167a608c6200370c565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015620016c0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620016e6919062004d92565b60405163f0ea17c360e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa1580156200173a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200176491908101906200501a565b905060008160c0015180602001905181019062001782919062005114565b604080820180516001600160601b038a16909152905191925090620017ac90839060200162005556565b6040516020818303038152906040528360c00181905250846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001802573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001828919062004d92565b6001600160a01b031663a4eeee59878560ff6040518463ffffffff1660e01b81526004016200185a9392919062005685565b600060405180830381600087803b1580156200187557600080fd5b505af11580156200188a573d6000803e3d6000fd5b5050604080516001600160601b03808b16825280861660208301528b16918101919091527f15f0f748447bed1cb913d60c17d7d4a527d11df02aae753d4c2e07c88f2ec2159250606001905062001659565b620018e66200309d565b806001600160a01b03163b6000036200191e5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620007f4565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa9250505080156200199b575060408051601f3d908101601f19168201909252620019989181019062004bfa565b60015b620019c55760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620007f4565b80620019f05760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620007f4565b505b50565b6000808062001a05608c6200370c565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001a4b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001a71919062004d92565b60405163f0ea17c360e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa15801562001ac5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001aef91908101906200501a565b9050600062001aff828b620038be565b9050600260009054906101000a90046001600160a01b03166001600160a01b031663e283b4a985878f8f868f8f8f6040518963ffffffff1660e01b815260040162001b52989796959493929190620056bc565b6020604051808303816000875af115801562001b72573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001b98919062004c27565b955062001ba7828d8c62003a0b565b7f0dcadf661b8b2888423f78a848a77785b4dc0138395b12584835f6a65dfcea79846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001c07573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001c2d919062004c27565b604080516001600160601b03928316815282891660208201529189169082015260600160405180910390a150505050509695505050505050565b3362001c8960008051602062005d17833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b03161462001cc65760405162d1953b60e31b81526001600160a01b0382166004820152602401620007f4565b816001600160a01b03163b60000362001cfe576040516361798f2f60e11b81526001600160a01b0383166004820152602401620007f4565b620019f08262003b19565b60008062001d18608c6200370c565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001d5e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001d84919062004d92565b60405163f0ea17c360e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa15801562001dd8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001e0291908101906200501a565b905060008160c0015180602001905181019062001e20919062005114565b61014081018990526101608101889052610180810187905260405190915062001e4e90829060200162005556565b6040516020818303038152906040528260c00181905250836001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001ea4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001eca919062004d92565b6001600160a01b031663a4eeee59868460ff6040518463ffffffff1660e01b815260040162001efc9392919062005685565b600060405180830381600087803b15801562001f1757600080fd5b505af115801562001f2c573d6000803e3d6000fd5b505050505050505050505050565b60008060008051602062005cf783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562001fac573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001fd2919062004bfa565b1562002063576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801562002037573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200205d919062004d92565b91505090565b54600160601b90046001600160a01b0316919050565b620020836200309d565b6200210883846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015620020c7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620020ed919062004c27565b603c6000856040518060200160405280600081525062000978565b6001600160a01b038216156200212957620021238262003b7b565b620022a4565b60006200213e6001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af41580156200219f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620021c591906200574d565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156200220b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002231919062004d92565b9050620022a2816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002276573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200229c919062004d92565b62003b7b565b505b620022b6634a531f3360e01b62000949565b620022c863b68d180960e01b62000949565b505050565b60008051602062005d17833981519152805460009190600160a01b900460ff16620022fa5760006200205d565b638fb3603760e01b91505090565b60006200231d6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa15801562002371573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200239b91908101906200522e565b60208101516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0384169063a48f42e090602401600060405180830381865afa158015620023f5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200241f91908101906200522e565b60208101516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0385169063a48f42e090602401600060405180830381865afa15801562002479573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620024a391908101906200522e565b9050600081608001519050600073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__634c41dd968961010001518a60800151620024e191906200576d565b6040518263ffffffff1660e01b81526004016200250091815260200190565b602060405180830381865af41580156200251e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002544919062004c27565b9050600073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__634c41dd968a61012001518b60a001516200257991906200576d565b6040518263ffffffff1660e01b81526004016200259891815260200190565b602060405180830381865af4158015620025b6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620025dc919062004c27565b90506000620026786200267173__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__634c41dd968d600001516040518263ffffffff1660e01b81526004016200262691815260200190565b602060405180830381865af415801562002644573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200266a919062004c27565b8562003b90565b8362003b90565b905062002686898262003c22565b620026b857604051639080fd1360e01b81526001600160601b0380831660048301528a166024820152604401620007f4565b6040516330b8415f60e01b81526001600160601b038416600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906330b8415f90602401602060405180830381865af415801562002711573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002737919062004bfa565b156200299e576000846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200277e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620027a4919062004d92565b875160405163f0ea17c360e01b81526001600160601b0390911660048201526001600160a01b03919091169063f0ea17c390602401600060405180830381865afa158015620027f7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200282191908101906200501a565b60a081015160405163274acb3560e01b81526001600160601b039182166004820152908616602482015290915073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063274acb3590604401602060405180830381865af41580156200288b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620028b1919062004c27565b6001600160601b031660a082015260408051631a99b41b60e31b815290516001600160a01b0387169163d4cda0d89160048083019260209291908290030181865afa15801562002905573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200292b919062004d92565b6001600160a01b031663a4eeee598860000151836200294860ff90565b6040518463ffffffff1660e01b8152600401620029689392919062005685565b600060405180830381600087803b1580156200298357600080fd5b505af115801562002998573d6000803e3d6000fd5b50505050505b6040516330b8415f60e01b81526001600160601b038316600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906330b8415f90602401602060405180830381865af4158015620029f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002a1d919062004bfa565b1562002a9c57600254604051632dd597e760e21b81526001600160a01b0386811660048301526001600160601b03808f166024840152851660448301529091169063b7565f9c90606401600060405180830381600087803b15801562002a8257600080fd5b505af115801562002a97573d6000803e3d6000fd5b505050505b5050505050505050505050565b60008062002ab8608c6200370c565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002afe573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002b24919062004d92565b60405163f0ea17c360e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa15801562002b78573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262002ba291908101906200501a565b905060008160c0015180602001905181019062002bc0919062005114565b905062002be7816020015162002bd562003cac565b6001600160401b039081169116141590565b1562002c125760405163eff765ff60e01b81526001600160601b0386166004820152602401620007f4565b6001600160401b03861660208083019190915260405162002c369183910162005556565b6040516020818303038152906040528260c00181905250836001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002c8c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002cb2919062004d92565b6001600160a01b031663a4eeee59868460ff6040518463ffffffff1660e01b815260040162002ce49392919062005685565b600060405180830381600087803b15801562002cff57600080fd5b505af115801562002d14573d6000803e3d6000fd5b5050604080516001600160601b03891681526001600160401b038a1660208201527fe7e6a7a42cbdb2d274dfaaac06073a09d6095ca3745ce71fe5a137f8247ea23e935001905060405180910390a1505050505050565b600254602082015160808301516101808401516001600160a01b039093169263ad328d9f928792879262002da0919062003cee565b6040518563ffffffff1660e01b815260040162002dc194939291906200578f565b600060405180830381600087803b15801562002ddc57600080fd5b505af115801562002df1573d6000803e3d6000fd5b50506002546040516301d90a6f60e61b81526001600160a01b0387811660048301526001600160601b038716602483015290911692506376429bc09150604401600060405180830381600087803b15801562002e4c57600080fd5b505af115801562001662573d6000803e3d6000fd5b600062000602602862003d3a565b600062000602604662003d3a565b60008062002e8c608c6200370c565b600254604051632aa6b2cb60e21b81526001600160a01b0380841660048301526001600160601b0389166024830152949650919450929092169163aa9acb2c9150604401600060405180830381600087803b15801562002eeb57600080fd5b505af115801562002f00573d6000803e3d6000fd5b505050507f64c75a4392ba38fee1b5a44b61e3dd0cae424d2d43eb2b0c99772efe31e1c042816001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002f64573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002f8a919062004c27565b604080516001600160601b03928316815282861660208201529186169082015260600162000b6e565b62002fbd6200309d565b62002fc881620018dc565b62002fd262000b7b565b6001600160a01b03821662002ffa5760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602062005cf783398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600254602083015160405163ad328d9f60e01b81526001600160a01b039092169163ad328d9f916200306d918891889187906004016200578f565b600060405180830381600087803b1580156200308857600080fd5b505af115801562000a19573d6000803e3d6000fd5b60008051602062005d3783398151915254600160401b900460ff16620030d657604051631afcd79f60e31b815260040160405180910390fd5b565b620002256200309d565b6001600160601b0382811690821614155b92915050565b6040516368aebf7b60e01b815260048082015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af41580156200314d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000602919062004d72565b6040516301ffc9a760e01b815263bcb0007960e01b60048201528390339060009081906001600160a01b038516906301ffc9a790602401602060405180830381865afa158015620031c8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620031ee919062004bfa565b62003218576040516359bff0e360e11b81526001600160a01b0388166004820152602401620007f4565b6000846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801562003259573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200328391908101906200522e565b90506200329b81604001518860ff9081169116141590565b15620032dd576040808201519051634a2e948760e11b81526001600160a01b038a16600482015260ff808a1660248301529091166044820152606401620007f4565b60a08101516001600160a01b0385811690821614620033315760a0820151604051632b50a20960e21b81526001600160a01b03808c16600483015291821660248201529086166044820152606401620007f4565b81602001519250620033438362003e50565b9350836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa15801562003384573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620033aa919062004d92565b6040516368fc2b7760e11b81526001600160401b03891660048201526001600160a01b038781166024830152919091169063d1f856ee90604401602060405180830381865afa15801562003402573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003428919062004bfa565b6200347057604051636af540d960e01b81526001600160601b03841660048201526001600160401b03881660248201526001600160a01b0386166044820152606401620007f4565b505093509350935093565b6040516368aebf7b60e01b815261096a600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016200312f565b60008051602062005d378339815191528054600160401b810460ff1615906001600160401b0316600081158015620034ed5750825b90506000826001600160401b031660011480156200350a5750303b155b90508115801562003519575080155b15620035385760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156200356357845460ff60401b1916600160401b1785555b600080878060200190518101906200357c9190620057c1565b90925090506200358f8260008b62002079565b6001546001600160a01b031663d39e604360dc620035ac6200057a565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801562003602573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200362891906200574d565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156200366e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003694919062004d92565b600280546001600160a01b0319166001600160a01b0392909216919091179055620036c6630152d21960e61b62000949565b505083156200166257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200162001659565b6000620037186200400d565b60006200372d6001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa15801562003774573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200379a919062004c27565b9250620037a8838562003ee9565b8092508193505050806001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015620037ef573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003815919062004d92565b6080830151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa15801562003860573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003886919062004bfa565b15620038b757608082015160405163d53987e560e01b81526001600160a01b039091166004820152602401620007f4565b9193909250565b600081905060008360c00151806020019051810190620038df919062005114565b61016001516040516305deb8b760e01b815290915073__$a23651848365a6a5ca15f07b4331037f48$__906305deb8b79062003920908490600401620057f5565b602060405180830381865af41580156200393e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003964919062004bfa565b1562003a0457604051634f69237560e11b815281516004820152602082015160248201526001600160601b0384166044820152600090819073__$a23651848365a6a5ca15f07b4331037f48$__90639ed246ea906064016040805180830381865af4158015620039d8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620039fe91906200580d565b94505050505b5092915050565b604083810151606085015191516330b8415f60e01b81526001600160601b038416600482015290919073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906330b8415f90602401602060405180830381865af415801562003a71573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003a97919062004bfa565b1562003b125760405163c661667d60e01b81526001600160a01b03858116600483015282811660248301526001600160601b038516604483015283169063c661667d90606401600060405180830381600087803b15801562003af857600080fd5b505af115801562003b0d573d6000803e3d6000fd5b505050505b5050505050565b60008051602062005d1783398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b62003b856200309d565b620019f28162003ff8565b60405163274acb3560e01b81526001600160601b0380841660048301528216602482015260009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063274acb35906044015b602060405180830381865af415801562003bf5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003c1b919062004c27565b9392505050565b60405163c4cade9d60e01b81526001600160601b0380841660048301528216602482015260009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063c4cade9d90604401602060405180830381865af415801562003c86573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003c1b919062004bfa565b6040516368aebf7b60e01b81526001600160401b03600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016200312f565b6040516363cf551160e11b81526001600160601b0380841660048301528216602482015260009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063c79eaa229060440162003bd7565b600062003d4f6001546001600160a01b031690565b6001600160a01b031663d39e60438362003d686200057a565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801562003dbe573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003de491906200574d565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801562003e2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620030f3919062004d92565b600062003e656001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562003eb5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262003edf91908101906200522e565b6080015192915050565b62003ef36200400d565b600062003f086001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562003f58573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262003f8291908101906200522e565b915062003f9a82604001518460ff9081169116141590565b1562003fe057608082015160408084015190516304081d4960e41b81526001600160a01b03909216600483015260ff8086166024840152166044820152606401620007f4565b62003fef826020015162003e50565b90509250929050565b620040026200309d565b620019f28162003b19565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6104b5806200584283390190565b6000602082840312156200406c57600080fd5b81356001600160e01b03198116811462003c1b57600080fd5b60005b83811015620040a257818101518382015260200162004088565b50506000910152565b60008151808452620040c581602086016020860162004085565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516200414360c08401826001600160a01b03169052565b5060c083015160e0808401526200415f610100840182620040ab565b949350505050565b6001600160a01b0381168114620019f257600080fd5b6001600160601b0381168114620019f257600080fd5b8035620041a0816200417d565b919050565b60ff81168114620019f257600080fd5b8015158114620019f257600080fd5b634e487b7160e01b600052604160045260246000fd5b60405161022081016001600160401b0381118282101715620042005762004200620041c4565b60405290565b604080519081016001600160401b0381118282101715620042005762004200620041c4565b6040516101e081016001600160401b0381118282101715620042005762004200620041c4565b60405161010081016001600160401b0381118282101715620042005762004200620041c4565b60405161012081016001600160401b0381118282101715620042005762004200620041c4565b60405160e081016001600160401b0381118282101715620042005762004200620041c4565b6040516101a081016001600160401b0381118282101715620042005762004200620041c4565b604051601f8201601f191681016001600160401b0381118282101715620043135762004313620041c4565b604052919050565b60006001600160401b03821115620043375762004337620041c4565b50601f01601f191660200190565b600082601f8301126200435757600080fd5b81356200436e62004368826200431b565b620042e8565b8181528460208386010111156200438457600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215620043bb57600080fd5b8635620043c88162004167565b95506020870135620043da816200417d565b94506040870135620043ec81620041a5565b93506060870135620043fe81620041b5565b92506080870135620044108162004167565b915060a08701356001600160401b038111156200442c57600080fd5b6200443a89828a0162004345565b9150509295509295509295565b6000602082840312156200445a57600080fd5b81356001600160401b038111156200447157600080fd5b6200415f8482850162004345565b80356001600160c01b031981168114620041a057600080fd5b64ffffffffff81168114620019f257600080fd5b8035620041a08162004498565b803561ffff81168114620041a057600080fd5b60006102208284031215620044e057600080fd5b620044ea620041da565b9050620044f78262004193565b8152620045076020830162004193565b60208201526200451a604083016200447f565b60408201526200452d606083016200447f565b6060820152620045406080830162004193565b60808201526200455360a0830162004193565b60a08201526200456660c0830162004193565b60c08201526200457960e08301620044ac565b60e0820152610100808301356001600160401b03808211156200459b57600080fd5b620045a98683870162004345565b83850152610120925082850135915080821115620045c657600080fd5b50620045d58582860162004345565b828401525050610140620045eb818401620044b9565b90820152610160620045ff838201620044b9565b908201526101806200461383820162004193565b908201526101a06200462783820162004193565b908201526101c06200463b838201620044ac565b908201526101e06200464f838201620044ac565b9082015261020062004663838201620044ac565b9082015292915050565b600080600080600060a086880312156200468657600080fd5b8535620046938162004167565b94506020860135620046a5816200417d565b93506040860135620046b7816200417d565b925060608601356001600160401b03811115620046d357600080fd5b620046e188828901620044cc565b9250506080860135620046f4816200417d565b809150509295509295909350565b6000602082840312156200471557600080fd5b813562003c1b8162004167565b600080604083850312156200473657600080fd5b8235620047438162004167565b915060208301356001600160401b038111156200475f57600080fd5b6200476d8582860162004345565b9150509250929050565b6000602082840312156200478a57600080fd5b813562003c1b816200417d565b600060408284031215620047aa57600080fd5b620047b462004206565b9050813581526020820135602082015292915050565b60008060008060008060c08789031215620047e457600080fd5b8635620047f18162004167565b955062004802886020890162004797565b9450606087013562004814816200417d565b93506080870135620048268162004498565b925060a08701356001600160401b03808211156200484357600080fd5b818901915089601f8301126200485857600080fd5b8135818111156200486857600080fd5b8a60208285010111156200487b57600080fd5b6020830194508093505050509295509295509295565b600080600060c08486031215620048a757600080fd5b620048b3858562004797565b9250620048c4856040860162004797565b9150620048d5856080860162004797565b90509250925092565b600080600060608486031215620048f457600080fd5b8335620049018162004167565b92506020840135620049138162004167565b91506040840135620049258162004167565b809150509250925092565b60008060008385036102208112156200494857600080fd5b843562004955816200417d565b93506101e0601f1982018113156200496c57600080fd5b620049766200422b565b91506020860135825260408601356020830152606086013560408301526080860135606083015260a0860135608083015260c086013560a083015260e086013560c08301526101008087013560e084015261012080880135828501526101409150818801358185015250610160808801358285015261018091508188013581850152506101a080880135828501526101c091508188013581850152508187013581840152505080925050620048d5610200850162004193565b6001600160401b0381168114620019f257600080fd5b60006020828403121562004a5857600080fd5b813562003c1b8162004a2f565b60008060006060848603121562004a7b57600080fd5b833562004a888162004167565b9250602084013562004a9a816200417d565b915060408401356001600160401b0381111562004ab657600080fd5b62004ac486828701620044cc565b9150509250925092565b6000806040838503121562004ae257600080fd5b823562004aef8162004167565b9150602083013562004b018162004167565b809150509250929050565b6000806000806080858703121562004b2357600080fd5b843562004b308162004167565b9350602085013562004b42816200417d565b925060408501356001600160401b0381111562004b5e57600080fd5b62004b6c87828801620044cc565b925050606085013562004b7f816200417d565b939692955090935050565b60006020828403121562004b9d57600080fd5b815162ffffff8116811462003c1b57600080fd5b600181811c9082168062004bc657607f821691505b60208210810362004be757634e487b7160e01b600052602260045260246000fd5b50919050565b8051620041a081620041b5565b60006020828403121562004c0d57600080fd5b815162003c1b81620041b5565b8051620041a0816200417d565b60006020828403121562004c3a57600080fd5b815162003c1b816200417d565b601f821115620022c857600081815260208120601f850160051c8101602086101562004c705750805b601f850160051c820191505b8181101562004c915782815560010162004c7c565b505050505050565b81516001600160401b0381111562004cb55762004cb5620041c4565b62004ccd8162004cc6845462004bb1565b8462004c47565b602080601f83116001811462004d05576000841562004cec5750858301515b600019600386901b1c1916600185901b17855562004c91565b600085815260208120601f198616915b8281101562004d365788860151825594840194600190910190840162004d15565b508582101562004d555787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b8051620041a08162004a2f565b60006020828403121562004d8557600080fd5b815162003c1b8162004a2f565b60006020828403121562004da557600080fd5b815162003c1b8162004167565b8051620041a08162004167565b60006040828403121562004dd257600080fd5b62004ddc62004206565b9050815181526020820151602082015292915050565b6000610140828403121562004e0657600080fd5b62004e1062004251565b62004e1b8362004db2565b815262004e2b6020840162004db2565b602082015262004e3e6040840162004c1a565b604082015262004e516060840162004c1a565b606082015262004e65846080850162004dbf565b608082015262004e798460c0850162004dbf565b60a082015262004e8d610100840162004bed565b60c082015262004ea1610120840162004db2565b60e08201529392505050565b600082601f83011262004ebf57600080fd5b815162004ed062004368826200431b565b81815284602083860101111562004ee657600080fd5b6200415f82602083016020870162004085565b8051620041a08162004498565b60006020828403121562004f1957600080fd5b81516001600160401b038082111562004f3157600080fd5b90830190610140828603121562004f4757600080fd5b62004f5162004277565b62004f5c8362004c1a565b815262004f6d866020850162004dbf565b602082015260608301518281111562004f8557600080fd5b62004f938782860162004ead565b60408301525062004fa76080840162004c1a565b606082015262004fba60a0840162004c1a565b608082015262004fcd60c0840162004c1a565b60a082015262004fe060e0840162004ef9565b60c0820152610100915062004ff782840162004ef9565b60e08201526200500b610120840162004ef9565b91810191909152949350505050565b6000602082840312156200502d57600080fd5b81516001600160401b03808211156200504557600080fd5b9083019060e082860312156200505a57600080fd5b620050646200429d565b8251828111156200507457600080fd5b620050828782860162004ead565b825250620050936020840162004db2565b6020820152620050a66040840162004db2565b6040820152620050b96060840162004db2565b6060820152620050cc6080840162004c1a565b6080820152620050df60a0840162004c1a565b60a082015260c083015182811115620050f757600080fd5b620051058782860162004ead565b60c08301525095945050505050565b600061020082840312156200512857600080fd5b62005132620042c2565b6200513d8362004c1a565b81526200514d6020840162004d65565b6020820152620051606040840162004c1a565b6040820152620051736060840162004c1a565b6060820152620051866080840162004c1a565b60808201526200519960a0840162004bed565b60a0820152620051ac60c0840162004bed565b60c0820152620051bf60e0840162004bed565b60e082015261010083810151908201526101208084015190820152610140620051eb8582860162004dbf565b90820152610180620052008585830162004dbf565b61016083015262005216856101c0860162004dbf565b908201529392505050565b8051620041a081620041a5565b6000602082840312156200524157600080fd5b81516001600160401b03808211156200525957600080fd5b9083019060e082860312156200526e57600080fd5b620052786200429d565b620052838362004c1a565b8152620052936020840162004c1a565b6020820152620052a66040840162005221565b6040820152620052b96060840162004bed565b6060820152620052cc6080840162004db2565b6080820152620050df60a0840162004db2565b60006001600160601b03808816835260a060208401526200530460a0840188620040ab565b81871660408501528381036060850152620053208187620040ab565b9250508084166080840152509695505050505050565b6000815160e084526200534d60e0850182620040ab565b9050602083015160018060a01b038082166020870152806040860151166040870152806060860151166060870152505060808301516001600160601b0380821660808701528060a08601511660a0870152505060c083015184820360c0860152620053b98282620040ab565b95945050505050565b6001600160601b03831681526040602082015260006200415f604083018462005336565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156200540f57600080fd5b81516001600160401b038111156200542657600080fd5b6200415f8482850162004ead565b600081518084526020808501945080840160005b838110156200546f5781516001600160401b03168752958201959082019060010162005448565b509495945050505050565b6001600160601b03861681526000602060018060a01b0387168184015260a06040840152620054ad60a0840187620040ab565b8381036060850152855180825282820190600581901b830184018489016000805b848110156200552f57868403601f19018652825180518086529089019089860190845b81811015620055195783516001600160e01b0319168352928b0192918b0191600101620054f1565b50509689019694505091870191600101620054ce565b505050868103608088015262005546818962005434565b9c9b505050505050505050505050565b81516001600160601b03168152610200810160208301516200558360208401826001600160401b03169052565b5060408301516200559f60408401826001600160601b03169052565b506060830151620055bb60608401826001600160601b03169052565b506080830151620055d760808401826001600160601b03169052565b5060a0830151620055ec60a084018215159052565b5060c08301516200560160c084018215159052565b5060e08301516200561660e084018215159052565b50610100838101519083015261012080840151908301526101408084015180518285015260208101516101608501525050610160830151610180620056678185018380518252602090810151910152565b84015180516101c085015260208101516101e0850152905062003a04565b6001600160601b0384168152606060208201526000620056a9606083018562005336565b905060ff83166040830152949350505050565b6001600160a01b0389811682526001600160601b03898116602084015288821660408401526000916101009162005700606086018b80518252602090810151910152565b881660a08501525064ffffffffff861660c084015260e0830181905282018390526101208385828501376000838501820152601f909301601f191690910190910198975050505050505050565b6000602082840312156200576057600080fd5b815162003c1b81620041a5565b80820180821115620030f357634e487b7160e01b600052601160045260246000fd5b6001600160a01b039490941684526001600160601b039283166020850152908216604084015216606082015260800190565b60008060408385031215620057d557600080fd5b8251620057e28162004167565b602084015190925062004b018162004167565b815181526020808301519082015260408101620030f3565b600080604083850312156200582157600080fd5b82516200582e816200417d565b602084015190925062004b01816200417d56fe608060405234801561001057600080fd5b506040516104b53803806104b583398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b610422806100936000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806321df0da71461003b578063c661667d1461005a575b600080fd5b600054604080516001600160a01b039092168252519081900360200190f35b61006d61006836600461032a565b61006f565b005b60005460405163046e44af60e11b81526bffffffffffffffffffffffff8316600482015261010a916001600160a01b0316908590859073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906308dc895e90602401602060405180830381865af41580156100e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101059190610382565b61010f565b505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261016990859061016f565b50505050565b60006101846001600160a01b038416836101d7565b905080516000141580156101a95750808060200190518101906101a7919061039b565b155b1561010a57604051635274afe760e01b81526001600160a01b03841660048201526024015b60405180910390fd5b60606101e5838360006101ec565b9392505050565b6060814710156102115760405163cd78605960e01b81523060048201526024016101ce565b600080856001600160a01b0316848660405161022d91906103bd565b60006040518083038185875af1925050503d806000811461026a576040519150601f19603f3d011682016040523d82523d6000602084013e61026f565b606091505b509150915061027f868383610289565b9695505050505050565b60608261029e57610299826102e5565b6101e5565b81511580156102b557506001600160a01b0384163b155b156102de57604051639996b31560e01b81526001600160a01b03851660048201526024016101ce565b50806101e5565b8051156102f55780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b80356001600160a01b038116811461032557600080fd5b919050565b60008060006060848603121561033f57600080fd5b6103488461030e565b92506103566020850161030e565b915060408401356bffffffffffffffffffffffff8116811461037757600080fd5b809150509250925092565b60006020828403121561039457600080fd5b5051919050565b6000602082840312156103ad57600080fd5b815180151581146101e557600080fd5b6000825160005b818110156103de57602081860181015185830152016103c4565b50600092019182525091905056fea26469706673582212206527407be49ce27152c90b431b7430a6bf6b837533825111eff835d5f8e9989564736f6c6343000814003307ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212203f5dbaff0bc8268aed9860de9b0749da0aee6f3bdf4090001e7eb82d5ad031c864736f6c63430008140033",
1389
+ "deployedBytecode": "0x60806040523480156200001157600080fd5b5060043610620002255760003560e01c80637738eb861162000131578063a8de511711620000bb578063caf4e3d41162000086578063caf4e3d41462000521578063cc9fc59a146200052b578063d0d63b091462000535578063f7c34ee0146200054c578063fce06ca8146200056357600080fd5b8063a8de511714620004c3578063ada9652e14620004da578063b68d180914620004f1578063bf7e214f146200050157600080fd5b80638e32e97911620000fc5780638e32e979146200045a5780638fb360371462000471578063991cbfb31462000495578063a3c2605214620004ac57600080fd5b80637738eb86146200040b5780637a9e5e4b1462000422578063826787661462000439578063893d20e8146200045057600080fd5b806336fc697e11620001b35780635ab1bd53116200017e5780635ab1bd531462000397578063644c45e014620003bd578063673ad94f14620003dd578063675393bf14620003f457600080fd5b806336fc697e146200032f5780633cc70e3e14620003395780634420e486146200035057806349bb9e4b146200038057600080fd5b80631eff4b2211620001f45780631eff4b2214620002b3578063214cdb8014620002ea57806327bb7a331462000301578063329d6e74146200031857600080fd5b806301ffc9a7146200022a5780630d8e6e2c146200026f5780630fec111c146200028e578063138461e014620002a7575b600080fd5b6200025a6200023b36600462004059565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b620002796200057a565b60405162ffffff909116815260200162000266565b6200029862000607565b604051620002669190620040d9565b620002b162000734565b005b620002db7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200162000266565b620002b1620002fb36600462004059565b62000949565b620002b162000312366004620043a1565b62000978565b620002b16200032936600462004447565b62000a23565b620002b162000b7b565b620002b16200034a3660046200466d565b62000bc3565b620003676200036136600462004702565b62000fc5565b6040516001600160601b03909116815260200162000266565b620002b16200039136600462004722565b62001563565b6001546001600160a01b03165b6040516001600160a01b03909116815260200162000266565b60008051602062005cf7833981519152546001600160601b031662000367565b620002b1620003ee36600462004777565b6200166b565b620002b16200040536600462004702565b620018dc565b620003676200041c366004620047ca565b620019f5565b620002b16200043336600462004702565b62001c67565b620002b16200044a36600462004891565b62001d09565b620003a462001f3a565b620002b16200046b366004620048de565b62002079565b6200047b620022cd565b6040516001600160e01b0319909116815260200162000266565b620002b1620004a636600462004930565b62002308565b620002b1620004bd36600462004a45565b62002aa9565b620002b1620004d436600462004a65565b62002d6b565b620002db60008051602062005cf783398151915281565b604051608c815260200162000266565b60008051602062005d17833981519152546001600160a01b0316620003a4565b620003a462002e61565b620003a462002e6f565b620002b16200054636600462004777565b62002e7d565b620002b16200055d36600462004ace565b62002fb3565b620002b16200057436600462004b0c565b62003032565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015620005dc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000602919062004b8a565b905090565b620006116200400d565b6040805160e081018252600081527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116602084015260ff600160601b8204811694840194909452600160681b90049092161515606082015230608082015260a081016200068862001f3a565b6001600160a01b03168152602001826001018054620006a79062004bb1565b80601f0160208091040260200160405190810160405280929190818152602001828054620006d59062004bb1565b8015620007265780601f10620006fa5761010080835404028352916020019162000726565b820191906000526020600020905b8154815290600101906020018083116200070857829003601f168201915b505050505081525091505090565b600060008051602062005cf783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015620007a5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620007cb919062004bfa565b15620007fd5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b30620008116001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156200085a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000880919062004bfa565b620008aa5760405163b9304b0d60e01b81526001600160a01b0382166004820152602401620007f4565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015620008ff573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000925919062004c27565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b620009536200309d565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b620009826200309d565b6200098e828762002fb3565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30162000a19838262004c99565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c62000a476200057a565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af415801562000a88573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000aae919062004d72565b60008051602062005d378339815191528054600160401b900460ff168062000ae3575080546001600160401b03808416911610155b1562000b025760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815562000b2e83620030d8565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a1505050565b62000b856200309d565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000856001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000c04573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000c2a919062004d92565b60405163242bdc1960e21b81526001600160601b03871660048201529091506000906001600160a01b038316906390af70649060240161014060405180830381865afa15801562000c7f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000ca5919062004df2565b606001516020850151604051634793b4ab60e01b81526001600160601b0382166004820152919250906000906001600160a01b03851690634793b4ab90602401600060405180830381865afa15801562000d03573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000d2d919081019062004f06565b905062000d3f816000015184620030e2565b1562000d75578051604051630a49ea2360e01b81526001600160601b0391821660048201529084166024820152604401620007f4565b60405163f0ea17c360e01b81526001600160601b03841660048201526000906001600160a01b0386169063f0ea17c390602401600060405180830381865afa15801562000dc6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000df091908101906200501a565b905060008160c0015180602001905181019062000e0e919062005114565b608089015160025460405163377a6db760e01b81526001600160a01b038f811660048301526001600160601b03808f166024840152808a16604484015280851660648401528c16608483015293945091928a9291169063377a6db79060a401600060405180830381600087803b15801562000e8857600080fd5b505af115801562000e9d573d6000803e3d6000fd5b505050508260e001511562000fb657600062000ec16001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b038a1660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562000f11573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000f3b91908101906200522e565b608001519050806001600160a01b0316639e2177a78d8d61010001518a8a60400151886040518663ffffffff1660e01b815260040162000f80959493929190620052df565b600060405180830381600087803b15801562000f9b57600080fd5b505af115801562000fb0573d6000803e3d6000fd5b50505050505b50505050505050505050505050565b60008080808062000fe286608c62000fdc620030f9565b62003173565b9296509094509250905085600062000ff962002e61565b604051637286e5e560e01b81526001600160a01b03848116600483015287811660248301529190911690637286e5e5906044016000604051808303816000875af11580156200104c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200107691908101906200522e565b9050816001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015620010b457600080fd5b505af1158015620010c9573d6000803e3d6000fd5b50505050806000015196506000826001600160a01b03166390edbd356040518163ffffffff1660e01b8152600401600060405180830381865afa15801562001115573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200113f91908101906200501a565b9050806020015160405162001154906200404b565b6001600160a01b039091168152602001604051809103906000f08015801562001181573d6000803e3d6000fd5b5081604001906001600160a01b031690816001600160a01b031681525050846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015620011de573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001204919062004d92565b6001600160a01b031663d5c9d77d89836040518363ffffffff1660e01b815260040162001233929190620053c2565b600060405180830381600087803b1580156200124e57600080fd5b505af115801562001263573d6000803e3d6000fd5b506000925060029150620012749050565b604051908082528060200260200182016040528015620012a957816020015b6060815260200190600190039081620012935790505b50604080516001808252818301909252919250602080830190803683370190505081600081518110620012e057620012e0620053e6565b6020908102919091010152604080516001808252818301909252908160200160208202803683370190505081600181518110620013215762001321620053e6565b6020026020010181905250638267876660e01b816000815181106200134a576200134a620053e6565b6020026020010151600081518110620013675762001367620053e6565b6001600160e01b0319909216602092830291909101909101528051639e2177a760e01b9082906001908110620013a157620013a1620053e6565b6020026020010151600081518110620013be57620013be620053e6565b6001600160e01b031992909216602092830291909101820152604080516002808252606082018352600093919290918301908036833701905050905062001404620030f9565b816000815181106200141a576200141a620053e6565b60200260200101906001600160401b031690816001600160401b031681525050620014446200347b565b816001815181106200145a576200145a620053e6565b60200260200101906001600160401b031690816001600160401b0316815250506200148462002e6f565b6001600160a01b0316636c6fbb28878d886001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015620014d3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620014fd9190810190620053fc565b86866040518663ffffffff1660e01b8152600401620015219594939291906200547a565b600060405180830381600087803b1580156200153c57600080fd5b505af115801562001551573d6000803e3d6000fd5b50505050505050505050505050919050565b60008051602062005d378339815191528054600160401b810460ff1615906001600160401b0316600081158015620015985750825b90506000826001600160401b03166001148015620015b55750303b155b905081158015620015c4575080155b15620015e35760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156200160e57845460ff60401b1916600160401b1785555b6200161a8787620034b8565b83156200166257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000806200167a608c6200370c565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015620016c0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620016e6919062004d92565b60405163f0ea17c360e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa1580156200173a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200176491908101906200501a565b905060008160c0015180602001905181019062001782919062005114565b604080820180516001600160601b038a16909152905191925090620017ac90839060200162005556565b6040516020818303038152906040528360c00181905250846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001802573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001828919062004d92565b6001600160a01b031663a4eeee59878560ff6040518463ffffffff1660e01b81526004016200185a9392919062005685565b600060405180830381600087803b1580156200187557600080fd5b505af11580156200188a573d6000803e3d6000fd5b5050604080516001600160601b03808b16825280861660208301528b16918101919091527f15f0f748447bed1cb913d60c17d7d4a527d11df02aae753d4c2e07c88f2ec2159250606001905062001659565b620018e66200309d565b806001600160a01b03163b6000036200191e5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620007f4565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa9250505080156200199b575060408051601f3d908101601f19168201909252620019989181019062004bfa565b60015b620019c55760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620007f4565b80620019f05760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620007f4565b505b50565b6000808062001a05608c6200370c565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001a4b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001a71919062004d92565b60405163f0ea17c360e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa15801562001ac5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001aef91908101906200501a565b9050600062001aff828b620038be565b9050600260009054906101000a90046001600160a01b03166001600160a01b031663e283b4a985878f8f868f8f8f6040518963ffffffff1660e01b815260040162001b52989796959493929190620056bc565b6020604051808303816000875af115801562001b72573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001b98919062004c27565b955062001ba7828d8c62003a0b565b7f0dcadf661b8b2888423f78a848a77785b4dc0138395b12584835f6a65dfcea79846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001c07573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001c2d919062004c27565b604080516001600160601b03928316815282891660208201529189169082015260600160405180910390a150505050509695505050505050565b3362001c8960008051602062005d17833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b03161462001cc65760405162d1953b60e31b81526001600160a01b0382166004820152602401620007f4565b816001600160a01b03163b60000362001cfe576040516361798f2f60e11b81526001600160a01b0383166004820152602401620007f4565b620019f08262003b19565b60008062001d18608c6200370c565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001d5e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001d84919062004d92565b60405163f0ea17c360e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa15801562001dd8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001e0291908101906200501a565b905060008160c0015180602001905181019062001e20919062005114565b61014081018990526101608101889052610180810187905260405190915062001e4e90829060200162005556565b6040516020818303038152906040528260c00181905250836001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001ea4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001eca919062004d92565b6001600160a01b031663a4eeee59868460ff6040518463ffffffff1660e01b815260040162001efc9392919062005685565b600060405180830381600087803b15801562001f1757600080fd5b505af115801562001f2c573d6000803e3d6000fd5b505050505050505050505050565b60008060008051602062005cf783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562001fac573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001fd2919062004bfa565b1562002063576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801562002037573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200205d919062004d92565b91505090565b54600160601b90046001600160a01b0316919050565b620020836200309d565b6200210883846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015620020c7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620020ed919062004c27565b603c6000856040518060200160405280600081525062000978565b6001600160a01b038216156200212957620021238262003b7b565b620022a4565b60006200213e6001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af41580156200219f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620021c591906200574d565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156200220b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002231919062004d92565b9050620022a2816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002276573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200229c919062004d92565b62003b7b565b505b620022b6634a531f3360e01b62000949565b620022c863b68d180960e01b62000949565b505050565b60008051602062005d17833981519152805460009190600160a01b900460ff16620022fa5760006200205d565b638fb3603760e01b91505090565b60006200231d6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa15801562002371573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200239b91908101906200522e565b60208101516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0384169063a48f42e090602401600060405180830381865afa158015620023f5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200241f91908101906200522e565b60208101516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0385169063a48f42e090602401600060405180830381865afa15801562002479573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620024a391908101906200522e565b9050600081608001519050600073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__634c41dd968961010001518a60800151620024e191906200576d565b6040518263ffffffff1660e01b81526004016200250091815260200190565b602060405180830381865af41580156200251e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002544919062004c27565b9050600073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__634c41dd968a61012001518b60a001516200257991906200576d565b6040518263ffffffff1660e01b81526004016200259891815260200190565b602060405180830381865af4158015620025b6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620025dc919062004c27565b90506000620026786200267173__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__634c41dd968d600001516040518263ffffffff1660e01b81526004016200262691815260200190565b602060405180830381865af415801562002644573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200266a919062004c27565b8562003b90565b8362003b90565b905062002686898262003c22565b620026b857604051639080fd1360e01b81526001600160601b0380831660048301528a166024820152604401620007f4565b6040516330b8415f60e01b81526001600160601b038416600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906330b8415f90602401602060405180830381865af415801562002711573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002737919062004bfa565b156200299e576000846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200277e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620027a4919062004d92565b875160405163f0ea17c360e01b81526001600160601b0390911660048201526001600160a01b03919091169063f0ea17c390602401600060405180830381865afa158015620027f7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200282191908101906200501a565b60a081015160405163274acb3560e01b81526001600160601b039182166004820152908616602482015290915073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063274acb3590604401602060405180830381865af41580156200288b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620028b1919062004c27565b6001600160601b031660a082015260408051631a99b41b60e31b815290516001600160a01b0387169163d4cda0d89160048083019260209291908290030181865afa15801562002905573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200292b919062004d92565b6001600160a01b031663a4eeee598860000151836200294860ff90565b6040518463ffffffff1660e01b8152600401620029689392919062005685565b600060405180830381600087803b1580156200298357600080fd5b505af115801562002998573d6000803e3d6000fd5b50505050505b6040516330b8415f60e01b81526001600160601b038316600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906330b8415f90602401602060405180830381865af4158015620029f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002a1d919062004bfa565b1562002a9c57600254604051632dd597e760e21b81526001600160a01b0386811660048301526001600160601b03808f166024840152851660448301529091169063b7565f9c90606401600060405180830381600087803b15801562002a8257600080fd5b505af115801562002a97573d6000803e3d6000fd5b505050505b5050505050505050505050565b60008062002ab8608c6200370c565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002afe573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002b24919062004d92565b60405163f0ea17c360e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa15801562002b78573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262002ba291908101906200501a565b905060008160c0015180602001905181019062002bc0919062005114565b905062002be7816020015162002bd562003cac565b6001600160401b039081169116141590565b1562002c125760405163eff765ff60e01b81526001600160601b0386166004820152602401620007f4565b6001600160401b03861660208083019190915260405162002c369183910162005556565b6040516020818303038152906040528260c00181905250836001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002c8c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002cb2919062004d92565b6001600160a01b031663a4eeee59868460ff6040518463ffffffff1660e01b815260040162002ce49392919062005685565b600060405180830381600087803b15801562002cff57600080fd5b505af115801562002d14573d6000803e3d6000fd5b5050604080516001600160601b03891681526001600160401b038a1660208201527fe7e6a7a42cbdb2d274dfaaac06073a09d6095ca3745ce71fe5a137f8247ea23e935001905060405180910390a1505050505050565b600254602082015160808301516101808401516001600160a01b039093169263ad328d9f928792879262002da0919062003cee565b6040518563ffffffff1660e01b815260040162002dc194939291906200578f565b600060405180830381600087803b15801562002ddc57600080fd5b505af115801562002df1573d6000803e3d6000fd5b50506002546040516301d90a6f60e61b81526001600160a01b0387811660048301526001600160601b038716602483015290911692506376429bc09150604401600060405180830381600087803b15801562002e4c57600080fd5b505af115801562001662573d6000803e3d6000fd5b600062000602602862003d3a565b600062000602604662003d3a565b60008062002e8c608c6200370c565b600254604051632aa6b2cb60e21b81526001600160a01b0380841660048301526001600160601b0389166024830152949650919450929092169163aa9acb2c9150604401600060405180830381600087803b15801562002eeb57600080fd5b505af115801562002f00573d6000803e3d6000fd5b505050507f64c75a4392ba38fee1b5a44b61e3dd0cae424d2d43eb2b0c99772efe31e1c042816001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002f64573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002f8a919062004c27565b604080516001600160601b03928316815282861660208201529186169082015260600162000b6e565b62002fbd6200309d565b62002fc881620018dc565b62002fd262000b7b565b6001600160a01b03821662002ffa5760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602062005cf783398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600254602083015160405163ad328d9f60e01b81526001600160a01b039092169163ad328d9f916200306d918891889187906004016200578f565b600060405180830381600087803b1580156200308857600080fd5b505af115801562000a19573d6000803e3d6000fd5b60008051602062005d3783398151915254600160401b900460ff16620030d657604051631afcd79f60e31b815260040160405180910390fd5b565b620002256200309d565b6001600160601b0382811690821614155b92915050565b6040516368aebf7b60e01b815260048082015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af41580156200314d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000602919062004d72565b6040516301ffc9a760e01b815263bcb0007960e01b60048201528390339060009081906001600160a01b038516906301ffc9a790602401602060405180830381865afa158015620031c8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620031ee919062004bfa565b62003218576040516359bff0e360e11b81526001600160a01b0388166004820152602401620007f4565b6000846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801562003259573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200328391908101906200522e565b90506200329b81604001518860ff9081169116141590565b15620032dd576040808201519051634a2e948760e11b81526001600160a01b038a16600482015260ff808a1660248301529091166044820152606401620007f4565b60a08101516001600160a01b0385811690821614620033315760a0820151604051632b50a20960e21b81526001600160a01b03808c16600483015291821660248201529086166044820152606401620007f4565b81602001519250620033438362003e50565b9350836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa15801562003384573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620033aa919062004d92565b6040516368fc2b7760e11b81526001600160401b03891660048201526001600160a01b038781166024830152919091169063d1f856ee90604401602060405180830381865afa15801562003402573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003428919062004bfa565b6200347057604051636af540d960e01b81526001600160601b03841660048201526001600160401b03881660248201526001600160a01b0386166044820152606401620007f4565b505093509350935093565b6040516368aebf7b60e01b815261096a600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016200312f565b60008051602062005d378339815191528054600160401b810460ff1615906001600160401b0316600081158015620034ed5750825b90506000826001600160401b031660011480156200350a5750303b155b90508115801562003519575080155b15620035385760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156200356357845460ff60401b1916600160401b1785555b600080878060200190518101906200357c9190620057c1565b90925090506200358f8260008b62002079565b6001546001600160a01b031663d39e604360dc620035ac6200057a565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801562003602573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200362891906200574d565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156200366e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003694919062004d92565b600280546001600160a01b0319166001600160a01b0392909216919091179055620036c6630152d21960e61b62000949565b505083156200166257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200162001659565b6000620037186200400d565b60006200372d6001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa15801562003774573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200379a919062004c27565b9250620037a8838562003ee9565b8092508193505050806001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015620037ef573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003815919062004d92565b6080830151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa15801562003860573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003886919062004bfa565b15620038b757608082015160405163d53987e560e01b81526001600160a01b039091166004820152602401620007f4565b9193909250565b600081905060008360c00151806020019051810190620038df919062005114565b61016001516040516305deb8b760e01b815290915073__$a23651848365a6a5ca15f07b4331037f48$__906305deb8b79062003920908490600401620057f5565b602060405180830381865af41580156200393e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003964919062004bfa565b1562003a0457604051634f69237560e11b815281516004820152602082015160248201526001600160601b0384166044820152600090819073__$a23651848365a6a5ca15f07b4331037f48$__90639ed246ea906064016040805180830381865af4158015620039d8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620039fe91906200580d565b94505050505b5092915050565b604083810151606085015191516330b8415f60e01b81526001600160601b038416600482015290919073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906330b8415f90602401602060405180830381865af415801562003a71573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003a97919062004bfa565b1562003b125760405163c661667d60e01b81526001600160a01b03858116600483015282811660248301526001600160601b038516604483015283169063c661667d90606401600060405180830381600087803b15801562003af857600080fd5b505af115801562003b0d573d6000803e3d6000fd5b505050505b5050505050565b60008051602062005d1783398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b62003b856200309d565b620019f28162003ff8565b60405163274acb3560e01b81526001600160601b0380841660048301528216602482015260009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063274acb35906044015b602060405180830381865af415801562003bf5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003c1b919062004c27565b9392505050565b60405163c4cade9d60e01b81526001600160601b0380841660048301528216602482015260009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063c4cade9d90604401602060405180830381865af415801562003c86573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003c1b919062004bfa565b6040516368aebf7b60e01b81526001600160401b03600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016200312f565b6040516363cf551160e11b81526001600160601b0380841660048301528216602482015260009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063c79eaa229060440162003bd7565b600062003d4f6001546001600160a01b031690565b6001600160a01b031663d39e60438362003d686200057a565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801562003dbe573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003de491906200574d565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801562003e2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620030f3919062004d92565b600062003e656001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562003eb5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262003edf91908101906200522e565b6080015192915050565b62003ef36200400d565b600062003f086001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562003f58573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262003f8291908101906200522e565b915062003f9a82604001518460ff9081169116141590565b1562003fe057608082015160408084015190516304081d4960e41b81526001600160a01b03909216600483015260ff8086166024840152166044820152606401620007f4565b62003fef826020015162003e50565b90509250929050565b620040026200309d565b620019f28162003b19565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6104b5806200584283390190565b6000602082840312156200406c57600080fd5b81356001600160e01b03198116811462003c1b57600080fd5b60005b83811015620040a257818101518382015260200162004088565b50506000910152565b60008151808452620040c581602086016020860162004085565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516200414360c08401826001600160a01b03169052565b5060c083015160e0808401526200415f610100840182620040ab565b949350505050565b6001600160a01b0381168114620019f257600080fd5b6001600160601b0381168114620019f257600080fd5b8035620041a0816200417d565b919050565b60ff81168114620019f257600080fd5b8015158114620019f257600080fd5b634e487b7160e01b600052604160045260246000fd5b60405161022081016001600160401b0381118282101715620042005762004200620041c4565b60405290565b604080519081016001600160401b0381118282101715620042005762004200620041c4565b6040516101e081016001600160401b0381118282101715620042005762004200620041c4565b60405161010081016001600160401b0381118282101715620042005762004200620041c4565b60405161012081016001600160401b0381118282101715620042005762004200620041c4565b60405160e081016001600160401b0381118282101715620042005762004200620041c4565b6040516101a081016001600160401b0381118282101715620042005762004200620041c4565b604051601f8201601f191681016001600160401b0381118282101715620043135762004313620041c4565b604052919050565b60006001600160401b03821115620043375762004337620041c4565b50601f01601f191660200190565b600082601f8301126200435757600080fd5b81356200436e62004368826200431b565b620042e8565b8181528460208386010111156200438457600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215620043bb57600080fd5b8635620043c88162004167565b95506020870135620043da816200417d565b94506040870135620043ec81620041a5565b93506060870135620043fe81620041b5565b92506080870135620044108162004167565b915060a08701356001600160401b038111156200442c57600080fd5b6200443a89828a0162004345565b9150509295509295509295565b6000602082840312156200445a57600080fd5b81356001600160401b038111156200447157600080fd5b6200415f8482850162004345565b80356001600160c01b031981168114620041a057600080fd5b64ffffffffff81168114620019f257600080fd5b8035620041a08162004498565b803561ffff81168114620041a057600080fd5b60006102208284031215620044e057600080fd5b620044ea620041da565b9050620044f78262004193565b8152620045076020830162004193565b60208201526200451a604083016200447f565b60408201526200452d606083016200447f565b6060820152620045406080830162004193565b60808201526200455360a0830162004193565b60a08201526200456660c0830162004193565b60c08201526200457960e08301620044ac565b60e0820152610100808301356001600160401b03808211156200459b57600080fd5b620045a98683870162004345565b83850152610120925082850135915080821115620045c657600080fd5b50620045d58582860162004345565b828401525050610140620045eb818401620044b9565b90820152610160620045ff838201620044b9565b908201526101806200461383820162004193565b908201526101a06200462783820162004193565b908201526101c06200463b838201620044ac565b908201526101e06200464f838201620044ac565b9082015261020062004663838201620044ac565b9082015292915050565b600080600080600060a086880312156200468657600080fd5b8535620046938162004167565b94506020860135620046a5816200417d565b93506040860135620046b7816200417d565b925060608601356001600160401b03811115620046d357600080fd5b620046e188828901620044cc565b9250506080860135620046f4816200417d565b809150509295509295909350565b6000602082840312156200471557600080fd5b813562003c1b8162004167565b600080604083850312156200473657600080fd5b8235620047438162004167565b915060208301356001600160401b038111156200475f57600080fd5b6200476d8582860162004345565b9150509250929050565b6000602082840312156200478a57600080fd5b813562003c1b816200417d565b600060408284031215620047aa57600080fd5b620047b462004206565b9050813581526020820135602082015292915050565b60008060008060008060c08789031215620047e457600080fd5b8635620047f18162004167565b955062004802886020890162004797565b9450606087013562004814816200417d565b93506080870135620048268162004498565b925060a08701356001600160401b03808211156200484357600080fd5b818901915089601f8301126200485857600080fd5b8135818111156200486857600080fd5b8a60208285010111156200487b57600080fd5b6020830194508093505050509295509295509295565b600080600060c08486031215620048a757600080fd5b620048b3858562004797565b9250620048c4856040860162004797565b9150620048d5856080860162004797565b90509250925092565b600080600060608486031215620048f457600080fd5b8335620049018162004167565b92506020840135620049138162004167565b91506040840135620049258162004167565b809150509250925092565b60008060008385036102208112156200494857600080fd5b843562004955816200417d565b93506101e0601f1982018113156200496c57600080fd5b620049766200422b565b91506020860135825260408601356020830152606086013560408301526080860135606083015260a0860135608083015260c086013560a083015260e086013560c08301526101008087013560e084015261012080880135828501526101409150818801358185015250610160808801358285015261018091508188013581850152506101a080880135828501526101c091508188013581850152508187013581840152505080925050620048d5610200850162004193565b6001600160401b0381168114620019f257600080fd5b60006020828403121562004a5857600080fd5b813562003c1b8162004a2f565b60008060006060848603121562004a7b57600080fd5b833562004a888162004167565b9250602084013562004a9a816200417d565b915060408401356001600160401b0381111562004ab657600080fd5b62004ac486828701620044cc565b9150509250925092565b6000806040838503121562004ae257600080fd5b823562004aef8162004167565b9150602083013562004b018162004167565b809150509250929050565b6000806000806080858703121562004b2357600080fd5b843562004b308162004167565b9350602085013562004b42816200417d565b925060408501356001600160401b0381111562004b5e57600080fd5b62004b6c87828801620044cc565b925050606085013562004b7f816200417d565b939692955090935050565b60006020828403121562004b9d57600080fd5b815162ffffff8116811462003c1b57600080fd5b600181811c9082168062004bc657607f821691505b60208210810362004be757634e487b7160e01b600052602260045260246000fd5b50919050565b8051620041a081620041b5565b60006020828403121562004c0d57600080fd5b815162003c1b81620041b5565b8051620041a0816200417d565b60006020828403121562004c3a57600080fd5b815162003c1b816200417d565b601f821115620022c857600081815260208120601f850160051c8101602086101562004c705750805b601f850160051c820191505b8181101562004c915782815560010162004c7c565b505050505050565b81516001600160401b0381111562004cb55762004cb5620041c4565b62004ccd8162004cc6845462004bb1565b8462004c47565b602080601f83116001811462004d05576000841562004cec5750858301515b600019600386901b1c1916600185901b17855562004c91565b600085815260208120601f198616915b8281101562004d365788860151825594840194600190910190840162004d15565b508582101562004d555787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b8051620041a08162004a2f565b60006020828403121562004d8557600080fd5b815162003c1b8162004a2f565b60006020828403121562004da557600080fd5b815162003c1b8162004167565b8051620041a08162004167565b60006040828403121562004dd257600080fd5b62004ddc62004206565b9050815181526020820151602082015292915050565b6000610140828403121562004e0657600080fd5b62004e1062004251565b62004e1b8362004db2565b815262004e2b6020840162004db2565b602082015262004e3e6040840162004c1a565b604082015262004e516060840162004c1a565b606082015262004e65846080850162004dbf565b608082015262004e798460c0850162004dbf565b60a082015262004e8d610100840162004bed565b60c082015262004ea1610120840162004db2565b60e08201529392505050565b600082601f83011262004ebf57600080fd5b815162004ed062004368826200431b565b81815284602083860101111562004ee657600080fd5b6200415f82602083016020870162004085565b8051620041a08162004498565b60006020828403121562004f1957600080fd5b81516001600160401b038082111562004f3157600080fd5b90830190610140828603121562004f4757600080fd5b62004f5162004277565b62004f5c8362004c1a565b815262004f6d866020850162004dbf565b602082015260608301518281111562004f8557600080fd5b62004f938782860162004ead565b60408301525062004fa76080840162004c1a565b606082015262004fba60a0840162004c1a565b608082015262004fcd60c0840162004c1a565b60a082015262004fe060e0840162004ef9565b60c0820152610100915062004ff782840162004ef9565b60e08201526200500b610120840162004ef9565b91810191909152949350505050565b6000602082840312156200502d57600080fd5b81516001600160401b03808211156200504557600080fd5b9083019060e082860312156200505a57600080fd5b620050646200429d565b8251828111156200507457600080fd5b620050828782860162004ead565b825250620050936020840162004db2565b6020820152620050a66040840162004db2565b6040820152620050b96060840162004db2565b6060820152620050cc6080840162004c1a565b6080820152620050df60a0840162004c1a565b60a082015260c083015182811115620050f757600080fd5b620051058782860162004ead565b60c08301525095945050505050565b600061020082840312156200512857600080fd5b62005132620042c2565b6200513d8362004c1a565b81526200514d6020840162004d65565b6020820152620051606040840162004c1a565b6040820152620051736060840162004c1a565b6060820152620051866080840162004c1a565b60808201526200519960a0840162004bed565b60a0820152620051ac60c0840162004bed565b60c0820152620051bf60e0840162004bed565b60e082015261010083810151908201526101208084015190820152610140620051eb8582860162004dbf565b90820152610180620052008585830162004dbf565b61016083015262005216856101c0860162004dbf565b908201529392505050565b8051620041a081620041a5565b6000602082840312156200524157600080fd5b81516001600160401b03808211156200525957600080fd5b9083019060e082860312156200526e57600080fd5b620052786200429d565b620052838362004c1a565b8152620052936020840162004c1a565b6020820152620052a66040840162005221565b6040820152620052b96060840162004bed565b6060820152620052cc6080840162004db2565b6080820152620050df60a0840162004db2565b60006001600160601b03808816835260a060208401526200530460a0840188620040ab565b81871660408501528381036060850152620053208187620040ab565b9250508084166080840152509695505050505050565b6000815160e084526200534d60e0850182620040ab565b9050602083015160018060a01b038082166020870152806040860151166040870152806060860151166060870152505060808301516001600160601b0380821660808701528060a08601511660a0870152505060c083015184820360c0860152620053b98282620040ab565b95945050505050565b6001600160601b03831681526040602082015260006200415f604083018462005336565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156200540f57600080fd5b81516001600160401b038111156200542657600080fd5b6200415f8482850162004ead565b600081518084526020808501945080840160005b838110156200546f5781516001600160401b03168752958201959082019060010162005448565b509495945050505050565b6001600160601b03861681526000602060018060a01b0387168184015260a06040840152620054ad60a0840187620040ab565b8381036060850152855180825282820190600581901b830184018489016000805b848110156200552f57868403601f19018652825180518086529089019089860190845b81811015620055195783516001600160e01b0319168352928b0192918b0191600101620054f1565b50509689019694505091870191600101620054ce565b505050868103608088015262005546818962005434565b9c9b505050505050505050505050565b81516001600160601b03168152610200810160208301516200558360208401826001600160401b03169052565b5060408301516200559f60408401826001600160601b03169052565b506060830151620055bb60608401826001600160601b03169052565b506080830151620055d760808401826001600160601b03169052565b5060a0830151620055ec60a084018215159052565b5060c08301516200560160c084018215159052565b5060e08301516200561660e084018215159052565b50610100838101519083015261012080840151908301526101408084015180518285015260208101516101608501525050610160830151610180620056678185018380518252602090810151910152565b84015180516101c085015260208101516101e0850152905062003a04565b6001600160601b0384168152606060208201526000620056a9606083018562005336565b905060ff83166040830152949350505050565b6001600160a01b0389811682526001600160601b03898116602084015288821660408401526000916101009162005700606086018b80518252602090810151910152565b881660a08501525064ffffffffff861660c084015260e0830181905282018390526101208385828501376000838501820152601f909301601f191690910190910198975050505050505050565b6000602082840312156200576057600080fd5b815162003c1b81620041a5565b80820180821115620030f357634e487b7160e01b600052601160045260246000fd5b6001600160a01b039490941684526001600160601b039283166020850152908216604084015216606082015260800190565b60008060408385031215620057d557600080fd5b8251620057e28162004167565b602084015190925062004b018162004167565b815181526020808301519082015260408101620030f3565b600080604083850312156200582157600080fd5b82516200582e816200417d565b602084015190925062004b01816200417d56fe608060405234801561001057600080fd5b506040516104b53803806104b583398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b610422806100936000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806321df0da71461003b578063c661667d1461005a575b600080fd5b600054604080516001600160a01b039092168252519081900360200190f35b61006d61006836600461032a565b61006f565b005b60005460405163046e44af60e11b81526bffffffffffffffffffffffff8316600482015261010a916001600160a01b0316908590859073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906308dc895e90602401602060405180830381865af41580156100e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101059190610382565b61010f565b505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261016990859061016f565b50505050565b60006101846001600160a01b038416836101d7565b905080516000141580156101a95750808060200190518101906101a7919061039b565b155b1561010a57604051635274afe760e01b81526001600160a01b03841660048201526024015b60405180910390fd5b60606101e5838360006101ec565b9392505050565b6060814710156102115760405163cd78605960e01b81523060048201526024016101ce565b600080856001600160a01b0316848660405161022d91906103bd565b60006040518083038185875af1925050503d806000811461026a576040519150601f19603f3d011682016040523d82523d6000602084013e61026f565b606091505b509150915061027f868383610289565b9695505050505050565b60608261029e57610299826102e5565b6101e5565b81511580156102b557506001600160a01b0384163b155b156102de57604051639996b31560e01b81526001600160a01b03851660048201526024016101ce565b50806101e5565b8051156102f55780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b80356001600160a01b038116811461032557600080fd5b919050565b60008060006060848603121561033f57600080fd5b6103488461030e565b92506103566020850161030e565b915060408401356bffffffffffffffffffffffff8116811461037757600080fd5b809150509250925092565b60006020828403121561039457600080fd5b5051919050565b6000602082840312156103ad57600080fd5b815180151581146101e557600080fd5b6000825160005b818110156103de57602081860181015185830152016103c4565b50600092019182525091905056fea26469706673582212206527407be49ce27152c90b431b7430a6bf6b837533825111eff835d5f8e9989564736f6c6343000814003307ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212203f5dbaff0bc8268aed9860de9b0749da0aee6f3bdf4090001e7eb82d5ad031c864736f6c63430008140033",
1390
+ "linkReferences": {
1391
+ "contracts/types/Amount.sol": {
1392
+ "AmountLib": [
745
1393
  {
746
- "internalType": "NftId",
747
- "name": "bundleNftId",
748
- "type": "uint96"
749
- }
750
- ],
751
- "name": "unlockBundle",
752
- "outputs": [],
753
- "stateMutability": "nonpayable",
754
- "type": "function"
755
- },
756
- {
757
- "inputs": [
1394
+ "length": 20,
1395
+ "start": 9624
1396
+ },
758
1397
  {
759
- "internalType": "NftId",
760
- "name": "instanceNftId",
761
- "type": "uint96"
1398
+ "length": 20,
1399
+ "start": 9776
762
1400
  },
763
1401
  {
764
- "internalType": "NftId",
765
- "name": "bundleNftId",
766
- "type": "uint96"
1402
+ "length": 20,
1403
+ "start": 9936
767
1404
  },
768
1405
  {
769
- "components": [
770
- {
771
- "internalType": "NftId",
772
- "name": "poolNftId",
773
- "type": "uint96"
774
- },
775
- {
776
- "components": [
777
- {
778
- "internalType": "UFixed",
779
- "name": "fractionalFee",
780
- "type": "uint256"
781
- },
782
- {
783
- "internalType": "uint256",
784
- "name": "fixedFee",
785
- "type": "uint256"
786
- }
787
- ],
788
- "internalType": "struct Fee",
789
- "name": "fee",
790
- "type": "tuple"
791
- },
792
- {
793
- "internalType": "bytes",
794
- "name": "filter",
795
- "type": "bytes"
796
- },
797
- {
798
- "internalType": "uint256",
799
- "name": "capitalAmount",
800
- "type": "uint256"
801
- },
802
- {
803
- "internalType": "uint256",
804
- "name": "lockedAmount",
805
- "type": "uint256"
806
- },
807
- {
808
- "internalType": "uint256",
809
- "name": "balanceAmount",
810
- "type": "uint256"
811
- },
812
- {
813
- "internalType": "uint256",
814
- "name": "lifetime",
815
- "type": "uint256"
816
- },
817
- {
818
- "internalType": "Timestamp",
819
- "name": "expiredAt",
820
- "type": "uint40"
821
- },
822
- {
823
- "internalType": "Timestamp",
824
- "name": "closedAt",
825
- "type": "uint40"
826
- }
827
- ],
828
- "internalType": "struct IBundle.BundleInfo",
829
- "name": "bundleInfo",
830
- "type": "tuple"
1406
+ "length": 20,
1407
+ "start": 10172
831
1408
  },
832
1409
  {
833
- "internalType": "StateId",
834
- "name": "state",
835
- "type": "uint8"
836
- }
837
- ],
838
- "name": "updateBundle",
839
- "outputs": [],
840
- "stateMutability": "nonpayable",
841
- "type": "function"
842
- },
843
- {
844
- "inputs": [
1410
+ "length": 20,
1411
+ "start": 10550
1412
+ },
845
1413
  {
846
- "internalType": "address",
847
- "name": "implementation",
848
- "type": "address"
1414
+ "length": 20,
1415
+ "start": 10914
849
1416
  },
850
1417
  {
851
- "internalType": "address",
852
- "name": "activatedBy",
853
- "type": "address"
1418
+ "length": 20,
1419
+ "start": 15132
854
1420
  },
855
1421
  {
856
- "internalType": "bytes",
857
- "name": "data",
858
- "type": "bytes"
859
- }
860
- ],
861
- "name": "upgrade",
862
- "outputs": [],
863
- "stateMutability": "nonpayable",
864
- "type": "function"
865
- }
866
- ],
867
- "bytecode": "0x60806040523480156200001157600080fd5b50620000546301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600280546001600160a01b031916331790556200007062000076565b6200012a565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000c75760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001275780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6145f1806200013a6000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c806382678766116100f9578063caf4e3d411610097578063cf7a1d7711610071578063cf7a1d7714610555578063cf7e5db814610568578063e3458d531461057b578063fde0a3cd1461058e57600080fd5b8063caf4e3d41461052b578063cc9fc59a14610533578063cde749f41461053b57600080fd5b8063a3f4df7e116100d3578063a3f4df7e146104bb578063a745e3df146104e5578063b3c65015146104f8578063b88da7591461051857600080fd5b80638267876614610479578063893d20e81461048c578063946dfcfe1461049457600080fd5b80634420e486116101665780635ab1bd53116101405780635ab1bd5314610416578063636450f51461043b578063644c45e01461044e5780636f10e8a01461046657600080fd5b80634420e486146102bf5780634d459c90146102ea5780634f4213331461040357600080fd5b8063138461e0116101a2578063138461e01461023d57806317d7de7c146102475780631eff4b221461027757806332e6f922146102ac57600080fd5b806301ffc9a7146101c95780630d8e6e2c1461020b5780630fec111c14610227575b600080fd5b6101f66101d736600461345e565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102136105a1565b60405162ffffff9091168152602001610202565b61022f61062b565b604051610202929190613558565b61024561077e565b005b60408051808201909152600b81526a506f6f6c5365727669636560a81b60208201525b6040516102029190613586565b61029e7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610202565b6102456102ba3660046135d3565b6109a0565b6102d26102cd36600461362e565b610bbf565b6040516001600160601b039091168152602001610202565b6103a66102f836600461365c565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915260008051602061459c83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610202565b6101f661041136600461365c565b610f26565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610202565b61024561044936600461377f565b610fd9565b600154600160a01b90046001600160601b03166102d2565b6102456104743660046137b5565b611274565b6102456104873660046137d2565b611352565b6104236114c7565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed9015461029e565b61026a6040518060400160405280600b81526020016a506f6f6c5365727669636560a81b81525081565b6102456104f3366004613895565b6115e1565b61050061173b565b6040516001600160401b039091168152602001610202565b6102136105263660046138f6565b61175c565b6104236117ad565b610423611868565b6105436118e0565b60405160ff9091168152602001610202565b610245610563366004613895565b611963565b610245610576366004613947565b611a6b565b6102d2610589366004613a5d565b611bca565b61024561059c3660046137b5565b611f26565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610602573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106269190613b05565b905090565b610633613420565b606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528061067f6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016106c76114c7565b6001600160a01b031681526020018260010180546106e490613b22565b80601f016020809104026020016040519081016040528092919081815260200182805461071090613b22565b801561075d5780601f106107325761010080835404028352916020019161075d565b820191906000526020600020905b81548152906001019060200180831161074057829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156107e0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108049190613b6c565b1561084b576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166108745760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156108bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108e19190613b6c565b610909576040516372657a5160e01b81526001600160a01b0382166004820152602401610842565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610953573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109779190613b92565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b336109b36001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa1580156109fb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a1f9190613b6c565b610a3b5760405162461bcd60e51b815260040161084290613baf565b6000866001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a7b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a9f9190613bda565b604051634793b4ab60e01b81526001600160601b03871660048201529091506000906001600160a01b03831690634793b4ab90602401600060405180830381865afa158015610af2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b1a9190810190613c77565b90508481608001818151610b2e9190613d57565b90525060a081018051859190610b45908390613d57565b9052506040516307f8b57360e31b81526001600160a01b03891690633fc5ab9890610b79908990859060ff90600401613e17565b600060405180830381600087803b158015610b9357600080fd5b505af1158015610ba7573d6000803e3d6000fd5b50505050610bb58888611fd1565b5050505050505050565b6000818082610bcd826122c9565b60ff8116600090815260036020908152604080832054815163379ed74560e21b815291519495506001600160401b0316933393926001600160a01b0388169263de7b5d1492600480830193928290030181865afa158015610c32573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c569190613bda565b9050610c60611868565b6001600160a01b0316639c12c9c78385846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610cae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd29190613b92565b6040516001600160e01b031960e086901b1681526001600160a01b0390931660048401526001600160401b0390911660248301526001600160601b03166044820152606401602060405180830381865afa158015610d34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d589190613b6c565b610d8f576040516351302f8160e01b81526001600160401b03841660048201526001600160a01b0383166024820152604401610842565b33886000610d9c826122c9565b90506000610da86117ad565b9050610db2613420565b6060610dc68460785b60ff90811691161490565b15610e4e57604051638fbc2d8160e01b81526001600160a01b0386811660048301528781166024830152841690638fbc2d81906044015b6000604051808303816000875af1158015610e1c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e449190810190613f0f565b9092509050610ef8565b610e5984606e610dbb565b15610e9457604051635d96628960e01b81526001600160a01b0386811660048301528781166024830152841690635d96628990604401610dfd565b610e9f84608c610dbb565b15610eda57604051637286e5e560e01b81526001600160a01b0386811660048301528781166024830152841690637286e5e590604401610dfd565b60405163062839b560e01b815260ff85166004820152602401610842565b81519c506000610f078361233e565b9050610f148e83836123e0565b50505050505050505050505050919050565b60008060008051602061459c83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610fae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd29190613f72565b1192915050565b600080610fe6608c612455565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561102a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061104e9190613bda565b8351604051634793b4ab60e01b81526001600160601b0388166004820152919250906000906001600160a01b03841690634793b4ab90602401600060405180830381865afa1580156110a4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526110cc9190810190613c77565b80516040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561112a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061114e9190613b6c565b61119a5760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a504c532d3031303a42554e444c455f554e4b4e4f574e000000006044820152606401610842565b80516001600160601b038084169116146112015760405162461bcd60e51b815260206004820152602260248201527f4552524f523a504c532d3031313a42554e444c455f504f4f4c5f4d49534d4154604482015261086960f31b6064820152608401610842565b602081018690526040516307f8b57360e31b81526001600160a01b03851690633fc5ab9890611239908a90859060ff90600401613e17565b600060405180830381600087803b15801561125357600080fd5b505af1158015611267573d6000803e3d6000fd5b5050505050505050505050565b6000611280608c612455565b9150506000816001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112e79190613bda565b6040516306fa456560e01b81526001600160601b03851660048201529091506001600160a01b038216906306fa4565906024015b600060405180830381600087803b15801561133557600080fd5b505af1158015611349573d6000803e3d6000fd5b50505050505050565b60008061135f608c612455565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113c79190613bda565b83516040516355e343a960e01b81526001600160601b0382166004820152919250906000906001600160a01b038416906355e343a99060240161018060405180830381865afa15801561141e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114429190613f8b565b606081018990526080810188905260a08101879052604051633055195560e11b81529091506001600160a01b038516906360aa32aa9061148b908590859060ff906004016140f9565b600060405180830381600087803b1580156114a557600080fd5b505af11580156114b9573d6000803e3d6000fd5b505050505050505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561152c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115509190613b6c565b156115d157600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a906024015b602060405180830381865afa1580156115ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106269190613bda565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6116036105a1565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611643573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611667919061413e565b60008051602061457c8339815191528054600160401b900460ff168061169a575080546001600160401b03808416911610155b156116b85760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556116e38585612713565b6116ec836129b2565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b600061062660008051602061457c833981519152546001600160401b031690565b600060008051602061459c83398151915260010182815481106117815761178161415b565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000806117c26001546001600160a01b031690565b6001600160a01b031663a3bcd81d6117d86118e0565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa15801561183e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118629190613bda565b92915050565b600061187c6001546001600160a01b031690565b6001600160a01b031663a3bcd81d6118926118e0565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e496e7374616e63655365727669636560881b606482015260ff9091166024820152608401611590565b60006118ea6105a1565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801561193f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106269190614171565b60008051602061457c8339815191528054600160401b810460ff1615906001600160401b03166000811580156119965750825b90506000826001600160401b031660011480156119b25750303b155b9050811580156119c0575080155b156119de5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611a0857845460ff60401b1916600160401b1785555b611a128888612713565b611a1c87876129ba565b8315610bb557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15050505050505050565b33611a7e6001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa158015611ac6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aea9190613b6c565b611b065760405162461bcd60e51b815260040161084290613baf565b6000611b1a6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611b69573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b91919081019061418e565b60808101516040516307f8b57360e31b8152919250906001600160a01b03821690633fc5ab989061123990899089908990600401613e17565b60008080611bd8608c612455565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c409190613bda565b90506000836000015190506000604051806101200160405280836001600160601b031681526020018c815260200189898080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250938552505050602082018d90526040820152606081018c9052608081018b905260a001611ccb600090565b64ffffffffff16815260006020909101529050611ce66117ad565b6001600160a01b031663c2bf08c86040518060e00160405280611d07600090565b6001600160601b03168152602001856001600160601b03168152602001611d2c60dc90565b60ff16815260200160001515815260200160006001600160a01b031681526020018f6001600160a01b0316815260200184604051602001611d6d91906141c2565b6040516020818303038152906040528152506040518263ffffffff1660e01b8152600401611d9b91906141d5565b6020604051808303816000875af1158015611dba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dde9190613b92565b604051633038d34760e11b81529096506001600160a01b03851690636071a68e90611e0f90899085906004016141e8565b600060405180830381600087803b158015611e2957600080fd5b505af1158015611e3d573d6000803e3d6000fd5b505050506000846001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ea59190613bda565b6040516346f0e8a760e11b81526001600160601b03891660048201529091506001600160a01b03821690638de1d14e90602401600060405180830381600087803b158015611ef257600080fd5b505af1158015611f06573d6000803e3d6000fd5b50505050611f168484898e612b0f565b5050505050509695505050505050565b6000611f32608c612455565b9150506000816001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f75573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f999190613bda565b60405163b5346af560e01b81526001600160601b03851660048201529091506001600160a01b0382169063b5346af59060240161131b565b33611fe46001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa15801561202c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120509190613b6c565b61206c5760405162461bcd60e51b815260040161084290613baf565b6000836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156120ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120d09190613bda565b60405163bd7d9d8560e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015612123573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261214b9190810190614234565b6101a0810151604051638d38cd4b60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af41580156121ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121cf9190613b6c565b156121f857604051639218a15160e01b81526001600160601b0385166004820152602401610842565b6000856001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015612238573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061225c9190613bda565b604051630331f98560e21b81526001600160601b03871660048201529091506001600160a01b03821690630cc7e61490602401600060405180830381600087803b1580156122a957600080fd5b505af11580156122bd573d6000803e3d6000fd5b50505050505050505050565b600080826001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801561230a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526123329190810190613f0f565b50604001519392505050565b6000806123536001546001600160a01b031690565b60208401516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa1580156123ac573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526123d4919081019061418e565b60800151949350505050565b6000828060200190518101906123f69190613f8b565b6040516339f34df560e21b81529091506001600160a01b0383169063e7cd37d4906124279087908590600401614399565b600060405180830381600087803b15801561244157600080fd5b505af1158015610bb5573d6000803e3d6000fd5b61245d613420565b600154604051636939560f60e11b815233600482015260009182916001600160a01b039091169063d272ac1e90602401602060405180830381865afa1580156124aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124ce9190613b92565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015612529573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061254d9190613b6c565b6125995760405162461bcd60e51b815260206004820152601760248201527f4552524f525f434f4d504f4e454e545f554e4b4e4f574e0000000000000000006044820152606401610842565b6001546001600160a01b03166040516305247a1760e51b81526001600160601b03831660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156125f4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261261c919081019061418e565b925061263283604001518560ff90811691161490565b6126745760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b6044820152606401610842565b60006126886001546001600160a01b031690565b60208501516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156126dd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612705919081019061418e565b608001519395939450505050565b61271b612d9f565b60008051602061459c833981519152600061274b60008051602061457c833981519152546001600160401b031690565b905060006127576105a1565b9050816001600160401b03166001036127845760028301805462ffffff191662ffffff83161790556127d2565b600283015462ffffff908116908216116127d25760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610842565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015612886573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128aa91906143b7565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf689061172c9083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101c4612d9f565b60008051602061457c8339815191528054600160401b810460ff1615906001600160401b03166000811580156129ed5750825b90506000826001600160401b03166001148015612a095750303b155b905081158015612a17575080155b15612a355760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315612a5f57845460ff60401b1916600160401b1785555b600086806020019051810190612a7591906143d4565b600480546001600160a01b039093166001600160a01b0319909316831790559150612aa09089612dd8565b612ab0631b4612f160e31b612f2e565b612ac0636d2eb53760e01b612f2e565b50831561134957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a150505050505050565b8015612d99576040516355e343a960e01b81526001600160601b03841660048201526000906001600160a01b038616906355e343a99060240161018060405180830381865afa158015612b66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b8a9190613f8b565b60208101519091506000612ba66001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03871660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612bf5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c199190613bda565b60808401516101008501516040516317d5759960e31b81526001600160a01b03808516600483015291821660248201526044810188905292935090919084169063beabacc890606401600060405180830381600087803b158015612c7c57600080fd5b505af1158015612c90573d6000803e3d6000fd5b50506040516346f0526160e11b815273__$a23651848365a6a5ca15f07b4331037f48$__9250638de0a4c29150612ccb90849060040161440e565b602060405180830381865af4158015612ce8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d0c9190613b6c565b610bb55760405163012ebd8360e21b8152815160048201526020820151602482015260448101869052600090819073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015612d75573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114b99190614425565b50505050565b60008051602061457c83398151915254600160401b900460ff16612dd657604051631afcd79f60e31b815260040160405180910390fd5b565b612de28282612f53565b612dea612fdc565b606e60005260036020527f0de2b21138735878e0660eef23d1131fad23d66157bfa1c473a82b60c5169926805467ffffffffffffffff19166001600160401b0392909216919091179055612e3c613055565b608c60005260036020527f83339eadc78535e76a031a9a544cf6fa252296becf88992d49fad5f832544a38805467ffffffffffffffff19166001600160401b0392909216919091179055612e8e613091565b607860005260036020527fe372c44748f4c2908ae7c0a1dc553464478b0394f70953faecd55173b039317c805467ffffffffffffffff19166001600160401b0392909216919091179055612ee06130cc565b608260005260036020527fc3d073881ce0daff4d900012573fe3b8d5b283519b2f509e59d1b978e7cf0fc5805467ffffffffffffffff19166001600160401b03929092169190911790555050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6000612f7d60408051808201909152600b81526a506f6f6c5365727669636560a81b602082015290565b612f856118e0565b604051602001612f96929190614449565b60405160208183030381529060405290506000612fb284613107565b90506000612fc58583603c848888613172565b612fd5631b4612f160e31b612f2e565b5050505050565b6040516368aebf7b60e01b8152610190600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015613031573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610626919061413e565b6040516368aebf7b60e01b815261012c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401613014565b6040516368aebf7b60e01b81526064600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401613014565b6040516368aebf7b60e01b815260c8600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401613014565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa15801561314e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118629190613b92565b6131b36301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6131bd828761323e565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b8615150217815590506001810161322d83826144bc565b506113496303fb044760e21b612f2e565b6001600160a01b0382166132945760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e6572206973203000006044820152606401610842565b600280546001600160a01b0319166001600160a01b0384161790556132b8816132bc565b5050565b6001546001600160a01b0316156132f55760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610842565b6001600160a01b03811661331c5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036133525760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610842565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632eaf856d60e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156133cc575060408051601f3d908101601f191682019092526133c991810190613b6c565b60015b6133f45760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610842565b806132b85760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610842565b50565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60006020828403121561347057600080fd5b81356001600160e01b03198116811461348857600080fd5b9392505050565b60005b838110156134aa578181015183820152602001613492565b50506000910152565b600081518084526134cb81602086016020860161348f565b601f01601f19169290920160200192915050565b60006001600160601b038083511684528060208401511660208501525060ff6040830151166040840152606082015115156060840152608082015160018060a01b0380821660808601528060a08501511660a0860152505060c082015160e060c085015261355060e08501826134b3565b949350505050565b60408152600061356b60408301856134df565b828103602084015261357d81856134b3565b95945050505050565b60208152600061348860208301846134b3565b6001600160a01b038116811461341d57600080fd5b6001600160601b038116811461341d57600080fd5b80356135ce816135ae565b919050565b600080600080600060a086880312156135eb57600080fd5b85356135f681613599565b94506020860135613606816135ae565b93506040860135613616816135ae565b94979396509394606081013594506080013592915050565b60006020828403121561364057600080fd5b813561348881613599565b62ffffff8116811461341d57600080fd5b60006020828403121561366e57600080fd5b81356134888161364b565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b03811182821017156136b1576136b1613679565b60405290565b60405161012081016001600160401b03811182821017156136b1576136b1613679565b60405160e081016001600160401b03811182821017156136b1576136b1613679565b60405161020081016001600160401b03811182821017156136b1576136b1613679565b604051601f8201601f191681016001600160401b038111828210171561374757613747613679565b604052919050565b60006040828403121561376157600080fd5b61376961368f565b9050813581526020820135602082015292915050565b6000806060838503121561379257600080fd5b823561379d816135ae565b91506137ac846020850161374f565b90509250929050565b6000602082840312156137c757600080fd5b8135613488816135ae565b600080600060c084860312156137e757600080fd5b6137f1858561374f565b9250613800856040860161374f565b915061380f856080860161374f565b90509250925092565b60006001600160401b0382111561383157613831613679565b50601f01601f191660200190565b600082601f83011261385057600080fd5b813561386361385e82613818565b61371f565b81815284602083860101111561387857600080fd5b816020850160208301376000918101602001919091529392505050565b6000806000606084860312156138aa57600080fd5b83356138b581613599565b925060208401356138c581613599565b915060408401356001600160401b038111156138e057600080fd5b6138ec8682870161383f565b9150509250925092565b60006020828403121561390857600080fd5b5035919050565b64ffffffffff8116811461341d57600080fd5b80356135ce8161390f565b60ff8116811461341d57600080fd5b80356135ce8161392d565b6000806000806080858703121561395d57600080fd5b8435613968816135ae565b93506020850135613978816135ae565b925060408501356001600160401b038082111561399457600080fd5b9086019061014082890312156139a957600080fd5b6139b16136b7565b6139ba836135c3565b81526139c9896020850161374f565b60208201526060830135828111156139e057600080fd5b6139ec8a82860161383f565b6040830152506080830135606082015260a0830135608082015260c083013560a082015260e083013560c08201526101009150613a2a828401613922565b60e0820152613a3c6101208401613922565b82820152809450505050613a526060860161393c565b905092959194509250565b60008060008060008060c08789031215613a7657600080fd5b8635613a8181613599565b9550613a90886020890161374f565b9450606087013593506080870135925060a08701356001600160401b0380821115613aba57600080fd5b818901915089601f830112613ace57600080fd5b813581811115613add57600080fd5b8a6020828501011115613aef57600080fd5b6020830194508093505050509295509295509295565b600060208284031215613b1757600080fd5b81516134888161364b565b600181811c90821680613b3657607f821691505b602082108103613b5657634e487b7160e01b600052602260045260246000fd5b50919050565b805180151581146135ce57600080fd5b600060208284031215613b7e57600080fd5b61348882613b5c565b80516135ce816135ae565b600060208284031215613ba457600080fd5b8151613488816135ae565b6020808252601190820152704552524f525f4e4f545f5345525649434560781b604082015260600190565b600060208284031215613bec57600080fd5b815161348881613599565b600060408284031215613c0957600080fd5b613c1161368f565b9050815181526020820151602082015292915050565b600082601f830112613c3857600080fd5b8151613c4661385e82613818565b818152846020838601011115613c5b57600080fd5b61355082602083016020870161348f565b80516135ce8161390f565b600060208284031215613c8957600080fd5b81516001600160401b0380821115613ca057600080fd5b908301906101408286031215613cb557600080fd5b613cbd6136b7565b613cc683613b87565b8152613cd58660208501613bf7565b6020820152606083015182811115613cec57600080fd5b613cf887828601613c27565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c08201526101009150613d36828401613c6c565b60e0820152613d486101208401613c6c565b91810191909152949350505050565b8082018082111561186257634e487b7160e01b600052601160045260246000fd5b80516001600160601b031682526000610140602083810151805186830152908101516040860152506040830151816060860152613db7828601826134b3565b91505060608301516080850152608083015160a085015260a083015160c085015260c083015160e085015260e0830151610100613dfc8187018364ffffffffff169052565b84015164ffffffffff81166101208701529050509392505050565b6001600160601b0384168152606060208201526000613e396060830185613d78565b905060ff83166040830152949350505050565b80516135ce8161392d565b80516135ce81613599565b600060e08284031215613e7457600080fd5b613e7c6136da565b9050613e8782613b87565b8152613e9560208301613b87565b6020820152613ea660408301613e4c565b6040820152613eb760608301613b5c565b6060820152613ec860808301613e57565b6080820152613ed960a08301613e57565b60a082015260c08201516001600160401b03811115613ef757600080fd5b613f0384828501613c27565b60c08301525092915050565b60008060408385031215613f2257600080fd5b82516001600160401b0380821115613f3957600080fd5b613f4586838701613e62565b93506020850151915080821115613f5b57600080fd5b50613f6885828601613c27565b9150509250929050565b600060208284031215613f8457600080fd5b5051919050565b60006101808284031215613f9e57600080fd5b613fa66136b7565b613faf83613b87565b8152613fbd60208401613e57565b602082015260408301516040820152613fd98460608501613bf7565b6060820152613feb8460a08501613bf7565b6080820152613ffd8460e08501613bf7565b60a082015261400f6101208401613b5c565b60c08201526140216101408401613b5c565b60e08201526140336101608401613e57565b6101008201529392505050565b6001600160601b038151168252602081015161406760208401826001600160a01b03169052565b5060408101516040830152606081015161408e606084018280518252602090810151910152565b506080810151805160a0840152602081015160c08401525060a0810151805160e084015260208101516101008401525060c08101518015156101208401525060e08101518015156101408401525061010001516001600160a01b03166101609190910152565b505050565b6001600160601b03841681526101c081016141176020830185614040565b60ff83166101a0830152949350505050565b6001600160401b038116811461341d57600080fd5b60006020828403121561415057600080fd5b815161348881614129565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561418357600080fd5b81516134888161392d565b6000602082840312156141a057600080fd5b81516001600160401b038111156141b657600080fd5b61355084828501613e62565b6020815260006134886020830184613d78565b60208152600061348860208301846134df565b6001600160601b03831681526040602082015260006135506040830184613d78565b80516001600160c01b0319811681146135ce57600080fd5b805161ffff811681146135ce57600080fd5b60006020828403121561424657600080fd5b81516001600160401b038082111561425d57600080fd5b90830190610200828603121561427257600080fd5b61427a6136fc565b61428383613b87565b815261429160208401613b87565b60208201526142a26040840161420a565b60408201526142b36060840161420a565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e082015261010080840151838111156142f457600080fd5b61430088828701613c27565b828401525050610120808401518381111561431a57600080fd5b61432688828701613c27565b828401525050610140915061433c828401614222565b828201526101609150614350828401614222565b82820152610180915081830151828201526101a09150614371828401613c6c565b828201526101c09150614385828401613c6c565b828201526101e09150613d48828401613c6c565b6001600160601b03831681526101a081016134886020830184614040565b6000602082840312156143c957600080fd5b81516134888161390f565b600080604083850312156143e757600080fd5b82516143f281613599565b602084015190925061440381613599565b809150509250929050565b815181526020808301519082015260408101611862565b6000806040838503121561443857600080fd5b505080516020909101519092909150565b60408152600061445c60408301856134b3565b905060ff831660208301529392505050565b601f8211156140f457600081815260208120601f850160051c810160208610156144955750805b601f850160051c820191505b818110156144b4578281556001016144a1565b505050505050565b81516001600160401b038111156144d5576144d5613679565b6144e9816144e38454613b22565b8461446e565b602080601f83116001811461451e57600084156145065750858301515b600019600386901b1c1916600185901b1785556144b4565b600085815260208120601f198616915b8281101561454d5788860151825594840194600190910190840161452e565b508582101561456b5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220d1df09b525b18207c6ed78819819f41d7a6222f3f8d497b4dd8f4bcb9f273b0d64736f6c63430008140033",
868
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101c45760003560e01c806382678766116100f9578063caf4e3d411610097578063cf7a1d7711610071578063cf7a1d7714610555578063cf7e5db814610568578063e3458d531461057b578063fde0a3cd1461058e57600080fd5b8063caf4e3d41461052b578063cc9fc59a14610533578063cde749f41461053b57600080fd5b8063a3f4df7e116100d3578063a3f4df7e146104bb578063a745e3df146104e5578063b3c65015146104f8578063b88da7591461051857600080fd5b80638267876614610479578063893d20e81461048c578063946dfcfe1461049457600080fd5b80634420e486116101665780635ab1bd53116101405780635ab1bd5314610416578063636450f51461043b578063644c45e01461044e5780636f10e8a01461046657600080fd5b80634420e486146102bf5780634d459c90146102ea5780634f4213331461040357600080fd5b8063138461e0116101a2578063138461e01461023d57806317d7de7c146102475780631eff4b221461027757806332e6f922146102ac57600080fd5b806301ffc9a7146101c95780630d8e6e2c1461020b5780630fec111c14610227575b600080fd5b6101f66101d736600461345e565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102136105a1565b60405162ffffff9091168152602001610202565b61022f61062b565b604051610202929190613558565b61024561077e565b005b60408051808201909152600b81526a506f6f6c5365727669636560a81b60208201525b6040516102029190613586565b61029e7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610202565b6102456102ba3660046135d3565b6109a0565b6102d26102cd36600461362e565b610bbf565b6040516001600160601b039091168152602001610202565b6103a66102f836600461365c565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915260008051602061459c83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610202565b6101f661041136600461365c565b610f26565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610202565b61024561044936600461377f565b610fd9565b600154600160a01b90046001600160601b03166102d2565b6102456104743660046137b5565b611274565b6102456104873660046137d2565b611352565b6104236114c7565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed9015461029e565b61026a6040518060400160405280600b81526020016a506f6f6c5365727669636560a81b81525081565b6102456104f3366004613895565b6115e1565b61050061173b565b6040516001600160401b039091168152602001610202565b6102136105263660046138f6565b61175c565b6104236117ad565b610423611868565b6105436118e0565b60405160ff9091168152602001610202565b610245610563366004613895565b611963565b610245610576366004613947565b611a6b565b6102d2610589366004613a5d565b611bca565b61024561059c3660046137b5565b611f26565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610602573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106269190613b05565b905090565b610633613420565b606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528061067f6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016106c76114c7565b6001600160a01b031681526020018260010180546106e490613b22565b80601f016020809104026020016040519081016040528092919081815260200182805461071090613b22565b801561075d5780601f106107325761010080835404028352916020019161075d565b820191906000526020600020905b81548152906001019060200180831161074057829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156107e0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108049190613b6c565b1561084b576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166108745760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156108bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108e19190613b6c565b610909576040516372657a5160e01b81526001600160a01b0382166004820152602401610842565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610953573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109779190613b92565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b336109b36001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa1580156109fb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a1f9190613b6c565b610a3b5760405162461bcd60e51b815260040161084290613baf565b6000866001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a7b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a9f9190613bda565b604051634793b4ab60e01b81526001600160601b03871660048201529091506000906001600160a01b03831690634793b4ab90602401600060405180830381865afa158015610af2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b1a9190810190613c77565b90508481608001818151610b2e9190613d57565b90525060a081018051859190610b45908390613d57565b9052506040516307f8b57360e31b81526001600160a01b03891690633fc5ab9890610b79908990859060ff90600401613e17565b600060405180830381600087803b158015610b9357600080fd5b505af1158015610ba7573d6000803e3d6000fd5b50505050610bb58888611fd1565b5050505050505050565b6000818082610bcd826122c9565b60ff8116600090815260036020908152604080832054815163379ed74560e21b815291519495506001600160401b0316933393926001600160a01b0388169263de7b5d1492600480830193928290030181865afa158015610c32573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c569190613bda565b9050610c60611868565b6001600160a01b0316639c12c9c78385846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610cae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd29190613b92565b6040516001600160e01b031960e086901b1681526001600160a01b0390931660048401526001600160401b0390911660248301526001600160601b03166044820152606401602060405180830381865afa158015610d34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d589190613b6c565b610d8f576040516351302f8160e01b81526001600160401b03841660048201526001600160a01b0383166024820152604401610842565b33886000610d9c826122c9565b90506000610da86117ad565b9050610db2613420565b6060610dc68460785b60ff90811691161490565b15610e4e57604051638fbc2d8160e01b81526001600160a01b0386811660048301528781166024830152841690638fbc2d81906044015b6000604051808303816000875af1158015610e1c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e449190810190613f0f565b9092509050610ef8565b610e5984606e610dbb565b15610e9457604051635d96628960e01b81526001600160a01b0386811660048301528781166024830152841690635d96628990604401610dfd565b610e9f84608c610dbb565b15610eda57604051637286e5e560e01b81526001600160a01b0386811660048301528781166024830152841690637286e5e590604401610dfd565b60405163062839b560e01b815260ff85166004820152602401610842565b81519c506000610f078361233e565b9050610f148e83836123e0565b50505050505050505050505050919050565b60008060008051602061459c83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610fae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd29190613f72565b1192915050565b600080610fe6608c612455565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561102a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061104e9190613bda565b8351604051634793b4ab60e01b81526001600160601b0388166004820152919250906000906001600160a01b03841690634793b4ab90602401600060405180830381865afa1580156110a4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526110cc9190810190613c77565b80516040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561112a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061114e9190613b6c565b61119a5760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a504c532d3031303a42554e444c455f554e4b4e4f574e000000006044820152606401610842565b80516001600160601b038084169116146112015760405162461bcd60e51b815260206004820152602260248201527f4552524f523a504c532d3031313a42554e444c455f504f4f4c5f4d49534d4154604482015261086960f31b6064820152608401610842565b602081018690526040516307f8b57360e31b81526001600160a01b03851690633fc5ab9890611239908a90859060ff90600401613e17565b600060405180830381600087803b15801561125357600080fd5b505af1158015611267573d6000803e3d6000fd5b5050505050505050505050565b6000611280608c612455565b9150506000816001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112e79190613bda565b6040516306fa456560e01b81526001600160601b03851660048201529091506001600160a01b038216906306fa4565906024015b600060405180830381600087803b15801561133557600080fd5b505af1158015611349573d6000803e3d6000fd5b50505050505050565b60008061135f608c612455565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113c79190613bda565b83516040516355e343a960e01b81526001600160601b0382166004820152919250906000906001600160a01b038416906355e343a99060240161018060405180830381865afa15801561141e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114429190613f8b565b606081018990526080810188905260a08101879052604051633055195560e11b81529091506001600160a01b038516906360aa32aa9061148b908590859060ff906004016140f9565b600060405180830381600087803b1580156114a557600080fd5b505af11580156114b9573d6000803e3d6000fd5b505050505050505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561152c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115509190613b6c565b156115d157600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a906024015b602060405180830381865afa1580156115ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106269190613bda565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6116036105a1565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611643573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611667919061413e565b60008051602061457c8339815191528054600160401b900460ff168061169a575080546001600160401b03808416911610155b156116b85760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556116e38585612713565b6116ec836129b2565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b600061062660008051602061457c833981519152546001600160401b031690565b600060008051602061459c83398151915260010182815481106117815761178161415b565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000806117c26001546001600160a01b031690565b6001600160a01b031663a3bcd81d6117d86118e0565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa15801561183e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118629190613bda565b92915050565b600061187c6001546001600160a01b031690565b6001600160a01b031663a3bcd81d6118926118e0565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e496e7374616e63655365727669636560881b606482015260ff9091166024820152608401611590565b60006118ea6105a1565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801561193f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106269190614171565b60008051602061457c8339815191528054600160401b810460ff1615906001600160401b03166000811580156119965750825b90506000826001600160401b031660011480156119b25750303b155b9050811580156119c0575080155b156119de5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611a0857845460ff60401b1916600160401b1785555b611a128888612713565b611a1c87876129ba565b8315610bb557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15050505050505050565b33611a7e6001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa158015611ac6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aea9190613b6c565b611b065760405162461bcd60e51b815260040161084290613baf565b6000611b1a6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611b69573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b91919081019061418e565b60808101516040516307f8b57360e31b8152919250906001600160a01b03821690633fc5ab989061123990899089908990600401613e17565b60008080611bd8608c612455565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c409190613bda565b90506000836000015190506000604051806101200160405280836001600160601b031681526020018c815260200189898080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250938552505050602082018d90526040820152606081018c9052608081018b905260a001611ccb600090565b64ffffffffff16815260006020909101529050611ce66117ad565b6001600160a01b031663c2bf08c86040518060e00160405280611d07600090565b6001600160601b03168152602001856001600160601b03168152602001611d2c60dc90565b60ff16815260200160001515815260200160006001600160a01b031681526020018f6001600160a01b0316815260200184604051602001611d6d91906141c2565b6040516020818303038152906040528152506040518263ffffffff1660e01b8152600401611d9b91906141d5565b6020604051808303816000875af1158015611dba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dde9190613b92565b604051633038d34760e11b81529096506001600160a01b03851690636071a68e90611e0f90899085906004016141e8565b600060405180830381600087803b158015611e2957600080fd5b505af1158015611e3d573d6000803e3d6000fd5b505050506000846001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ea59190613bda565b6040516346f0e8a760e11b81526001600160601b03891660048201529091506001600160a01b03821690638de1d14e90602401600060405180830381600087803b158015611ef257600080fd5b505af1158015611f06573d6000803e3d6000fd5b50505050611f168484898e612b0f565b5050505050509695505050505050565b6000611f32608c612455565b9150506000816001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f75573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f999190613bda565b60405163b5346af560e01b81526001600160601b03851660048201529091506001600160a01b0382169063b5346af59060240161131b565b33611fe46001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa15801561202c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120509190613b6c565b61206c5760405162461bcd60e51b815260040161084290613baf565b6000836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156120ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120d09190613bda565b60405163bd7d9d8560e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015612123573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261214b9190810190614234565b6101a0810151604051638d38cd4b60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af41580156121ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121cf9190613b6c565b156121f857604051639218a15160e01b81526001600160601b0385166004820152602401610842565b6000856001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015612238573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061225c9190613bda565b604051630331f98560e21b81526001600160601b03871660048201529091506001600160a01b03821690630cc7e61490602401600060405180830381600087803b1580156122a957600080fd5b505af11580156122bd573d6000803e3d6000fd5b50505050505050505050565b600080826001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801561230a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526123329190810190613f0f565b50604001519392505050565b6000806123536001546001600160a01b031690565b60208401516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa1580156123ac573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526123d4919081019061418e565b60800151949350505050565b6000828060200190518101906123f69190613f8b565b6040516339f34df560e21b81529091506001600160a01b0383169063e7cd37d4906124279087908590600401614399565b600060405180830381600087803b15801561244157600080fd5b505af1158015610bb5573d6000803e3d6000fd5b61245d613420565b600154604051636939560f60e11b815233600482015260009182916001600160a01b039091169063d272ac1e90602401602060405180830381865afa1580156124aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124ce9190613b92565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015612529573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061254d9190613b6c565b6125995760405162461bcd60e51b815260206004820152601760248201527f4552524f525f434f4d504f4e454e545f554e4b4e4f574e0000000000000000006044820152606401610842565b6001546001600160a01b03166040516305247a1760e51b81526001600160601b03831660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156125f4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261261c919081019061418e565b925061263283604001518560ff90811691161490565b6126745760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b6044820152606401610842565b60006126886001546001600160a01b031690565b60208501516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156126dd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612705919081019061418e565b608001519395939450505050565b61271b612d9f565b60008051602061459c833981519152600061274b60008051602061457c833981519152546001600160401b031690565b905060006127576105a1565b9050816001600160401b03166001036127845760028301805462ffffff191662ffffff83161790556127d2565b600283015462ffffff908116908216116127d25760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610842565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015612886573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128aa91906143b7565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf689061172c9083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101c4612d9f565b60008051602061457c8339815191528054600160401b810460ff1615906001600160401b03166000811580156129ed5750825b90506000826001600160401b03166001148015612a095750303b155b905081158015612a17575080155b15612a355760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315612a5f57845460ff60401b1916600160401b1785555b600086806020019051810190612a7591906143d4565b600480546001600160a01b039093166001600160a01b0319909316831790559150612aa09089612dd8565b612ab0631b4612f160e31b612f2e565b612ac0636d2eb53760e01b612f2e565b50831561134957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a150505050505050565b8015612d99576040516355e343a960e01b81526001600160601b03841660048201526000906001600160a01b038616906355e343a99060240161018060405180830381865afa158015612b66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b8a9190613f8b565b60208101519091506000612ba66001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03871660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612bf5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c199190613bda565b60808401516101008501516040516317d5759960e31b81526001600160a01b03808516600483015291821660248201526044810188905292935090919084169063beabacc890606401600060405180830381600087803b158015612c7c57600080fd5b505af1158015612c90573d6000803e3d6000fd5b50506040516346f0526160e11b815273__$a23651848365a6a5ca15f07b4331037f48$__9250638de0a4c29150612ccb90849060040161440e565b602060405180830381865af4158015612ce8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d0c9190613b6c565b610bb55760405163012ebd8360e21b8152815160048201526020820151602482015260448101869052600090819073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015612d75573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114b99190614425565b50505050565b60008051602061457c83398151915254600160401b900460ff16612dd657604051631afcd79f60e31b815260040160405180910390fd5b565b612de28282612f53565b612dea612fdc565b606e60005260036020527f0de2b21138735878e0660eef23d1131fad23d66157bfa1c473a82b60c5169926805467ffffffffffffffff19166001600160401b0392909216919091179055612e3c613055565b608c60005260036020527f83339eadc78535e76a031a9a544cf6fa252296becf88992d49fad5f832544a38805467ffffffffffffffff19166001600160401b0392909216919091179055612e8e613091565b607860005260036020527fe372c44748f4c2908ae7c0a1dc553464478b0394f70953faecd55173b039317c805467ffffffffffffffff19166001600160401b0392909216919091179055612ee06130cc565b608260005260036020527fc3d073881ce0daff4d900012573fe3b8d5b283519b2f509e59d1b978e7cf0fc5805467ffffffffffffffff19166001600160401b03929092169190911790555050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6000612f7d60408051808201909152600b81526a506f6f6c5365727669636560a81b602082015290565b612f856118e0565b604051602001612f96929190614449565b60405160208183030381529060405290506000612fb284613107565b90506000612fc58583603c848888613172565b612fd5631b4612f160e31b612f2e565b5050505050565b6040516368aebf7b60e01b8152610190600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015613031573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610626919061413e565b6040516368aebf7b60e01b815261012c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401613014565b6040516368aebf7b60e01b81526064600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401613014565b6040516368aebf7b60e01b815260c8600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401613014565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa15801561314e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118629190613b92565b6131b36301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6131bd828761323e565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b8615150217815590506001810161322d83826144bc565b506113496303fb044760e21b612f2e565b6001600160a01b0382166132945760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e6572206973203000006044820152606401610842565b600280546001600160a01b0319166001600160a01b0384161790556132b8816132bc565b5050565b6001546001600160a01b0316156132f55760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610842565b6001600160a01b03811661331c5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036133525760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610842565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632eaf856d60e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156133cc575060408051601f3d908101601f191682019092526133c991810190613b6c565b60015b6133f45760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610842565b806132b85760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610842565b50565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60006020828403121561347057600080fd5b81356001600160e01b03198116811461348857600080fd5b9392505050565b60005b838110156134aa578181015183820152602001613492565b50506000910152565b600081518084526134cb81602086016020860161348f565b601f01601f19169290920160200192915050565b60006001600160601b038083511684528060208401511660208501525060ff6040830151166040840152606082015115156060840152608082015160018060a01b0380821660808601528060a08501511660a0860152505060c082015160e060c085015261355060e08501826134b3565b949350505050565b60408152600061356b60408301856134df565b828103602084015261357d81856134b3565b95945050505050565b60208152600061348860208301846134b3565b6001600160a01b038116811461341d57600080fd5b6001600160601b038116811461341d57600080fd5b80356135ce816135ae565b919050565b600080600080600060a086880312156135eb57600080fd5b85356135f681613599565b94506020860135613606816135ae565b93506040860135613616816135ae565b94979396509394606081013594506080013592915050565b60006020828403121561364057600080fd5b813561348881613599565b62ffffff8116811461341d57600080fd5b60006020828403121561366e57600080fd5b81356134888161364b565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b03811182821017156136b1576136b1613679565b60405290565b60405161012081016001600160401b03811182821017156136b1576136b1613679565b60405160e081016001600160401b03811182821017156136b1576136b1613679565b60405161020081016001600160401b03811182821017156136b1576136b1613679565b604051601f8201601f191681016001600160401b038111828210171561374757613747613679565b604052919050565b60006040828403121561376157600080fd5b61376961368f565b9050813581526020820135602082015292915050565b6000806060838503121561379257600080fd5b823561379d816135ae565b91506137ac846020850161374f565b90509250929050565b6000602082840312156137c757600080fd5b8135613488816135ae565b600080600060c084860312156137e757600080fd5b6137f1858561374f565b9250613800856040860161374f565b915061380f856080860161374f565b90509250925092565b60006001600160401b0382111561383157613831613679565b50601f01601f191660200190565b600082601f83011261385057600080fd5b813561386361385e82613818565b61371f565b81815284602083860101111561387857600080fd5b816020850160208301376000918101602001919091529392505050565b6000806000606084860312156138aa57600080fd5b83356138b581613599565b925060208401356138c581613599565b915060408401356001600160401b038111156138e057600080fd5b6138ec8682870161383f565b9150509250925092565b60006020828403121561390857600080fd5b5035919050565b64ffffffffff8116811461341d57600080fd5b80356135ce8161390f565b60ff8116811461341d57600080fd5b80356135ce8161392d565b6000806000806080858703121561395d57600080fd5b8435613968816135ae565b93506020850135613978816135ae565b925060408501356001600160401b038082111561399457600080fd5b9086019061014082890312156139a957600080fd5b6139b16136b7565b6139ba836135c3565b81526139c9896020850161374f565b60208201526060830135828111156139e057600080fd5b6139ec8a82860161383f565b6040830152506080830135606082015260a0830135608082015260c083013560a082015260e083013560c08201526101009150613a2a828401613922565b60e0820152613a3c6101208401613922565b82820152809450505050613a526060860161393c565b905092959194509250565b60008060008060008060c08789031215613a7657600080fd5b8635613a8181613599565b9550613a90886020890161374f565b9450606087013593506080870135925060a08701356001600160401b0380821115613aba57600080fd5b818901915089601f830112613ace57600080fd5b813581811115613add57600080fd5b8a6020828501011115613aef57600080fd5b6020830194508093505050509295509295509295565b600060208284031215613b1757600080fd5b81516134888161364b565b600181811c90821680613b3657607f821691505b602082108103613b5657634e487b7160e01b600052602260045260246000fd5b50919050565b805180151581146135ce57600080fd5b600060208284031215613b7e57600080fd5b61348882613b5c565b80516135ce816135ae565b600060208284031215613ba457600080fd5b8151613488816135ae565b6020808252601190820152704552524f525f4e4f545f5345525649434560781b604082015260600190565b600060208284031215613bec57600080fd5b815161348881613599565b600060408284031215613c0957600080fd5b613c1161368f565b9050815181526020820151602082015292915050565b600082601f830112613c3857600080fd5b8151613c4661385e82613818565b818152846020838601011115613c5b57600080fd5b61355082602083016020870161348f565b80516135ce8161390f565b600060208284031215613c8957600080fd5b81516001600160401b0380821115613ca057600080fd5b908301906101408286031215613cb557600080fd5b613cbd6136b7565b613cc683613b87565b8152613cd58660208501613bf7565b6020820152606083015182811115613cec57600080fd5b613cf887828601613c27565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c08201526101009150613d36828401613c6c565b60e0820152613d486101208401613c6c565b91810191909152949350505050565b8082018082111561186257634e487b7160e01b600052601160045260246000fd5b80516001600160601b031682526000610140602083810151805186830152908101516040860152506040830151816060860152613db7828601826134b3565b91505060608301516080850152608083015160a085015260a083015160c085015260c083015160e085015260e0830151610100613dfc8187018364ffffffffff169052565b84015164ffffffffff81166101208701529050509392505050565b6001600160601b0384168152606060208201526000613e396060830185613d78565b905060ff83166040830152949350505050565b80516135ce8161392d565b80516135ce81613599565b600060e08284031215613e7457600080fd5b613e7c6136da565b9050613e8782613b87565b8152613e9560208301613b87565b6020820152613ea660408301613e4c565b6040820152613eb760608301613b5c565b6060820152613ec860808301613e57565b6080820152613ed960a08301613e57565b60a082015260c08201516001600160401b03811115613ef757600080fd5b613f0384828501613c27565b60c08301525092915050565b60008060408385031215613f2257600080fd5b82516001600160401b0380821115613f3957600080fd5b613f4586838701613e62565b93506020850151915080821115613f5b57600080fd5b50613f6885828601613c27565b9150509250929050565b600060208284031215613f8457600080fd5b5051919050565b60006101808284031215613f9e57600080fd5b613fa66136b7565b613faf83613b87565b8152613fbd60208401613e57565b602082015260408301516040820152613fd98460608501613bf7565b6060820152613feb8460a08501613bf7565b6080820152613ffd8460e08501613bf7565b60a082015261400f6101208401613b5c565b60c08201526140216101408401613b5c565b60e08201526140336101608401613e57565b6101008201529392505050565b6001600160601b038151168252602081015161406760208401826001600160a01b03169052565b5060408101516040830152606081015161408e606084018280518252602090810151910152565b506080810151805160a0840152602081015160c08401525060a0810151805160e084015260208101516101008401525060c08101518015156101208401525060e08101518015156101408401525061010001516001600160a01b03166101609190910152565b505050565b6001600160601b03841681526101c081016141176020830185614040565b60ff83166101a0830152949350505050565b6001600160401b038116811461341d57600080fd5b60006020828403121561415057600080fd5b815161348881614129565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561418357600080fd5b81516134888161392d565b6000602082840312156141a057600080fd5b81516001600160401b038111156141b657600080fd5b61355084828501613e62565b6020815260006134886020830184613d78565b60208152600061348860208301846134df565b6001600160601b03831681526040602082015260006135506040830184613d78565b80516001600160c01b0319811681146135ce57600080fd5b805161ffff811681146135ce57600080fd5b60006020828403121561424657600080fd5b81516001600160401b038082111561425d57600080fd5b90830190610200828603121561427257600080fd5b61427a6136fc565b61428383613b87565b815261429160208401613b87565b60208201526142a26040840161420a565b60408201526142b36060840161420a565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e082015261010080840151838111156142f457600080fd5b61430088828701613c27565b828401525050610120808401518381111561431a57600080fd5b61432688828701613c27565b828401525050610140915061433c828401614222565b828201526101609150614350828401614222565b82820152610180915081830151828201526101a09150614371828401613c6c565b828201526101c09150614385828401613c6c565b828201526101e09150613d48828401613c6c565b6001600160601b03831681526101a081016134886020830184614040565b6000602082840312156143c957600080fd5b81516134888161390f565b600080604083850312156143e757600080fd5b82516143f281613599565b602084015190925061440381613599565b809150509250929050565b815181526020808301519082015260408101611862565b6000806040838503121561443857600080fd5b505080516020909101519092909150565b60408152600061445c60408301856134b3565b905060ff831660208301529392505050565b601f8211156140f457600081815260208120601f850160051c810160208610156144955750805b601f850160051c820191505b818110156144b4578281556001016144a1565b505050505050565b81516001600160401b038111156144d5576144d5613679565b6144e9816144e38454613b22565b8461446e565b602080601f83116001811461451e57600084156145065750858301515b600019600386901b1c1916600185901b1785556144b4565b600085815260208120601f198616915b8281101561454d5788860151825594840194600190910190840161452e565b508582101561456b5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220d1df09b525b18207c6ed78819819f41d7a6222f3f8d497b4dd8f4bcb9f273b0d64736f6c63430008140033",
869
- "linkReferences": {
870
- "contracts/types/Blocknumber.sol": {
871
- "BlocknumberLib": [
1422
+ "length": 20,
1423
+ "start": 15519
1424
+ },
872
1425
  {
873
1426
  "length": 20,
874
- "start": 4270
1427
+ "start": 15665
1428
+ },
1429
+ {
1430
+ "length": 20,
1431
+ "start": 15869
1432
+ },
1433
+ {
1434
+ "length": 20,
1435
+ "start": 23138
875
1436
  }
876
1437
  ]
877
1438
  },
@@ -879,11 +1440,11 @@
879
1440
  "FeeLib": [
880
1441
  {
881
1442
  "length": 20,
882
- "start": 11739
1443
+ "start": 14812
883
1444
  },
884
1445
  {
885
1446
  "length": 20,
886
- "start": 11894
1447
+ "start": 14980
887
1448
  }
888
1449
  ]
889
1450
  },
@@ -891,19 +1452,11 @@
891
1452
  "NftIdLib": [
892
1453
  {
893
1454
  "length": 20,
894
- "start": 2272
895
- },
896
- {
897
- "length": 20,
898
- "start": 4650
899
- },
900
- {
901
- "length": 20,
902
- "start": 5676
1455
+ "start": 2128
903
1456
  },
904
1457
  {
905
1458
  "length": 20,
906
- "start": 9769
1459
+ "start": 8279
907
1460
  }
908
1461
  ]
909
1462
  },
@@ -911,121 +1464,131 @@
911
1464
  "RoleIdLib": [
912
1465
  {
913
1466
  "length": 20,
914
- "start": 12592
1467
+ "start": 12791
915
1468
  },
916
1469
  {
917
1470
  "length": 20,
918
- "start": 12713
1471
+ "start": 13691
919
1472
  },
920
1473
  {
921
1474
  "length": 20,
922
- "start": 12772
923
- },
924
- {
925
- "length": 20,
926
- "start": 12831
1475
+ "start": 15793
927
1476
  }
928
1477
  ]
929
1478
  },
930
- "contracts/types/Timestamp.sol": {
931
- "TimestampLib": [
1479
+ "contracts/types/Version.sol": {
1480
+ "VersionLib": [
932
1481
  {
933
1482
  "length": 20,
934
- "start": 8875
1483
+ "start": 1671
935
1484
  },
936
1485
  {
937
1486
  "length": 20,
938
- "start": 10630
939
- }
940
- ]
941
- },
942
- "contracts/types/Version.sol": {
943
- "VersionLib": [
1487
+ "start": 2827
1488
+ },
944
1489
  {
945
1490
  "length": 20,
946
- "start": 1794
1491
+ "start": 13997
947
1492
  },
948
1493
  {
949
1494
  "length": 20,
950
- "start": 5917
951
- },
1495
+ "start": 15977
1496
+ }
1497
+ ],
1498
+ "VersionPartLib": [
952
1499
  {
953
1500
  "length": 20,
954
- "start": 6719
1501
+ "start": 8778
955
1502
  }
956
1503
  ]
957
1504
  }
958
1505
  },
959
1506
  "deployedLinkReferences": {
960
- "contracts/types/Blocknumber.sol": {
961
- "BlocknumberLib": [
1507
+ "contracts/types/Amount.sol": {
1508
+ "AmountLib": [
962
1509
  {
963
1510
  "length": 20,
964
- "start": 3956
965
- }
966
- ]
967
- },
968
- "contracts/types/Fee.sol": {
969
- "FeeLib": [
1511
+ "start": 9394
1512
+ },
970
1513
  {
971
1514
  "length": 20,
972
- "start": 11425
1515
+ "start": 9546
973
1516
  },
974
1517
  {
975
1518
  "length": 20,
976
- "start": 11580
977
- }
978
- ]
979
- },
980
- "contracts/types/NftId.sol": {
981
- "NftIdLib": [
1519
+ "start": 9706
1520
+ },
1521
+ {
1522
+ "length": 20,
1523
+ "start": 9942
1524
+ },
1525
+ {
1526
+ "length": 20,
1527
+ "start": 10320
1528
+ },
1529
+ {
1530
+ "length": 20,
1531
+ "start": 10684
1532
+ },
1533
+ {
1534
+ "length": 20,
1535
+ "start": 14902
1536
+ },
982
1537
  {
983
1538
  "length": 20,
984
- "start": 1958
1539
+ "start": 15289
985
1540
  },
986
1541
  {
987
1542
  "length": 20,
988
- "start": 4336
1543
+ "start": 15435
989
1544
  },
990
1545
  {
991
1546
  "length": 20,
992
- "start": 5362
1547
+ "start": 15639
993
1548
  },
994
1549
  {
995
1550
  "length": 20,
996
- "start": 9455
1551
+ "start": 22908
997
1552
  }
998
1553
  ]
999
1554
  },
1000
- "contracts/types/RoleId.sol": {
1001
- "RoleIdLib": [
1555
+ "contracts/types/Fee.sol": {
1556
+ "FeeLib": [
1002
1557
  {
1003
1558
  "length": 20,
1004
- "start": 12278
1559
+ "start": 14582
1005
1560
  },
1006
1561
  {
1007
1562
  "length": 20,
1008
- "start": 12399
1009
- },
1563
+ "start": 14750
1564
+ }
1565
+ ]
1566
+ },
1567
+ "contracts/types/NftId.sol": {
1568
+ "NftIdLib": [
1010
1569
  {
1011
1570
  "length": 20,
1012
- "start": 12458
1571
+ "start": 1898
1013
1572
  },
1014
1573
  {
1015
1574
  "length": 20,
1016
- "start": 12517
1575
+ "start": 8049
1017
1576
  }
1018
1577
  ]
1019
1578
  },
1020
- "contracts/types/Timestamp.sol": {
1021
- "TimestampLib": [
1579
+ "contracts/types/RoleId.sol": {
1580
+ "RoleIdLib": [
1581
+ {
1582
+ "length": 20,
1583
+ "start": 12561
1584
+ },
1022
1585
  {
1023
1586
  "length": 20,
1024
- "start": 8561
1587
+ "start": 13461
1025
1588
  },
1026
1589
  {
1027
1590
  "length": 20,
1028
- "start": 10316
1591
+ "start": 15563
1029
1592
  }
1030
1593
  ]
1031
1594
  },
@@ -1033,15 +1596,25 @@
1033
1596
  "VersionLib": [
1034
1597
  {
1035
1598
  "length": 20,
1036
- "start": 1480
1599
+ "start": 1441
1600
+ },
1601
+ {
1602
+ "length": 20,
1603
+ "start": 2597
1037
1604
  },
1038
1605
  {
1039
1606
  "length": 20,
1040
- "start": 5603
1607
+ "start": 13767
1041
1608
  },
1042
1609
  {
1043
1610
  "length": 20,
1044
- "start": 6405
1611
+ "start": 15747
1612
+ }
1613
+ ],
1614
+ "VersionPartLib": [
1615
+ {
1616
+ "length": 20,
1617
+ "start": 8548
1045
1618
  }
1046
1619
  ]
1047
1620
  }