@etherisc/gif-next 0.0.2-f7b8c9f-518 → 0.0.2-f7c17b4-297

Sign up to get free protection for your applications and to get access to all the features.
Files changed (456) hide show
  1. package/README.md +243 -2
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +774 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +928 -175
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/{instance/base/ServiceBase.sol/ServiceBase.json → components/IComponent.sol/IComponent.json} +153 -174
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +701 -1
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +797 -76
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +567 -34
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +995 -260
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +710 -157
  18. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  19. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +764 -0
  20. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  21. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +185 -0
  22. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  23. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1451 -1206
  24. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  25. package/artifacts/contracts/instance/{base/ComponentServiceBase.sol/ComponentServiceBase.json → IInstanceService.sol/IInstanceService.json} +199 -182
  26. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  27. package/artifacts/contracts/instance/Instance.sol/Instance.json +2088 -1373
  28. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  29. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +984 -0
  30. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1391 -0
  32. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  33. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1035 -0
  34. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  35. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +693 -0
  36. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  37. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +261 -0
  38. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  39. package/artifacts/contracts/instance/base/{InstanceBase.sol/InstanceBase.json → ComponentService.sol/ComponentService.json} +192 -195
  40. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  41. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +27 -158
  42. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  44. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +37 -245
  45. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  46. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +2 -2
  47. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  48. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +254 -0
  49. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  50. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  51. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  52. package/artifacts/contracts/instance/module/{distribution/IDistribution.sol → IDistribution.sol}/IDistribution.json +1 -1
  53. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  54. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  55. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  56. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  57. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  58. package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/ISetup.sol/ISetup.json} +2 -2
  59. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  60. package/artifacts/contracts/instance/module/{treasury/ITreasury.sol → ITreasury.sol}/ITreasury.json +1 -1
  61. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  62. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +858 -0
  63. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  64. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +657 -0
  65. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  66. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1085 -0
  67. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  68. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +661 -0
  69. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  70. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +743 -0
  71. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  72. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +637 -0
  73. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  74. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +473 -168
  75. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  76. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +677 -0
  77. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  78. package/artifacts/contracts/instance/service/{IComponentOwnerService.sol/IComponentOwnerService.json → IApplicationService.sol/IApplicationService.json} +200 -204
  79. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  80. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +622 -0
  81. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  82. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +398 -0
  83. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  84. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +197 -163
  85. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  86. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +572 -0
  87. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  88. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +30 -255
  89. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  90. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +41 -419
  91. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  92. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1109 -0
  93. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  94. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +717 -0
  95. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  96. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +227 -264
  97. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  98. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +649 -0
  99. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  100. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +233 -535
  101. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  102. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +649 -0
  103. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  104. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +47 -2
  105. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  106. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +236 -63
  107. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  108. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +312 -178
  109. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  110. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  111. package/artifacts/contracts/registry/Registry.sol/Registry.json +210 -212
  112. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  113. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  114. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  115. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +424 -255
  116. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  117. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +324 -122
  118. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  119. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
  120. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  121. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +498 -0
  122. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  123. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  124. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  125. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  126. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +40 -29
  127. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  128. package/artifacts/contracts/{instance/module/component/IComponent.sol/IComponentModule.json → shared/IPolicyHolder.sol/IPolicyHolder.json} +69 -57
  129. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  130. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +21 -34
  131. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  132. package/artifacts/contracts/{experiment/inheritance/IB.sol/IB.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +18 -20
  133. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  134. package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → shared/IService.sol/IService.json} +51 -47
  135. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  136. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  137. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  138. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +120 -27
  139. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  140. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
  141. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  142. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +294 -61
  143. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  144. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +129 -51
  145. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  146. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
  147. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  148. package/artifacts/contracts/{instance/base/IService.sol/IService.json → shared/Service.sol/Service.json} +147 -154
  149. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  150. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
  151. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  152. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  153. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  154. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  155. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  156. package/artifacts/contracts/test/TestFee.sol/TestFee.json +4 -4
  157. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  158. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +129 -51
  159. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  160. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +14 -14
  161. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  162. package/artifacts/contracts/test/TestService.sol/TestService.json +141 -215
  163. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  164. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
  165. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  166. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  167. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  168. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -174
  169. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  170. package/artifacts/contracts/test/Usdc.sol/USDC.json +91 -53
  171. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  172. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  173. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  174. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  175. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +100 -0
  176. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  177. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  178. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  179. package/artifacts/contracts/types/Fee.sol/FeeLib.json +4 -4
  180. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  181. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +31 -17
  182. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  183. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
  184. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  185. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  186. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  187. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  188. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  189. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  190. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  191. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +100 -0
  192. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  193. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +123 -0
  194. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  195. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  196. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  197. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +134 -8
  198. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  199. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  200. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  202. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  203. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +38 -7
  204. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  205. package/artifacts/contracts/{experiment/types/TypeB.sol/TypeBLib.json → types/UFixed.sol/MathLib.json} +4 -4
  206. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  207. package/artifacts/contracts/types/UFixed.sol/{UFixedMathLib.json → UFixedLib.json} +3 -3
  208. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  209. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  210. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  211. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  212. package/contracts/components/Component.sol +221 -0
  213. package/contracts/components/Distribution.sol +214 -61
  214. package/contracts/components/IComponent.sol +68 -0
  215. package/contracts/components/IDistributionComponent.sol +59 -5
  216. package/contracts/components/IPoolComponent.sol +126 -39
  217. package/contracts/components/IProductComponent.sol +12 -9
  218. package/contracts/components/Pool.sol +290 -158
  219. package/contracts/components/Product.sol +134 -140
  220. package/contracts/instance/BundleManager.sol +125 -0
  221. package/contracts/instance/Cloneable.sol +46 -0
  222. package/contracts/instance/IInstance.sol +84 -46
  223. package/contracts/instance/IInstanceService.sol +59 -0
  224. package/contracts/instance/Instance.sol +273 -69
  225. package/contracts/instance/InstanceAccessManager.sol +297 -0
  226. package/contracts/instance/InstanceReader.sol +293 -0
  227. package/contracts/instance/InstanceService.sol +490 -0
  228. package/contracts/instance/InstanceServiceManager.sol +54 -0
  229. package/contracts/instance/ObjectManager.sol +84 -0
  230. package/contracts/instance/base/ComponentService.sol +134 -0
  231. package/contracts/instance/base/IKeyValueStore.sol +13 -14
  232. package/contracts/instance/base/ILifecycle.sol +3 -3
  233. package/contracts/instance/base/KeyValueStore.sol +49 -38
  234. package/contracts/instance/base/Lifecycle.sol +1 -1
  235. package/contracts/instance/module/IAccess.sol +47 -0
  236. package/contracts/instance/module/IBundle.sol +21 -0
  237. package/contracts/instance/module/IDistribution.sol +39 -0
  238. package/contracts/instance/module/IPolicy.sol +48 -0
  239. package/contracts/instance/module/IRisk.sol +11 -0
  240. package/contracts/instance/module/ISetup.sol +48 -0
  241. package/contracts/instance/module/ITreasury.sol +23 -0
  242. package/contracts/instance/service/ApplicationService.sol +269 -0
  243. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  244. package/contracts/instance/service/BundleService.sol +299 -0
  245. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  246. package/contracts/instance/service/ClaimService.sol +151 -0
  247. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  248. package/contracts/instance/service/DistributionService.sol +244 -21
  249. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  250. package/contracts/instance/service/IApplicationService.sol +83 -0
  251. package/contracts/instance/service/IBundleService.sol +55 -0
  252. package/contracts/instance/service/IClaimService.sol +61 -0
  253. package/contracts/instance/service/IDistributionService.sol +54 -1
  254. package/contracts/instance/service/IPolicyService.sol +90 -0
  255. package/contracts/instance/service/IPoolService.sol +7 -24
  256. package/contracts/instance/service/IProductService.sol +9 -76
  257. package/contracts/instance/service/PolicyService.sol +476 -0
  258. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  259. package/contracts/instance/service/PoolService.sol +77 -117
  260. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  261. package/contracts/instance/service/ProductService.sol +156 -433
  262. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  263. package/contracts/registry/ChainNft.sol +41 -26
  264. package/contracts/registry/IRegistry.sol +51 -25
  265. package/contracts/registry/IRegistryService.sol +54 -16
  266. package/contracts/registry/Registry.sol +279 -306
  267. package/contracts/registry/RegistryAccessManager.sol +216 -0
  268. package/contracts/registry/RegistryService.sol +162 -247
  269. package/contracts/registry/RegistryServiceManager.sol +30 -11
  270. package/contracts/registry/ReleaseManager.sol +322 -0
  271. package/contracts/registry/TokenRegistry.sol +116 -0
  272. package/contracts/shared/ERC165.sol +15 -9
  273. package/contracts/shared/INftOwnable.sol +11 -10
  274. package/contracts/shared/IPolicyHolder.sol +26 -0
  275. package/contracts/shared/IRegisterable.sol +4 -6
  276. package/contracts/shared/IRegistryLinked.sol +12 -0
  277. package/contracts/shared/IService.sol +16 -0
  278. package/contracts/shared/IVersionable.sol +4 -47
  279. package/contracts/shared/NftOwnable.sol +67 -83
  280. package/contracts/shared/PolicyHolder.sol +81 -0
  281. package/contracts/shared/ProxyManager.sol +101 -26
  282. package/contracts/shared/Registerable.sol +17 -32
  283. package/contracts/shared/RegistryLinked.sol +48 -0
  284. package/contracts/shared/Service.sol +58 -0
  285. package/contracts/shared/TokenHandler.sol +27 -0
  286. package/contracts/shared/UpgradableProxyWithAdmin.sol +2 -2
  287. package/contracts/shared/Versionable.sol +5 -93
  288. package/contracts/test/TestFee.sol +2 -2
  289. package/contracts/test/TestRegisterable.sol +1 -1
  290. package/contracts/test/TestRoleId.sol +1 -1
  291. package/contracts/test/TestService.sol +6 -7
  292. package/contracts/types/ClaimId.sol +52 -0
  293. package/contracts/types/DistributorType.sol +55 -0
  294. package/contracts/types/Fee.sol +3 -3
  295. package/contracts/types/Key32.sol +8 -3
  296. package/contracts/types/NftIdSet.sol +26 -24
  297. package/contracts/types/NumberId.sol +52 -0
  298. package/contracts/types/ObjectType.sol +39 -14
  299. package/contracts/types/PayoutId.sol +54 -0
  300. package/contracts/types/Referral.sol +85 -0
  301. package/contracts/types/RoleId.sol +66 -9
  302. package/contracts/types/Seconds.sol +54 -0
  303. package/contracts/types/StateId.sol +5 -1
  304. package/contracts/types/Timestamp.sol +16 -13
  305. package/contracts/types/UFixed.sol +128 -12
  306. package/contracts/types/Version.sol +4 -1
  307. package/package.json +6 -5
  308. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  309. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -301
  310. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  311. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  312. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  313. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  314. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  315. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  316. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  317. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  318. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  319. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  320. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  321. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  322. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  323. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  324. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  325. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  326. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  327. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  328. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  329. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  330. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  331. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  332. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  333. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  334. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  335. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  336. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  337. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  338. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  339. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  340. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  341. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  342. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  343. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  344. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  345. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  346. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  347. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  348. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  349. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  350. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  351. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  352. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  353. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  354. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  355. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.json +0 -10
  356. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  357. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  358. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  359. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -297
  360. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  361. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  362. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -297
  363. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  364. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -117
  365. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  366. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  367. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  368. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +0 -4
  369. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +0 -10
  370. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +0 -4
  371. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +0 -4
  372. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.json +0 -10
  373. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  374. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  375. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -271
  376. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  377. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -271
  378. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  379. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  380. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  381. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -164
  382. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  383. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -164
  384. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  385. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  386. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -113
  387. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  388. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -131
  389. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  390. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  391. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -638
  392. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  393. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  394. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  395. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -638
  396. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  397. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -794
  398. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  399. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  400. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -457
  401. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +0 -4
  402. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +0 -557
  403. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  404. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -716
  405. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  406. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -744
  407. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +0 -4
  408. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.json +0 -99
  409. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  410. package/contracts/components/BaseComponent.sol +0 -79
  411. package/contracts/components/IBaseComponent.sol +0 -19
  412. package/contracts/experiment/errors/Require.sol +0 -38
  413. package/contracts/experiment/errors/Revert.sol +0 -44
  414. package/contracts/experiment/inheritance/A.sol +0 -53
  415. package/contracts/experiment/inheritance/B.sol +0 -28
  416. package/contracts/experiment/inheritance/C.sol +0 -34
  417. package/contracts/experiment/inheritance/IA.sol +0 -13
  418. package/contracts/experiment/inheritance/IB.sol +0 -10
  419. package/contracts/experiment/inheritance/IC.sol +0 -12
  420. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  421. package/contracts/experiment/statemachine/ISM.sol +0 -25
  422. package/contracts/experiment/statemachine/SM.sol +0 -57
  423. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  424. package/contracts/experiment/types/TypeA.sol +0 -47
  425. package/contracts/experiment/types/TypeB.sol +0 -29
  426. package/contracts/instance/IInstanceLinked.sol +0 -8
  427. package/contracts/instance/base/ComponentServiceBase.sol +0 -49
  428. package/contracts/instance/base/IInstanceBase.sol +0 -23
  429. package/contracts/instance/base/IService.sol +0 -15
  430. package/contracts/instance/base/InstanceBase.sol +0 -89
  431. package/contracts/instance/base/ModuleBase.sol +0 -57
  432. package/contracts/instance/base/ServiceBase.sol +0 -44
  433. package/contracts/instance/module/access/Access.sol +0 -149
  434. package/contracts/instance/module/access/IAccess.sol +0 -53
  435. package/contracts/instance/module/bundle/BundleModule.sol +0 -134
  436. package/contracts/instance/module/bundle/IBundle.sol +0 -53
  437. package/contracts/instance/module/component/ComponentModule.sol +0 -71
  438. package/contracts/instance/module/component/IComponent.sol +0 -28
  439. package/contracts/instance/module/distribution/DistributionModule.sol +0 -17
  440. package/contracts/instance/module/distribution/IDistribution.sol +0 -10
  441. package/contracts/instance/module/policy/IPolicy.sol +0 -63
  442. package/contracts/instance/module/policy/PolicyModule.sol +0 -91
  443. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  444. package/contracts/instance/module/pool/PoolModule.sol +0 -95
  445. package/contracts/instance/module/risk/IRisk.sol +0 -26
  446. package/contracts/instance/module/risk/RiskModule.sol +0 -62
  447. package/contracts/instance/module/treasury/ITreasury.sol +0 -84
  448. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  449. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -131
  450. package/contracts/instance/service/ComponentOwnerService.sol +0 -275
  451. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  452. package/contracts/registry/IChainNft.sol +0 -22
  453. package/contracts/test/TestDistribution.sol +0 -22
  454. package/contracts/test/TestPool.sol +0 -27
  455. package/contracts/test/TestProduct.sol +0 -74
  456. package/contracts/types/ReferralId.sol +0 -48
@@ -7,102 +7,161 @@
7
7
  "inputs": [
8
8
  {
9
9
  "internalType": "address",
10
- "name": "registry",
10
+ "name": "component",
11
11
  "type": "address"
12
12
  },
13
13
  {
14
14
  "internalType": "NftId",
15
- "name": "registryNftId",
15
+ "name": "nftId",
16
+ "type": "uint96"
17
+ }
18
+ ],
19
+ "name": "ErrorComponentServiceAlreadyRegistered",
20
+ "type": "error"
21
+ },
22
+ {
23
+ "inputs": [
24
+ {
25
+ "internalType": "address",
26
+ "name": "component",
27
+ "type": "address"
28
+ }
29
+ ],
30
+ "name": "ErrorComponentServiceComponentLocked",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "NftId",
37
+ "name": "instanceNftId",
16
38
  "type": "uint96"
17
39
  },
40
+ {
41
+ "internalType": "RoleId",
42
+ "name": "requiredRole",
43
+ "type": "uint64"
44
+ },
18
45
  {
19
46
  "internalType": "address",
20
- "name": "initialOwner",
47
+ "name": "sender",
21
48
  "type": "address"
22
49
  }
23
50
  ],
24
- "stateMutability": "nonpayable",
25
- "type": "constructor"
51
+ "name": "ErrorComponentServiceExpectedRoleMissing",
52
+ "type": "error"
26
53
  },
27
54
  {
28
55
  "inputs": [
29
56
  {
30
57
  "internalType": "address",
31
- "name": "registry",
58
+ "name": "component",
32
59
  "type": "address"
33
60
  },
34
61
  {
35
- "internalType": "NftId",
36
- "name": "nftId",
37
- "type": "uint96"
62
+ "internalType": "ObjectType",
63
+ "name": "requiredType",
64
+ "type": "uint8"
65
+ },
66
+ {
67
+ "internalType": "ObjectType",
68
+ "name": "componentType",
69
+ "type": "uint8"
38
70
  }
39
71
  ],
40
- "name": "ErrorAlreadyLinked",
72
+ "name": "ErrorComponentServiceInvalidType",
41
73
  "type": "error"
42
74
  },
43
75
  {
44
76
  "inputs": [
45
77
  {
46
78
  "internalType": "address",
47
- "name": "contractAddress",
79
+ "name": "component",
48
80
  "type": "address"
49
81
  }
50
82
  ],
51
- "name": "ErrorContractNotRegistered",
83
+ "name": "ErrorComponentServiceNotComponent",
52
84
  "type": "error"
53
85
  },
54
86
  {
55
87
  "inputs": [
56
88
  {
57
89
  "internalType": "address",
58
- "name": "account",
90
+ "name": "component",
91
+ "type": "address"
92
+ },
93
+ {
94
+ "internalType": "address",
95
+ "name": "initialOwner",
96
+ "type": "address"
97
+ },
98
+ {
99
+ "internalType": "address",
100
+ "name": "sender",
59
101
  "type": "address"
60
102
  }
61
103
  ],
62
- "name": "ErrorNotOwner",
104
+ "name": "ErrorComponentServiceSenderNotOwner",
63
105
  "type": "error"
64
106
  },
65
107
  {
66
108
  "inputs": [
67
109
  {
68
110
  "internalType": "address",
69
- "name": "registryAddress",
111
+ "name": "target",
70
112
  "type": "address"
71
113
  }
72
114
  ],
73
- "name": "ErrorNotRegistry",
115
+ "name": "ErrorIAccessTargetLocked",
116
+ "type": "error"
117
+ },
118
+ {
119
+ "inputs": [
120
+ {
121
+ "internalType": "NftId",
122
+ "name": "nftId",
123
+ "type": "uint96"
124
+ }
125
+ ],
126
+ "name": "ErrorNftOwnableAlreadyLinked",
74
127
  "type": "error"
75
128
  },
76
129
  {
77
130
  "inputs": [
78
131
  {
79
132
  "internalType": "address",
80
- "name": "registryAddress",
133
+ "name": "contractAddress",
81
134
  "type": "address"
82
135
  }
83
136
  ],
84
- "name": "ErrorRegisterableNotRegistry",
137
+ "name": "ErrorNftOwnableContractNotRegistered",
85
138
  "type": "error"
86
139
  },
87
140
  {
88
141
  "inputs": [],
89
- "name": "ErrorRegistryAddressZero",
142
+ "name": "ErrorNftOwnableInitialOwnerZero",
90
143
  "type": "error"
91
144
  },
92
145
  {
93
146
  "inputs": [
94
147
  {
95
148
  "internalType": "address",
96
- "name": "registry",
149
+ "name": "account",
97
150
  "type": "address"
98
151
  }
99
152
  ],
100
- "name": "ErrorRegistryAlreadyInitialized",
153
+ "name": "ErrorNftOwnableNotOwner",
101
154
  "type": "error"
102
155
  },
103
156
  {
104
- "inputs": [],
105
- "name": "ErrorRegistryNotInitialized",
157
+ "inputs": [
158
+ {
159
+ "internalType": "address",
160
+ "name": "registryAddress",
161
+ "type": "address"
162
+ }
163
+ ],
164
+ "name": "ErrorNotRegistry",
106
165
  "type": "error"
107
166
  },
108
167
  {
@@ -141,39 +200,14 @@
141
200
  "name": "LogProductServiceSender",
142
201
  "type": "event"
143
202
  },
144
- {
145
- "anonymous": false,
146
- "inputs": [
147
- {
148
- "indexed": false,
149
- "internalType": "Version",
150
- "name": "version",
151
- "type": "uint24"
152
- },
153
- {
154
- "indexed": false,
155
- "internalType": "address",
156
- "name": "implementation",
157
- "type": "address"
158
- },
159
- {
160
- "indexed": false,
161
- "internalType": "address",
162
- "name": "activatedBy",
163
- "type": "address"
164
- }
165
- ],
166
- "name": "LogVersionableInitialized",
167
- "type": "event"
168
- },
169
203
  {
170
204
  "inputs": [],
171
- "name": "NAME",
205
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
172
206
  "outputs": [
173
207
  {
174
- "internalType": "string",
208
+ "internalType": "bytes32",
175
209
  "name": "",
176
- "type": "string"
210
+ "type": "bytes32"
177
211
  }
178
212
  ],
179
213
  "stateMutability": "view",
@@ -192,24 +226,6 @@
192
226
  "stateMutability": "view",
193
227
  "type": "function"
194
228
  },
195
- {
196
- "inputs": [
197
- {
198
- "internalType": "NftId",
199
- "name": "policyNftId",
200
- "type": "uint96"
201
- },
202
- {
203
- "internalType": "Timestamp",
204
- "name": "activateAt",
205
- "type": "uint40"
206
- }
207
- ],
208
- "name": "activate",
209
- "outputs": [],
210
- "stateMutability": "nonpayable",
211
- "type": "function"
212
- },
213
229
  {
214
230
  "inputs": [
215
231
  {
@@ -217,183 +233,28 @@
217
233
  "name": "riskId",
218
234
  "type": "bytes8"
219
235
  },
220
- {
221
- "internalType": "uint256",
222
- "name": "sumInsuredAmount",
223
- "type": "uint256"
224
- },
225
- {
226
- "internalType": "uint256",
227
- "name": "lifetime",
228
- "type": "uint256"
229
- },
230
236
  {
231
237
  "internalType": "bytes",
232
- "name": "applicationData",
238
+ "name": "data",
233
239
  "type": "bytes"
234
- },
235
- {
236
- "internalType": "NftId",
237
- "name": "bundleNftId",
238
- "type": "uint96"
239
- },
240
- {
241
- "internalType": "ReferralId",
242
- "name": "referralId",
243
- "type": "bytes8"
244
- }
245
- ],
246
- "name": "calculatePremium",
247
- "outputs": [
248
- {
249
- "internalType": "uint256",
250
- "name": "premiumAmount",
251
- "type": "uint256"
252
- },
253
- {
254
- "internalType": "uint256",
255
- "name": "productFeeAmount",
256
- "type": "uint256"
257
- },
258
- {
259
- "internalType": "uint256",
260
- "name": "poolFeeAmount",
261
- "type": "uint256"
262
- },
263
- {
264
- "internalType": "uint256",
265
- "name": "bundleFeeAmount",
266
- "type": "uint256"
267
- },
268
- {
269
- "internalType": "uint256",
270
- "name": "distributionFeeAmount",
271
- "type": "uint256"
272
- }
273
- ],
274
- "stateMutability": "view",
275
- "type": "function"
276
- },
277
- {
278
- "inputs": [
279
- {
280
- "internalType": "UFixed",
281
- "name": "collateralizationLevel",
282
- "type": "uint256"
283
- },
284
- {
285
- "internalType": "uint256",
286
- "name": "sumInsuredAmount",
287
- "type": "uint256"
288
- }
289
- ],
290
- "name": "calculateRequiredCollateral",
291
- "outputs": [
292
- {
293
- "internalType": "uint256",
294
- "name": "collateralAmount",
295
- "type": "uint256"
296
- }
297
- ],
298
- "stateMutability": "pure",
299
- "type": "function"
300
- },
301
- {
302
- "inputs": [
303
- {
304
- "internalType": "NftId",
305
- "name": "policyNftId",
306
- "type": "uint96"
307
- }
308
- ],
309
- "name": "close",
310
- "outputs": [],
311
- "stateMutability": "nonpayable",
312
- "type": "function"
313
- },
314
- {
315
- "inputs": [
316
- {
317
- "internalType": "NftId",
318
- "name": "policyNftId",
319
- "type": "uint96"
320
- },
321
- {
322
- "internalType": "Timestamp",
323
- "name": "activateAt",
324
- "type": "uint40"
325
240
  }
326
241
  ],
327
- "name": "collectPremium",
242
+ "name": "createRisk",
328
243
  "outputs": [],
329
244
  "stateMutability": "nonpayable",
330
245
  "type": "function"
331
246
  },
332
247
  {
333
- "inputs": [
334
- {
335
- "internalType": "address",
336
- "name": "applicationOwner",
337
- "type": "address"
338
- },
339
- {
340
- "internalType": "RiskId",
341
- "name": "riskId",
342
- "type": "bytes8"
343
- },
344
- {
345
- "internalType": "uint256",
346
- "name": "sumInsuredAmount",
347
- "type": "uint256"
348
- },
349
- {
350
- "internalType": "uint256",
351
- "name": "lifetime",
352
- "type": "uint256"
353
- },
354
- {
355
- "internalType": "bytes",
356
- "name": "applicationData",
357
- "type": "bytes"
358
- },
359
- {
360
- "internalType": "NftId",
361
- "name": "bundleNftId",
362
- "type": "uint96"
363
- },
364
- {
365
- "internalType": "ReferralId",
366
- "name": "referralId",
367
- "type": "bytes8"
368
- }
369
- ],
370
- "name": "createApplication",
248
+ "inputs": [],
249
+ "name": "getDomain",
371
250
  "outputs": [
372
251
  {
373
- "internalType": "NftId",
374
- "name": "policyNftId",
375
- "type": "uint96"
376
- }
377
- ],
378
- "stateMutability": "nonpayable",
379
- "type": "function"
380
- },
381
- {
382
- "inputs": [
383
- {
384
- "internalType": "RiskId",
385
- "name": "riskId",
386
- "type": "bytes8"
387
- },
388
- {
389
- "internalType": "bytes",
390
- "name": "data",
391
- "type": "bytes"
252
+ "internalType": "ObjectType",
253
+ "name": "",
254
+ "type": "uint8"
392
255
  }
393
256
  ],
394
- "name": "createRisk",
395
- "outputs": [],
396
- "stateMutability": "nonpayable",
257
+ "stateMutability": "pure",
397
258
  "type": "function"
398
259
  },
399
260
  {
@@ -439,13 +300,8 @@
439
300
  }
440
301
  ],
441
302
  "internalType": "struct IRegistry.ObjectInfo",
442
- "name": "",
303
+ "name": "info",
443
304
  "type": "tuple"
444
- },
445
- {
446
- "internalType": "bytes",
447
- "name": "data",
448
- "type": "bytes"
449
305
  }
450
306
  ],
451
307
  "stateMutability": "view",
@@ -453,12 +309,12 @@
453
309
  },
454
310
  {
455
311
  "inputs": [],
456
- "name": "getInitializedVersion",
312
+ "name": "getInstanceService",
457
313
  "outputs": [
458
314
  {
459
- "internalType": "uint64",
315
+ "internalType": "contract InstanceService",
460
316
  "name": "",
461
- "type": "uint64"
317
+ "type": "address"
462
318
  }
463
319
  ],
464
320
  "stateMutability": "view",
@@ -479,25 +335,25 @@
479
335
  },
480
336
  {
481
337
  "inputs": [],
482
- "name": "getName",
338
+ "name": "getNftId",
483
339
  "outputs": [
484
340
  {
485
- "internalType": "string",
486
- "name": "name",
487
- "type": "string"
341
+ "internalType": "NftId",
342
+ "name": "",
343
+ "type": "uint96"
488
344
  }
489
345
  ],
490
- "stateMutability": "pure",
346
+ "stateMutability": "view",
491
347
  "type": "function"
492
348
  },
493
349
  {
494
350
  "inputs": [],
495
- "name": "getNftId",
351
+ "name": "getOwner",
496
352
  "outputs": [
497
353
  {
498
- "internalType": "NftId",
354
+ "internalType": "address",
499
355
  "name": "",
500
- "type": "uint96"
356
+ "type": "address"
501
357
  }
502
358
  ],
503
359
  "stateMutability": "view",
@@ -505,10 +361,10 @@
505
361
  },
506
362
  {
507
363
  "inputs": [],
508
- "name": "getOwner",
364
+ "name": "getRegistry",
509
365
  "outputs": [
510
366
  {
511
- "internalType": "address",
367
+ "internalType": "contract IRegistry",
512
368
  "name": "",
513
369
  "type": "address"
514
370
  }
@@ -518,10 +374,10 @@
518
374
  },
519
375
  {
520
376
  "inputs": [],
521
- "name": "getRegistry",
377
+ "name": "getRegistryAddress",
522
378
  "outputs": [
523
379
  {
524
- "internalType": "contract IRegistry",
380
+ "internalType": "address",
525
381
  "name": "",
526
382
  "type": "address"
527
383
  }
@@ -556,90 +412,101 @@
556
412
  "type": "function"
557
413
  },
558
414
  {
559
- "inputs": [
560
- {
561
- "internalType": "uint256",
562
- "name": "idx",
563
- "type": "uint256"
564
- }
565
- ],
566
- "name": "getVersion",
567
- "outputs": [
568
- {
569
- "internalType": "Version",
570
- "name": "",
571
- "type": "uint24"
572
- }
573
- ],
574
- "stateMutability": "view",
415
+ "inputs": [],
416
+ "name": "initializeERC165",
417
+ "outputs": [],
418
+ "stateMutability": "nonpayable",
575
419
  "type": "function"
576
420
  },
577
421
  {
578
- "inputs": [],
579
- "name": "getVersionCount",
580
- "outputs": [
422
+ "inputs": [
581
423
  {
582
- "internalType": "uint256",
583
- "name": "",
584
- "type": "uint256"
424
+ "internalType": "address",
425
+ "name": "initialOwner",
426
+ "type": "address"
427
+ },
428
+ {
429
+ "internalType": "address",
430
+ "name": "registryAddress",
431
+ "type": "address"
585
432
  }
586
433
  ],
587
- "stateMutability": "view",
434
+ "name": "initializeNftOwnable",
435
+ "outputs": [],
436
+ "stateMutability": "nonpayable",
588
437
  "type": "function"
589
438
  },
590
439
  {
591
440
  "inputs": [
592
441
  {
593
- "internalType": "Version",
594
- "name": "_version",
595
- "type": "uint24"
442
+ "internalType": "address",
443
+ "name": "registryAddress",
444
+ "type": "address"
445
+ },
446
+ {
447
+ "internalType": "NftId",
448
+ "name": "parentNftId",
449
+ "type": "uint96"
450
+ },
451
+ {
452
+ "internalType": "ObjectType",
453
+ "name": "objectType",
454
+ "type": "uint8"
455
+ },
456
+ {
457
+ "internalType": "bool",
458
+ "name": "isInterceptor",
459
+ "type": "bool"
460
+ },
461
+ {
462
+ "internalType": "address",
463
+ "name": "initialOwner",
464
+ "type": "address"
465
+ },
466
+ {
467
+ "internalType": "bytes",
468
+ "name": "registryData",
469
+ "type": "bytes"
596
470
  }
597
471
  ],
598
- "name": "getVersionInfo",
599
- "outputs": [
472
+ "name": "initializeRegisterable",
473
+ "outputs": [],
474
+ "stateMutability": "nonpayable",
475
+ "type": "function"
476
+ },
477
+ {
478
+ "inputs": [
600
479
  {
601
- "components": [
602
- {
603
- "internalType": "Version",
604
- "name": "version",
605
- "type": "uint24"
606
- },
607
- {
608
- "internalType": "address",
609
- "name": "implementation",
610
- "type": "address"
611
- },
612
- {
613
- "internalType": "address",
614
- "name": "activatedBy",
615
- "type": "address"
616
- },
617
- {
618
- "internalType": "Timestamp",
619
- "name": "activatedAt",
620
- "type": "uint40"
621
- },
622
- {
623
- "internalType": "Blocknumber",
624
- "name": "activatedIn",
625
- "type": "uint32"
626
- }
627
- ],
628
- "internalType": "struct IVersionable.VersionInfo",
629
- "name": "",
630
- "type": "tuple"
480
+ "internalType": "address",
481
+ "name": "registryAddress",
482
+ "type": "address"
631
483
  }
632
484
  ],
633
- "stateMutability": "view",
485
+ "name": "initializeRegistryLinked",
486
+ "outputs": [],
487
+ "stateMutability": "nonpayable",
634
488
  "type": "function"
635
489
  },
636
490
  {
637
491
  "inputs": [
638
492
  {
639
493
  "internalType": "address",
640
- "name": "implementation",
494
+ "name": "registry",
641
495
  "type": "address"
642
496
  },
497
+ {
498
+ "internalType": "address",
499
+ "name": "initialOwner",
500
+ "type": "address"
501
+ }
502
+ ],
503
+ "name": "initializeService",
504
+ "outputs": [],
505
+ "stateMutability": "nonpayable",
506
+ "type": "function"
507
+ },
508
+ {
509
+ "inputs": [
643
510
  {
644
511
  "internalType": "address",
645
512
  "name": "activatedBy",
@@ -651,7 +518,14 @@
651
518
  "type": "bytes"
652
519
  }
653
520
  ],
654
- "name": "initialize",
521
+ "name": "initializeVersionable",
522
+ "outputs": [],
523
+ "stateMutability": "nonpayable",
524
+ "type": "function"
525
+ },
526
+ {
527
+ "inputs": [],
528
+ "name": "linkToRegisteredNftId",
655
529
  "outputs": [],
656
530
  "stateMutability": "nonpayable",
657
531
  "type": "function"
@@ -659,38 +533,31 @@
659
533
  {
660
534
  "inputs": [
661
535
  {
662
- "internalType": "Version",
663
- "name": "_version",
664
- "type": "uint24"
536
+ "internalType": "address",
537
+ "name": "productAddress",
538
+ "type": "address"
665
539
  }
666
540
  ],
667
- "name": "isInitialized",
541
+ "name": "register",
668
542
  "outputs": [
669
543
  {
670
- "internalType": "bool",
671
- "name": "",
672
- "type": "bool"
544
+ "internalType": "NftId",
545
+ "name": "productNftId",
546
+ "type": "uint96"
673
547
  }
674
548
  ],
675
- "stateMutability": "view",
676
- "type": "function"
677
- },
678
- {
679
- "inputs": [],
680
- "name": "linkToRegisteredNftId",
681
- "outputs": [],
682
549
  "stateMutability": "nonpayable",
683
550
  "type": "function"
684
551
  },
685
552
  {
686
553
  "inputs": [
687
554
  {
688
- "internalType": "NftId",
689
- "name": "policyNftId",
690
- "type": "uint96"
555
+ "internalType": "bytes4",
556
+ "name": "interfaceId",
557
+ "type": "bytes4"
691
558
  }
692
559
  ],
693
- "name": "revoke",
560
+ "name": "registerInterface",
694
561
  "outputs": [],
695
562
  "stateMutability": "nonpayable",
696
563
  "type": "function"
@@ -737,36 +604,6 @@
737
604
  "stateMutability": "nonpayable",
738
605
  "type": "function"
739
606
  },
740
- {
741
- "inputs": [
742
- {
743
- "internalType": "RiskId",
744
- "name": "riskId",
745
- "type": "bytes8"
746
- },
747
- {
748
- "components": [
749
- {
750
- "internalType": "NftId",
751
- "name": "productNftId",
752
- "type": "uint96"
753
- },
754
- {
755
- "internalType": "bytes",
756
- "name": "data",
757
- "type": "bytes"
758
- }
759
- ],
760
- "internalType": "struct IRisk.RiskInfo",
761
- "name": "info",
762
- "type": "tuple"
763
- }
764
- ],
765
- "name": "setRiskInfo",
766
- "outputs": [],
767
- "stateMutability": "nonpayable",
768
- "type": "function"
769
- },
770
607
  {
771
608
  "inputs": [
772
609
  {
@@ -789,22 +626,17 @@
789
626
  {
790
627
  "inputs": [
791
628
  {
792
- "internalType": "NftId",
793
- "name": "policyNftId",
794
- "type": "uint96"
795
- },
796
- {
797
- "internalType": "bool",
798
- "name": "requirePremiumPayment",
799
- "type": "bool"
629
+ "internalType": "RiskId",
630
+ "name": "riskId",
631
+ "type": "bytes8"
800
632
  },
801
633
  {
802
- "internalType": "Timestamp",
803
- "name": "activateAt",
804
- "type": "uint40"
634
+ "internalType": "bytes",
635
+ "name": "data",
636
+ "type": "bytes"
805
637
  }
806
638
  ],
807
- "name": "underwrite",
639
+ "name": "updateRisk",
808
640
  "outputs": [],
809
641
  "stateMutability": "nonpayable",
810
642
  "type": "function"
@@ -829,112 +661,42 @@
829
661
  },
830
662
  {
831
663
  "inputs": [
832
- {
833
- "internalType": "address",
834
- "name": "implementation",
835
- "type": "address"
836
- },
837
- {
838
- "internalType": "address",
839
- "name": "activatedBy",
840
- "type": "address"
841
- },
842
664
  {
843
665
  "internalType": "bytes",
844
666
  "name": "data",
845
667
  "type": "bytes"
846
668
  }
847
669
  ],
848
- "name": "upgrade",
670
+ "name": "upgradeVersionable",
849
671
  "outputs": [],
850
672
  "stateMutability": "nonpayable",
851
673
  "type": "function"
852
674
  }
853
675
  ],
854
- "bytecode": "0x60806040523480156200001157600080fd5b5060405162005151380380620051518339810160408190526200003491620005e8565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055828282600280546001600160a01b031916331790556200008f620000e5565b6200009c83838362000199565b505050620000b7637fc6295b60e01b620000c060201b60201c565b50505062000882565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620001365760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001965780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6000620001c760408051808201909152600e81526d50726f647563745365727669636560901b602082015290565b620001d16200024a565b604051602001620001e492919062000640565b60408051808303601f190181529190529050620002088484602860008686620002d7565b631b4612f160e31b60009081526020527ffc58a5a01198e68c5a5d0bcd463f9ab550fc4337b1df271aed6dbb33d25fef25805460ff1916600117905550505050565b600062000256620003a8565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015620002ac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002d291906200069a565b905090565b620002e3828762000430565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d0100000000000000000000000000861515021781559050600181016200036283826200076b565b506303fb044760e21b60009081526020527fb43e4f3791bfcdefa3a0fbe2a5555f8d6490b90e01de0ff40c66f18b49b562c5805460ff1916600117905550505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156200040a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002d2919062000837565b600280546001600160a01b0319166001600160a01b03841617905562000456816200045a565b5050565b6001546001600160a01b031615620004995760015460405163fcdbf2d960e01b81526001600160a01b0390911660048201526024015b60405180910390fd5b6001600160a01b038116620004c15760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003620004f95760405163fdeac91f60e01b81526001600160a01b038216600482015260240162000490565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632c1c764b60e11b60048201526301ffc9a790602401602060405180830381865afa92505050801562000576575060408051601f3d908101601f1916820190925262000573918101906200085e565b60015b620005a05760405163fdeac91f60e01b81526001600160a01b038216600482015260240162000490565b80620004565760405163fdeac91f60e01b81526001600160a01b038316600482015260240162000490565b80516001600160a01b0381168114620005e357600080fd5b919050565b600080600060608486031215620005fe57600080fd5b6200060984620005cb565b60208501519093506001600160601b03811681146200062757600080fd5b91506200063760408501620005cb565b90509250925092565b604081526000835180604084015260005b8181101562000670576020818701810151606086840101520162000651565b506000606082850101526060601f19601f83011684010191505060ff831660208301529392505050565b600060208284031215620006ad57600080fd5b815160ff81168114620006bf57600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620006f157607f821691505b6020821081036200071257634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200076657600081815260208120601f850160051c81016020861015620007415750805b601f850160051c820191505b8181101562000762578281556001016200074d565b5050505b505050565b81516001600160401b03811115620007875762000787620006c6565b6200079f81620007988454620006dc565b8462000718565b602080601f831160018114620007d75760008415620007be5750858301515b600019600386901b1c1916600185901b17855562000762565b600085815260208120601f198616915b828110156200080857888601518255948401946001909101908401620007e7565b5085821015620008275787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200084a57600080fd5b815162ffffff81168114620006bf57600080fd5b6000602082840312156200087157600080fd5b81518015158114620006bf57600080fd5b6148bf80620008926000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c8063630361f61161010f578063b3c65015116100a2578063c2c7498711610071578063c2c74987146105e6578063caf4e3d4146105f9578063cde749f414610601578063cf7a1d771461061b57600080fd5b8063b3c650151461058d578063b6b412ba146105ad578063b88da759146105c0578063bbfbbfba146105d357600080fd5b8063946dfcfe116100de578063946dfcfe146104eb5780639cdaa7f914610512578063a3f4df7e1461054d578063a745e3df1461057a57600080fd5b8063630361f614610491578063644c45e0146104a45780637cef4842146104d0578063893d20e8146104e357600080fd5b80631eff4b22116101875780634f421333116101565780634f421333146104335780635ab1bd53146104465780635fd1a5f51461046b578063603ccaad1461047e57600080fd5b80631eff4b22146102bf578063423eb9fa146102f45780634d459c90146103075780634d5e16a91461042057600080fd5b80630d8e6e2c116101c35780630d8e6e2c146102525780630fec111c1461026e578063138461e01461028457806317d7de7c1461028c57600080fd5b806301ffc9a7146101ea578063095e2b721461022c5780630aaba8e814610241575b600080fd5b6102176101f83660046136ce565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023f61023a366004613884565b61062e565b005b61023f61024f3660046138e8565b50565b61025a6106ad565b60405162ffffff9091168152602001610223565b610276610737565b6040516102239291906139ce565b61023f610878565b60408051808201909152600e81526d50726f647563745365727669636560901b60208201525b60405161022391906139f3565b6102e67f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b61023f610302366004613a06565b610a9a565b6103c3610315366004613aab565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915260008051602061486a83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610223565b61023f61042e366004613adb565b610b0f565b610217610441366004613aab565b610de2565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b6102e6610479366004613b14565b610e95565b61023f61048c3660046138e8565b610f9e565b61023f61049f366004613b44565b610ff0565b600154600160a01b90046001600160601b03165b6040516001600160601b039091168152602001610223565b61023f6104de366004613b9e565b6115c5565b610453611614565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102e6565b610525610520366004613bcc565b61172d565b604080519586526020860194909452928401919091526060830152608082015260a001610223565b6102b26040518060400160405280600e81526020016d50726f647563745365727669636560901b81525081565b61023f610588366004613c69565b61180b565b610595611965565b6040516001600160401b039091168152602001610223565b61023f6105bb366004613cfa565b611986565b61025a6105ce366004613d2f565b611a8a565b61023f6105e1366004613adb565b611adb565b6104b86105f4366004613d48565b611e65565b610453612026565b6106096120db565b60405160ff9091168152602001610223565b61023f610629366004613c69565b61215e565b60008061063b606e612266565b8151604051635c48084160e11b8152929450909250906001600160a01b0383169063b89010829061067490889085908990600401613de4565b600060405180830381600087803b15801561068e57600080fd5b505af11580156106a2573d6000803e3d6000fd5b505050505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561070e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107329190613e18565b905090565b61073f61357a565b606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610779600090565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016107c1611614565b6001600160a01b031681526020018260010180546107de90613e35565b80601f016020809104026020016040519081016040528092919081815260200182805461080a90613e35565b80156108575780601f1061082c57610100808354040283529160200191610857565b820191906000526020600020905b81548152906001019060200180831161083a57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156108da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108fe9190613e7f565b15610945576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b031661096e5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156109b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109db9190613e7f565b610a03576040516372657a5160e01b81526001600160a01b038216600482015260240161093c565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610a4d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a719190613ea7565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b6000610aa6606e612266565b60405163211f5cfd60e11b81529092506001600160a01b038316915063423eb9fa90610ad89086908690600401613ec4565b600060405180830381600087803b158015610af257600080fd5b505af1158015610b06573d6000803e3d6000fd5b50505050505050565b6000610b1b606e612266565b60405163bd7d9d8560e01b81526001600160601b0386166004820152909250600091506001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015610b6f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b979190810190613f6b565b61016081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610bf7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c1b9190613e7f565b610c675760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032303a414c52454144595f41435449564154454400604482015260640161093c565b64ffffffffff83166101608201819052610100820151604051631ded81af60e31b81526004810192909252602482015273__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af4158015610cd3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cf791906140bd565b64ffffffffff16610180820152604051621ebc3760e61b81526001600160a01b038316906307af0dc090610d3190879085906004016140da565b600060405180830381600087803b158015610d4b57600080fd5b505af1158015610d5f573d6000803e3d6000fd5b50505050816001600160a01b0316635d4345cc85610d7b606490565b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b158015610dc457600080fd5b505af1158015610dd8573d6000803e3d6000fd5b5050505050505050565b60008060008051602061486a83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610e6a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e8e919061422a565b1192915050565b6040516322f5db0f60e11b815260048101829052600090819073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__906345ebb61e90602401602060405180830381865af4158015610eea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f0e919061422a565b90506000610f1c8583612532565b604051632255341b60e11b81526004810182905290915073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__906344aa683690602401602060405180830381865af4158015610f6f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f93919061422a565b925050505b92915050565b60405162461bcd60e51b815260206004820152602160248201527f4552524f523a5052532d3233343a4e4f545f5945545f494d504c454d454e54456044820152601160fa1b606482015260840161093c565b600080610ffd606e612266565b815160405163bd7d9d8560e01b81526001600160601b0389166004820152929450909250906000906001600160a01b0384169063bd7d9d8590602401600060405180830381865afa158015611056573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261107e9190810190613f6b565b80519091506001600160601b038381169116146110dd5760405162461bcd60e51b815260206004820152601760248201527f504f4c4943595f50524f445543545f4d49534d41544348000000000000000000604482015260640161093c565b6111ed6001600160a01b0384166309648a9d73__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038c1660d26040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af4158015611161573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611185919061422a565b6040518263ffffffff1660e01b81526004016111a391815260200190565b602060405180830381865afa1580156111c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e4919061424e565b60ff16600a1490565b6112395760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032313a53544154455f4e4f545f4150504c49454400604482015260640161093c565b6112416135b8565b600061124b613657565b6000611257878661254e565b9296509094509250905061126e8784848e85612747565b91506001600160a01b038716635d4345cc8c60286040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b1580156112cb57600080fd5b505af11580156112df573d6000803e3d6000fd5b505050506112fe896112ef600090565b64ffffffffff90811691161190565b156114145764ffffffffff89166101608601819052610100860151604051631ded81af60e31b81526004810192909252602482015273__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af415801561136f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061139391906140bd565b64ffffffffff166101808601526001600160a01b038716635d4345cc8c60646040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b1580156113fb57600080fd5b505af115801561140f573d6000803e3d6000fd5b505050505b8915611465576000611431888a60000151878f8a60c001516127e2565b90508560c001518660e001818151611449919061426b565b90525060a08301805182919061146090839061426b565b905250505b604051621ebc3760e61b81526001600160a01b038816906307af0dc090611492908e9089906004016140da565b600060405180830381600087803b1580156114ac57600080fd5b505af11580156114c0573d6000803e3d6000fd5b5050604051637e8a1e3b60e11b81526001600160a01b038a16925063fd143c7691506114f2908690869060040161428c565b600060405180830381600087803b15801561150c57600080fd5b505af1158015611520573d6000803e3d6000fd5b505085516040516357f80bbf60e01b81526001600160601b0382166004820152909250600091506001600160a01b038a16906357f80bbf906024016040805180830381865afa158015611577573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061159b9190614337565b8051909150156115b6576115b6868e89876040015187612c2e565b50505050505050505050505050565b60006115d1606e612266565b604051633e77a42160e11b81526001600160c01b03198616600482015260ff851660248201529092506001600160a01b0383169150637cef484290604401610ad8565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611679573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061169d9190613e7f565b1561171d57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa1580156116f9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107329190614371565b506002546001600160a01b031690565b60008060008060008061173e612cfb565b90506000816001600160a01b0316635e78426b8d8f8e8e6040518563ffffffff1660e01b8152600401611774949392919061438e565b602060405180830381865afa158015611791573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117b5919061422a565b90506117c381838b8b612d1a565b929850909650945092506117d7868261426b565b96506117e3848661426b565b6117ed908861426b565b96506117f9838861426b565b96505050965096509650965096915050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c61182d6106ad565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af415801561186d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061189191906143c9565b60008051602061484a8339815191528054600160401b900460ff16806118c4575080546001600160401b03808416911610155b156118e25760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561190d8585613215565b61191683613450565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b600061073260008051602061484a833981519152546001600160401b031690565b600080611993606e612266565b815160405163f2b246c360e01b81526001600160601b0382166004820152929450909250906000906001600160a01b0384169063f2b246c3906024016101e060405180830381865afa1580156119ed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a119190614422565b60608101879052608081018690526040516306a5298b60e01b81529091506001600160a01b038416906306a5298b90611a5090859085906004016144e1565b600060405180830381600087803b158015611a6a57600080fd5b505af1158015611a7e573d6000803e3d6000fd5b50505050505050505050565b600060008051602061486a8339815191526001018281548110611aaf57611aaf6145c8565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600080611ae8606e612266565b60405163bd7d9d8560e01b81526001600160601b038716600482015291935091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015611b3d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b659190810190613f6b565b835160405163f2b246c360e01b81526001600160601b0390911660048201529091506000906001600160a01b0384169063f2b246c3906024016101e060405180830381865afa158015611bbc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611be09190614422565b60c0830151855191925090611bf9908590848a856127e2565b50808360e001818151611c0c919061426b565b905250611c1a8660006112ef565b15611dfd5761016083015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015611c7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ca09190613e7f565b611cec5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3033303a414c52454144595f41435449564154454400604482015260640161093c565b64ffffffffff86166101608401819052610100840151604051631ded81af60e31b81526004810192909252602482015273__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af4158015611d58573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d7c91906140bd565b64ffffffffff166101808401526001600160a01b038416635d4345cc8860646040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b158015611de457600080fd5b505af1158015611df8573d6000803e3d6000fd5b505050505b604051621ebc3760e61b81526001600160a01b038516906307af0dc090611e2a908a9087906004016140da565b600060405180830381600087803b158015611e4457600080fd5b505af1158015611e58573d6000803e3d6000fd5b5050505050505050505050565b60008080611e73606e612266565b91509150611e7f612026565b6001600160a01b0316635c992fed6040518060e00160405280611ea0600090565b6001600160601b039081168252865116602082015260400160d260ff16815260200160001515815260200160006001600160a01b031681526020018d6001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b8152600401611f1991906145de565b6020604051808303816000875af1158015611f38573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f5c9190613ea7565b92506000611f6e8a8a8a8a8a8a61172d565b50508551604051630d9b998d60e01b81526001600160601b03808a16600483015291821660248201526001600160c01b0319808b1660448301528f166064820152608481018e905260a4810185905260c481018d9052908a1660e4820152929350506001600160a01b03841691630d9b998d915061010401600060405180830381600087803b15801561200057600080fd5b505af1158015612014573d6000803e3d6000fd5b50505050505050979650505050505050565b60008061203b6001546001600160a01b031690565b6001600160a01b031663a3bcd81d6120516120db565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa1580156120b7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f989190614371565b60006120e56106ad565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801561213a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610732919061424e565b60008051602061484a8339815191528054600160401b810460ff1615906001600160401b03166000811580156121915750825b90506000826001600160401b031660011480156121ad5750303b155b9050811580156121bb575080155b156121d95760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561220357845460ff60401b1916600160401b1785555b61220d8888613215565b6122178787613450565b8315610dd857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15050505050505050565b61226e61357a565b6000806122836001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa1580156122c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122ed9190613ea7565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015612348573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061236c9190613e7f565b6123b85760405162461bcd60e51b815260206004820152601760248201527f4552524f525f434f4d504f4e454e545f554e4b4e4f574e000000000000000000604482015260640161093c565b6001546001600160a01b03166040516305247a1760e51b81526001600160601b03831660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015612413573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261243b91908101906145f1565b925061245183604001518560ff90811691161490565b6124935760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b604482015260640161093c565b60006124a76001546001600160a01b031690565b60208501516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156124fc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261252491908101906145f1565b608001519395939450505050565b60006125478383670de0b6b3a7640000613458565b9392505050565b6125566135b8565b6000612560613657565b835160405163f2b246c360e01b81526001600160601b0390911660048201526000906001600160a01b0387169063f2b246c3906024016101e060405180830381865afa1580156125b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125d89190614422565b6020860151604051634793b4ab60e01b81526001600160601b038216600482015291955093506001600160a01b03871690634793b4ab90602401600060405180830381865afa15801561262f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261265791908101906146c3565b805185519193506001600160601b039081169116146126b15760405162461bcd60e51b81526020600482015260166024820152750a09e989286b2be84aa9c88988abe9a92a69a82a886960531b604482015260640161093c565b83516040516357f80bbf60e01b81526001600160601b03821660048201526000906001600160a01b038916906357f80bbf906024016040805180830381865afa158015612702573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127269190614337565b905061273a81602001518860a00151610e95565b9250505092959194509250565b61274f613657565b8184608001818151612761919061426b565b90525060405163e1f64d7760e01b81526001600160601b03808716600483015284166024820152604481018390526001600160a01b0387169063e1f64d7790606401600060405180830381600087803b1580156127bd57600080fd5b505af11580156127d1573d6000803e3d6000fd5b505050508390505b95945050505050565b600081156127d95760405163a310e2a360e01b81526001600160601b03861660048201526000906001600160a01b0388169063a310e2a390602401602060405180830381865afa15801561283a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061285e9190614371565b905060006128746001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03871660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156128c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128e79190614371565b8651604051630d48c43b60e11b81526001600160601b0390911660048201529091506000906001600160a01b038a1690631a91887690602401602060405180830381865afa15801561293d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129619190614371565b60608801516040516346f0526160e11b81528796509192509073__$a23651848365a6a5ca15f07b4331037f48$__90638de0a4c2906129a4908490600401614794565b602060405180830381865af41580156129c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129e59190613e7f565b15612a59576040516317d5759960e31b81526001600160a01b03848116600483015283811660248301526044820188905285169063beabacc890606401600060405180830381600087803b158015612a3c57600080fd5b505af1158015612a50573d6000803e3d6000fd5b50505050612c21565b6000808b6001600160a01b031663f274e87d89856040518363ffffffff1660e01b8152600401612a8a9291906147ab565b6040805180830381865afa158015612aa6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612aca91906147c9565b604051630d48c43b60e11b81526001600160601b038e16600482015291935091506000906001600160a01b038e1690631a91887690602401602060405180830381865afa158015612b1f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b439190614371565b6040516317d5759960e31b81526001600160a01b0388811660048301528083166024830152604482018690529192509088169063beabacc890606401600060405180830381600087803b158015612b9957600080fd5b505af1158015612bad573d6000803e3d6000fd5b50506040516317d5759960e31b81526001600160a01b0389811660048301528881166024830152604482018690528a16925063beabacc89150606401600060405180830381600087803b158015612c0357600080fd5b505af1158015612c17573d6000803e3d6000fd5b5093995050505050505b5050505095945050505050565b6000612c426001546001600160a01b031690565b86516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015612c94573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612cbc91908101906145f1565b608001516101208501516040516332f7fe0d60e11b815291925082916001600160a01b038316916365effc1a91611e2a918a91899089906004016147ed565b6000612d0561357a565b612d0f606e612266565b506080015192915050565b6000806000806000876001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015612d60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d849190614371565b90506000816001600160a01b031663f2b246c38a6001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612dd5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612df99190613ea7565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024016101e060405180830381865afa158015612e3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e629190614422565b604051634793b4ab60e01b81526001600160601b038a1660048201529091506000906001600160a01b03841690634793b4ab90602401600060405180830381865afa158015612eb5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612edd91908101906146c3565b805183519192506001600160601b03908116911614612f495760405162461bcd60e51b815260206004820152602260248201527f4552524f523a5052532d3033353a42554e444c455f504f4f4c5f4d49534d4154604482015261086960f31b606482015260840161093c565b606082015160405163012ebd8360e21b8152815160048201526020909101516024820152604481018c905273__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015612faf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fd391906147c9565b5060a083015160405163012ebd8360e21b8152815160048201526020909101516024820152604481018d905290975073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af415801561303d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061306191906147c9565b5060208281015160405163012ebd8360e21b8152815160048201529101516024820152604481018d905290965073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af41580156130c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130ed91906147c9565b50945060006131046001546001600160a01b031690565b60208401516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613159573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261318191908101906145f1565b6080810151604051637be9cef560e11b81526001600160c01b03198c166004820152602481018f9052919250906001600160a01b0382169063f7d39dea90604401602060405180830381865afa1580156131df573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613203919061422a565b95505050505050945094509450949050565b61321d613541565b60008051602061486a833981519152600061324d60008051602061484a833981519152546001600160401b031690565b905060006132596106ad565b9050816001600160401b03166001036132865760028301805462ffffff191662ffffff83161790556132d4565b600283015462ffffff908116908216116132d45760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b604482015260640161093c565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089169284019290925290861690820152606081016133484290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf68906119569083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101e5613541565b60008080600019858709858702925082811083820303915050806000036134925783828161348857613488614833565b0492505050612547565b8084116134d95760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b604482015260640161093c565b600084868809600260036001881981018916988990049182028318808302840302808302840302808302840302808302840302808302840302918202909203026000889003889004909101858311909403939093029303949094049190911702949350505050565b60008051602061484a83398151915254600160401b900460ff1661357857604051631afcd79f60e31b815260040160405180910390fd5b565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6040805161012081018252600080825260208083018290528284018290528351808501855282815280820183905260608401528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e084015283518085019094528184528301529061010082015290565b60405180610100016040528060006001600160601b03168152602001613690604051806040016040528060008152602001600081525090565b815260200160608152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b6000602082840312156136e057600080fd5b81356001600160e01b03198116811461254757600080fd5b6001600160c01b03198116811461024f57600080fd5b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b03811182821017156137465761374661370e565b60405290565b6040516101c081016001600160401b03811182821017156137465761374661370e565b60405161012081016001600160401b03811182821017156137465761374661370e565b60405160e081016001600160401b03811182821017156137465761374661370e565b60405161010081016001600160401b03811182821017156137465761374661370e565b604051601f8201601f191681016001600160401b03811182821017156137ff576137ff61370e565b604052919050565b60006001600160401b038211156138205761382061370e565b50601f01601f191660200190565b600082601f83011261383f57600080fd5b813561385261384d82613807565b6137d7565b81815284602083860101111561386757600080fd5b816020850160208301376000918101602001919091529392505050565b6000806040838503121561389757600080fd5b82356138a2816136f8565b915060208301356001600160401b038111156138bd57600080fd5b6138c98582860161382e565b9150509250929050565b6001600160601b038116811461024f57600080fd5b6000602082840312156138fa57600080fd5b8135612547816138d3565b60005b83811015613920578181015183820152602001613908565b50506000910152565b60008151808452613941816020860160208601613905565b601f01601f19169290920160200192915050565b60006001600160601b038083511684528060208401511660208501525060ff6040830151166040840152606082015115156060840152608082015160018060a01b0380821660808601528060a08501511660a0860152505060c082015160e060c08501526139c660e0850182613929565b949350505050565b6040815260006139e16040830185613955565b82810360208401526127d98185613929565b6020815260006125476020830184613929565b60008060408385031215613a1957600080fd5b8235613a24816136f8565b915060208301356001600160401b0380821115613a4057600080fd5b9084019060408287031215613a5457600080fd5b613a5c613724565b8235613a67816138d3565b8152602083013582811115613a7b57600080fd5b613a878882860161382e565b6020830152508093505050509250929050565b62ffffff8116811461024f57600080fd5b600060208284031215613abd57600080fd5b813561254781613a9a565b64ffffffffff8116811461024f57600080fd5b60008060408385031215613aee57600080fd5b8235613af9816138d3565b91506020830135613b0981613ac8565b809150509250929050565b60008060408385031215613b2757600080fd5b50508035926020909101359150565b801515811461024f57600080fd5b600080600060608486031215613b5957600080fd5b8335613b64816138d3565b92506020840135613b7481613b36565b91506040840135613b8481613ac8565b809150509250925092565b60ff8116811461024f57600080fd5b60008060408385031215613bb157600080fd5b8235613bbc816136f8565b91506020830135613b0981613b8f565b60008060008060008060c08789031215613be557600080fd5b8635613bf0816136f8565b9550602087013594506040870135935060608701356001600160401b03811115613c1957600080fd5b613c2589828a0161382e565b9350506080870135613c36816138d3565b915060a0870135613c46816136f8565b809150509295509295509295565b6001600160a01b038116811461024f57600080fd5b600080600060608486031215613c7e57600080fd5b8335613c8981613c54565b92506020840135613c9981613c54565b915060408401356001600160401b03811115613cb457600080fd5b613cc08682870161382e565b9150509250925092565b600060408284031215613cdc57600080fd5b613ce4613724565b9050813581526020820135602082015292915050565b60008060808385031215613d0d57600080fd5b613d178484613cca565b9150613d268460408501613cca565b90509250929050565b600060208284031215613d4157600080fd5b5035919050565b600080600080600080600060e0888a031215613d6357600080fd5b8735613d6e81613c54565b96506020880135613d7e816136f8565b9550604088013594506060880135935060808801356001600160401b03811115613da757600080fd5b613db38a828b0161382e565b93505060a0880135613dc4816138d3565b915060c0880135613dd4816136f8565b8091505092959891949750929550565b6001600160401b0360c01b841681526001600160601b03831660208201526060604082015260006127d96060830184613929565b600060208284031215613e2a57600080fd5b815161254781613a9a565b600181811c90821680613e4957607f821691505b602082108103613e6957634e487b7160e01b600052602260045260246000fd5b50919050565b8051613e7a81613b36565b919050565b600060208284031215613e9157600080fd5b815161254781613b36565b8051613e7a816138d3565b600060208284031215613eb957600080fd5b8151612547816138d3565b6001600160401b0360c01b83168152604060208201526001600160601b03825116604082015260006020830151604060608401526127d96080840182613929565b8051613e7a816136f8565b8051613e7a81613c54565b600082601f830112613f2c57600080fd5b8151613f3a61384d82613807565b818152846020838601011115613f4f57600080fd5b6139c6826020830160208701613905565b8051613e7a81613ac8565b600060208284031215613f7d57600080fd5b81516001600160401b0380821115613f9457600080fd5b908301906101c08286031215613fa957600080fd5b613fb161374c565b613fba83613e9c565b8152613fc860208401613e9c565b6020820152613fd960408401613f05565b6040820152613fea60608401613f10565b6060820152613ffb60808401613f05565b608082015260a083015160a082015260c083015160c082015260e083015160e0820152610100808401518183015250610120808401518381111561403e57600080fd5b61404a88828701613f1b565b828401525050610140808401518381111561406457600080fd5b61407088828701613f1b565b8284015250506101609150614086828401613f60565b82820152610180915061409a828401613f60565b828201526101a091506140ae828401613f60565b91810191909152949350505050565b6000602082840312156140cf57600080fd5b815161254781613ac8565b6001600160601b0383168152604060208201526141036040820183516001600160601b03169052565b6000602083015161411f60608401826001600160601b03169052565b5060408301516001600160c01b0319811660808401525060608301516001600160a01b03811660a08401525060808301516001600160c01b0319811660c08401525060a083015160e083015260c0830151610100818185015260e08501519150610120828186015281860151925061014091508282860152808601519250506101c061016081818701526141b7610200870185613929565b9350828701519250610180603f1987860301818801526141d78585613929565b94508188015193506101a091506141f68288018564ffffffffff169052565b87015164ffffffffff811683880152925086015164ffffffffff81166101e087015291506142219050565b50949350505050565b60006020828403121561423c57600080fd5b5051919050565b8051613e7a81613b8f565b60006020828403121561426057600080fd5b815161254781613b8f565b80820180821115610f9857634e487b7160e01b600052601160045260246000fd5b60006001600160601b038085168352604060208401528084511660408401525060208301516142c8606084018280518252602090810151910152565b5060408301516101208060a08501526142e5610160850183613929565b9150606085015160c0850152608085015160e085015260a085015161010085015260c085015161431d8286018264ffffffffff169052565b505060e084015164ffffffffff8116610140850152614221565b60006040828403121561434957600080fd5b614351613724565b825161435c81613b36565b81526020928301519281019290925250919050565b60006020828403121561438357600080fd5b815161254781613c54565b8481526001600160401b0360c01b841660208201528260408201526080606082015260006143bf6080830184613929565b9695505050505050565b6000602082840312156143db57600080fd5b81516001600160401b038116811461254757600080fd5b60006040828403121561440457600080fd5b61440c613724565b9050815181526020820151602082015292915050565b60006101e0828403121561443557600080fd5b61443d61376f565b61444683613e9c565b815261445460208401613e9c565b602082015261446560408401613f10565b604082015261447784606085016143f2565b60608201526144898460a085016143f2565b608082015261449b8460e085016143f2565b60a08201526144ae8461012085016143f2565b60c08201526144c18461016085016143f2565b60e08201526144d4846101a085016143f2565b6101008201529392505050565b6001600160601b03838116825282511660208083019190915282015161020082019061451860408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a083015161010061457a8185018380518252602090810151910152565b60c0850151805161014086015260209081015161016086015260e086015180516101808701528101516101a086015294015180516101c0850152909301516101e09092019190915292915050565b634e487b7160e01b600052603260045260246000fd5b6020815260006125476020830184613955565b60006020828403121561460357600080fd5b81516001600160401b038082111561461a57600080fd5b9083019060e0828603121561462e57600080fd5b614636613792565b61463f83613e9c565b815261464d60208401613e9c565b602082015261465e60408401614243565b604082015261466f60608401613e6f565b606082015261468060808401613f10565b608082015261469160a08401613f10565b60a082015260c0830151828111156146a857600080fd5b6146b487828601613f1b565b60c08301525095945050505050565b6000602082840312156146d557600080fd5b81516001600160401b03808211156146ec57600080fd5b90830190610120828603121561470157600080fd5b6147096137b4565b61471283613e9c565b815261472186602085016143f2565b602082015260608301518281111561473857600080fd5b61474487828601613f1b565b6040830152506080830151606082015260a0830151608082015260c083015160a082015261477460e08401613f60565b60c08201526147866101008401613f60565b60e082015295945050505050565b815181526020808301519082015260408101610f98565b82815260608101612547602083018480518252602090810151910152565b600080604083850312156147dc57600080fd5b505080516020909101519092909150565b6001600160601b038516815260806020820152600061480f6080830186613929565b82810360408401526148218186613929565b91505082606083015295945050505050565b634e487b7160e01b600052601260045260246000fdfef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a264697066735822122011af7182d01266421c1862bcc076595a869d9faaf9f4a1131bc2c3fe489655e564736f6c63430008140033",
855
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101e55760003560e01c8063630361f61161010f578063b3c65015116100a2578063c2c7498711610071578063c2c74987146105e6578063caf4e3d4146105f9578063cde749f414610601578063cf7a1d771461061b57600080fd5b8063b3c650151461058d578063b6b412ba146105ad578063b88da759146105c0578063bbfbbfba146105d357600080fd5b8063946dfcfe116100de578063946dfcfe146104eb5780639cdaa7f914610512578063a3f4df7e1461054d578063a745e3df1461057a57600080fd5b8063630361f614610491578063644c45e0146104a45780637cef4842146104d0578063893d20e8146104e357600080fd5b80631eff4b22116101875780634f421333116101565780634f421333146104335780635ab1bd53146104465780635fd1a5f51461046b578063603ccaad1461047e57600080fd5b80631eff4b22146102bf578063423eb9fa146102f45780634d459c90146103075780634d5e16a91461042057600080fd5b80630d8e6e2c116101c35780630d8e6e2c146102525780630fec111c1461026e578063138461e01461028457806317d7de7c1461028c57600080fd5b806301ffc9a7146101ea578063095e2b721461022c5780630aaba8e814610241575b600080fd5b6102176101f83660046136ce565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023f61023a366004613884565b61062e565b005b61023f61024f3660046138e8565b50565b61025a6106ad565b60405162ffffff9091168152602001610223565b610276610737565b6040516102239291906139ce565b61023f610878565b60408051808201909152600e81526d50726f647563745365727669636560901b60208201525b60405161022391906139f3565b6102e67f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b61023f610302366004613a06565b610a9a565b6103c3610315366004613aab565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915260008051602061486a83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610223565b61023f61042e366004613adb565b610b0f565b610217610441366004613aab565b610de2565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b6102e6610479366004613b14565b610e95565b61023f61048c3660046138e8565b610f9e565b61023f61049f366004613b44565b610ff0565b600154600160a01b90046001600160601b03165b6040516001600160601b039091168152602001610223565b61023f6104de366004613b9e565b6115c5565b610453611614565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102e6565b610525610520366004613bcc565b61172d565b604080519586526020860194909452928401919091526060830152608082015260a001610223565b6102b26040518060400160405280600e81526020016d50726f647563745365727669636560901b81525081565b61023f610588366004613c69565b61180b565b610595611965565b6040516001600160401b039091168152602001610223565b61023f6105bb366004613cfa565b611986565b61025a6105ce366004613d2f565b611a8a565b61023f6105e1366004613adb565b611adb565b6104b86105f4366004613d48565b611e65565b610453612026565b6106096120db565b60405160ff9091168152602001610223565b61023f610629366004613c69565b61215e565b60008061063b606e612266565b8151604051635c48084160e11b8152929450909250906001600160a01b0383169063b89010829061067490889085908990600401613de4565b600060405180830381600087803b15801561068e57600080fd5b505af11580156106a2573d6000803e3d6000fd5b505050505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561070e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107329190613e18565b905090565b61073f61357a565b606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610779600090565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016107c1611614565b6001600160a01b031681526020018260010180546107de90613e35565b80601f016020809104026020016040519081016040528092919081815260200182805461080a90613e35565b80156108575780601f1061082c57610100808354040283529160200191610857565b820191906000526020600020905b81548152906001019060200180831161083a57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156108da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108fe9190613e7f565b15610945576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b031661096e5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156109b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109db9190613e7f565b610a03576040516372657a5160e01b81526001600160a01b038216600482015260240161093c565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610a4d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a719190613ea7565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b6000610aa6606e612266565b60405163211f5cfd60e11b81529092506001600160a01b038316915063423eb9fa90610ad89086908690600401613ec4565b600060405180830381600087803b158015610af257600080fd5b505af1158015610b06573d6000803e3d6000fd5b50505050505050565b6000610b1b606e612266565b60405163bd7d9d8560e01b81526001600160601b0386166004820152909250600091506001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015610b6f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b979190810190613f6b565b61016081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610bf7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c1b9190613e7f565b610c675760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032303a414c52454144595f41435449564154454400604482015260640161093c565b64ffffffffff83166101608201819052610100820151604051631ded81af60e31b81526004810192909252602482015273__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af4158015610cd3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cf791906140bd565b64ffffffffff16610180820152604051621ebc3760e61b81526001600160a01b038316906307af0dc090610d3190879085906004016140da565b600060405180830381600087803b158015610d4b57600080fd5b505af1158015610d5f573d6000803e3d6000fd5b50505050816001600160a01b0316635d4345cc85610d7b606490565b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b158015610dc457600080fd5b505af1158015610dd8573d6000803e3d6000fd5b5050505050505050565b60008060008051602061486a83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610e6a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e8e919061422a565b1192915050565b6040516322f5db0f60e11b815260048101829052600090819073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__906345ebb61e90602401602060405180830381865af4158015610eea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f0e919061422a565b90506000610f1c8583612532565b604051632255341b60e11b81526004810182905290915073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__906344aa683690602401602060405180830381865af4158015610f6f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f93919061422a565b925050505b92915050565b60405162461bcd60e51b815260206004820152602160248201527f4552524f523a5052532d3233343a4e4f545f5945545f494d504c454d454e54456044820152601160fa1b606482015260840161093c565b600080610ffd606e612266565b815160405163bd7d9d8560e01b81526001600160601b0389166004820152929450909250906000906001600160a01b0384169063bd7d9d8590602401600060405180830381865afa158015611056573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261107e9190810190613f6b565b80519091506001600160601b038381169116146110dd5760405162461bcd60e51b815260206004820152601760248201527f504f4c4943595f50524f445543545f4d49534d41544348000000000000000000604482015260640161093c565b6111ed6001600160a01b0384166309648a9d73__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038c1660d26040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af4158015611161573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611185919061422a565b6040518263ffffffff1660e01b81526004016111a391815260200190565b602060405180830381865afa1580156111c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e4919061424e565b60ff16600a1490565b6112395760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032313a53544154455f4e4f545f4150504c49454400604482015260640161093c565b6112416135b8565b600061124b613657565b6000611257878661254e565b9296509094509250905061126e8784848e85612747565b91506001600160a01b038716635d4345cc8c60286040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b1580156112cb57600080fd5b505af11580156112df573d6000803e3d6000fd5b505050506112fe896112ef600090565b64ffffffffff90811691161190565b156114145764ffffffffff89166101608601819052610100860151604051631ded81af60e31b81526004810192909252602482015273__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af415801561136f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061139391906140bd565b64ffffffffff166101808601526001600160a01b038716635d4345cc8c60646040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b1580156113fb57600080fd5b505af115801561140f573d6000803e3d6000fd5b505050505b8915611465576000611431888a60000151878f8a60c001516127e2565b90508560c001518660e001818151611449919061426b565b90525060a08301805182919061146090839061426b565b905250505b604051621ebc3760e61b81526001600160a01b038816906307af0dc090611492908e9089906004016140da565b600060405180830381600087803b1580156114ac57600080fd5b505af11580156114c0573d6000803e3d6000fd5b5050604051637e8a1e3b60e11b81526001600160a01b038a16925063fd143c7691506114f2908690869060040161428c565b600060405180830381600087803b15801561150c57600080fd5b505af1158015611520573d6000803e3d6000fd5b505085516040516357f80bbf60e01b81526001600160601b0382166004820152909250600091506001600160a01b038a16906357f80bbf906024016040805180830381865afa158015611577573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061159b9190614337565b8051909150156115b6576115b6868e89876040015187612c2e565b50505050505050505050505050565b60006115d1606e612266565b604051633e77a42160e11b81526001600160c01b03198616600482015260ff851660248201529092506001600160a01b0383169150637cef484290604401610ad8565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611679573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061169d9190613e7f565b1561171d57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa1580156116f9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107329190614371565b506002546001600160a01b031690565b60008060008060008061173e612cfb565b90506000816001600160a01b0316635e78426b8d8f8e8e6040518563ffffffff1660e01b8152600401611774949392919061438e565b602060405180830381865afa158015611791573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117b5919061422a565b90506117c381838b8b612d1a565b929850909650945092506117d7868261426b565b96506117e3848661426b565b6117ed908861426b565b96506117f9838861426b565b96505050965096509650965096915050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c61182d6106ad565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af415801561186d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061189191906143c9565b60008051602061484a8339815191528054600160401b900460ff16806118c4575080546001600160401b03808416911610155b156118e25760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561190d8585613215565b61191683613450565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b600061073260008051602061484a833981519152546001600160401b031690565b600080611993606e612266565b815160405163f2b246c360e01b81526001600160601b0382166004820152929450909250906000906001600160a01b0384169063f2b246c3906024016101e060405180830381865afa1580156119ed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a119190614422565b60608101879052608081018690526040516306a5298b60e01b81529091506001600160a01b038416906306a5298b90611a5090859085906004016144e1565b600060405180830381600087803b158015611a6a57600080fd5b505af1158015611a7e573d6000803e3d6000fd5b50505050505050505050565b600060008051602061486a8339815191526001018281548110611aaf57611aaf6145c8565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600080611ae8606e612266565b60405163bd7d9d8560e01b81526001600160601b038716600482015291935091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015611b3d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b659190810190613f6b565b835160405163f2b246c360e01b81526001600160601b0390911660048201529091506000906001600160a01b0384169063f2b246c3906024016101e060405180830381865afa158015611bbc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611be09190614422565b60c0830151855191925090611bf9908590848a856127e2565b50808360e001818151611c0c919061426b565b905250611c1a8660006112ef565b15611dfd5761016083015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015611c7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ca09190613e7f565b611cec5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3033303a414c52454144595f41435449564154454400604482015260640161093c565b64ffffffffff86166101608401819052610100840151604051631ded81af60e31b81526004810192909252602482015273__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af4158015611d58573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d7c91906140bd565b64ffffffffff166101808401526001600160a01b038416635d4345cc8860646040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b158015611de457600080fd5b505af1158015611df8573d6000803e3d6000fd5b505050505b604051621ebc3760e61b81526001600160a01b038516906307af0dc090611e2a908a9087906004016140da565b600060405180830381600087803b158015611e4457600080fd5b505af1158015611e58573d6000803e3d6000fd5b5050505050505050505050565b60008080611e73606e612266565b91509150611e7f612026565b6001600160a01b0316635c992fed6040518060e00160405280611ea0600090565b6001600160601b039081168252865116602082015260400160d260ff16815260200160001515815260200160006001600160a01b031681526020018d6001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b8152600401611f1991906145de565b6020604051808303816000875af1158015611f38573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f5c9190613ea7565b92506000611f6e8a8a8a8a8a8a61172d565b50508551604051630d9b998d60e01b81526001600160601b03808a16600483015291821660248201526001600160c01b0319808b1660448301528f166064820152608481018e905260a4810185905260c481018d9052908a1660e4820152929350506001600160a01b03841691630d9b998d915061010401600060405180830381600087803b15801561200057600080fd5b505af1158015612014573d6000803e3d6000fd5b50505050505050979650505050505050565b60008061203b6001546001600160a01b031690565b6001600160a01b031663a3bcd81d6120516120db565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa1580156120b7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f989190614371565b60006120e56106ad565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801561213a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610732919061424e565b60008051602061484a8339815191528054600160401b810460ff1615906001600160401b03166000811580156121915750825b90506000826001600160401b031660011480156121ad5750303b155b9050811580156121bb575080155b156121d95760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561220357845460ff60401b1916600160401b1785555b61220d8888613215565b6122178787613450565b8315610dd857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15050505050505050565b61226e61357a565b6000806122836001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa1580156122c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122ed9190613ea7565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015612348573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061236c9190613e7f565b6123b85760405162461bcd60e51b815260206004820152601760248201527f4552524f525f434f4d504f4e454e545f554e4b4e4f574e000000000000000000604482015260640161093c565b6001546001600160a01b03166040516305247a1760e51b81526001600160601b03831660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015612413573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261243b91908101906145f1565b925061245183604001518560ff90811691161490565b6124935760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b604482015260640161093c565b60006124a76001546001600160a01b031690565b60208501516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156124fc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261252491908101906145f1565b608001519395939450505050565b60006125478383670de0b6b3a7640000613458565b9392505050565b6125566135b8565b6000612560613657565b835160405163f2b246c360e01b81526001600160601b0390911660048201526000906001600160a01b0387169063f2b246c3906024016101e060405180830381865afa1580156125b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125d89190614422565b6020860151604051634793b4ab60e01b81526001600160601b038216600482015291955093506001600160a01b03871690634793b4ab90602401600060405180830381865afa15801561262f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261265791908101906146c3565b805185519193506001600160601b039081169116146126b15760405162461bcd60e51b81526020600482015260166024820152750a09e989286b2be84aa9c88988abe9a92a69a82a886960531b604482015260640161093c565b83516040516357f80bbf60e01b81526001600160601b03821660048201526000906001600160a01b038916906357f80bbf906024016040805180830381865afa158015612702573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127269190614337565b905061273a81602001518860a00151610e95565b9250505092959194509250565b61274f613657565b8184608001818151612761919061426b565b90525060405163e1f64d7760e01b81526001600160601b03808716600483015284166024820152604481018390526001600160a01b0387169063e1f64d7790606401600060405180830381600087803b1580156127bd57600080fd5b505af11580156127d1573d6000803e3d6000fd5b505050508390505b95945050505050565b600081156127d95760405163a310e2a360e01b81526001600160601b03861660048201526000906001600160a01b0388169063a310e2a390602401602060405180830381865afa15801561283a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061285e9190614371565b905060006128746001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03871660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156128c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128e79190614371565b8651604051630d48c43b60e11b81526001600160601b0390911660048201529091506000906001600160a01b038a1690631a91887690602401602060405180830381865afa15801561293d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129619190614371565b60608801516040516346f0526160e11b81528796509192509073__$a23651848365a6a5ca15f07b4331037f48$__90638de0a4c2906129a4908490600401614794565b602060405180830381865af41580156129c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129e59190613e7f565b15612a59576040516317d5759960e31b81526001600160a01b03848116600483015283811660248301526044820188905285169063beabacc890606401600060405180830381600087803b158015612a3c57600080fd5b505af1158015612a50573d6000803e3d6000fd5b50505050612c21565b6000808b6001600160a01b031663f274e87d89856040518363ffffffff1660e01b8152600401612a8a9291906147ab565b6040805180830381865afa158015612aa6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612aca91906147c9565b604051630d48c43b60e11b81526001600160601b038e16600482015291935091506000906001600160a01b038e1690631a91887690602401602060405180830381865afa158015612b1f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b439190614371565b6040516317d5759960e31b81526001600160a01b0388811660048301528083166024830152604482018690529192509088169063beabacc890606401600060405180830381600087803b158015612b9957600080fd5b505af1158015612bad573d6000803e3d6000fd5b50506040516317d5759960e31b81526001600160a01b0389811660048301528881166024830152604482018690528a16925063beabacc89150606401600060405180830381600087803b158015612c0357600080fd5b505af1158015612c17573d6000803e3d6000fd5b5093995050505050505b5050505095945050505050565b6000612c426001546001600160a01b031690565b86516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015612c94573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612cbc91908101906145f1565b608001516101208501516040516332f7fe0d60e11b815291925082916001600160a01b038316916365effc1a91611e2a918a91899089906004016147ed565b6000612d0561357a565b612d0f606e612266565b506080015192915050565b6000806000806000876001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015612d60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d849190614371565b90506000816001600160a01b031663f2b246c38a6001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612dd5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612df99190613ea7565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024016101e060405180830381865afa158015612e3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e629190614422565b604051634793b4ab60e01b81526001600160601b038a1660048201529091506000906001600160a01b03841690634793b4ab90602401600060405180830381865afa158015612eb5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612edd91908101906146c3565b805183519192506001600160601b03908116911614612f495760405162461bcd60e51b815260206004820152602260248201527f4552524f523a5052532d3033353a42554e444c455f504f4f4c5f4d49534d4154604482015261086960f31b606482015260840161093c565b606082015160405163012ebd8360e21b8152815160048201526020909101516024820152604481018c905273__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015612faf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fd391906147c9565b5060a083015160405163012ebd8360e21b8152815160048201526020909101516024820152604481018d905290975073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af415801561303d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061306191906147c9565b5060208281015160405163012ebd8360e21b8152815160048201529101516024820152604481018d905290965073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af41580156130c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130ed91906147c9565b50945060006131046001546001600160a01b031690565b60208401516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613159573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261318191908101906145f1565b6080810151604051637be9cef560e11b81526001600160c01b03198c166004820152602481018f9052919250906001600160a01b0382169063f7d39dea90604401602060405180830381865afa1580156131df573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613203919061422a565b95505050505050945094509450949050565b61321d613541565b60008051602061486a833981519152600061324d60008051602061484a833981519152546001600160401b031690565b905060006132596106ad565b9050816001600160401b03166001036132865760028301805462ffffff191662ffffff83161790556132d4565b600283015462ffffff908116908216116132d45760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b604482015260640161093c565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089169284019290925290861690820152606081016133484290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf68906119569083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101e5613541565b60008080600019858709858702925082811083820303915050806000036134925783828161348857613488614833565b0492505050612547565b8084116134d95760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b604482015260640161093c565b600084868809600260036001881981018916988990049182028318808302840302808302840302808302840302808302840302808302840302918202909203026000889003889004909101858311909403939093029303949094049190911702949350505050565b60008051602061484a83398151915254600160401b900460ff1661357857604051631afcd79f60e31b815260040160405180910390fd5b565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6040805161012081018252600080825260208083018290528284018290528351808501855282815280820183905260608401528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e084015283518085019094528184528301529061010082015290565b60405180610100016040528060006001600160601b03168152602001613690604051806040016040528060008152602001600081525090565b815260200160608152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b6000602082840312156136e057600080fd5b81356001600160e01b03198116811461254757600080fd5b6001600160c01b03198116811461024f57600080fd5b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b03811182821017156137465761374661370e565b60405290565b6040516101c081016001600160401b03811182821017156137465761374661370e565b60405161012081016001600160401b03811182821017156137465761374661370e565b60405160e081016001600160401b03811182821017156137465761374661370e565b60405161010081016001600160401b03811182821017156137465761374661370e565b604051601f8201601f191681016001600160401b03811182821017156137ff576137ff61370e565b604052919050565b60006001600160401b038211156138205761382061370e565b50601f01601f191660200190565b600082601f83011261383f57600080fd5b813561385261384d82613807565b6137d7565b81815284602083860101111561386757600080fd5b816020850160208301376000918101602001919091529392505050565b6000806040838503121561389757600080fd5b82356138a2816136f8565b915060208301356001600160401b038111156138bd57600080fd5b6138c98582860161382e565b9150509250929050565b6001600160601b038116811461024f57600080fd5b6000602082840312156138fa57600080fd5b8135612547816138d3565b60005b83811015613920578181015183820152602001613908565b50506000910152565b60008151808452613941816020860160208601613905565b601f01601f19169290920160200192915050565b60006001600160601b038083511684528060208401511660208501525060ff6040830151166040840152606082015115156060840152608082015160018060a01b0380821660808601528060a08501511660a0860152505060c082015160e060c08501526139c660e0850182613929565b949350505050565b6040815260006139e16040830185613955565b82810360208401526127d98185613929565b6020815260006125476020830184613929565b60008060408385031215613a1957600080fd5b8235613a24816136f8565b915060208301356001600160401b0380821115613a4057600080fd5b9084019060408287031215613a5457600080fd5b613a5c613724565b8235613a67816138d3565b8152602083013582811115613a7b57600080fd5b613a878882860161382e565b6020830152508093505050509250929050565b62ffffff8116811461024f57600080fd5b600060208284031215613abd57600080fd5b813561254781613a9a565b64ffffffffff8116811461024f57600080fd5b60008060408385031215613aee57600080fd5b8235613af9816138d3565b91506020830135613b0981613ac8565b809150509250929050565b60008060408385031215613b2757600080fd5b50508035926020909101359150565b801515811461024f57600080fd5b600080600060608486031215613b5957600080fd5b8335613b64816138d3565b92506020840135613b7481613b36565b91506040840135613b8481613ac8565b809150509250925092565b60ff8116811461024f57600080fd5b60008060408385031215613bb157600080fd5b8235613bbc816136f8565b91506020830135613b0981613b8f565b60008060008060008060c08789031215613be557600080fd5b8635613bf0816136f8565b9550602087013594506040870135935060608701356001600160401b03811115613c1957600080fd5b613c2589828a0161382e565b9350506080870135613c36816138d3565b915060a0870135613c46816136f8565b809150509295509295509295565b6001600160a01b038116811461024f57600080fd5b600080600060608486031215613c7e57600080fd5b8335613c8981613c54565b92506020840135613c9981613c54565b915060408401356001600160401b03811115613cb457600080fd5b613cc08682870161382e565b9150509250925092565b600060408284031215613cdc57600080fd5b613ce4613724565b9050813581526020820135602082015292915050565b60008060808385031215613d0d57600080fd5b613d178484613cca565b9150613d268460408501613cca565b90509250929050565b600060208284031215613d4157600080fd5b5035919050565b600080600080600080600060e0888a031215613d6357600080fd5b8735613d6e81613c54565b96506020880135613d7e816136f8565b9550604088013594506060880135935060808801356001600160401b03811115613da757600080fd5b613db38a828b0161382e565b93505060a0880135613dc4816138d3565b915060c0880135613dd4816136f8565b8091505092959891949750929550565b6001600160401b0360c01b841681526001600160601b03831660208201526060604082015260006127d96060830184613929565b600060208284031215613e2a57600080fd5b815161254781613a9a565b600181811c90821680613e4957607f821691505b602082108103613e6957634e487b7160e01b600052602260045260246000fd5b50919050565b8051613e7a81613b36565b919050565b600060208284031215613e9157600080fd5b815161254781613b36565b8051613e7a816138d3565b600060208284031215613eb957600080fd5b8151612547816138d3565b6001600160401b0360c01b83168152604060208201526001600160601b03825116604082015260006020830151604060608401526127d96080840182613929565b8051613e7a816136f8565b8051613e7a81613c54565b600082601f830112613f2c57600080fd5b8151613f3a61384d82613807565b818152846020838601011115613f4f57600080fd5b6139c6826020830160208701613905565b8051613e7a81613ac8565b600060208284031215613f7d57600080fd5b81516001600160401b0380821115613f9457600080fd5b908301906101c08286031215613fa957600080fd5b613fb161374c565b613fba83613e9c565b8152613fc860208401613e9c565b6020820152613fd960408401613f05565b6040820152613fea60608401613f10565b6060820152613ffb60808401613f05565b608082015260a083015160a082015260c083015160c082015260e083015160e0820152610100808401518183015250610120808401518381111561403e57600080fd5b61404a88828701613f1b565b828401525050610140808401518381111561406457600080fd5b61407088828701613f1b565b8284015250506101609150614086828401613f60565b82820152610180915061409a828401613f60565b828201526101a091506140ae828401613f60565b91810191909152949350505050565b6000602082840312156140cf57600080fd5b815161254781613ac8565b6001600160601b0383168152604060208201526141036040820183516001600160601b03169052565b6000602083015161411f60608401826001600160601b03169052565b5060408301516001600160c01b0319811660808401525060608301516001600160a01b03811660a08401525060808301516001600160c01b0319811660c08401525060a083015160e083015260c0830151610100818185015260e08501519150610120828186015281860151925061014091508282860152808601519250506101c061016081818701526141b7610200870185613929565b9350828701519250610180603f1987860301818801526141d78585613929565b94508188015193506101a091506141f68288018564ffffffffff169052565b87015164ffffffffff811683880152925086015164ffffffffff81166101e087015291506142219050565b50949350505050565b60006020828403121561423c57600080fd5b5051919050565b8051613e7a81613b8f565b60006020828403121561426057600080fd5b815161254781613b8f565b80820180821115610f9857634e487b7160e01b600052601160045260246000fd5b60006001600160601b038085168352604060208401528084511660408401525060208301516142c8606084018280518252602090810151910152565b5060408301516101208060a08501526142e5610160850183613929565b9150606085015160c0850152608085015160e085015260a085015161010085015260c085015161431d8286018264ffffffffff169052565b505060e084015164ffffffffff8116610140850152614221565b60006040828403121561434957600080fd5b614351613724565b825161435c81613b36565b81526020928301519281019290925250919050565b60006020828403121561438357600080fd5b815161254781613c54565b8481526001600160401b0360c01b841660208201528260408201526080606082015260006143bf6080830184613929565b9695505050505050565b6000602082840312156143db57600080fd5b81516001600160401b038116811461254757600080fd5b60006040828403121561440457600080fd5b61440c613724565b9050815181526020820151602082015292915050565b60006101e0828403121561443557600080fd5b61443d61376f565b61444683613e9c565b815261445460208401613e9c565b602082015261446560408401613f10565b604082015261447784606085016143f2565b60608201526144898460a085016143f2565b608082015261449b8460e085016143f2565b60a08201526144ae8461012085016143f2565b60c08201526144c18461016085016143f2565b60e08201526144d4846101a085016143f2565b6101008201529392505050565b6001600160601b03838116825282511660208083019190915282015161020082019061451860408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a083015161010061457a8185018380518252602090810151910152565b60c0850151805161014086015260209081015161016086015260e086015180516101808701528101516101a086015294015180516101c0850152909301516101e09092019190915292915050565b634e487b7160e01b600052603260045260246000fd5b6020815260006125476020830184613955565b60006020828403121561460357600080fd5b81516001600160401b038082111561461a57600080fd5b9083019060e0828603121561462e57600080fd5b614636613792565b61463f83613e9c565b815261464d60208401613e9c565b602082015261465e60408401614243565b604082015261466f60608401613e6f565b606082015261468060808401613f10565b608082015261469160a08401613f10565b60a082015260c0830151828111156146a857600080fd5b6146b487828601613f1b565b60c08301525095945050505050565b6000602082840312156146d557600080fd5b81516001600160401b03808211156146ec57600080fd5b90830190610120828603121561470157600080fd5b6147096137b4565b61471283613e9c565b815261472186602085016143f2565b602082015260608301518281111561473857600080fd5b61474487828601613f1b565b6040830152506080830151606082015260a0830151608082015260c083015160a082015261477460e08401613f60565b60c08201526147866101008401613f60565b60e082015295945050505050565b815181526020808301519082015260408101610f98565b82815260608101612547602083018480518252602090810151910152565b600080604083850312156147dc57600080fd5b505080516020909101519092909150565b6001600160601b038516815260806020820152600061480f6080830186613929565b82810360408401526148218186613929565b91505082606083015295945050505050565b634e487b7160e01b600052601260045260246000fdfef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a264697066735822122011af7182d01266421c1862bcc076595a869d9faaf9f4a1131bc2c3fe489655e564736f6c63430008140033",
676
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b61318080620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c8063644c45e0116100f9578063b6b412ba11610097578063cde749f411610071578063cde749f4146103c3578063ea866572146103cb578063f21de1e8146102f2578063f7c34ee0146103de57600080fd5b8063b6b412ba146103a0578063caf4e3d4146103b3578063cc9fc59a146103bb57600080fd5b8063893d20e8116100d3578063893d20e81461035b5780638f997f6d14610363578063ada9652e14610376578063b68d18091461038b57600080fd5b8063644c45e014610317578063675393bf146103355780637cef48421461034857600080fd5b8063214cdb801161016657806336fc697e1161014057806336fc697e146102ac5780634420e486146102b457806349bb9e4b146102df5780635ab1bd53146102f257600080fd5b8063214cdb801461027357806327bb7a3314610286578063329d6e741461029957600080fd5b806301ffc9a7146101ae578063095e2b72146101f05780630d8e6e2c146102055780630fec111c14610221578063138461e0146102365780631eff4b221461023e575b600080fd5b6101db6101bc36600461249e565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102036101fe36600461261c565b6103f1565b005b61020d61048a565b60405162ffffff90911681526020016101e7565b610229610514565b6040516101e791906126b9565b6102036106c8565b6102657f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101e7565b61020361028136600461249e565b6108cf565b61020361029436600461278b565b6108fc565b6102036102a7366004612823565b610988565b610203610ad5565b6102c76102c2366004612857565b610b1b565b6040516001600160601b0390911681526020016101e7565b6102036102ed366004612874565b610be0565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101e7565b60008051602061310b833981519152546001600160601b03166102c7565b610203610343366004612857565b610cdf565b610203610356366004612892565b610ded565b6102ff610e65565b61020361037136600461261c565b610f9c565b61026560008051602061310b83398151915281565b606e5b60405160ff90911681526020016101e7565b6102036103ae3660046128f9565b6110ff565b6102ff61126c565b6102ff611309565b61038e611333565b6102036103d936600461292e565b6113aa565b6102036103ec36600461292e565b611442565b6000806103fe606e6114b9565b81516040805180820182526001600160601b03831681526020810188905290516317b0844560e11b8152939550919350916001600160a01b03841690632f61088a906104509089908590600401612984565b600060405180830381600087803b15801561046a57600080fd5b505af115801561047e573d6000803e3d6000fd5b50505050505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156104eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050f91906129a9565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b909104161515918101919091526001820180549192916060840191906105c4906129ce565b80601f01602080910402602001604051908101604052809291908181526020018280546105f0906129ce565b801561063d5780601f106106125761010080835404028352916020019161063d565b820191906000526020600020905b81548152906001019060200180831161062057829003601f168201915b50505050508152505090506040518060e0016040528061065b600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016106ac610e65565b6001600160a01b03168152602001826060015181525091505090565b600060008051602061310b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610737573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075b9190612a13565b1561078c5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b3061079f6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156107e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080b9190612a13565b6108335760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610783565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610887573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ab9190612a3b565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6108d761175b565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61090461175b565b61090e8287611442565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b8615150217815590506001810161097e8382612aa7565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6109aa61048a565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156109ea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a0e9190612b7b565b60008051602061312b8339815191528054600160401b900460ff1680610a41575080546001600160401b03808416911610155b15610a5f5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610a8983611794565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610add61175b565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080808080610b3486606e610b2f61179c565b611814565b92965090945092509050856000610b4961126c565b604051635d96628960e01b81526001600160a01b03848116600483015287811660248301529190911690635d966289906044016000604051808303816000875af1158015610b9b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bc39190810190612bfe565b805197509050610bd4848389611bed565b50505050505050919050565b60008051602061312b8339815191528054600160401b810460ff1615906001600160401b0316600081158015610c135750825b90506000826001600160401b03166001148015610c2f5750303b155b905081158015610c3d575080155b15610c5b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610c8557845460ff60401b1916600160401b1785555b610c8f8787612244565b8315610cd657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610ce761175b565b806001600160a01b03163b600003610d1d5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610783565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015610d97575060408051601f3d908101601f19168201909252610d9491810190612a13565b60015b610dbf5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610783565b80610de85760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610783565b505b50565b6000610df9606e6114b9565b604051633e77a42160e11b81526001600160c01b03198616600482015260ff851660248201529092506001600160a01b0383169150637cef484290604401600060405180830381600087803b158015610e5157600080fd5b505af1158015610cd6573d6000803e3d6000fd5b60008060008051602061310b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610ed5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ef99190612a13565b15610f86576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610f5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f809190612cd0565b91505090565b54600160601b90046001600160a01b0316919050565b6000610fa8606e6114b9565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610feb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061100f9190612cd0565b60405163887b1fa960e01b81526001600160c01b0319861660048201529091506000906001600160a01b0383169063887b1fa990602401600060405180830381865afa158015611063573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261108b9190810190612ced565b602081018590526040516314eddc0360e31b81529091506001600160a01b0384169063a76ee018906110c6908890859060ff90600401612d6c565b600060405180830381600087803b1580156110e057600080fd5b505af11580156110f4573d6000803e3d6000fd5b505050505050505050565b60008061110c606e6114b9565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611150573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111749190612cd0565b835160405163242bdc1960e21b81526001600160601b0382166004820152919250906000906001600160a01b038416906390af70649060240161024060405180830381865afa1580156111cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111ef9190612dd4565b60a0810188905260c081018790526040516354e750a160e11b81529091506001600160a01b0385169063a9cea14290611231908590859060ff90600401612fec565b600060405180830381600087803b15801561124b57600080fd5b505af115801561125f573d6000803e3d6000fd5b5050505050505050505050565b6000806112816001546001600160a01b031690565b6001600160a01b031663d39e604360285b61129a611333565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156112df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113039190612cd0565b92915050565b60008061131e6001546001600160a01b031690565b6001600160a01b031663d39e60436046611292565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015611386573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050f919061301c565b6113b261175b565b61143282836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114189190612a3b565b603c600085604051806020016040528060008152506108fc565b610de8637b6a51fd60e01b6108cf565b61144a61175b565b61145381610cdf565b61145b610ad5565b6001600160a01b0382166114825760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061310b83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082015260015490919081906001600160a01b03166040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa158015611548573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115709190810190612bfe565b925061158683604001518560ff90811691161490565b6115c85760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b6044820152606401610783565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa15801561161e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116469190810190612bfe565b6080015190508092506000836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561168f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116b39190612cd0565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa158015611700573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117249190612a13565b1561175357608085015160405163d53987e560e01b81526001600160a01b039091166004820152602401610783565b505050915091565b60008051602061312b83398151915254600160401b900460ff1661179257604051631afcd79f60e31b815260040160405180910390fd5b565b6101a961175b565b6040516368aebf7b60e01b8152610190600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af41580156117f0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050f9190612b7b565b60003381808061182c6001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b038a81166004830152919091169063d272ac1e90602401602060405180830381865afa158015611874573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118989190612a3b565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156118f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119179190612a13565b1561194e5760405162b8422b60e71b81526001600160a01b03891660048201526001600160601b0382166024820152604401610783565b6040516301ffc9a760e01b81526262516360e41b60048201528895506001600160a01b038616906301ffc9a790602401602060405180830381865afa15801561199b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119bf9190612a13565b6119e7576040516359bff0e360e11b81526001600160a01b0389166004820152602401610783565b6000856001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611a27573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a4f9190810190612bfe565b9050611a6681604001518960ff9081169116141590565b15611aa6576040808201519051634a2e948760e11b81526001600160a01b038b16600482015260ff808b1660248301529091166044820152606401610783565b60a08101516001600160a01b0386811690821614611af85760a0820151604051632b50a20960e21b81526001600160a01b03808d16600483015291821660248201529087166044820152606401610783565b81602001519350611b0884612407565b94506000611b14611309565b60405163081deaed60e11b81526001600160a01b0389811660048301526001600160401b038c1660248301528881166044830152919091169063103bd5da90606401602060405180830381865afa158015611b73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b979190612a13565b905080611be057604051636af540d960e01b81526001600160601b03861660048201526001600160401b038a1660248201526001600160a01b0388166044820152606401610783565b5050505093509350935093565b60606000836001600160a01b031663c200b8096040518163ffffffff1660e01b815260040161024060405180830381865afa158015611c30573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c549190612dd4565b90506000611c6a6001546001600160a01b031690565b60408084015190516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611cbf573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ce79190810190612bfe565b6080015190506000611d016001546001600160a01b031690565b60608401516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611d56573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d7e9190810190612bfe565b6080015160405163054cb8d160e31b81526001600160601b03871660048201529091506001600160a01b03831690632a65c68890602401600060405180830381600087803b158015611dcf57600080fd5b505af1158015611de3573d6000803e3d6000fd5b505060405163054cb8d160e31b81526001600160601b03881660048201526001600160a01b0384169250632a65c6889150602401600060405180830381600087803b158015611e3157600080fd5b505af1158015611e45573d6000803e3d6000fd5b505060405163054cb8d160e31b81526001600160601b03881660048201526001600160a01b0389169250632a65c6889150602401600060405180830381600087803b158015611e9357600080fd5b505af1158015611ea7573d6000803e3d6000fd5b50505050856001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611ee657600080fd5b505af1158015611efa573d6000803e3d6000fd5b50505050866001600160a01b03166391ff6eaa86886001600160a01b031663c200b8096040518163ffffffff1660e01b815260040161024060405180830381865afa158015611f4d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f719190612dd4565b6040518363ffffffff1660e01b8152600401611f8e929190613039565b600060405180830381600087803b158015611fa857600080fd5b505af1158015611fbc573d6000803e3d6000fd5b50505050611fc8611309565b6001600160a01b03166335241c06611fe86001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b038b81166004830152919091169063d272ac1e90602401602060405180830381865afa158015612030573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120549190612a3b565b88896001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015612093573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526120bb9190810190613057565b6040518463ffffffff1660e01b81526004016120d99392919061309f565b600060405180830381600087803b1580156120f357600080fd5b505af1158015612107573d6000803e3d6000fd5b50505050612113611309565b6001600160a01b0316632ad73641886001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561215f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121839190612a3b565b88896001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156121c2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526121ea9190810190613057565b6040518463ffffffff1660e01b81526004016122089392919061309f565b600060405180830381600087803b15801561222257600080fd5b505af1158015612236573d6000803e3d6000fd5b505050505050509392505050565b60008051602061312b8339815191528054600160401b810460ff1615906001600160401b03166000811580156122775750825b90506000826001600160401b031660011480156122935750303b155b9050811580156122a1575080155b156122bf5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156122e957845460ff60401b1916600160401b1785555b6000808780602001905181019061230091906130db565b909250905061230f828a6113aa565b6001546001600160a01b031663d39e6043608c61232a611333565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561236f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123939190612cd0565b600280546001600160a01b0319166001600160a01b03929092169190911790556123c36308bcea6160e01b6108cf565b50508315610cd657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610ccd565b60008061241c6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801561246b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526124939190810190612bfe565b608001519392505050565b6000602082840312156124b057600080fd5b81356001600160e01b0319811681146124c857600080fd5b9392505050565b80356001600160c01b0319811681146124e757600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715612524576125246124ec565b60405290565b60405160e081016001600160401b0381118282101715612524576125246124ec565b60405161018081016001600160401b0381118282101715612524576125246124ec565b604051601f8201601f191681016001600160401b0381118282101715612597576125976124ec565b604052919050565b60006001600160401b038211156125b8576125b86124ec565b50601f01601f191660200190565b600082601f8301126125d757600080fd5b81356125ea6125e58261259f565b61256f565b8181528460208386010111156125ff57600080fd5b816020850160208301376000918101602001919091529392505050565b6000806040838503121561262f57600080fd5b612638836124cf565b915060208301356001600160401b0381111561265357600080fd5b61265f858286016125c6565b9150509250929050565b60005b8381101561268457818101518382015260200161266c565b50506000910152565b600081518084526126a5816020860160208601612669565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161272260c08401826001600160a01b03169052565b5060c083015160e08084015261273c61010084018261268d565b949350505050565b6001600160a01b0381168114610dea57600080fd5b6001600160601b0381168114610dea57600080fd5b60ff81168114610dea57600080fd5b8015158114610dea57600080fd5b60008060008060008060c087890312156127a457600080fd5b86356127af81612744565b955060208701356127bf81612759565b945060408701356127cf8161276e565b935060608701356127df8161277d565b925060808701356127ef81612744565b915060a08701356001600160401b0381111561280a57600080fd5b61281689828a016125c6565b9150509295509295509295565b60006020828403121561283557600080fd5b81356001600160401b0381111561284b57600080fd5b61273c848285016125c6565b60006020828403121561286957600080fd5b81356124c881612744565b6000806040838503121561288757600080fd5b823561263881612744565b600080604083850312156128a557600080fd5b6128ae836124cf565b915060208301356128be8161276e565b809150509250929050565b6000604082840312156128db57600080fd5b6128e3612502565b9050813581526020820135602082015292915050565b6000806080838503121561290c57600080fd5b61291684846128c9565b915061292584604085016128c9565b90509250929050565b6000806040838503121561294157600080fd5b823561294c81612744565b915060208301356128be81612744565b6001600160601b038151168252600060208201516040602085015261273c604085018261268d565b6001600160401b0360c01b8316815260406020820152600061273c604083018461295c565b6000602082840312156129bb57600080fd5b815162ffffff811681146124c857600080fd5b600181811c908216806129e257607f821691505b602082108103612a0257634e487b7160e01b600052602260045260246000fd5b50919050565b80516124e78161277d565b600060208284031215612a2557600080fd5b81516124c88161277d565b80516124e781612759565b600060208284031215612a4d57600080fd5b81516124c881612759565b601f821115612aa257600081815260208120601f850160051c81016020861015612a7f5750805b601f850160051c820191505b81811015612a9e57828155600101612a8b565b5050505b505050565b81516001600160401b03811115612ac057612ac06124ec565b612ad481612ace84546129ce565b84612a58565b602080601f831160018114612b095760008415612af15750858301515b600019600386901b1c1916600185901b178555612a9e565b600085815260208120601f198616915b82811015612b3857888601518255948401946001909101908401612b19565b5085821015612b565787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160401b0381168114610dea57600080fd5b600060208284031215612b8d57600080fd5b81516124c881612b66565b80516124e78161276e565b80516124e781612744565b6000612bbc6125e58461259f565b9050828152838383011115612bd057600080fd5b6124c8836020830184612669565b600082601f830112612bef57600080fd5b6124c883835160208501612bae565b600060208284031215612c1057600080fd5b81516001600160401b0380821115612c2757600080fd5b9083019060e08286031215612c3b57600080fd5b612c4361252a565b612c4c83612a30565b8152612c5a60208401612a30565b6020820152612c6b60408401612b98565b6040820152612c7c60608401612a08565b6060820152612c8d60808401612ba3565b6080820152612c9e60a08401612ba3565b60a082015260c083015182811115612cb557600080fd5b612cc187828601612bde565b60c08301525095945050505050565b600060208284031215612ce257600080fd5b81516124c881612744565b600060208284031215612cff57600080fd5b81516001600160401b0380821115612d1657600080fd5b9083019060408286031215612d2a57600080fd5b612d32612502565b8251612d3d81612759565b8152602083015182811115612d5157600080fd5b612d5d87828601612bde565b60208301525095945050505050565b6001600160401b0360c01b84168152606060208201526000612d91606083018561295c565b905060ff83166040830152949350505050565b600060408284031215612db657600080fd5b612dbe612502565b9050815181526020820151602082015292915050565b60006102408284031215612de757600080fd5b612def61254c565b612df883612ba3565b8152612e0660208401612ba3565b6020820152612e1760408401612a30565b6040820152612e2860608401612a30565b6060820152612e3a8460808501612da4565b6080820152612e4c8460c08501612da4565b60a0820152610100612e6085828601612da4565b60c0830152610140612e7486828701612da4565b60e0840152612e87866101808701612da4565b82840152612e99866101c08701612da4565b610120840152612eac6102008601612a08565b9083015250612ebe6102208401612ba3565b6101608201529392505050565b80516001600160a01b031682526020810151612ef260208401826001600160a01b03169052565b506040810151612f0d60408401826001600160601b03169052565b506060810151612f2860608401826001600160601b03169052565b506080810151612f45608084018280518252602090810151910152565b5060a0810151805160c0840152602081015160e08401525060c0810151610100612f7b8185018380518252602090810151910152565b60e08301519150610140612f9b8186018480518252602090810151910152565b9083015180516101808601526020908101516101a086015261012084015180516101c087015201516101e085015282015115156102008401525061016001516001600160a01b031661022090910152565b6001600160601b0384168152610280810161300a6020830185612ecb565b60ff8316610260830152949350505050565b60006020828403121561302e57600080fd5b81516124c88161276e565b6001600160601b038316815261026081016124c86020830184612ecb565b60006020828403121561306957600080fd5b81516001600160401b0381111561307f57600080fd5b8201601f8101841361309057600080fd5b61273c84825160208401612bae565b6001600160601b03841681526001600160a01b03831660208201526060604082018190526000906130d29083018461268d565b95945050505050565b600080604083850312156130ee57600080fd5b82516130f981612744565b60208401519092506128be8161274456fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212209c233d4d267211fe733773b09f124437eaf6215d2d625377abad1a0ef473713764736f6c63430008140033",
677
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101a95760003560e01c8063644c45e0116100f9578063b6b412ba11610097578063cde749f411610071578063cde749f4146103c3578063ea866572146103cb578063f21de1e8146102f2578063f7c34ee0146103de57600080fd5b8063b6b412ba146103a0578063caf4e3d4146103b3578063cc9fc59a146103bb57600080fd5b8063893d20e8116100d3578063893d20e81461035b5780638f997f6d14610363578063ada9652e14610376578063b68d18091461038b57600080fd5b8063644c45e014610317578063675393bf146103355780637cef48421461034857600080fd5b8063214cdb801161016657806336fc697e1161014057806336fc697e146102ac5780634420e486146102b457806349bb9e4b146102df5780635ab1bd53146102f257600080fd5b8063214cdb801461027357806327bb7a3314610286578063329d6e741461029957600080fd5b806301ffc9a7146101ae578063095e2b72146101f05780630d8e6e2c146102055780630fec111c14610221578063138461e0146102365780631eff4b221461023e575b600080fd5b6101db6101bc36600461249e565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102036101fe36600461261c565b6103f1565b005b61020d61048a565b60405162ffffff90911681526020016101e7565b610229610514565b6040516101e791906126b9565b6102036106c8565b6102657f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101e7565b61020361028136600461249e565b6108cf565b61020361029436600461278b565b6108fc565b6102036102a7366004612823565b610988565b610203610ad5565b6102c76102c2366004612857565b610b1b565b6040516001600160601b0390911681526020016101e7565b6102036102ed366004612874565b610be0565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101e7565b60008051602061310b833981519152546001600160601b03166102c7565b610203610343366004612857565b610cdf565b610203610356366004612892565b610ded565b6102ff610e65565b61020361037136600461261c565b610f9c565b61026560008051602061310b83398151915281565b606e5b60405160ff90911681526020016101e7565b6102036103ae3660046128f9565b6110ff565b6102ff61126c565b6102ff611309565b61038e611333565b6102036103d936600461292e565b6113aa565b6102036103ec36600461292e565b611442565b6000806103fe606e6114b9565b81516040805180820182526001600160601b03831681526020810188905290516317b0844560e11b8152939550919350916001600160a01b03841690632f61088a906104509089908590600401612984565b600060405180830381600087803b15801561046a57600080fd5b505af115801561047e573d6000803e3d6000fd5b50505050505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156104eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050f91906129a9565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b909104161515918101919091526001820180549192916060840191906105c4906129ce565b80601f01602080910402602001604051908101604052809291908181526020018280546105f0906129ce565b801561063d5780601f106106125761010080835404028352916020019161063d565b820191906000526020600020905b81548152906001019060200180831161062057829003601f168201915b50505050508152505090506040518060e0016040528061065b600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016106ac610e65565b6001600160a01b03168152602001826060015181525091505090565b600060008051602061310b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610737573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075b9190612a13565b1561078c5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b3061079f6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156107e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080b9190612a13565b6108335760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610783565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610887573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ab9190612a3b565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6108d761175b565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61090461175b565b61090e8287611442565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b8615150217815590506001810161097e8382612aa7565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6109aa61048a565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156109ea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a0e9190612b7b565b60008051602061312b8339815191528054600160401b900460ff1680610a41575080546001600160401b03808416911610155b15610a5f5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610a8983611794565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610add61175b565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080808080610b3486606e610b2f61179c565b611814565b92965090945092509050856000610b4961126c565b604051635d96628960e01b81526001600160a01b03848116600483015287811660248301529190911690635d966289906044016000604051808303816000875af1158015610b9b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bc39190810190612bfe565b805197509050610bd4848389611bed565b50505050505050919050565b60008051602061312b8339815191528054600160401b810460ff1615906001600160401b0316600081158015610c135750825b90506000826001600160401b03166001148015610c2f5750303b155b905081158015610c3d575080155b15610c5b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610c8557845460ff60401b1916600160401b1785555b610c8f8787612244565b8315610cd657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610ce761175b565b806001600160a01b03163b600003610d1d5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610783565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015610d97575060408051601f3d908101601f19168201909252610d9491810190612a13565b60015b610dbf5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610783565b80610de85760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610783565b505b50565b6000610df9606e6114b9565b604051633e77a42160e11b81526001600160c01b03198616600482015260ff851660248201529092506001600160a01b0383169150637cef484290604401600060405180830381600087803b158015610e5157600080fd5b505af1158015610cd6573d6000803e3d6000fd5b60008060008051602061310b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610ed5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ef99190612a13565b15610f86576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610f5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f809190612cd0565b91505090565b54600160601b90046001600160a01b0316919050565b6000610fa8606e6114b9565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610feb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061100f9190612cd0565b60405163887b1fa960e01b81526001600160c01b0319861660048201529091506000906001600160a01b0383169063887b1fa990602401600060405180830381865afa158015611063573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261108b9190810190612ced565b602081018590526040516314eddc0360e31b81529091506001600160a01b0384169063a76ee018906110c6908890859060ff90600401612d6c565b600060405180830381600087803b1580156110e057600080fd5b505af11580156110f4573d6000803e3d6000fd5b505050505050505050565b60008061110c606e6114b9565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611150573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111749190612cd0565b835160405163242bdc1960e21b81526001600160601b0382166004820152919250906000906001600160a01b038416906390af70649060240161024060405180830381865afa1580156111cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111ef9190612dd4565b60a0810188905260c081018790526040516354e750a160e11b81529091506001600160a01b0385169063a9cea14290611231908590859060ff90600401612fec565b600060405180830381600087803b15801561124b57600080fd5b505af115801561125f573d6000803e3d6000fd5b5050505050505050505050565b6000806112816001546001600160a01b031690565b6001600160a01b031663d39e604360285b61129a611333565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156112df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113039190612cd0565b92915050565b60008061131e6001546001600160a01b031690565b6001600160a01b031663d39e60436046611292565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015611386573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050f919061301c565b6113b261175b565b61143282836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114189190612a3b565b603c600085604051806020016040528060008152506108fc565b610de8637b6a51fd60e01b6108cf565b61144a61175b565b61145381610cdf565b61145b610ad5565b6001600160a01b0382166114825760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061310b83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082015260015490919081906001600160a01b03166040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa158015611548573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115709190810190612bfe565b925061158683604001518560ff90811691161490565b6115c85760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b6044820152606401610783565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa15801561161e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116469190810190612bfe565b6080015190508092506000836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561168f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116b39190612cd0565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa158015611700573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117249190612a13565b1561175357608085015160405163d53987e560e01b81526001600160a01b039091166004820152602401610783565b505050915091565b60008051602061312b83398151915254600160401b900460ff1661179257604051631afcd79f60e31b815260040160405180910390fd5b565b6101a961175b565b6040516368aebf7b60e01b8152610190600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af41580156117f0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050f9190612b7b565b60003381808061182c6001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b038a81166004830152919091169063d272ac1e90602401602060405180830381865afa158015611874573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118989190612a3b565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156118f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119179190612a13565b1561194e5760405162b8422b60e71b81526001600160a01b03891660048201526001600160601b0382166024820152604401610783565b6040516301ffc9a760e01b81526262516360e41b60048201528895506001600160a01b038616906301ffc9a790602401602060405180830381865afa15801561199b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119bf9190612a13565b6119e7576040516359bff0e360e11b81526001600160a01b0389166004820152602401610783565b6000856001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611a27573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a4f9190810190612bfe565b9050611a6681604001518960ff9081169116141590565b15611aa6576040808201519051634a2e948760e11b81526001600160a01b038b16600482015260ff808b1660248301529091166044820152606401610783565b60a08101516001600160a01b0386811690821614611af85760a0820151604051632b50a20960e21b81526001600160a01b03808d16600483015291821660248201529087166044820152606401610783565b81602001519350611b0884612407565b94506000611b14611309565b60405163081deaed60e11b81526001600160a01b0389811660048301526001600160401b038c1660248301528881166044830152919091169063103bd5da90606401602060405180830381865afa158015611b73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b979190612a13565b905080611be057604051636af540d960e01b81526001600160601b03861660048201526001600160401b038a1660248201526001600160a01b0388166044820152606401610783565b5050505093509350935093565b60606000836001600160a01b031663c200b8096040518163ffffffff1660e01b815260040161024060405180830381865afa158015611c30573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c549190612dd4565b90506000611c6a6001546001600160a01b031690565b60408084015190516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611cbf573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ce79190810190612bfe565b6080015190506000611d016001546001600160a01b031690565b60608401516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611d56573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d7e9190810190612bfe565b6080015160405163054cb8d160e31b81526001600160601b03871660048201529091506001600160a01b03831690632a65c68890602401600060405180830381600087803b158015611dcf57600080fd5b505af1158015611de3573d6000803e3d6000fd5b505060405163054cb8d160e31b81526001600160601b03881660048201526001600160a01b0384169250632a65c6889150602401600060405180830381600087803b158015611e3157600080fd5b505af1158015611e45573d6000803e3d6000fd5b505060405163054cb8d160e31b81526001600160601b03881660048201526001600160a01b0389169250632a65c6889150602401600060405180830381600087803b158015611e9357600080fd5b505af1158015611ea7573d6000803e3d6000fd5b50505050856001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611ee657600080fd5b505af1158015611efa573d6000803e3d6000fd5b50505050866001600160a01b03166391ff6eaa86886001600160a01b031663c200b8096040518163ffffffff1660e01b815260040161024060405180830381865afa158015611f4d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f719190612dd4565b6040518363ffffffff1660e01b8152600401611f8e929190613039565b600060405180830381600087803b158015611fa857600080fd5b505af1158015611fbc573d6000803e3d6000fd5b50505050611fc8611309565b6001600160a01b03166335241c06611fe86001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b038b81166004830152919091169063d272ac1e90602401602060405180830381865afa158015612030573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120549190612a3b565b88896001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015612093573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526120bb9190810190613057565b6040518463ffffffff1660e01b81526004016120d99392919061309f565b600060405180830381600087803b1580156120f357600080fd5b505af1158015612107573d6000803e3d6000fd5b50505050612113611309565b6001600160a01b0316632ad73641886001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561215f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121839190612a3b565b88896001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156121c2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526121ea9190810190613057565b6040518463ffffffff1660e01b81526004016122089392919061309f565b600060405180830381600087803b15801561222257600080fd5b505af1158015612236573d6000803e3d6000fd5b505050505050509392505050565b60008051602061312b8339815191528054600160401b810460ff1615906001600160401b03166000811580156122775750825b90506000826001600160401b031660011480156122935750303b155b9050811580156122a1575080155b156122bf5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156122e957845460ff60401b1916600160401b1785555b6000808780602001905181019061230091906130db565b909250905061230f828a6113aa565b6001546001600160a01b031663d39e6043608c61232a611333565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561236f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123939190612cd0565b600280546001600160a01b0319166001600160a01b03929092169190911790556123c36308bcea6160e01b6108cf565b50508315610cd657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610ccd565b60008061241c6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801561246b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526124939190810190612bfe565b608001519392505050565b6000602082840312156124b057600080fd5b81356001600160e01b0319811681146124c857600080fd5b9392505050565b80356001600160c01b0319811681146124e757600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715612524576125246124ec565b60405290565b60405160e081016001600160401b0381118282101715612524576125246124ec565b60405161018081016001600160401b0381118282101715612524576125246124ec565b604051601f8201601f191681016001600160401b0381118282101715612597576125976124ec565b604052919050565b60006001600160401b038211156125b8576125b86124ec565b50601f01601f191660200190565b600082601f8301126125d757600080fd5b81356125ea6125e58261259f565b61256f565b8181528460208386010111156125ff57600080fd5b816020850160208301376000918101602001919091529392505050565b6000806040838503121561262f57600080fd5b612638836124cf565b915060208301356001600160401b0381111561265357600080fd5b61265f858286016125c6565b9150509250929050565b60005b8381101561268457818101518382015260200161266c565b50506000910152565b600081518084526126a5816020860160208601612669565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161272260c08401826001600160a01b03169052565b5060c083015160e08084015261273c61010084018261268d565b949350505050565b6001600160a01b0381168114610dea57600080fd5b6001600160601b0381168114610dea57600080fd5b60ff81168114610dea57600080fd5b8015158114610dea57600080fd5b60008060008060008060c087890312156127a457600080fd5b86356127af81612744565b955060208701356127bf81612759565b945060408701356127cf8161276e565b935060608701356127df8161277d565b925060808701356127ef81612744565b915060a08701356001600160401b0381111561280a57600080fd5b61281689828a016125c6565b9150509295509295509295565b60006020828403121561283557600080fd5b81356001600160401b0381111561284b57600080fd5b61273c848285016125c6565b60006020828403121561286957600080fd5b81356124c881612744565b6000806040838503121561288757600080fd5b823561263881612744565b600080604083850312156128a557600080fd5b6128ae836124cf565b915060208301356128be8161276e565b809150509250929050565b6000604082840312156128db57600080fd5b6128e3612502565b9050813581526020820135602082015292915050565b6000806080838503121561290c57600080fd5b61291684846128c9565b915061292584604085016128c9565b90509250929050565b6000806040838503121561294157600080fd5b823561294c81612744565b915060208301356128be81612744565b6001600160601b038151168252600060208201516040602085015261273c604085018261268d565b6001600160401b0360c01b8316815260406020820152600061273c604083018461295c565b6000602082840312156129bb57600080fd5b815162ffffff811681146124c857600080fd5b600181811c908216806129e257607f821691505b602082108103612a0257634e487b7160e01b600052602260045260246000fd5b50919050565b80516124e78161277d565b600060208284031215612a2557600080fd5b81516124c88161277d565b80516124e781612759565b600060208284031215612a4d57600080fd5b81516124c881612759565b601f821115612aa257600081815260208120601f850160051c81016020861015612a7f5750805b601f850160051c820191505b81811015612a9e57828155600101612a8b565b5050505b505050565b81516001600160401b03811115612ac057612ac06124ec565b612ad481612ace84546129ce565b84612a58565b602080601f831160018114612b095760008415612af15750858301515b600019600386901b1c1916600185901b178555612a9e565b600085815260208120601f198616915b82811015612b3857888601518255948401946001909101908401612b19565b5085821015612b565787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160401b0381168114610dea57600080fd5b600060208284031215612b8d57600080fd5b81516124c881612b66565b80516124e78161276e565b80516124e781612744565b6000612bbc6125e58461259f565b9050828152838383011115612bd057600080fd5b6124c8836020830184612669565b600082601f830112612bef57600080fd5b6124c883835160208501612bae565b600060208284031215612c1057600080fd5b81516001600160401b0380821115612c2757600080fd5b9083019060e08286031215612c3b57600080fd5b612c4361252a565b612c4c83612a30565b8152612c5a60208401612a30565b6020820152612c6b60408401612b98565b6040820152612c7c60608401612a08565b6060820152612c8d60808401612ba3565b6080820152612c9e60a08401612ba3565b60a082015260c083015182811115612cb557600080fd5b612cc187828601612bde565b60c08301525095945050505050565b600060208284031215612ce257600080fd5b81516124c881612744565b600060208284031215612cff57600080fd5b81516001600160401b0380821115612d1657600080fd5b9083019060408286031215612d2a57600080fd5b612d32612502565b8251612d3d81612759565b8152602083015182811115612d5157600080fd5b612d5d87828601612bde565b60208301525095945050505050565b6001600160401b0360c01b84168152606060208201526000612d91606083018561295c565b905060ff83166040830152949350505050565b600060408284031215612db657600080fd5b612dbe612502565b9050815181526020820151602082015292915050565b60006102408284031215612de757600080fd5b612def61254c565b612df883612ba3565b8152612e0660208401612ba3565b6020820152612e1760408401612a30565b6040820152612e2860608401612a30565b6060820152612e3a8460808501612da4565b6080820152612e4c8460c08501612da4565b60a0820152610100612e6085828601612da4565b60c0830152610140612e7486828701612da4565b60e0840152612e87866101808701612da4565b82840152612e99866101c08701612da4565b610120840152612eac6102008601612a08565b9083015250612ebe6102208401612ba3565b6101608201529392505050565b80516001600160a01b031682526020810151612ef260208401826001600160a01b03169052565b506040810151612f0d60408401826001600160601b03169052565b506060810151612f2860608401826001600160601b03169052565b506080810151612f45608084018280518252602090810151910152565b5060a0810151805160c0840152602081015160e08401525060c0810151610100612f7b8185018380518252602090810151910152565b60e08301519150610140612f9b8186018480518252602090810151910152565b9083015180516101808601526020908101516101a086015261012084015180516101c087015201516101e085015282015115156102008401525061016001516001600160a01b031661022090910152565b6001600160601b0384168152610280810161300a6020830185612ecb565b60ff8316610260830152949350505050565b60006020828403121561302e57600080fd5b81516124c88161276e565b6001600160601b038316815261026081016124c86020830184612ecb565b60006020828403121561306957600080fd5b81516001600160401b0381111561307f57600080fd5b8201601f8101841361309057600080fd5b61273c84825160208401612bae565b6001600160601b03841681526001600160a01b03831660208201526060604082018190526000906130d29083018461268d565b95945050505050565b600080604083850312156130ee57600080fd5b82516130f981612744565b60208401519092506128be8161274456fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212209c233d4d267211fe733773b09f124437eaf6215d2d625377abad1a0ef473713764736f6c63430008140033",
856
678
  "linkReferences": {
857
- "contracts/types/Blocknumber.sol": {
858
- "BlocknumberLib": [
859
- {
860
- "length": 20,
861
- "start": 5826
862
- }
863
- ]
864
- },
865
- "contracts/types/Fee.sol": {
866
- "FeeLib": [
867
- {
868
- "length": 20,
869
- "start": 12814
870
- },
871
- {
872
- "length": 20,
873
- "start": 14344
874
- },
875
- {
876
- "length": 20,
877
- "start": 14486
878
- },
879
- {
880
- "length": 20,
881
- "start": 14626
882
- }
883
- ]
884
- },
885
679
  "contracts/types/NftId.sol": {
886
680
  "NftIdLib": [
887
681
  {
888
682
  "length": 20,
889
- "start": 4402
890
- },
891
- {
892
- "length": 20,
893
- "start": 6531
894
- },
895
- {
896
- "length": 20,
897
- "start": 7889
898
- },
899
- {
900
- "length": 20,
901
- "start": 11168
902
- }
903
- ]
904
- },
905
- "contracts/types/Timestamp.sol": {
906
- "TimestampLib": [
907
- {
908
- "length": 20,
909
- "start": 5199
683
+ "start": 2019
910
684
  },
911
685
  {
912
686
  "length": 20,
913
- "start": 5419
687
+ "start": 3969
914
688
  },
915
689
  {
916
690
  "length": 20,
917
- "start": 7111
918
- },
919
- {
920
- "length": 20,
921
- "start": 9428
922
- },
923
- {
924
- "length": 20,
925
- "start": 9648
691
+ "start": 6559
926
692
  }
927
693
  ]
928
694
  },
929
- "contracts/types/UFixed.sol": {
930
- "UFixedMathLib": [
931
- {
932
- "length": 20,
933
- "start": 5954
934
- },
695
+ "contracts/types/RoleId.sol": {
696
+ "RoleIdLib": [
935
697
  {
936
698
  "length": 20,
937
- "start": 6087
699
+ "start": 6300
938
700
  }
939
701
  ]
940
702
  },
@@ -942,109 +704,43 @@
942
704
  "VersionLib": [
943
705
  {
944
706
  "length": 20,
945
- "start": 625
946
- },
947
- {
948
- "length": 20,
949
- "start": 975
950
- },
951
- {
952
- "length": 20,
953
- "start": 3942
707
+ "start": 1431
954
708
  },
955
709
  {
956
710
  "length": 20,
957
- "start": 8351
958
- },
711
+ "start": 2672
712
+ }
713
+ ],
714
+ "VersionPartLib": [
959
715
  {
960
716
  "length": 20,
961
- "start": 10642
717
+ "start": 5170
962
718
  }
963
719
  ]
964
720
  }
965
721
  },
966
722
  "deployedLinkReferences": {
967
- "contracts/types/Blocknumber.sol": {
968
- "BlocknumberLib": [
969
- {
970
- "length": 20,
971
- "start": 3632
972
- }
973
- ]
974
- },
975
- "contracts/types/Fee.sol": {
976
- "FeeLib": [
977
- {
978
- "length": 20,
979
- "start": 10620
980
- },
981
- {
982
- "length": 20,
983
- "start": 12150
984
- },
985
- {
986
- "length": 20,
987
- "start": 12292
988
- },
989
- {
990
- "length": 20,
991
- "start": 12432
992
- }
993
- ]
994
- },
995
723
  "contracts/types/NftId.sol": {
996
724
  "NftIdLib": [
997
725
  {
998
726
  "length": 20,
999
- "start": 2208
727
+ "start": 1789
1000
728
  },
1001
729
  {
1002
730
  "length": 20,
1003
- "start": 4337
731
+ "start": 3739
1004
732
  },
1005
733
  {
1006
734
  "length": 20,
1007
- "start": 5695
1008
- },
1009
- {
1010
- "length": 20,
1011
- "start": 8974
735
+ "start": 6329
1012
736
  }
1013
737
  ]
1014
738
  },
1015
- "contracts/types/Timestamp.sol": {
1016
- "TimestampLib": [
1017
- {
1018
- "length": 20,
1019
- "start": 3005
1020
- },
739
+ "contracts/types/RoleId.sol": {
740
+ "RoleIdLib": [
1021
741
  {
1022
742
  "length": 20,
1023
- "start": 3225
1024
- },
1025
- {
1026
- "length": 20,
1027
- "start": 4917
1028
- },
1029
- {
1030
- "length": 20,
1031
- "start": 7234
1032
- },
1033
- {
1034
- "length": 20,
1035
- "start": 7454
1036
- }
1037
- ]
1038
- },
1039
- "contracts/types/UFixed.sol": {
1040
- "UFixedMathLib": [
1041
- {
1042
- "length": 20,
1043
- "start": 3760
1044
- },
1045
- {
1046
- "length": 20,
1047
- "start": 3893
743
+ "start": 6070
1048
744
  }
1049
745
  ]
1050
746
  },
@@ -1052,15 +748,17 @@
1052
748
  "VersionLib": [
1053
749
  {
1054
750
  "length": 20,
1055
- "start": 1748
751
+ "start": 1201
1056
752
  },
1057
753
  {
1058
754
  "length": 20,
1059
- "start": 6157
1060
- },
755
+ "start": 2442
756
+ }
757
+ ],
758
+ "VersionPartLib": [
1061
759
  {
1062
760
  "length": 20,
1063
- "start": 8448
761
+ "start": 4940
1064
762
  }
1065
763
  ]
1066
764
  }