@etherisc/gif-next 0.0.2-def25d4-556 → 0.0.2-e0ff180-567

Sign up to get free protection for your applications and to get access to all the features.
Files changed (382) hide show
  1. package/README.md +65 -2
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +842 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +897 -238
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/{shared/RegisterableUpgradable.sol/RegisterableUpgradable.json → components/IComponent.sol/IComponent.json} +295 -132
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +801 -36
  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 -258
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +626 -234
  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 +2107 -184
  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 +979 -1206
  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 +227 -221
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  35. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +574 -246
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  37. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +360 -91
  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} +273 -152
  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 +1039 -0
  60. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  61. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +673 -0
  62. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  63. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1231 -0
  64. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  65. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +721 -0
  66. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  67. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +817 -0
  68. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  69. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +641 -0
  70. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1370 -229
  72. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  73. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +444 -75
  74. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  75. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +622 -0
  76. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  77. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +659 -0
  78. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  79. package/artifacts/contracts/instance/service/{IComponentOwnerService.sol/IComponentOwnerService.json → IClaimService.sol/IClaimService.json} +217 -208
  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 +606 -0
  84. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +437 -154
  86. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  87. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +90 -391
  88. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  89. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1092 -0
  90. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  91. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +697 -0
  92. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
  93. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +1237 -0
  94. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  95. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +661 -0
  96. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  97. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +840 -0
  98. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  99. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +653 -0
  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 +227 -224
  104. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  105. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +232 -219
  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 +241 -330
  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 +233 -312
  114. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  115. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +295 -150
  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 +161 -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 +100 -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 +100 -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 +25 -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 +197 -83
  212. package/contracts/components/IComponent.sol +76 -0
  213. package/contracts/components/IDistributionComponent.sol +43 -18
  214. package/contracts/components/IPoolComponent.sol +88 -37
  215. package/contracts/components/IProductComponent.sol +10 -5
  216. package/contracts/components/Pool.sol +225 -180
  217. package/contracts/components/Product.sol +130 -134
  218. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
  219. package/contracts/instance/BundleManager.sol +127 -0
  220. package/contracts/instance/Cloneable.sol +51 -0
  221. package/contracts/instance/IInstance.sol +77 -11
  222. package/contracts/instance/IInstanceService.sol +47 -5
  223. package/contracts/instance/Instance.sol +152 -268
  224. package/contracts/instance/InstanceAccessManager.sol +414 -175
  225. package/contracts/instance/InstanceReader.sol +36 -35
  226. package/contracts/instance/InstanceService.sol +429 -104
  227. package/contracts/instance/InstanceServiceManager.sol +11 -13
  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 +11 -2
  232. package/contracts/instance/module/IAccess.sol +36 -20
  233. package/contracts/instance/module/IBundle.sol +8 -4
  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 +30 -3
  237. package/contracts/instance/module/ISetup.sol +9 -19
  238. package/contracts/instance/service/ApplicationService.sol +350 -0
  239. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  240. package/contracts/instance/service/BundleService.sol +431 -0
  241. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  242. package/contracts/instance/service/ClaimService.sol +151 -0
  243. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  244. package/contracts/instance/service/DistributionService.sol +378 -48
  245. package/contracts/instance/service/DistributionServiceManager.sol +11 -13
  246. package/contracts/instance/service/IApplicationService.sol +82 -0
  247. package/contracts/instance/service/IBundleService.sol +93 -0
  248. package/contracts/instance/service/IClaimService.sol +61 -0
  249. package/contracts/instance/service/IDistributionService.sol +87 -0
  250. package/contracts/instance/service/IPolicyService.sol +72 -0
  251. package/contracts/instance/service/IPoolService.sol +79 -17
  252. package/contracts/instance/service/IProductService.sol +6 -73
  253. package/contracts/instance/service/PolicyService.sol +362 -0
  254. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  255. package/contracts/instance/service/PoolService.sol +303 -0
  256. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  257. package/contracts/instance/service/ProductService.sol +210 -0
  258. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  259. package/contracts/registry/ChainNft.sol +9 -1
  260. package/contracts/registry/IRegistry.sol +40 -33
  261. package/contracts/registry/IRegistryService.sol +48 -13
  262. package/contracts/registry/ITransferInterceptor.sol +1 -0
  263. package/contracts/registry/Registry.sol +234 -256
  264. package/contracts/registry/RegistryAccessManager.sol +216 -0
  265. package/contracts/registry/RegistryService.sol +114 -231
  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 +67 -83
  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 +42 -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 +60 -0
  287. package/contracts/types/Blocknumber.sol +1 -0
  288. package/contracts/types/ClaimId.sol +52 -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 +10 -5
  294. package/contracts/types/PayoutId.sol +54 -0
  295. package/contracts/types/Referral.sol +4 -0
  296. package/contracts/types/RoleId.sol +26 -17
  297. package/contracts/types/Seconds.sol +54 -0
  298. package/contracts/types/StateId.sol +1 -0
  299. package/contracts/types/Timestamp.sol +13 -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/contracts/components/BaseComponent.sol +0 -91
  359. package/contracts/components/IBaseComponent.sol +0 -25
  360. package/contracts/experiment/cloning/Cloner.sol +0 -47
  361. package/contracts/experiment/errors/Require.sol +0 -38
  362. package/contracts/experiment/errors/Revert.sol +0 -44
  363. package/contracts/experiment/inheritance/A.sol +0 -53
  364. package/contracts/experiment/inheritance/B.sol +0 -28
  365. package/contracts/experiment/inheritance/C.sol +0 -34
  366. package/contracts/experiment/inheritance/IA.sol +0 -13
  367. package/contracts/experiment/inheritance/IB.sol +0 -10
  368. package/contracts/experiment/inheritance/IC.sol +0 -12
  369. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  370. package/contracts/experiment/statemachine/ISM.sol +0 -25
  371. package/contracts/experiment/statemachine/SM.sol +0 -57
  372. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  373. package/contracts/experiment/types/TypeA.sol +0 -47
  374. package/contracts/experiment/types/TypeB.sol +0 -29
  375. package/contracts/instance/AccessManagedSimple.sol +0 -115
  376. package/contracts/instance/AccessManagerSimple.sol +0 -692
  377. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  378. package/contracts/instance/base/ComponentServiceBase.sol +0 -41
  379. package/contracts/instance/base/IInstanceBase.sol +0 -23
  380. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  381. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  382. package/contracts/shared/RegisterableUpgradable.sol +0 -16
@@ -4,228 +4,882 @@
4
4
  "sourceName": "contracts/instance/service/DistributionService.sol",
5
5
  "abi": [
6
6
  {
7
- "inputs": [],
8
- "name": "CallerIsNotComponentOwner",
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
9
15
  "type": "error"
10
16
  },
11
17
  {
12
18
  "inputs": [
13
19
  {
14
20
  "internalType": "address",
15
- "name": "registry",
21
+ "name": "caller",
16
22
  "type": "address"
17
23
  },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "address",
48
+ "name": "component",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "ErrorComponentServiceComponentLocked",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
18
57
  {
19
58
  "internalType": "NftId",
20
- "name": "nftId",
59
+ "name": "instanceNftId",
21
60
  "type": "uint96"
61
+ },
62
+ {
63
+ "internalType": "RoleId",
64
+ "name": "requiredRole",
65
+ "type": "uint64"
66
+ },
67
+ {
68
+ "internalType": "address",
69
+ "name": "sender",
70
+ "type": "address"
22
71
  }
23
72
  ],
24
- "name": "ErrorAlreadyLinked",
73
+ "name": "ErrorComponentServiceExpectedRoleMissing",
25
74
  "type": "error"
26
75
  },
27
76
  {
28
77
  "inputs": [
29
78
  {
30
79
  "internalType": "address",
31
- "name": "contractAddress",
80
+ "name": "component",
32
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"
33
92
  }
34
93
  ],
35
- "name": "ErrorContractNotRegistered",
94
+ "name": "ErrorComponentServiceInvalidType",
36
95
  "type": "error"
37
96
  },
38
97
  {
39
98
  "inputs": [
40
99
  {
41
100
  "internalType": "address",
42
- "name": "account",
101
+ "name": "component",
43
102
  "type": "address"
44
103
  }
45
104
  ],
46
- "name": "ErrorNotOwner",
105
+ "name": "ErrorComponentServiceNotComponent",
47
106
  "type": "error"
48
107
  },
49
108
  {
50
109
  "inputs": [
51
110
  {
52
111
  "internalType": "address",
53
- "name": "registryAddress",
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",
54
123
  "type": "address"
55
124
  }
56
125
  ],
57
- "name": "ErrorNotRegistry",
126
+ "name": "ErrorComponentServiceSenderNotOwner",
58
127
  "type": "error"
59
128
  },
60
129
  {
61
130
  "inputs": [
62
131
  {
63
132
  "internalType": "address",
64
- "name": "registryAddress",
133
+ "name": "caller",
65
134
  "type": "address"
66
135
  }
67
136
  ],
68
- "name": "ErrorRegisterableNotRegistry",
137
+ "name": "ErrorDistributionServiceCallerNotRegistered",
69
138
  "type": "error"
70
139
  },
71
140
  {
72
- "inputs": [],
73
- "name": "ErrorRegistryAddressZero",
141
+ "inputs": [
142
+ {
143
+ "internalType": "address",
144
+ "name": "target",
145
+ "type": "address"
146
+ }
147
+ ],
148
+ "name": "ErrorIAccessTargetLocked",
74
149
  "type": "error"
75
150
  },
76
151
  {
77
152
  "inputs": [
78
153
  {
79
154
  "internalType": "address",
80
- "name": "registry",
155
+ "name": "caller",
81
156
  "type": "address"
82
157
  }
83
158
  ],
84
- "name": "ErrorRegistryAlreadyInitialized",
159
+ "name": "ErrorIDistributionServiceCallerNotDistributor",
85
160
  "type": "error"
86
161
  },
87
162
  {
88
- "inputs": [],
89
- "name": "ErrorRegistryNotInitialized",
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",
90
176
  "type": "error"
91
177
  },
92
178
  {
93
- "inputs": [],
94
- "name": "InvalidInitialization",
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",
95
192
  "type": "error"
96
193
  },
97
194
  {
98
- "inputs": [],
99
- "name": "NotInitializing",
195
+ "inputs": [
196
+ {
197
+ "internalType": "uint256",
198
+ "name": "minDiscountPercentage",
199
+ "type": "uint256"
200
+ },
201
+ {
202
+ "internalType": "uint256",
203
+ "name": "discountPercentage",
204
+ "type": "uint256"
205
+ }
206
+ ],
207
+ "name": "ErrorIDistributionServiceDiscountTooLow",
100
208
  "type": "error"
101
209
  },
102
210
  {
103
- "anonymous": false,
104
211
  "inputs": [
105
212
  {
106
- "indexed": false,
107
- "internalType": "uint64",
108
- "name": "version",
109
- "type": "uint64"
213
+ "internalType": "Timestamp",
214
+ "name": "expiryAt",
215
+ "type": "uint40"
110
216
  }
111
217
  ],
112
- "name": "Initialized",
113
- "type": "event"
218
+ "name": "ErrorIDistributionServiceExpirationInvalid",
219
+ "type": "error"
114
220
  },
115
221
  {
116
- "anonymous": false,
117
222
  "inputs": [
118
223
  {
119
- "indexed": false,
120
- "internalType": "Version",
121
- "name": "version",
122
- "type": "uint24"
224
+ "internalType": "uint256",
225
+ "name": "maxReferralLifetime",
226
+ "type": "uint256"
123
227
  },
124
228
  {
125
- "indexed": false,
126
- "internalType": "address",
127
- "name": "implementation",
128
- "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"
129
243
  },
130
244
  {
131
- "indexed": false,
132
- "internalType": "address",
133
- "name": "activatedBy",
134
- "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"
135
268
  }
136
269
  ],
137
- "name": "LogVersionableInitialized",
138
- "type": "event"
270
+ "name": "ErrorIDistributionServiceFeeCalculationMismatch",
271
+ "type": "error"
139
272
  },
140
273
  {
141
- "inputs": [],
142
- "name": "NAME",
143
- "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": [
144
291
  {
145
292
  "internalType": "string",
146
- "name": "",
293
+ "name": "code",
147
294
  "type": "string"
148
295
  }
149
296
  ],
150
- "stateMutability": "view",
151
- "type": "function"
297
+ "name": "ErrorIDistributionServiceInvalidReferral",
298
+ "type": "error"
152
299
  },
153
300
  {
154
- "inputs": [],
155
- "name": "REGISTERABLE_LOCATION_V1",
156
- "outputs": [
301
+ "inputs": [
157
302
  {
158
- "internalType": "bytes32",
159
- "name": "",
160
- "type": "bytes32"
303
+ "internalType": "ReferralId",
304
+ "name": "referralId",
305
+ "type": "bytes8"
161
306
  }
162
307
  ],
163
- "stateMutability": "view",
164
- "type": "function"
308
+ "name": "ErrorIDistributionServiceInvalidReferralId",
309
+ "type": "error"
165
310
  },
166
311
  {
167
- "inputs": [],
168
- "name": "getInitialInfo",
169
- "outputs": [
312
+ "inputs": [
170
313
  {
171
- "components": [
172
- {
173
- "internalType": "NftId",
174
- "name": "nftId",
175
- "type": "uint96"
176
- },
177
- {
178
- "internalType": "NftId",
179
- "name": "parentNftId",
180
- "type": "uint96"
181
- },
182
- {
183
- "internalType": "ObjectType",
184
- "name": "objectType",
185
- "type": "uint8"
186
- },
187
- {
188
- "internalType": "bool",
189
- "name": "isInterceptor",
190
- "type": "bool"
191
- },
192
- {
193
- "internalType": "address",
194
- "name": "objectAddress",
195
- "type": "address"
196
- },
197
- {
198
- "internalType": "address",
199
- "name": "initialOwner",
200
- "type": "address"
201
- },
202
- {
203
- "internalType": "bytes",
204
- "name": "data",
205
- "type": "bytes"
206
- }
207
- ],
208
- "internalType": "struct IRegistry.ObjectInfo",
209
- "name": "",
210
- "type": "tuple"
314
+ "internalType": "uint256",
315
+ "name": "maxDiscountPercentage",
316
+ "type": "uint256"
211
317
  },
212
318
  {
213
- "internalType": "bytes",
214
- "name": "data",
215
- "type": "bytes"
319
+ "internalType": "uint256",
320
+ "name": "limit",
321
+ "type": "uint256"
216
322
  }
217
323
  ],
218
- "stateMutability": "view",
219
- "type": "function"
324
+ "name": "ErrorIDistributionServiceMaxDiscountTooHigh",
325
+ "type": "error"
220
326
  },
221
327
  {
222
- "inputs": [],
223
- "name": "getInitializedVersion",
224
- "outputs": [
328
+ "inputs": [
225
329
  {
226
- "internalType": "uint64",
227
- "name": "",
228
- "type": "uint64"
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",
823
+ "type": "function"
824
+ },
825
+ {
826
+ "inputs": [],
827
+ "name": "getDomain",
828
+ "outputs": [
829
+ {
830
+ "internalType": "ObjectType",
831
+ "name": "",
832
+ "type": "uint8"
833
+ }
834
+ ],
835
+ "stateMutability": "pure",
836
+ "type": "function"
837
+ },
838
+ {
839
+ "inputs": [],
840
+ "name": "getInitialInfo",
841
+ "outputs": [
842
+ {
843
+ "components": [
844
+ {
845
+ "internalType": "NftId",
846
+ "name": "nftId",
847
+ "type": "uint96"
848
+ },
849
+ {
850
+ "internalType": "NftId",
851
+ "name": "parentNftId",
852
+ "type": "uint96"
853
+ },
854
+ {
855
+ "internalType": "ObjectType",
856
+ "name": "objectType",
857
+ "type": "uint8"
858
+ },
859
+ {
860
+ "internalType": "bool",
861
+ "name": "isInterceptor",
862
+ "type": "bool"
863
+ },
864
+ {
865
+ "internalType": "address",
866
+ "name": "objectAddress",
867
+ "type": "address"
868
+ },
869
+ {
870
+ "internalType": "address",
871
+ "name": "initialOwner",
872
+ "type": "address"
873
+ },
874
+ {
875
+ "internalType": "bytes",
876
+ "name": "data",
877
+ "type": "bytes"
878
+ }
879
+ ],
880
+ "internalType": "struct IRegistry.ObjectInfo",
881
+ "name": "info",
882
+ "type": "tuple"
229
883
  }
230
884
  ],
231
885
  "stateMutability": "view",
@@ -233,12 +887,12 @@
233
887
  },
234
888
  {
235
889
  "inputs": [],
236
- "name": "getMajorVersion",
890
+ "name": "getInstanceService",
237
891
  "outputs": [
238
892
  {
239
- "internalType": "VersionPart",
240
- "name": "majorVersion",
241
- "type": "uint8"
893
+ "internalType": "contract InstanceService",
894
+ "name": "",
895
+ "type": "address"
242
896
  }
243
897
  ],
244
898
  "stateMutability": "view",
@@ -246,25 +900,25 @@
246
900
  },
247
901
  {
248
902
  "inputs": [],
249
- "name": "getName",
903
+ "name": "getNftId",
250
904
  "outputs": [
251
905
  {
252
- "internalType": "string",
253
- "name": "name",
254
- "type": "string"
906
+ "internalType": "NftId",
907
+ "name": "",
908
+ "type": "uint96"
255
909
  }
256
910
  ],
257
- "stateMutability": "pure",
911
+ "stateMutability": "view",
258
912
  "type": "function"
259
913
  },
260
914
  {
261
915
  "inputs": [],
262
- "name": "getNftId",
916
+ "name": "getOwner",
263
917
  "outputs": [
264
918
  {
265
- "internalType": "NftId",
919
+ "internalType": "address",
266
920
  "name": "",
267
- "type": "uint96"
921
+ "type": "address"
268
922
  }
269
923
  ],
270
924
  "stateMutability": "view",
@@ -272,10 +926,10 @@
272
926
  },
273
927
  {
274
928
  "inputs": [],
275
- "name": "getOwner",
929
+ "name": "getRegistry",
276
930
  "outputs": [
277
931
  {
278
- "internalType": "address",
932
+ "internalType": "contract IRegistry",
279
933
  "name": "",
280
934
  "type": "address"
281
935
  }
@@ -285,10 +939,10 @@
285
939
  },
286
940
  {
287
941
  "inputs": [],
288
- "name": "getRegistry",
942
+ "name": "getRegistryAddress",
289
943
  "outputs": [
290
944
  {
291
- "internalType": "contract IRegistry",
945
+ "internalType": "address",
292
946
  "name": "",
293
947
  "type": "address"
294
948
  }
@@ -322,103 +976,244 @@
322
976
  "stateMutability": "pure",
323
977
  "type": "function"
324
978
  },
979
+ {
980
+ "inputs": [],
981
+ "name": "initializeERC165",
982
+ "outputs": [],
983
+ "stateMutability": "nonpayable",
984
+ "type": "function"
985
+ },
325
986
  {
326
987
  "inputs": [
327
988
  {
328
- "internalType": "uint256",
329
- "name": "idx",
330
- "type": "uint256"
989
+ "internalType": "address",
990
+ "name": "initialOwner",
991
+ "type": "address"
992
+ },
993
+ {
994
+ "internalType": "address",
995
+ "name": "registryAddress",
996
+ "type": "address"
331
997
  }
332
998
  ],
333
- "name": "getVersion",
334
- "outputs": [
999
+ "name": "initializeNftOwnable",
1000
+ "outputs": [],
1001
+ "stateMutability": "nonpayable",
1002
+ "type": "function"
1003
+ },
1004
+ {
1005
+ "inputs": [
335
1006
  {
336
- "internalType": "Version",
337
- "name": "",
338
- "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"
339
1035
  }
340
1036
  ],
341
- "stateMutability": "view",
1037
+ "name": "initializeRegisterable",
1038
+ "outputs": [],
1039
+ "stateMutability": "nonpayable",
1040
+ "type": "function"
1041
+ },
1042
+ {
1043
+ "inputs": [
1044
+ {
1045
+ "internalType": "address",
1046
+ "name": "registryAddress",
1047
+ "type": "address"
1048
+ }
1049
+ ],
1050
+ "name": "initializeRegistryLinked",
1051
+ "outputs": [],
1052
+ "stateMutability": "nonpayable",
1053
+ "type": "function"
1054
+ },
1055
+ {
1056
+ "inputs": [
1057
+ {
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"
1071
+ }
1072
+ ],
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",
342
1094
  "type": "function"
343
1095
  },
344
1096
  {
345
1097
  "inputs": [],
346
- "name": "getVersionCount",
1098
+ "name": "isConsumingScheduledOp",
347
1099
  "outputs": [
348
1100
  {
349
- "internalType": "uint256",
1101
+ "internalType": "bytes4",
350
1102
  "name": "",
351
- "type": "uint256"
1103
+ "type": "bytes4"
352
1104
  }
353
1105
  ],
354
1106
  "stateMutability": "view",
355
1107
  "type": "function"
356
1108
  },
1109
+ {
1110
+ "inputs": [],
1111
+ "name": "linkToRegisteredNftId",
1112
+ "outputs": [],
1113
+ "stateMutability": "nonpayable",
1114
+ "type": "function"
1115
+ },
357
1116
  {
358
1117
  "inputs": [
359
1118
  {
360
- "internalType": "Version",
361
- "name": "_version",
362
- "type": "uint24"
363
- }
364
- ],
365
- "name": "getVersionInfo",
366
- "outputs": [
1119
+ "internalType": "NftId",
1120
+ "name": "distributionNftId",
1121
+ "type": "uint96"
1122
+ },
1123
+ {
1124
+ "internalType": "ReferralId",
1125
+ "name": "referralId",
1126
+ "type": "bytes8"
1127
+ },
367
1128
  {
368
1129
  "components": [
369
1130
  {
370
- "internalType": "Version",
371
- "name": "version",
372
- "type": "uint24"
1131
+ "internalType": "uint256",
1132
+ "name": "netPremiumAmount",
1133
+ "type": "uint256"
373
1134
  },
374
1135
  {
375
- "internalType": "address",
376
- "name": "implementation",
377
- "type": "address"
1136
+ "internalType": "uint256",
1137
+ "name": "fullPremiumAmount",
1138
+ "type": "uint256"
378
1139
  },
379
1140
  {
380
- "internalType": "address",
381
- "name": "activatedBy",
382
- "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"
383
1194
  },
384
1195
  {
385
- "internalType": "Timestamp",
386
- "name": "activatedAt",
387
- "type": "uint40"
1196
+ "internalType": "uint256",
1197
+ "name": "commissionAmount",
1198
+ "type": "uint256"
388
1199
  },
389
1200
  {
390
- "internalType": "Blocknumber",
391
- "name": "activatedIn",
392
- "type": "uint32"
1201
+ "internalType": "uint256",
1202
+ "name": "discountAmount",
1203
+ "type": "uint256"
393
1204
  }
394
1205
  ],
395
- "internalType": "struct IVersionable.VersionInfo",
396
- "name": "",
1206
+ "internalType": "struct IPolicy.Premium",
1207
+ "name": "premium",
397
1208
  "type": "tuple"
398
- }
399
- ],
400
- "stateMutability": "view",
401
- "type": "function"
402
- },
403
- {
404
- "inputs": [
405
- {
406
- "internalType": "address",
407
- "name": "implementation",
408
- "type": "address"
409
- },
410
- {
411
- "internalType": "address",
412
- "name": "activatedBy",
413
- "type": "address"
414
1209
  },
415
1210
  {
416
- "internalType": "bytes",
417
- "name": "data",
418
- "type": "bytes"
1211
+ "internalType": "uint256",
1212
+ "name": "transferredDistributionFeeAmount",
1213
+ "type": "uint256"
419
1214
  }
420
1215
  ],
421
- "name": "initialize",
1216
+ "name": "processSale",
422
1217
  "outputs": [],
423
1218
  "stateMutability": "nonpayable",
424
1219
  "type": "function"
@@ -426,34 +1221,32 @@
426
1221
  {
427
1222
  "inputs": [
428
1223
  {
429
- "internalType": "Version",
430
- "name": "_version",
431
- "type": "uint24"
1224
+ "internalType": "NftId",
1225
+ "name": "distributionNftId",
1226
+ "type": "uint96"
1227
+ },
1228
+ {
1229
+ "internalType": "ReferralId",
1230
+ "name": "referralId",
1231
+ "type": "bytes8"
432
1232
  }
433
1233
  ],
434
- "name": "isInitialized",
1234
+ "name": "referralIsValid",
435
1235
  "outputs": [
436
1236
  {
437
1237
  "internalType": "bool",
438
- "name": "",
1238
+ "name": "isValid",
439
1239
  "type": "bool"
440
1240
  }
441
1241
  ],
442
1242
  "stateMutability": "view",
443
1243
  "type": "function"
444
1244
  },
445
- {
446
- "inputs": [],
447
- "name": "linkToRegisteredNftId",
448
- "outputs": [],
449
- "stateMutability": "nonpayable",
450
- "type": "function"
451
- },
452
1245
  {
453
1246
  "inputs": [
454
1247
  {
455
1248
  "internalType": "address",
456
- "name": "distributionComponentAddress",
1249
+ "name": "distributionAddress",
457
1250
  "type": "address"
458
1251
  }
459
1252
  ],
@@ -470,6 +1263,49 @@
470
1263
  },
471
1264
  {
472
1265
  "inputs": [
1266
+ {
1267
+ "internalType": "bytes4",
1268
+ "name": "interfaceId",
1269
+ "type": "bytes4"
1270
+ }
1271
+ ],
1272
+ "name": "registerInterface",
1273
+ "outputs": [],
1274
+ "stateMutability": "nonpayable",
1275
+ "type": "function"
1276
+ },
1277
+ {
1278
+ "inputs": [
1279
+ {
1280
+ "internalType": "address",
1281
+ "name": "newAuthority",
1282
+ "type": "address"
1283
+ }
1284
+ ],
1285
+ "name": "setAuthority",
1286
+ "outputs": [],
1287
+ "stateMutability": "nonpayable",
1288
+ "type": "function"
1289
+ },
1290
+ {
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
+ },
473
1309
  {
474
1310
  "components": [
475
1311
  {
@@ -515,14 +1351,14 @@
515
1351
  {
516
1352
  "inputs": [
517
1353
  {
518
- "internalType": "address",
519
- "name": "implementation",
520
- "type": "address"
1354
+ "internalType": "NftId",
1355
+ "name": "distributorNftId",
1356
+ "type": "uint96"
521
1357
  },
522
1358
  {
523
- "internalType": "address",
524
- "name": "activatedBy",
525
- "type": "address"
1359
+ "internalType": "DistributorType",
1360
+ "name": "distributorType",
1361
+ "type": "bytes8"
526
1362
  },
527
1363
  {
528
1364
  "internalType": "bytes",
@@ -530,20 +1366,37 @@
530
1366
  "type": "bytes"
531
1367
  }
532
1368
  ],
533
- "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",
534
1383
  "outputs": [],
535
1384
  "stateMutability": "nonpayable",
536
1385
  "type": "function"
537
1386
  }
538
1387
  ],
539
- "bytecode": "0x60806040523480156200001157600080fd5b50620000546301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600280546001600160a01b031916331790556200007062000076565b6200012a565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000c75760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001275780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6128cc806200013a6000396000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c80635ab1bd53116100b8578063a745e3df1161007c578063a745e3df1461042f578063b3c6501514610442578063b88da75914610462578063caf4e3d414610475578063cde749f41461047d578063cf7a1d771461049757600080fd5b80635ab1bd5314610391578063644c45e0146103b6578063893d20e8146103ce578063946dfcfe146103d6578063a3f4df7e146103fd57600080fd5b80631eff4b22116100ff5780631eff4b22146101f25780633f52c0f6146102275780634420e4861461023a5780634d459c90146102655780634f4213331461037e57600080fd5b806301ffc9a71461013c5780630d8e6e2c1461017e5780630fec111c1461019a578063138461e0146101b057806317d7de7c146101ba575b600080fd5b61016961014a366004611f21565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101866104aa565b60405162ffffff9091168152602001610175565b6101a2610534565b604051610175929190611fa2565b6101b86106ba565b005b604080518082019091526013815272446973747269627574696f6e5365727669636560681b60208201525b6040516101759190612049565b6102197f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610175565b6101b86102353660046120ec565b6108dc565b61024d610248366004612133565b610a3f565b6040516001600160601b039091168152602001610175565b610321610273366004612161565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915260008051602061287783398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610175565b61016961038c366004612161565b610d72565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610175565b600154600160a01b90046001600160601b031661024d565b61039e610e25565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed90154610219565b6101e560405180604001604052806013815260200172446973747269627574696f6e5365727669636560681b81525081565b6101b861043d3660046121a5565b610f3e565b61044a611098565b6040516001600160401b039091168152602001610175565b610186610470366004612249565b6110b9565b61039e61110a565b6104856111c5565b60405160ff9091168152602001610175565b6101b86104a53660046121a5565b611248565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561050b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061052f9190612262565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806105bb6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610603610e25565b6001600160a01b031681526020018260010180546106209061227f565b80601f016020809104026020016040519081016040528092919081815260200182805461064c9061227f565b80156106995780601f1061066e57610100808354040283529160200191610699565b820191906000526020600020905b81548152906001019060200180831161067c57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561071c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061074091906122ce565b15610787576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166107b05760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156107f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081d91906122ce565b610845576040516372657a5160e01b81526001600160a01b038216600482015260240161077e565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa15801561088f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108b39190612300565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b6000806108e96078611351565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561092d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610951919061231b565b8351604051639ad69c6760e01b81526001600160601b0382166004820152919250906000906001600160a01b03841690639ad69c679060240160c060405180830381865afa1580156109a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109cb9190612343565b60408181018890525163bd5947e360e01b81529091506001600160a01b0385169063bd5947e390610a05908590859060ff9060040161244d565b600060405180830381600087803b158015610a1f57600080fd5b505af1158015610a33573d6000803e3d6000fd5b50505050505050505050565b60008033905060008390506000816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a8a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aae919061231b565b60045490915081906001600160a01b0316639c12c9c785610acd611642565b846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b0b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b2f9190612300565b6040516001600160e01b031960e086901b1681526001600160a01b0390931660048401526001600160401b0390911660248301526001600160601b03166044820152606401602060405180830381865afa158015610b91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bb591906122ce565b610c0d5760405162461bcd60e51b8152602060048201526024808201527f4552524f523a4449532d3030313a4e4f545f444953545249425554494f4e5f4f6044820152632ba722a960e11b606482015260840161077e565b6000610c1761110a565b604051638fbc2d8160e01b81526001600160a01b0386811660048301528781166024830152919250600091831690638fbc2d81906044016000604051808303816000875af1158015610c6d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c959190810190612590565b509050806000015196506000856001600160a01b0316638e7ff97e6040518163ffffffff1660e01b815260040160c060405180830381865afa158015610cdf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d039190612343565b604051630b24cf5f60e01b81529091506001600160a01b03861690630b24cf5f90610d34908b9085906004016125f3565b600060405180830381600087803b158015610d4e57600080fd5b505af1158015610d62573d6000803e3d6000fd5b5050505050505050505050919050565b60008060008051602061287783398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610dfa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e1e9190612610565b1192915050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610e8a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eae91906122ce565b15610f2e57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610f0a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061052f919061231b565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610f606104aa565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610fa0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc4919061263e565b6000805160206128578339815191528054600160401b900460ff1680610ff7575080546001600160401b03808416911610155b156110155760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561104085856116b9565b61104983611958565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b600061052f600080516020612857833981519152546001600160401b031690565b600060008051602061287783398151915260010182815481106110de576110de61265b565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60008061111f6001546001600160a01b031690565b6001600160a01b031663a3bcd81d6111356111c5565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa15801561119b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111bf919061231b565b92915050565b60006111cf6104aa565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611224573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061052f9190612671565b6000805160206128578339815191528054600160401b810460ff1615906001600160401b031660008115801561127b5750825b90506000826001600160401b031660011480156112975750303b155b9050811580156112a5575080155b156112c35760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156112ed57845460ff60401b1916600160401b1785555b6112f788886116b9565b6113018787611960565b831561134757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152600154604051636939560f60e11b815233600482015260009182916001600160a01b039091169063d272ac1e90602401602060405180830381865afa1580156113d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113fd9190612300565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611458573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061147c91906122ce565b6114c85760405162461bcd60e51b815260206004820152601760248201527f4552524f525f434f4d504f4e454e545f554e4b4e4f574e000000000000000000604482015260640161077e565b6001546001600160a01b03166040516305247a1760e51b81526001600160601b03831660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611523573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261154b919081019061268e565b925061156183604001518560ff90811691161490565b6115a35760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b604482015260640161077e565b60006115b76001546001600160a01b031690565b60208501516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801561160c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611634919081019061268e565b608001519395939450505050565b6040516368aebf7b60e01b81526064600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015611695573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061052f919061263e565b6116c1611b6f565b60008051602061287783398151915260006116f1600080516020612857833981519152546001600160401b031690565b905060006116fd6104aa565b9050816001600160401b031660010361172a5760028301805462ffffff191662ffffff8316179055611778565b600283015462ffffff908116908216116117785760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b604482015260640161077e565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af415801561182c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061185091906126c2565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf68906110899083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b610137611b6f565b6000805160206128578339815191528054600160401b810460ff1615906001600160401b03166000811580156119935750825b90506000826001600160401b031660011480156119af5750303b155b9050811580156119bd575080155b156119db5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611a0557845460ff60401b1916600160401b1785555b600086806020019051810190611a1b91906126e9565b600380546001600160a01b039093166001600160a01b03199093168317905591508063a3bcd81d611a4a6111c5565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e496e7374616e63655365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa158015611ab0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ad4919061231b565b600480546001600160a01b0319166001600160a01b03928316179055600354611afe911683611ba8565b611b0e631b4612f160e31b611c39565b611b1e631fa9607b60e11b611c39565b50508315611b6657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b60008051602061285783398151915254600160401b900460ff16611ba657604051631afcd79f60e31b815260040160405180910390fd5b565b6000611bda604080518082019091526013815272446973747269627574696f6e5365727669636560681b602082015290565b611be26111c5565b604051602001611bf3929190612723565b60405160208183030381529060405290506000611c0f84611c5e565b90506000611c228583603c848888611cc9565b611c32631b4612f160e31b611c39565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015611ca5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111bf9190612300565b611d0a6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b611d148287611d95565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101611d848382612797565b50611b666303fb044760e21b611c39565b600280546001600160a01b0319166001600160a01b038416179055611db981611dbd565b5050565b6001546001600160a01b031615611df65760015460405163fcdbf2d960e01b81526001600160a01b03909116600482015260240161077e565b6001600160a01b038116611e1d5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003611e535760405163fdeac91f60e01b81526001600160a01b038216600482015260240161077e565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263e14a543960e01b60048201526301ffc9a790602401602060405180830381865afa925050508015611ecd575060408051601f3d908101601f19168201909252611eca918101906122ce565b60015b611ef55760405163fdeac91f60e01b81526001600160a01b038216600482015260240161077e565b80611db95760405163fdeac91f60e01b81526001600160a01b038316600482015260240161077e565b50565b600060208284031215611f3357600080fd5b81356001600160e01b031981168114611f4b57600080fd5b9392505050565b60005b83811015611f6d578181015183820152602001611f55565b50506000910152565b60008151808452611f8e816020860160208601611f52565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff60408501511660808301526060840151611fe660a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e061010084015261202c610120840182611f76565b905082810360208401526120408185611f76565b95945050505050565b602081526000611f4b6020830184611f76565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b03811182821017156120945761209461205c565b60405290565b60405160e081016001600160401b03811182821017156120945761209461205c565b604051601f8201601f191681016001600160401b03811182821017156120e4576120e461205c565b604052919050565b6000604082840312156120fe57600080fd5b612106612072565b82358152602083013560208201528091505092915050565b6001600160a01b0381168114611f1e57600080fd5b60006020828403121561214557600080fd5b8135611f4b8161211e565b62ffffff81168114611f1e57600080fd5b60006020828403121561217357600080fd5b8135611f4b81612150565b60006001600160401b038211156121975761219761205c565b50601f01601f191660200190565b6000806000606084860312156121ba57600080fd5b83356121c58161211e565b925060208401356121d58161211e565b915060408401356001600160401b038111156121f057600080fd5b8401601f8101861361220157600080fd5b803561221461220f8261217e565b6120bc565b81815287602083850101111561222957600080fd5b816020840160208301376000602083830101528093505050509250925092565b60006020828403121561225b57600080fd5b5035919050565b60006020828403121561227457600080fd5b8151611f4b81612150565b600181811c9082168061229357607f821691505b6020821081036122b357634e487b7160e01b600052602260045260246000fd5b50919050565b805180151581146122c957600080fd5b919050565b6000602082840312156122e057600080fd5b611f4b826122b9565b80516001600160601b03811681146122c957600080fd5b60006020828403121561231257600080fd5b611f4b826122e9565b60006020828403121561232d57600080fd5b8151611f4b8161211e565b80516122c98161211e565b600081830360c081121561235657600080fd5b60405160a081018181106001600160401b03821117156123785761237861205c565b604052612384846122e9565b815260208401516123948161211e565b60208201526040603f19830112156123ab57600080fd5b6123b3612072565b915060408401518252606084015160208301528160408201526123d8608085016122b9565b60608201526123e960a08501612338565b6080820152949350505050565b6001600160601b038151168252602081015160018060a01b0380821660208501526040830151915081516040850152602082015160608501526060830151151560808501528060808401511660a085015250505050565b6001600160601b0384168152610100810161246b60208301856123f6565b60ff831660e0830152949350505050565b60ff81168114611f1e57600080fd5b80516122c98161247c565b600082601f8301126124a757600080fd5b81516124b561220f8261217e565b8181528460208386010111156124ca57600080fd5b6124db826020830160208701611f52565b949350505050565b600060e082840312156124f557600080fd5b6124fd61209a565b9050612508826122e9565b8152612516602083016122e9565b60208201526125276040830161248b565b6040820152612538606083016122b9565b606082015261254960808301612338565b608082015261255a60a08301612338565b60a082015260c08201516001600160401b0381111561257857600080fd5b61258484828501612496565b60c08301525092915050565b600080604083850312156125a357600080fd5b82516001600160401b03808211156125ba57600080fd5b6125c6868387016124e3565b935060208501519150808211156125dc57600080fd5b506125e985828601612496565b9150509250929050565b6001600160601b038316815260e08101611f4b60208301846123f6565b60006020828403121561262257600080fd5b5051919050565b6001600160401b0381168114611f1e57600080fd5b60006020828403121561265057600080fd5b8151611f4b81612629565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561268357600080fd5b8151611f4b8161247c565b6000602082840312156126a057600080fd5b81516001600160401b038111156126b657600080fd5b6124db848285016124e3565b6000602082840312156126d457600080fd5b815164ffffffffff81168114611f4b57600080fd5b600080604083850312156126fc57600080fd5b82516127078161211e565b60208401519092506127188161211e565b809150509250929050565b6040815260006127366040830185611f76565b905060ff831660208301529392505050565b601f82111561279257600081815260208120601f850160051c8101602086101561276f5750805b601f850160051c820191505b8181101561278e5782815560010161277b565b5050505b505050565b81516001600160401b038111156127b0576127b061205c565b6127c4816127be845461227f565b84612748565b602080601f8311600181146127f957600084156127e15750858301515b600019600386901b1c1916600185901b17855561278e565b600085815260208120601f198616915b8281101561282857888601518255948401946001909101908401612809565b50858210156128465787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220f47cdf330b95ba3c82c4f74d2726495fe11b23f25af57884ed4fb1a5be817d9264736f6c63430008140033",
540
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101375760003560e01c80635ab1bd53116100b8578063a745e3df1161007c578063a745e3df1461042f578063b3c6501514610442578063b88da75914610462578063caf4e3d414610475578063cde749f41461047d578063cf7a1d771461049757600080fd5b80635ab1bd5314610391578063644c45e0146103b6578063893d20e8146103ce578063946dfcfe146103d6578063a3f4df7e146103fd57600080fd5b80631eff4b22116100ff5780631eff4b22146101f25780633f52c0f6146102275780634420e4861461023a5780634d459c90146102655780634f4213331461037e57600080fd5b806301ffc9a71461013c5780630d8e6e2c1461017e5780630fec111c1461019a578063138461e0146101b057806317d7de7c146101ba575b600080fd5b61016961014a366004611f21565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101866104aa565b60405162ffffff9091168152602001610175565b6101a2610534565b604051610175929190611fa2565b6101b86106ba565b005b604080518082019091526013815272446973747269627574696f6e5365727669636560681b60208201525b6040516101759190612049565b6102197f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610175565b6101b86102353660046120ec565b6108dc565b61024d610248366004612133565b610a3f565b6040516001600160601b039091168152602001610175565b610321610273366004612161565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915260008051602061287783398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610175565b61016961038c366004612161565b610d72565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610175565b600154600160a01b90046001600160601b031661024d565b61039e610e25565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed90154610219565b6101e560405180604001604052806013815260200172446973747269627574696f6e5365727669636560681b81525081565b6101b861043d3660046121a5565b610f3e565b61044a611098565b6040516001600160401b039091168152602001610175565b610186610470366004612249565b6110b9565b61039e61110a565b6104856111c5565b60405160ff9091168152602001610175565b6101b86104a53660046121a5565b611248565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561050b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061052f9190612262565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806105bb6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610603610e25565b6001600160a01b031681526020018260010180546106209061227f565b80601f016020809104026020016040519081016040528092919081815260200182805461064c9061227f565b80156106995780601f1061066e57610100808354040283529160200191610699565b820191906000526020600020905b81548152906001019060200180831161067c57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561071c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061074091906122ce565b15610787576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166107b05760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156107f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081d91906122ce565b610845576040516372657a5160e01b81526001600160a01b038216600482015260240161077e565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa15801561088f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108b39190612300565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b6000806108e96078611351565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561092d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610951919061231b565b8351604051639ad69c6760e01b81526001600160601b0382166004820152919250906000906001600160a01b03841690639ad69c679060240160c060405180830381865afa1580156109a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109cb9190612343565b60408181018890525163bd5947e360e01b81529091506001600160a01b0385169063bd5947e390610a05908590859060ff9060040161244d565b600060405180830381600087803b158015610a1f57600080fd5b505af1158015610a33573d6000803e3d6000fd5b50505050505050505050565b60008033905060008390506000816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a8a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aae919061231b565b60045490915081906001600160a01b0316639c12c9c785610acd611642565b846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b0b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b2f9190612300565b6040516001600160e01b031960e086901b1681526001600160a01b0390931660048401526001600160401b0390911660248301526001600160601b03166044820152606401602060405180830381865afa158015610b91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bb591906122ce565b610c0d5760405162461bcd60e51b8152602060048201526024808201527f4552524f523a4449532d3030313a4e4f545f444953545249425554494f4e5f4f6044820152632ba722a960e11b606482015260840161077e565b6000610c1761110a565b604051638fbc2d8160e01b81526001600160a01b0386811660048301528781166024830152919250600091831690638fbc2d81906044016000604051808303816000875af1158015610c6d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c959190810190612590565b509050806000015196506000856001600160a01b0316638e7ff97e6040518163ffffffff1660e01b815260040160c060405180830381865afa158015610cdf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d039190612343565b604051630b24cf5f60e01b81529091506001600160a01b03861690630b24cf5f90610d34908b9085906004016125f3565b600060405180830381600087803b158015610d4e57600080fd5b505af1158015610d62573d6000803e3d6000fd5b5050505050505050505050919050565b60008060008051602061287783398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610dfa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e1e9190612610565b1192915050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610e8a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eae91906122ce565b15610f2e57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610f0a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061052f919061231b565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610f606104aa565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610fa0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc4919061263e565b6000805160206128578339815191528054600160401b900460ff1680610ff7575080546001600160401b03808416911610155b156110155760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561104085856116b9565b61104983611958565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b600061052f600080516020612857833981519152546001600160401b031690565b600060008051602061287783398151915260010182815481106110de576110de61265b565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60008061111f6001546001600160a01b031690565b6001600160a01b031663a3bcd81d6111356111c5565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa15801561119b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111bf919061231b565b92915050565b60006111cf6104aa565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611224573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061052f9190612671565b6000805160206128578339815191528054600160401b810460ff1615906001600160401b031660008115801561127b5750825b90506000826001600160401b031660011480156112975750303b155b9050811580156112a5575080155b156112c35760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156112ed57845460ff60401b1916600160401b1785555b6112f788886116b9565b6113018787611960565b831561134757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152600154604051636939560f60e11b815233600482015260009182916001600160a01b039091169063d272ac1e90602401602060405180830381865afa1580156113d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113fd9190612300565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611458573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061147c91906122ce565b6114c85760405162461bcd60e51b815260206004820152601760248201527f4552524f525f434f4d504f4e454e545f554e4b4e4f574e000000000000000000604482015260640161077e565b6001546001600160a01b03166040516305247a1760e51b81526001600160601b03831660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611523573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261154b919081019061268e565b925061156183604001518560ff90811691161490565b6115a35760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b604482015260640161077e565b60006115b76001546001600160a01b031690565b60208501516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801561160c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611634919081019061268e565b608001519395939450505050565b6040516368aebf7b60e01b81526064600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015611695573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061052f919061263e565b6116c1611b6f565b60008051602061287783398151915260006116f1600080516020612857833981519152546001600160401b031690565b905060006116fd6104aa565b9050816001600160401b031660010361172a5760028301805462ffffff191662ffffff8316179055611778565b600283015462ffffff908116908216116117785760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b604482015260640161077e565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af415801561182c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061185091906126c2565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf68906110899083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b610137611b6f565b6000805160206128578339815191528054600160401b810460ff1615906001600160401b03166000811580156119935750825b90506000826001600160401b031660011480156119af5750303b155b9050811580156119bd575080155b156119db5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611a0557845460ff60401b1916600160401b1785555b600086806020019051810190611a1b91906126e9565b600380546001600160a01b039093166001600160a01b03199093168317905591508063a3bcd81d611a4a6111c5565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e496e7374616e63655365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa158015611ab0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ad4919061231b565b600480546001600160a01b0319166001600160a01b03928316179055600354611afe911683611ba8565b611b0e631b4612f160e31b611c39565b611b1e631fa9607b60e11b611c39565b50508315611b6657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b60008051602061285783398151915254600160401b900460ff16611ba657604051631afcd79f60e31b815260040160405180910390fd5b565b6000611bda604080518082019091526013815272446973747269627574696f6e5365727669636560681b602082015290565b611be26111c5565b604051602001611bf3929190612723565b60405160208183030381529060405290506000611c0f84611c5e565b90506000611c228583603c848888611cc9565b611c32631b4612f160e31b611c39565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015611ca5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111bf9190612300565b611d0a6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b611d148287611d95565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101611d848382612797565b50611b666303fb044760e21b611c39565b600280546001600160a01b0319166001600160a01b038416179055611db981611dbd565b5050565b6001546001600160a01b031615611df65760015460405163fcdbf2d960e01b81526001600160a01b03909116600482015260240161077e565b6001600160a01b038116611e1d5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003611e535760405163fdeac91f60e01b81526001600160a01b038216600482015260240161077e565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263e14a543960e01b60048201526301ffc9a790602401602060405180830381865afa925050508015611ecd575060408051601f3d908101601f19168201909252611eca918101906122ce565b60015b611ef55760405163fdeac91f60e01b81526001600160a01b038216600482015260240161077e565b80611db95760405163fdeac91f60e01b81526001600160a01b038316600482015260240161077e565b50565b600060208284031215611f3357600080fd5b81356001600160e01b031981168114611f4b57600080fd5b9392505050565b60005b83811015611f6d578181015183820152602001611f55565b50506000910152565b60008151808452611f8e816020860160208601611f52565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff60408501511660808301526060840151611fe660a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e061010084015261202c610120840182611f76565b905082810360208401526120408185611f76565b95945050505050565b602081526000611f4b6020830184611f76565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b03811182821017156120945761209461205c565b60405290565b60405160e081016001600160401b03811182821017156120945761209461205c565b604051601f8201601f191681016001600160401b03811182821017156120e4576120e461205c565b604052919050565b6000604082840312156120fe57600080fd5b612106612072565b82358152602083013560208201528091505092915050565b6001600160a01b0381168114611f1e57600080fd5b60006020828403121561214557600080fd5b8135611f4b8161211e565b62ffffff81168114611f1e57600080fd5b60006020828403121561217357600080fd5b8135611f4b81612150565b60006001600160401b038211156121975761219761205c565b50601f01601f191660200190565b6000806000606084860312156121ba57600080fd5b83356121c58161211e565b925060208401356121d58161211e565b915060408401356001600160401b038111156121f057600080fd5b8401601f8101861361220157600080fd5b803561221461220f8261217e565b6120bc565b81815287602083850101111561222957600080fd5b816020840160208301376000602083830101528093505050509250925092565b60006020828403121561225b57600080fd5b5035919050565b60006020828403121561227457600080fd5b8151611f4b81612150565b600181811c9082168061229357607f821691505b6020821081036122b357634e487b7160e01b600052602260045260246000fd5b50919050565b805180151581146122c957600080fd5b919050565b6000602082840312156122e057600080fd5b611f4b826122b9565b80516001600160601b03811681146122c957600080fd5b60006020828403121561231257600080fd5b611f4b826122e9565b60006020828403121561232d57600080fd5b8151611f4b8161211e565b80516122c98161211e565b600081830360c081121561235657600080fd5b60405160a081018181106001600160401b03821117156123785761237861205c565b604052612384846122e9565b815260208401516123948161211e565b60208201526040603f19830112156123ab57600080fd5b6123b3612072565b915060408401518252606084015160208301528160408201526123d8608085016122b9565b60608201526123e960a08501612338565b6080820152949350505050565b6001600160601b038151168252602081015160018060a01b0380821660208501526040830151915081516040850152602082015160608501526060830151151560808501528060808401511660a085015250505050565b6001600160601b0384168152610100810161246b60208301856123f6565b60ff831660e0830152949350505050565b60ff81168114611f1e57600080fd5b80516122c98161247c565b600082601f8301126124a757600080fd5b81516124b561220f8261217e565b8181528460208386010111156124ca57600080fd5b6124db826020830160208701611f52565b949350505050565b600060e082840312156124f557600080fd5b6124fd61209a565b9050612508826122e9565b8152612516602083016122e9565b60208201526125276040830161248b565b6040820152612538606083016122b9565b606082015261254960808301612338565b608082015261255a60a08301612338565b60a082015260c08201516001600160401b0381111561257857600080fd5b61258484828501612496565b60c08301525092915050565b600080604083850312156125a357600080fd5b82516001600160401b03808211156125ba57600080fd5b6125c6868387016124e3565b935060208501519150808211156125dc57600080fd5b506125e985828601612496565b9150509250929050565b6001600160601b038316815260e08101611f4b60208301846123f6565b60006020828403121561262257600080fd5b5051919050565b6001600160401b0381168114611f1e57600080fd5b60006020828403121561265057600080fd5b8151611f4b81612629565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561268357600080fd5b8151611f4b8161247c565b6000602082840312156126a057600080fd5b81516001600160401b038111156126b657600080fd5b6124db848285016124e3565b6000602082840312156126d457600080fd5b815164ffffffffff81168114611f4b57600080fd5b600080604083850312156126fc57600080fd5b82516127078161211e565b60208401519092506127188161211e565b809150509250929050565b6040815260006127366040830185611f76565b905060ff831660208301529392505050565b601f82111561279257600081815260208120601f850160051c8101602086101561276f5750805b601f850160051c820191505b8181101561278e5782815560010161277b565b5050505b505050565b81516001600160401b038111156127b0576127b061205c565b6127c4816127be845461227f565b84612748565b602080601f8311600181146127f957600084156127e15750858301515b600019600386901b1c1916600185901b17855561278e565b600085815260208120601f198616915b8281101561282857888601518255948401946001909101908401612809565b50858210156128465787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220f47cdf330b95ba3c82c4f74d2726495fe11b23f25af57884ed4fb1a5be817d9264736f6c63430008140033",
1388
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b615fb580620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101fb5760003560e01c80635dcb3bae1161011a578063ada9652e116100ad578063caf4e3d41161007c578063caf4e3d414610553578063cc9fc59a1461055b578063d25f509514610563578063f21de1e814610433578063f7c34ee01461057657600080fd5b8063ada9652e146104fe578063b68d180914610513578063b6b412ba14610522578063bf7e214f1461053557600080fd5b8063893d20e8116100e9578063893d20e8146104af5780638dd2b781146104b75780638e32e979146104ca5780638fb36037146104dd57600080fd5b80635dcb3bae14610458578063644c45e01461046b578063675393bf146104895780637a9e5e4b1461049c57600080fd5b806327bb7a33116101925780633d683fd9116101615780633d683fd9146103e25780634420e486146103f557806349bb9e4b146104205780635ab1bd531461043357600080fd5b806327bb7a33146103945780632b5198b1146103a7578063329d6e74146103c757806336fc697e146103da57600080fd5b80631eff4b22116101ce5780631eff4b221461027d578063214cdb80146102b2578063219a3195146102c557806325d073841461038157600080fd5b806301ffc9a7146102005780630d8e6e2c146102425780630fec111c1461025e578063138461e014610273575b600080fd5b61022d61020e366004614a8a565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61024a610589565b60405162ffffff9091168152602001610239565b610266610613565b6040516102399190614b04565b61027b6107c7565b005b6102a47f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610239565b61027b6102c0366004614a8a565b6109ce565b6102d86102d3366004614d73565b6109fb565b6040516102399190815181526020808301519082015260408083015190820152606080830151908201526080808301519082015260a0808301519082015260c0808301519082015260e08083015190820152610100808301519082015261012080830151908201526101408083015190820152610160808301519082015261018080830151908201526101a080830151908201526101c091820151918101919091526101e00190565b61022d61038f366004614dbc565b611288565b61027b6103a2366004614eb4565b6115bb565b6103ba6103b5366004614f5e565b611647565b604051610239919061502a565b61027b6103d536600461503f565b611c01565b61027b611d4e565b61027b6103f0366004615073565b611d94565b6104086104033660046150d4565b611f01565b6040516001600160601b039091168152602001610239565b61027b61042e3660046150f1565b61239d565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610239565b610408610466366004615140565b61249c565b600080516020615f20833981519152546001600160601b0316610408565b61027b6104973660046150d4565b61263c565b61027b6104aa3660046150d4565b61274a565b6104406127e4565b6103ba6104c5366004615173565b61291b565b61027b6104d836600461520d565b6131aa565b6104e56133e3565b6040516001600160e01b03199091168152602001610239565b6102a4600080516020615f2083398151915281565b60405160788152602001610239565b61027b610530366004615288565b61341b565b600080516020615f40833981519152546001600160a01b0316610440565b6104406136a1565b6104406136ad565b61027b6105713660046152bd565b6136b9565b61027b61058436600461530f565b613c0c565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156105ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060e919061533d565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b909104161515918101919091526001820180549192916060840191906106c390615362565b80601f01602080910402602001604051908101604052809291908181526020018280546106ef90615362565b801561073c5780601f106107115761010080835404028352916020019161073c565b820191906000526020600020905b81548152906001019060200180831161071f57829003601f168201915b50505050508152505090506040518060e0016040528061075a600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016107ab6127e4565b6001600160a01b03168152602001826060015181525091505090565b6000600080516020615f2083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610836573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061085a91906153a7565b1561088b5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b3061089e6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156108e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061090a91906153a7565b6109325760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610882565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610986573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109aa91906153cf565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6109d6613c83565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610a74604051806101e001604052806000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6000610a7f85613cbc565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ac1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae591906153ec565b604051639ad69c6760e01b81526001600160601b03881660048201529091506000906001600160a01b03831690639ad69c679060240161010060405180830381865afa158015610b39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b5d9190615444565b6060810151604080830151885191516322f5db0f60e11b81529394509192600091610bf79173__$5ac3274b8cf1e01ea223bf093142af05b0$__916345ebb61e91610baf919060040190815260200190565b602060405180830381865af4158015610bcc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bf091906154e5565b8451613de5565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610c48573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c6c91906154e5565b61014089018190526020890180519192508291610c8a908390615514565b905250610c978a8a611288565b610cc95750505060c0850151610160860152505050610140820151610180830152506020810151604082015280611281565b604051631d3be47760e01b81526000906001600160a01b03871690631d3be47790610cf8908d9060040161502a565b600060405180830381865afa158015610d15573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d3d9190810190615582565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b038816906327b1d79290602401600060405180830381865afa158015610d93573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610dbb9190810190615660565b80516040516368322c6360e11b81529192506000916001600160a01b038a169163d06458c691610dee919060040161502a565b600060405180830381865afa158015610e0b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e339190810190615709565b8b516040516322f5db0f60e11b8152600481019190915290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af4158015610e8c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eb091906154e5565b60608301516040516332292b2760e21b815273__$5ac3274b8cf1e01ea223bf093142af05b0$__9263c8a4ac9c92610ef392600401918252602082015260400190565b602060405180830381865af4158015610f10573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f3491906154e5565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610f85573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa991906154e5565b6101a08d0181905260208d01516040516322f5db0f60e11b815291925073__$5ac3274b8cf1e01ea223bf093142af05b0$__916345ebb61e91610ff29160040190815260200190565b602060405180830381865af415801561100f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061103391906154e5565b60408086015190516332292b2760e21b815273__$5ac3274b8cf1e01ea223bf093142af05b0$__9263c8a4ac9c9261107692600401918252602082015260400190565b602060405180830381865af4158015611093573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110b791906154e5565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015611108573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061112c91906154e5565b6101c08d0181905260208701516101608e01526111498287615800565b6111539190615800565b6101808d01526101c08c015160208d015161116e9190615800565b60408d015250505050602082015161016089015110156111e75760c08801516101408901516101608a01516101808b01516101a08c01516101c08d015160405163a4d2313f60e01b81526004810196909652602486019490945260448501929092526064840152608483015260a482015260c401610882565b876101a00151886101800151896101c001516112039190615514565b61120d9190615514565b886101400151146112775760c08801516101408901516101608a01516101808b01516101a08c01516101c08d015160405163a4d2313f60e01b81526004810196909652602486019490945260448501929092526064840152608483015260a482015260c401610882565b8796505050505050505b9392505050565b60008061129484613cbc565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112fa91906153ec565b6001600160a01b0316631d3be477856040518263ffffffff1660e01b8152600401611325919061502a565b600060405180830381865afa158015611342573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261136a9190810190615582565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af41580156113c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ec91906153a7565b156113fc576000925050506115b5565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015611458573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061147c91906153a7565b8061158e575060a0810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af41580156114de573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061150291906153a7565b801561158e575061158e73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611555573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115799190615813565b8260a0015164ffffffffff9081169116111590565b92508280156115b05750806060015163ffffffff16816080015163ffffffff16105b925050505b92915050565b6115c3613c83565b6115cd8287613c0c565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b8615150217815590506001810161163d838261587e565b5050505050505050565b6000806000611654613dfa565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611698573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116bc91906153ec565b604051639ad69c6760e01b81526001600160601b03851660048201526001600160a01b039190911690639ad69c679060240161010060405180830381865afa15801561170c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117309190615444565b60408181015151905163771602f760e01b81526004810191909152602481018c905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063771602f790604401602060405180830381865af4158015611794573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117b891906154e5565b60608301515160405163b67d77c560e01b815260048101919091526024810182905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063b67d77c590604401602060405180830381865af415801561181c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061184091906154e5565b6040516321e5749b60e01b8152600481018f90526024810182905290915073__$5ac3274b8cf1e01ea223bf093142af05b0$__906321e5749b90604401602060405180830381865af415801561189a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118be91906153a7565b156119cd57604051632255341b60e11b8152600481018e905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015611913573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061193791906154e5565b604051632255341b60e11b81526004810183905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015611987573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119ab91906154e5565b60405163e2ed03dd60e01b815260048101929092526024820152604401610882565b50505073__$5906aa3f06c54ee09b434647963e1d1ed0$__63578c3039838e6040518363ffffffff1660e01b8152600401611a0992919061593d565b602060405180830381865af4158015611a26573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a4a919061595f565b6040516355ee627560e01b815290935060009073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590611a91906001600160c01b031988169060040161502a565b602060405180830381865af4158015611aae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ad291906154e5565b604051630e29a66960e21b8152600481018290529091506001600160a01b038316906338a699a490602401602060405180830381865afa158015611b1a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b3e91906153a7565b611bf15760408051610120810182528e8152602081018e90528082018d9052606081018c905263ffffffff808c1660808301528a1660a082015288151560c082015287151560e0820152610100810187905290516304f2a7e960e31b81526001600160a01b038416906327953f4890611bbd908590859060040161597c565b600060405180830381600087803b158015611bd757600080fd5b505af1158015611beb573d6000803e3d6000fd5b50505050505b5050509998505050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c611c23610589565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611c63573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c879190615a48565b600080516020615f608339815191528054600160401b900460ff1680611cba575080546001600160401b03808416911610155b15611cd85760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155611d028361407e565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b611d56613c83565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000611d9e613dfa565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611de1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e0591906153ec565b6040516313d8ebc960e11b81526001600160601b03871660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa158015611e58573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e809190810190615660565b6001600160c01b031986168152604080820186905251633ed2a38d60e21b81529091506001600160a01b0384169063fb4a8e3490611ec7908990859060ff90600401615abc565b600060405180830381600087803b158015611ee157600080fd5b505af1158015611ef5573d6000803e3d6000fd5b50505050505050505050565b600080808080611f1a866078611f15614086565b6140fe565b93509350935093506000611f2c6136a1565b604051638fbc2d8160e01b81526001600160a01b03878116600483015286811660248301529190911690638fbc2d81906044016000604051808303816000875af1158015611f7e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611fa69190810190615afc565b90506000879050806001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611fe857600080fd5b505af1158015611ffc573d6000803e3d6000fd5b5050505081600001519650836001600160a01b0316639e90178c88836001600160a01b031663c200b8096040518163ffffffff1660e01b815260040161010060405180830381865afa158015612056573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061207a9190615444565b6040518363ffffffff1660e01b8152600401612097929190615c06565b600060405180830381600087803b1580156120b157600080fd5b505af11580156120c5573d6000803e3d6000fd5b5060009250600291506120d59050565b60405190808252806020026020018201604052801561210857816020015b60608152602001906001900390816120f35790505b5060408051600180825281830190925291925060208083019080368337019050508160008151811061213c5761213c615c24565b60209081029190910101526040805160028082526060820190925290816020016020820280368337019050508160018151811061217b5761217b615c24565b602002602001018190525063b6b412ba60e01b816000815181106121a1576121a1615c24565b60200260200101516000815181106121bb576121bb615c24565b6001600160e01b0319909216602092830291909101909101528051637c07103960e11b90829060019081106121f2576121f2615c24565b602002602001015160008151811061220c5761220c615c24565b6001600160e01b0319929092166020928302919091018201526040805160028082526060820183526000939192909183019080368337019050509050612250614086565b8160008151811061226357612263615c24565b60200260200101906001600160401b031690816001600160401b03168152505061228b6143ef565b8160018151811061229e5761229e615c24565b60200260200101906001600160401b031690816001600160401b0316815250506122c66136ad565b6001600160a01b0316636c6fbb28868c866001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015612314573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261233c9190810190615c3a565b86866040518663ffffffff1660e01b815260040161235e959493929190615cb2565b600060405180830381600087803b15801561237857600080fd5b505af115801561238c573d6000803e3d6000fd5b505050505050505050505050919050565b600080516020615f608339815191528054600160401b810460ff1615906001600160401b03166000811580156123d05750825b90506000826001600160401b031660011480156123ec5750303b155b9050811580156123fa575080155b156124185760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561244257845460ff60401b1916600160401b1785555b61244c878761442b565b831561249357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b60008060006124a9613dfa565b915091506124b56136a1565b6001600160a01b03166357a8fba76040518060e001604052806124d6600090565b6001600160601b03168152602001856001600160601b031681526020016124fb607a90565b60ff16815260200160011515815260200160006001600160a01b03168152602001896001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b815260040161255a9190614b04565b6020604051808303816000875af1158015612579573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061259d91906153cf565b6040805160a0810182526001600160c01b0319881681526001602082015280820187905260006060820181905260808201529051635338a4af60e11b8152919450906001600160a01b0383169063a671495e906126009087908590600401615d86565b600060405180830381600087803b15801561261a57600080fd5b505af115801561262e573d6000803e3d6000fd5b505050505050509392505050565b612644613c83565b806001600160a01b03163b60000361267a5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610882565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa9250505080156126f4575060408051601f3d908101601f191682019092526126f1918101906153a7565b60015b61271c5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610882565b806127455760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610882565b505b50565b3361276a600080516020615f40833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b0316146127a55760405162d1953b60e31b81526001600160a01b0382166004820152602401610882565b816001600160a01b03163b6000036127db576040516361798f2f60e11b81526001600160a01b0383166004820152602401610882565b6127458261454b565b600080600080516020615f2083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015612854573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061287891906153a7565b15612905576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156128db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128ff91906153ec565b91505090565b54600160601b90046001600160a01b0316919050565b6000806000612928613dfa565b9150915087516000036129505787604051634fad6a5360e11b81526004016108829190615da8565b60405163790a38ad60e01b815264ffffffffff8616600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af41580156129a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129ca91906153a7565b156129f15760405163df85467b60e01b815264ffffffffff86166004820152602401610882565b6000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612a31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a5591906153ec565b6040516313d8ebc960e11b81526001600160601b038c1660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa158015612aa8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612ad09190810190615660565b80516040516368322c6360e11b8152919250906000906001600160a01b0385169063d06458c690612b0590859060040161502a565b600060405180830381865afa158015612b22573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612b4a9190810190615709565b90508963ffffffff16816080015163ffffffff161015612b8b576080810151604051636fcee12560e01b815263ffffffff9091166004820152602401610882565b60208101518b1015612ca7576020810151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612bed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c1191906154e5565b604051632255341b60e11b8152600481018d905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612c61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c8591906154e5565b6040516338a25a8b60e21b815260048101929092526024820152604401610882565b60408101518b1115612dc3576040818101519051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612d09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d2d91906154e5565b604051632255341b60e11b8152600481018d905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612d7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612da191906154e5565b604051631e1ea4f360e31b815260048101929092526024820152604401610882565b8060a0015163ffffffff1673__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612e17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e3b9190615813565b604051633682752160e21b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612e92573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612eb691906154e5565b604051633682752160e21b815264ffffffffff8c16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612f0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f3091906154e5565b612f3a9190615800565b1115612fe65760a0810151604051633682752160e21b815264ffffffffff8b16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612f9b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fbf91906154e5565b6040516331fa6ab160e11b815263ffffffff90921660048301526024820152604401610882565b73__$9f290d768183857d0249ab5bb54619c5ab$__633f093cd6878e6040518363ffffffff1660e01b815260040161301f92919061593d565b602060405180830381865af415801561303c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613060919061595f565b965060006040518060e001604052808f6001600160601b031681526020018e81526020018d81526020018c63ffffffff168152602001600063ffffffff1681526020018b64ffffffffff1681526020018a8152509050856001600160a01b03166354d747a8896001600160c01b03191673__$9f290d768183857d0249ab5bb54619c5ab$__6355ee627590916040518263ffffffff1660e01b8152600401613108919061502a565b602060405180830381865af4158015613125573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061314991906154e5565b836040518363ffffffff1660e01b8152600401613167929190615e37565b600060405180830381600087803b15801561318157600080fd5b505af1158015613195573d6000803e3d6000fd5b50505050505050505050509695505050505050565b6131b2613c83565b61323283846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156131f4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061321891906153cf565b603c600085604051806020016040528060008152506115bb565b6001600160a01b0382161561324f5761324a826145ac565b6133be565b60006132636001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af41580156132c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132e79190615e50565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561332c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061335091906153ec565b90506133bc816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613393573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133b791906153ec565b6145ac565b505b6133ce634a531f3360e01b6109ce565b6133de63b68d180960e01b6109ce565b505050565b600080516020615f40833981519152805460009190600160a01b900460ff1661340d5760006128ff565b638fb3603760e01b91505090565b815181511015613535578151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015613478573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061349c91906154e5565b8151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156134ef573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061351391906154e5565b604051631a9c6b0960e01b815260048101929092526024820152604401610882565b6000808061354360786145bd565b9250925092506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015613589573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135ad91906153ec565b604051639ad69c6760e01b81526001600160601b03861660048201529091506000906001600160a01b03831690639ad69c679060240161010060405180830381865afa158015613601573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136259190615444565b6040818101899052606082018890525163f7b442d160e01b81529091506001600160a01b0384169063f7b442d190613666908890859060ff90600401615e6d565b600060405180830381600087803b15801561368057600080fd5b505af1158015613694573d6000803e3d6000fd5b5050505050505050505050565b600061060e60286147ed565b600061060e60466147ed565b604051637bc32ecf60e01b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90637bc32ecf906136fd906001600160c01b031988169060040161502a565b602060405180830381865af415801561371a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061373e91906153a7565b159050600061374d8686611288565b905081801561375a575080155b1561379357604051631cf73cd360e21b81526001600160601b03871660048201526001600160c01b031986166024820152604401610882565b600061379e87613cbc565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156137e0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061380491906153ec565b90506000816001600160a01b0316631d3be477896040518263ffffffff1660e01b8152600401613834919061502a565b600060405180830381865afa158015613851573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526138799190810190615582565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b038416906327b1d79290602401600060405180830381865afa1580156138cf573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526138f79190810190615660565b604051639ad69c6760e01b81526001600160601b038c1660048201529091506000906001600160a01b03851690639ad69c679060240161010060405180830381865afa15801561394b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061396f9190615444565b905060008961018001518a61016001516139899190615514565b6101a08b015190915061399c8183615514565b8a146139cf57896139ad8284615514565b60405163b9d36bcd60e01b815260048101929092526024820152604401610882565b8115613a4e57818360a0018181516139e79190615514565b9052506001600160a01b03871663f7b442d18e8560ff6040518463ffffffff1660e01b8152600401613a1b93929190615e6d565b600060405180830381600087803b158015613a3557600080fd5b505af1158015613a49573d6000803e3d6000fd5b505050505b8815613bfd57600185608001818151613a679190615e9d565b91509063ffffffff16908163ffffffff1681525050866001600160a01b031663cf947d208d6001600160c01b03191673__$9f290d768183857d0249ab5bb54619c5ab$__6355ee627590916040518263ffffffff1660e01b8152600401613ace919061502a565b602060405180830381865af4158015613aeb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b0f91906154e5565b8760ff6040518463ffffffff1660e01b8152600401613b3093929190615ec1565b600060405180830381600087803b158015613b4a57600080fd5b505af1158015613b5e573d6000803e3d6000fd5b505050506000811115613bfd578084606001818151613b7d9190615514565b90525060808401805160019190613b95908390615514565b9052508451604051633ed2a38d60e21b81526001600160a01b0389169163fb4a8e3491613bca9190889060ff90600401615abc565b600060405180830381600087803b158015613be457600080fd5b505af1158015613bf8573d6000803e3d6000fd5b505050505b50505050505050505050505050565b613c14613c83565b613c1d8161263c565b613c25611d4e565b6001600160a01b038216613c4c5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020615f2083398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020615f6083398151915254600160401b900460ff16613cba57604051631afcd79f60e31b815260040160405180910390fd5b565b600080613cd16001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613d20573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613d489190810190615afc565b6020015190506000613d626001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613db1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613dd99190810190615afc565b60800151949350505050565b60006112818383670de0b6b3a76400006148fa565b600080613e0f6001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa158015613e55573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e7991906153cf565b604051630a4d29dd60e31b81526001600160601b038216600482015290925073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015613ed4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613ef891906153a7565b15613f185760405163752c00fd60e11b8152336004820152602401610882565b6000613f2c6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613f7b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613fa39190810190615afc565b9050613fc18160400151613fb5607890565b60ff9081169116141590565b15613fe157604051637ab07d8760e01b8152336004820152602401610882565b6000613ff56001546001600160a01b031690565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801561404a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526140729190810190615afc565b60800151939492505050565b6101fb613c83565b6040516368aebf7b60e01b81526002600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af41580156140da573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060e9190615a48565b6040516301ffc9a760e01b81526396c8ab0560e01b60048201528390339060009081906001600160a01b038516906301ffc9a790602401602060405180830381865afa158015614152573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061417691906153a7565b61419e576040516359bff0e360e11b81526001600160a01b0388166004820152602401610882565b6000846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156141de573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526142069190810190615afc565b905061421d81604001518860ff9081169116141590565b1561425d576040808201519051634a2e948760e11b81526001600160a01b038a16600482015260ff808a1660248301529091166044820152606401610882565b60a08101516001600160a01b03858116908216146142af5760a0820151604051632b50a20960e21b81526001600160a01b03808c16600483015291821660248201529086166044820152606401610882565b816020015192506142bf836149e4565b9350836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156142ff573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061432391906153ec565b6040516368fc2b7760e11b81526001600160401b03891660048201526001600160a01b038781166024830152919091169063d1f856ee90604401602060405180830381865afa15801561437a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061439e91906153a7565b6143e457604051636af540d960e01b81526001600160601b03841660048201526001600160401b03881660248201526001600160a01b0386166044820152606401610882565b505093509350935093565b6040516368aebf7b60e01b81526108fc600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016140bd565b600080516020615f608339815191528054600160401b810460ff1615906001600160401b031660008115801561445e5750825b90506000826001600160401b0316600114801561447a5750303b155b905081158015614488575080155b156144a65760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156144d057845460ff60401b1916600160401b1785555b600080878060200190518101906144e79190615eda565b925090506144f78160008b6131aa565b61450763a6812b7960e01b6109ce565b5050831561249357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200161248a565b600080516020615f4083398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6145b4613c83565b61274781614a79565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201526000806146096001546001600160a01b031690565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa158015614650573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526146789190810190615afc565b925061468e83604001518660ff90811691161490565b6146d05760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b6044820152606401610882565b826000015193506146e483602001516149e4565b9150816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015614724573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061474891906153ec565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015614792573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906147b691906153a7565b156147e557608083015160405163d53987e560e01b81526001600160a01b039091166004820152602401610882565b509193909250565b60006148016001546001600160a01b031690565b6001600160a01b031663d39e604383614818610589565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801561486d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906148919190615e50565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156148d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115b591906153ec565b60008080600019858709858702925082811083820303915050806000036149345783828161492a5761492a615f09565b0492505050611281565b80841161497b5760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b6044820152606401610882565b60008486880960026001871981018816978890046003810283188082028403028082028403028082028403028082028403028082028403029081029092039091026000889003889004909101858311909403939093029303949094049190911702949350505050565b60006149f86001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015614a47573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052614a6f9190810190615afc565b6080015192915050565b614a81613c83565b6127478161454b565b600060208284031215614a9c57600080fd5b81356001600160e01b03198116811461128157600080fd5b60005b83811015614acf578181015183820152602001614ab7565b50506000910152565b60008151808452614af0816020860160208601614ab4565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151614b6d60c08401826001600160a01b03169052565b5060c083015160e080840152614b87610100840182614ad8565b949350505050565b6001600160601b038116811461274757600080fd5b6001600160c01b03198116811461274757600080fd5b634e487b7160e01b600052604160045260246000fd5b6040516101e081016001600160401b0381118282101715614bf357614bf3614bba565b60405290565b604080519081016001600160401b0381118282101715614bf357614bf3614bba565b60405160e081016001600160401b0381118282101715614bf357614bf3614bba565b60405160a081016001600160401b0381118282101715614bf357614bf3614bba565b60405161012081016001600160401b0381118282101715614bf357614bf3614bba565b604051601f8201601f191681016001600160401b0381118282101715614caa57614caa614bba565b604052919050565b60006101e08284031215614cc557600080fd5b614ccd614bd0565b9050813581526020820135602082015260408201356040820152606082013560608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e08201526101008083013581830152506101208083013581830152506101408083013581830152506101608083013581830152506101808083013581830152506101a08083013581830152506101c080830135818301525092915050565b60008060006102208486031215614d8957600080fd5b8335614d9481614b8f565b92506020840135614da481614ba4565b9150614db38560408601614cb2565b90509250925092565b60008060408385031215614dcf57600080fd5b8235614dda81614b8f565b91506020830135614dea81614ba4565b809150509250929050565b6001600160a01b038116811461274757600080fd5b60ff8116811461274757600080fd5b801515811461274757600080fd5b8035614e3281614e19565b919050565b60006001600160401b03821115614e5057614e50614bba565b50601f01601f191660200190565b600082601f830112614e6f57600080fd5b8135614e82614e7d82614e37565b614c82565b818152846020838601011115614e9757600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215614ecd57600080fd5b8635614ed881614df5565b95506020870135614ee881614b8f565b94506040870135614ef881614e0a565b93506060870135614f0881614e19565b92506080870135614f1881614df5565b915060a08701356001600160401b03811115614f3357600080fd5b614f3f89828a01614e5e565b9150509295509295509295565b63ffffffff8116811461274757600080fd5b60008060008060008060008060006101208a8c031215614f7d57600080fd5b89356001600160401b0380821115614f9457600080fd5b614fa08d838e01614e5e565b9a5060208c0135995060408c0135985060608c0135975060808c01359150614fc782614f4c565b90955060a08b013590614fd982614f4c565b819550614fe860c08d01614e27565b9450614ff660e08d01614e27565b93506101008c013591508082111561500d57600080fd5b5061501a8c828d01614e5e565b9150509295985092959850929598565b6001600160c01b031991909116815260200190565b60006020828403121561505157600080fd5b81356001600160401b0381111561506757600080fd5b614b8784828501614e5e565b60008060006060848603121561508857600080fd5b833561509381614b8f565b925060208401356150a381614ba4565b915060408401356001600160401b038111156150be57600080fd5b6150ca86828701614e5e565b9150509250925092565b6000602082840312156150e657600080fd5b813561128181614df5565b6000806040838503121561510457600080fd5b823561510f81614df5565b915060208301356001600160401b0381111561512a57600080fd5b61513685828601614e5e565b9150509250929050565b60008060006060848603121561515557600080fd5b833561509381614df5565b64ffffffffff8116811461274757600080fd5b60008060008060008060c0878903121561518c57600080fd5b863561519781614b8f565b955060208701356001600160401b03808211156151b357600080fd5b6151bf8a838b01614e5e565b965060408901359550606089013591506151d882614f4c565b9093506080880135906151ea82615160565b90925060a0880135908082111561520057600080fd5b50614f3f89828a01614e5e565b60008060006060848603121561522257600080fd5b833561522d81614df5565b9250602084013561523d81614df5565b9150604084013561524d81614df5565b809150509250925092565b60006040828403121561526a57600080fd5b615272614bf9565b9050813581526020820135602082015292915050565b6000806080838503121561529b57600080fd5b6152a58484615258565b91506152b48460408501615258565b90509250929050565b60008060008061024085870312156152d457600080fd5b84356152df81614b8f565b935060208501356152ef81614ba4565b92506152fe8660408701614cb2565b939692955092936102200135925050565b6000806040838503121561532257600080fd5b823561532d81614df5565b91506020830135614dea81614df5565b60006020828403121561534f57600080fd5b815162ffffff8116811461128157600080fd5b600181811c9082168061537657607f821691505b60208210810361539657634e487b7160e01b600052602260045260246000fd5b50919050565b8051614e3281614e19565b6000602082840312156153b957600080fd5b815161128181614e19565b8051614e3281614b8f565b6000602082840312156153e157600080fd5b815161128181614b8f565b6000602082840312156153fe57600080fd5b815161128181614df5565b60006040828403121561541b57600080fd5b615423614bf9565b9050815181526020820151602082015292915050565b8051614e3281614df5565b6000610100828403121561545757600080fd5b60405160c081018181106001600160401b038211171561547957615479614bba565b604052825161548781614b8f565b8152602083015161549781614df5565b60208201526154a98460408501615409565b60408201526154bb8460808501615409565b606082015260c08301516154ce81614df5565b608082015260e0929092015160a083015250919050565b6000602082840312156154f757600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156115b5576115b56154fe565b600082601f83011261553857600080fd5b8151615546614e7d82614e37565b81815284602083860101111561555b57600080fd5b614b87826020830160208701614ab4565b8051614e3281614f4c565b8051614e3281615160565b60006020828403121561559457600080fd5b81516001600160401b03808211156155ab57600080fd5b9083019060e082860312156155bf57600080fd5b6155c7614c1b565b6155d0836153c4565b81526020830151828111156155e457600080fd5b6155f087828601615527565b6020830152506040830151604082015261560c6060840161556c565b606082015261561d6080840161556c565b608082015261562e60a08401615577565b60a082015260c08301518281111561564557600080fd5b61565187828601615527565b60c08301525095945050505050565b60006020828403121561567257600080fd5b81516001600160401b038082111561568957600080fd5b9083019060a0828603121561569d57600080fd5b6156a5614c3d565b82516156b081614ba4565b815260208301516156c081614e19565b60208201526040830151828111156156d757600080fd5b6156e387828601615527565b604083015250606083015160608201526080830151608082015280935050505092915050565b60006020828403121561571b57600080fd5b81516001600160401b038082111561573257600080fd5b90830190610120828603121561574757600080fd5b61574f614c5f565b82518281111561575e57600080fd5b61576a87828601615527565b8252506020830151602082015260408301516040820152606083015160608201526157976080840161556c565b60808201526157a860a0840161556c565b60a08201526157b960c0840161539c565b60c08201526157ca60e0840161539c565b60e082015261010080840151838111156157e357600080fd5b6157ef88828701615527565b918301919091525095945050505050565b818103818111156115b5576115b56154fe565b60006020828403121561582557600080fd5b815161128181615160565b601f8211156133de57600081815260208120601f850160051c810160208610156158575750805b601f850160051c820191505b8181101561587657828155600101615863565b505050505050565b81516001600160401b0381111561589757615897614bba565b6158ab816158a58454615362565b84615830565b602080601f8311600181146158e057600084156158c85750858301515b600019600386901b1c1916600185901b178555615876565b600085815260208120601f198616915b8281101561590f578886015182559484019460019091019084016158f0565b508582101561592d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160601b0383168152604060208201526000614b876040830184614ad8565b60006020828403121561597157600080fd5b815161128181614ba4565b82815260406020820152600082516101208060408501526159a1610160850183614ad8565b91506020850151606085015260408501516080850152606085015160a085015260808501516159d860c086018263ffffffff169052565b5060a085015163ffffffff811660e08601525060c0850151610100615a008187018315159052565b60e087015115159286019290925250840151603f1984830301610140850152615a298282614ad8565b9695505050505050565b6001600160401b038116811461274757600080fd5b600060208284031215615a5a57600080fd5b815161128181615a33565b6001600160401b0360c01b81511682526020810151151560208301526000604082015160a06040850152615a9c60a0850182614ad8565b905060608301516060850152608083015160808501528091505092915050565b6001600160601b0384168152606060208201526000615ade6060830185615a65565b905060ff83166040830152949350505050565b8051614e3281614e0a565b600060208284031215615b0e57600080fd5b81516001600160401b0380821115615b2557600080fd5b9083019060e08286031215615b3957600080fd5b615b41614c1b565b615b4a836153c4565b8152615b58602084016153c4565b6020820152615b6960408401615af1565b6040820152615b7a6060840161539c565b6060820152615b8b60808401615439565b608082015261562e60a08401615439565b80516001600160601b031682526020808201516001600160a01b0390811682850152604080840151805191860191909152918201516060850152606083015180516080860152602081015160a0860152915060808301511660c08401525060a0015160e090910152565b6001600160601b038316815261012081016112816020830184615b9c565b634e487b7160e01b600052603260045260246000fd5b600060208284031215615c4c57600080fd5b81516001600160401b03811115615c6257600080fd5b614b8784828501615527565b600081518084526020808501945080840160005b83811015615ca75781516001600160401b031687529582019590820190600101615c82565b509495945050505050565b6001600160601b03861681526000602060018060a01b0387168184015260a06040840152615ce360a0840187614ad8565b8381036060850152855180825282820190600581901b830184018489016000805b84811015615d6157868403601f19018652825180518086529089019089860190845b81811015615d4c5783516001600160e01b0319168352928b0192918b0191600101615d26565b50509689019694505091870191600101615d04565b5050508681036080880152615d768189615c6e565b9c9b505050505050505050505050565b6001600160601b0383168152604060208201526000614b876040830184615a65565b6020815260006112816020830184614ad8565b6001600160601b0381511682526000602082015160e06020850152615de360e0850182614ad8565b905060408301516040850152606083015163ffffffff8082166060870152806080860151166080870152505064ffffffffff60a08401511660a085015260c083015184820360c08601526115b08282614ad8565b828152604060208201526000614b876040830184615dbb565b600060208284031215615e6257600080fd5b815161128181614e0a565b6001600160601b03841681526101408101615e8b6020830185615b9c565b60ff8316610120830152949350505050565b63ffffffff818116838216019080821115615eba57615eba6154fe565b5092915050565b838152606060208201526000615ade6060830185615dbb565b60008060408385031215615eed57600080fd5b8251615ef881614df5565b6020840151909250614dea81614df5565b634e487b7160e01b600052601260045260246000fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212206ab6771be5e8f0acd052950a344f482106e0cb1dd6a7747811ebee066dbf934064736f6c63430008140033",
1389
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101fb5760003560e01c80635dcb3bae1161011a578063ada9652e116100ad578063caf4e3d41161007c578063caf4e3d414610553578063cc9fc59a1461055b578063d25f509514610563578063f21de1e814610433578063f7c34ee01461057657600080fd5b8063ada9652e146104fe578063b68d180914610513578063b6b412ba14610522578063bf7e214f1461053557600080fd5b8063893d20e8116100e9578063893d20e8146104af5780638dd2b781146104b75780638e32e979146104ca5780638fb36037146104dd57600080fd5b80635dcb3bae14610458578063644c45e01461046b578063675393bf146104895780637a9e5e4b1461049c57600080fd5b806327bb7a33116101925780633d683fd9116101615780633d683fd9146103e25780634420e486146103f557806349bb9e4b146104205780635ab1bd531461043357600080fd5b806327bb7a33146103945780632b5198b1146103a7578063329d6e74146103c757806336fc697e146103da57600080fd5b80631eff4b22116101ce5780631eff4b221461027d578063214cdb80146102b2578063219a3195146102c557806325d073841461038157600080fd5b806301ffc9a7146102005780630d8e6e2c146102425780630fec111c1461025e578063138461e014610273575b600080fd5b61022d61020e366004614a8a565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61024a610589565b60405162ffffff9091168152602001610239565b610266610613565b6040516102399190614b04565b61027b6107c7565b005b6102a47f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610239565b61027b6102c0366004614a8a565b6109ce565b6102d86102d3366004614d73565b6109fb565b6040516102399190815181526020808301519082015260408083015190820152606080830151908201526080808301519082015260a0808301519082015260c0808301519082015260e08083015190820152610100808301519082015261012080830151908201526101408083015190820152610160808301519082015261018080830151908201526101a080830151908201526101c091820151918101919091526101e00190565b61022d61038f366004614dbc565b611288565b61027b6103a2366004614eb4565b6115bb565b6103ba6103b5366004614f5e565b611647565b604051610239919061502a565b61027b6103d536600461503f565b611c01565b61027b611d4e565b61027b6103f0366004615073565b611d94565b6104086104033660046150d4565b611f01565b6040516001600160601b039091168152602001610239565b61027b61042e3660046150f1565b61239d565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610239565b610408610466366004615140565b61249c565b600080516020615f20833981519152546001600160601b0316610408565b61027b6104973660046150d4565b61263c565b61027b6104aa3660046150d4565b61274a565b6104406127e4565b6103ba6104c5366004615173565b61291b565b61027b6104d836600461520d565b6131aa565b6104e56133e3565b6040516001600160e01b03199091168152602001610239565b6102a4600080516020615f2083398151915281565b60405160788152602001610239565b61027b610530366004615288565b61341b565b600080516020615f40833981519152546001600160a01b0316610440565b6104406136a1565b6104406136ad565b61027b6105713660046152bd565b6136b9565b61027b61058436600461530f565b613c0c565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156105ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060e919061533d565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b909104161515918101919091526001820180549192916060840191906106c390615362565b80601f01602080910402602001604051908101604052809291908181526020018280546106ef90615362565b801561073c5780601f106107115761010080835404028352916020019161073c565b820191906000526020600020905b81548152906001019060200180831161071f57829003601f168201915b50505050508152505090506040518060e0016040528061075a600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016107ab6127e4565b6001600160a01b03168152602001826060015181525091505090565b6000600080516020615f2083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610836573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061085a91906153a7565b1561088b5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b3061089e6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156108e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061090a91906153a7565b6109325760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610882565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610986573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109aa91906153cf565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6109d6613c83565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610a74604051806101e001604052806000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6000610a7f85613cbc565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ac1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae591906153ec565b604051639ad69c6760e01b81526001600160601b03881660048201529091506000906001600160a01b03831690639ad69c679060240161010060405180830381865afa158015610b39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b5d9190615444565b6060810151604080830151885191516322f5db0f60e11b81529394509192600091610bf79173__$5ac3274b8cf1e01ea223bf093142af05b0$__916345ebb61e91610baf919060040190815260200190565b602060405180830381865af4158015610bcc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bf091906154e5565b8451613de5565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610c48573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c6c91906154e5565b61014089018190526020890180519192508291610c8a908390615514565b905250610c978a8a611288565b610cc95750505060c0850151610160860152505050610140820151610180830152506020810151604082015280611281565b604051631d3be47760e01b81526000906001600160a01b03871690631d3be47790610cf8908d9060040161502a565b600060405180830381865afa158015610d15573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d3d9190810190615582565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b038816906327b1d79290602401600060405180830381865afa158015610d93573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610dbb9190810190615660565b80516040516368322c6360e11b81529192506000916001600160a01b038a169163d06458c691610dee919060040161502a565b600060405180830381865afa158015610e0b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e339190810190615709565b8b516040516322f5db0f60e11b8152600481019190915290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af4158015610e8c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eb091906154e5565b60608301516040516332292b2760e21b815273__$5ac3274b8cf1e01ea223bf093142af05b0$__9263c8a4ac9c92610ef392600401918252602082015260400190565b602060405180830381865af4158015610f10573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f3491906154e5565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610f85573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa991906154e5565b6101a08d0181905260208d01516040516322f5db0f60e11b815291925073__$5ac3274b8cf1e01ea223bf093142af05b0$__916345ebb61e91610ff29160040190815260200190565b602060405180830381865af415801561100f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061103391906154e5565b60408086015190516332292b2760e21b815273__$5ac3274b8cf1e01ea223bf093142af05b0$__9263c8a4ac9c9261107692600401918252602082015260400190565b602060405180830381865af4158015611093573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110b791906154e5565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015611108573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061112c91906154e5565b6101c08d0181905260208701516101608e01526111498287615800565b6111539190615800565b6101808d01526101c08c015160208d015161116e9190615800565b60408d015250505050602082015161016089015110156111e75760c08801516101408901516101608a01516101808b01516101a08c01516101c08d015160405163a4d2313f60e01b81526004810196909652602486019490945260448501929092526064840152608483015260a482015260c401610882565b876101a00151886101800151896101c001516112039190615514565b61120d9190615514565b886101400151146112775760c08801516101408901516101608a01516101808b01516101a08c01516101c08d015160405163a4d2313f60e01b81526004810196909652602486019490945260448501929092526064840152608483015260a482015260c401610882565b8796505050505050505b9392505050565b60008061129484613cbc565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112fa91906153ec565b6001600160a01b0316631d3be477856040518263ffffffff1660e01b8152600401611325919061502a565b600060405180830381865afa158015611342573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261136a9190810190615582565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af41580156113c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ec91906153a7565b156113fc576000925050506115b5565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015611458573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061147c91906153a7565b8061158e575060a0810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af41580156114de573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061150291906153a7565b801561158e575061158e73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611555573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115799190615813565b8260a0015164ffffffffff9081169116111590565b92508280156115b05750806060015163ffffffff16816080015163ffffffff16105b925050505b92915050565b6115c3613c83565b6115cd8287613c0c565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b8615150217815590506001810161163d838261587e565b5050505050505050565b6000806000611654613dfa565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611698573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116bc91906153ec565b604051639ad69c6760e01b81526001600160601b03851660048201526001600160a01b039190911690639ad69c679060240161010060405180830381865afa15801561170c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117309190615444565b60408181015151905163771602f760e01b81526004810191909152602481018c905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063771602f790604401602060405180830381865af4158015611794573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117b891906154e5565b60608301515160405163b67d77c560e01b815260048101919091526024810182905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063b67d77c590604401602060405180830381865af415801561181c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061184091906154e5565b6040516321e5749b60e01b8152600481018f90526024810182905290915073__$5ac3274b8cf1e01ea223bf093142af05b0$__906321e5749b90604401602060405180830381865af415801561189a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118be91906153a7565b156119cd57604051632255341b60e11b8152600481018e905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015611913573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061193791906154e5565b604051632255341b60e11b81526004810183905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015611987573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119ab91906154e5565b60405163e2ed03dd60e01b815260048101929092526024820152604401610882565b50505073__$5906aa3f06c54ee09b434647963e1d1ed0$__63578c3039838e6040518363ffffffff1660e01b8152600401611a0992919061593d565b602060405180830381865af4158015611a26573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a4a919061595f565b6040516355ee627560e01b815290935060009073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590611a91906001600160c01b031988169060040161502a565b602060405180830381865af4158015611aae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ad291906154e5565b604051630e29a66960e21b8152600481018290529091506001600160a01b038316906338a699a490602401602060405180830381865afa158015611b1a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b3e91906153a7565b611bf15760408051610120810182528e8152602081018e90528082018d9052606081018c905263ffffffff808c1660808301528a1660a082015288151560c082015287151560e0820152610100810187905290516304f2a7e960e31b81526001600160a01b038416906327953f4890611bbd908590859060040161597c565b600060405180830381600087803b158015611bd757600080fd5b505af1158015611beb573d6000803e3d6000fd5b50505050505b5050509998505050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c611c23610589565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611c63573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c879190615a48565b600080516020615f608339815191528054600160401b900460ff1680611cba575080546001600160401b03808416911610155b15611cd85760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155611d028361407e565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b611d56613c83565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000611d9e613dfa565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611de1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e0591906153ec565b6040516313d8ebc960e11b81526001600160601b03871660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa158015611e58573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e809190810190615660565b6001600160c01b031986168152604080820186905251633ed2a38d60e21b81529091506001600160a01b0384169063fb4a8e3490611ec7908990859060ff90600401615abc565b600060405180830381600087803b158015611ee157600080fd5b505af1158015611ef5573d6000803e3d6000fd5b50505050505050505050565b600080808080611f1a866078611f15614086565b6140fe565b93509350935093506000611f2c6136a1565b604051638fbc2d8160e01b81526001600160a01b03878116600483015286811660248301529190911690638fbc2d81906044016000604051808303816000875af1158015611f7e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611fa69190810190615afc565b90506000879050806001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611fe857600080fd5b505af1158015611ffc573d6000803e3d6000fd5b5050505081600001519650836001600160a01b0316639e90178c88836001600160a01b031663c200b8096040518163ffffffff1660e01b815260040161010060405180830381865afa158015612056573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061207a9190615444565b6040518363ffffffff1660e01b8152600401612097929190615c06565b600060405180830381600087803b1580156120b157600080fd5b505af11580156120c5573d6000803e3d6000fd5b5060009250600291506120d59050565b60405190808252806020026020018201604052801561210857816020015b60608152602001906001900390816120f35790505b5060408051600180825281830190925291925060208083019080368337019050508160008151811061213c5761213c615c24565b60209081029190910101526040805160028082526060820190925290816020016020820280368337019050508160018151811061217b5761217b615c24565b602002602001018190525063b6b412ba60e01b816000815181106121a1576121a1615c24565b60200260200101516000815181106121bb576121bb615c24565b6001600160e01b0319909216602092830291909101909101528051637c07103960e11b90829060019081106121f2576121f2615c24565b602002602001015160008151811061220c5761220c615c24565b6001600160e01b0319929092166020928302919091018201526040805160028082526060820183526000939192909183019080368337019050509050612250614086565b8160008151811061226357612263615c24565b60200260200101906001600160401b031690816001600160401b03168152505061228b6143ef565b8160018151811061229e5761229e615c24565b60200260200101906001600160401b031690816001600160401b0316815250506122c66136ad565b6001600160a01b0316636c6fbb28868c866001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015612314573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261233c9190810190615c3a565b86866040518663ffffffff1660e01b815260040161235e959493929190615cb2565b600060405180830381600087803b15801561237857600080fd5b505af115801561238c573d6000803e3d6000fd5b505050505050505050505050919050565b600080516020615f608339815191528054600160401b810460ff1615906001600160401b03166000811580156123d05750825b90506000826001600160401b031660011480156123ec5750303b155b9050811580156123fa575080155b156124185760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561244257845460ff60401b1916600160401b1785555b61244c878761442b565b831561249357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b60008060006124a9613dfa565b915091506124b56136a1565b6001600160a01b03166357a8fba76040518060e001604052806124d6600090565b6001600160601b03168152602001856001600160601b031681526020016124fb607a90565b60ff16815260200160011515815260200160006001600160a01b03168152602001896001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b815260040161255a9190614b04565b6020604051808303816000875af1158015612579573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061259d91906153cf565b6040805160a0810182526001600160c01b0319881681526001602082015280820187905260006060820181905260808201529051635338a4af60e11b8152919450906001600160a01b0383169063a671495e906126009087908590600401615d86565b600060405180830381600087803b15801561261a57600080fd5b505af115801561262e573d6000803e3d6000fd5b505050505050509392505050565b612644613c83565b806001600160a01b03163b60000361267a5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610882565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa9250505080156126f4575060408051601f3d908101601f191682019092526126f1918101906153a7565b60015b61271c5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610882565b806127455760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610882565b505b50565b3361276a600080516020615f40833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b0316146127a55760405162d1953b60e31b81526001600160a01b0382166004820152602401610882565b816001600160a01b03163b6000036127db576040516361798f2f60e11b81526001600160a01b0383166004820152602401610882565b6127458261454b565b600080600080516020615f2083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015612854573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061287891906153a7565b15612905576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156128db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128ff91906153ec565b91505090565b54600160601b90046001600160a01b0316919050565b6000806000612928613dfa565b9150915087516000036129505787604051634fad6a5360e11b81526004016108829190615da8565b60405163790a38ad60e01b815264ffffffffff8616600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af41580156129a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129ca91906153a7565b156129f15760405163df85467b60e01b815264ffffffffff86166004820152602401610882565b6000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612a31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a5591906153ec565b6040516313d8ebc960e11b81526001600160601b038c1660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa158015612aa8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612ad09190810190615660565b80516040516368322c6360e11b8152919250906000906001600160a01b0385169063d06458c690612b0590859060040161502a565b600060405180830381865afa158015612b22573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612b4a9190810190615709565b90508963ffffffff16816080015163ffffffff161015612b8b576080810151604051636fcee12560e01b815263ffffffff9091166004820152602401610882565b60208101518b1015612ca7576020810151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612bed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c1191906154e5565b604051632255341b60e11b8152600481018d905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612c61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c8591906154e5565b6040516338a25a8b60e21b815260048101929092526024820152604401610882565b60408101518b1115612dc3576040818101519051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612d09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d2d91906154e5565b604051632255341b60e11b8152600481018d905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612d7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612da191906154e5565b604051631e1ea4f360e31b815260048101929092526024820152604401610882565b8060a0015163ffffffff1673__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612e17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e3b9190615813565b604051633682752160e21b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612e92573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612eb691906154e5565b604051633682752160e21b815264ffffffffff8c16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612f0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f3091906154e5565b612f3a9190615800565b1115612fe65760a0810151604051633682752160e21b815264ffffffffff8b16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612f9b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fbf91906154e5565b6040516331fa6ab160e11b815263ffffffff90921660048301526024820152604401610882565b73__$9f290d768183857d0249ab5bb54619c5ab$__633f093cd6878e6040518363ffffffff1660e01b815260040161301f92919061593d565b602060405180830381865af415801561303c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613060919061595f565b965060006040518060e001604052808f6001600160601b031681526020018e81526020018d81526020018c63ffffffff168152602001600063ffffffff1681526020018b64ffffffffff1681526020018a8152509050856001600160a01b03166354d747a8896001600160c01b03191673__$9f290d768183857d0249ab5bb54619c5ab$__6355ee627590916040518263ffffffff1660e01b8152600401613108919061502a565b602060405180830381865af4158015613125573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061314991906154e5565b836040518363ffffffff1660e01b8152600401613167929190615e37565b600060405180830381600087803b15801561318157600080fd5b505af1158015613195573d6000803e3d6000fd5b50505050505050505050509695505050505050565b6131b2613c83565b61323283846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156131f4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061321891906153cf565b603c600085604051806020016040528060008152506115bb565b6001600160a01b0382161561324f5761324a826145ac565b6133be565b60006132636001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af41580156132c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132e79190615e50565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561332c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061335091906153ec565b90506133bc816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613393573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133b791906153ec565b6145ac565b505b6133ce634a531f3360e01b6109ce565b6133de63b68d180960e01b6109ce565b505050565b600080516020615f40833981519152805460009190600160a01b900460ff1661340d5760006128ff565b638fb3603760e01b91505090565b815181511015613535578151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015613478573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061349c91906154e5565b8151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156134ef573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061351391906154e5565b604051631a9c6b0960e01b815260048101929092526024820152604401610882565b6000808061354360786145bd565b9250925092506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015613589573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135ad91906153ec565b604051639ad69c6760e01b81526001600160601b03861660048201529091506000906001600160a01b03831690639ad69c679060240161010060405180830381865afa158015613601573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136259190615444565b6040818101899052606082018890525163f7b442d160e01b81529091506001600160a01b0384169063f7b442d190613666908890859060ff90600401615e6d565b600060405180830381600087803b15801561368057600080fd5b505af1158015613694573d6000803e3d6000fd5b5050505050505050505050565b600061060e60286147ed565b600061060e60466147ed565b604051637bc32ecf60e01b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90637bc32ecf906136fd906001600160c01b031988169060040161502a565b602060405180830381865af415801561371a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061373e91906153a7565b159050600061374d8686611288565b905081801561375a575080155b1561379357604051631cf73cd360e21b81526001600160601b03871660048201526001600160c01b031986166024820152604401610882565b600061379e87613cbc565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156137e0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061380491906153ec565b90506000816001600160a01b0316631d3be477896040518263ffffffff1660e01b8152600401613834919061502a565b600060405180830381865afa158015613851573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526138799190810190615582565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b038416906327b1d79290602401600060405180830381865afa1580156138cf573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526138f79190810190615660565b604051639ad69c6760e01b81526001600160601b038c1660048201529091506000906001600160a01b03851690639ad69c679060240161010060405180830381865afa15801561394b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061396f9190615444565b905060008961018001518a61016001516139899190615514565b6101a08b015190915061399c8183615514565b8a146139cf57896139ad8284615514565b60405163b9d36bcd60e01b815260048101929092526024820152604401610882565b8115613a4e57818360a0018181516139e79190615514565b9052506001600160a01b03871663f7b442d18e8560ff6040518463ffffffff1660e01b8152600401613a1b93929190615e6d565b600060405180830381600087803b158015613a3557600080fd5b505af1158015613a49573d6000803e3d6000fd5b505050505b8815613bfd57600185608001818151613a679190615e9d565b91509063ffffffff16908163ffffffff1681525050866001600160a01b031663cf947d208d6001600160c01b03191673__$9f290d768183857d0249ab5bb54619c5ab$__6355ee627590916040518263ffffffff1660e01b8152600401613ace919061502a565b602060405180830381865af4158015613aeb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b0f91906154e5565b8760ff6040518463ffffffff1660e01b8152600401613b3093929190615ec1565b600060405180830381600087803b158015613b4a57600080fd5b505af1158015613b5e573d6000803e3d6000fd5b505050506000811115613bfd578084606001818151613b7d9190615514565b90525060808401805160019190613b95908390615514565b9052508451604051633ed2a38d60e21b81526001600160a01b0389169163fb4a8e3491613bca9190889060ff90600401615abc565b600060405180830381600087803b158015613be457600080fd5b505af1158015613bf8573d6000803e3d6000fd5b505050505b50505050505050505050505050565b613c14613c83565b613c1d8161263c565b613c25611d4e565b6001600160a01b038216613c4c5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020615f2083398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020615f6083398151915254600160401b900460ff16613cba57604051631afcd79f60e31b815260040160405180910390fd5b565b600080613cd16001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613d20573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613d489190810190615afc565b6020015190506000613d626001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613db1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613dd99190810190615afc565b60800151949350505050565b60006112818383670de0b6b3a76400006148fa565b600080613e0f6001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa158015613e55573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e7991906153cf565b604051630a4d29dd60e31b81526001600160601b038216600482015290925073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015613ed4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613ef891906153a7565b15613f185760405163752c00fd60e11b8152336004820152602401610882565b6000613f2c6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613f7b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613fa39190810190615afc565b9050613fc18160400151613fb5607890565b60ff9081169116141590565b15613fe157604051637ab07d8760e01b8152336004820152602401610882565b6000613ff56001546001600160a01b031690565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801561404a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526140729190810190615afc565b60800151939492505050565b6101fb613c83565b6040516368aebf7b60e01b81526002600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af41580156140da573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060e9190615a48565b6040516301ffc9a760e01b81526396c8ab0560e01b60048201528390339060009081906001600160a01b038516906301ffc9a790602401602060405180830381865afa158015614152573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061417691906153a7565b61419e576040516359bff0e360e11b81526001600160a01b0388166004820152602401610882565b6000846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156141de573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526142069190810190615afc565b905061421d81604001518860ff9081169116141590565b1561425d576040808201519051634a2e948760e11b81526001600160a01b038a16600482015260ff808a1660248301529091166044820152606401610882565b60a08101516001600160a01b03858116908216146142af5760a0820151604051632b50a20960e21b81526001600160a01b03808c16600483015291821660248201529086166044820152606401610882565b816020015192506142bf836149e4565b9350836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156142ff573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061432391906153ec565b6040516368fc2b7760e11b81526001600160401b03891660048201526001600160a01b038781166024830152919091169063d1f856ee90604401602060405180830381865afa15801561437a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061439e91906153a7565b6143e457604051636af540d960e01b81526001600160601b03841660048201526001600160401b03881660248201526001600160a01b0386166044820152606401610882565b505093509350935093565b6040516368aebf7b60e01b81526108fc600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016140bd565b600080516020615f608339815191528054600160401b810460ff1615906001600160401b031660008115801561445e5750825b90506000826001600160401b0316600114801561447a5750303b155b905081158015614488575080155b156144a65760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156144d057845460ff60401b1916600160401b1785555b600080878060200190518101906144e79190615eda565b925090506144f78160008b6131aa565b61450763a6812b7960e01b6109ce565b5050831561249357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200161248a565b600080516020615f4083398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6145b4613c83565b61274781614a79565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201526000806146096001546001600160a01b031690565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa158015614650573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526146789190810190615afc565b925061468e83604001518660ff90811691161490565b6146d05760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b6044820152606401610882565b826000015193506146e483602001516149e4565b9150816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015614724573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061474891906153ec565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015614792573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906147b691906153a7565b156147e557608083015160405163d53987e560e01b81526001600160a01b039091166004820152602401610882565b509193909250565b60006148016001546001600160a01b031690565b6001600160a01b031663d39e604383614818610589565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801561486d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906148919190615e50565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156148d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115b591906153ec565b60008080600019858709858702925082811083820303915050806000036149345783828161492a5761492a615f09565b0492505050611281565b80841161497b5760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b6044820152606401610882565b60008486880960026001871981018816978890046003810283188082028403028082028403028082028403028082028403028082028403029081029092039091026000889003889004909101858311909403939093029303949094049190911702949350505050565b60006149f86001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015614a47573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052614a6f9190810190615afc565b6080015192915050565b614a81613c83565b6127478161454b565b600060208284031215614a9c57600080fd5b81356001600160e01b03198116811461128157600080fd5b60005b83811015614acf578181015183820152602001614ab7565b50506000910152565b60008151808452614af0816020860160208601614ab4565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151614b6d60c08401826001600160a01b03169052565b5060c083015160e080840152614b87610100840182614ad8565b949350505050565b6001600160601b038116811461274757600080fd5b6001600160c01b03198116811461274757600080fd5b634e487b7160e01b600052604160045260246000fd5b6040516101e081016001600160401b0381118282101715614bf357614bf3614bba565b60405290565b604080519081016001600160401b0381118282101715614bf357614bf3614bba565b60405160e081016001600160401b0381118282101715614bf357614bf3614bba565b60405160a081016001600160401b0381118282101715614bf357614bf3614bba565b60405161012081016001600160401b0381118282101715614bf357614bf3614bba565b604051601f8201601f191681016001600160401b0381118282101715614caa57614caa614bba565b604052919050565b60006101e08284031215614cc557600080fd5b614ccd614bd0565b9050813581526020820135602082015260408201356040820152606082013560608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e08201526101008083013581830152506101208083013581830152506101408083013581830152506101608083013581830152506101808083013581830152506101a08083013581830152506101c080830135818301525092915050565b60008060006102208486031215614d8957600080fd5b8335614d9481614b8f565b92506020840135614da481614ba4565b9150614db38560408601614cb2565b90509250925092565b60008060408385031215614dcf57600080fd5b8235614dda81614b8f565b91506020830135614dea81614ba4565b809150509250929050565b6001600160a01b038116811461274757600080fd5b60ff8116811461274757600080fd5b801515811461274757600080fd5b8035614e3281614e19565b919050565b60006001600160401b03821115614e5057614e50614bba565b50601f01601f191660200190565b600082601f830112614e6f57600080fd5b8135614e82614e7d82614e37565b614c82565b818152846020838601011115614e9757600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215614ecd57600080fd5b8635614ed881614df5565b95506020870135614ee881614b8f565b94506040870135614ef881614e0a565b93506060870135614f0881614e19565b92506080870135614f1881614df5565b915060a08701356001600160401b03811115614f3357600080fd5b614f3f89828a01614e5e565b9150509295509295509295565b63ffffffff8116811461274757600080fd5b60008060008060008060008060006101208a8c031215614f7d57600080fd5b89356001600160401b0380821115614f9457600080fd5b614fa08d838e01614e5e565b9a5060208c0135995060408c0135985060608c0135975060808c01359150614fc782614f4c565b90955060a08b013590614fd982614f4c565b819550614fe860c08d01614e27565b9450614ff660e08d01614e27565b93506101008c013591508082111561500d57600080fd5b5061501a8c828d01614e5e565b9150509295985092959850929598565b6001600160c01b031991909116815260200190565b60006020828403121561505157600080fd5b81356001600160401b0381111561506757600080fd5b614b8784828501614e5e565b60008060006060848603121561508857600080fd5b833561509381614b8f565b925060208401356150a381614ba4565b915060408401356001600160401b038111156150be57600080fd5b6150ca86828701614e5e565b9150509250925092565b6000602082840312156150e657600080fd5b813561128181614df5565b6000806040838503121561510457600080fd5b823561510f81614df5565b915060208301356001600160401b0381111561512a57600080fd5b61513685828601614e5e565b9150509250929050565b60008060006060848603121561515557600080fd5b833561509381614df5565b64ffffffffff8116811461274757600080fd5b60008060008060008060c0878903121561518c57600080fd5b863561519781614b8f565b955060208701356001600160401b03808211156151b357600080fd5b6151bf8a838b01614e5e565b965060408901359550606089013591506151d882614f4c565b9093506080880135906151ea82615160565b90925060a0880135908082111561520057600080fd5b50614f3f89828a01614e5e565b60008060006060848603121561522257600080fd5b833561522d81614df5565b9250602084013561523d81614df5565b9150604084013561524d81614df5565b809150509250925092565b60006040828403121561526a57600080fd5b615272614bf9565b9050813581526020820135602082015292915050565b6000806080838503121561529b57600080fd5b6152a58484615258565b91506152b48460408501615258565b90509250929050565b60008060008061024085870312156152d457600080fd5b84356152df81614b8f565b935060208501356152ef81614ba4565b92506152fe8660408701614cb2565b939692955092936102200135925050565b6000806040838503121561532257600080fd5b823561532d81614df5565b91506020830135614dea81614df5565b60006020828403121561534f57600080fd5b815162ffffff8116811461128157600080fd5b600181811c9082168061537657607f821691505b60208210810361539657634e487b7160e01b600052602260045260246000fd5b50919050565b8051614e3281614e19565b6000602082840312156153b957600080fd5b815161128181614e19565b8051614e3281614b8f565b6000602082840312156153e157600080fd5b815161128181614b8f565b6000602082840312156153fe57600080fd5b815161128181614df5565b60006040828403121561541b57600080fd5b615423614bf9565b9050815181526020820151602082015292915050565b8051614e3281614df5565b6000610100828403121561545757600080fd5b60405160c081018181106001600160401b038211171561547957615479614bba565b604052825161548781614b8f565b8152602083015161549781614df5565b60208201526154a98460408501615409565b60408201526154bb8460808501615409565b606082015260c08301516154ce81614df5565b608082015260e0929092015160a083015250919050565b6000602082840312156154f757600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156115b5576115b56154fe565b600082601f83011261553857600080fd5b8151615546614e7d82614e37565b81815284602083860101111561555b57600080fd5b614b87826020830160208701614ab4565b8051614e3281614f4c565b8051614e3281615160565b60006020828403121561559457600080fd5b81516001600160401b03808211156155ab57600080fd5b9083019060e082860312156155bf57600080fd5b6155c7614c1b565b6155d0836153c4565b81526020830151828111156155e457600080fd5b6155f087828601615527565b6020830152506040830151604082015261560c6060840161556c565b606082015261561d6080840161556c565b608082015261562e60a08401615577565b60a082015260c08301518281111561564557600080fd5b61565187828601615527565b60c08301525095945050505050565b60006020828403121561567257600080fd5b81516001600160401b038082111561568957600080fd5b9083019060a0828603121561569d57600080fd5b6156a5614c3d565b82516156b081614ba4565b815260208301516156c081614e19565b60208201526040830151828111156156d757600080fd5b6156e387828601615527565b604083015250606083015160608201526080830151608082015280935050505092915050565b60006020828403121561571b57600080fd5b81516001600160401b038082111561573257600080fd5b90830190610120828603121561574757600080fd5b61574f614c5f565b82518281111561575e57600080fd5b61576a87828601615527565b8252506020830151602082015260408301516040820152606083015160608201526157976080840161556c565b60808201526157a860a0840161556c565b60a08201526157b960c0840161539c565b60c08201526157ca60e0840161539c565b60e082015261010080840151838111156157e357600080fd5b6157ef88828701615527565b918301919091525095945050505050565b818103818111156115b5576115b56154fe565b60006020828403121561582557600080fd5b815161128181615160565b601f8211156133de57600081815260208120601f850160051c810160208610156158575750805b601f850160051c820191505b8181101561587657828155600101615863565b505050505050565b81516001600160401b0381111561589757615897614bba565b6158ab816158a58454615362565b84615830565b602080601f8311600181146158e057600084156158c85750858301515b600019600386901b1c1916600185901b178555615876565b600085815260208120601f198616915b8281101561590f578886015182559484019460019091019084016158f0565b508582101561592d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160601b0383168152604060208201526000614b876040830184614ad8565b60006020828403121561597157600080fd5b815161128181614ba4565b82815260406020820152600082516101208060408501526159a1610160850183614ad8565b91506020850151606085015260408501516080850152606085015160a085015260808501516159d860c086018263ffffffff169052565b5060a085015163ffffffff811660e08601525060c0850151610100615a008187018315159052565b60e087015115159286019290925250840151603f1984830301610140850152615a298282614ad8565b9695505050505050565b6001600160401b038116811461274757600080fd5b600060208284031215615a5a57600080fd5b815161128181615a33565b6001600160401b0360c01b81511682526020810151151560208301526000604082015160a06040850152615a9c60a0850182614ad8565b905060608301516060850152608083015160808501528091505092915050565b6001600160601b0384168152606060208201526000615ade6060830185615a65565b905060ff83166040830152949350505050565b8051614e3281614e0a565b600060208284031215615b0e57600080fd5b81516001600160401b0380821115615b2557600080fd5b9083019060e08286031215615b3957600080fd5b615b41614c1b565b615b4a836153c4565b8152615b58602084016153c4565b6020820152615b6960408401615af1565b6040820152615b7a6060840161539c565b6060820152615b8b60808401615439565b608082015261562e60a08401615439565b80516001600160601b031682526020808201516001600160a01b0390811682850152604080840151805191860191909152918201516060850152606083015180516080860152602081015160a0860152915060808301511660c08401525060a0015160e090910152565b6001600160601b038316815261012081016112816020830184615b9c565b634e487b7160e01b600052603260045260246000fd5b600060208284031215615c4c57600080fd5b81516001600160401b03811115615c6257600080fd5b614b8784828501615527565b600081518084526020808501945080840160005b83811015615ca75781516001600160401b031687529582019590820190600101615c82565b509495945050505050565b6001600160601b03861681526000602060018060a01b0387168184015260a06040840152615ce360a0840187614ad8565b8381036060850152855180825282820190600581901b830184018489016000805b84811015615d6157868403601f19018652825180518086529089019089860190845b81811015615d4c5783516001600160e01b0319168352928b0192918b0191600101615d26565b50509689019694505091870191600101615d04565b5050508681036080880152615d768189615c6e565b9c9b505050505050505050505050565b6001600160601b0383168152604060208201526000614b876040830184615a65565b6020815260006112816020830184614ad8565b6001600160601b0381511682526000602082015160e06020850152615de360e0850182614ad8565b905060408301516040850152606083015163ffffffff8082166060870152806080860151166080870152505064ffffffffff60a08401511660a085015260c083015184820360c08601526115b08282614ad8565b828152604060208201526000614b876040830184615dbb565b600060208284031215615e6257600080fd5b815161128181614e0a565b6001600160601b03841681526101408101615e8b6020830185615b9c565b60ff8316610120830152949350505050565b63ffffffff818116838216019080821115615eba57615eba6154fe565b5092915050565b838152606060208201526000615ade6060830185615dbb565b60008060408385031215615eed57600080fd5b8251615ef881614df5565b6020840151909250614dea81614df5565b634e487b7160e01b600052601260045260246000fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212206ab6771be5e8f0acd052950a344f482106e0cb1dd6a7747811ebee066dbf934064736f6c63430008140033",
541
1390
  "linkReferences": {
542
- "contracts/types/Blocknumber.sol": {
543
- "BlocknumberLib": [
1391
+ "contracts/types/DistributorType.sol": {
1392
+ "DistributorTypeLib": [
544
1393
  {
545
1394
  "length": 20,
546
- "start": 3834
1395
+ "start": 6840
1396
+ },
1397
+ {
1398
+ "length": 20,
1399
+ "start": 6981
547
1400
  }
548
1401
  ]
549
1402
  },
@@ -551,15 +1404,39 @@
551
1404
  "NftIdLib": [
552
1405
  {
553
1406
  "length": 20,
554
- "start": 2076
1407
+ "start": 2274
1408
+ },
1409
+ {
1410
+ "length": 20,
1411
+ "start": 5236
1412
+ },
1413
+ {
1414
+ "length": 20,
1415
+ "start": 10496
1416
+ },
1417
+ {
1418
+ "length": 20,
1419
+ "start": 16256
1420
+ }
1421
+ ]
1422
+ },
1423
+ "contracts/types/Referral.sol": {
1424
+ "ReferralLib": [
1425
+ {
1426
+ "length": 20,
1427
+ "start": 12494
1428
+ },
1429
+ {
1430
+ "length": 20,
1431
+ "start": 12728
555
1432
  },
556
1433
  {
557
1434
  "length": 20,
558
- "start": 3978
1435
+ "start": 14257
559
1436
  },
560
1437
  {
561
1438
  "length": 20,
562
- "start": 5464
1439
+ "start": 15230
563
1440
  }
564
1441
  ]
565
1442
  },
@@ -567,7 +1444,11 @@
567
1444
  "RoleIdLib": [
568
1445
  {
569
1446
  "length": 20,
570
- "start": 6037
1447
+ "start": 16773
1448
+ },
1449
+ {
1450
+ "length": 20,
1451
+ "start": 17647
571
1452
  }
572
1453
  ]
573
1454
  },
@@ -575,7 +1456,115 @@
575
1456
  "TimestampLib": [
576
1457
  {
577
1458
  "length": 20,
578
- "start": 6444
1459
+ "start": 5380
1460
+ },
1461
+ {
1462
+ "length": 20,
1463
+ "start": 5514
1464
+ },
1465
+ {
1466
+ "length": 20,
1467
+ "start": 5620
1468
+ },
1469
+ {
1470
+ "length": 20,
1471
+ "start": 10834
1472
+ },
1473
+ {
1474
+ "length": 20,
1475
+ "start": 11958
1476
+ },
1477
+ {
1478
+ "length": 20,
1479
+ "start": 12094
1480
+ },
1481
+ {
1482
+ "length": 20,
1483
+ "start": 12216
1484
+ },
1485
+ {
1486
+ "length": 20,
1487
+ "start": 12359
1488
+ }
1489
+ ]
1490
+ },
1491
+ "contracts/types/UFixed.sol": {
1492
+ "UFixedLib": [
1493
+ {
1494
+ "length": 20,
1495
+ "start": 3178
1496
+ },
1497
+ {
1498
+ "length": 20,
1499
+ "start": 3316
1500
+ },
1501
+ {
1502
+ "length": 20,
1503
+ "start": 3896
1504
+ },
1505
+ {
1506
+ "length": 20,
1507
+ "start": 4010
1508
+ },
1509
+ {
1510
+ "length": 20,
1511
+ "start": 4145
1512
+ },
1513
+ {
1514
+ "length": 20,
1515
+ "start": 4270
1516
+ },
1517
+ {
1518
+ "length": 20,
1519
+ "start": 4397
1520
+ },
1521
+ {
1522
+ "length": 20,
1523
+ "start": 4532
1524
+ },
1525
+ {
1526
+ "length": 20,
1527
+ "start": 6208
1528
+ },
1529
+ {
1530
+ "length": 20,
1531
+ "start": 6344
1532
+ },
1533
+ {
1534
+ "length": 20,
1535
+ "start": 6470
1536
+ },
1537
+ {
1538
+ "length": 20,
1539
+ "start": 6591
1540
+ },
1541
+ {
1542
+ "length": 20,
1543
+ "start": 6707
1544
+ },
1545
+ {
1546
+ "length": 20,
1547
+ "start": 11417
1548
+ },
1549
+ {
1550
+ "length": 20,
1551
+ "start": 11533
1552
+ },
1553
+ {
1554
+ "length": 20,
1555
+ "start": 11701
1556
+ },
1557
+ {
1558
+ "length": 20,
1559
+ "start": 11817
1560
+ },
1561
+ {
1562
+ "length": 20,
1563
+ "start": 13604
1564
+ },
1565
+ {
1566
+ "length": 20,
1567
+ "start": 13723
579
1568
  }
580
1569
  ]
581
1570
  },
@@ -583,25 +1572,35 @@
583
1572
  "VersionLib": [
584
1573
  {
585
1574
  "length": 20,
586
- "start": 1547
1575
+ "start": 1686
587
1576
  },
588
1577
  {
589
1578
  "length": 20,
590
- "start": 4218
1579
+ "start": 7401
591
1580
  },
592
1581
  {
593
1582
  "length": 20,
594
- "start": 4900
1583
+ "start": 18713
1584
+ }
1585
+ ],
1586
+ "VersionPartLib": [
1587
+ {
1588
+ "length": 20,
1589
+ "start": 13167
595
1590
  }
596
1591
  ]
597
1592
  }
598
1593
  },
599
1594
  "deployedLinkReferences": {
600
- "contracts/types/Blocknumber.sol": {
601
- "BlocknumberLib": [
1595
+ "contracts/types/DistributorType.sol": {
1596
+ "DistributorTypeLib": [
1597
+ {
1598
+ "length": 20,
1599
+ "start": 6610
1600
+ },
602
1601
  {
603
1602
  "length": 20,
604
- "start": 3520
1603
+ "start": 6751
605
1604
  }
606
1605
  ]
607
1606
  },
@@ -609,15 +1608,39 @@
609
1608
  "NftIdLib": [
610
1609
  {
611
1610
  "length": 20,
612
- "start": 1762
1611
+ "start": 2044
613
1612
  },
614
1613
  {
615
1614
  "length": 20,
616
- "start": 3664
1615
+ "start": 5006
617
1616
  },
618
1617
  {
619
1618
  "length": 20,
620
- "start": 5150
1619
+ "start": 10266
1620
+ },
1621
+ {
1622
+ "length": 20,
1623
+ "start": 16026
1624
+ }
1625
+ ]
1626
+ },
1627
+ "contracts/types/Referral.sol": {
1628
+ "ReferralLib": [
1629
+ {
1630
+ "length": 20,
1631
+ "start": 12264
1632
+ },
1633
+ {
1634
+ "length": 20,
1635
+ "start": 12498
1636
+ },
1637
+ {
1638
+ "length": 20,
1639
+ "start": 14027
1640
+ },
1641
+ {
1642
+ "length": 20,
1643
+ "start": 15000
621
1644
  }
622
1645
  ]
623
1646
  },
@@ -625,7 +1648,11 @@
625
1648
  "RoleIdLib": [
626
1649
  {
627
1650
  "length": 20,
628
- "start": 5723
1651
+ "start": 16543
1652
+ },
1653
+ {
1654
+ "length": 20,
1655
+ "start": 17417
629
1656
  }
630
1657
  ]
631
1658
  },
@@ -633,7 +1660,115 @@
633
1660
  "TimestampLib": [
634
1661
  {
635
1662
  "length": 20,
636
- "start": 6130
1663
+ "start": 5150
1664
+ },
1665
+ {
1666
+ "length": 20,
1667
+ "start": 5284
1668
+ },
1669
+ {
1670
+ "length": 20,
1671
+ "start": 5390
1672
+ },
1673
+ {
1674
+ "length": 20,
1675
+ "start": 10604
1676
+ },
1677
+ {
1678
+ "length": 20,
1679
+ "start": 11728
1680
+ },
1681
+ {
1682
+ "length": 20,
1683
+ "start": 11864
1684
+ },
1685
+ {
1686
+ "length": 20,
1687
+ "start": 11986
1688
+ },
1689
+ {
1690
+ "length": 20,
1691
+ "start": 12129
1692
+ }
1693
+ ]
1694
+ },
1695
+ "contracts/types/UFixed.sol": {
1696
+ "UFixedLib": [
1697
+ {
1698
+ "length": 20,
1699
+ "start": 2948
1700
+ },
1701
+ {
1702
+ "length": 20,
1703
+ "start": 3086
1704
+ },
1705
+ {
1706
+ "length": 20,
1707
+ "start": 3666
1708
+ },
1709
+ {
1710
+ "length": 20,
1711
+ "start": 3780
1712
+ },
1713
+ {
1714
+ "length": 20,
1715
+ "start": 3915
1716
+ },
1717
+ {
1718
+ "length": 20,
1719
+ "start": 4040
1720
+ },
1721
+ {
1722
+ "length": 20,
1723
+ "start": 4167
1724
+ },
1725
+ {
1726
+ "length": 20,
1727
+ "start": 4302
1728
+ },
1729
+ {
1730
+ "length": 20,
1731
+ "start": 5978
1732
+ },
1733
+ {
1734
+ "length": 20,
1735
+ "start": 6114
1736
+ },
1737
+ {
1738
+ "length": 20,
1739
+ "start": 6240
1740
+ },
1741
+ {
1742
+ "length": 20,
1743
+ "start": 6361
1744
+ },
1745
+ {
1746
+ "length": 20,
1747
+ "start": 6477
1748
+ },
1749
+ {
1750
+ "length": 20,
1751
+ "start": 11187
1752
+ },
1753
+ {
1754
+ "length": 20,
1755
+ "start": 11303
1756
+ },
1757
+ {
1758
+ "length": 20,
1759
+ "start": 11471
1760
+ },
1761
+ {
1762
+ "length": 20,
1763
+ "start": 11587
1764
+ },
1765
+ {
1766
+ "length": 20,
1767
+ "start": 13374
1768
+ },
1769
+ {
1770
+ "length": 20,
1771
+ "start": 13493
637
1772
  }
638
1773
  ]
639
1774
  },
@@ -641,15 +1776,21 @@
641
1776
  "VersionLib": [
642
1777
  {
643
1778
  "length": 20,
644
- "start": 1233
1779
+ "start": 1456
645
1780
  },
646
1781
  {
647
1782
  "length": 20,
648
- "start": 3904
1783
+ "start": 7171
649
1784
  },
650
1785
  {
651
1786
  "length": 20,
652
- "start": 4586
1787
+ "start": 18483
1788
+ }
1789
+ ],
1790
+ "VersionPartLib": [
1791
+ {
1792
+ "length": 20,
1793
+ "start": 12937
653
1794
  }
654
1795
  ]
655
1796
  }