@etherisc/gif-next 0.0.2-d372e08-980 → 0.0.2-d39f345-355

Sign up to get free protection for your applications and to get access to all the features.
Files changed (383) hide show
  1. package/README.md +71 -14
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +842 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +946 -219
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → components/IComponent.sol/IComponent.json} +303 -164
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +848 -31
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +864 -49
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +682 -9
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +844 -255
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +632 -194
  18. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  19. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  20. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  21. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +778 -0
  22. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  23. package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → Cloneable.sol/Cloneable.json} +91 -2
  24. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  25. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1365 -439
  26. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +321 -168
  28. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  29. package/artifacts/contracts/instance/Instance.sol/Instance.json +996 -1302
  30. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  31. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +593 -180
  32. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  33. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +251 -270
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  35. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +501 -292
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  37. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +331 -98
  38. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  39. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +256 -0
  40. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  41. package/artifacts/contracts/instance/base/{ComponentServiceBase.sol/ComponentServiceBase.json → ComponentService.sol/ComponentService.json} +247 -180
  42. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  44. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  45. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +40 -10
  46. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  47. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
  48. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  49. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +71 -45
  50. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  51. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  52. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  53. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  54. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  55. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  56. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  57. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  58. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  59. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +1060 -0
  60. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  61. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +681 -0
  62. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  63. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1289 -0
  64. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  65. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +725 -0
  66. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  67. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +1040 -0
  68. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  69. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +685 -0
  70. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1273 -215
  72. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  73. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +428 -79
  74. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  75. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +627 -0
  76. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  77. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +709 -0
  78. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  79. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +602 -0
  80. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +804 -160
  82. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  83. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +969 -0
  84. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +539 -248
  86. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  87. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +78 -388
  88. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  89. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1615 -0
  90. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  91. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +777 -0
  92. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  93. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +803 -341
  94. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  95. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +334 -93
  96. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  97. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +257 -564
  98. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
  99. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +289 -124
  100. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  101. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  102. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  103. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +244 -133
  104. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  105. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +149 -230
  106. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  107. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  108. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  109. package/artifacts/contracts/registry/Registry.sol/Registry.json +257 -235
  110. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  111. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  112. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  113. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +200 -335
  114. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  115. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +298 -145
  116. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  117. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +559 -0
  118. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  119. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +141 -53
  120. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  121. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  122. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  123. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  124. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +40 -29
  125. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  126. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
  127. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  128. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +21 -34
  129. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  130. package/artifacts/contracts/{experiment/inheritance/IB.sol/IB.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +18 -20
  131. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  132. package/artifacts/contracts/shared/IService.sol/IService.json +86 -172
  133. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  134. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  135. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  136. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +120 -27
  137. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  138. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
  139. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  140. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +294 -61
  141. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  142. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +129 -51
  143. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  144. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
  145. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  146. package/artifacts/contracts/shared/Service.sol/Service.json +191 -163
  147. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  148. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
  149. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  150. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  151. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  152. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  153. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  154. package/artifacts/contracts/test/TestFee.sol/TestFee.json +2 -2
  155. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  156. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +129 -51
  157. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  158. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +6 -6
  159. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  160. package/artifacts/contracts/test/TestService.sol/TestService.json +210 -214
  161. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  162. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  163. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  164. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  165. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -190
  166. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  167. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  168. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +4 -0
  169. package/artifacts/contracts/types/Amount.sol/AmountLib.json +209 -0
  170. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  171. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  172. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  173. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  174. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +179 -0
  175. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  176. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
  177. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  178. package/artifacts/contracts/types/Fee.sol/FeeLib.json +40 -9
  179. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  180. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  181. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  182. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
  183. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  184. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  185. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  186. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  187. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  188. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  189. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +209 -0
  190. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  191. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
  192. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  193. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  194. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  195. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  196. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  197. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  198. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  199. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  200. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +38 -7
  202. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  203. package/artifacts/contracts/types/UFixed.sol/MathLib.json +2 -2
  204. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  205. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +2 -2
  206. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  207. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  208. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  209. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
  210. package/contracts/components/Component.sol +253 -0
  211. package/contracts/components/Distribution.sol +204 -83
  212. package/contracts/components/IComponent.sol +76 -0
  213. package/contracts/components/IDistributionComponent.sol +44 -17
  214. package/contracts/components/IPoolComponent.sol +88 -37
  215. package/contracts/components/IProductComponent.sol +10 -5
  216. package/contracts/components/Pool.sol +222 -167
  217. package/contracts/components/Product.sol +244 -162
  218. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
  219. package/contracts/instance/BundleManager.sol +126 -0
  220. package/contracts/instance/Cloneable.sol +51 -0
  221. package/contracts/instance/IInstance.sol +67 -19
  222. package/contracts/instance/IInstanceService.sol +46 -8
  223. package/contracts/instance/Instance.sol +151 -284
  224. package/contracts/instance/InstanceAccessManager.sol +414 -175
  225. package/contracts/instance/InstanceReader.sol +38 -36
  226. package/contracts/instance/InstanceService.sol +402 -122
  227. package/contracts/instance/InstanceServiceManager.sol +6 -9
  228. package/contracts/instance/ObjectManager.sol +82 -0
  229. package/contracts/instance/base/ComponentService.sol +121 -0
  230. package/contracts/instance/base/KeyValueStore.sol +13 -5
  231. package/contracts/instance/base/Lifecycle.sol +23 -6
  232. package/contracts/instance/module/IAccess.sol +36 -20
  233. package/contracts/instance/module/IBundle.sol +8 -5
  234. package/contracts/instance/module/IComponents.sol +41 -0
  235. package/contracts/instance/module/IDistribution.sol +2 -0
  236. package/contracts/instance/module/IPolicy.sol +41 -9
  237. package/contracts/instance/module/ISetup.sol +7 -21
  238. package/contracts/instance/service/ApplicationService.sol +355 -0
  239. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  240. package/contracts/instance/service/BundleService.sol +443 -0
  241. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  242. package/contracts/instance/service/ClaimService.sol +239 -0
  243. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  244. package/contracts/instance/service/DistributionService.sol +374 -31
  245. package/contracts/instance/service/DistributionServiceManager.sol +7 -10
  246. package/contracts/instance/service/IApplicationService.sol +78 -0
  247. package/contracts/instance/service/IBundleService.sol +102 -0
  248. package/contracts/instance/service/IClaimService.sol +92 -0
  249. package/contracts/instance/service/IDistributionService.sol +87 -0
  250. package/contracts/instance/service/IPolicyService.sol +139 -0
  251. package/contracts/instance/service/IPoolService.sol +80 -21
  252. package/contracts/instance/service/IProductService.sol +2 -72
  253. package/contracts/instance/service/PolicyService.sol +575 -0
  254. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  255. package/contracts/instance/service/PoolService.sol +248 -116
  256. package/contracts/instance/service/PoolServiceManager.sol +6 -9
  257. package/contracts/instance/service/ProductService.sol +105 -456
  258. package/contracts/instance/service/ProductServiceManager.sol +2 -2
  259. package/contracts/registry/ChainNft.sol +9 -1
  260. package/contracts/registry/IRegistry.sol +39 -19
  261. package/contracts/registry/IRegistryService.sol +31 -13
  262. package/contracts/registry/ITransferInterceptor.sol +1 -0
  263. package/contracts/registry/Registry.sol +243 -224
  264. package/contracts/registry/RegistryAccessManager.sol +216 -0
  265. package/contracts/registry/RegistryService.sol +97 -173
  266. package/contracts/registry/RegistryServiceManager.sol +21 -39
  267. package/contracts/registry/ReleaseManager.sol +324 -0
  268. package/contracts/registry/TokenRegistry.sol +22 -17
  269. package/contracts/shared/ERC165.sol +14 -12
  270. package/contracts/shared/INftOwnable.sol +11 -10
  271. package/contracts/shared/IPolicyHolder.sol +26 -0
  272. package/contracts/shared/IRegisterable.sol +4 -6
  273. package/contracts/shared/IRegistryLinked.sol +12 -0
  274. package/contracts/shared/IService.sol +5 -4
  275. package/contracts/shared/IVersionable.sol +4 -47
  276. package/contracts/shared/NftOwnable.sol +66 -80
  277. package/contracts/shared/PolicyHolder.sol +81 -0
  278. package/contracts/shared/ProxyManager.sol +100 -25
  279. package/contracts/shared/Registerable.sol +16 -32
  280. package/contracts/shared/RegistryLinked.sol +48 -0
  281. package/contracts/shared/Service.sol +41 -24
  282. package/contracts/shared/TokenHandler.sol +11 -5
  283. package/contracts/shared/Versionable.sol +4 -92
  284. package/contracts/test/TestRegisterable.sol +1 -1
  285. package/contracts/test/TestService.sol +4 -3
  286. package/contracts/types/Amount.sol +70 -0
  287. package/contracts/types/Blocknumber.sol +1 -0
  288. package/contracts/types/ClaimId.sol +75 -0
  289. package/contracts/types/DistributorType.sol +2 -2
  290. package/contracts/types/Fee.sol +13 -5
  291. package/contracts/types/NftId.sol +8 -0
  292. package/contracts/types/NftIdSet.sol +26 -24
  293. package/contracts/types/ObjectType.sol +11 -6
  294. package/contracts/types/PayoutId.sol +82 -0
  295. package/contracts/types/Referral.sol +4 -0
  296. package/contracts/types/RoleId.sol +26 -19
  297. package/contracts/types/Seconds.sol +54 -0
  298. package/contracts/types/StateId.sol +7 -2
  299. package/contracts/types/Timestamp.sol +18 -13
  300. package/contracts/types/UFixed.sol +1 -0
  301. package/contracts/types/Version.sol +1 -0
  302. package/package.json +3 -3
  303. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  304. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -327
  305. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  306. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -280
  307. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  308. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  309. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  310. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  311. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  312. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  313. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  314. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  315. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  316. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  317. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  318. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  319. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  320. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  321. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  322. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  323. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  324. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  325. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  326. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  327. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  328. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  329. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  330. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  331. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  332. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  333. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  334. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  335. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  336. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  337. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  338. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  339. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  340. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  341. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  342. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  343. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  344. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  345. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  346. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  347. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  348. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
  349. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  350. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  351. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  352. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  353. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  354. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  355. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  356. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  357. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  358. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
  359. package/contracts/components/BaseComponent.sol +0 -91
  360. package/contracts/components/IBaseComponent.sol +0 -25
  361. package/contracts/experiment/cloning/Cloner.sol +0 -47
  362. package/contracts/experiment/errors/Require.sol +0 -38
  363. package/contracts/experiment/errors/Revert.sol +0 -44
  364. package/contracts/experiment/inheritance/A.sol +0 -53
  365. package/contracts/experiment/inheritance/B.sol +0 -28
  366. package/contracts/experiment/inheritance/C.sol +0 -34
  367. package/contracts/experiment/inheritance/IA.sol +0 -13
  368. package/contracts/experiment/inheritance/IB.sol +0 -10
  369. package/contracts/experiment/inheritance/IC.sol +0 -12
  370. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  371. package/contracts/experiment/statemachine/ISM.sol +0 -25
  372. package/contracts/experiment/statemachine/SM.sol +0 -57
  373. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  374. package/contracts/experiment/types/TypeA.sol +0 -47
  375. package/contracts/experiment/types/TypeB.sol +0 -29
  376. package/contracts/instance/AccessManagedSimple.sol +0 -115
  377. package/contracts/instance/AccessManagerSimple.sol +0 -692
  378. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  379. package/contracts/instance/base/ComponentServiceBase.sol +0 -134
  380. package/contracts/instance/base/IInstanceBase.sol +0 -23
  381. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  382. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  383. package/contracts/shared/RegisterableUpgradable.sol +0 -16
@@ -6,183 +6,833 @@
6
6
  {
7
7
  "inputs": [
8
8
  {
9
- "internalType": "ObjectType",
10
- "name": "componentType",
11
- "type": "uint8"
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
12
  }
13
13
  ],
14
- "name": "ComponentTypeInvalid",
14
+ "name": "AccessManagedInvalidAuthority",
15
15
  "type": "error"
16
16
  },
17
17
  {
18
18
  "inputs": [
19
19
  {
20
20
  "internalType": "address",
21
- "name": "registry",
21
+ "name": "caller",
22
22
  "type": "address"
23
23
  },
24
24
  {
25
- "internalType": "NftId",
26
- "name": "nftId",
27
- "type": "uint96"
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
28
  }
29
29
  ],
30
- "name": "ErrorAlreadyLinked",
30
+ "name": "AccessManagedRequiredDelay",
31
31
  "type": "error"
32
32
  },
33
33
  {
34
34
  "inputs": [
35
35
  {
36
36
  "internalType": "address",
37
- "name": "contractAddress",
37
+ "name": "caller",
38
38
  "type": "address"
39
39
  }
40
40
  ],
41
- "name": "ErrorContractNotRegistered",
41
+ "name": "AccessManagedUnauthorized",
42
42
  "type": "error"
43
43
  },
44
44
  {
45
45
  "inputs": [
46
46
  {
47
47
  "internalType": "address",
48
- "name": "account",
48
+ "name": "component",
49
49
  "type": "address"
50
50
  }
51
51
  ],
52
- "name": "ErrorNotOwner",
52
+ "name": "ErrorComponentServiceComponentLocked",
53
53
  "type": "error"
54
54
  },
55
55
  {
56
56
  "inputs": [
57
+ {
58
+ "internalType": "NftId",
59
+ "name": "instanceNftId",
60
+ "type": "uint96"
61
+ },
62
+ {
63
+ "internalType": "RoleId",
64
+ "name": "requiredRole",
65
+ "type": "uint64"
66
+ },
57
67
  {
58
68
  "internalType": "address",
59
- "name": "registryAddress",
69
+ "name": "sender",
60
70
  "type": "address"
61
71
  }
62
72
  ],
63
- "name": "ErrorNotRegistry",
73
+ "name": "ErrorComponentServiceExpectedRoleMissing",
64
74
  "type": "error"
65
75
  },
66
76
  {
67
77
  "inputs": [
68
78
  {
69
79
  "internalType": "address",
70
- "name": "registryAddress",
80
+ "name": "component",
71
81
  "type": "address"
82
+ },
83
+ {
84
+ "internalType": "ObjectType",
85
+ "name": "requiredType",
86
+ "type": "uint8"
87
+ },
88
+ {
89
+ "internalType": "ObjectType",
90
+ "name": "componentType",
91
+ "type": "uint8"
72
92
  }
73
93
  ],
74
- "name": "ErrorRegisterableNotRegistry",
94
+ "name": "ErrorComponentServiceInvalidType",
75
95
  "type": "error"
76
96
  },
77
97
  {
78
- "inputs": [],
79
- "name": "ErrorRegistryAddressZero",
98
+ "inputs": [
99
+ {
100
+ "internalType": "address",
101
+ "name": "component",
102
+ "type": "address"
103
+ }
104
+ ],
105
+ "name": "ErrorComponentServiceNotComponent",
80
106
  "type": "error"
81
107
  },
82
108
  {
83
109
  "inputs": [
84
110
  {
85
111
  "internalType": "address",
86
- "name": "registry",
112
+ "name": "component",
113
+ "type": "address"
114
+ },
115
+ {
116
+ "internalType": "address",
117
+ "name": "initialOwner",
118
+ "type": "address"
119
+ },
120
+ {
121
+ "internalType": "address",
122
+ "name": "sender",
87
123
  "type": "address"
88
124
  }
89
125
  ],
90
- "name": "ErrorRegistryAlreadyInitialized",
126
+ "name": "ErrorComponentServiceSenderNotOwner",
91
127
  "type": "error"
92
128
  },
93
129
  {
94
- "inputs": [],
95
- "name": "ErrorRegistryNotInitialized",
130
+ "inputs": [
131
+ {
132
+ "internalType": "address",
133
+ "name": "caller",
134
+ "type": "address"
135
+ }
136
+ ],
137
+ "name": "ErrorDistributionServiceCallerNotRegistered",
96
138
  "type": "error"
97
139
  },
98
140
  {
99
141
  "inputs": [
100
142
  {
101
- "internalType": "RoleId",
102
- "name": "expected",
103
- "type": "uint64"
104
- },
143
+ "internalType": "address",
144
+ "name": "target",
145
+ "type": "address"
146
+ }
147
+ ],
148
+ "name": "ErrorIAccessTargetLocked",
149
+ "type": "error"
150
+ },
151
+ {
152
+ "inputs": [
105
153
  {
106
154
  "internalType": "address",
107
155
  "name": "caller",
108
156
  "type": "address"
109
157
  }
110
158
  ],
111
- "name": "ExpectedRoleMissing",
159
+ "name": "ErrorIDistributionServiceCallerNotDistributor",
112
160
  "type": "error"
113
161
  },
114
162
  {
115
- "inputs": [],
116
- "name": "InvalidInitialization",
163
+ "inputs": [
164
+ {
165
+ "internalType": "uint256",
166
+ "name": "commissionPercentage",
167
+ "type": "uint256"
168
+ },
169
+ {
170
+ "internalType": "uint256",
171
+ "name": "maxCommissionPercentage",
172
+ "type": "uint256"
173
+ }
174
+ ],
175
+ "name": "ErrorIDistributionServiceCommissionTooHigh",
117
176
  "type": "error"
118
177
  },
119
178
  {
120
- "inputs": [],
121
- "name": "NotInitializing",
179
+ "inputs": [
180
+ {
181
+ "internalType": "uint256",
182
+ "name": "maxDiscountPercentage",
183
+ "type": "uint256"
184
+ },
185
+ {
186
+ "internalType": "uint256",
187
+ "name": "discountPercentage",
188
+ "type": "uint256"
189
+ }
190
+ ],
191
+ "name": "ErrorIDistributionServiceDiscountTooHigh",
122
192
  "type": "error"
123
193
  },
124
194
  {
125
- "anonymous": false,
126
195
  "inputs": [
127
196
  {
128
- "indexed": false,
129
- "internalType": "uint64",
130
- "name": "version",
131
- "type": "uint64"
197
+ "internalType": "uint256",
198
+ "name": "minDiscountPercentage",
199
+ "type": "uint256"
200
+ },
201
+ {
202
+ "internalType": "uint256",
203
+ "name": "discountPercentage",
204
+ "type": "uint256"
132
205
  }
133
206
  ],
134
- "name": "Initialized",
135
- "type": "event"
207
+ "name": "ErrorIDistributionServiceDiscountTooLow",
208
+ "type": "error"
136
209
  },
137
210
  {
138
- "anonymous": false,
139
211
  "inputs": [
140
212
  {
141
- "indexed": false,
142
- "internalType": "Version",
143
- "name": "version",
144
- "type": "uint24"
213
+ "internalType": "Timestamp",
214
+ "name": "expiryAt",
215
+ "type": "uint40"
216
+ }
217
+ ],
218
+ "name": "ErrorIDistributionServiceExpirationInvalid",
219
+ "type": "error"
220
+ },
221
+ {
222
+ "inputs": [
223
+ {
224
+ "internalType": "uint256",
225
+ "name": "maxReferralLifetime",
226
+ "type": "uint256"
145
227
  },
146
228
  {
147
- "indexed": false,
148
- "internalType": "address",
149
- "name": "implementation",
150
- "type": "address"
229
+ "internalType": "uint256",
230
+ "name": "expiryAt",
231
+ "type": "uint256"
232
+ }
233
+ ],
234
+ "name": "ErrorIDistributionServiceExpiryTooLong",
235
+ "type": "error"
236
+ },
237
+ {
238
+ "inputs": [
239
+ {
240
+ "internalType": "uint256",
241
+ "name": "distributionFeeFixAmount",
242
+ "type": "uint256"
151
243
  },
152
244
  {
153
- "indexed": false,
154
- "internalType": "address",
155
- "name": "activatedBy",
156
- "type": "address"
245
+ "internalType": "uint256",
246
+ "name": "distributionFeeVarAmount",
247
+ "type": "uint256"
248
+ },
249
+ {
250
+ "internalType": "uint256",
251
+ "name": "distributionOwnerFeeFixAmount",
252
+ "type": "uint256"
253
+ },
254
+ {
255
+ "internalType": "uint256",
256
+ "name": "distributionOwnerFeeVarAmount",
257
+ "type": "uint256"
258
+ },
259
+ {
260
+ "internalType": "uint256",
261
+ "name": "commissionAmount",
262
+ "type": "uint256"
263
+ },
264
+ {
265
+ "internalType": "uint256",
266
+ "name": "discountAmount",
267
+ "type": "uint256"
157
268
  }
158
269
  ],
159
- "name": "LogVersionableInitialized",
160
- "type": "event"
270
+ "name": "ErrorIDistributionServiceFeeCalculationMismatch",
271
+ "type": "error"
161
272
  },
162
273
  {
163
- "inputs": [],
164
- "name": "NAME",
165
- "outputs": [
274
+ "inputs": [
275
+ {
276
+ "internalType": "uint256",
277
+ "name": "transferredDistributionFeeAmount",
278
+ "type": "uint256"
279
+ },
280
+ {
281
+ "internalType": "uint256",
282
+ "name": "expectedDistributionFeeAmount",
283
+ "type": "uint256"
284
+ }
285
+ ],
286
+ "name": "ErrorIDistributionServiceInvalidFeeTransferred",
287
+ "type": "error"
288
+ },
289
+ {
290
+ "inputs": [
166
291
  {
167
292
  "internalType": "string",
168
- "name": "",
293
+ "name": "code",
169
294
  "type": "string"
170
295
  }
171
296
  ],
172
- "stateMutability": "view",
297
+ "name": "ErrorIDistributionServiceInvalidReferral",
298
+ "type": "error"
299
+ },
300
+ {
301
+ "inputs": [
302
+ {
303
+ "internalType": "ReferralId",
304
+ "name": "referralId",
305
+ "type": "bytes8"
306
+ }
307
+ ],
308
+ "name": "ErrorIDistributionServiceInvalidReferralId",
309
+ "type": "error"
310
+ },
311
+ {
312
+ "inputs": [
313
+ {
314
+ "internalType": "uint256",
315
+ "name": "maxDiscountPercentage",
316
+ "type": "uint256"
317
+ },
318
+ {
319
+ "internalType": "uint256",
320
+ "name": "limit",
321
+ "type": "uint256"
322
+ }
323
+ ],
324
+ "name": "ErrorIDistributionServiceMaxDiscountTooHigh",
325
+ "type": "error"
326
+ },
327
+ {
328
+ "inputs": [
329
+ {
330
+ "internalType": "uint256",
331
+ "name": "maxReferrals",
332
+ "type": "uint256"
333
+ }
334
+ ],
335
+ "name": "ErrorIDistributionServiceMaxReferralsExceeded",
336
+ "type": "error"
337
+ },
338
+ {
339
+ "inputs": [
340
+ {
341
+ "internalType": "uint256",
342
+ "name": "minFee",
343
+ "type": "uint256"
344
+ },
345
+ {
346
+ "internalType": "uint256",
347
+ "name": "limit",
348
+ "type": "uint256"
349
+ }
350
+ ],
351
+ "name": "ErrorIDistributionServiceMinFeeTooHigh",
352
+ "type": "error"
353
+ },
354
+ {
355
+ "inputs": [
356
+ {
357
+ "internalType": "NftId",
358
+ "name": "nftId",
359
+ "type": "uint96"
360
+ },
361
+ {
362
+ "internalType": "NftId",
363
+ "name": "parentNftId",
364
+ "type": "uint96"
365
+ }
366
+ ],
367
+ "name": "ErrorIDistributionServiceParentNftIdNotInstance",
368
+ "type": "error"
369
+ },
370
+ {
371
+ "inputs": [
372
+ {
373
+ "internalType": "NftId",
374
+ "name": "distributionNftId",
375
+ "type": "uint96"
376
+ },
377
+ {
378
+ "internalType": "ReferralId",
379
+ "name": "referralId",
380
+ "type": "bytes8"
381
+ }
382
+ ],
383
+ "name": "ErrorIDistributionServiceReferralInvalid",
384
+ "type": "error"
385
+ },
386
+ {
387
+ "inputs": [
388
+ {
389
+ "internalType": "NftId",
390
+ "name": "nftId",
391
+ "type": "uint96"
392
+ }
393
+ ],
394
+ "name": "ErrorNftOwnableAlreadyLinked",
395
+ "type": "error"
396
+ },
397
+ {
398
+ "inputs": [
399
+ {
400
+ "internalType": "address",
401
+ "name": "contractAddress",
402
+ "type": "address"
403
+ }
404
+ ],
405
+ "name": "ErrorNftOwnableContractNotRegistered",
406
+ "type": "error"
407
+ },
408
+ {
409
+ "inputs": [],
410
+ "name": "ErrorNftOwnableInitialOwnerZero",
411
+ "type": "error"
412
+ },
413
+ {
414
+ "inputs": [
415
+ {
416
+ "internalType": "address",
417
+ "name": "account",
418
+ "type": "address"
419
+ }
420
+ ],
421
+ "name": "ErrorNftOwnableNotOwner",
422
+ "type": "error"
423
+ },
424
+ {
425
+ "inputs": [
426
+ {
427
+ "internalType": "address",
428
+ "name": "registryAddress",
429
+ "type": "address"
430
+ }
431
+ ],
432
+ "name": "ErrorNotRegistry",
433
+ "type": "error"
434
+ },
435
+ {
436
+ "inputs": [],
437
+ "name": "InvalidInitialization",
438
+ "type": "error"
439
+ },
440
+ {
441
+ "inputs": [],
442
+ "name": "NotInitializing",
443
+ "type": "error"
444
+ },
445
+ {
446
+ "anonymous": false,
447
+ "inputs": [
448
+ {
449
+ "indexed": false,
450
+ "internalType": "address",
451
+ "name": "authority",
452
+ "type": "address"
453
+ }
454
+ ],
455
+ "name": "AuthorityUpdated",
456
+ "type": "event"
457
+ },
458
+ {
459
+ "anonymous": false,
460
+ "inputs": [
461
+ {
462
+ "indexed": false,
463
+ "internalType": "uint64",
464
+ "name": "version",
465
+ "type": "uint64"
466
+ }
467
+ ],
468
+ "name": "Initialized",
469
+ "type": "event"
470
+ },
471
+ {
472
+ "inputs": [],
473
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
474
+ "outputs": [
475
+ {
476
+ "internalType": "bytes32",
477
+ "name": "",
478
+ "type": "bytes32"
479
+ }
480
+ ],
481
+ "stateMutability": "view",
482
+ "type": "function"
483
+ },
484
+ {
485
+ "inputs": [],
486
+ "name": "REGISTERABLE_LOCATION_V1",
487
+ "outputs": [
488
+ {
489
+ "internalType": "bytes32",
490
+ "name": "",
491
+ "type": "bytes32"
492
+ }
493
+ ],
494
+ "stateMutability": "view",
495
+ "type": "function"
496
+ },
497
+ {
498
+ "inputs": [],
499
+ "name": "authority",
500
+ "outputs": [
501
+ {
502
+ "internalType": "address",
503
+ "name": "",
504
+ "type": "address"
505
+ }
506
+ ],
507
+ "stateMutability": "view",
508
+ "type": "function"
509
+ },
510
+ {
511
+ "inputs": [
512
+ {
513
+ "internalType": "NftId",
514
+ "name": "distributionNftId",
515
+ "type": "uint96"
516
+ },
517
+ {
518
+ "internalType": "ReferralId",
519
+ "name": "referralId",
520
+ "type": "bytes8"
521
+ },
522
+ {
523
+ "components": [
524
+ {
525
+ "internalType": "uint256",
526
+ "name": "netPremiumAmount",
527
+ "type": "uint256"
528
+ },
529
+ {
530
+ "internalType": "uint256",
531
+ "name": "fullPremiumAmount",
532
+ "type": "uint256"
533
+ },
534
+ {
535
+ "internalType": "uint256",
536
+ "name": "premiumAmount",
537
+ "type": "uint256"
538
+ },
539
+ {
540
+ "internalType": "uint256",
541
+ "name": "productFeeFixAmount",
542
+ "type": "uint256"
543
+ },
544
+ {
545
+ "internalType": "uint256",
546
+ "name": "poolFeeFixAmount",
547
+ "type": "uint256"
548
+ },
549
+ {
550
+ "internalType": "uint256",
551
+ "name": "bundleFeeFixAmount",
552
+ "type": "uint256"
553
+ },
554
+ {
555
+ "internalType": "uint256",
556
+ "name": "distributionFeeFixAmount",
557
+ "type": "uint256"
558
+ },
559
+ {
560
+ "internalType": "uint256",
561
+ "name": "productFeeVarAmount",
562
+ "type": "uint256"
563
+ },
564
+ {
565
+ "internalType": "uint256",
566
+ "name": "poolFeeVarAmount",
567
+ "type": "uint256"
568
+ },
569
+ {
570
+ "internalType": "uint256",
571
+ "name": "bundleFeeVarAmount",
572
+ "type": "uint256"
573
+ },
574
+ {
575
+ "internalType": "uint256",
576
+ "name": "distributionFeeVarAmount",
577
+ "type": "uint256"
578
+ },
579
+ {
580
+ "internalType": "uint256",
581
+ "name": "distributionOwnerFeeFixAmount",
582
+ "type": "uint256"
583
+ },
584
+ {
585
+ "internalType": "uint256",
586
+ "name": "distributionOwnerFeeVarAmount",
587
+ "type": "uint256"
588
+ },
589
+ {
590
+ "internalType": "uint256",
591
+ "name": "commissionAmount",
592
+ "type": "uint256"
593
+ },
594
+ {
595
+ "internalType": "uint256",
596
+ "name": "discountAmount",
597
+ "type": "uint256"
598
+ }
599
+ ],
600
+ "internalType": "struct IPolicy.Premium",
601
+ "name": "premium",
602
+ "type": "tuple"
603
+ }
604
+ ],
605
+ "name": "calculateFeeAmount",
606
+ "outputs": [
607
+ {
608
+ "components": [
609
+ {
610
+ "internalType": "uint256",
611
+ "name": "netPremiumAmount",
612
+ "type": "uint256"
613
+ },
614
+ {
615
+ "internalType": "uint256",
616
+ "name": "fullPremiumAmount",
617
+ "type": "uint256"
618
+ },
619
+ {
620
+ "internalType": "uint256",
621
+ "name": "premiumAmount",
622
+ "type": "uint256"
623
+ },
624
+ {
625
+ "internalType": "uint256",
626
+ "name": "productFeeFixAmount",
627
+ "type": "uint256"
628
+ },
629
+ {
630
+ "internalType": "uint256",
631
+ "name": "poolFeeFixAmount",
632
+ "type": "uint256"
633
+ },
634
+ {
635
+ "internalType": "uint256",
636
+ "name": "bundleFeeFixAmount",
637
+ "type": "uint256"
638
+ },
639
+ {
640
+ "internalType": "uint256",
641
+ "name": "distributionFeeFixAmount",
642
+ "type": "uint256"
643
+ },
644
+ {
645
+ "internalType": "uint256",
646
+ "name": "productFeeVarAmount",
647
+ "type": "uint256"
648
+ },
649
+ {
650
+ "internalType": "uint256",
651
+ "name": "poolFeeVarAmount",
652
+ "type": "uint256"
653
+ },
654
+ {
655
+ "internalType": "uint256",
656
+ "name": "bundleFeeVarAmount",
657
+ "type": "uint256"
658
+ },
659
+ {
660
+ "internalType": "uint256",
661
+ "name": "distributionFeeVarAmount",
662
+ "type": "uint256"
663
+ },
664
+ {
665
+ "internalType": "uint256",
666
+ "name": "distributionOwnerFeeFixAmount",
667
+ "type": "uint256"
668
+ },
669
+ {
670
+ "internalType": "uint256",
671
+ "name": "distributionOwnerFeeVarAmount",
672
+ "type": "uint256"
673
+ },
674
+ {
675
+ "internalType": "uint256",
676
+ "name": "commissionAmount",
677
+ "type": "uint256"
678
+ },
679
+ {
680
+ "internalType": "uint256",
681
+ "name": "discountAmount",
682
+ "type": "uint256"
683
+ }
684
+ ],
685
+ "internalType": "struct IPolicy.Premium",
686
+ "name": "finalPremium",
687
+ "type": "tuple"
688
+ }
689
+ ],
690
+ "stateMutability": "view",
691
+ "type": "function"
692
+ },
693
+ {
694
+ "inputs": [
695
+ {
696
+ "internalType": "address",
697
+ "name": "distributor",
698
+ "type": "address"
699
+ },
700
+ {
701
+ "internalType": "DistributorType",
702
+ "name": "distributorType",
703
+ "type": "bytes8"
704
+ },
705
+ {
706
+ "internalType": "bytes",
707
+ "name": "data",
708
+ "type": "bytes"
709
+ }
710
+ ],
711
+ "name": "createDistributor",
712
+ "outputs": [
713
+ {
714
+ "internalType": "NftId",
715
+ "name": "distributorNftId",
716
+ "type": "uint96"
717
+ }
718
+ ],
719
+ "stateMutability": "nonpayable",
720
+ "type": "function"
721
+ },
722
+ {
723
+ "inputs": [
724
+ {
725
+ "internalType": "string",
726
+ "name": "name",
727
+ "type": "string"
728
+ },
729
+ {
730
+ "internalType": "UFixed",
731
+ "name": "minDiscountPercentage",
732
+ "type": "uint256"
733
+ },
734
+ {
735
+ "internalType": "UFixed",
736
+ "name": "maxDiscountPercentage",
737
+ "type": "uint256"
738
+ },
739
+ {
740
+ "internalType": "UFixed",
741
+ "name": "commissionPercentage",
742
+ "type": "uint256"
743
+ },
744
+ {
745
+ "internalType": "uint32",
746
+ "name": "maxReferralCount",
747
+ "type": "uint32"
748
+ },
749
+ {
750
+ "internalType": "uint32",
751
+ "name": "maxReferralLifetime",
752
+ "type": "uint32"
753
+ },
754
+ {
755
+ "internalType": "bool",
756
+ "name": "allowSelfReferrals",
757
+ "type": "bool"
758
+ },
759
+ {
760
+ "internalType": "bool",
761
+ "name": "allowRenewals",
762
+ "type": "bool"
763
+ },
764
+ {
765
+ "internalType": "bytes",
766
+ "name": "data",
767
+ "type": "bytes"
768
+ }
769
+ ],
770
+ "name": "createDistributorType",
771
+ "outputs": [
772
+ {
773
+ "internalType": "DistributorType",
774
+ "name": "distributorType",
775
+ "type": "bytes8"
776
+ }
777
+ ],
778
+ "stateMutability": "nonpayable",
779
+ "type": "function"
780
+ },
781
+ {
782
+ "inputs": [
783
+ {
784
+ "internalType": "NftId",
785
+ "name": "distributorNftId",
786
+ "type": "uint96"
787
+ },
788
+ {
789
+ "internalType": "string",
790
+ "name": "code",
791
+ "type": "string"
792
+ },
793
+ {
794
+ "internalType": "UFixed",
795
+ "name": "discountPercentage",
796
+ "type": "uint256"
797
+ },
798
+ {
799
+ "internalType": "uint32",
800
+ "name": "maxReferrals",
801
+ "type": "uint32"
802
+ },
803
+ {
804
+ "internalType": "Timestamp",
805
+ "name": "expiryAt",
806
+ "type": "uint40"
807
+ },
808
+ {
809
+ "internalType": "bytes",
810
+ "name": "data",
811
+ "type": "bytes"
812
+ }
813
+ ],
814
+ "name": "createReferral",
815
+ "outputs": [
816
+ {
817
+ "internalType": "ReferralId",
818
+ "name": "referralId",
819
+ "type": "bytes8"
820
+ }
821
+ ],
822
+ "stateMutability": "nonpayable",
173
823
  "type": "function"
174
824
  },
175
825
  {
176
826
  "inputs": [],
177
- "name": "REGISTERABLE_LOCATION_V1",
827
+ "name": "getDomain",
178
828
  "outputs": [
179
829
  {
180
- "internalType": "bytes32",
830
+ "internalType": "ObjectType",
181
831
  "name": "",
182
- "type": "bytes32"
832
+ "type": "uint8"
183
833
  }
184
834
  ],
185
- "stateMutability": "view",
835
+ "stateMutability": "pure",
186
836
  "type": "function"
187
837
  },
188
838
  {
@@ -228,13 +878,8 @@
228
878
  }
229
879
  ],
230
880
  "internalType": "struct IRegistry.ObjectInfo",
231
- "name": "",
881
+ "name": "info",
232
882
  "type": "tuple"
233
- },
234
- {
235
- "internalType": "bytes",
236
- "name": "data",
237
- "type": "bytes"
238
883
  }
239
884
  ],
240
885
  "stateMutability": "view",
@@ -242,12 +887,12 @@
242
887
  },
243
888
  {
244
889
  "inputs": [],
245
- "name": "getInitializedVersion",
890
+ "name": "getInstanceService",
246
891
  "outputs": [
247
892
  {
248
- "internalType": "uint64",
893
+ "internalType": "contract InstanceService",
249
894
  "name": "",
250
- "type": "uint64"
895
+ "type": "address"
251
896
  }
252
897
  ],
253
898
  "stateMutability": "view",
@@ -255,12 +900,12 @@
255
900
  },
256
901
  {
257
902
  "inputs": [],
258
- "name": "getInstanceService",
903
+ "name": "getNftId",
259
904
  "outputs": [
260
905
  {
261
- "internalType": "contract InstanceService",
906
+ "internalType": "NftId",
262
907
  "name": "",
263
- "type": "address"
908
+ "type": "uint96"
264
909
  }
265
910
  ],
266
911
  "stateMutability": "view",
@@ -268,12 +913,12 @@
268
913
  },
269
914
  {
270
915
  "inputs": [],
271
- "name": "getMajorVersion",
916
+ "name": "getOwner",
272
917
  "outputs": [
273
918
  {
274
- "internalType": "VersionPart",
275
- "name": "majorVersion",
276
- "type": "uint8"
919
+ "internalType": "address",
920
+ "name": "",
921
+ "type": "address"
277
922
  }
278
923
  ],
279
924
  "stateMutability": "view",
@@ -281,25 +926,25 @@
281
926
  },
282
927
  {
283
928
  "inputs": [],
284
- "name": "getName",
929
+ "name": "getRegistry",
285
930
  "outputs": [
286
931
  {
287
- "internalType": "string",
288
- "name": "name",
289
- "type": "string"
932
+ "internalType": "contract IRegistry",
933
+ "name": "",
934
+ "type": "address"
290
935
  }
291
936
  ],
292
- "stateMutability": "pure",
937
+ "stateMutability": "view",
293
938
  "type": "function"
294
939
  },
295
940
  {
296
941
  "inputs": [],
297
- "name": "getNftId",
942
+ "name": "getRegistryAddress",
298
943
  "outputs": [
299
944
  {
300
- "internalType": "NftId",
945
+ "internalType": "address",
301
946
  "name": "",
302
- "type": "uint96"
947
+ "type": "address"
303
948
  }
304
949
  ],
305
950
  "stateMutability": "view",
@@ -307,10 +952,10 @@
307
952
  },
308
953
  {
309
954
  "inputs": [],
310
- "name": "getOwner",
955
+ "name": "getRegistryService",
311
956
  "outputs": [
312
957
  {
313
- "internalType": "address",
958
+ "internalType": "contract IRegistryService",
314
959
  "name": "",
315
960
  "type": "address"
316
961
  }
@@ -320,166 +965,311 @@
320
965
  },
321
966
  {
322
967
  "inputs": [],
323
- "name": "getRegistry",
968
+ "name": "getVersion",
324
969
  "outputs": [
325
970
  {
326
- "internalType": "contract IRegistry",
971
+ "internalType": "Version",
327
972
  "name": "",
328
- "type": "address"
973
+ "type": "uint24"
329
974
  }
330
975
  ],
331
- "stateMutability": "view",
976
+ "stateMutability": "pure",
332
977
  "type": "function"
333
978
  },
334
979
  {
335
980
  "inputs": [],
336
- "name": "getRegistryService",
337
- "outputs": [
981
+ "name": "initializeERC165",
982
+ "outputs": [],
983
+ "stateMutability": "nonpayable",
984
+ "type": "function"
985
+ },
986
+ {
987
+ "inputs": [
338
988
  {
339
- "internalType": "contract IRegistryService",
340
- "name": "",
989
+ "internalType": "address",
990
+ "name": "initialOwner",
991
+ "type": "address"
992
+ },
993
+ {
994
+ "internalType": "address",
995
+ "name": "registryAddress",
341
996
  "type": "address"
342
997
  }
343
998
  ],
344
- "stateMutability": "view",
999
+ "name": "initializeNftOwnable",
1000
+ "outputs": [],
1001
+ "stateMutability": "nonpayable",
345
1002
  "type": "function"
346
1003
  },
347
1004
  {
348
- "inputs": [],
349
- "name": "getVersion",
350
- "outputs": [
1005
+ "inputs": [
351
1006
  {
352
- "internalType": "Version",
353
- "name": "",
354
- "type": "uint24"
1007
+ "internalType": "address",
1008
+ "name": "registryAddress",
1009
+ "type": "address"
1010
+ },
1011
+ {
1012
+ "internalType": "NftId",
1013
+ "name": "parentNftId",
1014
+ "type": "uint96"
1015
+ },
1016
+ {
1017
+ "internalType": "ObjectType",
1018
+ "name": "objectType",
1019
+ "type": "uint8"
1020
+ },
1021
+ {
1022
+ "internalType": "bool",
1023
+ "name": "isInterceptor",
1024
+ "type": "bool"
1025
+ },
1026
+ {
1027
+ "internalType": "address",
1028
+ "name": "initialOwner",
1029
+ "type": "address"
1030
+ },
1031
+ {
1032
+ "internalType": "bytes",
1033
+ "name": "registryData",
1034
+ "type": "bytes"
355
1035
  }
356
1036
  ],
357
- "stateMutability": "pure",
1037
+ "name": "initializeRegisterable",
1038
+ "outputs": [],
1039
+ "stateMutability": "nonpayable",
358
1040
  "type": "function"
359
1041
  },
360
1042
  {
361
1043
  "inputs": [
362
1044
  {
363
- "internalType": "uint256",
364
- "name": "idx",
365
- "type": "uint256"
1045
+ "internalType": "address",
1046
+ "name": "registryAddress",
1047
+ "type": "address"
366
1048
  }
367
1049
  ],
368
- "name": "getVersion",
369
- "outputs": [
1050
+ "name": "initializeRegistryLinked",
1051
+ "outputs": [],
1052
+ "stateMutability": "nonpayable",
1053
+ "type": "function"
1054
+ },
1055
+ {
1056
+ "inputs": [
370
1057
  {
371
- "internalType": "Version",
372
- "name": "",
373
- "type": "uint24"
1058
+ "internalType": "address",
1059
+ "name": "registry",
1060
+ "type": "address"
1061
+ },
1062
+ {
1063
+ "internalType": "address",
1064
+ "name": "authority",
1065
+ "type": "address"
1066
+ },
1067
+ {
1068
+ "internalType": "address",
1069
+ "name": "initialOwner",
1070
+ "type": "address"
374
1071
  }
375
1072
  ],
376
- "stateMutability": "view",
1073
+ "name": "initializeService",
1074
+ "outputs": [],
1075
+ "stateMutability": "nonpayable",
1076
+ "type": "function"
1077
+ },
1078
+ {
1079
+ "inputs": [
1080
+ {
1081
+ "internalType": "address",
1082
+ "name": "activatedBy",
1083
+ "type": "address"
1084
+ },
1085
+ {
1086
+ "internalType": "bytes",
1087
+ "name": "data",
1088
+ "type": "bytes"
1089
+ }
1090
+ ],
1091
+ "name": "initializeVersionable",
1092
+ "outputs": [],
1093
+ "stateMutability": "nonpayable",
377
1094
  "type": "function"
378
1095
  },
379
1096
  {
380
1097
  "inputs": [],
381
- "name": "getVersionCount",
1098
+ "name": "isConsumingScheduledOp",
382
1099
  "outputs": [
383
1100
  {
384
- "internalType": "uint256",
1101
+ "internalType": "bytes4",
385
1102
  "name": "",
386
- "type": "uint256"
1103
+ "type": "bytes4"
387
1104
  }
388
1105
  ],
389
1106
  "stateMutability": "view",
390
1107
  "type": "function"
391
1108
  },
1109
+ {
1110
+ "inputs": [],
1111
+ "name": "linkToRegisteredNftId",
1112
+ "outputs": [],
1113
+ "stateMutability": "nonpayable",
1114
+ "type": "function"
1115
+ },
392
1116
  {
393
1117
  "inputs": [
394
1118
  {
395
- "internalType": "Version",
396
- "name": "_version",
397
- "type": "uint24"
398
- }
399
- ],
400
- "name": "getVersionInfo",
401
- "outputs": [
1119
+ "internalType": "NftId",
1120
+ "name": "distributionNftId",
1121
+ "type": "uint96"
1122
+ },
1123
+ {
1124
+ "internalType": "ReferralId",
1125
+ "name": "referralId",
1126
+ "type": "bytes8"
1127
+ },
402
1128
  {
403
1129
  "components": [
404
1130
  {
405
- "internalType": "Version",
406
- "name": "version",
407
- "type": "uint24"
1131
+ "internalType": "uint256",
1132
+ "name": "netPremiumAmount",
1133
+ "type": "uint256"
408
1134
  },
409
1135
  {
410
- "internalType": "address",
411
- "name": "implementation",
412
- "type": "address"
1136
+ "internalType": "uint256",
1137
+ "name": "fullPremiumAmount",
1138
+ "type": "uint256"
413
1139
  },
414
1140
  {
415
- "internalType": "address",
416
- "name": "activatedBy",
417
- "type": "address"
1141
+ "internalType": "uint256",
1142
+ "name": "premiumAmount",
1143
+ "type": "uint256"
1144
+ },
1145
+ {
1146
+ "internalType": "uint256",
1147
+ "name": "productFeeFixAmount",
1148
+ "type": "uint256"
1149
+ },
1150
+ {
1151
+ "internalType": "uint256",
1152
+ "name": "poolFeeFixAmount",
1153
+ "type": "uint256"
1154
+ },
1155
+ {
1156
+ "internalType": "uint256",
1157
+ "name": "bundleFeeFixAmount",
1158
+ "type": "uint256"
1159
+ },
1160
+ {
1161
+ "internalType": "uint256",
1162
+ "name": "distributionFeeFixAmount",
1163
+ "type": "uint256"
1164
+ },
1165
+ {
1166
+ "internalType": "uint256",
1167
+ "name": "productFeeVarAmount",
1168
+ "type": "uint256"
1169
+ },
1170
+ {
1171
+ "internalType": "uint256",
1172
+ "name": "poolFeeVarAmount",
1173
+ "type": "uint256"
1174
+ },
1175
+ {
1176
+ "internalType": "uint256",
1177
+ "name": "bundleFeeVarAmount",
1178
+ "type": "uint256"
1179
+ },
1180
+ {
1181
+ "internalType": "uint256",
1182
+ "name": "distributionFeeVarAmount",
1183
+ "type": "uint256"
1184
+ },
1185
+ {
1186
+ "internalType": "uint256",
1187
+ "name": "distributionOwnerFeeFixAmount",
1188
+ "type": "uint256"
1189
+ },
1190
+ {
1191
+ "internalType": "uint256",
1192
+ "name": "distributionOwnerFeeVarAmount",
1193
+ "type": "uint256"
418
1194
  },
419
1195
  {
420
- "internalType": "Timestamp",
421
- "name": "activatedAt",
422
- "type": "uint40"
1196
+ "internalType": "uint256",
1197
+ "name": "commissionAmount",
1198
+ "type": "uint256"
423
1199
  },
424
1200
  {
425
- "internalType": "Blocknumber",
426
- "name": "activatedIn",
427
- "type": "uint32"
1201
+ "internalType": "uint256",
1202
+ "name": "discountAmount",
1203
+ "type": "uint256"
428
1204
  }
429
1205
  ],
430
- "internalType": "struct IVersionable.VersionInfo",
431
- "name": "",
1206
+ "internalType": "struct IPolicy.Premium",
1207
+ "name": "premium",
432
1208
  "type": "tuple"
1209
+ },
1210
+ {
1211
+ "internalType": "uint256",
1212
+ "name": "transferredDistributionFeeAmount",
1213
+ "type": "uint256"
433
1214
  }
434
1215
  ],
435
- "stateMutability": "view",
1216
+ "name": "processSale",
1217
+ "outputs": [],
1218
+ "stateMutability": "nonpayable",
436
1219
  "type": "function"
437
1220
  },
438
1221
  {
439
1222
  "inputs": [
440
1223
  {
441
- "internalType": "address",
442
- "name": "implementation",
443
- "type": "address"
1224
+ "internalType": "NftId",
1225
+ "name": "distributionNftId",
1226
+ "type": "uint96"
444
1227
  },
445
1228
  {
446
- "internalType": "address",
447
- "name": "activatedBy",
448
- "type": "address"
449
- },
1229
+ "internalType": "ReferralId",
1230
+ "name": "referralId",
1231
+ "type": "bytes8"
1232
+ }
1233
+ ],
1234
+ "name": "referralIsValid",
1235
+ "outputs": [
450
1236
  {
451
- "internalType": "bytes",
452
- "name": "data",
453
- "type": "bytes"
1237
+ "internalType": "bool",
1238
+ "name": "isValid",
1239
+ "type": "bool"
454
1240
  }
455
1241
  ],
456
- "name": "initialize",
457
- "outputs": [],
458
- "stateMutability": "nonpayable",
1242
+ "stateMutability": "view",
459
1243
  "type": "function"
460
1244
  },
461
1245
  {
462
1246
  "inputs": [
463
1247
  {
464
- "internalType": "Version",
465
- "name": "_version",
466
- "type": "uint24"
1248
+ "internalType": "address",
1249
+ "name": "distributionAddress",
1250
+ "type": "address"
467
1251
  }
468
1252
  ],
469
- "name": "isInitialized",
1253
+ "name": "register",
470
1254
  "outputs": [
471
1255
  {
472
- "internalType": "bool",
473
- "name": "",
474
- "type": "bool"
1256
+ "internalType": "NftId",
1257
+ "name": "distributionNftId",
1258
+ "type": "uint96"
475
1259
  }
476
1260
  ],
477
- "stateMutability": "view",
1261
+ "stateMutability": "nonpayable",
478
1262
  "type": "function"
479
1263
  },
480
1264
  {
481
- "inputs": [],
482
- "name": "linkToRegisteredNftId",
1265
+ "inputs": [
1266
+ {
1267
+ "internalType": "bytes4",
1268
+ "name": "interfaceId",
1269
+ "type": "bytes4"
1270
+ }
1271
+ ],
1272
+ "name": "registerInterface",
483
1273
  "outputs": [],
484
1274
  "stateMutability": "nonpayable",
485
1275
  "type": "function"
@@ -488,23 +1278,34 @@
488
1278
  "inputs": [
489
1279
  {
490
1280
  "internalType": "address",
491
- "name": "componentAddress",
1281
+ "name": "newAuthority",
492
1282
  "type": "address"
493
1283
  }
494
1284
  ],
495
- "name": "register",
496
- "outputs": [
497
- {
498
- "internalType": "NftId",
499
- "name": "componentNftId",
500
- "type": "uint96"
501
- }
502
- ],
1285
+ "name": "setAuthority",
1286
+ "outputs": [],
503
1287
  "stateMutability": "nonpayable",
504
1288
  "type": "function"
505
1289
  },
506
1290
  {
507
1291
  "inputs": [
1292
+ {
1293
+ "components": [
1294
+ {
1295
+ "internalType": "UFixed",
1296
+ "name": "fractionalFee",
1297
+ "type": "uint256"
1298
+ },
1299
+ {
1300
+ "internalType": "uint256",
1301
+ "name": "fixedFee",
1302
+ "type": "uint256"
1303
+ }
1304
+ ],
1305
+ "internalType": "struct Fee",
1306
+ "name": "minDistributionOwnerFee",
1307
+ "type": "tuple"
1308
+ },
508
1309
  {
509
1310
  "components": [
510
1311
  {
@@ -550,14 +1351,14 @@
550
1351
  {
551
1352
  "inputs": [
552
1353
  {
553
- "internalType": "address",
554
- "name": "implementation",
555
- "type": "address"
1354
+ "internalType": "NftId",
1355
+ "name": "distributorNftId",
1356
+ "type": "uint96"
556
1357
  },
557
1358
  {
558
- "internalType": "address",
559
- "name": "activatedBy",
560
- "type": "address"
1359
+ "internalType": "DistributorType",
1360
+ "name": "distributorType",
1361
+ "type": "bytes8"
561
1362
  },
562
1363
  {
563
1364
  "internalType": "bytes",
@@ -565,20 +1366,33 @@
565
1366
  "type": "bytes"
566
1367
  }
567
1368
  ],
568
- "name": "upgrade",
1369
+ "name": "updateDistributorType",
1370
+ "outputs": [],
1371
+ "stateMutability": "nonpayable",
1372
+ "type": "function"
1373
+ },
1374
+ {
1375
+ "inputs": [
1376
+ {
1377
+ "internalType": "bytes",
1378
+ "name": "data",
1379
+ "type": "bytes"
1380
+ }
1381
+ ],
1382
+ "name": "upgradeVersionable",
569
1383
  "outputs": [],
570
1384
  "stateMutability": "nonpayable",
571
1385
  "type": "function"
572
1386
  }
573
1387
  ],
574
- "bytecode": "0x60806040523480156200001157600080fd5b50620000546301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600280546001600160a01b031916331790556200007062000076565b6200012a565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000c75760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001275780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b612c97806200013a6000396000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c8063644c45e0116100b8578063b3c650151161007c578063b3c650151461044d578063b88da7591461046d578063caf4e3d414610480578063cc9fc59a14610488578063cde749f414610490578063cf7a1d77146104aa57600080fd5b8063644c45e0146103c1578063893d20e8146103d9578063946dfcfe146103e1578063a3f4df7e14610408578063a745e3df1461043a57600080fd5b80631eff4b221161010a5780631eff4b22146101fd5780633f52c0f6146102325780634420e486146102455780634d459c90146102705780634f421333146103895780635ab1bd531461039c57600080fd5b806301ffc9a7146101475780630d8e6e2c146101895780630fec111c146101a5578063138461e0146101bb57806317d7de7c146101c5575b600080fd5b6101746101553660046122ec565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101916104bd565b60405162ffffff9091168152602001610180565b6101ad610547565b60405161018092919061236d565b6101c361069a565b005b604080518082019091526013815272446973747269627574696f6e5365727669636560681b60208201525b6040516101809190612414565b6102247f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610180565b6101c36102403660046124b7565b6108bc565b6102586102533660046124fe565b610a1f565b6040516001600160601b039091168152602001610180565b61032c61027e36600461252c565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020612c4283398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610180565b61017461039736600461252c565b610d86565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610180565b600154600160a01b90046001600160601b0316610258565b6103a9610e39565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed90154610224565b6101f060405180604001604052806013815260200172446973747269627574696f6e5365727669636560681b81525081565b6101c3610448366004612570565b610f53565b6104556110ad565b6040516001600160401b039091168152602001610180565b61019161047b366004612614565b6110ce565b6103a961111f565b6103a96111da565b610498611252565b60405160ff9091168152602001610180565b6101c36104b8366004612570565b6112d5565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561051e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610542919061262d565b905090565b61054f6122ae565b606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528061059b6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016105e3610e39565b6001600160a01b031681526020018260010180546106009061264a565b80601f016020809104026020016040519081016040528092919081815260200182805461062c9061264a565b80156106795780601f1061064e57610100808354040283529160200191610679565b820191906000526020600020905b81548152906001019060200180831161065c57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156106fc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107209190612699565b15610767576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166107905760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156107d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107fd9190612699565b610825576040516372657a5160e01b81526001600160a01b038216600482015260240161075e565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa15801561086f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089391906126cb565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b6000806108c960786113de565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561090d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061093191906126e6565b8351604051639ad69c6760e01b81526001600160601b0382166004820152919250906000906001600160a01b03841690639ad69c679060240160c060405180830381865afa158015610987573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ab919061270e565b60408181018890525163bd5947e360e01b81529091506001600160a01b0385169063bd5947e3906109e5908590859060ff90600401612818565b600060405180830381600087803b1580156109ff57600080fd5b505af1158015610a13573d6000803e3d6000fd5b50505050505050505050565b6000818082610a2d8261169c565b60ff8116600090815260036020908152604080832054815163379ed74560e21b815291519495506001600160401b0316933393926001600160a01b0388169263de7b5d1492600480830193928290030181865afa158015610a92573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ab691906126e6565b9050610ac06111da565b6001600160a01b0316639c12c9c78385846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b3291906126cb565b6040516001600160e01b031960e086901b1681526001600160a01b0390931660048401526001600160401b0390911660248301526001600160601b03166044820152606401602060405180830381865afa158015610b94573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bb89190612699565b610bef576040516351302f8160e01b81526001600160401b03841660048201526001600160a01b038316602482015260440161075e565b33886000610bfc8261169c565b90506000610c0861111f565b9050610c126122ae565b6060610c268460785b60ff90811691161490565b15610cae57604051638fbc2d8160e01b81526001600160a01b0386811660048301528781166024830152841690638fbc2d81906044015b6000604051808303816000875af1158015610c7c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ca4919081019061295b565b9092509050610d58565b610cb984606e610c1b565b15610cf457604051635d96628960e01b81526001600160a01b0386811660048301528781166024830152841690635d96628990604401610c5d565b610cff84608c610c1b565b15610d3a57604051637286e5e560e01b81526001600160a01b0386811660048301528781166024830152841690637286e5e590604401610c5d565b60405163062839b560e01b815260ff8516600482015260240161075e565b81519c506000610d6783611711565b9050610d748e83836117b3565b50505050505050505050505050919050565b600080600080516020612c4283398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610e0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3291906129be565b1192915050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610e9e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ec29190612699565b15610f4357600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a906024015b602060405180830381865afa158015610f1f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054291906126e6565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610f756104bd565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610fb5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd991906129ec565b600080516020612c228339815191528054600160401b900460ff168061100c575080546001600160401b03808416911610155b1561102a5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556110558585611828565b61105e83611ac7565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b6000610542600080516020612c22833981519152546001600160401b031690565b6000600080516020612c4283398151915260010182815481106110f3576110f3612a09565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000806111346001546001600160a01b031690565b6001600160a01b031663a3bcd81d61114a611252565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa1580156111b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d491906126e6565b92915050565b60006111ee6001546001600160a01b031690565b6001600160a01b031663a3bcd81d611204611252565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e496e7374616e63655365727669636560881b606482015260ff9091166024820152608401610f02565b600061125c6104bd565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156112b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105429190612a1f565b600080516020612c228339815191528054600160401b810460ff1615906001600160401b03166000811580156113085750825b90506000826001600160401b031660011480156113245750303b155b905081158015611332575080155b156113505760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561137a57845460ff60401b1916600160401b1785555b6113848888611828565b61138e8787611acf565b83156113d457845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6113e66122ae565b600154604051636939560f60e11b815233600482015260009182916001600160a01b039091169063d272ac1e90602401602060405180830381865afa158015611433573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061145791906126cb565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156114b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114d69190612699565b6115225760405162461bcd60e51b815260206004820152601760248201527f4552524f525f434f4d504f4e454e545f554e4b4e4f574e000000000000000000604482015260640161075e565b6001546001600160a01b03166040516305247a1760e51b81526001600160601b03831660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801561157d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115a59190810190612a3c565b92506115bb83604001518560ff90811691161490565b6115fd5760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b604482015260640161075e565b60006116116001546001600160a01b031690565b60208501516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611666573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261168e9190810190612a3c565b608001519395939450505050565b600080826001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156116dd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611705919081019061295b565b50604001519392505050565b6000806117266001546001600160a01b031690565b60208401516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa15801561177f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526117a79190810190612a3c565b60800151949350505050565b6000828060200190518101906117c9919061270e565b604051630b24cf5f60e01b81529091506001600160a01b03831690630b24cf5f906117fa9087908590600401612a70565b600060405180830381600087803b15801561181457600080fd5b505af11580156113d4573d6000803e3d6000fd5b611830611c25565b600080516020612c428339815191526000611860600080516020612c22833981519152546001600160401b031690565b9050600061186c6104bd565b9050816001600160401b03166001036118995760028301805462ffffff191662ffffff83161790556118e7565b600283015462ffffff908116908216116118e75760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b604482015260640161075e565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af415801561199b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119bf9190612a8d565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf689061109e9083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b610142611c25565b600080516020612c228339815191528054600160401b810460ff1615906001600160401b0316600081158015611b025750825b90506000826001600160401b03166001148015611b1e5750303b155b905081158015611b2c575080155b15611b4a5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611b7457845460ff60401b1916600160401b1785555b600086806020019051810190611b8a9190612ab4565b600480546001600160a01b039093166001600160a01b0319909316831790559150611bb59089611c5e565b611bc5631b4612f160e31b611db4565b611bd5631fa9607b60e11b611db4565b508315611c1c57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b600080516020612c2283398151915254600160401b900460ff16611c5c57604051631afcd79f60e31b815260040160405180910390fd5b565b611c688282611dd9565b611c70611e6a565b606e60005260036020527f0de2b21138735878e0660eef23d1131fad23d66157bfa1c473a82b60c5169926805467ffffffffffffffff19166001600160401b0392909216919091179055611cc2611ee3565b608c60005260036020527f83339eadc78535e76a031a9a544cf6fa252296becf88992d49fad5f832544a38805467ffffffffffffffff19166001600160401b0392909216919091179055611d14611f1f565b607860005260036020527fe372c44748f4c2908ae7c0a1dc553464478b0394f70953faecd55173b039317c805467ffffffffffffffff19166001600160401b0392909216919091179055611d66611f5a565b608260005260036020527fc3d073881ce0daff4d900012573fe3b8d5b283519b2f509e59d1b978e7cf0fc5805467ffffffffffffffff19166001600160401b03929092169190911790555050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6000611e0b604080518082019091526013815272446973747269627574696f6e5365727669636560681b602082015290565b611e13611252565b604051602001611e24929190612aee565b60405160208183030381529060405290506000611e4084611f95565b90506000611e538583603c848888612000565b611e63631b4612f160e31b611db4565b5050505050565b6040516368aebf7b60e01b8152610190600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015611ebf573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054291906129ec565b6040516368aebf7b60e01b815261012c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401611ea2565b6040516368aebf7b60e01b81526064600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401611ea2565b6040516368aebf7b60e01b815260c8600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401611ea2565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015611fdc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d491906126cb565b6120416301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61204b82876120cc565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016120bb8382612b62565b50611c1c6303fb044760e21b611db4565b6001600160a01b0382166121225760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e657220697320300000604482015260640161075e565b600280546001600160a01b0319166001600160a01b0384161790556121468161214a565b5050565b6001546001600160a01b0316156121835760015460405163fcdbf2d960e01b81526001600160a01b03909116600482015260240161075e565b6001600160a01b0381166121aa5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036121e05760405163fdeac91f60e01b81526001600160a01b038216600482015260240161075e565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632eaf856d60e11b60048201526301ffc9a790602401602060405180830381865afa92505050801561225a575060408051601f3d908101601f1916820190925261225791810190612699565b60015b6122825760405163fdeac91f60e01b81526001600160a01b038216600482015260240161075e565b806121465760405163fdeac91f60e01b81526001600160a01b038316600482015260240161075e565b50565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6000602082840312156122fe57600080fd5b81356001600160e01b03198116811461231657600080fd5b9392505050565b60005b83811015612338578181015183820152602001612320565b50506000910152565b6000815180845261235981602086016020860161231d565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff604085015116608083015260608401516123b160a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e06101008401526123f7610120840182612341565b9050828103602084015261240b8185612341565b95945050505050565b6020815260006123166020830184612341565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b038111828210171561245f5761245f612427565b60405290565b60405160e081016001600160401b038111828210171561245f5761245f612427565b604051601f8201601f191681016001600160401b03811182821017156124af576124af612427565b604052919050565b6000604082840312156124c957600080fd5b6124d161243d565b82358152602083013560208201528091505092915050565b6001600160a01b03811681146122ab57600080fd5b60006020828403121561251057600080fd5b8135612316816124e9565b62ffffff811681146122ab57600080fd5b60006020828403121561253e57600080fd5b81356123168161251b565b60006001600160401b0382111561256257612562612427565b50601f01601f191660200190565b60008060006060848603121561258557600080fd5b8335612590816124e9565b925060208401356125a0816124e9565b915060408401356001600160401b038111156125bb57600080fd5b8401601f810186136125cc57600080fd5b80356125df6125da82612549565b612487565b8181528760208385010111156125f457600080fd5b816020840160208301376000602083830101528093505050509250925092565b60006020828403121561262657600080fd5b5035919050565b60006020828403121561263f57600080fd5b81516123168161251b565b600181811c9082168061265e57607f821691505b60208210810361267e57634e487b7160e01b600052602260045260246000fd5b50919050565b8051801515811461269457600080fd5b919050565b6000602082840312156126ab57600080fd5b61231682612684565b80516001600160601b038116811461269457600080fd5b6000602082840312156126dd57600080fd5b612316826126b4565b6000602082840312156126f857600080fd5b8151612316816124e9565b8051612694816124e9565b600081830360c081121561272157600080fd5b60405160a081018181106001600160401b038211171561274357612743612427565b60405261274f846126b4565b8152602084015161275f816124e9565b60208201526040603f198301121561277657600080fd5b61277e61243d565b915060408401518252606084015160208301528160408201526127a360808501612684565b60608201526127b460a08501612703565b6080820152949350505050565b6001600160601b038151168252602081015160018060a01b0380821660208501526040830151915081516040850152602082015160608501526060830151151560808501528060808401511660a085015250505050565b6001600160601b0384168152610100810161283660208301856127c1565b60ff831660e0830152949350505050565b60ff811681146122ab57600080fd5b805161269481612847565b600082601f83011261287257600080fd5b81516128806125da82612549565b81815284602083860101111561289557600080fd5b6128a682602083016020870161231d565b949350505050565b600060e082840312156128c057600080fd5b6128c8612465565b90506128d3826126b4565b81526128e1602083016126b4565b60208201526128f260408301612856565b604082015261290360608301612684565b606082015261291460808301612703565b608082015261292560a08301612703565b60a082015260c08201516001600160401b0381111561294357600080fd5b61294f84828501612861565b60c08301525092915050565b6000806040838503121561296e57600080fd5b82516001600160401b038082111561298557600080fd5b612991868387016128ae565b935060208501519150808211156129a757600080fd5b506129b485828601612861565b9150509250929050565b6000602082840312156129d057600080fd5b5051919050565b6001600160401b03811681146122ab57600080fd5b6000602082840312156129fe57600080fd5b8151612316816129d7565b634e487b7160e01b600052603260045260246000fd5b600060208284031215612a3157600080fd5b815161231681612847565b600060208284031215612a4e57600080fd5b81516001600160401b03811115612a6457600080fd5b6128a6848285016128ae565b6001600160601b038316815260e0810161231660208301846127c1565b600060208284031215612a9f57600080fd5b815164ffffffffff8116811461231657600080fd5b60008060408385031215612ac757600080fd5b8251612ad2816124e9565b6020840151909250612ae3816124e9565b809150509250929050565b604081526000612b016040830185612341565b905060ff831660208301529392505050565b601f821115612b5d57600081815260208120601f850160051c81016020861015612b3a5750805b601f850160051c820191505b81811015612b5957828155600101612b46565b5050505b505050565b81516001600160401b03811115612b7b57612b7b612427565b612b8f81612b89845461264a565b84612b13565b602080601f831160018114612bc45760008415612bac5750858301515b600019600386901b1c1916600185901b178555612b59565b600085815260208120601f198616915b82811015612bf357888601518255948401946001909101908401612bd4565b5085821015612c115787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212201649d24aa3f2ce54049f32293413f802dec09cc31889f4fae3d894ade697b31764736f6c63430008140033",
575
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101425760003560e01c8063644c45e0116100b8578063b3c650151161007c578063b3c650151461044d578063b88da7591461046d578063caf4e3d414610480578063cc9fc59a14610488578063cde749f414610490578063cf7a1d77146104aa57600080fd5b8063644c45e0146103c1578063893d20e8146103d9578063946dfcfe146103e1578063a3f4df7e14610408578063a745e3df1461043a57600080fd5b80631eff4b221161010a5780631eff4b22146101fd5780633f52c0f6146102325780634420e486146102455780634d459c90146102705780634f421333146103895780635ab1bd531461039c57600080fd5b806301ffc9a7146101475780630d8e6e2c146101895780630fec111c146101a5578063138461e0146101bb57806317d7de7c146101c5575b600080fd5b6101746101553660046122ec565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101916104bd565b60405162ffffff9091168152602001610180565b6101ad610547565b60405161018092919061236d565b6101c361069a565b005b604080518082019091526013815272446973747269627574696f6e5365727669636560681b60208201525b6040516101809190612414565b6102247f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610180565b6101c36102403660046124b7565b6108bc565b6102586102533660046124fe565b610a1f565b6040516001600160601b039091168152602001610180565b61032c61027e36600461252c565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020612c4283398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610180565b61017461039736600461252c565b610d86565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610180565b600154600160a01b90046001600160601b0316610258565b6103a9610e39565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed90154610224565b6101f060405180604001604052806013815260200172446973747269627574696f6e5365727669636560681b81525081565b6101c3610448366004612570565b610f53565b6104556110ad565b6040516001600160401b039091168152602001610180565b61019161047b366004612614565b6110ce565b6103a961111f565b6103a96111da565b610498611252565b60405160ff9091168152602001610180565b6101c36104b8366004612570565b6112d5565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561051e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610542919061262d565b905090565b61054f6122ae565b606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528061059b6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016105e3610e39565b6001600160a01b031681526020018260010180546106009061264a565b80601f016020809104026020016040519081016040528092919081815260200182805461062c9061264a565b80156106795780601f1061064e57610100808354040283529160200191610679565b820191906000526020600020905b81548152906001019060200180831161065c57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156106fc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107209190612699565b15610767576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166107905760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156107d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107fd9190612699565b610825576040516372657a5160e01b81526001600160a01b038216600482015260240161075e565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa15801561086f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089391906126cb565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b6000806108c960786113de565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561090d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061093191906126e6565b8351604051639ad69c6760e01b81526001600160601b0382166004820152919250906000906001600160a01b03841690639ad69c679060240160c060405180830381865afa158015610987573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ab919061270e565b60408181018890525163bd5947e360e01b81529091506001600160a01b0385169063bd5947e3906109e5908590859060ff90600401612818565b600060405180830381600087803b1580156109ff57600080fd5b505af1158015610a13573d6000803e3d6000fd5b50505050505050505050565b6000818082610a2d8261169c565b60ff8116600090815260036020908152604080832054815163379ed74560e21b815291519495506001600160401b0316933393926001600160a01b0388169263de7b5d1492600480830193928290030181865afa158015610a92573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ab691906126e6565b9050610ac06111da565b6001600160a01b0316639c12c9c78385846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b3291906126cb565b6040516001600160e01b031960e086901b1681526001600160a01b0390931660048401526001600160401b0390911660248301526001600160601b03166044820152606401602060405180830381865afa158015610b94573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bb89190612699565b610bef576040516351302f8160e01b81526001600160401b03841660048201526001600160a01b038316602482015260440161075e565b33886000610bfc8261169c565b90506000610c0861111f565b9050610c126122ae565b6060610c268460785b60ff90811691161490565b15610cae57604051638fbc2d8160e01b81526001600160a01b0386811660048301528781166024830152841690638fbc2d81906044015b6000604051808303816000875af1158015610c7c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ca4919081019061295b565b9092509050610d58565b610cb984606e610c1b565b15610cf457604051635d96628960e01b81526001600160a01b0386811660048301528781166024830152841690635d96628990604401610c5d565b610cff84608c610c1b565b15610d3a57604051637286e5e560e01b81526001600160a01b0386811660048301528781166024830152841690637286e5e590604401610c5d565b60405163062839b560e01b815260ff8516600482015260240161075e565b81519c506000610d6783611711565b9050610d748e83836117b3565b50505050505050505050505050919050565b600080600080516020612c4283398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610e0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3291906129be565b1192915050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610e9e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ec29190612699565b15610f4357600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a906024015b602060405180830381865afa158015610f1f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054291906126e6565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610f756104bd565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610fb5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd991906129ec565b600080516020612c228339815191528054600160401b900460ff168061100c575080546001600160401b03808416911610155b1561102a5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556110558585611828565b61105e83611ac7565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b6000610542600080516020612c22833981519152546001600160401b031690565b6000600080516020612c4283398151915260010182815481106110f3576110f3612a09565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000806111346001546001600160a01b031690565b6001600160a01b031663a3bcd81d61114a611252565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa1580156111b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d491906126e6565b92915050565b60006111ee6001546001600160a01b031690565b6001600160a01b031663a3bcd81d611204611252565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e496e7374616e63655365727669636560881b606482015260ff9091166024820152608401610f02565b600061125c6104bd565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156112b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105429190612a1f565b600080516020612c228339815191528054600160401b810460ff1615906001600160401b03166000811580156113085750825b90506000826001600160401b031660011480156113245750303b155b905081158015611332575080155b156113505760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561137a57845460ff60401b1916600160401b1785555b6113848888611828565b61138e8787611acf565b83156113d457845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6113e66122ae565b600154604051636939560f60e11b815233600482015260009182916001600160a01b039091169063d272ac1e90602401602060405180830381865afa158015611433573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061145791906126cb565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156114b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114d69190612699565b6115225760405162461bcd60e51b815260206004820152601760248201527f4552524f525f434f4d504f4e454e545f554e4b4e4f574e000000000000000000604482015260640161075e565b6001546001600160a01b03166040516305247a1760e51b81526001600160601b03831660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801561157d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115a59190810190612a3c565b92506115bb83604001518560ff90811691161490565b6115fd5760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b604482015260640161075e565b60006116116001546001600160a01b031690565b60208501516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611666573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261168e9190810190612a3c565b608001519395939450505050565b600080826001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156116dd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611705919081019061295b565b50604001519392505050565b6000806117266001546001600160a01b031690565b60208401516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa15801561177f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526117a79190810190612a3c565b60800151949350505050565b6000828060200190518101906117c9919061270e565b604051630b24cf5f60e01b81529091506001600160a01b03831690630b24cf5f906117fa9087908590600401612a70565b600060405180830381600087803b15801561181457600080fd5b505af11580156113d4573d6000803e3d6000fd5b611830611c25565b600080516020612c428339815191526000611860600080516020612c22833981519152546001600160401b031690565b9050600061186c6104bd565b9050816001600160401b03166001036118995760028301805462ffffff191662ffffff83161790556118e7565b600283015462ffffff908116908216116118e75760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b604482015260640161075e565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af415801561199b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119bf9190612a8d565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf689061109e9083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b610142611c25565b600080516020612c228339815191528054600160401b810460ff1615906001600160401b0316600081158015611b025750825b90506000826001600160401b03166001148015611b1e5750303b155b905081158015611b2c575080155b15611b4a5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611b7457845460ff60401b1916600160401b1785555b600086806020019051810190611b8a9190612ab4565b600480546001600160a01b039093166001600160a01b0319909316831790559150611bb59089611c5e565b611bc5631b4612f160e31b611db4565b611bd5631fa9607b60e11b611db4565b508315611c1c57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b600080516020612c2283398151915254600160401b900460ff16611c5c57604051631afcd79f60e31b815260040160405180910390fd5b565b611c688282611dd9565b611c70611e6a565b606e60005260036020527f0de2b21138735878e0660eef23d1131fad23d66157bfa1c473a82b60c5169926805467ffffffffffffffff19166001600160401b0392909216919091179055611cc2611ee3565b608c60005260036020527f83339eadc78535e76a031a9a544cf6fa252296becf88992d49fad5f832544a38805467ffffffffffffffff19166001600160401b0392909216919091179055611d14611f1f565b607860005260036020527fe372c44748f4c2908ae7c0a1dc553464478b0394f70953faecd55173b039317c805467ffffffffffffffff19166001600160401b0392909216919091179055611d66611f5a565b608260005260036020527fc3d073881ce0daff4d900012573fe3b8d5b283519b2f509e59d1b978e7cf0fc5805467ffffffffffffffff19166001600160401b03929092169190911790555050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6000611e0b604080518082019091526013815272446973747269627574696f6e5365727669636560681b602082015290565b611e13611252565b604051602001611e24929190612aee565b60405160208183030381529060405290506000611e4084611f95565b90506000611e538583603c848888612000565b611e63631b4612f160e31b611db4565b5050505050565b6040516368aebf7b60e01b8152610190600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015611ebf573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054291906129ec565b6040516368aebf7b60e01b815261012c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401611ea2565b6040516368aebf7b60e01b81526064600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401611ea2565b6040516368aebf7b60e01b815260c8600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401611ea2565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015611fdc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d491906126cb565b6120416301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61204b82876120cc565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016120bb8382612b62565b50611c1c6303fb044760e21b611db4565b6001600160a01b0382166121225760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e657220697320300000604482015260640161075e565b600280546001600160a01b0319166001600160a01b0384161790556121468161214a565b5050565b6001546001600160a01b0316156121835760015460405163fcdbf2d960e01b81526001600160a01b03909116600482015260240161075e565b6001600160a01b0381166121aa5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036121e05760405163fdeac91f60e01b81526001600160a01b038216600482015260240161075e565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632eaf856d60e11b60048201526301ffc9a790602401602060405180830381865afa92505050801561225a575060408051601f3d908101601f1916820190925261225791810190612699565b60015b6122825760405163fdeac91f60e01b81526001600160a01b038216600482015260240161075e565b806121465760405163fdeac91f60e01b81526001600160a01b038316600482015260240161075e565b50565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6000602082840312156122fe57600080fd5b81356001600160e01b03198116811461231657600080fd5b9392505050565b60005b83811015612338578181015183820152602001612320565b50506000910152565b6000815180845261235981602086016020860161231d565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff604085015116608083015260608401516123b160a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e06101008401526123f7610120840182612341565b9050828103602084015261240b8185612341565b95945050505050565b6020815260006123166020830184612341565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b038111828210171561245f5761245f612427565b60405290565b60405160e081016001600160401b038111828210171561245f5761245f612427565b604051601f8201601f191681016001600160401b03811182821017156124af576124af612427565b604052919050565b6000604082840312156124c957600080fd5b6124d161243d565b82358152602083013560208201528091505092915050565b6001600160a01b03811681146122ab57600080fd5b60006020828403121561251057600080fd5b8135612316816124e9565b62ffffff811681146122ab57600080fd5b60006020828403121561253e57600080fd5b81356123168161251b565b60006001600160401b0382111561256257612562612427565b50601f01601f191660200190565b60008060006060848603121561258557600080fd5b8335612590816124e9565b925060208401356125a0816124e9565b915060408401356001600160401b038111156125bb57600080fd5b8401601f810186136125cc57600080fd5b80356125df6125da82612549565b612487565b8181528760208385010111156125f457600080fd5b816020840160208301376000602083830101528093505050509250925092565b60006020828403121561262657600080fd5b5035919050565b60006020828403121561263f57600080fd5b81516123168161251b565b600181811c9082168061265e57607f821691505b60208210810361267e57634e487b7160e01b600052602260045260246000fd5b50919050565b8051801515811461269457600080fd5b919050565b6000602082840312156126ab57600080fd5b61231682612684565b80516001600160601b038116811461269457600080fd5b6000602082840312156126dd57600080fd5b612316826126b4565b6000602082840312156126f857600080fd5b8151612316816124e9565b8051612694816124e9565b600081830360c081121561272157600080fd5b60405160a081018181106001600160401b038211171561274357612743612427565b60405261274f846126b4565b8152602084015161275f816124e9565b60208201526040603f198301121561277657600080fd5b61277e61243d565b915060408401518252606084015160208301528160408201526127a360808501612684565b60608201526127b460a08501612703565b6080820152949350505050565b6001600160601b038151168252602081015160018060a01b0380821660208501526040830151915081516040850152602082015160608501526060830151151560808501528060808401511660a085015250505050565b6001600160601b0384168152610100810161283660208301856127c1565b60ff831660e0830152949350505050565b60ff811681146122ab57600080fd5b805161269481612847565b600082601f83011261287257600080fd5b81516128806125da82612549565b81815284602083860101111561289557600080fd5b6128a682602083016020870161231d565b949350505050565b600060e082840312156128c057600080fd5b6128c8612465565b90506128d3826126b4565b81526128e1602083016126b4565b60208201526128f260408301612856565b604082015261290360608301612684565b606082015261291460808301612703565b608082015261292560a08301612703565b60a082015260c08201516001600160401b0381111561294357600080fd5b61294f84828501612861565b60c08301525092915050565b6000806040838503121561296e57600080fd5b82516001600160401b038082111561298557600080fd5b612991868387016128ae565b935060208501519150808211156129a757600080fd5b506129b485828601612861565b9150509250929050565b6000602082840312156129d057600080fd5b5051919050565b6001600160401b03811681146122ab57600080fd5b6000602082840312156129fe57600080fd5b8151612316816129d7565b634e487b7160e01b600052603260045260246000fd5b600060208284031215612a3157600080fd5b815161231681612847565b600060208284031215612a4e57600080fd5b81516001600160401b03811115612a6457600080fd5b6128a6848285016128ae565b6001600160601b038316815260e0810161231660208301846127c1565b600060208284031215612a9f57600080fd5b815164ffffffffff8116811461231657600080fd5b60008060408385031215612ac757600080fd5b8251612ad2816124e9565b6020840151909250612ae3816124e9565b809150509250929050565b604081526000612b016040830185612341565b905060ff831660208301529392505050565b601f821115612b5d57600081815260208120601f850160051c81016020861015612b3a5750805b601f850160051c820191505b81811015612b5957828155600101612b46565b5050505b505050565b81516001600160401b03811115612b7b57612b7b612427565b612b8f81612b89845461264a565b84612b13565b602080601f831160018114612bc45760008415612bac5750858301515b600019600386901b1c1916600185901b178555612b59565b600085815260208120601f198616915b82811015612bf357888601518255948401946001909101908401612bd4565b5085821015612c115787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212201649d24aa3f2ce54049f32293413f802dec09cc31889f4fae3d894ade697b31764736f6c63430008140033",
1388
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b615dd680620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101fb5760003560e01c80635dcb3bae1161011a578063ada9652e116100ad578063caf4e3d41161007c578063caf4e3d414610553578063cc9fc59a1461055b578063d25f509514610563578063f21de1e814610433578063f7c34ee01461057657600080fd5b8063ada9652e146104fe578063b68d180914610513578063b6b412ba14610522578063bf7e214f1461053557600080fd5b8063893d20e8116100e9578063893d20e8146104af5780638dd2b781146104b75780638e32e979146104ca5780638fb36037146104dd57600080fd5b80635dcb3bae14610458578063644c45e01461046b578063675393bf146104895780637a9e5e4b1461049c57600080fd5b806327bb7a33116101925780633d683fd9116101615780633d683fd9146103e25780634420e486146103f557806349bb9e4b146104205780635ab1bd531461043357600080fd5b806327bb7a33146103945780632b5198b1146103a7578063329d6e74146103c757806336fc697e146103da57600080fd5b80631eff4b22116101ce5780631eff4b221461027d578063214cdb80146102b2578063219a3195146102c557806325d073841461038157600080fd5b806301ffc9a7146102005780630d8e6e2c146102425780630fec111c1461025e578063138461e014610273575b600080fd5b61022d61020e366004614887565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61024a610589565b60405162ffffff9091168152602001610239565b610266610613565b6040516102399190614901565b61027b6107c7565b005b6102a47f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610239565b61027b6102c0366004614887565b6109ce565b6102d86102d3366004614b70565b6109fb565b6040516102399190815181526020808301519082015260408083015190820152606080830151908201526080808301519082015260a0808301519082015260c0808301519082015260e08083015190820152610100808301519082015261012080830151908201526101408083015190820152610160808301519082015261018080830151908201526101a080830151908201526101c091820151918101919091526101e00190565b61022d61038f366004614bb9565b611288565b61027b6103a2366004614cb1565b6115bb565b6103ba6103b5366004614d5b565b611647565b6040516102399190614e27565b61027b6103d5366004614e3c565b611b10565b61027b611c5d565b61027b6103f0366004614e70565b611ca3565b610408610403366004614ed1565b611e10565b6040516001600160601b039091168152602001610239565b61027b61042e366004614eee565b6122ac565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610239565b610408610466366004614f3d565b6123ab565b600080516020615d41833981519152546001600160601b0316610408565b61027b610497366004614ed1565b61254b565b61027b6104aa366004614ed1565b612659565b6104406126f3565b6103ba6104c5366004614f70565b61282a565b61027b6104d836600461500a565b613036565b6104e561326f565b6040516001600160e01b03199091168152602001610239565b6102a4600080516020615d4183398151915281565b60405160788152602001610239565b61027b610530366004615085565b6132a7565b600080516020615d61833981519152546001600160a01b0316610440565b61044061352d565b610440613539565b61027b6105713660046150ba565b613545565b61027b61058436600461510c565b613a09565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156105ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060e919061513a565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b909104161515918101919091526001820180549192916060840191906106c39061515f565b80601f01602080910402602001604051908101604052809291908181526020018280546106ef9061515f565b801561073c5780601f106107115761010080835404028352916020019161073c565b820191906000526020600020905b81548152906001019060200180831161071f57829003601f168201915b50505050508152505090506040518060e0016040528061075a600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016107ab6126f3565b6001600160a01b03168152602001826060015181525091505090565b6000600080516020615d4183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610836573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061085a91906151a4565b1561088b5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b3061089e6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156108e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061090a91906151a4565b6109325760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610882565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610986573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109aa91906151cc565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6109d6613a80565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610a74604051806101e001604052806000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6000610a7f85613ab9565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ac1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae591906151e9565b604051639ad69c6760e01b81526001600160601b03881660048201529091506000906001600160a01b03831690639ad69c679060240161010060405180830381865afa158015610b39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b5d9190615241565b6060810151604080830151885191516322f5db0f60e11b81529394509192600091610bf79173__$5ac3274b8cf1e01ea223bf093142af05b0$__916345ebb61e91610baf919060040190815260200190565b602060405180830381865af4158015610bcc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bf091906152e2565b8451613be2565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610c48573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c6c91906152e2565b61014089018190526020890180519192508291610c8a908390615311565b905250610c978a8a611288565b610cc95750505060c0850151610160860152505050610140820151610180830152506020810151604082015280611281565b604051631d3be47760e01b81526000906001600160a01b03871690631d3be47790610cf8908d90600401614e27565b600060405180830381865afa158015610d15573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d3d919081019061537f565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b038816906327b1d79290602401600060405180830381865afa158015610d93573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610dbb919081019061545d565b80516040516368322c6360e11b81529192506000916001600160a01b038a169163d06458c691610dee9190600401614e27565b600060405180830381865afa158015610e0b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e339190810190615506565b8b516040516322f5db0f60e11b8152600481019190915290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af4158015610e8c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eb091906152e2565b60608301516040516332292b2760e21b815273__$5ac3274b8cf1e01ea223bf093142af05b0$__9263c8a4ac9c92610ef392600401918252602082015260400190565b602060405180830381865af4158015610f10573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f3491906152e2565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610f85573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa991906152e2565b6101a08d0181905260208d01516040516322f5db0f60e11b815291925073__$5ac3274b8cf1e01ea223bf093142af05b0$__916345ebb61e91610ff29160040190815260200190565b602060405180830381865af415801561100f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061103391906152e2565b60408086015190516332292b2760e21b815273__$5ac3274b8cf1e01ea223bf093142af05b0$__9263c8a4ac9c9261107692600401918252602082015260400190565b602060405180830381865af4158015611093573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110b791906152e2565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015611108573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061112c91906152e2565b6101c08d0181905260208701516101608e015261114982876155fd565b61115391906155fd565b6101808d01526101c08c015160208d015161116e91906155fd565b60408d015250505050602082015161016089015110156111e75760c08801516101408901516101608a01516101808b01516101a08c01516101c08d015160405163a4d2313f60e01b81526004810196909652602486019490945260448501929092526064840152608483015260a482015260c401610882565b876101a00151886101800151896101c001516112039190615311565b61120d9190615311565b886101400151146112775760c08801516101408901516101608a01516101808b01516101a08c01516101c08d015160405163a4d2313f60e01b81526004810196909652602486019490945260448501929092526064840152608483015260a482015260c401610882565b8796505050505050505b9392505050565b60008061129484613ab9565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112fa91906151e9565b6001600160a01b0316631d3be477856040518263ffffffff1660e01b81526004016113259190614e27565b600060405180830381865afa158015611342573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261136a919081019061537f565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af41580156113c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ec91906151a4565b156113fc576000925050506115b5565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015611458573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061147c91906151a4565b8061158e575060a0810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af41580156114de573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061150291906151a4565b801561158e575061158e73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611555573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115799190615610565b8260a0015164ffffffffff9081169116111590565b92508280156115b05750806060015163ffffffff16816080015163ffffffff16105b925050505b92915050565b6115c3613a80565b6115cd8287613a09565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b8615150217815590506001810161163d838261567b565b5050505050505050565b6000806000611654613bf7565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611698573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116bc91906151e9565b604051639ad69c6760e01b81526001600160601b03851660048201526001600160a01b039190911690639ad69c679060240161010060405180830381865afa15801561170c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117309190615241565b60408181015151905163771602f760e01b81526004810191909152602481018c905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063771602f790604401602060405180830381865af4158015611794573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117b891906152e2565b60608301515160405163b67d77c560e01b815260048101919091526024810182905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063b67d77c590604401602060405180830381865af415801561181c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061184091906152e2565b6040516321e5749b60e01b8152600481018f90526024810182905290915073__$5ac3274b8cf1e01ea223bf093142af05b0$__906321e5749b90604401602060405180830381865af415801561189a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118be91906151a4565b156119cd57604051632255341b60e11b8152600481018e905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015611913573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061193791906152e2565b604051632255341b60e11b81526004810183905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015611987573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119ab91906152e2565b60405163e2ed03dd60e01b815260048101929092526024820152604401610882565b50505073__$5906aa3f06c54ee09b434647963e1d1ed0$__63578c3039838e6040518363ffffffff1660e01b8152600401611a0992919061573a565b602060405180830381865af4158015611a26573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a4a919061575c565b925060006040518061012001604052808e81526020018d81526020018c81526020018b81526020018a63ffffffff1681526020018963ffffffff16815260200188151581526020018715158152602001868152509050816001600160a01b03166330a130ba85836040518363ffffffff1660e01b8152600401611ace929190615779565b600060405180830381600087803b158015611ae857600080fd5b505af1158015611afc573d6000803e3d6000fd5b505050505050509998505050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c611b32610589565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611b72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b969190615851565b600080516020615d818339815191528054600160401b900460ff1680611bc9575080546001600160401b03808416911610155b15611be75760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155611c1183613e7b565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b611c65613a80565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000611cad613bf7565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611cf0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d1491906151e9565b6040516313d8ebc960e11b81526001600160601b03871660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa158015611d67573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d8f919081019061545d565b6001600160c01b031986168152604080820186905251633ed2a38d60e21b81529091506001600160a01b0384169063fb4a8e3490611dd6908990859060ff906004016158c5565b600060405180830381600087803b158015611df057600080fd5b505af1158015611e04573d6000803e3d6000fd5b50505050505050505050565b600080808080611e29866078611e24613e83565b613efb565b93509350935093506000611e3b61352d565b604051638fbc2d8160e01b81526001600160a01b03878116600483015286811660248301529190911690638fbc2d81906044016000604051808303816000875af1158015611e8d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611eb59190810190615905565b90506000879050806001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611ef757600080fd5b505af1158015611f0b573d6000803e3d6000fd5b5050505081600001519650836001600160a01b0316639e90178c88836001600160a01b031663c200b8096040518163ffffffff1660e01b815260040161010060405180830381865afa158015611f65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f899190615241565b6040518363ffffffff1660e01b8152600401611fa6929190615a0f565b600060405180830381600087803b158015611fc057600080fd5b505af1158015611fd4573d6000803e3d6000fd5b506000925060029150611fe49050565b60405190808252806020026020018201604052801561201757816020015b60608152602001906001900390816120025790505b5060408051600180825281830190925291925060208083019080368337019050508160008151811061204b5761204b615a2d565b60209081029190910101526040805160028082526060820190925290816020016020820280368337019050508160018151811061208a5761208a615a2d565b602002602001018190525063b6b412ba60e01b816000815181106120b0576120b0615a2d565b60200260200101516000815181106120ca576120ca615a2d565b6001600160e01b0319909216602092830291909101909101528051637c07103960e11b908290600190811061210157612101615a2d565b602002602001015160008151811061211b5761211b615a2d565b6001600160e01b031992909216602092830291909101820152604080516002808252606082018352600093919290918301908036833701905050905061215f613e83565b8160008151811061217257612172615a2d565b60200260200101906001600160401b031690816001600160401b03168152505061219a6141ec565b816001815181106121ad576121ad615a2d565b60200260200101906001600160401b031690816001600160401b0316815250506121d5613539565b6001600160a01b0316636c6fbb28868c866001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015612223573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261224b9190810190615a43565b86866040518663ffffffff1660e01b815260040161226d959493929190615abb565b600060405180830381600087803b15801561228757600080fd5b505af115801561229b573d6000803e3d6000fd5b505050505050505050505050919050565b600080516020615d818339815191528054600160401b810460ff1615906001600160401b03166000811580156122df5750825b90506000826001600160401b031660011480156122fb5750303b155b905081158015612309575080155b156123275760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561235157845460ff60401b1916600160401b1785555b61235b8787614228565b83156123a257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b60008060006123b8613bf7565b915091506123c461352d565b6001600160a01b03166357a8fba76040518060e001604052806123e5600090565b6001600160601b03168152602001856001600160601b0316815260200161240a607a90565b60ff16815260200160011515815260200160006001600160a01b03168152602001896001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b81526004016124699190614901565b6020604051808303816000875af1158015612488573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124ac91906151cc565b6040805160a0810182526001600160c01b0319881681526001602082015280820187905260006060820181905260808201529051635338a4af60e11b8152919450906001600160a01b0383169063a671495e9061250f9087908590600401615b8f565b600060405180830381600087803b15801561252957600080fd5b505af115801561253d573d6000803e3d6000fd5b505050505050509392505050565b612553613a80565b806001600160a01b03163b6000036125895760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610882565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015612603575060408051601f3d908101601f19168201909252612600918101906151a4565b60015b61262b5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610882565b806126545760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610882565b505b50565b33612679600080516020615d61833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b0316146126b45760405162d1953b60e31b81526001600160a01b0382166004820152602401610882565b816001600160a01b03163b6000036126ea576040516361798f2f60e11b81526001600160a01b0383166004820152602401610882565b61265482614348565b600080600080516020615d4183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015612763573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061278791906151a4565b15612814576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156127ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061280e91906151e9565b91505090565b54600160601b90046001600160a01b0316919050565b6000806000612837613bf7565b91509150875160000361285f5787604051634fad6a5360e11b81526004016108829190615bb1565b60405163790a38ad60e01b815264ffffffffff8616600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af41580156128b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128d991906151a4565b156129005760405163df85467b60e01b815264ffffffffff86166004820152602401610882565b6000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612940573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061296491906151e9565b6040516313d8ebc960e11b81526001600160601b038c1660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa1580156129b7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526129df919081019061545d565b80516040516368322c6360e11b8152919250906000906001600160a01b0385169063d06458c690612a14908590600401614e27565b600060405180830381865afa158015612a31573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612a599190810190615506565b90508963ffffffff16816080015163ffffffff161015612a9a576080810151604051636fcee12560e01b815263ffffffff9091166004820152602401610882565b60208101518b1015612bb6576020810151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612afc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b2091906152e2565b604051632255341b60e11b8152600481018d905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612b70573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b9491906152e2565b6040516338a25a8b60e21b815260048101929092526024820152604401610882565b60408101518b1115612cd2576040818101519051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612c18573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c3c91906152e2565b604051632255341b60e11b8152600481018d905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612c8c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cb091906152e2565b604051631e1ea4f360e31b815260048101929092526024820152604401610882565b8060a0015163ffffffff1673__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612d26573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d4a9190615610565b604051633682752160e21b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612da1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dc591906152e2565b604051633682752160e21b815264ffffffffff8c16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612e1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e3f91906152e2565b612e4991906155fd565b1115612ef55760a0810151604051633682752160e21b815264ffffffffff8b16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612eaa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ece91906152e2565b6040516331fa6ab160e11b815263ffffffff90921660048301526024820152604401610882565b73__$9f290d768183857d0249ab5bb54619c5ab$__633f093cd6878e6040518363ffffffff1660e01b8152600401612f2e92919061573a565b602060405180830381865af4158015612f4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f6f919061575c565b965060006040518060e001604052808f6001600160601b031681526020018e81526020018d81526020018c63ffffffff168152602001600063ffffffff1681526020018b64ffffffffff1681526020018a8152509050856001600160a01b031663ca0e7f0889836040518363ffffffff1660e01b8152600401612ff3929190615c40565b600060405180830381600087803b15801561300d57600080fd5b505af1158015613021573d6000803e3d6000fd5b50505050505050505050509695505050505050565b61303e613a80565b6130be83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015613080573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130a491906151cc565b603c600085604051806020016040528060008152506115bb565b6001600160a01b038216156130db576130d6826143a9565b61324a565b60006130ef6001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af415801561314f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131739190615c65565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156131b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131dc91906151e9565b9050613248816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561321f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061324391906151e9565b6143a9565b505b61325a634a531f3360e01b6109ce565b61326a63b68d180960e01b6109ce565b505050565b600080516020615d61833981519152805460009190600160a01b900460ff1661329957600061280e565b638fb3603760e01b91505090565b8151815110156133c1578151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015613304573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061332891906152e2565b8151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af415801561337b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061339f91906152e2565b604051631a9c6b0960e01b815260048101929092526024820152604401610882565b600080806133cf60786143ba565b9250925092506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015613415573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061343991906151e9565b604051639ad69c6760e01b81526001600160601b03861660048201529091506000906001600160a01b03831690639ad69c679060240161010060405180830381865afa15801561348d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134b19190615241565b6040818101899052606082018890525163f7b442d160e01b81529091506001600160a01b0384169063f7b442d1906134f2908890859060ff90600401615c82565b600060405180830381600087803b15801561350c57600080fd5b505af1158015613520573d6000803e3d6000fd5b5050505050505050505050565b600061060e60286145ea565b600061060e60466145ea565b604051637bc32ecf60e01b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90637bc32ecf90613589906001600160c01b0319881690600401614e27565b602060405180830381865af41580156135a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135ca91906151a4565b15905060006135d98686611288565b90508180156135e6575080155b1561361f57604051631cf73cd360e21b81526001600160601b03871660048201526001600160c01b031986166024820152604401610882565b600061362a87613ab9565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561366c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061369091906151e9565b90506000816001600160a01b0316631d3be477896040518263ffffffff1660e01b81526004016136c09190614e27565b600060405180830381865afa1580156136dd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613705919081019061537f565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b038416906327b1d79290602401600060405180830381865afa15801561375b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613783919081019061545d565b604051639ad69c6760e01b81526001600160601b038c1660048201529091506000906001600160a01b03851690639ad69c679060240161010060405180830381865afa1580156137d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137fb9190615241565b905060008961018001518a61016001516138159190615311565b6101a08b01519091506138288183615311565b8a1461385b57896138398284615311565b60405163b9d36bcd60e01b815260048101929092526024820152604401610882565b81156138da57818360a0018181516138739190615311565b9052506001600160a01b03871663f7b442d18e8560ff6040518463ffffffff1660e01b81526004016138a793929190615c82565b600060405180830381600087803b1580156138c157600080fd5b505af11580156138d5573d6000803e3d6000fd5b505050505b88156139fa576001856080018181516138f39190615cb2565b63ffffffff169052506040516330882f0760e11b81526001600160a01b038816906361105e0e9061392d908f90899060ff90600401615cd6565b600060405180830381600087803b15801561394757600080fd5b505af115801561395b573d6000803e3d6000fd5b5050505060008111156139fa57808460600181815161397a9190615311565b90525060808401805160019190613992908390615311565b9052508451604051633ed2a38d60e21b81526001600160a01b0389169163fb4a8e34916139c79190889060ff906004016158c5565b600060405180830381600087803b1580156139e157600080fd5b505af11580156139f5573d6000803e3d6000fd5b505050505b50505050505050505050505050565b613a11613a80565b613a1a8161254b565b613a22611c5d565b6001600160a01b038216613a495760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020615d4183398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020615d8183398151915254600160401b900460ff16613ab757604051631afcd79f60e31b815260040160405180910390fd5b565b600080613ace6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613b1d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613b459190810190615905565b6020015190506000613b5f6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613bae573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613bd69190810190615905565b60800151949350505050565b60006112818383670de0b6b3a76400006146f7565b600080613c0c6001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa158015613c52573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613c7691906151cc565b604051630a4d29dd60e31b81526001600160601b038216600482015290925073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015613cd1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613cf591906151a4565b15613d155760405163752c00fd60e11b8152336004820152602401610882565b6000613d296001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613d78573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613da09190810190615905565b9050613dbe8160400151613db2607890565b60ff9081169116141590565b15613dde57604051637ab07d8760e01b8152336004820152602401610882565b6000613df26001546001600160a01b031690565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613e47573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613e6f9190810190615905565b60800151939492505050565b6101fb613a80565b6040516368aebf7b60e01b81526002600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015613ed7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060e9190615851565b6040516301ffc9a760e01b81526396c8ab0560e01b60048201528390339060009081906001600160a01b038516906301ffc9a790602401602060405180830381865afa158015613f4f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613f7391906151a4565b613f9b576040516359bff0e360e11b81526001600160a01b0388166004820152602401610882565b6000846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015613fdb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526140039190810190615905565b905061401a81604001518860ff9081169116141590565b1561405a576040808201519051634a2e948760e11b81526001600160a01b038a16600482015260ff808a1660248301529091166044820152606401610882565b60a08101516001600160a01b03858116908216146140ac5760a0820151604051632b50a20960e21b81526001600160a01b03808c16600483015291821660248201529086166044820152606401610882565b816020015192506140bc836147e1565b9350836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156140fc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061412091906151e9565b6040516368fc2b7760e11b81526001600160401b03891660048201526001600160a01b038781166024830152919091169063d1f856ee90604401602060405180830381865afa158015614177573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061419b91906151a4565b6141e157604051636af540d960e01b81526001600160601b03841660048201526001600160401b03881660248201526001600160a01b0386166044820152606401610882565b505093509350935093565b6040516368aebf7b60e01b81526108fc600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401613eba565b600080516020615d818339815191528054600160401b810460ff1615906001600160401b031660008115801561425b5750825b90506000826001600160401b031660011480156142775750303b155b905081158015614285575080155b156142a35760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156142cd57845460ff60401b1916600160401b1785555b600080878060200190518101906142e49190615cfb565b925090506142f48160008b613036565b61430463a6812b7960e01b6109ce565b505083156123a257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001612399565b600080516020615d6183398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6143b1613a80565b61265681614876565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201526000806144066001546001600160a01b031690565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa15801561444d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526144759190810190615905565b925061448b83604001518660ff90811691161490565b6144cd5760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b6044820152606401610882565b826000015193506144e183602001516147e1565b9150816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015614521573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061454591906151e9565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa15801561458f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906145b391906151a4565b156145e257608083015160405163d53987e560e01b81526001600160a01b039091166004820152602401610882565b509193909250565b60006145fe6001546001600160a01b031690565b6001600160a01b031663d39e604383614615610589565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801561466a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061468e9190615c65565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156146d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115b591906151e9565b60008080600019858709858702925082811083820303915050806000036147315783828161472757614727615d2a565b0492505050611281565b8084116147785760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b6044820152606401610882565b60008486880960026001871981018816978890046003810283188082028403028082028403028082028403028082028403028082028403029081029092039091026000889003889004909101858311909403939093029303949094049190911702949350505050565b60006147f56001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015614844573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261486c9190810190615905565b6080015192915050565b61487e613a80565b61265681614348565b60006020828403121561489957600080fd5b81356001600160e01b03198116811461128157600080fd5b60005b838110156148cc5781810151838201526020016148b4565b50506000910152565b600081518084526148ed8160208601602086016148b1565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161496a60c08401826001600160a01b03169052565b5060c083015160e0808401526149846101008401826148d5565b949350505050565b6001600160601b038116811461265657600080fd5b6001600160c01b03198116811461265657600080fd5b634e487b7160e01b600052604160045260246000fd5b6040516101e081016001600160401b03811182821017156149f0576149f06149b7565b60405290565b604080519081016001600160401b03811182821017156149f0576149f06149b7565b60405160e081016001600160401b03811182821017156149f0576149f06149b7565b60405160a081016001600160401b03811182821017156149f0576149f06149b7565b60405161012081016001600160401b03811182821017156149f0576149f06149b7565b604051601f8201601f191681016001600160401b0381118282101715614aa757614aa76149b7565b604052919050565b60006101e08284031215614ac257600080fd5b614aca6149cd565b9050813581526020820135602082015260408201356040820152606082013560608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e08201526101008083013581830152506101208083013581830152506101408083013581830152506101608083013581830152506101808083013581830152506101a08083013581830152506101c080830135818301525092915050565b60008060006102208486031215614b8657600080fd5b8335614b918161498c565b92506020840135614ba1816149a1565b9150614bb08560408601614aaf565b90509250925092565b60008060408385031215614bcc57600080fd5b8235614bd78161498c565b91506020830135614be7816149a1565b809150509250929050565b6001600160a01b038116811461265657600080fd5b60ff8116811461265657600080fd5b801515811461265657600080fd5b8035614c2f81614c16565b919050565b60006001600160401b03821115614c4d57614c4d6149b7565b50601f01601f191660200190565b600082601f830112614c6c57600080fd5b8135614c7f614c7a82614c34565b614a7f565b818152846020838601011115614c9457600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215614cca57600080fd5b8635614cd581614bf2565b95506020870135614ce58161498c565b94506040870135614cf581614c07565b93506060870135614d0581614c16565b92506080870135614d1581614bf2565b915060a08701356001600160401b03811115614d3057600080fd5b614d3c89828a01614c5b565b9150509295509295509295565b63ffffffff8116811461265657600080fd5b60008060008060008060008060006101208a8c031215614d7a57600080fd5b89356001600160401b0380821115614d9157600080fd5b614d9d8d838e01614c5b565b9a5060208c0135995060408c0135985060608c0135975060808c01359150614dc482614d49565b90955060a08b013590614dd682614d49565b819550614de560c08d01614c24565b9450614df360e08d01614c24565b93506101008c0135915080821115614e0a57600080fd5b50614e178c828d01614c5b565b9150509295985092959850929598565b6001600160c01b031991909116815260200190565b600060208284031215614e4e57600080fd5b81356001600160401b03811115614e6457600080fd5b61498484828501614c5b565b600080600060608486031215614e8557600080fd5b8335614e908161498c565b92506020840135614ea0816149a1565b915060408401356001600160401b03811115614ebb57600080fd5b614ec786828701614c5b565b9150509250925092565b600060208284031215614ee357600080fd5b813561128181614bf2565b60008060408385031215614f0157600080fd5b8235614f0c81614bf2565b915060208301356001600160401b03811115614f2757600080fd5b614f3385828601614c5b565b9150509250929050565b600080600060608486031215614f5257600080fd5b8335614e9081614bf2565b64ffffffffff8116811461265657600080fd5b60008060008060008060c08789031215614f8957600080fd5b8635614f948161498c565b955060208701356001600160401b0380821115614fb057600080fd5b614fbc8a838b01614c5b565b96506040890135955060608901359150614fd582614d49565b909350608088013590614fe782614f5d565b90925060a08801359080821115614ffd57600080fd5b50614d3c89828a01614c5b565b60008060006060848603121561501f57600080fd5b833561502a81614bf2565b9250602084013561503a81614bf2565b9150604084013561504a81614bf2565b809150509250925092565b60006040828403121561506757600080fd5b61506f6149f6565b9050813581526020820135602082015292915050565b6000806080838503121561509857600080fd5b6150a28484615055565b91506150b18460408501615055565b90509250929050565b60008060008061024085870312156150d157600080fd5b84356150dc8161498c565b935060208501356150ec816149a1565b92506150fb8660408701614aaf565b939692955092936102200135925050565b6000806040838503121561511f57600080fd5b823561512a81614bf2565b91506020830135614be781614bf2565b60006020828403121561514c57600080fd5b815162ffffff8116811461128157600080fd5b600181811c9082168061517357607f821691505b60208210810361519357634e487b7160e01b600052602260045260246000fd5b50919050565b8051614c2f81614c16565b6000602082840312156151b657600080fd5b815161128181614c16565b8051614c2f8161498c565b6000602082840312156151de57600080fd5b81516112818161498c565b6000602082840312156151fb57600080fd5b815161128181614bf2565b60006040828403121561521857600080fd5b6152206149f6565b9050815181526020820151602082015292915050565b8051614c2f81614bf2565b6000610100828403121561525457600080fd5b60405160c081018181106001600160401b0382111715615276576152766149b7565b60405282516152848161498c565b8152602083015161529481614bf2565b60208201526152a68460408501615206565b60408201526152b88460808501615206565b606082015260c08301516152cb81614bf2565b608082015260e0929092015160a083015250919050565b6000602082840312156152f457600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156115b5576115b56152fb565b600082601f83011261533557600080fd5b8151615343614c7a82614c34565b81815284602083860101111561535857600080fd5b6149848260208301602087016148b1565b8051614c2f81614d49565b8051614c2f81614f5d565b60006020828403121561539157600080fd5b81516001600160401b03808211156153a857600080fd5b9083019060e082860312156153bc57600080fd5b6153c4614a18565b6153cd836151c1565b81526020830151828111156153e157600080fd5b6153ed87828601615324565b6020830152506040830151604082015261540960608401615369565b606082015261541a60808401615369565b608082015261542b60a08401615374565b60a082015260c08301518281111561544257600080fd5b61544e87828601615324565b60c08301525095945050505050565b60006020828403121561546f57600080fd5b81516001600160401b038082111561548657600080fd5b9083019060a0828603121561549a57600080fd5b6154a2614a3a565b82516154ad816149a1565b815260208301516154bd81614c16565b60208201526040830151828111156154d457600080fd5b6154e087828601615324565b604083015250606083015160608201526080830151608082015280935050505092915050565b60006020828403121561551857600080fd5b81516001600160401b038082111561552f57600080fd5b90830190610120828603121561554457600080fd5b61554c614a5c565b82518281111561555b57600080fd5b61556787828601615324565b82525060208301516020820152604083015160408201526060830151606082015261559460808401615369565b60808201526155a560a08401615369565b60a08201526155b660c08401615199565b60c08201526155c760e08401615199565b60e082015261010080840151838111156155e057600080fd5b6155ec88828701615324565b918301919091525095945050505050565b818103818111156115b5576115b56152fb565b60006020828403121561562257600080fd5b815161128181614f5d565b601f82111561326a57600081815260208120601f850160051c810160208610156156545750805b601f850160051c820191505b8181101561567357828155600101615660565b505050505050565b81516001600160401b03811115615694576156946149b7565b6156a8816156a2845461515f565b8461562d565b602080601f8311600181146156dd57600084156156c55750858301515b600019600386901b1c1916600185901b178555615673565b600085815260208120601f198616915b8281101561570c578886015182559484019460019091019084016156ed565b508582101561572a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160601b038316815260406020820152600061498460408301846148d5565b60006020828403121561576e57600080fd5b8151611281816149a1565b6001600160401b0360c01b8316815260406020820152600082516101208060408501526157aa6101608501836148d5565b91506020850151606085015260408501516080850152606085015160a085015260808501516157e160c086018263ffffffff169052565b5060a085015163ffffffff811660e08601525060c08501516101006158098187018315159052565b60e087015115159286019290925250840151603f198483030161014085015261583282826148d5565b9695505050505050565b6001600160401b038116811461265657600080fd5b60006020828403121561586357600080fd5b81516112818161583c565b6001600160401b0360c01b81511682526020810151151560208301526000604082015160a060408501526158a560a08501826148d5565b905060608301516060850152608083015160808501528091505092915050565b6001600160601b03841681526060602082015260006158e7606083018561586e565b905060ff83166040830152949350505050565b8051614c2f81614c07565b60006020828403121561591757600080fd5b81516001600160401b038082111561592e57600080fd5b9083019060e0828603121561594257600080fd5b61594a614a18565b615953836151c1565b8152615961602084016151c1565b6020820152615972604084016158fa565b604082015261598360608401615199565b606082015261599460808401615236565b608082015261542b60a08401615236565b80516001600160601b031682526020808201516001600160a01b0390811682850152604080840151805191860191909152918201516060850152606083015180516080860152602081015160a0860152915060808301511660c08401525060a0015160e090910152565b6001600160601b0383168152610120810161128160208301846159a5565b634e487b7160e01b600052603260045260246000fd5b600060208284031215615a5557600080fd5b81516001600160401b03811115615a6b57600080fd5b61498484828501615324565b600081518084526020808501945080840160005b83811015615ab05781516001600160401b031687529582019590820190600101615a8b565b509495945050505050565b6001600160601b03861681526000602060018060a01b0387168184015260a06040840152615aec60a08401876148d5565b8381036060850152855180825282820190600581901b830184018489016000805b84811015615b6a57868403601f19018652825180518086529089019089860190845b81811015615b555783516001600160e01b0319168352928b0192918b0191600101615b2f565b50509689019694505091870191600101615b0d565b5050508681036080880152615b7f8189615a77565b9c9b505050505050505050505050565b6001600160601b0383168152604060208201526000614984604083018461586e565b60208152600061128160208301846148d5565b6001600160601b0381511682526000602082015160e06020850152615bec60e08501826148d5565b905060408301516040850152606083015163ffffffff8082166060870152806080860151166080870152505064ffffffffff60a08401511660a085015260c083015184820360c08601526115b082826148d5565b6001600160401b0360c01b831681526040602082015260006149846040830184615bc4565b600060208284031215615c7757600080fd5b815161128181614c07565b6001600160601b03841681526101408101615ca060208301856159a5565b60ff8316610120830152949350505050565b63ffffffff818116838216019080821115615ccf57615ccf6152fb565b5092915050565b6001600160401b0360c01b841681526060602082015260006158e76060830185615bc4565b60008060408385031215615d0e57600080fd5b8251615d1981614bf2565b6020840151909250614be781614bf2565b634e487b7160e01b600052601260045260246000fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220632e534134ff03fbcd15bc16771f6f17005c0740eab0bffa012bd6b13e9f921664736f6c63430008140033",
1389
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101fb5760003560e01c80635dcb3bae1161011a578063ada9652e116100ad578063caf4e3d41161007c578063caf4e3d414610553578063cc9fc59a1461055b578063d25f509514610563578063f21de1e814610433578063f7c34ee01461057657600080fd5b8063ada9652e146104fe578063b68d180914610513578063b6b412ba14610522578063bf7e214f1461053557600080fd5b8063893d20e8116100e9578063893d20e8146104af5780638dd2b781146104b75780638e32e979146104ca5780638fb36037146104dd57600080fd5b80635dcb3bae14610458578063644c45e01461046b578063675393bf146104895780637a9e5e4b1461049c57600080fd5b806327bb7a33116101925780633d683fd9116101615780633d683fd9146103e25780634420e486146103f557806349bb9e4b146104205780635ab1bd531461043357600080fd5b806327bb7a33146103945780632b5198b1146103a7578063329d6e74146103c757806336fc697e146103da57600080fd5b80631eff4b22116101ce5780631eff4b221461027d578063214cdb80146102b2578063219a3195146102c557806325d073841461038157600080fd5b806301ffc9a7146102005780630d8e6e2c146102425780630fec111c1461025e578063138461e014610273575b600080fd5b61022d61020e366004614887565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61024a610589565b60405162ffffff9091168152602001610239565b610266610613565b6040516102399190614901565b61027b6107c7565b005b6102a47f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610239565b61027b6102c0366004614887565b6109ce565b6102d86102d3366004614b70565b6109fb565b6040516102399190815181526020808301519082015260408083015190820152606080830151908201526080808301519082015260a0808301519082015260c0808301519082015260e08083015190820152610100808301519082015261012080830151908201526101408083015190820152610160808301519082015261018080830151908201526101a080830151908201526101c091820151918101919091526101e00190565b61022d61038f366004614bb9565b611288565b61027b6103a2366004614cb1565b6115bb565b6103ba6103b5366004614d5b565b611647565b6040516102399190614e27565b61027b6103d5366004614e3c565b611b10565b61027b611c5d565b61027b6103f0366004614e70565b611ca3565b610408610403366004614ed1565b611e10565b6040516001600160601b039091168152602001610239565b61027b61042e366004614eee565b6122ac565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610239565b610408610466366004614f3d565b6123ab565b600080516020615d41833981519152546001600160601b0316610408565b61027b610497366004614ed1565b61254b565b61027b6104aa366004614ed1565b612659565b6104406126f3565b6103ba6104c5366004614f70565b61282a565b61027b6104d836600461500a565b613036565b6104e561326f565b6040516001600160e01b03199091168152602001610239565b6102a4600080516020615d4183398151915281565b60405160788152602001610239565b61027b610530366004615085565b6132a7565b600080516020615d61833981519152546001600160a01b0316610440565b61044061352d565b610440613539565b61027b6105713660046150ba565b613545565b61027b61058436600461510c565b613a09565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156105ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060e919061513a565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b909104161515918101919091526001820180549192916060840191906106c39061515f565b80601f01602080910402602001604051908101604052809291908181526020018280546106ef9061515f565b801561073c5780601f106107115761010080835404028352916020019161073c565b820191906000526020600020905b81548152906001019060200180831161071f57829003601f168201915b50505050508152505090506040518060e0016040528061075a600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016107ab6126f3565b6001600160a01b03168152602001826060015181525091505090565b6000600080516020615d4183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610836573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061085a91906151a4565b1561088b5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b3061089e6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156108e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061090a91906151a4565b6109325760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610882565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610986573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109aa91906151cc565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6109d6613a80565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610a74604051806101e001604052806000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6000610a7f85613ab9565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ac1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae591906151e9565b604051639ad69c6760e01b81526001600160601b03881660048201529091506000906001600160a01b03831690639ad69c679060240161010060405180830381865afa158015610b39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b5d9190615241565b6060810151604080830151885191516322f5db0f60e11b81529394509192600091610bf79173__$5ac3274b8cf1e01ea223bf093142af05b0$__916345ebb61e91610baf919060040190815260200190565b602060405180830381865af4158015610bcc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bf091906152e2565b8451613be2565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610c48573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c6c91906152e2565b61014089018190526020890180519192508291610c8a908390615311565b905250610c978a8a611288565b610cc95750505060c0850151610160860152505050610140820151610180830152506020810151604082015280611281565b604051631d3be47760e01b81526000906001600160a01b03871690631d3be47790610cf8908d90600401614e27565b600060405180830381865afa158015610d15573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d3d919081019061537f565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b038816906327b1d79290602401600060405180830381865afa158015610d93573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610dbb919081019061545d565b80516040516368322c6360e11b81529192506000916001600160a01b038a169163d06458c691610dee9190600401614e27565b600060405180830381865afa158015610e0b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e339190810190615506565b8b516040516322f5db0f60e11b8152600481019190915290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af4158015610e8c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eb091906152e2565b60608301516040516332292b2760e21b815273__$5ac3274b8cf1e01ea223bf093142af05b0$__9263c8a4ac9c92610ef392600401918252602082015260400190565b602060405180830381865af4158015610f10573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f3491906152e2565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610f85573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa991906152e2565b6101a08d0181905260208d01516040516322f5db0f60e11b815291925073__$5ac3274b8cf1e01ea223bf093142af05b0$__916345ebb61e91610ff29160040190815260200190565b602060405180830381865af415801561100f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061103391906152e2565b60408086015190516332292b2760e21b815273__$5ac3274b8cf1e01ea223bf093142af05b0$__9263c8a4ac9c9261107692600401918252602082015260400190565b602060405180830381865af4158015611093573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110b791906152e2565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015611108573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061112c91906152e2565b6101c08d0181905260208701516101608e015261114982876155fd565b61115391906155fd565b6101808d01526101c08c015160208d015161116e91906155fd565b60408d015250505050602082015161016089015110156111e75760c08801516101408901516101608a01516101808b01516101a08c01516101c08d015160405163a4d2313f60e01b81526004810196909652602486019490945260448501929092526064840152608483015260a482015260c401610882565b876101a00151886101800151896101c001516112039190615311565b61120d9190615311565b886101400151146112775760c08801516101408901516101608a01516101808b01516101a08c01516101c08d015160405163a4d2313f60e01b81526004810196909652602486019490945260448501929092526064840152608483015260a482015260c401610882565b8796505050505050505b9392505050565b60008061129484613ab9565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112fa91906151e9565b6001600160a01b0316631d3be477856040518263ffffffff1660e01b81526004016113259190614e27565b600060405180830381865afa158015611342573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261136a919081019061537f565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af41580156113c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ec91906151a4565b156113fc576000925050506115b5565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015611458573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061147c91906151a4565b8061158e575060a0810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af41580156114de573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061150291906151a4565b801561158e575061158e73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611555573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115799190615610565b8260a0015164ffffffffff9081169116111590565b92508280156115b05750806060015163ffffffff16816080015163ffffffff16105b925050505b92915050565b6115c3613a80565b6115cd8287613a09565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b8615150217815590506001810161163d838261567b565b5050505050505050565b6000806000611654613bf7565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611698573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116bc91906151e9565b604051639ad69c6760e01b81526001600160601b03851660048201526001600160a01b039190911690639ad69c679060240161010060405180830381865afa15801561170c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117309190615241565b60408181015151905163771602f760e01b81526004810191909152602481018c905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063771602f790604401602060405180830381865af4158015611794573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117b891906152e2565b60608301515160405163b67d77c560e01b815260048101919091526024810182905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063b67d77c590604401602060405180830381865af415801561181c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061184091906152e2565b6040516321e5749b60e01b8152600481018f90526024810182905290915073__$5ac3274b8cf1e01ea223bf093142af05b0$__906321e5749b90604401602060405180830381865af415801561189a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118be91906151a4565b156119cd57604051632255341b60e11b8152600481018e905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015611913573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061193791906152e2565b604051632255341b60e11b81526004810183905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015611987573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119ab91906152e2565b60405163e2ed03dd60e01b815260048101929092526024820152604401610882565b50505073__$5906aa3f06c54ee09b434647963e1d1ed0$__63578c3039838e6040518363ffffffff1660e01b8152600401611a0992919061573a565b602060405180830381865af4158015611a26573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a4a919061575c565b925060006040518061012001604052808e81526020018d81526020018c81526020018b81526020018a63ffffffff1681526020018963ffffffff16815260200188151581526020018715158152602001868152509050816001600160a01b03166330a130ba85836040518363ffffffff1660e01b8152600401611ace929190615779565b600060405180830381600087803b158015611ae857600080fd5b505af1158015611afc573d6000803e3d6000fd5b505050505050509998505050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c611b32610589565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611b72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b969190615851565b600080516020615d818339815191528054600160401b900460ff1680611bc9575080546001600160401b03808416911610155b15611be75760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155611c1183613e7b565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b611c65613a80565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000611cad613bf7565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611cf0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d1491906151e9565b6040516313d8ebc960e11b81526001600160601b03871660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa158015611d67573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d8f919081019061545d565b6001600160c01b031986168152604080820186905251633ed2a38d60e21b81529091506001600160a01b0384169063fb4a8e3490611dd6908990859060ff906004016158c5565b600060405180830381600087803b158015611df057600080fd5b505af1158015611e04573d6000803e3d6000fd5b50505050505050505050565b600080808080611e29866078611e24613e83565b613efb565b93509350935093506000611e3b61352d565b604051638fbc2d8160e01b81526001600160a01b03878116600483015286811660248301529190911690638fbc2d81906044016000604051808303816000875af1158015611e8d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611eb59190810190615905565b90506000879050806001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611ef757600080fd5b505af1158015611f0b573d6000803e3d6000fd5b5050505081600001519650836001600160a01b0316639e90178c88836001600160a01b031663c200b8096040518163ffffffff1660e01b815260040161010060405180830381865afa158015611f65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f899190615241565b6040518363ffffffff1660e01b8152600401611fa6929190615a0f565b600060405180830381600087803b158015611fc057600080fd5b505af1158015611fd4573d6000803e3d6000fd5b506000925060029150611fe49050565b60405190808252806020026020018201604052801561201757816020015b60608152602001906001900390816120025790505b5060408051600180825281830190925291925060208083019080368337019050508160008151811061204b5761204b615a2d565b60209081029190910101526040805160028082526060820190925290816020016020820280368337019050508160018151811061208a5761208a615a2d565b602002602001018190525063b6b412ba60e01b816000815181106120b0576120b0615a2d565b60200260200101516000815181106120ca576120ca615a2d565b6001600160e01b0319909216602092830291909101909101528051637c07103960e11b908290600190811061210157612101615a2d565b602002602001015160008151811061211b5761211b615a2d565b6001600160e01b031992909216602092830291909101820152604080516002808252606082018352600093919290918301908036833701905050905061215f613e83565b8160008151811061217257612172615a2d565b60200260200101906001600160401b031690816001600160401b03168152505061219a6141ec565b816001815181106121ad576121ad615a2d565b60200260200101906001600160401b031690816001600160401b0316815250506121d5613539565b6001600160a01b0316636c6fbb28868c866001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015612223573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261224b9190810190615a43565b86866040518663ffffffff1660e01b815260040161226d959493929190615abb565b600060405180830381600087803b15801561228757600080fd5b505af115801561229b573d6000803e3d6000fd5b505050505050505050505050919050565b600080516020615d818339815191528054600160401b810460ff1615906001600160401b03166000811580156122df5750825b90506000826001600160401b031660011480156122fb5750303b155b905081158015612309575080155b156123275760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561235157845460ff60401b1916600160401b1785555b61235b8787614228565b83156123a257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b60008060006123b8613bf7565b915091506123c461352d565b6001600160a01b03166357a8fba76040518060e001604052806123e5600090565b6001600160601b03168152602001856001600160601b0316815260200161240a607a90565b60ff16815260200160011515815260200160006001600160a01b03168152602001896001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b81526004016124699190614901565b6020604051808303816000875af1158015612488573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124ac91906151cc565b6040805160a0810182526001600160c01b0319881681526001602082015280820187905260006060820181905260808201529051635338a4af60e11b8152919450906001600160a01b0383169063a671495e9061250f9087908590600401615b8f565b600060405180830381600087803b15801561252957600080fd5b505af115801561253d573d6000803e3d6000fd5b505050505050509392505050565b612553613a80565b806001600160a01b03163b6000036125895760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610882565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015612603575060408051601f3d908101601f19168201909252612600918101906151a4565b60015b61262b5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610882565b806126545760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610882565b505b50565b33612679600080516020615d61833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b0316146126b45760405162d1953b60e31b81526001600160a01b0382166004820152602401610882565b816001600160a01b03163b6000036126ea576040516361798f2f60e11b81526001600160a01b0383166004820152602401610882565b61265482614348565b600080600080516020615d4183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015612763573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061278791906151a4565b15612814576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156127ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061280e91906151e9565b91505090565b54600160601b90046001600160a01b0316919050565b6000806000612837613bf7565b91509150875160000361285f5787604051634fad6a5360e11b81526004016108829190615bb1565b60405163790a38ad60e01b815264ffffffffff8616600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af41580156128b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128d991906151a4565b156129005760405163df85467b60e01b815264ffffffffff86166004820152602401610882565b6000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612940573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061296491906151e9565b6040516313d8ebc960e11b81526001600160601b038c1660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa1580156129b7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526129df919081019061545d565b80516040516368322c6360e11b8152919250906000906001600160a01b0385169063d06458c690612a14908590600401614e27565b600060405180830381865afa158015612a31573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612a599190810190615506565b90508963ffffffff16816080015163ffffffff161015612a9a576080810151604051636fcee12560e01b815263ffffffff9091166004820152602401610882565b60208101518b1015612bb6576020810151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612afc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b2091906152e2565b604051632255341b60e11b8152600481018d905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612b70573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b9491906152e2565b6040516338a25a8b60e21b815260048101929092526024820152604401610882565b60408101518b1115612cd2576040818101519051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612c18573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c3c91906152e2565b604051632255341b60e11b8152600481018d905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612c8c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cb091906152e2565b604051631e1ea4f360e31b815260048101929092526024820152604401610882565b8060a0015163ffffffff1673__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612d26573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d4a9190615610565b604051633682752160e21b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612da1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dc591906152e2565b604051633682752160e21b815264ffffffffff8c16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612e1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e3f91906152e2565b612e4991906155fd565b1115612ef55760a0810151604051633682752160e21b815264ffffffffff8b16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612eaa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ece91906152e2565b6040516331fa6ab160e11b815263ffffffff90921660048301526024820152604401610882565b73__$9f290d768183857d0249ab5bb54619c5ab$__633f093cd6878e6040518363ffffffff1660e01b8152600401612f2e92919061573a565b602060405180830381865af4158015612f4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f6f919061575c565b965060006040518060e001604052808f6001600160601b031681526020018e81526020018d81526020018c63ffffffff168152602001600063ffffffff1681526020018b64ffffffffff1681526020018a8152509050856001600160a01b031663ca0e7f0889836040518363ffffffff1660e01b8152600401612ff3929190615c40565b600060405180830381600087803b15801561300d57600080fd5b505af1158015613021573d6000803e3d6000fd5b50505050505050505050509695505050505050565b61303e613a80565b6130be83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015613080573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130a491906151cc565b603c600085604051806020016040528060008152506115bb565b6001600160a01b038216156130db576130d6826143a9565b61324a565b60006130ef6001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af415801561314f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131739190615c65565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156131b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131dc91906151e9565b9050613248816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561321f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061324391906151e9565b6143a9565b505b61325a634a531f3360e01b6109ce565b61326a63b68d180960e01b6109ce565b505050565b600080516020615d61833981519152805460009190600160a01b900460ff1661329957600061280e565b638fb3603760e01b91505090565b8151815110156133c1578151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015613304573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061332891906152e2565b8151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af415801561337b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061339f91906152e2565b604051631a9c6b0960e01b815260048101929092526024820152604401610882565b600080806133cf60786143ba565b9250925092506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015613415573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061343991906151e9565b604051639ad69c6760e01b81526001600160601b03861660048201529091506000906001600160a01b03831690639ad69c679060240161010060405180830381865afa15801561348d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134b19190615241565b6040818101899052606082018890525163f7b442d160e01b81529091506001600160a01b0384169063f7b442d1906134f2908890859060ff90600401615c82565b600060405180830381600087803b15801561350c57600080fd5b505af1158015613520573d6000803e3d6000fd5b5050505050505050505050565b600061060e60286145ea565b600061060e60466145ea565b604051637bc32ecf60e01b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90637bc32ecf90613589906001600160c01b0319881690600401614e27565b602060405180830381865af41580156135a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135ca91906151a4565b15905060006135d98686611288565b90508180156135e6575080155b1561361f57604051631cf73cd360e21b81526001600160601b03871660048201526001600160c01b031986166024820152604401610882565b600061362a87613ab9565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561366c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061369091906151e9565b90506000816001600160a01b0316631d3be477896040518263ffffffff1660e01b81526004016136c09190614e27565b600060405180830381865afa1580156136dd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613705919081019061537f565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b038416906327b1d79290602401600060405180830381865afa15801561375b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613783919081019061545d565b604051639ad69c6760e01b81526001600160601b038c1660048201529091506000906001600160a01b03851690639ad69c679060240161010060405180830381865afa1580156137d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137fb9190615241565b905060008961018001518a61016001516138159190615311565b6101a08b01519091506138288183615311565b8a1461385b57896138398284615311565b60405163b9d36bcd60e01b815260048101929092526024820152604401610882565b81156138da57818360a0018181516138739190615311565b9052506001600160a01b03871663f7b442d18e8560ff6040518463ffffffff1660e01b81526004016138a793929190615c82565b600060405180830381600087803b1580156138c157600080fd5b505af11580156138d5573d6000803e3d6000fd5b505050505b88156139fa576001856080018181516138f39190615cb2565b63ffffffff169052506040516330882f0760e11b81526001600160a01b038816906361105e0e9061392d908f90899060ff90600401615cd6565b600060405180830381600087803b15801561394757600080fd5b505af115801561395b573d6000803e3d6000fd5b5050505060008111156139fa57808460600181815161397a9190615311565b90525060808401805160019190613992908390615311565b9052508451604051633ed2a38d60e21b81526001600160a01b0389169163fb4a8e34916139c79190889060ff906004016158c5565b600060405180830381600087803b1580156139e157600080fd5b505af11580156139f5573d6000803e3d6000fd5b505050505b50505050505050505050505050565b613a11613a80565b613a1a8161254b565b613a22611c5d565b6001600160a01b038216613a495760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020615d4183398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020615d8183398151915254600160401b900460ff16613ab757604051631afcd79f60e31b815260040160405180910390fd5b565b600080613ace6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613b1d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613b459190810190615905565b6020015190506000613b5f6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613bae573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613bd69190810190615905565b60800151949350505050565b60006112818383670de0b6b3a76400006146f7565b600080613c0c6001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa158015613c52573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613c7691906151cc565b604051630a4d29dd60e31b81526001600160601b038216600482015290925073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015613cd1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613cf591906151a4565b15613d155760405163752c00fd60e11b8152336004820152602401610882565b6000613d296001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613d78573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613da09190810190615905565b9050613dbe8160400151613db2607890565b60ff9081169116141590565b15613dde57604051637ab07d8760e01b8152336004820152602401610882565b6000613df26001546001600160a01b031690565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613e47573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613e6f9190810190615905565b60800151939492505050565b6101fb613a80565b6040516368aebf7b60e01b81526002600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015613ed7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060e9190615851565b6040516301ffc9a760e01b81526396c8ab0560e01b60048201528390339060009081906001600160a01b038516906301ffc9a790602401602060405180830381865afa158015613f4f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613f7391906151a4565b613f9b576040516359bff0e360e11b81526001600160a01b0388166004820152602401610882565b6000846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015613fdb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526140039190810190615905565b905061401a81604001518860ff9081169116141590565b1561405a576040808201519051634a2e948760e11b81526001600160a01b038a16600482015260ff808a1660248301529091166044820152606401610882565b60a08101516001600160a01b03858116908216146140ac5760a0820151604051632b50a20960e21b81526001600160a01b03808c16600483015291821660248201529086166044820152606401610882565b816020015192506140bc836147e1565b9350836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156140fc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061412091906151e9565b6040516368fc2b7760e11b81526001600160401b03891660048201526001600160a01b038781166024830152919091169063d1f856ee90604401602060405180830381865afa158015614177573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061419b91906151a4565b6141e157604051636af540d960e01b81526001600160601b03841660048201526001600160401b03881660248201526001600160a01b0386166044820152606401610882565b505093509350935093565b6040516368aebf7b60e01b81526108fc600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401613eba565b600080516020615d818339815191528054600160401b810460ff1615906001600160401b031660008115801561425b5750825b90506000826001600160401b031660011480156142775750303b155b905081158015614285575080155b156142a35760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156142cd57845460ff60401b1916600160401b1785555b600080878060200190518101906142e49190615cfb565b925090506142f48160008b613036565b61430463a6812b7960e01b6109ce565b505083156123a257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001612399565b600080516020615d6183398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6143b1613a80565b61265681614876565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201526000806144066001546001600160a01b031690565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa15801561444d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526144759190810190615905565b925061448b83604001518660ff90811691161490565b6144cd5760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b6044820152606401610882565b826000015193506144e183602001516147e1565b9150816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015614521573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061454591906151e9565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa15801561458f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906145b391906151a4565b156145e257608083015160405163d53987e560e01b81526001600160a01b039091166004820152602401610882565b509193909250565b60006145fe6001546001600160a01b031690565b6001600160a01b031663d39e604383614615610589565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801561466a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061468e9190615c65565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156146d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115b591906151e9565b60008080600019858709858702925082811083820303915050806000036147315783828161472757614727615d2a565b0492505050611281565b8084116147785760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b6044820152606401610882565b60008486880960026001871981018816978890046003810283188082028403028082028403028082028403028082028403028082028403029081029092039091026000889003889004909101858311909403939093029303949094049190911702949350505050565b60006147f56001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015614844573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261486c9190810190615905565b6080015192915050565b61487e613a80565b61265681614348565b60006020828403121561489957600080fd5b81356001600160e01b03198116811461128157600080fd5b60005b838110156148cc5781810151838201526020016148b4565b50506000910152565b600081518084526148ed8160208601602086016148b1565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161496a60c08401826001600160a01b03169052565b5060c083015160e0808401526149846101008401826148d5565b949350505050565b6001600160601b038116811461265657600080fd5b6001600160c01b03198116811461265657600080fd5b634e487b7160e01b600052604160045260246000fd5b6040516101e081016001600160401b03811182821017156149f0576149f06149b7565b60405290565b604080519081016001600160401b03811182821017156149f0576149f06149b7565b60405160e081016001600160401b03811182821017156149f0576149f06149b7565b60405160a081016001600160401b03811182821017156149f0576149f06149b7565b60405161012081016001600160401b03811182821017156149f0576149f06149b7565b604051601f8201601f191681016001600160401b0381118282101715614aa757614aa76149b7565b604052919050565b60006101e08284031215614ac257600080fd5b614aca6149cd565b9050813581526020820135602082015260408201356040820152606082013560608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e08201526101008083013581830152506101208083013581830152506101408083013581830152506101608083013581830152506101808083013581830152506101a08083013581830152506101c080830135818301525092915050565b60008060006102208486031215614b8657600080fd5b8335614b918161498c565b92506020840135614ba1816149a1565b9150614bb08560408601614aaf565b90509250925092565b60008060408385031215614bcc57600080fd5b8235614bd78161498c565b91506020830135614be7816149a1565b809150509250929050565b6001600160a01b038116811461265657600080fd5b60ff8116811461265657600080fd5b801515811461265657600080fd5b8035614c2f81614c16565b919050565b60006001600160401b03821115614c4d57614c4d6149b7565b50601f01601f191660200190565b600082601f830112614c6c57600080fd5b8135614c7f614c7a82614c34565b614a7f565b818152846020838601011115614c9457600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215614cca57600080fd5b8635614cd581614bf2565b95506020870135614ce58161498c565b94506040870135614cf581614c07565b93506060870135614d0581614c16565b92506080870135614d1581614bf2565b915060a08701356001600160401b03811115614d3057600080fd5b614d3c89828a01614c5b565b9150509295509295509295565b63ffffffff8116811461265657600080fd5b60008060008060008060008060006101208a8c031215614d7a57600080fd5b89356001600160401b0380821115614d9157600080fd5b614d9d8d838e01614c5b565b9a5060208c0135995060408c0135985060608c0135975060808c01359150614dc482614d49565b90955060a08b013590614dd682614d49565b819550614de560c08d01614c24565b9450614df360e08d01614c24565b93506101008c0135915080821115614e0a57600080fd5b50614e178c828d01614c5b565b9150509295985092959850929598565b6001600160c01b031991909116815260200190565b600060208284031215614e4e57600080fd5b81356001600160401b03811115614e6457600080fd5b61498484828501614c5b565b600080600060608486031215614e8557600080fd5b8335614e908161498c565b92506020840135614ea0816149a1565b915060408401356001600160401b03811115614ebb57600080fd5b614ec786828701614c5b565b9150509250925092565b600060208284031215614ee357600080fd5b813561128181614bf2565b60008060408385031215614f0157600080fd5b8235614f0c81614bf2565b915060208301356001600160401b03811115614f2757600080fd5b614f3385828601614c5b565b9150509250929050565b600080600060608486031215614f5257600080fd5b8335614e9081614bf2565b64ffffffffff8116811461265657600080fd5b60008060008060008060c08789031215614f8957600080fd5b8635614f948161498c565b955060208701356001600160401b0380821115614fb057600080fd5b614fbc8a838b01614c5b565b96506040890135955060608901359150614fd582614d49565b909350608088013590614fe782614f5d565b90925060a08801359080821115614ffd57600080fd5b50614d3c89828a01614c5b565b60008060006060848603121561501f57600080fd5b833561502a81614bf2565b9250602084013561503a81614bf2565b9150604084013561504a81614bf2565b809150509250925092565b60006040828403121561506757600080fd5b61506f6149f6565b9050813581526020820135602082015292915050565b6000806080838503121561509857600080fd5b6150a28484615055565b91506150b18460408501615055565b90509250929050565b60008060008061024085870312156150d157600080fd5b84356150dc8161498c565b935060208501356150ec816149a1565b92506150fb8660408701614aaf565b939692955092936102200135925050565b6000806040838503121561511f57600080fd5b823561512a81614bf2565b91506020830135614be781614bf2565b60006020828403121561514c57600080fd5b815162ffffff8116811461128157600080fd5b600181811c9082168061517357607f821691505b60208210810361519357634e487b7160e01b600052602260045260246000fd5b50919050565b8051614c2f81614c16565b6000602082840312156151b657600080fd5b815161128181614c16565b8051614c2f8161498c565b6000602082840312156151de57600080fd5b81516112818161498c565b6000602082840312156151fb57600080fd5b815161128181614bf2565b60006040828403121561521857600080fd5b6152206149f6565b9050815181526020820151602082015292915050565b8051614c2f81614bf2565b6000610100828403121561525457600080fd5b60405160c081018181106001600160401b0382111715615276576152766149b7565b60405282516152848161498c565b8152602083015161529481614bf2565b60208201526152a68460408501615206565b60408201526152b88460808501615206565b606082015260c08301516152cb81614bf2565b608082015260e0929092015160a083015250919050565b6000602082840312156152f457600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156115b5576115b56152fb565b600082601f83011261533557600080fd5b8151615343614c7a82614c34565b81815284602083860101111561535857600080fd5b6149848260208301602087016148b1565b8051614c2f81614d49565b8051614c2f81614f5d565b60006020828403121561539157600080fd5b81516001600160401b03808211156153a857600080fd5b9083019060e082860312156153bc57600080fd5b6153c4614a18565b6153cd836151c1565b81526020830151828111156153e157600080fd5b6153ed87828601615324565b6020830152506040830151604082015261540960608401615369565b606082015261541a60808401615369565b608082015261542b60a08401615374565b60a082015260c08301518281111561544257600080fd5b61544e87828601615324565b60c08301525095945050505050565b60006020828403121561546f57600080fd5b81516001600160401b038082111561548657600080fd5b9083019060a0828603121561549a57600080fd5b6154a2614a3a565b82516154ad816149a1565b815260208301516154bd81614c16565b60208201526040830151828111156154d457600080fd5b6154e087828601615324565b604083015250606083015160608201526080830151608082015280935050505092915050565b60006020828403121561551857600080fd5b81516001600160401b038082111561552f57600080fd5b90830190610120828603121561554457600080fd5b61554c614a5c565b82518281111561555b57600080fd5b61556787828601615324565b82525060208301516020820152604083015160408201526060830151606082015261559460808401615369565b60808201526155a560a08401615369565b60a08201526155b660c08401615199565b60c08201526155c760e08401615199565b60e082015261010080840151838111156155e057600080fd5b6155ec88828701615324565b918301919091525095945050505050565b818103818111156115b5576115b56152fb565b60006020828403121561562257600080fd5b815161128181614f5d565b601f82111561326a57600081815260208120601f850160051c810160208610156156545750805b601f850160051c820191505b8181101561567357828155600101615660565b505050505050565b81516001600160401b03811115615694576156946149b7565b6156a8816156a2845461515f565b8461562d565b602080601f8311600181146156dd57600084156156c55750858301515b600019600386901b1c1916600185901b178555615673565b600085815260208120601f198616915b8281101561570c578886015182559484019460019091019084016156ed565b508582101561572a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160601b038316815260406020820152600061498460408301846148d5565b60006020828403121561576e57600080fd5b8151611281816149a1565b6001600160401b0360c01b8316815260406020820152600082516101208060408501526157aa6101608501836148d5565b91506020850151606085015260408501516080850152606085015160a085015260808501516157e160c086018263ffffffff169052565b5060a085015163ffffffff811660e08601525060c08501516101006158098187018315159052565b60e087015115159286019290925250840151603f198483030161014085015261583282826148d5565b9695505050505050565b6001600160401b038116811461265657600080fd5b60006020828403121561586357600080fd5b81516112818161583c565b6001600160401b0360c01b81511682526020810151151560208301526000604082015160a060408501526158a560a08501826148d5565b905060608301516060850152608083015160808501528091505092915050565b6001600160601b03841681526060602082015260006158e7606083018561586e565b905060ff83166040830152949350505050565b8051614c2f81614c07565b60006020828403121561591757600080fd5b81516001600160401b038082111561592e57600080fd5b9083019060e0828603121561594257600080fd5b61594a614a18565b615953836151c1565b8152615961602084016151c1565b6020820152615972604084016158fa565b604082015261598360608401615199565b606082015261599460808401615236565b608082015261542b60a08401615236565b80516001600160601b031682526020808201516001600160a01b0390811682850152604080840151805191860191909152918201516060850152606083015180516080860152602081015160a0860152915060808301511660c08401525060a0015160e090910152565b6001600160601b0383168152610120810161128160208301846159a5565b634e487b7160e01b600052603260045260246000fd5b600060208284031215615a5557600080fd5b81516001600160401b03811115615a6b57600080fd5b61498484828501615324565b600081518084526020808501945080840160005b83811015615ab05781516001600160401b031687529582019590820190600101615a8b565b509495945050505050565b6001600160601b03861681526000602060018060a01b0387168184015260a06040840152615aec60a08401876148d5565b8381036060850152855180825282820190600581901b830184018489016000805b84811015615b6a57868403601f19018652825180518086529089019089860190845b81811015615b555783516001600160e01b0319168352928b0192918b0191600101615b2f565b50509689019694505091870191600101615b0d565b5050508681036080880152615b7f8189615a77565b9c9b505050505050505050505050565b6001600160601b0383168152604060208201526000614984604083018461586e565b60208152600061128160208301846148d5565b6001600160601b0381511682526000602082015160e06020850152615bec60e08501826148d5565b905060408301516040850152606083015163ffffffff8082166060870152806080860151166080870152505064ffffffffff60a08401511660a085015260c083015184820360c08601526115b082826148d5565b6001600160401b0360c01b831681526040602082015260006149846040830184615bc4565b600060208284031215615c7757600080fd5b815161128181614c07565b6001600160601b03841681526101408101615ca060208301856159a5565b60ff8316610120830152949350505050565b63ffffffff818116838216019080821115615ccf57615ccf6152fb565b5092915050565b6001600160401b0360c01b841681526060602082015260006158e76060830185615bc4565b60008060408385031215615d0e57600080fd5b8251615d1981614bf2565b6020840151909250614be781614bf2565b634e487b7160e01b600052601260045260246000fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220632e534134ff03fbcd15bc16771f6f17005c0740eab0bffa012bd6b13e9f921664736f6c63430008140033",
576
1390
  "linkReferences": {
577
- "contracts/types/Blocknumber.sol": {
578
- "BlocknumberLib": [
1391
+ "contracts/types/DistributorType.sol": {
1392
+ "DistributorTypeLib": [
579
1393
  {
580
1394
  "length": 20,
581
- "start": 3854
1395
+ "start": 6840
582
1396
  }
583
1397
  ]
584
1398
  },
@@ -586,15 +1400,31 @@
586
1400
  "NftIdLib": [
587
1401
  {
588
1402
  "length": 20,
589
- "start": 2044
1403
+ "start": 2274
1404
+ },
1405
+ {
1406
+ "length": 20,
1407
+ "start": 5236
590
1408
  },
591
1409
  {
592
1410
  "length": 20,
593
- "start": 3998
1411
+ "start": 10255
1412
+ },
1413
+ {
1414
+ "length": 20,
1415
+ "start": 15741
1416
+ }
1417
+ ]
1418
+ },
1419
+ "contracts/types/Referral.sol": {
1420
+ "ReferralLib": [
1421
+ {
1422
+ "length": 20,
1423
+ "start": 12253
594
1424
  },
595
1425
  {
596
1426
  "length": 20,
597
- "start": 5554
1427
+ "start": 13885
598
1428
  }
599
1429
  ]
600
1430
  },
@@ -602,27 +1432,127 @@
602
1432
  "RoleIdLib": [
603
1433
  {
604
1434
  "length": 20,
605
- "start": 8126
1435
+ "start": 16258
1436
+ },
1437
+ {
1438
+ "length": 20,
1439
+ "start": 17132
1440
+ }
1441
+ ]
1442
+ },
1443
+ "contracts/types/Timestamp.sol": {
1444
+ "TimestampLib": [
1445
+ {
1446
+ "length": 20,
1447
+ "start": 5380
1448
+ },
1449
+ {
1450
+ "length": 20,
1451
+ "start": 5514
1452
+ },
1453
+ {
1454
+ "length": 20,
1455
+ "start": 5620
606
1456
  },
607
1457
  {
608
1458
  "length": 20,
609
- "start": 8247
1459
+ "start": 10593
610
1460
  },
611
1461
  {
612
1462
  "length": 20,
613
- "start": 8306
1463
+ "start": 11717
614
1464
  },
615
1465
  {
616
1466
  "length": 20,
617
- "start": 8365
1467
+ "start": 11853
1468
+ },
1469
+ {
1470
+ "length": 20,
1471
+ "start": 11975
1472
+ },
1473
+ {
1474
+ "length": 20,
1475
+ "start": 12118
618
1476
  }
619
1477
  ]
620
1478
  },
621
- "contracts/types/Timestamp.sol": {
622
- "TimestampLib": [
1479
+ "contracts/types/UFixed.sol": {
1480
+ "UFixedLib": [
1481
+ {
1482
+ "length": 20,
1483
+ "start": 3178
1484
+ },
1485
+ {
1486
+ "length": 20,
1487
+ "start": 3316
1488
+ },
1489
+ {
1490
+ "length": 20,
1491
+ "start": 3896
1492
+ },
1493
+ {
1494
+ "length": 20,
1495
+ "start": 4010
1496
+ },
1497
+ {
1498
+ "length": 20,
1499
+ "start": 4145
1500
+ },
1501
+ {
1502
+ "length": 20,
1503
+ "start": 4270
1504
+ },
1505
+ {
1506
+ "length": 20,
1507
+ "start": 4397
1508
+ },
1509
+ {
1510
+ "length": 20,
1511
+ "start": 4532
1512
+ },
623
1513
  {
624
1514
  "length": 20,
625
- "start": 6811
1515
+ "start": 6208
1516
+ },
1517
+ {
1518
+ "length": 20,
1519
+ "start": 6344
1520
+ },
1521
+ {
1522
+ "length": 20,
1523
+ "start": 6470
1524
+ },
1525
+ {
1526
+ "length": 20,
1527
+ "start": 6591
1528
+ },
1529
+ {
1530
+ "length": 20,
1531
+ "start": 6707
1532
+ },
1533
+ {
1534
+ "length": 20,
1535
+ "start": 11176
1536
+ },
1537
+ {
1538
+ "length": 20,
1539
+ "start": 11292
1540
+ },
1541
+ {
1542
+ "length": 20,
1543
+ "start": 11460
1544
+ },
1545
+ {
1546
+ "length": 20,
1547
+ "start": 11576
1548
+ },
1549
+ {
1550
+ "length": 20,
1551
+ "start": 13232
1552
+ },
1553
+ {
1554
+ "length": 20,
1555
+ "start": 13351
626
1556
  }
627
1557
  ]
628
1558
  },
@@ -630,25 +1560,31 @@
630
1560
  "VersionLib": [
631
1561
  {
632
1562
  "length": 20,
633
- "start": 1566
1563
+ "start": 1686
634
1564
  },
635
1565
  {
636
1566
  "length": 20,
637
- "start": 4239
1567
+ "start": 7160
638
1568
  },
639
1569
  {
640
1570
  "length": 20,
641
- "start": 5041
1571
+ "start": 18198
1572
+ }
1573
+ ],
1574
+ "VersionPartLib": [
1575
+ {
1576
+ "length": 20,
1577
+ "start": 12795
642
1578
  }
643
1579
  ]
644
1580
  }
645
1581
  },
646
1582
  "deployedLinkReferences": {
647
- "contracts/types/Blocknumber.sol": {
648
- "BlocknumberLib": [
1583
+ "contracts/types/DistributorType.sol": {
1584
+ "DistributorTypeLib": [
649
1585
  {
650
1586
  "length": 20,
651
- "start": 3540
1587
+ "start": 6610
652
1588
  }
653
1589
  ]
654
1590
  },
@@ -656,15 +1592,31 @@
656
1592
  "NftIdLib": [
657
1593
  {
658
1594
  "length": 20,
659
- "start": 1730
1595
+ "start": 2044
1596
+ },
1597
+ {
1598
+ "length": 20,
1599
+ "start": 5006
1600
+ },
1601
+ {
1602
+ "length": 20,
1603
+ "start": 10025
660
1604
  },
661
1605
  {
662
1606
  "length": 20,
663
- "start": 3684
1607
+ "start": 15511
1608
+ }
1609
+ ]
1610
+ },
1611
+ "contracts/types/Referral.sol": {
1612
+ "ReferralLib": [
1613
+ {
1614
+ "length": 20,
1615
+ "start": 12023
664
1616
  },
665
1617
  {
666
1618
  "length": 20,
667
- "start": 5240
1619
+ "start": 13655
668
1620
  }
669
1621
  ]
670
1622
  },
@@ -672,27 +1624,127 @@
672
1624
  "RoleIdLib": [
673
1625
  {
674
1626
  "length": 20,
675
- "start": 7812
1627
+ "start": 16028
1628
+ },
1629
+ {
1630
+ "length": 20,
1631
+ "start": 16902
1632
+ }
1633
+ ]
1634
+ },
1635
+ "contracts/types/Timestamp.sol": {
1636
+ "TimestampLib": [
1637
+ {
1638
+ "length": 20,
1639
+ "start": 5150
1640
+ },
1641
+ {
1642
+ "length": 20,
1643
+ "start": 5284
1644
+ },
1645
+ {
1646
+ "length": 20,
1647
+ "start": 5390
1648
+ },
1649
+ {
1650
+ "length": 20,
1651
+ "start": 10363
1652
+ },
1653
+ {
1654
+ "length": 20,
1655
+ "start": 11487
676
1656
  },
677
1657
  {
678
1658
  "length": 20,
679
- "start": 7933
1659
+ "start": 11623
680
1660
  },
681
1661
  {
682
1662
  "length": 20,
683
- "start": 7992
1663
+ "start": 11745
684
1664
  },
685
1665
  {
686
1666
  "length": 20,
687
- "start": 8051
1667
+ "start": 11888
688
1668
  }
689
1669
  ]
690
1670
  },
691
- "contracts/types/Timestamp.sol": {
692
- "TimestampLib": [
1671
+ "contracts/types/UFixed.sol": {
1672
+ "UFixedLib": [
1673
+ {
1674
+ "length": 20,
1675
+ "start": 2948
1676
+ },
1677
+ {
1678
+ "length": 20,
1679
+ "start": 3086
1680
+ },
1681
+ {
1682
+ "length": 20,
1683
+ "start": 3666
1684
+ },
1685
+ {
1686
+ "length": 20,
1687
+ "start": 3780
1688
+ },
1689
+ {
1690
+ "length": 20,
1691
+ "start": 3915
1692
+ },
1693
+ {
1694
+ "length": 20,
1695
+ "start": 4040
1696
+ },
1697
+ {
1698
+ "length": 20,
1699
+ "start": 4167
1700
+ },
1701
+ {
1702
+ "length": 20,
1703
+ "start": 4302
1704
+ },
1705
+ {
1706
+ "length": 20,
1707
+ "start": 5978
1708
+ },
1709
+ {
1710
+ "length": 20,
1711
+ "start": 6114
1712
+ },
1713
+ {
1714
+ "length": 20,
1715
+ "start": 6240
1716
+ },
1717
+ {
1718
+ "length": 20,
1719
+ "start": 6361
1720
+ },
1721
+ {
1722
+ "length": 20,
1723
+ "start": 6477
1724
+ },
1725
+ {
1726
+ "length": 20,
1727
+ "start": 10946
1728
+ },
693
1729
  {
694
1730
  "length": 20,
695
- "start": 6497
1731
+ "start": 11062
1732
+ },
1733
+ {
1734
+ "length": 20,
1735
+ "start": 11230
1736
+ },
1737
+ {
1738
+ "length": 20,
1739
+ "start": 11346
1740
+ },
1741
+ {
1742
+ "length": 20,
1743
+ "start": 13002
1744
+ },
1745
+ {
1746
+ "length": 20,
1747
+ "start": 13121
696
1748
  }
697
1749
  ]
698
1750
  },
@@ -700,15 +1752,21 @@
700
1752
  "VersionLib": [
701
1753
  {
702
1754
  "length": 20,
703
- "start": 1252
1755
+ "start": 1456
704
1756
  },
705
1757
  {
706
1758
  "length": 20,
707
- "start": 3925
1759
+ "start": 6930
708
1760
  },
709
1761
  {
710
1762
  "length": 20,
711
- "start": 4727
1763
+ "start": 17968
1764
+ }
1765
+ ],
1766
+ "VersionPartLib": [
1767
+ {
1768
+ "length": 20,
1769
+ "start": 12565
712
1770
  }
713
1771
  ]
714
1772
  }