@etherisc/gif-next 0.0.2-fe88ad7-208 → 0.0.2-ff8087d-237

Sign up to get free protection for your applications and to get access to all the features.
Files changed (378) hide show
  1. package/README.md +8 -13
  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 +903 -202
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/components/{BaseComponent.sol/BaseComponent.json → IComponent.sol/IComponent.json} +237 -83
  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 +760 -195
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +564 -141
  18. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +1 -1
  19. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +15 -15
  20. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  21. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +69 -79
  22. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +1 -1
  23. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +5 -0
  24. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  25. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1474 -483
  26. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +248 -218
  28. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  29. package/artifacts/contracts/instance/Instance.sol/Instance.json +1152 -794
  30. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  31. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +462 -179
  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 +482 -346
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  37. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +355 -91
  38. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
  39. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +11 -40
  40. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  41. package/artifacts/contracts/instance/base/{ComponentServiceBase.sol/ComponentServiceBase.json → ComponentService.sol/ComponentService.json} +263 -164
  42. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  44. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  45. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +40 -10
  46. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  47. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
  48. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  49. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +58 -75
  50. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  51. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  52. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  53. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  54. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  55. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  56. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  57. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  58. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  59. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +1124 -0
  60. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  61. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +688 -0
  62. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +1 -1
  63. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +641 -303
  64. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  65. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +343 -79
  66. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  67. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +1384 -0
  68. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  69. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +752 -0
  70. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1434 -280
  72. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  73. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +469 -73
  74. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  75. package/artifacts/contracts/instance/service/{IComponentOwnerService.sol/IComponentOwnerService.json → IApplicationService.sol/IApplicationService.json} +342 -189
  76. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +1 -1
  77. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +310 -249
  78. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  79. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +743 -0
  80. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +757 -144
  82. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  83. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +262 -275
  84. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +703 -125
  86. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  87. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +71 -165
  88. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +1 -1
  89. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +632 -344
  90. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  91. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +367 -91
  92. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  93. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +1119 -224
  94. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  95. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +361 -73
  96. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  97. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +297 -210
  98. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
  99. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +298 -78
  100. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  101. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  102. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  103. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +117 -5
  104. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  105. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +99 -217
  106. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  107. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  108. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  109. package/artifacts/contracts/registry/Registry.sol/Registry.json +131 -27
  110. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +1 -1
  111. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +18 -18
  112. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  113. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +205 -250
  114. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  115. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +287 -81
  116. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
  117. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +81 -68
  118. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  119. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +138 -50
  120. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  121. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  122. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  123. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  124. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +27 -29
  125. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  126. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +189 -0
  127. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  128. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +8 -34
  129. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  130. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  131. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  132. package/artifacts/contracts/shared/IService.sol/IService.json +71 -165
  133. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  134. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  135. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  136. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +107 -27
  137. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  138. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +302 -0
  139. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  140. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +283 -63
  141. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  142. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +116 -51
  143. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  144. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
  145. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  146. package/artifacts/contracts/shared/Service.sol/Service.json +173 -153
  147. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  148. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +24 -6
  149. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  150. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  151. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  152. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  153. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  154. package/artifacts/contracts/test/TestFee.sol/TestFee.json +2 -2
  155. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  156. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +116 -51
  157. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  158. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +6 -6
  159. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  160. package/artifacts/contracts/test/TestService.sol/TestService.json +191 -203
  161. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  162. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  163. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  164. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  165. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -190
  166. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  167. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  168. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +4 -0
  169. package/artifacts/contracts/types/Amount.sol/AmountLib.json +281 -0
  170. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  171. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  172. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  173. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  174. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +179 -0
  175. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  176. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
  177. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  178. package/artifacts/contracts/types/Fee.sol/FeeLib.json +74 -19
  179. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  180. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  181. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  182. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
  183. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  184. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +2 -2
  185. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  186. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  187. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  188. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  189. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +209 -0
  190. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  191. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
  192. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  193. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  194. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  195. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  196. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  197. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  198. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  199. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  200. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +38 -7
  202. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  203. package/artifacts/contracts/types/UFixed.sol/MathLib.json +2 -2
  204. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  205. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +2 -2
  206. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  207. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  208. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  209. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
  210. package/contracts/components/Component.sol +272 -0
  211. package/contracts/components/Distribution.sol +204 -82
  212. package/contracts/components/IComponent.sol +90 -0
  213. package/contracts/components/IDistributionComponent.sol +44 -17
  214. package/contracts/components/IPoolComponent.sol +90 -42
  215. package/contracts/components/IProductComponent.sol +15 -9
  216. package/contracts/components/Pool.sol +217 -186
  217. package/contracts/components/Product.sol +246 -166
  218. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +2 -12
  219. package/contracts/instance/BundleManager.sol +17 -20
  220. package/contracts/instance/Cloneable.sol +7 -2
  221. package/contracts/instance/IInstance.sol +67 -25
  222. package/contracts/instance/IInstanceService.sol +34 -11
  223. package/contracts/instance/Instance.sol +158 -116
  224. package/contracts/instance/InstanceAccessManager.sol +389 -165
  225. package/contracts/instance/InstanceReader.sol +87 -36
  226. package/contracts/instance/InstanceService.sol +295 -161
  227. package/contracts/instance/InstanceServiceManager.sol +1 -1
  228. package/contracts/instance/ObjectManager.sol +10 -29
  229. package/contracts/instance/base/ComponentService.sol +130 -0
  230. package/contracts/instance/base/KeyValueStore.sol +13 -36
  231. package/contracts/instance/base/Lifecycle.sol +26 -6
  232. package/contracts/instance/module/IAccess.sol +22 -16
  233. package/contracts/instance/module/IBundle.sol +8 -5
  234. package/contracts/instance/module/IComponents.sol +41 -0
  235. package/contracts/instance/module/IDistribution.sol +3 -0
  236. package/contracts/instance/module/IPolicy.sol +43 -11
  237. package/contracts/instance/module/ISetup.sol +7 -20
  238. package/contracts/instance/service/ApplicationService.sol +356 -0
  239. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  240. package/contracts/instance/service/BundleService.sol +244 -119
  241. package/contracts/instance/service/BundleServiceManager.sol +1 -1
  242. package/contracts/instance/service/ClaimService.sol +443 -0
  243. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  244. package/contracts/instance/service/DistributionService.sol +360 -41
  245. package/contracts/instance/service/DistributionServiceManager.sol +1 -1
  246. package/contracts/instance/service/IApplicationService.sol +79 -0
  247. package/contracts/instance/service/IBundleService.sol +93 -20
  248. package/contracts/instance/service/IClaimService.sol +90 -0
  249. package/contracts/instance/service/IDistributionService.sol +89 -0
  250. package/contracts/instance/service/IPolicyService.sol +44 -51
  251. package/contracts/instance/service/IPoolService.sol +97 -3
  252. package/contracts/instance/service/PolicyService.sol +233 -364
  253. package/contracts/instance/service/PolicyServiceManager.sol +2 -2
  254. package/contracts/instance/service/PoolService.sol +319 -40
  255. package/contracts/instance/service/PoolServiceManager.sol +1 -1
  256. package/contracts/instance/service/ProductService.sol +90 -50
  257. package/contracts/instance/service/ProductServiceManager.sol +2 -2
  258. package/contracts/registry/ChainNft.sol +8 -0
  259. package/contracts/registry/IRegistry.sol +18 -8
  260. package/contracts/registry/IRegistryService.sol +21 -13
  261. package/contracts/registry/ITransferInterceptor.sol +1 -0
  262. package/contracts/registry/Registry.sol +142 -71
  263. package/contracts/registry/RegistryAccessManager.sol +31 -25
  264. package/contracts/registry/RegistryService.sol +93 -134
  265. package/contracts/registry/RegistryServiceManager.sol +13 -13
  266. package/contracts/registry/ReleaseManager.sol +103 -127
  267. package/contracts/registry/TokenRegistry.sol +19 -13
  268. package/contracts/shared/ERC165.sol +14 -12
  269. package/contracts/shared/INftOwnable.sol +11 -10
  270. package/contracts/shared/IPolicyHolder.sol +40 -0
  271. package/contracts/shared/IRegisterable.sol +4 -6
  272. package/contracts/shared/IRegistryLinked.sol +11 -0
  273. package/contracts/shared/IService.sol +6 -4
  274. package/contracts/shared/IVersionable.sol +4 -47
  275. package/contracts/shared/NftOwnable.sol +64 -80
  276. package/contracts/shared/PolicyHolder.sol +94 -0
  277. package/contracts/shared/ProxyManager.sol +100 -25
  278. package/contracts/shared/Registerable.sol +24 -39
  279. package/contracts/shared/RegistryLinked.sol +43 -0
  280. package/contracts/shared/Service.sol +36 -22
  281. package/contracts/shared/TokenHandler.sol +14 -6
  282. package/contracts/shared/Versionable.sol +4 -92
  283. package/contracts/test/TestRegisterable.sol +1 -1
  284. package/contracts/test/TestService.sol +1 -1
  285. package/contracts/types/Amount.sol +109 -0
  286. package/contracts/types/Blocknumber.sol +1 -0
  287. package/contracts/types/ClaimId.sol +75 -0
  288. package/contracts/types/DistributorType.sol +2 -2
  289. package/contracts/types/Fee.sol +17 -8
  290. package/contracts/types/NftId.sol +8 -0
  291. package/contracts/types/ObjectType.sol +11 -6
  292. package/contracts/types/PayoutId.sol +82 -0
  293. package/contracts/types/Referral.sol +4 -0
  294. package/contracts/types/RoleId.sol +18 -11
  295. package/contracts/types/Seconds.sol +54 -0
  296. package/contracts/types/StateId.sol +7 -2
  297. package/contracts/types/Timestamp.sol +18 -13
  298. package/contracts/types/UFixed.sol +1 -0
  299. package/contracts/types/Version.sol +1 -0
  300. package/package.json +3 -3
  301. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  302. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  303. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -397
  304. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  305. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  306. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  307. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  308. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  309. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  310. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  311. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  312. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  313. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  314. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  315. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  316. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  317. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  318. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  319. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  320. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  321. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  322. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  323. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  324. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  325. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  326. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  327. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  328. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  329. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  330. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  331. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  332. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  333. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  334. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  335. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  336. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  337. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  338. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  339. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  340. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  341. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  342. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  343. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  344. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.json +0 -448
  345. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  346. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +0 -763
  347. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  348. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  349. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  350. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  351. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -814
  352. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  353. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  354. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
  355. package/contracts/components/BaseComponent.sol +0 -159
  356. package/contracts/components/IBaseComponent.sol +0 -34
  357. package/contracts/experiment/cloning/Cloner.sol +0 -47
  358. package/contracts/experiment/errors/Require.sol +0 -38
  359. package/contracts/experiment/errors/Revert.sol +0 -44
  360. package/contracts/experiment/inheritance/A.sol +0 -53
  361. package/contracts/experiment/inheritance/B.sol +0 -28
  362. package/contracts/experiment/inheritance/C.sol +0 -34
  363. package/contracts/experiment/inheritance/IA.sol +0 -13
  364. package/contracts/experiment/inheritance/IB.sol +0 -10
  365. package/contracts/experiment/inheritance/IC.sol +0 -12
  366. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  367. package/contracts/experiment/statemachine/ISM.sol +0 -25
  368. package/contracts/experiment/statemachine/SM.sol +0 -57
  369. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  370. package/contracts/experiment/types/TypeA.sol +0 -47
  371. package/contracts/experiment/types/TypeB.sol +0 -29
  372. package/contracts/instance/IInstanceBase.sol +0 -26
  373. package/contracts/instance/InstanceBase.sol +0 -41
  374. package/contracts/instance/base/ComponentServiceBase.sol +0 -82
  375. package/contracts/instance/base/IInstanceBase.sol +0 -23
  376. package/contracts/instance/service/ComponentOwnerService.sol +0 -315
  377. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  378. package/contracts/shared/RegisterableUpgradable.sol +0 -16
@@ -6,131 +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
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "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",
22
60
  "type": "address"
23
61
  },
62
+ {
63
+ "internalType": "ObjectType",
64
+ "name": "expectedType",
65
+ "type": "uint8"
66
+ },
67
+ {
68
+ "internalType": "ObjectType",
69
+ "name": "foundType",
70
+ "type": "uint8"
71
+ }
72
+ ],
73
+ "name": "ErrorComponentServiceComponentTypeInvalid",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [
24
78
  {
25
79
  "internalType": "NftId",
26
- "name": "nftId",
80
+ "name": "instanceNftId",
27
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"
28
92
  }
29
93
  ],
30
- "name": "ErrorAlreadyLinked",
94
+ "name": "ErrorComponentServiceExpectedRoleMissing",
31
95
  "type": "error"
32
96
  },
33
97
  {
34
98
  "inputs": [
35
99
  {
36
100
  "internalType": "address",
37
- "name": "componentAddress",
101
+ "name": "component",
38
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"
39
113
  }
40
114
  ],
41
- "name": "ErrorComponentServiceBaseComponentLocked",
115
+ "name": "ErrorComponentServiceInvalidType",
42
116
  "type": "error"
43
117
  },
44
118
  {
45
119
  "inputs": [
46
120
  {
47
121
  "internalType": "address",
48
- "name": "contractAddress",
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": "target",
133
+ "name": "component",
134
+ "type": "address"
135
+ },
136
+ {
137
+ "internalType": "address",
138
+ "name": "initialOwner",
139
+ "type": "address"
140
+ },
141
+ {
142
+ "internalType": "address",
143
+ "name": "sender",
60
144
  "type": "address"
61
145
  }
62
146
  ],
63
- "name": "ErrorIAccessTargetLocked",
147
+ "name": "ErrorComponentServiceSenderNotOwner",
64
148
  "type": "error"
65
149
  },
66
150
  {
67
151
  "inputs": [
68
152
  {
69
153
  "internalType": "address",
70
- "name": "account",
154
+ "name": "sender",
71
155
  "type": "address"
72
156
  }
73
157
  ],
74
- "name": "ErrorNotOwner",
158
+ "name": "ErrorComponentServiceSenderNotService",
75
159
  "type": "error"
76
160
  },
77
161
  {
78
162
  "inputs": [
79
163
  {
80
164
  "internalType": "address",
81
- "name": "registryAddress",
165
+ "name": "target",
82
166
  "type": "address"
83
167
  }
84
168
  ],
85
- "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",
86
181
  "type": "error"
87
182
  },
88
183
  {
89
184
  "inputs": [
90
185
  {
91
186
  "internalType": "address",
92
- "name": "registryAddress",
187
+ "name": "contractAddress",
93
188
  "type": "address"
94
189
  }
95
190
  ],
96
- "name": "ErrorRegisterableNotRegistry",
191
+ "name": "ErrorNftOwnableContractNotRegistered",
97
192
  "type": "error"
98
193
  },
99
194
  {
100
195
  "inputs": [],
101
- "name": "ErrorRegistryAddressZero",
196
+ "name": "ErrorNftOwnableInitialOwnerZero",
102
197
  "type": "error"
103
198
  },
104
199
  {
105
200
  "inputs": [
106
201
  {
107
202
  "internalType": "address",
108
- "name": "registry",
203
+ "name": "account",
109
204
  "type": "address"
110
205
  }
111
206
  ],
112
- "name": "ErrorRegistryAlreadyInitialized",
207
+ "name": "ErrorNftOwnableNotOwner",
113
208
  "type": "error"
114
209
  },
115
210
  {
116
- "inputs": [],
117
- "name": "ErrorRegistryNotInitialized",
211
+ "inputs": [
212
+ {
213
+ "internalType": "address",
214
+ "name": "registryAddress",
215
+ "type": "address"
216
+ }
217
+ ],
218
+ "name": "ErrorNotRegistry",
118
219
  "type": "error"
119
220
  },
120
221
  {
121
222
  "inputs": [
122
223
  {
123
- "internalType": "RoleId",
124
- "name": "expected",
125
- "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"
126
238
  },
127
239
  {
128
- "internalType": "address",
129
- "name": "caller",
130
- "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"
131
259
  }
132
260
  ],
133
- "name": "ExpectedRoleMissing",
261
+ "name": "ErrorPoolServiceInvalidTransferAmount",
262
+ "type": "error"
263
+ },
264
+ {
265
+ "inputs": [],
266
+ "name": "ErrorServiceNotImplemented",
134
267
  "type": "error"
135
268
  },
136
269
  {
@@ -143,6 +276,19 @@
143
276
  "name": "NotInitializing",
144
277
  "type": "error"
145
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
+ },
146
292
  {
147
293
  "anonymous": false,
148
294
  "inputs": [
@@ -161,29 +307,98 @@
161
307
  "inputs": [
162
308
  {
163
309
  "indexed": false,
164
- "internalType": "Version",
165
- "name": "version",
166
- "type": "uint24"
310
+ "internalType": "NftId",
311
+ "name": "instanceNftId",
312
+ "type": "uint96"
167
313
  },
168
314
  {
169
315
  "indexed": false,
170
- "internalType": "address",
171
- "name": "implementation",
172
- "type": "address"
316
+ "internalType": "NftId",
317
+ "name": "poolNftId",
318
+ "type": "uint96"
173
319
  },
174
320
  {
175
321
  "indexed": false,
176
- "internalType": "address",
177
- "name": "activatedBy",
178
- "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"
179
394
  }
180
395
  ],
181
- "name": "LogVersionableInitialized",
396
+ "name": "LogPoolServiceMaxCapitalAmountUpdated",
182
397
  "type": "event"
183
398
  },
184
399
  {
185
400
  "inputs": [],
186
- "name": "REGISTERABLE_LOCATION_V1",
401
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
187
402
  "outputs": [
188
403
  {
189
404
  "internalType": "bytes32",
@@ -196,93 +411,152 @@
196
411
  },
197
412
  {
198
413
  "inputs": [],
199
- "name": "getDomain",
414
+ "name": "REGISTERABLE_LOCATION_V1",
200
415
  "outputs": [
201
416
  {
202
- "internalType": "ObjectType",
417
+ "internalType": "bytes32",
203
418
  "name": "",
204
- "type": "uint8"
419
+ "type": "bytes32"
205
420
  }
206
421
  ],
207
- "stateMutability": "pure",
422
+ "stateMutability": "view",
208
423
  "type": "function"
209
424
  },
210
425
  {
211
426
  "inputs": [],
212
- "name": "getInitialInfo",
427
+ "name": "authority",
213
428
  "outputs": [
214
429
  {
215
- "components": [
216
- {
217
- "internalType": "NftId",
218
- "name": "nftId",
219
- "type": "uint96"
220
- },
221
- {
222
- "internalType": "NftId",
223
- "name": "parentNftId",
224
- "type": "uint96"
225
- },
226
- {
227
- "internalType": "ObjectType",
228
- "name": "objectType",
229
- "type": "uint8"
230
- },
231
- {
232
- "internalType": "bool",
233
- "name": "isInterceptor",
234
- "type": "bool"
235
- },
236
- {
237
- "internalType": "address",
238
- "name": "objectAddress",
239
- "type": "address"
240
- },
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
+ },
451
+ {
452
+ "inputs": [
453
+ {
454
+ "internalType": "address",
455
+ "name": "owner",
456
+ "type": "address"
457
+ },
458
+ {
459
+ "components": [
241
460
  {
242
- "internalType": "address",
243
- "name": "initialOwner",
244
- "type": "address"
461
+ "internalType": "UFixed",
462
+ "name": "fractionalFee",
463
+ "type": "uint256"
245
464
  },
246
465
  {
247
- "internalType": "bytes",
248
- "name": "data",
249
- "type": "bytes"
466
+ "internalType": "uint256",
467
+ "name": "fixedFee",
468
+ "type": "uint256"
250
469
  }
251
470
  ],
252
- "internalType": "struct IRegistry.ObjectInfo",
253
- "name": "",
471
+ "internalType": "struct Fee",
472
+ "name": "fee",
254
473
  "type": "tuple"
255
474
  },
475
+ {
476
+ "internalType": "Amount",
477
+ "name": "stakingAmount",
478
+ "type": "uint96"
479
+ },
480
+ {
481
+ "internalType": "Seconds",
482
+ "name": "lifetime",
483
+ "type": "uint40"
484
+ },
256
485
  {
257
486
  "internalType": "bytes",
258
- "name": "data",
487
+ "name": "filter",
259
488
  "type": "bytes"
260
489
  }
261
490
  ],
262
- "stateMutability": "view",
491
+ "name": "createBundle",
492
+ "outputs": [
493
+ {
494
+ "internalType": "NftId",
495
+ "name": "bundleNftId",
496
+ "type": "uint96"
497
+ }
498
+ ],
499
+ "stateMutability": "nonpayable",
263
500
  "type": "function"
264
501
  },
265
502
  {
266
503
  "inputs": [],
267
- "name": "getInitializedVersion",
504
+ "name": "getDomain",
268
505
  "outputs": [
269
506
  {
270
- "internalType": "uint64",
507
+ "internalType": "ObjectType",
271
508
  "name": "",
272
- "type": "uint64"
509
+ "type": "uint8"
273
510
  }
274
511
  ],
275
- "stateMutability": "view",
512
+ "stateMutability": "pure",
276
513
  "type": "function"
277
514
  },
278
515
  {
279
516
  "inputs": [],
280
- "name": "getInstanceService",
517
+ "name": "getInitialInfo",
281
518
  "outputs": [
282
519
  {
283
- "internalType": "contract InstanceService",
284
- "name": "",
285
- "type": "address"
520
+ "components": [
521
+ {
522
+ "internalType": "NftId",
523
+ "name": "nftId",
524
+ "type": "uint96"
525
+ },
526
+ {
527
+ "internalType": "NftId",
528
+ "name": "parentNftId",
529
+ "type": "uint96"
530
+ },
531
+ {
532
+ "internalType": "ObjectType",
533
+ "name": "objectType",
534
+ "type": "uint8"
535
+ },
536
+ {
537
+ "internalType": "bool",
538
+ "name": "isInterceptor",
539
+ "type": "bool"
540
+ },
541
+ {
542
+ "internalType": "address",
543
+ "name": "objectAddress",
544
+ "type": "address"
545
+ },
546
+ {
547
+ "internalType": "address",
548
+ "name": "initialOwner",
549
+ "type": "address"
550
+ },
551
+ {
552
+ "internalType": "bytes",
553
+ "name": "data",
554
+ "type": "bytes"
555
+ }
556
+ ],
557
+ "internalType": "struct IRegistry.ObjectInfo",
558
+ "name": "info",
559
+ "type": "tuple"
286
560
  }
287
561
  ],
288
562
  "stateMutability": "view",
@@ -290,12 +564,12 @@
290
564
  },
291
565
  {
292
566
  "inputs": [],
293
- "name": "getMajorVersion",
567
+ "name": "getInstanceService",
294
568
  "outputs": [
295
569
  {
296
- "internalType": "VersionPart",
297
- "name": "majorVersion",
298
- "type": "uint8"
570
+ "internalType": "contract InstanceService",
571
+ "name": "",
572
+ "type": "address"
299
573
  }
300
574
  ],
301
575
  "stateMutability": "view",
@@ -363,67 +637,596 @@
363
637
  "type": "uint24"
364
638
  }
365
639
  ],
366
- "stateMutability": "pure",
640
+ "stateMutability": "pure",
641
+ "type": "function"
642
+ },
643
+ {
644
+ "inputs": [],
645
+ "name": "initializeERC165",
646
+ "outputs": [],
647
+ "stateMutability": "nonpayable",
648
+ "type": "function"
649
+ },
650
+ {
651
+ "inputs": [
652
+ {
653
+ "internalType": "address",
654
+ "name": "initialOwner",
655
+ "type": "address"
656
+ },
657
+ {
658
+ "internalType": "address",
659
+ "name": "registryAddress",
660
+ "type": "address"
661
+ }
662
+ ],
663
+ "name": "initializeNftOwnable",
664
+ "outputs": [],
665
+ "stateMutability": "nonpayable",
666
+ "type": "function"
667
+ },
668
+ {
669
+ "inputs": [
670
+ {
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"
699
+ }
700
+ ],
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",
758
+ "type": "function"
759
+ },
760
+ {
761
+ "inputs": [],
762
+ "name": "isConsumingScheduledOp",
763
+ "outputs": [
764
+ {
765
+ "internalType": "bytes4",
766
+ "name": "",
767
+ "type": "bytes4"
768
+ }
769
+ ],
770
+ "stateMutability": "view",
771
+ "type": "function"
772
+ },
773
+ {
774
+ "inputs": [],
775
+ "name": "linkToRegisteredNftId",
776
+ "outputs": [],
777
+ "stateMutability": "nonpayable",
778
+ "type": "function"
779
+ },
780
+ {
781
+ "inputs": [
782
+ {
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
+ },
797
+ {
798
+ "components": [
799
+ {
800
+ "internalType": "NftId",
801
+ "name": "productNftId",
802
+ "type": "uint96"
803
+ },
804
+ {
805
+ "internalType": "NftId",
806
+ "name": "bundleNftId",
807
+ "type": "uint96"
808
+ },
809
+ {
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"
868
+ },
869
+ {
870
+ "internalType": "Timestamp",
871
+ "name": "activatedAt",
872
+ "type": "uint40"
873
+ },
874
+ {
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"
983
+ }
984
+ ],
985
+ "internalType": "struct IPolicy.Premium",
986
+ "name": "premium",
987
+ "type": "tuple"
988
+ },
989
+ {
990
+ "internalType": "Amount",
991
+ "name": "actualAmountTransferred",
992
+ "type": "uint96"
993
+ }
994
+ ],
995
+ "name": "processSale",
996
+ "outputs": [],
997
+ "stateMutability": "nonpayable",
998
+ "type": "function"
999
+ },
1000
+ {
1001
+ "inputs": [
1002
+ {
1003
+ "internalType": "contract IInstance",
1004
+ "name": "instance",
1005
+ "type": "address"
1006
+ },
1007
+ {
1008
+ "internalType": "NftId",
1009
+ "name": "policyNftId",
1010
+ "type": "uint96"
1011
+ },
1012
+ {
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"
1108
+ }
1109
+ ],
1110
+ "name": "reduceCollateral",
1111
+ "outputs": [],
1112
+ "stateMutability": "nonpayable",
367
1113
  "type": "function"
368
1114
  },
369
1115
  {
370
1116
  "inputs": [
371
1117
  {
372
- "internalType": "uint256",
373
- "name": "idx",
374
- "type": "uint256"
1118
+ "internalType": "address",
1119
+ "name": "poolAddress",
1120
+ "type": "address"
375
1121
  }
376
1122
  ],
377
- "name": "getVersion",
1123
+ "name": "register",
378
1124
  "outputs": [
379
1125
  {
380
- "internalType": "Version",
381
- "name": "",
382
- "type": "uint24"
1126
+ "internalType": "NftId",
1127
+ "name": "poolNftId",
1128
+ "type": "uint96"
383
1129
  }
384
1130
  ],
385
- "stateMutability": "view",
1131
+ "stateMutability": "nonpayable",
386
1132
  "type": "function"
387
1133
  },
388
1134
  {
389
- "inputs": [],
390
- "name": "getVersionCount",
391
- "outputs": [
1135
+ "inputs": [
392
1136
  {
393
- "internalType": "uint256",
394
- "name": "",
395
- "type": "uint256"
1137
+ "internalType": "bytes4",
1138
+ "name": "interfaceId",
1139
+ "type": "bytes4"
396
1140
  }
397
1141
  ],
398
- "stateMutability": "view",
1142
+ "name": "registerInterface",
1143
+ "outputs": [],
1144
+ "stateMutability": "nonpayable",
399
1145
  "type": "function"
400
1146
  },
401
1147
  {
402
1148
  "inputs": [
403
1149
  {
404
- "internalType": "Version",
405
- "name": "_version",
406
- "type": "uint24"
407
- }
408
- ],
409
- "name": "getVersionInfo",
410
- "outputs": [
1150
+ "internalType": "contract IInstance",
1151
+ "name": "instance",
1152
+ "type": "address"
1153
+ },
1154
+ {
1155
+ "internalType": "NftId",
1156
+ "name": "policyNftId",
1157
+ "type": "uint96"
1158
+ },
411
1159
  {
412
1160
  "components": [
413
1161
  {
414
- "internalType": "Version",
415
- "name": "version",
416
- "type": "uint24"
1162
+ "internalType": "NftId",
1163
+ "name": "productNftId",
1164
+ "type": "uint96"
417
1165
  },
418
1166
  {
419
- "internalType": "address",
420
- "name": "implementation",
421
- "type": "address"
1167
+ "internalType": "NftId",
1168
+ "name": "bundleNftId",
1169
+ "type": "uint96"
422
1170
  },
423
1171
  {
424
- "internalType": "address",
425
- "name": "activatedBy",
426
- "type": "address"
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"
427
1230
  },
428
1231
  {
429
1232
  "internalType": "Timestamp",
@@ -431,38 +1234,35 @@
431
1234
  "type": "uint40"
432
1235
  },
433
1236
  {
434
- "internalType": "Blocknumber",
435
- "name": "activatedIn",
436
- "type": "uint32"
1237
+ "internalType": "Timestamp",
1238
+ "name": "expiredAt",
1239
+ "type": "uint40"
1240
+ },
1241
+ {
1242
+ "internalType": "Timestamp",
1243
+ "name": "closedAt",
1244
+ "type": "uint40"
437
1245
  }
438
1246
  ],
439
- "internalType": "struct IVersionable.VersionInfo",
440
- "name": "",
1247
+ "internalType": "struct IPolicy.PolicyInfo",
1248
+ "name": "policyInfo",
441
1249
  "type": "tuple"
442
1250
  }
443
1251
  ],
444
- "stateMutability": "view",
1252
+ "name": "releaseCollateral",
1253
+ "outputs": [],
1254
+ "stateMutability": "nonpayable",
445
1255
  "type": "function"
446
1256
  },
447
1257
  {
448
1258
  "inputs": [
449
1259
  {
450
1260
  "internalType": "address",
451
- "name": "implementation",
452
- "type": "address"
453
- },
454
- {
455
- "internalType": "address",
456
- "name": "activatedBy",
1261
+ "name": "newAuthority",
457
1262
  "type": "address"
458
- },
459
- {
460
- "internalType": "bytes",
461
- "name": "data",
462
- "type": "bytes"
463
1263
  }
464
1264
  ],
465
- "name": "initialize",
1265
+ "name": "setAuthority",
466
1266
  "outputs": [],
467
1267
  "stateMutability": "nonpayable",
468
1268
  "type": "function"
@@ -470,48 +1270,16 @@
470
1270
  {
471
1271
  "inputs": [
472
1272
  {
473
- "internalType": "Version",
474
- "name": "_version",
475
- "type": "uint24"
476
- }
477
- ],
478
- "name": "isInitialized",
479
- "outputs": [
480
- {
481
- "internalType": "bool",
482
- "name": "",
483
- "type": "bool"
1273
+ "internalType": "RoleId",
1274
+ "name": "bundleOwnerRole",
1275
+ "type": "uint64"
484
1276
  }
485
1277
  ],
486
- "stateMutability": "view",
487
- "type": "function"
488
- },
489
- {
490
- "inputs": [],
491
- "name": "linkToRegisteredNftId",
1278
+ "name": "setBundleOwnerRole",
492
1279
  "outputs": [],
493
1280
  "stateMutability": "nonpayable",
494
1281
  "type": "function"
495
1282
  },
496
- {
497
- "inputs": [
498
- {
499
- "internalType": "address",
500
- "name": "poolAddress",
501
- "type": "address"
502
- }
503
- ],
504
- "name": "register",
505
- "outputs": [
506
- {
507
- "internalType": "NftId",
508
- "name": "poolNftId",
509
- "type": "uint96"
510
- }
511
- ],
512
- "stateMutability": "nonpayable",
513
- "type": "function"
514
- },
515
1283
  {
516
1284
  "inputs": [
517
1285
  {
@@ -571,6 +1339,19 @@
571
1339
  "stateMutability": "nonpayable",
572
1340
  "type": "function"
573
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
+ },
574
1355
  {
575
1356
  "inputs": [
576
1357
  {
@@ -592,36 +1373,78 @@
592
1373
  },
593
1374
  {
594
1375
  "inputs": [
595
- {
596
- "internalType": "address",
597
- "name": "implementation",
598
- "type": "address"
599
- },
600
- {
601
- "internalType": "address",
602
- "name": "activatedBy",
603
- "type": "address"
604
- },
605
1376
  {
606
1377
  "internalType": "bytes",
607
1378
  "name": "data",
608
1379
  "type": "bytes"
609
1380
  }
610
1381
  ],
611
- "name": "upgrade",
1382
+ "name": "upgradeVersionable",
612
1383
  "outputs": [],
613
1384
  "stateMutability": "nonpayable",
614
1385
  "type": "function"
615
1386
  }
616
1387
  ],
617
- "bytecode": "0x60806040523480156200001157600080fd5b50620000546301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600280546001600160a01b031916331790556200007062000076565b6200012a565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000c75760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001275780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b612a25806200013a6000396000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c806382678766116100b8578063b68d18091161007c578063b68d1809146103f8578063b88da7591461040d578063caf4e3d414610420578063cc9fc59a14610428578063cde749f414610430578063cf7a1d771461043857600080fd5b80638267876614610383578063893d20e814610396578063946dfcfe1461039e578063a745e3df146103c5578063b3c65015146103d857600080fd5b80634420e486116100ff5780634420e486146101ef5780634d459c901461021a5780634f421333146103335780635ab1bd5314610346578063644c45e01461036b57600080fd5b806301ffc9a71461013c5780630d8e6e2c1461017e5780630fec111c1461019a578063138461e0146101b05780631eff4b22146101ba575b600080fd5b61016961014a366004611f30565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61018661044b565b60405162ffffff9091168152602001610175565b6101a26104d5565b604051610175929190611fb1565b6101b8610628565b005b6101e17f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610175565b6102026101fd36600461206d565b61084a565b6040516001600160601b039091168152602001610175565b6102d661022836600461209b565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526000805160206129d083398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610175565b61016961034136600461209b565b610b2a565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610175565b600154600160a01b90046001600160601b0316610202565b6101b861039136600461219b565b610bdd565b610353610d52565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546101e1565b6101b86103d3366004612208565b610e6b565b6103e0610fc5565b6040516001600160401b039091168152602001610175565b608c5b60405160ff9091168152602001610175565b61018661041b3660046122ac565b610fe6565b610353611037565b6103536110d4565b6103fb6110fe565b6101b8610446366004612208565b611181565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156104ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d091906122c5565b905090565b6104dd611ef2565b606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806105296001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610571610d52565b6001600160a01b0316815260200182600101805461058e906122e2565b80601f01602080910402602001604051908101604052809291908181526020018280546105ba906122e2565b80156106075780601f106105dc57610100808354040283529160200191610607565b820191906000526020600020905b8154815290600101906020018083116105ea57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561068a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ae9190612331565b156106f5576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b031661071e5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610767573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078b9190612331565b6107b3576040516372657a5160e01b81526001600160a01b03821660048201526024016106ec565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa1580156107fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108219190612363565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b60003382610856611ef2565b6060610860611037565b604051637286e5e560e01b81526001600160a01b03858116600483015286811660248301529190911690637286e5e5906044016000604051808303816000875af11580156108b2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108da91908101906124a0565b602082015191935091506000906108f09061128a565b905060006108fc6110d4565b6001600160a01b031663103bd5da87610913611321565b6040516001600160e01b031960e085901b1681526001600160a01b0392831660048201526001600160401b0390911660248201529085166044820152606401602060405180830381865afa15801561096f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109939190612331565b9050806109d6576109a2611321565b6040516351302f8160e01b81526001600160401b0390911660048201526001600160a01b03871660248201526044016106ec565b8351965060006109e584611399565b6040516339f34df560e21b81529091506001600160a01b0384169063e7cd37d490610a16908b9085906004016125bc565b600060405180830381600087803b158015610a3057600080fd5b505af1158015610a44573d6000803e3d6000fd5b50505050610a506110d4565b6001600160a01b03166386ebbf42610a6787611427565b8b896001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015610aa6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ace91908101906125da565b6040518463ffffffff1660e01b8152600401610aec9392919061262a565b600060405180830381600087803b158015610b0657600080fd5b505af1158015610b1a573d6000803e3d6000fd5b5050505050505050505050919050565b6000806000805160206129d083398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610bb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bd6919061265d565b1192915050565b600080610bea608c6114c6565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c529190612676565b83516040516355e343a960e01b81526001600160601b0382166004820152919250906000906001600160a01b038416906355e343a99060240161018060405180830381865afa158015610ca9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ccd91906126c3565b606081018990526080810188905260a08101879052604051633055195560e11b81529091506001600160a01b038516906360aa32aa90610d16908590859060ff90600401612778565b600060405180830381600087803b158015610d3057600080fd5b505af1158015610d44573d6000803e3d6000fd5b505050505050505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610db7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ddb9190612331565b15610e5b57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610e37573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d09190612676565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610e8d61044b565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610ecd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ef191906127bd565b6000805160206129b08339815191528054600160401b900460ff1680610f24575080546001600160401b03808416911610155b15610f425760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610f6d858561173d565b610f76836119dc565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006104d06000805160206129b0833981519152546001600160401b031690565b60006000805160206129d0833981519152600101828154811061100b5761100b6127da565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60008061104c6001546001600160a01b031690565b6001600160a01b031663d39e604360285b6110656110fe565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156110aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110ce9190612676565b92915050565b6000806110e96001546001600160a01b031690565b6001600160a01b031663d39e6043604661105d565b600061110861044b565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801561115d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d091906127f0565b6000805160206129b08339815191528054600160401b810460ff1615906001600160401b03166000811580156111b45750825b90506000826001600160401b031660011480156111d05750303b155b9050811580156111de575080155b156111fc5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561122657845460ff60401b1916600160401b1785555b611230888861173d565b61123a87876119e4565b831561128057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b60008061129f6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156112ee573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611316919081019061280d565b608001519392505050565b6040516368aebf7b60e01b815261012c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015611375573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d091906127bd565b61141360408051610120810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a082019081526000602082018190526040820181905260609091015290565b818060200190518101906110ce91906126c3565b60008061143c6001546001600160a01b031690565b60208401516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611495573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526114bd919081019061280d565b51949350505050565b6114ce611ef2565b6000806114e36001546001600160a01b031690565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa15801561152a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611552919081019061280d565b925061156883604001518560ff90811691161490565b6115aa5760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b60448201526064016106ec565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611600573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611628919081019061280d565b6080015190508092506000836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015611671573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116959190612676565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa1580156116e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117069190612331565b1561173557608085015160405163d53987e560e01b81526001600160a01b0390911660048201526024016106ec565b505050915091565b611745611b10565b6000805160206129d083398151915260006117756000805160206129b0833981519152546001600160401b031690565b9050600061178161044b565b9050816001600160401b03166001036117ae5760028301805462ffffff191662ffffff83161790556117fc565b600283015462ffffff908116908216116117fc5760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b60448201526064016106ec565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af41580156118b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118d49190612841565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf6890610fb69083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b610137611b10565b6000805160206129b08339815191528054600160401b810460ff1615906001600160401b0316600081158015611a175750825b90506000826001600160401b03166001148015611a335750303b155b905081158015611a41575080155b15611a5f5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611a8957845460ff60401b1916600160401b1785555b60008087806020019051810190611aa09190612868565b9092509050611aaf828a611b49565b611abf6306323b1f60e51b611bb4565b50508315611b0757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b6000805160206129b083398151915254600160401b900460ff16611b4757604051631afcd79f60e31b815260040160405180910390fd5b565b6000608c611b556110fe565b6040805160ff9384166020820152929091169082015260600160405160208183030381529060405290506000611b8a84611bd9565b90506000611b9d8583603c848888611c44565b611bad637b6a51fd60e01b611bb4565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015611c20573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110ce9190612363565b611c856301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b611c8f8287611d10565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101611cff83826128f0565b50611b076303fb044760e21b611bb4565b6001600160a01b038216611d665760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e65722069732030000060448201526064016106ec565b600280546001600160a01b0319166001600160a01b038416179055611d8a81611d8e565b5050565b6001546001600160a01b031615611dc75760015460405163fcdbf2d960e01b81526001600160a01b0390911660048201526024016106ec565b6001600160a01b038116611dee5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003611e245760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106ec565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263102da10360e01b60048201526301ffc9a790602401602060405180830381865afa925050508015611e9e575060408051601f3d908101601f19168201909252611e9b91810190612331565b60015b611ec65760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106ec565b80611d8a5760405163fdeac91f60e01b81526001600160a01b03831660048201526024016106ec565b50565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b600060208284031215611f4257600080fd5b81356001600160e01b031981168114611f5a57600080fd5b9392505050565b60005b83811015611f7c578181015183820152602001611f64565b50506000910152565b60008151808452611f9d816020860160208601611f61565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff60408501511660808301526060840151611ff560a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e061010084015261203b610120840182611f85565b9050828103602084015261204f8185611f85565b95945050505050565b6001600160a01b0381168114611eef57600080fd5b60006020828403121561207f57600080fd5b8135611f5a81612058565b62ffffff81168114611eef57600080fd5b6000602082840312156120ad57600080fd5b8135611f5a8161208a565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b03811182821017156120f0576120f06120b8565b60405290565b60405160e081016001600160401b03811182821017156120f0576120f06120b8565b60405161012081016001600160401b03811182821017156120f0576120f06120b8565b604051601f8201601f191681016001600160401b0381118282101715612163576121636120b8565b604052919050565b60006040828403121561217d57600080fd5b6121856120ce565b9050813581526020820135602082015292915050565b600080600060c084860312156121b057600080fd5b6121ba858561216b565b92506121c9856040860161216b565b91506121d8856080860161216b565b90509250925092565b60006001600160401b038211156121fa576121fa6120b8565b50601f01601f191660200190565b60008060006060848603121561221d57600080fd5b833561222881612058565b9250602084013561223881612058565b915060408401356001600160401b0381111561225357600080fd5b8401601f8101861361226457600080fd5b8035612277612272826121e1565b61213b565b81815287602083850101111561228c57600080fd5b816020840160208301376000602083830101528093505050509250925092565b6000602082840312156122be57600080fd5b5035919050565b6000602082840312156122d757600080fd5b8151611f5a8161208a565b600181811c908216806122f657607f821691505b60208210810361231657634e487b7160e01b600052602260045260246000fd5b50919050565b8051801515811461232c57600080fd5b919050565b60006020828403121561234357600080fd5b611f5a8261231c565b80516001600160601b038116811461232c57600080fd5b60006020828403121561237557600080fd5b611f5a8261234c565b60ff81168114611eef57600080fd5b805161232c8161237e565b805161232c81612058565b60006123b1612272846121e1565b90508281528383830111156123c557600080fd5b611f5a836020830184611f61565b600082601f8301126123e457600080fd5b611f5a838351602085016123a3565b600060e0828403121561240557600080fd5b61240d6120f6565b90506124188261234c565b81526124266020830161234c565b60208201526124376040830161238d565b60408201526124486060830161231c565b606082015261245960808301612398565b608082015261246a60a08301612398565b60a082015260c08201516001600160401b0381111561248857600080fd5b612494848285016123d3565b60c08301525092915050565b600080604083850312156124b357600080fd5b82516001600160401b03808211156124ca57600080fd5b6124d6868387016123f3565b935060208501519150808211156124ec57600080fd5b506124f9858286016123d3565b9150509250929050565b6001600160601b038151168252602081015161252a60208401826001600160a01b03169052565b50604081015160408301526060810151612551606084018280518252602090810151910152565b506080810151805160a0840152602081015160c08401525060a0810151805160e084015260208101516101008401525060c08101518015156101208401525060e08101518015156101408401525061010001516001600160a01b03166101609190910152565b505050565b6001600160601b03831681526101a08101611f5a6020830184612503565b6000602082840312156125ec57600080fd5b81516001600160401b0381111561260257600080fd5b8201601f8101841361261357600080fd5b612622848251602084016123a3565b949350505050565b6001600160601b03841681526001600160a01b038316602082015260606040820181905260009061204f90830184611f85565b60006020828403121561266f57600080fd5b5051919050565b60006020828403121561268857600080fd5b8151611f5a81612058565b6000604082840312156126a557600080fd5b6126ad6120ce565b9050815181526020820151602082015292915050565b600061018082840312156126d657600080fd5b6126de612118565b6126e78361234c565b81526126f560208401612398565b6020820152604083015160408201526127118460608501612693565b60608201526127238460a08501612693565b60808201526127358460e08501612693565b60a0820152612747610120840161231c565b60c0820152612759610140840161231c565b60e082015261276b6101608401612398565b6101008201529392505050565b6001600160601b03841681526101c081016127966020830185612503565b60ff83166101a0830152949350505050565b6001600160401b0381168114611eef57600080fd5b6000602082840312156127cf57600080fd5b8151611f5a816127a8565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561280257600080fd5b8151611f5a8161237e565b60006020828403121561281f57600080fd5b81516001600160401b0381111561283557600080fd5b612622848285016123f3565b60006020828403121561285357600080fd5b815164ffffffffff81168114611f5a57600080fd5b6000806040838503121561287b57600080fd5b825161288681612058565b602084015190925061289781612058565b809150509250929050565b601f8211156125b757600081815260208120601f850160051c810160208610156128c95750805b601f850160051c820191505b818110156128e8578281556001016128d5565b505050505050565b81516001600160401b03811115612909576129096120b8565b61291d8161291784546122e2565b846128a2565b602080601f831160018114612952576000841561293a5750858301515b600019600386901b1c1916600185901b1785556128e8565b600085815260208120601f198616915b8281101561298157888601518255948401946001909101908401612962565b508582101561299f5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220c342b8ab8e366dac39f442bca1b5b26b7b32b0c58af33c984c9f4785e5f0f51e64736f6c63430008140033",
618
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101375760003560e01c806382678766116100b8578063b68d18091161007c578063b68d1809146103f8578063b88da7591461040d578063caf4e3d414610420578063cc9fc59a14610428578063cde749f414610430578063cf7a1d771461043857600080fd5b80638267876614610383578063893d20e814610396578063946dfcfe1461039e578063a745e3df146103c5578063b3c65015146103d857600080fd5b80634420e486116100ff5780634420e486146101ef5780634d459c901461021a5780634f421333146103335780635ab1bd5314610346578063644c45e01461036b57600080fd5b806301ffc9a71461013c5780630d8e6e2c1461017e5780630fec111c1461019a578063138461e0146101b05780631eff4b22146101ba575b600080fd5b61016961014a366004611f30565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61018661044b565b60405162ffffff9091168152602001610175565b6101a26104d5565b604051610175929190611fb1565b6101b8610628565b005b6101e17f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610175565b6102026101fd36600461206d565b61084a565b6040516001600160601b039091168152602001610175565b6102d661022836600461209b565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526000805160206129d083398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610175565b61016961034136600461209b565b610b2a565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610175565b600154600160a01b90046001600160601b0316610202565b6101b861039136600461219b565b610bdd565b610353610d52565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546101e1565b6101b86103d3366004612208565b610e6b565b6103e0610fc5565b6040516001600160401b039091168152602001610175565b608c5b60405160ff9091168152602001610175565b61018661041b3660046122ac565b610fe6565b610353611037565b6103536110d4565b6103fb6110fe565b6101b8610446366004612208565b611181565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156104ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d091906122c5565b905090565b6104dd611ef2565b606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806105296001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610571610d52565b6001600160a01b0316815260200182600101805461058e906122e2565b80601f01602080910402602001604051908101604052809291908181526020018280546105ba906122e2565b80156106075780601f106105dc57610100808354040283529160200191610607565b820191906000526020600020905b8154815290600101906020018083116105ea57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561068a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ae9190612331565b156106f5576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b031661071e5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610767573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078b9190612331565b6107b3576040516372657a5160e01b81526001600160a01b03821660048201526024016106ec565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa1580156107fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108219190612363565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b60003382610856611ef2565b6060610860611037565b604051637286e5e560e01b81526001600160a01b03858116600483015286811660248301529190911690637286e5e5906044016000604051808303816000875af11580156108b2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108da91908101906124a0565b602082015191935091506000906108f09061128a565b905060006108fc6110d4565b6001600160a01b031663103bd5da87610913611321565b6040516001600160e01b031960e085901b1681526001600160a01b0392831660048201526001600160401b0390911660248201529085166044820152606401602060405180830381865afa15801561096f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109939190612331565b9050806109d6576109a2611321565b6040516351302f8160e01b81526001600160401b0390911660048201526001600160a01b03871660248201526044016106ec565b8351965060006109e584611399565b6040516339f34df560e21b81529091506001600160a01b0384169063e7cd37d490610a16908b9085906004016125bc565b600060405180830381600087803b158015610a3057600080fd5b505af1158015610a44573d6000803e3d6000fd5b50505050610a506110d4565b6001600160a01b03166386ebbf42610a6787611427565b8b896001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015610aa6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ace91908101906125da565b6040518463ffffffff1660e01b8152600401610aec9392919061262a565b600060405180830381600087803b158015610b0657600080fd5b505af1158015610b1a573d6000803e3d6000fd5b5050505050505050505050919050565b6000806000805160206129d083398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610bb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bd6919061265d565b1192915050565b600080610bea608c6114c6565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c529190612676565b83516040516355e343a960e01b81526001600160601b0382166004820152919250906000906001600160a01b038416906355e343a99060240161018060405180830381865afa158015610ca9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ccd91906126c3565b606081018990526080810188905260a08101879052604051633055195560e11b81529091506001600160a01b038516906360aa32aa90610d16908590859060ff90600401612778565b600060405180830381600087803b158015610d3057600080fd5b505af1158015610d44573d6000803e3d6000fd5b505050505050505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610db7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ddb9190612331565b15610e5b57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610e37573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d09190612676565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610e8d61044b565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610ecd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ef191906127bd565b6000805160206129b08339815191528054600160401b900460ff1680610f24575080546001600160401b03808416911610155b15610f425760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610f6d858561173d565b610f76836119dc565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006104d06000805160206129b0833981519152546001600160401b031690565b60006000805160206129d0833981519152600101828154811061100b5761100b6127da565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60008061104c6001546001600160a01b031690565b6001600160a01b031663d39e604360285b6110656110fe565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156110aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110ce9190612676565b92915050565b6000806110e96001546001600160a01b031690565b6001600160a01b031663d39e6043604661105d565b600061110861044b565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801561115d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d091906127f0565b6000805160206129b08339815191528054600160401b810460ff1615906001600160401b03166000811580156111b45750825b90506000826001600160401b031660011480156111d05750303b155b9050811580156111de575080155b156111fc5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561122657845460ff60401b1916600160401b1785555b611230888861173d565b61123a87876119e4565b831561128057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b60008061129f6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156112ee573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611316919081019061280d565b608001519392505050565b6040516368aebf7b60e01b815261012c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015611375573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d091906127bd565b61141360408051610120810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a082019081526000602082018190526040820181905260609091015290565b818060200190518101906110ce91906126c3565b60008061143c6001546001600160a01b031690565b60208401516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611495573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526114bd919081019061280d565b51949350505050565b6114ce611ef2565b6000806114e36001546001600160a01b031690565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa15801561152a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611552919081019061280d565b925061156883604001518560ff90811691161490565b6115aa5760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b60448201526064016106ec565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611600573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611628919081019061280d565b6080015190508092506000836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015611671573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116959190612676565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa1580156116e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117069190612331565b1561173557608085015160405163d53987e560e01b81526001600160a01b0390911660048201526024016106ec565b505050915091565b611745611b10565b6000805160206129d083398151915260006117756000805160206129b0833981519152546001600160401b031690565b9050600061178161044b565b9050816001600160401b03166001036117ae5760028301805462ffffff191662ffffff83161790556117fc565b600283015462ffffff908116908216116117fc5760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b60448201526064016106ec565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af41580156118b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118d49190612841565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf6890610fb69083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b610137611b10565b6000805160206129b08339815191528054600160401b810460ff1615906001600160401b0316600081158015611a175750825b90506000826001600160401b03166001148015611a335750303b155b905081158015611a41575080155b15611a5f5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611a8957845460ff60401b1916600160401b1785555b60008087806020019051810190611aa09190612868565b9092509050611aaf828a611b49565b611abf6306323b1f60e51b611bb4565b50508315611b0757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b6000805160206129b083398151915254600160401b900460ff16611b4757604051631afcd79f60e31b815260040160405180910390fd5b565b6000608c611b556110fe565b6040805160ff9384166020820152929091169082015260600160405160208183030381529060405290506000611b8a84611bd9565b90506000611b9d8583603c848888611c44565b611bad637b6a51fd60e01b611bb4565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015611c20573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110ce9190612363565b611c856301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b611c8f8287611d10565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101611cff83826128f0565b50611b076303fb044760e21b611bb4565b6001600160a01b038216611d665760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e65722069732030000060448201526064016106ec565b600280546001600160a01b0319166001600160a01b038416179055611d8a81611d8e565b5050565b6001546001600160a01b031615611dc75760015460405163fcdbf2d960e01b81526001600160a01b0390911660048201526024016106ec565b6001600160a01b038116611dee5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003611e245760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106ec565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263102da10360e01b60048201526301ffc9a790602401602060405180830381865afa925050508015611e9e575060408051601f3d908101601f19168201909252611e9b91810190612331565b60015b611ec65760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106ec565b80611d8a5760405163fdeac91f60e01b81526001600160a01b03831660048201526024016106ec565b50565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b600060208284031215611f4257600080fd5b81356001600160e01b031981168114611f5a57600080fd5b9392505050565b60005b83811015611f7c578181015183820152602001611f64565b50506000910152565b60008151808452611f9d816020860160208601611f61565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff60408501511660808301526060840151611ff560a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e061010084015261203b610120840182611f85565b9050828103602084015261204f8185611f85565b95945050505050565b6001600160a01b0381168114611eef57600080fd5b60006020828403121561207f57600080fd5b8135611f5a81612058565b62ffffff81168114611eef57600080fd5b6000602082840312156120ad57600080fd5b8135611f5a8161208a565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b03811182821017156120f0576120f06120b8565b60405290565b60405160e081016001600160401b03811182821017156120f0576120f06120b8565b60405161012081016001600160401b03811182821017156120f0576120f06120b8565b604051601f8201601f191681016001600160401b0381118282101715612163576121636120b8565b604052919050565b60006040828403121561217d57600080fd5b6121856120ce565b9050813581526020820135602082015292915050565b600080600060c084860312156121b057600080fd5b6121ba858561216b565b92506121c9856040860161216b565b91506121d8856080860161216b565b90509250925092565b60006001600160401b038211156121fa576121fa6120b8565b50601f01601f191660200190565b60008060006060848603121561221d57600080fd5b833561222881612058565b9250602084013561223881612058565b915060408401356001600160401b0381111561225357600080fd5b8401601f8101861361226457600080fd5b8035612277612272826121e1565b61213b565b81815287602083850101111561228c57600080fd5b816020840160208301376000602083830101528093505050509250925092565b6000602082840312156122be57600080fd5b5035919050565b6000602082840312156122d757600080fd5b8151611f5a8161208a565b600181811c908216806122f657607f821691505b60208210810361231657634e487b7160e01b600052602260045260246000fd5b50919050565b8051801515811461232c57600080fd5b919050565b60006020828403121561234357600080fd5b611f5a8261231c565b80516001600160601b038116811461232c57600080fd5b60006020828403121561237557600080fd5b611f5a8261234c565b60ff81168114611eef57600080fd5b805161232c8161237e565b805161232c81612058565b60006123b1612272846121e1565b90508281528383830111156123c557600080fd5b611f5a836020830184611f61565b600082601f8301126123e457600080fd5b611f5a838351602085016123a3565b600060e0828403121561240557600080fd5b61240d6120f6565b90506124188261234c565b81526124266020830161234c565b60208201526124376040830161238d565b60408201526124486060830161231c565b606082015261245960808301612398565b608082015261246a60a08301612398565b60a082015260c08201516001600160401b0381111561248857600080fd5b612494848285016123d3565b60c08301525092915050565b600080604083850312156124b357600080fd5b82516001600160401b03808211156124ca57600080fd5b6124d6868387016123f3565b935060208501519150808211156124ec57600080fd5b506124f9858286016123d3565b9150509250929050565b6001600160601b038151168252602081015161252a60208401826001600160a01b03169052565b50604081015160408301526060810151612551606084018280518252602090810151910152565b506080810151805160a0840152602081015160c08401525060a0810151805160e084015260208101516101008401525060c08101518015156101208401525060e08101518015156101408401525061010001516001600160a01b03166101609190910152565b505050565b6001600160601b03831681526101a08101611f5a6020830184612503565b6000602082840312156125ec57600080fd5b81516001600160401b0381111561260257600080fd5b8201601f8101841361261357600080fd5b612622848251602084016123a3565b949350505050565b6001600160601b03841681526001600160a01b038316602082015260606040820181905260009061204f90830184611f85565b60006020828403121561266f57600080fd5b5051919050565b60006020828403121561268857600080fd5b8151611f5a81612058565b6000604082840312156126a557600080fd5b6126ad6120ce565b9050815181526020820151602082015292915050565b600061018082840312156126d657600080fd5b6126de612118565b6126e78361234c565b81526126f560208401612398565b6020820152604083015160408201526127118460608501612693565b60608201526127238460a08501612693565b60808201526127358460e08501612693565b60a0820152612747610120840161231c565b60c0820152612759610140840161231c565b60e082015261276b6101608401612398565b6101008201529392505050565b6001600160601b03841681526101c081016127966020830185612503565b60ff83166101a0830152949350505050565b6001600160401b0381168114611eef57600080fd5b6000602082840312156127cf57600080fd5b8151611f5a816127a8565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561280257600080fd5b8151611f5a8161237e565b60006020828403121561281f57600080fd5b81516001600160401b0381111561283557600080fd5b612622848285016123f3565b60006020828403121561285357600080fd5b815164ffffffffff81168114611f5a57600080fd5b6000806040838503121561287b57600080fd5b825161288681612058565b602084015190925061289781612058565b809150509250929050565b601f8211156125b757600081815260208120601f850160051c810160208610156128c95750805b601f850160051c820191505b818110156128e8578281556001016128d5565b505050505050565b81516001600160401b03811115612909576129096120b8565b61291d8161291784546122e2565b846128a2565b602080601f831160018114612952576000841561293a5750858301515b600019600386901b1c1916600185901b1785556128e8565b600085815260208120601f198616915b8281101561298157888601518255948401946001909101908401612962565b508582101561299f5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220c342b8ab8e366dac39f442bca1b5b26b7b32b0c58af33c984c9f4785e5f0f51e64736f6c63430008140033",
1388
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b615ade80620000e66000396000f3fe60806040523480156200001157600080fd5b5060043610620002255760003560e01c80637738eb861162000131578063a8de511711620000bb578063caf4e3d41162000086578063caf4e3d41462000521578063cc9fc59a146200052b578063d0d63b091462000535578063f7c34ee0146200054c578063fce06ca8146200056357600080fd5b8063a8de511714620004c3578063ada9652e14620004da578063b68d180914620004f1578063bf7e214f146200050157600080fd5b80638e32e97911620000fc5780638e32e979146200045a5780638fb360371462000471578063991cbfb31462000495578063a3c2605214620004ac57600080fd5b80637738eb86146200040b5780637a9e5e4b1462000422578063826787661462000439578063893d20e8146200045057600080fd5b806336fc697e11620001b35780635ab1bd53116200017e5780635ab1bd531462000397578063644c45e014620003bd578063673ad94f14620003dd578063675393bf14620003f457600080fd5b806336fc697e146200032f5780633cc70e3e14620003395780634420e486146200035057806349bb9e4b146200038057600080fd5b80631eff4b2211620001f45780631eff4b2214620002b3578063214cdb8014620002ea57806327bb7a331462000301578063329d6e74146200031857600080fd5b806301ffc9a7146200022a5780630d8e6e2c146200026f5780630fec111c146200028e578063138461e014620002a7575b600080fd5b6200025a6200023b36600462003dab565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b620002796200057a565b60405162ffffff909116815260200162000266565b6200029862000607565b60405162000266919062003e2b565b620002b162000768565b005b620002db7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200162000266565b620002b1620002fb36600462003dab565b6200097d565b620002b162000312366004620040f3565b620009ac565b620002b16200032936600462004199565b62000a57565b620002b162000baf565b620002b16200034a366004620043bf565b62000bf7565b620003676200036136600462004454565b62000ff9565b6040516001600160601b03909116815260200162000266565b620002b16200039136600462004474565b62001521565b6001546001600160a01b03165b6040516001600160a01b03909116815260200162000266565b60008051602062005a49833981519152546001600160601b031662000367565b620002b1620003ee366004620044c9565b62001629565b620002b16200040536600462004454565b6200183e565b620003676200041c3660046200451c565b62001957565b620002b16200043336600462004454565b62001bc9565b620002b16200044a366004620045e3565b62001c6b565b620003a462001e2a565b620002b16200046b36600462004630565b62001f69565b6200047b620021bd565b6040516001600160e01b0319909116815260200162000266565b620002b1620004a636600462004682565b620021f8565b620002b1620004bd36600462004797565b62002924565b620002b1620004d4366004620047b7565b62002b78565b620002db60008051602062005a4983398151915281565b604051608c815260200162000266565b60008051602062005a69833981519152546001600160a01b0316620003a4565b620003a462002c6e565b620003a462002c7c565b620002b162000546366004620044c9565b62002c8a565b620002b16200055d36600462004820565b62002dc0565b620002b1620005743660046200485e565b62002e3f565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015620005dc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620006029190620048dc565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526040805160e081019091527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300908060006001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001620006bc62001e2a565b6001600160a01b03168152602001826001018054620006db9062004903565b80601f0160208091040260200160405190810160405280929190818152602001828054620007099062004903565b80156200075a5780601f106200072e576101008083540402835291602001916200075a565b820191906000526020600020905b8154815290600101906020018083116200073c57829003601f168201915b505050505081525091505090565b600060008051602062005a4983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015620007d9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620007ff91906200494c565b15620008315780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b30620008456001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156200088e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620008b491906200494c565b620008de5760405163b9304b0d60e01b81526001600160a01b038216600482015260240162000828565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa15801562000933573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000959919062004979565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6200098762002eaa565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b620009b662002eaa565b620009c2828762002dc0565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30162000a4d8382620049eb565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c62000a7b6200057a565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af415801562000abc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000ae2919062004ac4565b60008051602062005a898339815191528054600160401b900460ff168062000b17575080546001600160401b03808416911610155b1562000b365760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815562000b628362002ee5565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a1505050565b62000bb962002eaa565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000856001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000c38573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000c5e919062004ae4565b60405163242bdc1960e21b81526001600160601b03871660048201529091506000906001600160a01b038316906390af70649060240161014060405180830381865afa15801562000cb3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000cd9919062004b44565b606001516020850151604051634793b4ab60e01b81526001600160601b0382166004820152919250906000906001600160a01b03851690634793b4ab90602401600060405180830381865afa15801562000d37573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000d61919081019062004c58565b905062000d7381600001518462002eef565b1562000da9578051604051630a49ea2360e01b81526001600160601b039182166004820152908416602482015260440162000828565b60405163f0ea17c360e01b81526001600160601b03841660048201526000906001600160a01b0386169063f0ea17c390602401600060405180830381865afa15801562000dfa573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000e24919081019062004d6c565b905060008160c0015180602001905181019062000e42919062004e66565b608089015160025460405163377a6db760e01b81526001600160a01b038f811660048301526001600160601b03808f166024840152808a16604484015280851660648401528c16608483015293945091928a9291169063377a6db79060a401600060405180830381600087803b15801562000ebc57600080fd5b505af115801562000ed1573d6000803e3d6000fd5b505050508260e001511562000fea57600062000ef56001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b038a1660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562000f45573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000f6f919081019062004f80565b608001519050806001600160a01b0316639e2177a78d8d61010001518a8a60400151886040518663ffffffff1660e01b815260040162000fb495949392919062005031565b600060405180830381600087803b15801562000fcf57600080fd5b505af115801562000fe4573d6000803e3d6000fd5b50505050505b50505050505050505050505050565b6000808080806200101686608c6200101062002f06565b62002f80565b929650909450925090508560006200102d62002c6e565b604051637286e5e560e01b81526001600160a01b03848116600483015287811660248301529190911690637286e5e5906044016000604051808303816000875af115801562001080573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620010aa919081019062004f80565b9050816001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015620010e857600080fd5b505af1158015620010fd573d6000803e3d6000fd5b50505050806000015196506000826001600160a01b03166390edbd356040518163ffffffff1660e01b8152600401600060405180830381865afa15801562001149573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001173919081019062004d6c565b90508060200151604051620011889062003d9d565b6001600160a01b039091168152602001604051809103906000f080158015620011b5573d6000803e3d6000fd5b506001600160a01b039081166040808401919091525163d5c9d77d60e01b81529086169063d5c9d77d90620011f1908b90859060040162005114565b600060405180830381600087803b1580156200120c57600080fd5b505af115801562001221573d6000803e3d6000fd5b506000925060029150620012329050565b6040519080825280602002602001820160405280156200126757816020015b6060815260200190600190039081620012515790505b506040805160018082528183019092529192506020808301908036833701905050816000815181106200129e576200129e62005138565b6020908102919091010152604080516001808252818301909252908160200160208202803683370190505081600181518110620012df57620012df62005138565b6020026020010181905250638267876660e01b8160008151811062001308576200130862005138565b602002602001015160008151811062001325576200132562005138565b6001600160e01b0319909216602092830291909101909101528051639e2177a760e01b90829060019081106200135f576200135f62005138565b60200260200101516000815181106200137c576200137c62005138565b6001600160e01b0319929092166020928302919091018201526040805160028082526060820183526000939192909183019080368337019050509050620013c262002f06565b81600081518110620013d857620013d862005138565b60200260200101906001600160401b031690816001600160401b0316815250506200140262003288565b8160018151811062001418576200141862005138565b60200260200101906001600160401b031690816001600160401b0316815250506200144262002c7c565b6001600160a01b0316636c6fbb28878d886001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801562001491573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620014bb91908101906200514e565b86866040518663ffffffff1660e01b8152600401620014df959493929190620051cc565b600060405180830381600087803b158015620014fa57600080fd5b505af11580156200150f573d6000803e3d6000fd5b50505050505050505050505050919050565b60008051602062005a898339815191528054600160401b810460ff1615906001600160401b0316600081158015620015565750825b90506000826001600160401b03166001148015620015735750303b155b90508115801562001582575080155b15620015a15760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315620015cc57845460ff60401b1916600160401b1785555b620015d88787620032c5565b83156200162057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000808062001639608c62003519565b9250925092506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001680573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620016a6919062004ae4565b60405163f0ea17c360e01b81526001600160601b03861660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa158015620016fa573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001724919081019062004d6c565b905060008160c0015180602001905181019062001742919062004e66565b604080820180516001600160601b038b169091529051919250906200176c908390602001620052a8565b60408051808303601f1901815291905260c08401526001600160a01b03851663a4eeee59888560ff6040518463ffffffff1660e01b8152600401620017b493929190620053d7565b600060405180830381600087803b158015620017cf57600080fd5b505af1158015620017e4573d6000803e3d6000fd5b5050604080516001600160601b038b8116825285811660208301528c168183015290517f15f0f748447bed1cb913d60c17d7d4a527d11df02aae753d4c2e07c88f2ec2159350908190036060019150a15050505050505050565b6200184862002eaa565b806001600160a01b03163b600003620018805760405163fdeac91f60e01b81526001600160a01b038216600482015260240162000828565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015620018fd575060408051601f3d908101601f19168201909252620018fa918101906200494c565b60015b620019275760405163fdeac91f60e01b81526001600160a01b038216600482015260240162000828565b80620019525760405163fdeac91f60e01b81526001600160a01b038316600482015260240162000828565b505b50565b6000808062001967608c62003519565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015620019ad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620019d3919062004ae4565b60405163f0ea17c360e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa15801562001a27573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001a51919081019062004d6c565b9050600062001a61828b6200375d565b9050600260009054906101000a90046001600160a01b03166001600160a01b031663e283b4a985878f8f868f8f8f6040518963ffffffff1660e01b815260040162001ab49897969594939291906200540e565b6020604051808303816000875af115801562001ad4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001afa919062004979565b955062001b09828d8c620038aa565b7f0dcadf661b8b2888423f78a848a77785b4dc0138395b12584835f6a65dfcea79846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001b69573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001b8f919062004979565b604080516001600160601b03928316815282891660208201529189169082015260600160405180910390a150505050509695505050505050565b3362001beb60008051602062005a69833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b03161462001c285760405162d1953b60e31b81526001600160a01b038216600482015260240162000828565b816001600160a01b03163b60000362001c60576040516361798f2f60e11b81526001600160a01b038316600482015260240162000828565b6200195282620039b8565b6000808062001c7b608c62003519565b9250925092506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001cc2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001ce8919062004ae4565b60405163f0ea17c360e01b81526001600160601b03861660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa15801562001d3c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001d66919081019062004d6c565b905060008160c0015180602001905181019062001d84919062004e66565b61014081018a90526101608101899052610180810188905260405190915062001db2908290602001620052a8565b60408051808303601f1901815291905260c08301526001600160a01b03841663a4eeee59878460ff6040518463ffffffff1660e01b815260040162001dfa93929190620053d7565b600060405180830381600087803b15801562001e1557600080fd5b505af115801562000fea573d6000803e3d6000fd5b60008060008051602062005a4983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562001e9c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001ec291906200494c565b1562001f53576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801562001f27573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001f4d919062004ae4565b91505090565b54600160601b90046001600160a01b0316919050565b62001f7362002eaa565b62001ff883846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001fb7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001fdd919062004979565b603c60008560405180602001604052806000815250620009ac565b6001600160a01b038216156200201957620020138262003a1a565b62002194565b60006200202e6001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af41580156200208f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620020b591906200549f565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015620020fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002121919062004ae4565b905062002192816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002166573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200218c919062004ae4565b62003a1a565b505b620021a6634a531f3360e01b6200097d565b620021b863b68d180960e01b6200097d565b505050565b60008051602062005a69833981519152805460009190600160a01b900460ff16620021ea57600062001f4d565b638fb3603760e01b91505090565b60006200220d6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa15801562002261573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200228b919081019062004f80565b60208101516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0384169063a48f42e090602401600060405180830381865afa158015620022e5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200230f919081019062004f80565b60208101516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0385169063a48f42e090602401600060405180830381865afa15801562002369573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262002393919081019062004f80565b9050600081608001519050600073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__634c41dd968961010001518a60800151620023d19190620054bf565b6040518263ffffffff1660e01b8152600401620023f091815260200190565b602060405180830381865af41580156200240e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002434919062004979565b9050600073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__634c41dd968a61012001518b60a00151620024699190620054bf565b6040518263ffffffff1660e01b81526004016200248891815260200190565b602060405180830381865af4158015620024a6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620024cc919062004979565b90506000620025686200256173__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__634c41dd968d600001516040518263ffffffff1660e01b81526004016200251691815260200190565b602060405180830381865af415801562002534573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200255a919062004979565b8562003a2f565b8362003a2f565b905062002576898262003ac1565b620025a857604051639080fd1360e01b81526001600160601b0380831660048301528a16602482015260440162000828565b6040516330b8415f60e01b81526001600160601b038416600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906330b8415f90602401602060405180830381865af415801562002601573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200262791906200494c565b1562002819576000846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200266e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002694919062004ae4565b875160405163f0ea17c360e01b81526001600160601b0390911660048201526001600160a01b03919091169063f0ea17c390602401600060405180830381865afa158015620026e7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262002711919081019062004d6c565b60a081015160405163274acb3560e01b81526001600160601b039182166004820152908616602482015290915073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063274acb3590604401602060405180830381865af41580156200277b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620027a1919062004979565b6001600160601b031660a0820152865160405163a4eeee5960e01b81526001600160a01b0387169163a4eeee5991620027e39190859060ff90600401620053d7565b600060405180830381600087803b158015620027fe57600080fd5b505af115801562002813573d6000803e3d6000fd5b50505050505b6040516330b8415f60e01b81526001600160601b038316600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906330b8415f90602401602060405180830381865af415801562002872573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200289891906200494c565b156200291757600254604051632dd597e760e21b81526001600160a01b0386811660048301526001600160601b03808f166024840152851660448301529091169063b7565f9c90606401600060405180830381600087803b158015620028fd57600080fd5b505af115801562002912573d6000803e3d6000fd5b505050505b5050505050505050505050565b6000808062002934608c62003519565b9250925092506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200297b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620029a1919062004ae4565b60405163f0ea17c360e01b81526001600160601b03861660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa158015620029f5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262002a1f919081019062004d6c565b905060008160c0015180602001905181019062002a3d919062004e66565b905062002a64816020015162002a5262003b4b565b6001600160401b039081169116141590565b1562002a8f5760405163eff765ff60e01b81526001600160601b038716600482015260240162000828565b6001600160401b03871660208083019190915260405162002ab391839101620052a8565b60408051808303601f1901815291905260c08301526001600160a01b03841663a4eeee59878460ff6040518463ffffffff1660e01b815260040162002afb93929190620053d7565b600060405180830381600087803b15801562002b1657600080fd5b505af115801562002b2b573d6000803e3d6000fd5b5050604080516001600160601b038a1681526001600160401b038b1660208201527fe7e6a7a42cbdb2d274dfaaac06073a09d6095ca3745ce71fe5a137f8247ea23e935001905062001617565b600254602082015160808301516101808401516001600160a01b039093169263ad328d9f928792879262002bad919062003b8d565b6040518563ffffffff1660e01b815260040162002bce9493929190620054e1565b600060405180830381600087803b15801562002be957600080fd5b505af115801562002bfe573d6000803e3d6000fd5b50506002546040516301d90a6f60e61b81526001600160a01b0387811660048301526001600160601b038716602483015290911692506376429bc09150604401600060405180830381600087803b15801562002c5957600080fd5b505af115801562001620573d6000803e3d6000fd5b600062000602602862003bd9565b600062000602604662003bd9565b60008062002c99608c62003519565b600254604051632aa6b2cb60e21b81526001600160a01b0380841660048301526001600160601b0389166024830152949650919450929092169163aa9acb2c9150604401600060405180830381600087803b15801562002cf857600080fd5b505af115801562002d0d573d6000803e3d6000fd5b505050507f64c75a4392ba38fee1b5a44b61e3dd0cae424d2d43eb2b0c99772efe31e1c042816001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002d71573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002d97919062004979565b604080516001600160601b03928316815282861660208201529186169082015260600162000ba2565b62002dca62002eaa565b62002dd5816200183e565b62002ddf62000baf565b6001600160a01b03821662002e075760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602062005a4983398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600254602083015160405163ad328d9f60e01b81526001600160a01b039092169163ad328d9f9162002e7a91889188918790600401620054e1565b600060405180830381600087803b15801562002e9557600080fd5b505af115801562000a4d573d6000803e3d6000fd5b60008051602062005a8983398151915254600160401b900460ff1662002ee357604051631afcd79f60e31b815260040160405180910390fd5b565b6200022562002eaa565b6001600160601b0382811690821614155b92915050565b6040516368aebf7b60e01b815260048082015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af415801562002f5a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000602919062004ac4565b6040516301ffc9a760e01b815263bcb0007960e01b60048201528390339060009081906001600160a01b038516906301ffc9a790602401602060405180830381865afa15801562002fd5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002ffb91906200494c565b62003025576040516359bff0e360e11b81526001600160a01b038816600482015260240162000828565b6000846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801562003066573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262003090919081019062004f80565b9050620030a881604001518860ff9081169116141590565b15620030ea576040808201519051634a2e948760e11b81526001600160a01b038a16600482015260ff808a166024830152909116604482015260640162000828565b60a08101516001600160a01b03858116908216146200313e5760a0820151604051632b50a20960e21b81526001600160a01b03808c1660048301529182166024820152908616604482015260640162000828565b81602001519250620031508362003cef565b9350836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa15801562003191573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620031b7919062004ae4565b6040516368fc2b7760e11b81526001600160401b03891660048201526001600160a01b038781166024830152919091169063d1f856ee90604401602060405180830381865afa1580156200320f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200323591906200494c565b6200327d57604051636af540d960e01b81526001600160601b03841660048201526001600160401b03881660248201526001600160a01b038616604482015260640162000828565b505093509350935093565b6040516368aebf7b60e01b815261096a600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b9060240162002f3c565b60008051602062005a898339815191528054600160401b810460ff1615906001600160401b0316600081158015620032fa5750825b90506000826001600160401b03166001148015620033175750303b155b90508115801562003326575080155b15620033455760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156200337057845460ff60401b1916600160401b1785555b6000808780602001905181019062003389919062005513565b90925090506200339c8260008b62001f69565b6001546001600160a01b031663d39e604360dc620033b96200057a565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156200340f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200343591906200549f565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156200347b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620034a1919062004ae4565b600280546001600160a01b0319166001600160a01b0392909216919091179055620034d3630152d21960e61b6200097d565b505083156200162057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200162001617565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152600080620035666001546001600160a01b031690565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa158015620035ae573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620035d8919081019062004f80565b9250620035f083604001518660ff9081169116141590565b156200363657608083015160408085015190516304081d4960e41b81526001600160a01b03909216600483015260ff808816602484015216604482015260640162000828565b826000015193506200364c836020015162003cef565b9150816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200368d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620036b3919062004ae4565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015620036fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200372491906200494c565b156200375557608083015160405163d53987e560e01b81526001600160a01b03909116600482015260240162000828565b509193909250565b600081905060008360c001518060200190518101906200377e919062004e66565b61016001516040516305deb8b760e01b815290915073__$a23651848365a6a5ca15f07b4331037f48$__906305deb8b790620037bf90849060040162005547565b602060405180830381865af4158015620037dd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200380391906200494c565b15620038a357604051634f69237560e11b815281516004820152602082015160248201526001600160601b0384166044820152600090819073__$a23651848365a6a5ca15f07b4331037f48$__90639ed246ea906064016040805180830381865af415801562003877573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200389d91906200555f565b94505050505b5092915050565b604083810151606085015191516330b8415f60e01b81526001600160601b038416600482015290919073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906330b8415f90602401602060405180830381865af415801562003910573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200393691906200494c565b15620039b15760405163c661667d60e01b81526001600160a01b03858116600483015282811660248301526001600160601b038516604483015283169063c661667d90606401600060405180830381600087803b1580156200399757600080fd5b505af1158015620039ac573d6000803e3d6000fd5b505050505b5050505050565b60008051602062005a6983398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b62003a2462002eaa565b620019548162003d88565b60405163274acb3560e01b81526001600160601b0380841660048301528216602482015260009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063274acb35906044015b602060405180830381865af415801562003a94573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003aba919062004979565b9392505050565b60405163c4cade9d60e01b81526001600160601b0380841660048301528216602482015260009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063c4cade9d90604401602060405180830381865af415801562003b25573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003aba91906200494c565b6040516368aebf7b60e01b81526001600160401b03600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b9060240162002f3c565b6040516363cf551160e11b81526001600160601b0380841660048301528216602482015260009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063c79eaa229060440162003a76565b600062003bee6001546001600160a01b031690565b6001600160a01b031663d39e60438362003c076200057a565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801562003c5d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003c8391906200549f565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801562003cc9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002f00919062004ae4565b600062003d046001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562003d54573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262003d7e919081019062004f80565b6080015192915050565b62003d9262002eaa565b6200195481620039b8565b6104b5806200559483390190565b60006020828403121562003dbe57600080fd5b81356001600160e01b03198116811462003aba57600080fd5b60005b8381101562003df457818101518382015260200162003dda565b50506000910152565b6000815180845262003e1781602086016020860162003dd7565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015162003e9560c08401826001600160a01b03169052565b5060c083015160e08084015262003eb161010084018262003dfd565b949350505050565b6001600160a01b03811681146200195457600080fd5b6001600160601b03811681146200195457600080fd5b803562003ef28162003ecf565b919050565b60ff811681146200195457600080fd5b80151581146200195457600080fd5b634e487b7160e01b600052604160045260246000fd5b60405161022081016001600160401b038111828210171562003f525762003f5262003f16565b60405290565b604080519081016001600160401b038111828210171562003f525762003f5262003f16565b6040516101e081016001600160401b038111828210171562003f525762003f5262003f16565b60405161010081016001600160401b038111828210171562003f525762003f5262003f16565b60405161012081016001600160401b038111828210171562003f525762003f5262003f16565b60405160e081016001600160401b038111828210171562003f525762003f5262003f16565b6040516101a081016001600160401b038111828210171562003f525762003f5262003f16565b604051601f8201601f191681016001600160401b038111828210171562004065576200406562003f16565b604052919050565b60006001600160401b0382111562004089576200408962003f16565b50601f01601f191660200190565b600082601f830112620040a957600080fd5b8135620040c0620040ba826200406d565b6200403a565b818152846020838601011115620040d657600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c087890312156200410d57600080fd5b86356200411a8162003eb9565b955060208701356200412c8162003ecf565b945060408701356200413e8162003ef7565b93506060870135620041508162003f07565b92506080870135620041628162003eb9565b915060a08701356001600160401b038111156200417e57600080fd5b6200418c89828a0162004097565b9150509295509295509295565b600060208284031215620041ac57600080fd5b81356001600160401b03811115620041c357600080fd5b62003eb18482850162004097565b80356001600160c01b03198116811462003ef257600080fd5b64ffffffffff811681146200195457600080fd5b803562003ef281620041ea565b803561ffff8116811462003ef257600080fd5b600061022082840312156200423257600080fd5b6200423c62003f2c565b9050620042498262003ee5565b8152620042596020830162003ee5565b60208201526200426c60408301620041d1565b60408201526200427f60608301620041d1565b6060820152620042926080830162003ee5565b6080820152620042a560a0830162003ee5565b60a0820152620042b860c0830162003ee5565b60c0820152620042cb60e08301620041fe565b60e0820152610100808301356001600160401b0380821115620042ed57600080fd5b620042fb8683870162004097565b838501526101209250828501359150808211156200431857600080fd5b50620043278582860162004097565b8284015250506101406200433d8184016200420b565b90820152610160620043518382016200420b565b908201526101806200436583820162003ee5565b908201526101a06200437983820162003ee5565b908201526101c06200438d838201620041fe565b908201526101e0620043a1838201620041fe565b90820152610200620043b5838201620041fe565b9082015292915050565b600080600080600060a08688031215620043d857600080fd5b8535620043e58162003eb9565b94506020860135620043f78162003ecf565b93506040860135620044098162003ecf565b925060608601356001600160401b038111156200442557600080fd5b62004433888289016200421e565b9250506080860135620044468162003ecf565b809150509295509295909350565b6000602082840312156200446757600080fd5b813562003aba8162003eb9565b600080604083850312156200448857600080fd5b8235620044958162003eb9565b915060208301356001600160401b03811115620044b157600080fd5b620044bf8582860162004097565b9150509250929050565b600060208284031215620044dc57600080fd5b813562003aba8162003ecf565b600060408284031215620044fc57600080fd5b6200450662003f58565b9050813581526020820135602082015292915050565b60008060008060008060c087890312156200453657600080fd5b8635620045438162003eb9565b9550620045548860208901620044e9565b94506060870135620045668162003ecf565b935060808701356200457881620041ea565b925060a08701356001600160401b03808211156200459557600080fd5b818901915089601f830112620045aa57600080fd5b813581811115620045ba57600080fd5b8a6020828501011115620045cd57600080fd5b6020830194508093505050509295509295509295565b600080600060c08486031215620045f957600080fd5b620046058585620044e9565b9250620046168560408601620044e9565b9150620046278560808601620044e9565b90509250925092565b6000806000606084860312156200464657600080fd5b8335620046538162003eb9565b92506020840135620046658162003eb9565b91506040840135620046778162003eb9565b809150509250925092565b60008060008385036102208112156200469a57600080fd5b8435620046a78162003ecf565b93506101e0601f198201811315620046be57600080fd5b620046c862003f7d565b91506020860135825260408601356020830152606086013560408301526080860135606083015260a0860135608083015260c086013560a083015260e086013560c08301526101008087013560e084015261012080880135828501526101409150818801358185015250610160808801358285015261018091508188013581850152506101a080880135828501526101c09150818801358185015250818701358184015250508092505062004627610200850162003ee5565b6001600160401b03811681146200195457600080fd5b600060208284031215620047aa57600080fd5b813562003aba8162004781565b600080600060608486031215620047cd57600080fd5b8335620047da8162003eb9565b92506020840135620047ec8162003ecf565b915060408401356001600160401b038111156200480857600080fd5b62004816868287016200421e565b9150509250925092565b600080604083850312156200483457600080fd5b8235620048418162003eb9565b91506020830135620048538162003eb9565b809150509250929050565b600080600080608085870312156200487557600080fd5b8435620048828162003eb9565b93506020850135620048948162003ecf565b925060408501356001600160401b03811115620048b057600080fd5b620048be878288016200421e565b9250506060850135620048d18162003ecf565b939692955090935050565b600060208284031215620048ef57600080fd5b815162ffffff8116811462003aba57600080fd5b600181811c908216806200491857607f821691505b6020821081036200493957634e487b7160e01b600052602260045260246000fd5b50919050565b805162003ef28162003f07565b6000602082840312156200495f57600080fd5b815162003aba8162003f07565b805162003ef28162003ecf565b6000602082840312156200498c57600080fd5b815162003aba8162003ecf565b601f821115620021b857600081815260208120601f850160051c81016020861015620049c25750805b601f850160051c820191505b81811015620049e357828155600101620049ce565b505050505050565b81516001600160401b0381111562004a075762004a0762003f16565b62004a1f8162004a18845462004903565b8462004999565b602080601f83116001811462004a57576000841562004a3e5750858301515b600019600386901b1c1916600185901b178555620049e3565b600085815260208120601f198616915b8281101562004a885788860151825594840194600190910190840162004a67565b508582101562004aa75787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b805162003ef28162004781565b60006020828403121562004ad757600080fd5b815162003aba8162004781565b60006020828403121562004af757600080fd5b815162003aba8162003eb9565b805162003ef28162003eb9565b60006040828403121562004b2457600080fd5b62004b2e62003f58565b9050815181526020820151602082015292915050565b6000610140828403121562004b5857600080fd5b62004b6262003fa3565b62004b6d8362004b04565b815262004b7d6020840162004b04565b602082015262004b90604084016200496c565b604082015262004ba3606084016200496c565b606082015262004bb7846080850162004b11565b608082015262004bcb8460c0850162004b11565b60a082015262004bdf61010084016200493f565b60c082015262004bf3610120840162004b04565b60e08201529392505050565b600082601f83011262004c1157600080fd5b815162004c22620040ba826200406d565b81815284602083860101111562004c3857600080fd5b62003eb182602083016020870162003dd7565b805162003ef281620041ea565b60006020828403121562004c6b57600080fd5b81516001600160401b038082111562004c8357600080fd5b90830190610140828603121562004c9957600080fd5b62004ca362003fc9565b62004cae836200496c565b815262004cbf866020850162004b11565b602082015260608301518281111562004cd757600080fd5b62004ce58782860162004bff565b60408301525062004cf9608084016200496c565b606082015262004d0c60a084016200496c565b608082015262004d1f60c084016200496c565b60a082015262004d3260e0840162004c4b565b60c0820152610100915062004d4982840162004c4b565b60e082015262004d5d610120840162004c4b565b91810191909152949350505050565b60006020828403121562004d7f57600080fd5b81516001600160401b038082111562004d9757600080fd5b9083019060e0828603121562004dac57600080fd5b62004db662003fef565b82518281111562004dc657600080fd5b62004dd48782860162004bff565b82525062004de56020840162004b04565b602082015262004df86040840162004b04565b604082015262004e0b6060840162004b04565b606082015262004e1e608084016200496c565b608082015262004e3160a084016200496c565b60a082015260c08301518281111562004e4957600080fd5b62004e578782860162004bff565b60c08301525095945050505050565b6000610200828403121562004e7a57600080fd5b62004e8462004014565b62004e8f836200496c565b815262004e9f6020840162004ab7565b602082015262004eb2604084016200496c565b604082015262004ec5606084016200496c565b606082015262004ed8608084016200496c565b608082015262004eeb60a084016200493f565b60a082015262004efe60c084016200493f565b60c082015262004f1160e084016200493f565b60e08201526101008381015190820152610120808401519082015261014062004f3d8582860162004b11565b9082015261018062004f528585830162004b11565b61016083015262004f68856101c0860162004b11565b908201529392505050565b805162003ef28162003ef7565b60006020828403121562004f9357600080fd5b81516001600160401b038082111562004fab57600080fd5b9083019060e0828603121562004fc057600080fd5b62004fca62003fef565b62004fd5836200496c565b815262004fe5602084016200496c565b602082015262004ff86040840162004f73565b60408201526200500b606084016200493f565b60608201526200501e6080840162004b04565b608082015262004e3160a0840162004b04565b60006001600160601b03808816835260a060208401526200505660a084018862003dfd565b8187166040850152838103606085015262005072818762003dfd565b9250508084166080840152509695505050505050565b6000815160e084526200509f60e085018262003dfd565b9050602083015160018060a01b038082166020870152806040860151166040870152806060860151166060870152505060808301516001600160601b0380821660808701528060a08601511660a0870152505060c083015184820360c08601526200510b828262003dfd565b95945050505050565b6001600160601b038316815260406020820152600062003eb1604083018462005088565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156200516157600080fd5b81516001600160401b038111156200517857600080fd5b62003eb18482850162004bff565b600081518084526020808501945080840160005b83811015620051c15781516001600160401b0316875295820195908201906001016200519a565b509495945050505050565b6001600160601b03861681526000602060018060a01b0387168184015260a06040840152620051ff60a084018762003dfd565b8381036060850152855180825282820190600581901b830184018489016000805b848110156200528157868403601f19018652825180518086529089019089860190845b818110156200526b5783516001600160e01b0319168352928b0192918b019160010162005243565b5050968901969450509187019160010162005220565b505050868103608088015262005298818962005186565b9c9b505050505050505050505050565b81516001600160601b0316815261020081016020830151620052d560208401826001600160401b03169052565b506040830151620052f160408401826001600160601b03169052565b5060608301516200530d60608401826001600160601b03169052565b5060808301516200532960808401826001600160601b03169052565b5060a08301516200533e60a084018215159052565b5060c08301516200535360c084018215159052565b5060e08301516200536860e084018215159052565b50610100838101519083015261012080840151908301526101408084015180518285015260208101516101608501525050610160830151610180620053b98185018380518252602090810151910152565b84015180516101c085015260208101516101e08501529050620038a3565b6001600160601b0384168152606060208201526000620053fb606083018562005088565b905060ff83166040830152949350505050565b6001600160a01b0389811682526001600160601b03898116602084015288821660408401526000916101009162005452606086018b80518252602090810151910152565b881660a08501525064ffffffffff861660c084015260e0830181905282018390526101208385828501376000838501820152601f909301601f191690910190910198975050505050505050565b600060208284031215620054b257600080fd5b815162003aba8162003ef7565b8082018082111562002f0057634e487b7160e01b600052601160045260246000fd5b6001600160a01b039490941684526001600160601b039283166020850152908216604084015216606082015260800190565b600080604083850312156200552757600080fd5b8251620055348162003eb9565b6020840151909250620048538162003eb9565b81518152602080830151908201526040810162002f00565b600080604083850312156200557357600080fd5b8251620055808162003ecf565b6020840151909250620048538162003ecf56fe608060405234801561001057600080fd5b506040516104b53803806104b583398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b610422806100936000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806321df0da71461003b578063c661667d1461005a575b600080fd5b600054604080516001600160a01b039092168252519081900360200190f35b61006d61006836600461032a565b61006f565b005b60005460405163046e44af60e11b81526bffffffffffffffffffffffff8316600482015261010a916001600160a01b0316908590859073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906308dc895e90602401602060405180830381865af41580156100e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101059190610382565b61010f565b505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261016990859061016f565b50505050565b60006101846001600160a01b038416836101d7565b905080516000141580156101a95750808060200190518101906101a7919061039b565b155b1561010a57604051635274afe760e01b81526001600160a01b03841660048201526024015b60405180910390fd5b60606101e5838360006101ec565b9392505050565b6060814710156102115760405163cd78605960e01b81523060048201526024016101ce565b600080856001600160a01b0316848660405161022d91906103bd565b60006040518083038185875af1925050503d806000811461026a576040519150601f19603f3d011682016040523d82523d6000602084013e61026f565b606091505b509150915061027f868383610289565b9695505050505050565b60608261029e57610299826102e5565b6101e5565b81511580156102b557506001600160a01b0384163b155b156102de57604051639996b31560e01b81526001600160a01b03851660048201526024016101ce565b50806101e5565b8051156102f55780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b80356001600160a01b038116811461032557600080fd5b919050565b60008060006060848603121561033f57600080fd5b6103488461030e565b92506103566020850161030e565b915060408401356bffffffffffffffffffffffff8116811461037757600080fd5b809150509250925092565b60006020828403121561039457600080fd5b5051919050565b6000602082840312156103ad57600080fd5b815180151581146101e557600080fd5b6000825160005b818110156103de57602081860181015185830152016103c4565b50600092019182525091905056fea26469706673582212206527407be49ce27152c90b431b7430a6bf6b837533825111eff835d5f8e9989564736f6c6343000814003307ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220c147a429ef56cce518d38ad480f86af1de3c667fff54b92aa43471da169a9d2164736f6c63430008140033",
1389
+ "deployedBytecode": "0x60806040523480156200001157600080fd5b5060043610620002255760003560e01c80637738eb861162000131578063a8de511711620000bb578063caf4e3d41162000086578063caf4e3d41462000521578063cc9fc59a146200052b578063d0d63b091462000535578063f7c34ee0146200054c578063fce06ca8146200056357600080fd5b8063a8de511714620004c3578063ada9652e14620004da578063b68d180914620004f1578063bf7e214f146200050157600080fd5b80638e32e97911620000fc5780638e32e979146200045a5780638fb360371462000471578063991cbfb31462000495578063a3c2605214620004ac57600080fd5b80637738eb86146200040b5780637a9e5e4b1462000422578063826787661462000439578063893d20e8146200045057600080fd5b806336fc697e11620001b35780635ab1bd53116200017e5780635ab1bd531462000397578063644c45e014620003bd578063673ad94f14620003dd578063675393bf14620003f457600080fd5b806336fc697e146200032f5780633cc70e3e14620003395780634420e486146200035057806349bb9e4b146200038057600080fd5b80631eff4b2211620001f45780631eff4b2214620002b3578063214cdb8014620002ea57806327bb7a331462000301578063329d6e74146200031857600080fd5b806301ffc9a7146200022a5780630d8e6e2c146200026f5780630fec111c146200028e578063138461e014620002a7575b600080fd5b6200025a6200023b36600462003dab565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b620002796200057a565b60405162ffffff909116815260200162000266565b6200029862000607565b60405162000266919062003e2b565b620002b162000768565b005b620002db7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200162000266565b620002b1620002fb36600462003dab565b6200097d565b620002b162000312366004620040f3565b620009ac565b620002b16200032936600462004199565b62000a57565b620002b162000baf565b620002b16200034a366004620043bf565b62000bf7565b620003676200036136600462004454565b62000ff9565b6040516001600160601b03909116815260200162000266565b620002b16200039136600462004474565b62001521565b6001546001600160a01b03165b6040516001600160a01b03909116815260200162000266565b60008051602062005a49833981519152546001600160601b031662000367565b620002b1620003ee366004620044c9565b62001629565b620002b16200040536600462004454565b6200183e565b620003676200041c3660046200451c565b62001957565b620002b16200043336600462004454565b62001bc9565b620002b16200044a366004620045e3565b62001c6b565b620003a462001e2a565b620002b16200046b36600462004630565b62001f69565b6200047b620021bd565b6040516001600160e01b0319909116815260200162000266565b620002b1620004a636600462004682565b620021f8565b620002b1620004bd36600462004797565b62002924565b620002b1620004d4366004620047b7565b62002b78565b620002db60008051602062005a4983398151915281565b604051608c815260200162000266565b60008051602062005a69833981519152546001600160a01b0316620003a4565b620003a462002c6e565b620003a462002c7c565b620002b162000546366004620044c9565b62002c8a565b620002b16200055d36600462004820565b62002dc0565b620002b1620005743660046200485e565b62002e3f565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015620005dc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620006029190620048dc565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526040805160e081019091527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300908060006001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001620006bc62001e2a565b6001600160a01b03168152602001826001018054620006db9062004903565b80601f0160208091040260200160405190810160405280929190818152602001828054620007099062004903565b80156200075a5780601f106200072e576101008083540402835291602001916200075a565b820191906000526020600020905b8154815290600101906020018083116200073c57829003601f168201915b505050505081525091505090565b600060008051602062005a4983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015620007d9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620007ff91906200494c565b15620008315780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b30620008456001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156200088e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620008b491906200494c565b620008de5760405163b9304b0d60e01b81526001600160a01b038216600482015260240162000828565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa15801562000933573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000959919062004979565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6200098762002eaa565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b620009b662002eaa565b620009c2828762002dc0565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30162000a4d8382620049eb565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c62000a7b6200057a565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af415801562000abc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000ae2919062004ac4565b60008051602062005a898339815191528054600160401b900460ff168062000b17575080546001600160401b03808416911610155b1562000b365760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815562000b628362002ee5565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a1505050565b62000bb962002eaa565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000856001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000c38573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000c5e919062004ae4565b60405163242bdc1960e21b81526001600160601b03871660048201529091506000906001600160a01b038316906390af70649060240161014060405180830381865afa15801562000cb3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000cd9919062004b44565b606001516020850151604051634793b4ab60e01b81526001600160601b0382166004820152919250906000906001600160a01b03851690634793b4ab90602401600060405180830381865afa15801562000d37573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000d61919081019062004c58565b905062000d7381600001518462002eef565b1562000da9578051604051630a49ea2360e01b81526001600160601b039182166004820152908416602482015260440162000828565b60405163f0ea17c360e01b81526001600160601b03841660048201526000906001600160a01b0386169063f0ea17c390602401600060405180830381865afa15801562000dfa573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000e24919081019062004d6c565b905060008160c0015180602001905181019062000e42919062004e66565b608089015160025460405163377a6db760e01b81526001600160a01b038f811660048301526001600160601b03808f166024840152808a16604484015280851660648401528c16608483015293945091928a9291169063377a6db79060a401600060405180830381600087803b15801562000ebc57600080fd5b505af115801562000ed1573d6000803e3d6000fd5b505050508260e001511562000fea57600062000ef56001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b038a1660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562000f45573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000f6f919081019062004f80565b608001519050806001600160a01b0316639e2177a78d8d61010001518a8a60400151886040518663ffffffff1660e01b815260040162000fb495949392919062005031565b600060405180830381600087803b15801562000fcf57600080fd5b505af115801562000fe4573d6000803e3d6000fd5b50505050505b50505050505050505050505050565b6000808080806200101686608c6200101062002f06565b62002f80565b929650909450925090508560006200102d62002c6e565b604051637286e5e560e01b81526001600160a01b03848116600483015287811660248301529190911690637286e5e5906044016000604051808303816000875af115801562001080573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620010aa919081019062004f80565b9050816001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015620010e857600080fd5b505af1158015620010fd573d6000803e3d6000fd5b50505050806000015196506000826001600160a01b03166390edbd356040518163ffffffff1660e01b8152600401600060405180830381865afa15801562001149573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001173919081019062004d6c565b90508060200151604051620011889062003d9d565b6001600160a01b039091168152602001604051809103906000f080158015620011b5573d6000803e3d6000fd5b506001600160a01b039081166040808401919091525163d5c9d77d60e01b81529086169063d5c9d77d90620011f1908b90859060040162005114565b600060405180830381600087803b1580156200120c57600080fd5b505af115801562001221573d6000803e3d6000fd5b506000925060029150620012329050565b6040519080825280602002602001820160405280156200126757816020015b6060815260200190600190039081620012515790505b506040805160018082528183019092529192506020808301908036833701905050816000815181106200129e576200129e62005138565b6020908102919091010152604080516001808252818301909252908160200160208202803683370190505081600181518110620012df57620012df62005138565b6020026020010181905250638267876660e01b8160008151811062001308576200130862005138565b602002602001015160008151811062001325576200132562005138565b6001600160e01b0319909216602092830291909101909101528051639e2177a760e01b90829060019081106200135f576200135f62005138565b60200260200101516000815181106200137c576200137c62005138565b6001600160e01b0319929092166020928302919091018201526040805160028082526060820183526000939192909183019080368337019050509050620013c262002f06565b81600081518110620013d857620013d862005138565b60200260200101906001600160401b031690816001600160401b0316815250506200140262003288565b8160018151811062001418576200141862005138565b60200260200101906001600160401b031690816001600160401b0316815250506200144262002c7c565b6001600160a01b0316636c6fbb28878d886001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801562001491573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620014bb91908101906200514e565b86866040518663ffffffff1660e01b8152600401620014df959493929190620051cc565b600060405180830381600087803b158015620014fa57600080fd5b505af11580156200150f573d6000803e3d6000fd5b50505050505050505050505050919050565b60008051602062005a898339815191528054600160401b810460ff1615906001600160401b0316600081158015620015565750825b90506000826001600160401b03166001148015620015735750303b155b90508115801562001582575080155b15620015a15760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315620015cc57845460ff60401b1916600160401b1785555b620015d88787620032c5565b83156200162057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000808062001639608c62003519565b9250925092506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001680573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620016a6919062004ae4565b60405163f0ea17c360e01b81526001600160601b03861660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa158015620016fa573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001724919081019062004d6c565b905060008160c0015180602001905181019062001742919062004e66565b604080820180516001600160601b038b169091529051919250906200176c908390602001620052a8565b60408051808303601f1901815291905260c08401526001600160a01b03851663a4eeee59888560ff6040518463ffffffff1660e01b8152600401620017b493929190620053d7565b600060405180830381600087803b158015620017cf57600080fd5b505af1158015620017e4573d6000803e3d6000fd5b5050604080516001600160601b038b8116825285811660208301528c168183015290517f15f0f748447bed1cb913d60c17d7d4a527d11df02aae753d4c2e07c88f2ec2159350908190036060019150a15050505050505050565b6200184862002eaa565b806001600160a01b03163b600003620018805760405163fdeac91f60e01b81526001600160a01b038216600482015260240162000828565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015620018fd575060408051601f3d908101601f19168201909252620018fa918101906200494c565b60015b620019275760405163fdeac91f60e01b81526001600160a01b038216600482015260240162000828565b80620019525760405163fdeac91f60e01b81526001600160a01b038316600482015260240162000828565b505b50565b6000808062001967608c62003519565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015620019ad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620019d3919062004ae4565b60405163f0ea17c360e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa15801562001a27573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001a51919081019062004d6c565b9050600062001a61828b6200375d565b9050600260009054906101000a90046001600160a01b03166001600160a01b031663e283b4a985878f8f868f8f8f6040518963ffffffff1660e01b815260040162001ab49897969594939291906200540e565b6020604051808303816000875af115801562001ad4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001afa919062004979565b955062001b09828d8c620038aa565b7f0dcadf661b8b2888423f78a848a77785b4dc0138395b12584835f6a65dfcea79846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001b69573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001b8f919062004979565b604080516001600160601b03928316815282891660208201529189169082015260600160405180910390a150505050509695505050505050565b3362001beb60008051602062005a69833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b03161462001c285760405162d1953b60e31b81526001600160a01b038216600482015260240162000828565b816001600160a01b03163b60000362001c60576040516361798f2f60e11b81526001600160a01b038316600482015260240162000828565b6200195282620039b8565b6000808062001c7b608c62003519565b9250925092506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001cc2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001ce8919062004ae4565b60405163f0ea17c360e01b81526001600160601b03861660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa15801562001d3c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001d66919081019062004d6c565b905060008160c0015180602001905181019062001d84919062004e66565b61014081018a90526101608101899052610180810188905260405190915062001db2908290602001620052a8565b60408051808303601f1901815291905260c08301526001600160a01b03841663a4eeee59878460ff6040518463ffffffff1660e01b815260040162001dfa93929190620053d7565b600060405180830381600087803b15801562001e1557600080fd5b505af115801562000fea573d6000803e3d6000fd5b60008060008051602062005a4983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562001e9c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001ec291906200494c565b1562001f53576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801562001f27573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001f4d919062004ae4565b91505090565b54600160601b90046001600160a01b0316919050565b62001f7362002eaa565b62001ff883846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001fb7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001fdd919062004979565b603c60008560405180602001604052806000815250620009ac565b6001600160a01b038216156200201957620020138262003a1a565b62002194565b60006200202e6001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af41580156200208f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620020b591906200549f565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015620020fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002121919062004ae4565b905062002192816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002166573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200218c919062004ae4565b62003a1a565b505b620021a6634a531f3360e01b6200097d565b620021b863b68d180960e01b6200097d565b505050565b60008051602062005a69833981519152805460009190600160a01b900460ff16620021ea57600062001f4d565b638fb3603760e01b91505090565b60006200220d6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa15801562002261573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200228b919081019062004f80565b60208101516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0384169063a48f42e090602401600060405180830381865afa158015620022e5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200230f919081019062004f80565b60208101516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0385169063a48f42e090602401600060405180830381865afa15801562002369573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262002393919081019062004f80565b9050600081608001519050600073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__634c41dd968961010001518a60800151620023d19190620054bf565b6040518263ffffffff1660e01b8152600401620023f091815260200190565b602060405180830381865af41580156200240e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002434919062004979565b9050600073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__634c41dd968a61012001518b60a00151620024699190620054bf565b6040518263ffffffff1660e01b81526004016200248891815260200190565b602060405180830381865af4158015620024a6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620024cc919062004979565b90506000620025686200256173__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__634c41dd968d600001516040518263ffffffff1660e01b81526004016200251691815260200190565b602060405180830381865af415801562002534573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200255a919062004979565b8562003a2f565b8362003a2f565b905062002576898262003ac1565b620025a857604051639080fd1360e01b81526001600160601b0380831660048301528a16602482015260440162000828565b6040516330b8415f60e01b81526001600160601b038416600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906330b8415f90602401602060405180830381865af415801562002601573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200262791906200494c565b1562002819576000846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200266e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002694919062004ae4565b875160405163f0ea17c360e01b81526001600160601b0390911660048201526001600160a01b03919091169063f0ea17c390602401600060405180830381865afa158015620026e7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262002711919081019062004d6c565b60a081015160405163274acb3560e01b81526001600160601b039182166004820152908616602482015290915073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063274acb3590604401602060405180830381865af41580156200277b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620027a1919062004979565b6001600160601b031660a0820152865160405163a4eeee5960e01b81526001600160a01b0387169163a4eeee5991620027e39190859060ff90600401620053d7565b600060405180830381600087803b158015620027fe57600080fd5b505af115801562002813573d6000803e3d6000fd5b50505050505b6040516330b8415f60e01b81526001600160601b038316600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906330b8415f90602401602060405180830381865af415801562002872573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200289891906200494c565b156200291757600254604051632dd597e760e21b81526001600160a01b0386811660048301526001600160601b03808f166024840152851660448301529091169063b7565f9c90606401600060405180830381600087803b158015620028fd57600080fd5b505af115801562002912573d6000803e3d6000fd5b505050505b5050505050505050505050565b6000808062002934608c62003519565b9250925092506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200297b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620029a1919062004ae4565b60405163f0ea17c360e01b81526001600160601b03861660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa158015620029f5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262002a1f919081019062004d6c565b905060008160c0015180602001905181019062002a3d919062004e66565b905062002a64816020015162002a5262003b4b565b6001600160401b039081169116141590565b1562002a8f5760405163eff765ff60e01b81526001600160601b038716600482015260240162000828565b6001600160401b03871660208083019190915260405162002ab391839101620052a8565b60408051808303601f1901815291905260c08301526001600160a01b03841663a4eeee59878460ff6040518463ffffffff1660e01b815260040162002afb93929190620053d7565b600060405180830381600087803b15801562002b1657600080fd5b505af115801562002b2b573d6000803e3d6000fd5b5050604080516001600160601b038a1681526001600160401b038b1660208201527fe7e6a7a42cbdb2d274dfaaac06073a09d6095ca3745ce71fe5a137f8247ea23e935001905062001617565b600254602082015160808301516101808401516001600160a01b039093169263ad328d9f928792879262002bad919062003b8d565b6040518563ffffffff1660e01b815260040162002bce9493929190620054e1565b600060405180830381600087803b15801562002be957600080fd5b505af115801562002bfe573d6000803e3d6000fd5b50506002546040516301d90a6f60e61b81526001600160a01b0387811660048301526001600160601b038716602483015290911692506376429bc09150604401600060405180830381600087803b15801562002c5957600080fd5b505af115801562001620573d6000803e3d6000fd5b600062000602602862003bd9565b600062000602604662003bd9565b60008062002c99608c62003519565b600254604051632aa6b2cb60e21b81526001600160a01b0380841660048301526001600160601b0389166024830152949650919450929092169163aa9acb2c9150604401600060405180830381600087803b15801562002cf857600080fd5b505af115801562002d0d573d6000803e3d6000fd5b505050507f64c75a4392ba38fee1b5a44b61e3dd0cae424d2d43eb2b0c99772efe31e1c042816001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002d71573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002d97919062004979565b604080516001600160601b03928316815282861660208201529186169082015260600162000ba2565b62002dca62002eaa565b62002dd5816200183e565b62002ddf62000baf565b6001600160a01b03821662002e075760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602062005a4983398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600254602083015160405163ad328d9f60e01b81526001600160a01b039092169163ad328d9f9162002e7a91889188918790600401620054e1565b600060405180830381600087803b15801562002e9557600080fd5b505af115801562000a4d573d6000803e3d6000fd5b60008051602062005a8983398151915254600160401b900460ff1662002ee357604051631afcd79f60e31b815260040160405180910390fd5b565b6200022562002eaa565b6001600160601b0382811690821614155b92915050565b6040516368aebf7b60e01b815260048082015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af415801562002f5a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000602919062004ac4565b6040516301ffc9a760e01b815263bcb0007960e01b60048201528390339060009081906001600160a01b038516906301ffc9a790602401602060405180830381865afa15801562002fd5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002ffb91906200494c565b62003025576040516359bff0e360e11b81526001600160a01b038816600482015260240162000828565b6000846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801562003066573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262003090919081019062004f80565b9050620030a881604001518860ff9081169116141590565b15620030ea576040808201519051634a2e948760e11b81526001600160a01b038a16600482015260ff808a166024830152909116604482015260640162000828565b60a08101516001600160a01b03858116908216146200313e5760a0820151604051632b50a20960e21b81526001600160a01b03808c1660048301529182166024820152908616604482015260640162000828565b81602001519250620031508362003cef565b9350836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa15801562003191573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620031b7919062004ae4565b6040516368fc2b7760e11b81526001600160401b03891660048201526001600160a01b038781166024830152919091169063d1f856ee90604401602060405180830381865afa1580156200320f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200323591906200494c565b6200327d57604051636af540d960e01b81526001600160601b03841660048201526001600160401b03881660248201526001600160a01b038616604482015260640162000828565b505093509350935093565b6040516368aebf7b60e01b815261096a600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b9060240162002f3c565b60008051602062005a898339815191528054600160401b810460ff1615906001600160401b0316600081158015620032fa5750825b90506000826001600160401b03166001148015620033175750303b155b90508115801562003326575080155b15620033455760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156200337057845460ff60401b1916600160401b1785555b6000808780602001905181019062003389919062005513565b90925090506200339c8260008b62001f69565b6001546001600160a01b031663d39e604360dc620033b96200057a565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156200340f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200343591906200549f565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156200347b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620034a1919062004ae4565b600280546001600160a01b0319166001600160a01b0392909216919091179055620034d3630152d21960e61b6200097d565b505083156200162057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200162001617565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152600080620035666001546001600160a01b031690565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa158015620035ae573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620035d8919081019062004f80565b9250620035f083604001518660ff9081169116141590565b156200363657608083015160408085015190516304081d4960e41b81526001600160a01b03909216600483015260ff808816602484015216604482015260640162000828565b826000015193506200364c836020015162003cef565b9150816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200368d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620036b3919062004ae4565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015620036fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200372491906200494c565b156200375557608083015160405163d53987e560e01b81526001600160a01b03909116600482015260240162000828565b509193909250565b600081905060008360c001518060200190518101906200377e919062004e66565b61016001516040516305deb8b760e01b815290915073__$a23651848365a6a5ca15f07b4331037f48$__906305deb8b790620037bf90849060040162005547565b602060405180830381865af4158015620037dd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200380391906200494c565b15620038a357604051634f69237560e11b815281516004820152602082015160248201526001600160601b0384166044820152600090819073__$a23651848365a6a5ca15f07b4331037f48$__90639ed246ea906064016040805180830381865af415801562003877573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200389d91906200555f565b94505050505b5092915050565b604083810151606085015191516330b8415f60e01b81526001600160601b038416600482015290919073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906330b8415f90602401602060405180830381865af415801562003910573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200393691906200494c565b15620039b15760405163c661667d60e01b81526001600160a01b03858116600483015282811660248301526001600160601b038516604483015283169063c661667d90606401600060405180830381600087803b1580156200399757600080fd5b505af1158015620039ac573d6000803e3d6000fd5b505050505b5050505050565b60008051602062005a6983398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b62003a2462002eaa565b620019548162003d88565b60405163274acb3560e01b81526001600160601b0380841660048301528216602482015260009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063274acb35906044015b602060405180830381865af415801562003a94573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003aba919062004979565b9392505050565b60405163c4cade9d60e01b81526001600160601b0380841660048301528216602482015260009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063c4cade9d90604401602060405180830381865af415801562003b25573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003aba91906200494c565b6040516368aebf7b60e01b81526001600160401b03600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b9060240162002f3c565b6040516363cf551160e11b81526001600160601b0380841660048301528216602482015260009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063c79eaa229060440162003a76565b600062003bee6001546001600160a01b031690565b6001600160a01b031663d39e60438362003c076200057a565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801562003c5d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003c8391906200549f565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801562003cc9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002f00919062004ae4565b600062003d046001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562003d54573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262003d7e919081019062004f80565b6080015192915050565b62003d9262002eaa565b6200195481620039b8565b6104b5806200559483390190565b60006020828403121562003dbe57600080fd5b81356001600160e01b03198116811462003aba57600080fd5b60005b8381101562003df457818101518382015260200162003dda565b50506000910152565b6000815180845262003e1781602086016020860162003dd7565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015162003e9560c08401826001600160a01b03169052565b5060c083015160e08084015262003eb161010084018262003dfd565b949350505050565b6001600160a01b03811681146200195457600080fd5b6001600160601b03811681146200195457600080fd5b803562003ef28162003ecf565b919050565b60ff811681146200195457600080fd5b80151581146200195457600080fd5b634e487b7160e01b600052604160045260246000fd5b60405161022081016001600160401b038111828210171562003f525762003f5262003f16565b60405290565b604080519081016001600160401b038111828210171562003f525762003f5262003f16565b6040516101e081016001600160401b038111828210171562003f525762003f5262003f16565b60405161010081016001600160401b038111828210171562003f525762003f5262003f16565b60405161012081016001600160401b038111828210171562003f525762003f5262003f16565b60405160e081016001600160401b038111828210171562003f525762003f5262003f16565b6040516101a081016001600160401b038111828210171562003f525762003f5262003f16565b604051601f8201601f191681016001600160401b038111828210171562004065576200406562003f16565b604052919050565b60006001600160401b0382111562004089576200408962003f16565b50601f01601f191660200190565b600082601f830112620040a957600080fd5b8135620040c0620040ba826200406d565b6200403a565b818152846020838601011115620040d657600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c087890312156200410d57600080fd5b86356200411a8162003eb9565b955060208701356200412c8162003ecf565b945060408701356200413e8162003ef7565b93506060870135620041508162003f07565b92506080870135620041628162003eb9565b915060a08701356001600160401b038111156200417e57600080fd5b6200418c89828a0162004097565b9150509295509295509295565b600060208284031215620041ac57600080fd5b81356001600160401b03811115620041c357600080fd5b62003eb18482850162004097565b80356001600160c01b03198116811462003ef257600080fd5b64ffffffffff811681146200195457600080fd5b803562003ef281620041ea565b803561ffff8116811462003ef257600080fd5b600061022082840312156200423257600080fd5b6200423c62003f2c565b9050620042498262003ee5565b8152620042596020830162003ee5565b60208201526200426c60408301620041d1565b60408201526200427f60608301620041d1565b6060820152620042926080830162003ee5565b6080820152620042a560a0830162003ee5565b60a0820152620042b860c0830162003ee5565b60c0820152620042cb60e08301620041fe565b60e0820152610100808301356001600160401b0380821115620042ed57600080fd5b620042fb8683870162004097565b838501526101209250828501359150808211156200431857600080fd5b50620043278582860162004097565b8284015250506101406200433d8184016200420b565b90820152610160620043518382016200420b565b908201526101806200436583820162003ee5565b908201526101a06200437983820162003ee5565b908201526101c06200438d838201620041fe565b908201526101e0620043a1838201620041fe565b90820152610200620043b5838201620041fe565b9082015292915050565b600080600080600060a08688031215620043d857600080fd5b8535620043e58162003eb9565b94506020860135620043f78162003ecf565b93506040860135620044098162003ecf565b925060608601356001600160401b038111156200442557600080fd5b62004433888289016200421e565b9250506080860135620044468162003ecf565b809150509295509295909350565b6000602082840312156200446757600080fd5b813562003aba8162003eb9565b600080604083850312156200448857600080fd5b8235620044958162003eb9565b915060208301356001600160401b03811115620044b157600080fd5b620044bf8582860162004097565b9150509250929050565b600060208284031215620044dc57600080fd5b813562003aba8162003ecf565b600060408284031215620044fc57600080fd5b6200450662003f58565b9050813581526020820135602082015292915050565b60008060008060008060c087890312156200453657600080fd5b8635620045438162003eb9565b9550620045548860208901620044e9565b94506060870135620045668162003ecf565b935060808701356200457881620041ea565b925060a08701356001600160401b03808211156200459557600080fd5b818901915089601f830112620045aa57600080fd5b813581811115620045ba57600080fd5b8a6020828501011115620045cd57600080fd5b6020830194508093505050509295509295509295565b600080600060c08486031215620045f957600080fd5b620046058585620044e9565b9250620046168560408601620044e9565b9150620046278560808601620044e9565b90509250925092565b6000806000606084860312156200464657600080fd5b8335620046538162003eb9565b92506020840135620046658162003eb9565b91506040840135620046778162003eb9565b809150509250925092565b60008060008385036102208112156200469a57600080fd5b8435620046a78162003ecf565b93506101e0601f198201811315620046be57600080fd5b620046c862003f7d565b91506020860135825260408601356020830152606086013560408301526080860135606083015260a0860135608083015260c086013560a083015260e086013560c08301526101008087013560e084015261012080880135828501526101409150818801358185015250610160808801358285015261018091508188013581850152506101a080880135828501526101c09150818801358185015250818701358184015250508092505062004627610200850162003ee5565b6001600160401b03811681146200195457600080fd5b600060208284031215620047aa57600080fd5b813562003aba8162004781565b600080600060608486031215620047cd57600080fd5b8335620047da8162003eb9565b92506020840135620047ec8162003ecf565b915060408401356001600160401b038111156200480857600080fd5b62004816868287016200421e565b9150509250925092565b600080604083850312156200483457600080fd5b8235620048418162003eb9565b91506020830135620048538162003eb9565b809150509250929050565b600080600080608085870312156200487557600080fd5b8435620048828162003eb9565b93506020850135620048948162003ecf565b925060408501356001600160401b03811115620048b057600080fd5b620048be878288016200421e565b9250506060850135620048d18162003ecf565b939692955090935050565b600060208284031215620048ef57600080fd5b815162ffffff8116811462003aba57600080fd5b600181811c908216806200491857607f821691505b6020821081036200493957634e487b7160e01b600052602260045260246000fd5b50919050565b805162003ef28162003f07565b6000602082840312156200495f57600080fd5b815162003aba8162003f07565b805162003ef28162003ecf565b6000602082840312156200498c57600080fd5b815162003aba8162003ecf565b601f821115620021b857600081815260208120601f850160051c81016020861015620049c25750805b601f850160051c820191505b81811015620049e357828155600101620049ce565b505050505050565b81516001600160401b0381111562004a075762004a0762003f16565b62004a1f8162004a18845462004903565b8462004999565b602080601f83116001811462004a57576000841562004a3e5750858301515b600019600386901b1c1916600185901b178555620049e3565b600085815260208120601f198616915b8281101562004a885788860151825594840194600190910190840162004a67565b508582101562004aa75787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b805162003ef28162004781565b60006020828403121562004ad757600080fd5b815162003aba8162004781565b60006020828403121562004af757600080fd5b815162003aba8162003eb9565b805162003ef28162003eb9565b60006040828403121562004b2457600080fd5b62004b2e62003f58565b9050815181526020820151602082015292915050565b6000610140828403121562004b5857600080fd5b62004b6262003fa3565b62004b6d8362004b04565b815262004b7d6020840162004b04565b602082015262004b90604084016200496c565b604082015262004ba3606084016200496c565b606082015262004bb7846080850162004b11565b608082015262004bcb8460c0850162004b11565b60a082015262004bdf61010084016200493f565b60c082015262004bf3610120840162004b04565b60e08201529392505050565b600082601f83011262004c1157600080fd5b815162004c22620040ba826200406d565b81815284602083860101111562004c3857600080fd5b62003eb182602083016020870162003dd7565b805162003ef281620041ea565b60006020828403121562004c6b57600080fd5b81516001600160401b038082111562004c8357600080fd5b90830190610140828603121562004c9957600080fd5b62004ca362003fc9565b62004cae836200496c565b815262004cbf866020850162004b11565b602082015260608301518281111562004cd757600080fd5b62004ce58782860162004bff565b60408301525062004cf9608084016200496c565b606082015262004d0c60a084016200496c565b608082015262004d1f60c084016200496c565b60a082015262004d3260e0840162004c4b565b60c0820152610100915062004d4982840162004c4b565b60e082015262004d5d610120840162004c4b565b91810191909152949350505050565b60006020828403121562004d7f57600080fd5b81516001600160401b038082111562004d9757600080fd5b9083019060e0828603121562004dac57600080fd5b62004db662003fef565b82518281111562004dc657600080fd5b62004dd48782860162004bff565b82525062004de56020840162004b04565b602082015262004df86040840162004b04565b604082015262004e0b6060840162004b04565b606082015262004e1e608084016200496c565b608082015262004e3160a084016200496c565b60a082015260c08301518281111562004e4957600080fd5b62004e578782860162004bff565b60c08301525095945050505050565b6000610200828403121562004e7a57600080fd5b62004e8462004014565b62004e8f836200496c565b815262004e9f6020840162004ab7565b602082015262004eb2604084016200496c565b604082015262004ec5606084016200496c565b606082015262004ed8608084016200496c565b608082015262004eeb60a084016200493f565b60a082015262004efe60c084016200493f565b60c082015262004f1160e084016200493f565b60e08201526101008381015190820152610120808401519082015261014062004f3d8582860162004b11565b9082015261018062004f528585830162004b11565b61016083015262004f68856101c0860162004b11565b908201529392505050565b805162003ef28162003ef7565b60006020828403121562004f9357600080fd5b81516001600160401b038082111562004fab57600080fd5b9083019060e0828603121562004fc057600080fd5b62004fca62003fef565b62004fd5836200496c565b815262004fe5602084016200496c565b602082015262004ff86040840162004f73565b60408201526200500b606084016200493f565b60608201526200501e6080840162004b04565b608082015262004e3160a0840162004b04565b60006001600160601b03808816835260a060208401526200505660a084018862003dfd565b8187166040850152838103606085015262005072818762003dfd565b9250508084166080840152509695505050505050565b6000815160e084526200509f60e085018262003dfd565b9050602083015160018060a01b038082166020870152806040860151166040870152806060860151166060870152505060808301516001600160601b0380821660808701528060a08601511660a0870152505060c083015184820360c08601526200510b828262003dfd565b95945050505050565b6001600160601b038316815260406020820152600062003eb1604083018462005088565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156200516157600080fd5b81516001600160401b038111156200517857600080fd5b62003eb18482850162004bff565b600081518084526020808501945080840160005b83811015620051c15781516001600160401b0316875295820195908201906001016200519a565b509495945050505050565b6001600160601b03861681526000602060018060a01b0387168184015260a06040840152620051ff60a084018762003dfd565b8381036060850152855180825282820190600581901b830184018489016000805b848110156200528157868403601f19018652825180518086529089019089860190845b818110156200526b5783516001600160e01b0319168352928b0192918b019160010162005243565b5050968901969450509187019160010162005220565b505050868103608088015262005298818962005186565b9c9b505050505050505050505050565b81516001600160601b0316815261020081016020830151620052d560208401826001600160401b03169052565b506040830151620052f160408401826001600160601b03169052565b5060608301516200530d60608401826001600160601b03169052565b5060808301516200532960808401826001600160601b03169052565b5060a08301516200533e60a084018215159052565b5060c08301516200535360c084018215159052565b5060e08301516200536860e084018215159052565b50610100838101519083015261012080840151908301526101408084015180518285015260208101516101608501525050610160830151610180620053b98185018380518252602090810151910152565b84015180516101c085015260208101516101e08501529050620038a3565b6001600160601b0384168152606060208201526000620053fb606083018562005088565b905060ff83166040830152949350505050565b6001600160a01b0389811682526001600160601b03898116602084015288821660408401526000916101009162005452606086018b80518252602090810151910152565b881660a08501525064ffffffffff861660c084015260e0830181905282018390526101208385828501376000838501820152601f909301601f191690910190910198975050505050505050565b600060208284031215620054b257600080fd5b815162003aba8162003ef7565b8082018082111562002f0057634e487b7160e01b600052601160045260246000fd5b6001600160a01b039490941684526001600160601b039283166020850152908216604084015216606082015260800190565b600080604083850312156200552757600080fd5b8251620055348162003eb9565b6020840151909250620048538162003eb9565b81518152602080830151908201526040810162002f00565b600080604083850312156200557357600080fd5b8251620055808162003ecf565b6020840151909250620048538162003ecf56fe608060405234801561001057600080fd5b506040516104b53803806104b583398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b610422806100936000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806321df0da71461003b578063c661667d1461005a575b600080fd5b600054604080516001600160a01b039092168252519081900360200190f35b61006d61006836600461032a565b61006f565b005b60005460405163046e44af60e11b81526bffffffffffffffffffffffff8316600482015261010a916001600160a01b0316908590859073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906308dc895e90602401602060405180830381865af41580156100e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101059190610382565b61010f565b505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261016990859061016f565b50505050565b60006101846001600160a01b038416836101d7565b905080516000141580156101a95750808060200190518101906101a7919061039b565b155b1561010a57604051635274afe760e01b81526001600160a01b03841660048201526024015b60405180910390fd5b60606101e5838360006101ec565b9392505050565b6060814710156102115760405163cd78605960e01b81523060048201526024016101ce565b600080856001600160a01b0316848660405161022d91906103bd565b60006040518083038185875af1925050503d806000811461026a576040519150601f19603f3d011682016040523d82523d6000602084013e61026f565b606091505b509150915061027f868383610289565b9695505050505050565b60608261029e57610299826102e5565b6101e5565b81511580156102b557506001600160a01b0384163b155b156102de57604051639996b31560e01b81526001600160a01b03851660048201526024016101ce565b50806101e5565b8051156102f55780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b80356001600160a01b038116811461032557600080fd5b919050565b60008060006060848603121561033f57600080fd5b6103488461030e565b92506103566020850161030e565b915060408401356bffffffffffffffffffffffff8116811461037757600080fd5b809150509250925092565b60006020828403121561039457600080fd5b5051919050565b6000602082840312156103ad57600080fd5b815180151581146101e557600080fd5b6000825160005b818110156103de57602081860181015185830152016103c4565b50600092019182525091905056fea26469706673582212206527407be49ce27152c90b431b7430a6bf6b837533825111eff835d5f8e9989564736f6c6343000814003307ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220c147a429ef56cce518d38ad480f86af1de3c667fff54b92aa43471da169a9d2164736f6c63430008140033",
619
1390
  "linkReferences": {
620
- "contracts/types/Blocknumber.sol": {
621
- "BlocknumberLib": [
1391
+ "contracts/types/Amount.sol": {
1392
+ "AmountLib": [
1393
+ {
1394
+ "length": 20,
1395
+ "start": 9352
1396
+ },
1397
+ {
1398
+ "length": 20,
1399
+ "start": 9504
1400
+ },
1401
+ {
1402
+ "length": 20,
1403
+ "start": 9664
1404
+ },
1405
+ {
1406
+ "length": 20,
1407
+ "start": 9900
1408
+ },
1409
+ {
1410
+ "length": 20,
1411
+ "start": 10278
1412
+ },
1413
+ {
1414
+ "length": 20,
1415
+ "start": 10525
1416
+ },
1417
+ {
1418
+ "length": 20,
1419
+ "start": 14779
1420
+ },
1421
+ {
1422
+ "length": 20,
1423
+ "start": 15166
1424
+ },
622
1425
  {
623
1426
  "length": 20,
624
- "start": 3250
1427
+ "start": 15312
1428
+ },
1429
+ {
1430
+ "length": 20,
1431
+ "start": 15516
1432
+ },
1433
+ {
1434
+ "length": 20,
1435
+ "start": 22452
1436
+ }
1437
+ ]
1438
+ },
1439
+ "contracts/types/Fee.sol": {
1440
+ "FeeLib": [
1441
+ {
1442
+ "length": 20,
1443
+ "start": 14459
1444
+ },
1445
+ {
1446
+ "length": 20,
1447
+ "start": 14627
625
1448
  }
626
1449
  ]
627
1450
  },
@@ -629,11 +1452,11 @@
629
1452
  "NftIdLib": [
630
1453
  {
631
1454
  "length": 20,
632
- "start": 1930
1455
+ "start": 2180
633
1456
  },
634
1457
  {
635
1458
  "length": 20,
636
- "start": 3767
1459
+ "start": 8007
637
1460
  }
638
1461
  ]
639
1462
  },
@@ -641,15 +1464,15 @@
641
1464
  "RoleIdLib": [
642
1465
  {
643
1466
  "length": 20,
644
- "start": 5237
645
- }
646
- ]
647
- },
648
- "contracts/types/Timestamp.sol": {
649
- "TimestampLib": [
1467
+ "start": 12292
1468
+ },
1469
+ {
1470
+ "length": 20,
1471
+ "start": 13192
1472
+ },
650
1473
  {
651
1474
  "length": 20,
652
- "start": 6576
1475
+ "start": 15440
653
1476
  }
654
1477
  ]
655
1478
  },
@@ -657,25 +1480,87 @@
657
1480
  "VersionLib": [
658
1481
  {
659
1482
  "length": 20,
660
- "start": 1452
1483
+ "start": 1671
1484
+ },
1485
+ {
1486
+ "length": 20,
1487
+ "start": 2879
661
1488
  },
662
1489
  {
663
1490
  "length": 20,
664
- "start": 4007
1491
+ "start": 13498
665
1492
  },
666
1493
  {
667
1494
  "length": 20,
668
- "start": 4701
1495
+ "start": 15624
1496
+ }
1497
+ ],
1498
+ "VersionPartLib": [
1499
+ {
1500
+ "length": 20,
1501
+ "start": 8506
669
1502
  }
670
1503
  ]
671
1504
  }
672
1505
  },
673
1506
  "deployedLinkReferences": {
674
- "contracts/types/Blocknumber.sol": {
675
- "BlocknumberLib": [
1507
+ "contracts/types/Amount.sol": {
1508
+ "AmountLib": [
1509
+ {
1510
+ "length": 20,
1511
+ "start": 9122
1512
+ },
1513
+ {
1514
+ "length": 20,
1515
+ "start": 9274
1516
+ },
1517
+ {
1518
+ "length": 20,
1519
+ "start": 9434
1520
+ },
1521
+ {
1522
+ "length": 20,
1523
+ "start": 9670
1524
+ },
1525
+ {
1526
+ "length": 20,
1527
+ "start": 10048
1528
+ },
1529
+ {
1530
+ "length": 20,
1531
+ "start": 10295
1532
+ },
1533
+ {
1534
+ "length": 20,
1535
+ "start": 14549
1536
+ },
1537
+ {
1538
+ "length": 20,
1539
+ "start": 14936
1540
+ },
1541
+ {
1542
+ "length": 20,
1543
+ "start": 15082
1544
+ },
1545
+ {
1546
+ "length": 20,
1547
+ "start": 15286
1548
+ },
1549
+ {
1550
+ "length": 20,
1551
+ "start": 22222
1552
+ }
1553
+ ]
1554
+ },
1555
+ "contracts/types/Fee.sol": {
1556
+ "FeeLib": [
1557
+ {
1558
+ "length": 20,
1559
+ "start": 14229
1560
+ },
676
1561
  {
677
1562
  "length": 20,
678
- "start": 2936
1563
+ "start": 14397
679
1564
  }
680
1565
  ]
681
1566
  },
@@ -683,11 +1568,11 @@
683
1568
  "NftIdLib": [
684
1569
  {
685
1570
  "length": 20,
686
- "start": 1616
1571
+ "start": 1950
687
1572
  },
688
1573
  {
689
1574
  "length": 20,
690
- "start": 3453
1575
+ "start": 7777
691
1576
  }
692
1577
  ]
693
1578
  },
@@ -695,15 +1580,15 @@
695
1580
  "RoleIdLib": [
696
1581
  {
697
1582
  "length": 20,
698
- "start": 4923
699
- }
700
- ]
701
- },
702
- "contracts/types/Timestamp.sol": {
703
- "TimestampLib": [
1583
+ "start": 12062
1584
+ },
1585
+ {
1586
+ "length": 20,
1587
+ "start": 12962
1588
+ },
704
1589
  {
705
1590
  "length": 20,
706
- "start": 6262
1591
+ "start": 15210
707
1592
  }
708
1593
  ]
709
1594
  },
@@ -711,15 +1596,25 @@
711
1596
  "VersionLib": [
712
1597
  {
713
1598
  "length": 20,
714
- "start": 1138
1599
+ "start": 1441
1600
+ },
1601
+ {
1602
+ "length": 20,
1603
+ "start": 2649
715
1604
  },
716
1605
  {
717
1606
  "length": 20,
718
- "start": 3693
1607
+ "start": 13268
719
1608
  },
720
1609
  {
721
1610
  "length": 20,
722
- "start": 4387
1611
+ "start": 15394
1612
+ }
1613
+ ],
1614
+ "VersionPartLib": [
1615
+ {
1616
+ "length": 20,
1617
+ "start": 8276
723
1618
  }
724
1619
  ]
725
1620
  }