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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (378) hide show
  1. package/README.md +8 -13
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +873 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +903 -202
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/components/{BaseComponent.sol/BaseComponent.json → IComponent.sol/IComponent.json} +237 -83
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +879 -31
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +879 -59
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +720 -16
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +760 -195
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +564 -141
  18. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +1 -1
  19. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +15 -15
  20. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  21. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +69 -79
  22. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +1 -1
  23. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +5 -0
  24. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  25. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1474 -483
  26. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +248 -218
  28. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  29. package/artifacts/contracts/instance/Instance.sol/Instance.json +1152 -794
  30. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  31. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +462 -179
  32. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  33. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +414 -267
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  35. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +482 -346
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  37. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +355 -91
  38. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
  39. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +11 -40
  40. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  41. package/artifacts/contracts/instance/base/{ComponentServiceBase.sol/ComponentServiceBase.json → ComponentService.sol/ComponentService.json} +263 -164
  42. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  44. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  45. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +40 -10
  46. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  47. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
  48. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  49. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +58 -75
  50. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  51. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  52. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  53. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  54. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  55. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  56. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  57. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  58. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  59. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +1124 -0
  60. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  61. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +688 -0
  62. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +1 -1
  63. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +641 -303
  64. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  65. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +343 -79
  66. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  67. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +1384 -0
  68. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  69. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +752 -0
  70. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1434 -280
  72. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  73. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +469 -73
  74. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  75. package/artifacts/contracts/instance/service/{IComponentOwnerService.sol/IComponentOwnerService.json → IApplicationService.sol/IApplicationService.json} +342 -189
  76. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +1 -1
  77. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +310 -249
  78. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  79. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +743 -0
  80. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +757 -144
  82. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  83. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +262 -275
  84. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +703 -125
  86. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  87. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +71 -165
  88. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +1 -1
  89. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +632 -344
  90. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  91. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +367 -91
  92. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  93. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +1119 -224
  94. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  95. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +361 -73
  96. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  97. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +297 -210
  98. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
  99. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +298 -78
  100. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  101. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  102. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  103. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +117 -5
  104. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  105. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +99 -217
  106. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  107. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  108. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  109. package/artifacts/contracts/registry/Registry.sol/Registry.json +131 -27
  110. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +1 -1
  111. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +18 -18
  112. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  113. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +205 -250
  114. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  115. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +287 -81
  116. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
  117. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +81 -68
  118. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  119. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +138 -50
  120. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  121. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  122. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  123. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  124. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +27 -29
  125. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  126. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +189 -0
  127. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  128. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +8 -34
  129. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  130. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  131. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  132. package/artifacts/contracts/shared/IService.sol/IService.json +71 -165
  133. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  134. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  135. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  136. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +107 -27
  137. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  138. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +302 -0
  139. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  140. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +283 -63
  141. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  142. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +116 -51
  143. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  144. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
  145. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  146. package/artifacts/contracts/shared/Service.sol/Service.json +173 -153
  147. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  148. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +24 -6
  149. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  150. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  151. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  152. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  153. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  154. package/artifacts/contracts/test/TestFee.sol/TestFee.json +2 -2
  155. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  156. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +116 -51
  157. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  158. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +6 -6
  159. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  160. package/artifacts/contracts/test/TestService.sol/TestService.json +191 -203
  161. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  162. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  163. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  164. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  165. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -190
  166. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  167. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  168. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +4 -0
  169. package/artifacts/contracts/types/Amount.sol/AmountLib.json +281 -0
  170. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  171. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  172. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  173. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  174. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +179 -0
  175. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  176. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
  177. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  178. package/artifacts/contracts/types/Fee.sol/FeeLib.json +74 -19
  179. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  180. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  181. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  182. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
  183. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  184. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +2 -2
  185. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  186. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  187. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  188. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  189. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +209 -0
  190. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  191. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
  192. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  193. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  194. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  195. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  196. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  197. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  198. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  199. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  200. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +38 -7
  202. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  203. package/artifacts/contracts/types/UFixed.sol/MathLib.json +2 -2
  204. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  205. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +2 -2
  206. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  207. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  208. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  209. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
  210. package/contracts/components/Component.sol +272 -0
  211. package/contracts/components/Distribution.sol +204 -82
  212. package/contracts/components/IComponent.sol +90 -0
  213. package/contracts/components/IDistributionComponent.sol +44 -17
  214. package/contracts/components/IPoolComponent.sol +90 -42
  215. package/contracts/components/IProductComponent.sol +15 -9
  216. package/contracts/components/Pool.sol +217 -186
  217. package/contracts/components/Product.sol +246 -166
  218. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +2 -12
  219. package/contracts/instance/BundleManager.sol +17 -20
  220. package/contracts/instance/Cloneable.sol +7 -2
  221. package/contracts/instance/IInstance.sol +67 -25
  222. package/contracts/instance/IInstanceService.sol +34 -11
  223. package/contracts/instance/Instance.sol +158 -116
  224. package/contracts/instance/InstanceAccessManager.sol +389 -165
  225. package/contracts/instance/InstanceReader.sol +87 -36
  226. package/contracts/instance/InstanceService.sol +295 -161
  227. package/contracts/instance/InstanceServiceManager.sol +1 -1
  228. package/contracts/instance/ObjectManager.sol +10 -29
  229. package/contracts/instance/base/ComponentService.sol +130 -0
  230. package/contracts/instance/base/KeyValueStore.sol +13 -36
  231. package/contracts/instance/base/Lifecycle.sol +26 -6
  232. package/contracts/instance/module/IAccess.sol +22 -16
  233. package/contracts/instance/module/IBundle.sol +8 -5
  234. package/contracts/instance/module/IComponents.sol +41 -0
  235. package/contracts/instance/module/IDistribution.sol +3 -0
  236. package/contracts/instance/module/IPolicy.sol +43 -11
  237. package/contracts/instance/module/ISetup.sol +7 -20
  238. package/contracts/instance/service/ApplicationService.sol +356 -0
  239. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  240. package/contracts/instance/service/BundleService.sol +244 -119
  241. package/contracts/instance/service/BundleServiceManager.sol +1 -1
  242. package/contracts/instance/service/ClaimService.sol +443 -0
  243. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  244. package/contracts/instance/service/DistributionService.sol +360 -41
  245. package/contracts/instance/service/DistributionServiceManager.sol +1 -1
  246. package/contracts/instance/service/IApplicationService.sol +79 -0
  247. package/contracts/instance/service/IBundleService.sol +93 -20
  248. package/contracts/instance/service/IClaimService.sol +90 -0
  249. package/contracts/instance/service/IDistributionService.sol +89 -0
  250. package/contracts/instance/service/IPolicyService.sol +44 -51
  251. package/contracts/instance/service/IPoolService.sol +97 -3
  252. package/contracts/instance/service/PolicyService.sol +233 -364
  253. package/contracts/instance/service/PolicyServiceManager.sol +2 -2
  254. package/contracts/instance/service/PoolService.sol +319 -40
  255. package/contracts/instance/service/PoolServiceManager.sol +1 -1
  256. package/contracts/instance/service/ProductService.sol +90 -50
  257. package/contracts/instance/service/ProductServiceManager.sol +2 -2
  258. package/contracts/registry/ChainNft.sol +8 -0
  259. package/contracts/registry/IRegistry.sol +18 -8
  260. package/contracts/registry/IRegistryService.sol +21 -13
  261. package/contracts/registry/ITransferInterceptor.sol +1 -0
  262. package/contracts/registry/Registry.sol +142 -71
  263. package/contracts/registry/RegistryAccessManager.sol +31 -25
  264. package/contracts/registry/RegistryService.sol +93 -134
  265. package/contracts/registry/RegistryServiceManager.sol +13 -13
  266. package/contracts/registry/ReleaseManager.sol +103 -127
  267. package/contracts/registry/TokenRegistry.sol +19 -13
  268. package/contracts/shared/ERC165.sol +14 -12
  269. package/contracts/shared/INftOwnable.sol +11 -10
  270. package/contracts/shared/IPolicyHolder.sol +40 -0
  271. package/contracts/shared/IRegisterable.sol +4 -6
  272. package/contracts/shared/IRegistryLinked.sol +11 -0
  273. package/contracts/shared/IService.sol +6 -4
  274. package/contracts/shared/IVersionable.sol +4 -47
  275. package/contracts/shared/NftOwnable.sol +64 -80
  276. package/contracts/shared/PolicyHolder.sol +94 -0
  277. package/contracts/shared/ProxyManager.sol +100 -25
  278. package/contracts/shared/Registerable.sol +24 -39
  279. package/contracts/shared/RegistryLinked.sol +43 -0
  280. package/contracts/shared/Service.sol +36 -22
  281. package/contracts/shared/TokenHandler.sol +14 -6
  282. package/contracts/shared/Versionable.sol +4 -92
  283. package/contracts/test/TestRegisterable.sol +1 -1
  284. package/contracts/test/TestService.sol +1 -1
  285. package/contracts/types/Amount.sol +109 -0
  286. package/contracts/types/Blocknumber.sol +1 -0
  287. package/contracts/types/ClaimId.sol +75 -0
  288. package/contracts/types/DistributorType.sol +2 -2
  289. package/contracts/types/Fee.sol +17 -8
  290. package/contracts/types/NftId.sol +8 -0
  291. package/contracts/types/ObjectType.sol +11 -6
  292. package/contracts/types/PayoutId.sol +82 -0
  293. package/contracts/types/Referral.sol +4 -0
  294. package/contracts/types/RoleId.sol +18 -11
  295. package/contracts/types/Seconds.sol +54 -0
  296. package/contracts/types/StateId.sol +7 -2
  297. package/contracts/types/Timestamp.sol +18 -13
  298. package/contracts/types/UFixed.sol +1 -0
  299. package/contracts/types/Version.sol +1 -0
  300. package/package.json +3 -3
  301. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  302. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  303. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -397
  304. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  305. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  306. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  307. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  308. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  309. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  310. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  311. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  312. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  313. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  314. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  315. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  316. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  317. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  318. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  319. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  320. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  321. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  322. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  323. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  324. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  325. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  326. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  327. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  328. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  329. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  330. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  331. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  332. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  333. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  334. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  335. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  336. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  337. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  338. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  339. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  340. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  341. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  342. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  343. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  344. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.json +0 -448
  345. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  346. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +0 -763
  347. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  348. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  349. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  350. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  351. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -814
  352. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  353. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  354. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
  355. package/contracts/components/BaseComponent.sol +0 -159
  356. package/contracts/components/IBaseComponent.sol +0 -34
  357. package/contracts/experiment/cloning/Cloner.sol +0 -47
  358. package/contracts/experiment/errors/Require.sol +0 -38
  359. package/contracts/experiment/errors/Revert.sol +0 -44
  360. package/contracts/experiment/inheritance/A.sol +0 -53
  361. package/contracts/experiment/inheritance/B.sol +0 -28
  362. package/contracts/experiment/inheritance/C.sol +0 -34
  363. package/contracts/experiment/inheritance/IA.sol +0 -13
  364. package/contracts/experiment/inheritance/IB.sol +0 -10
  365. package/contracts/experiment/inheritance/IC.sol +0 -12
  366. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  367. package/contracts/experiment/statemachine/ISM.sol +0 -25
  368. package/contracts/experiment/statemachine/SM.sol +0 -57
  369. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  370. package/contracts/experiment/types/TypeA.sol +0 -47
  371. package/contracts/experiment/types/TypeB.sol +0 -29
  372. package/contracts/instance/IInstanceBase.sol +0 -26
  373. package/contracts/instance/InstanceBase.sol +0 -41
  374. package/contracts/instance/base/ComponentServiceBase.sol +0 -82
  375. package/contracts/instance/base/IInstanceBase.sol +0 -23
  376. package/contracts/instance/service/ComponentOwnerService.sol +0 -315
  377. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  378. package/contracts/shared/RegisterableUpgradable.sol +0 -16
@@ -6,303 +6,937 @@
6
6
  {
7
7
  "inputs": [
8
8
  {
9
- "internalType": "ObjectType",
10
- "name": "componentType",
11
- "type": "uint8"
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
12
  }
13
13
  ],
14
- "name": "ComponentTypeInvalid",
14
+ "name": "AccessManagedInvalidAuthority",
15
15
  "type": "error"
16
16
  },
17
17
  {
18
18
  "inputs": [
19
19
  {
20
20
  "internalType": "address",
21
- "name": "registry",
21
+ "name": "caller",
22
22
  "type": "address"
23
23
  },
24
24
  {
25
- "internalType": "NftId",
26
- "name": "nftId",
27
- "type": "uint96"
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
28
  }
29
29
  ],
30
- "name": "ErrorAlreadyLinked",
30
+ "name": "AccessManagedRequiredDelay",
31
31
  "type": "error"
32
32
  },
33
33
  {
34
34
  "inputs": [
35
35
  {
36
36
  "internalType": "address",
37
- "name": "componentAddress",
37
+ "name": "caller",
38
38
  "type": "address"
39
39
  }
40
40
  ],
41
- "name": "ErrorComponentServiceBaseComponentLocked",
41
+ "name": "AccessManagedUnauthorized",
42
42
  "type": "error"
43
43
  },
44
44
  {
45
45
  "inputs": [
46
46
  {
47
47
  "internalType": "address",
48
- "name": "contractAddress",
48
+ "name": "component",
49
49
  "type": "address"
50
50
  }
51
51
  ],
52
- "name": "ErrorContractNotRegistered",
52
+ "name": "ErrorComponentServiceComponentLocked",
53
53
  "type": "error"
54
54
  },
55
55
  {
56
56
  "inputs": [
57
57
  {
58
58
  "internalType": "address",
59
- "name": "target",
59
+ "name": "component",
60
60
  "type": "address"
61
+ },
62
+ {
63
+ "internalType": "ObjectType",
64
+ "name": "expectedType",
65
+ "type": "uint8"
66
+ },
67
+ {
68
+ "internalType": "ObjectType",
69
+ "name": "foundType",
70
+ "type": "uint8"
61
71
  }
62
72
  ],
63
- "name": "ErrorIAccessTargetLocked",
73
+ "name": "ErrorComponentServiceComponentTypeInvalid",
64
74
  "type": "error"
65
75
  },
66
76
  {
67
77
  "inputs": [
78
+ {
79
+ "internalType": "NftId",
80
+ "name": "instanceNftId",
81
+ "type": "uint96"
82
+ },
83
+ {
84
+ "internalType": "RoleId",
85
+ "name": "requiredRole",
86
+ "type": "uint64"
87
+ },
68
88
  {
69
89
  "internalType": "address",
70
- "name": "account",
90
+ "name": "sender",
71
91
  "type": "address"
72
92
  }
73
93
  ],
74
- "name": "ErrorNotOwner",
94
+ "name": "ErrorComponentServiceExpectedRoleMissing",
75
95
  "type": "error"
76
96
  },
77
97
  {
78
98
  "inputs": [
79
99
  {
80
100
  "internalType": "address",
81
- "name": "registryAddress",
101
+ "name": "component",
82
102
  "type": "address"
103
+ },
104
+ {
105
+ "internalType": "ObjectType",
106
+ "name": "requiredType",
107
+ "type": "uint8"
108
+ },
109
+ {
110
+ "internalType": "ObjectType",
111
+ "name": "componentType",
112
+ "type": "uint8"
83
113
  }
84
114
  ],
85
- "name": "ErrorNotRegistry",
115
+ "name": "ErrorComponentServiceInvalidType",
86
116
  "type": "error"
87
117
  },
88
118
  {
89
119
  "inputs": [
90
120
  {
91
121
  "internalType": "address",
92
- "name": "registryAddress",
122
+ "name": "component",
93
123
  "type": "address"
94
124
  }
95
125
  ],
96
- "name": "ErrorRegisterableNotRegistry",
97
- "type": "error"
98
- },
99
- {
100
- "inputs": [],
101
- "name": "ErrorRegistryAddressZero",
126
+ "name": "ErrorComponentServiceNotComponent",
102
127
  "type": "error"
103
128
  },
104
129
  {
105
130
  "inputs": [
106
131
  {
107
132
  "internalType": "address",
108
- "name": "registry",
133
+ "name": "component",
134
+ "type": "address"
135
+ },
136
+ {
137
+ "internalType": "address",
138
+ "name": "initialOwner",
139
+ "type": "address"
140
+ },
141
+ {
142
+ "internalType": "address",
143
+ "name": "sender",
109
144
  "type": "address"
110
145
  }
111
146
  ],
112
- "name": "ErrorRegistryAlreadyInitialized",
147
+ "name": "ErrorComponentServiceSenderNotOwner",
113
148
  "type": "error"
114
149
  },
115
150
  {
116
- "inputs": [],
117
- "name": "ErrorRegistryNotInitialized",
151
+ "inputs": [
152
+ {
153
+ "internalType": "address",
154
+ "name": "sender",
155
+ "type": "address"
156
+ }
157
+ ],
158
+ "name": "ErrorComponentServiceSenderNotService",
118
159
  "type": "error"
119
160
  },
120
161
  {
121
162
  "inputs": [
122
- {
123
- "internalType": "RoleId",
124
- "name": "expected",
125
- "type": "uint64"
126
- },
127
163
  {
128
164
  "internalType": "address",
129
165
  "name": "caller",
130
166
  "type": "address"
131
167
  }
132
168
  ],
133
- "name": "ExpectedRoleMissing",
169
+ "name": "ErrorDistributionServiceCallerNotRegistered",
134
170
  "type": "error"
135
171
  },
136
172
  {
137
- "inputs": [],
138
- "name": "InvalidInitialization",
173
+ "inputs": [
174
+ {
175
+ "internalType": "Amount",
176
+ "name": "transferredDistributionFeeAmount",
177
+ "type": "uint96"
178
+ },
179
+ {
180
+ "internalType": "Amount",
181
+ "name": "expectedDistributionFeeAmount",
182
+ "type": "uint96"
183
+ }
184
+ ],
185
+ "name": "ErrorDistributionServiceInvalidFeeTransferred",
139
186
  "type": "error"
140
187
  },
141
188
  {
142
- "inputs": [],
143
- "name": "NotInitializing",
189
+ "inputs": [
190
+ {
191
+ "internalType": "address",
192
+ "name": "target",
193
+ "type": "address"
194
+ }
195
+ ],
196
+ "name": "ErrorIAccessTargetLocked",
144
197
  "type": "error"
145
198
  },
146
199
  {
147
- "anonymous": false,
148
200
  "inputs": [
149
201
  {
150
- "indexed": false,
151
- "internalType": "uint64",
152
- "name": "version",
153
- "type": "uint64"
202
+ "internalType": "address",
203
+ "name": "caller",
204
+ "type": "address"
154
205
  }
155
206
  ],
156
- "name": "Initialized",
157
- "type": "event"
207
+ "name": "ErrorIDistributionServiceCallerNotDistributor",
208
+ "type": "error"
158
209
  },
159
210
  {
160
- "anonymous": false,
161
211
  "inputs": [
162
212
  {
163
- "indexed": false,
164
- "internalType": "Version",
165
- "name": "version",
166
- "type": "uint24"
213
+ "internalType": "uint256",
214
+ "name": "commissionPercentage",
215
+ "type": "uint256"
167
216
  },
168
217
  {
169
- "indexed": false,
170
- "internalType": "address",
171
- "name": "implementation",
172
- "type": "address"
218
+ "internalType": "uint256",
219
+ "name": "maxCommissionPercentage",
220
+ "type": "uint256"
221
+ }
222
+ ],
223
+ "name": "ErrorIDistributionServiceCommissionTooHigh",
224
+ "type": "error"
225
+ },
226
+ {
227
+ "inputs": [
228
+ {
229
+ "internalType": "uint256",
230
+ "name": "maxDiscountPercentage",
231
+ "type": "uint256"
173
232
  },
174
233
  {
175
- "indexed": false,
176
- "internalType": "address",
177
- "name": "activatedBy",
178
- "type": "address"
234
+ "internalType": "uint256",
235
+ "name": "discountPercentage",
236
+ "type": "uint256"
179
237
  }
180
238
  ],
181
- "name": "LogVersionableInitialized",
182
- "type": "event"
239
+ "name": "ErrorIDistributionServiceDiscountTooHigh",
240
+ "type": "error"
183
241
  },
184
242
  {
185
- "inputs": [],
186
- "name": "REGISTERABLE_LOCATION_V1",
187
- "outputs": [
243
+ "inputs": [
188
244
  {
189
- "internalType": "bytes32",
190
- "name": "",
191
- "type": "bytes32"
245
+ "internalType": "uint256",
246
+ "name": "minDiscountPercentage",
247
+ "type": "uint256"
248
+ },
249
+ {
250
+ "internalType": "uint256",
251
+ "name": "discountPercentage",
252
+ "type": "uint256"
192
253
  }
193
254
  ],
194
- "stateMutability": "view",
195
- "type": "function"
255
+ "name": "ErrorIDistributionServiceDiscountTooLow",
256
+ "type": "error"
196
257
  },
197
258
  {
198
- "inputs": [],
199
- "name": "getDomain",
200
- "outputs": [
259
+ "inputs": [
201
260
  {
202
- "internalType": "ObjectType",
203
- "name": "",
204
- "type": "uint8"
261
+ "internalType": "Timestamp",
262
+ "name": "expiryAt",
263
+ "type": "uint40"
205
264
  }
206
265
  ],
207
- "stateMutability": "pure",
208
- "type": "function"
266
+ "name": "ErrorIDistributionServiceExpirationInvalid",
267
+ "type": "error"
209
268
  },
210
269
  {
211
- "inputs": [],
212
- "name": "getInitialInfo",
213
- "outputs": [
270
+ "inputs": [
214
271
  {
215
- "components": [
216
- {
217
- "internalType": "NftId",
218
- "name": "nftId",
219
- "type": "uint96"
220
- },
221
- {
222
- "internalType": "NftId",
223
- "name": "parentNftId",
224
- "type": "uint96"
225
- },
226
- {
227
- "internalType": "ObjectType",
228
- "name": "objectType",
229
- "type": "uint8"
230
- },
231
- {
232
- "internalType": "bool",
233
- "name": "isInterceptor",
234
- "type": "bool"
235
- },
236
- {
237
- "internalType": "address",
238
- "name": "objectAddress",
239
- "type": "address"
240
- },
241
- {
242
- "internalType": "address",
243
- "name": "initialOwner",
244
- "type": "address"
245
- },
246
- {
247
- "internalType": "bytes",
248
- "name": "data",
249
- "type": "bytes"
250
- }
251
- ],
252
- "internalType": "struct IRegistry.ObjectInfo",
253
- "name": "",
254
- "type": "tuple"
272
+ "internalType": "uint256",
273
+ "name": "maxReferralLifetime",
274
+ "type": "uint256"
255
275
  },
256
276
  {
257
- "internalType": "bytes",
258
- "name": "data",
259
- "type": "bytes"
277
+ "internalType": "uint256",
278
+ "name": "expiryAt",
279
+ "type": "uint256"
260
280
  }
261
281
  ],
262
- "stateMutability": "view",
263
- "type": "function"
282
+ "name": "ErrorIDistributionServiceExpiryTooLong",
283
+ "type": "error"
264
284
  },
265
285
  {
266
- "inputs": [],
267
- "name": "getInitializedVersion",
268
- "outputs": [
286
+ "inputs": [
269
287
  {
270
- "internalType": "uint64",
271
- "name": "",
272
- "type": "uint64"
288
+ "internalType": "uint256",
289
+ "name": "distributionFeeFixAmount",
290
+ "type": "uint256"
291
+ },
292
+ {
293
+ "internalType": "uint256",
294
+ "name": "distributionFeeVarAmount",
295
+ "type": "uint256"
296
+ },
297
+ {
298
+ "internalType": "uint256",
299
+ "name": "distributionOwnerFeeFixAmount",
300
+ "type": "uint256"
301
+ },
302
+ {
303
+ "internalType": "uint256",
304
+ "name": "distributionOwnerFeeVarAmount",
305
+ "type": "uint256"
306
+ },
307
+ {
308
+ "internalType": "uint256",
309
+ "name": "commissionAmount",
310
+ "type": "uint256"
311
+ },
312
+ {
313
+ "internalType": "uint256",
314
+ "name": "discountAmount",
315
+ "type": "uint256"
273
316
  }
274
317
  ],
275
- "stateMutability": "view",
276
- "type": "function"
318
+ "name": "ErrorIDistributionServiceFeeCalculationMismatch",
319
+ "type": "error"
277
320
  },
278
321
  {
279
- "inputs": [],
280
- "name": "getInstanceService",
281
- "outputs": [
322
+ "inputs": [
282
323
  {
283
- "internalType": "contract InstanceService",
284
- "name": "",
285
- "type": "address"
324
+ "internalType": "string",
325
+ "name": "code",
326
+ "type": "string"
286
327
  }
287
328
  ],
288
- "stateMutability": "view",
289
- "type": "function"
329
+ "name": "ErrorIDistributionServiceInvalidReferral",
330
+ "type": "error"
290
331
  },
291
332
  {
292
- "inputs": [],
293
- "name": "getMajorVersion",
294
- "outputs": [
333
+ "inputs": [
295
334
  {
296
- "internalType": "VersionPart",
297
- "name": "majorVersion",
298
- "type": "uint8"
335
+ "internalType": "ReferralId",
336
+ "name": "referralId",
337
+ "type": "bytes8"
299
338
  }
300
339
  ],
301
- "stateMutability": "view",
302
- "type": "function"
340
+ "name": "ErrorIDistributionServiceInvalidReferralId",
341
+ "type": "error"
303
342
  },
304
343
  {
305
- "inputs": [],
344
+ "inputs": [
345
+ {
346
+ "internalType": "uint256",
347
+ "name": "maxDiscountPercentage",
348
+ "type": "uint256"
349
+ },
350
+ {
351
+ "internalType": "uint256",
352
+ "name": "limit",
353
+ "type": "uint256"
354
+ }
355
+ ],
356
+ "name": "ErrorIDistributionServiceMaxDiscountTooHigh",
357
+ "type": "error"
358
+ },
359
+ {
360
+ "inputs": [
361
+ {
362
+ "internalType": "uint256",
363
+ "name": "maxReferrals",
364
+ "type": "uint256"
365
+ }
366
+ ],
367
+ "name": "ErrorIDistributionServiceMaxReferralsExceeded",
368
+ "type": "error"
369
+ },
370
+ {
371
+ "inputs": [
372
+ {
373
+ "internalType": "uint256",
374
+ "name": "minFee",
375
+ "type": "uint256"
376
+ },
377
+ {
378
+ "internalType": "uint256",
379
+ "name": "limit",
380
+ "type": "uint256"
381
+ }
382
+ ],
383
+ "name": "ErrorIDistributionServiceMinFeeTooHigh",
384
+ "type": "error"
385
+ },
386
+ {
387
+ "inputs": [
388
+ {
389
+ "internalType": "NftId",
390
+ "name": "nftId",
391
+ "type": "uint96"
392
+ },
393
+ {
394
+ "internalType": "NftId",
395
+ "name": "parentNftId",
396
+ "type": "uint96"
397
+ }
398
+ ],
399
+ "name": "ErrorIDistributionServiceParentNftIdNotInstance",
400
+ "type": "error"
401
+ },
402
+ {
403
+ "inputs": [
404
+ {
405
+ "internalType": "NftId",
406
+ "name": "distributionNftId",
407
+ "type": "uint96"
408
+ },
409
+ {
410
+ "internalType": "ReferralId",
411
+ "name": "referralId",
412
+ "type": "bytes8"
413
+ }
414
+ ],
415
+ "name": "ErrorIDistributionServiceReferralInvalid",
416
+ "type": "error"
417
+ },
418
+ {
419
+ "inputs": [
420
+ {
421
+ "internalType": "NftId",
422
+ "name": "nftId",
423
+ "type": "uint96"
424
+ }
425
+ ],
426
+ "name": "ErrorNftOwnableAlreadyLinked",
427
+ "type": "error"
428
+ },
429
+ {
430
+ "inputs": [
431
+ {
432
+ "internalType": "address",
433
+ "name": "contractAddress",
434
+ "type": "address"
435
+ }
436
+ ],
437
+ "name": "ErrorNftOwnableContractNotRegistered",
438
+ "type": "error"
439
+ },
440
+ {
441
+ "inputs": [],
442
+ "name": "ErrorNftOwnableInitialOwnerZero",
443
+ "type": "error"
444
+ },
445
+ {
446
+ "inputs": [
447
+ {
448
+ "internalType": "address",
449
+ "name": "account",
450
+ "type": "address"
451
+ }
452
+ ],
453
+ "name": "ErrorNftOwnableNotOwner",
454
+ "type": "error"
455
+ },
456
+ {
457
+ "inputs": [
458
+ {
459
+ "internalType": "address",
460
+ "name": "registryAddress",
461
+ "type": "address"
462
+ }
463
+ ],
464
+ "name": "ErrorNotRegistry",
465
+ "type": "error"
466
+ },
467
+ {
468
+ "inputs": [],
469
+ "name": "ErrorServiceNotImplemented",
470
+ "type": "error"
471
+ },
472
+ {
473
+ "inputs": [],
474
+ "name": "InvalidInitialization",
475
+ "type": "error"
476
+ },
477
+ {
478
+ "inputs": [],
479
+ "name": "NotInitializing",
480
+ "type": "error"
481
+ },
482
+ {
483
+ "anonymous": false,
484
+ "inputs": [
485
+ {
486
+ "indexed": false,
487
+ "internalType": "address",
488
+ "name": "authority",
489
+ "type": "address"
490
+ }
491
+ ],
492
+ "name": "AuthorityUpdated",
493
+ "type": "event"
494
+ },
495
+ {
496
+ "anonymous": false,
497
+ "inputs": [
498
+ {
499
+ "indexed": false,
500
+ "internalType": "uint64",
501
+ "name": "version",
502
+ "type": "uint64"
503
+ }
504
+ ],
505
+ "name": "Initialized",
506
+ "type": "event"
507
+ },
508
+ {
509
+ "inputs": [],
510
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
511
+ "outputs": [
512
+ {
513
+ "internalType": "bytes32",
514
+ "name": "",
515
+ "type": "bytes32"
516
+ }
517
+ ],
518
+ "stateMutability": "view",
519
+ "type": "function"
520
+ },
521
+ {
522
+ "inputs": [],
523
+ "name": "REGISTERABLE_LOCATION_V1",
524
+ "outputs": [
525
+ {
526
+ "internalType": "bytes32",
527
+ "name": "",
528
+ "type": "bytes32"
529
+ }
530
+ ],
531
+ "stateMutability": "view",
532
+ "type": "function"
533
+ },
534
+ {
535
+ "inputs": [],
536
+ "name": "authority",
537
+ "outputs": [
538
+ {
539
+ "internalType": "address",
540
+ "name": "",
541
+ "type": "address"
542
+ }
543
+ ],
544
+ "stateMutability": "view",
545
+ "type": "function"
546
+ },
547
+ {
548
+ "inputs": [
549
+ {
550
+ "internalType": "NftId",
551
+ "name": "distributionNftId",
552
+ "type": "uint96"
553
+ },
554
+ {
555
+ "internalType": "ReferralId",
556
+ "name": "referralId",
557
+ "type": "bytes8"
558
+ },
559
+ {
560
+ "components": [
561
+ {
562
+ "internalType": "uint256",
563
+ "name": "netPremiumAmount",
564
+ "type": "uint256"
565
+ },
566
+ {
567
+ "internalType": "uint256",
568
+ "name": "fullPremiumAmount",
569
+ "type": "uint256"
570
+ },
571
+ {
572
+ "internalType": "uint256",
573
+ "name": "premiumAmount",
574
+ "type": "uint256"
575
+ },
576
+ {
577
+ "internalType": "uint256",
578
+ "name": "productFeeFixAmount",
579
+ "type": "uint256"
580
+ },
581
+ {
582
+ "internalType": "uint256",
583
+ "name": "poolFeeFixAmount",
584
+ "type": "uint256"
585
+ },
586
+ {
587
+ "internalType": "uint256",
588
+ "name": "bundleFeeFixAmount",
589
+ "type": "uint256"
590
+ },
591
+ {
592
+ "internalType": "uint256",
593
+ "name": "distributionFeeFixAmount",
594
+ "type": "uint256"
595
+ },
596
+ {
597
+ "internalType": "uint256",
598
+ "name": "productFeeVarAmount",
599
+ "type": "uint256"
600
+ },
601
+ {
602
+ "internalType": "uint256",
603
+ "name": "poolFeeVarAmount",
604
+ "type": "uint256"
605
+ },
606
+ {
607
+ "internalType": "uint256",
608
+ "name": "bundleFeeVarAmount",
609
+ "type": "uint256"
610
+ },
611
+ {
612
+ "internalType": "uint256",
613
+ "name": "distributionFeeVarAmount",
614
+ "type": "uint256"
615
+ },
616
+ {
617
+ "internalType": "uint256",
618
+ "name": "distributionOwnerFeeFixAmount",
619
+ "type": "uint256"
620
+ },
621
+ {
622
+ "internalType": "uint256",
623
+ "name": "distributionOwnerFeeVarAmount",
624
+ "type": "uint256"
625
+ },
626
+ {
627
+ "internalType": "uint256",
628
+ "name": "commissionAmount",
629
+ "type": "uint256"
630
+ },
631
+ {
632
+ "internalType": "uint256",
633
+ "name": "discountAmount",
634
+ "type": "uint256"
635
+ }
636
+ ],
637
+ "internalType": "struct IPolicy.Premium",
638
+ "name": "premium",
639
+ "type": "tuple"
640
+ }
641
+ ],
642
+ "name": "calculateFeeAmount",
643
+ "outputs": [
644
+ {
645
+ "components": [
646
+ {
647
+ "internalType": "uint256",
648
+ "name": "netPremiumAmount",
649
+ "type": "uint256"
650
+ },
651
+ {
652
+ "internalType": "uint256",
653
+ "name": "fullPremiumAmount",
654
+ "type": "uint256"
655
+ },
656
+ {
657
+ "internalType": "uint256",
658
+ "name": "premiumAmount",
659
+ "type": "uint256"
660
+ },
661
+ {
662
+ "internalType": "uint256",
663
+ "name": "productFeeFixAmount",
664
+ "type": "uint256"
665
+ },
666
+ {
667
+ "internalType": "uint256",
668
+ "name": "poolFeeFixAmount",
669
+ "type": "uint256"
670
+ },
671
+ {
672
+ "internalType": "uint256",
673
+ "name": "bundleFeeFixAmount",
674
+ "type": "uint256"
675
+ },
676
+ {
677
+ "internalType": "uint256",
678
+ "name": "distributionFeeFixAmount",
679
+ "type": "uint256"
680
+ },
681
+ {
682
+ "internalType": "uint256",
683
+ "name": "productFeeVarAmount",
684
+ "type": "uint256"
685
+ },
686
+ {
687
+ "internalType": "uint256",
688
+ "name": "poolFeeVarAmount",
689
+ "type": "uint256"
690
+ },
691
+ {
692
+ "internalType": "uint256",
693
+ "name": "bundleFeeVarAmount",
694
+ "type": "uint256"
695
+ },
696
+ {
697
+ "internalType": "uint256",
698
+ "name": "distributionFeeVarAmount",
699
+ "type": "uint256"
700
+ },
701
+ {
702
+ "internalType": "uint256",
703
+ "name": "distributionOwnerFeeFixAmount",
704
+ "type": "uint256"
705
+ },
706
+ {
707
+ "internalType": "uint256",
708
+ "name": "distributionOwnerFeeVarAmount",
709
+ "type": "uint256"
710
+ },
711
+ {
712
+ "internalType": "uint256",
713
+ "name": "commissionAmount",
714
+ "type": "uint256"
715
+ },
716
+ {
717
+ "internalType": "uint256",
718
+ "name": "discountAmount",
719
+ "type": "uint256"
720
+ }
721
+ ],
722
+ "internalType": "struct IPolicy.Premium",
723
+ "name": "finalPremium",
724
+ "type": "tuple"
725
+ }
726
+ ],
727
+ "stateMutability": "view",
728
+ "type": "function"
729
+ },
730
+ {
731
+ "inputs": [
732
+ {
733
+ "internalType": "address",
734
+ "name": "distributor",
735
+ "type": "address"
736
+ },
737
+ {
738
+ "internalType": "DistributorType",
739
+ "name": "distributorType",
740
+ "type": "bytes8"
741
+ },
742
+ {
743
+ "internalType": "bytes",
744
+ "name": "data",
745
+ "type": "bytes"
746
+ }
747
+ ],
748
+ "name": "createDistributor",
749
+ "outputs": [
750
+ {
751
+ "internalType": "NftId",
752
+ "name": "distributorNftId",
753
+ "type": "uint96"
754
+ }
755
+ ],
756
+ "stateMutability": "nonpayable",
757
+ "type": "function"
758
+ },
759
+ {
760
+ "inputs": [
761
+ {
762
+ "internalType": "string",
763
+ "name": "name",
764
+ "type": "string"
765
+ },
766
+ {
767
+ "internalType": "UFixed",
768
+ "name": "minDiscountPercentage",
769
+ "type": "uint256"
770
+ },
771
+ {
772
+ "internalType": "UFixed",
773
+ "name": "maxDiscountPercentage",
774
+ "type": "uint256"
775
+ },
776
+ {
777
+ "internalType": "UFixed",
778
+ "name": "commissionPercentage",
779
+ "type": "uint256"
780
+ },
781
+ {
782
+ "internalType": "uint32",
783
+ "name": "maxReferralCount",
784
+ "type": "uint32"
785
+ },
786
+ {
787
+ "internalType": "uint32",
788
+ "name": "maxReferralLifetime",
789
+ "type": "uint32"
790
+ },
791
+ {
792
+ "internalType": "bool",
793
+ "name": "allowSelfReferrals",
794
+ "type": "bool"
795
+ },
796
+ {
797
+ "internalType": "bool",
798
+ "name": "allowRenewals",
799
+ "type": "bool"
800
+ },
801
+ {
802
+ "internalType": "bytes",
803
+ "name": "data",
804
+ "type": "bytes"
805
+ }
806
+ ],
807
+ "name": "createDistributorType",
808
+ "outputs": [
809
+ {
810
+ "internalType": "DistributorType",
811
+ "name": "distributorType",
812
+ "type": "bytes8"
813
+ }
814
+ ],
815
+ "stateMutability": "nonpayable",
816
+ "type": "function"
817
+ },
818
+ {
819
+ "inputs": [
820
+ {
821
+ "internalType": "NftId",
822
+ "name": "distributorNftId",
823
+ "type": "uint96"
824
+ },
825
+ {
826
+ "internalType": "string",
827
+ "name": "code",
828
+ "type": "string"
829
+ },
830
+ {
831
+ "internalType": "UFixed",
832
+ "name": "discountPercentage",
833
+ "type": "uint256"
834
+ },
835
+ {
836
+ "internalType": "uint32",
837
+ "name": "maxReferrals",
838
+ "type": "uint32"
839
+ },
840
+ {
841
+ "internalType": "Timestamp",
842
+ "name": "expiryAt",
843
+ "type": "uint40"
844
+ },
845
+ {
846
+ "internalType": "bytes",
847
+ "name": "data",
848
+ "type": "bytes"
849
+ }
850
+ ],
851
+ "name": "createReferral",
852
+ "outputs": [
853
+ {
854
+ "internalType": "ReferralId",
855
+ "name": "referralId",
856
+ "type": "bytes8"
857
+ }
858
+ ],
859
+ "stateMutability": "nonpayable",
860
+ "type": "function"
861
+ },
862
+ {
863
+ "inputs": [],
864
+ "name": "getDomain",
865
+ "outputs": [
866
+ {
867
+ "internalType": "ObjectType",
868
+ "name": "",
869
+ "type": "uint8"
870
+ }
871
+ ],
872
+ "stateMutability": "pure",
873
+ "type": "function"
874
+ },
875
+ {
876
+ "inputs": [],
877
+ "name": "getInitialInfo",
878
+ "outputs": [
879
+ {
880
+ "components": [
881
+ {
882
+ "internalType": "NftId",
883
+ "name": "nftId",
884
+ "type": "uint96"
885
+ },
886
+ {
887
+ "internalType": "NftId",
888
+ "name": "parentNftId",
889
+ "type": "uint96"
890
+ },
891
+ {
892
+ "internalType": "ObjectType",
893
+ "name": "objectType",
894
+ "type": "uint8"
895
+ },
896
+ {
897
+ "internalType": "bool",
898
+ "name": "isInterceptor",
899
+ "type": "bool"
900
+ },
901
+ {
902
+ "internalType": "address",
903
+ "name": "objectAddress",
904
+ "type": "address"
905
+ },
906
+ {
907
+ "internalType": "address",
908
+ "name": "initialOwner",
909
+ "type": "address"
910
+ },
911
+ {
912
+ "internalType": "bytes",
913
+ "name": "data",
914
+ "type": "bytes"
915
+ }
916
+ ],
917
+ "internalType": "struct IRegistry.ObjectInfo",
918
+ "name": "info",
919
+ "type": "tuple"
920
+ }
921
+ ],
922
+ "stateMutability": "view",
923
+ "type": "function"
924
+ },
925
+ {
926
+ "inputs": [],
927
+ "name": "getInstanceService",
928
+ "outputs": [
929
+ {
930
+ "internalType": "contract InstanceService",
931
+ "name": "",
932
+ "type": "address"
933
+ }
934
+ ],
935
+ "stateMutability": "view",
936
+ "type": "function"
937
+ },
938
+ {
939
+ "inputs": [],
306
940
  "name": "getNftId",
307
941
  "outputs": [
308
942
  {
@@ -315,154 +949,295 @@
315
949
  "type": "function"
316
950
  },
317
951
  {
318
- "inputs": [],
319
- "name": "getOwner",
320
- "outputs": [
952
+ "inputs": [],
953
+ "name": "getOwner",
954
+ "outputs": [
955
+ {
956
+ "internalType": "address",
957
+ "name": "",
958
+ "type": "address"
959
+ }
960
+ ],
961
+ "stateMutability": "view",
962
+ "type": "function"
963
+ },
964
+ {
965
+ "inputs": [],
966
+ "name": "getRegistry",
967
+ "outputs": [
968
+ {
969
+ "internalType": "contract IRegistry",
970
+ "name": "",
971
+ "type": "address"
972
+ }
973
+ ],
974
+ "stateMutability": "view",
975
+ "type": "function"
976
+ },
977
+ {
978
+ "inputs": [],
979
+ "name": "getRegistryService",
980
+ "outputs": [
981
+ {
982
+ "internalType": "contract IRegistryService",
983
+ "name": "",
984
+ "type": "address"
985
+ }
986
+ ],
987
+ "stateMutability": "view",
988
+ "type": "function"
989
+ },
990
+ {
991
+ "inputs": [],
992
+ "name": "getVersion",
993
+ "outputs": [
994
+ {
995
+ "internalType": "Version",
996
+ "name": "",
997
+ "type": "uint24"
998
+ }
999
+ ],
1000
+ "stateMutability": "pure",
1001
+ "type": "function"
1002
+ },
1003
+ {
1004
+ "inputs": [],
1005
+ "name": "initializeERC165",
1006
+ "outputs": [],
1007
+ "stateMutability": "nonpayable",
1008
+ "type": "function"
1009
+ },
1010
+ {
1011
+ "inputs": [
321
1012
  {
322
1013
  "internalType": "address",
323
- "name": "",
1014
+ "name": "initialOwner",
1015
+ "type": "address"
1016
+ },
1017
+ {
1018
+ "internalType": "address",
1019
+ "name": "registryAddress",
324
1020
  "type": "address"
325
1021
  }
326
1022
  ],
327
- "stateMutability": "view",
1023
+ "name": "initializeNftOwnable",
1024
+ "outputs": [],
1025
+ "stateMutability": "nonpayable",
328
1026
  "type": "function"
329
1027
  },
330
1028
  {
331
- "inputs": [],
332
- "name": "getRegistry",
333
- "outputs": [
1029
+ "inputs": [
334
1030
  {
335
- "internalType": "contract IRegistry",
336
- "name": "",
1031
+ "internalType": "address",
1032
+ "name": "registryAddress",
1033
+ "type": "address"
1034
+ },
1035
+ {
1036
+ "internalType": "NftId",
1037
+ "name": "parentNftId",
1038
+ "type": "uint96"
1039
+ },
1040
+ {
1041
+ "internalType": "ObjectType",
1042
+ "name": "objectType",
1043
+ "type": "uint8"
1044
+ },
1045
+ {
1046
+ "internalType": "bool",
1047
+ "name": "isInterceptor",
1048
+ "type": "bool"
1049
+ },
1050
+ {
1051
+ "internalType": "address",
1052
+ "name": "initialOwner",
337
1053
  "type": "address"
1054
+ },
1055
+ {
1056
+ "internalType": "bytes",
1057
+ "name": "registryData",
1058
+ "type": "bytes"
338
1059
  }
339
1060
  ],
340
- "stateMutability": "view",
1061
+ "name": "initializeRegisterable",
1062
+ "outputs": [],
1063
+ "stateMutability": "nonpayable",
341
1064
  "type": "function"
342
1065
  },
343
1066
  {
344
- "inputs": [],
345
- "name": "getRegistryService",
346
- "outputs": [
1067
+ "inputs": [
347
1068
  {
348
- "internalType": "contract IRegistryService",
349
- "name": "",
1069
+ "internalType": "address",
1070
+ "name": "registryAddress",
350
1071
  "type": "address"
351
1072
  }
352
1073
  ],
353
- "stateMutability": "view",
1074
+ "name": "initializeRegistryLinked",
1075
+ "outputs": [],
1076
+ "stateMutability": "nonpayable",
354
1077
  "type": "function"
355
1078
  },
356
1079
  {
357
- "inputs": [],
358
- "name": "getVersion",
359
- "outputs": [
1080
+ "inputs": [
360
1081
  {
361
- "internalType": "Version",
362
- "name": "",
363
- "type": "uint24"
1082
+ "internalType": "address",
1083
+ "name": "registry",
1084
+ "type": "address"
1085
+ },
1086
+ {
1087
+ "internalType": "address",
1088
+ "name": "authority",
1089
+ "type": "address"
1090
+ },
1091
+ {
1092
+ "internalType": "address",
1093
+ "name": "initialOwner",
1094
+ "type": "address"
364
1095
  }
365
1096
  ],
366
- "stateMutability": "pure",
1097
+ "name": "initializeService",
1098
+ "outputs": [],
1099
+ "stateMutability": "nonpayable",
367
1100
  "type": "function"
368
1101
  },
369
1102
  {
370
1103
  "inputs": [
371
1104
  {
372
- "internalType": "uint256",
373
- "name": "idx",
374
- "type": "uint256"
375
- }
376
- ],
377
- "name": "getVersion",
378
- "outputs": [
1105
+ "internalType": "address",
1106
+ "name": "activatedBy",
1107
+ "type": "address"
1108
+ },
379
1109
  {
380
- "internalType": "Version",
381
- "name": "",
382
- "type": "uint24"
1110
+ "internalType": "bytes",
1111
+ "name": "data",
1112
+ "type": "bytes"
383
1113
  }
384
1114
  ],
385
- "stateMutability": "view",
1115
+ "name": "initializeVersionable",
1116
+ "outputs": [],
1117
+ "stateMutability": "nonpayable",
386
1118
  "type": "function"
387
1119
  },
388
1120
  {
389
1121
  "inputs": [],
390
- "name": "getVersionCount",
1122
+ "name": "isConsumingScheduledOp",
391
1123
  "outputs": [
392
1124
  {
393
- "internalType": "uint256",
1125
+ "internalType": "bytes4",
394
1126
  "name": "",
395
- "type": "uint256"
1127
+ "type": "bytes4"
396
1128
  }
397
1129
  ],
398
1130
  "stateMutability": "view",
399
1131
  "type": "function"
400
1132
  },
1133
+ {
1134
+ "inputs": [],
1135
+ "name": "linkToRegisteredNftId",
1136
+ "outputs": [],
1137
+ "stateMutability": "nonpayable",
1138
+ "type": "function"
1139
+ },
401
1140
  {
402
1141
  "inputs": [
403
1142
  {
404
- "internalType": "Version",
405
- "name": "_version",
406
- "type": "uint24"
407
- }
408
- ],
409
- "name": "getVersionInfo",
410
- "outputs": [
1143
+ "internalType": "NftId",
1144
+ "name": "distributionNftId",
1145
+ "type": "uint96"
1146
+ },
1147
+ {
1148
+ "internalType": "ReferralId",
1149
+ "name": "referralId",
1150
+ "type": "bytes8"
1151
+ },
411
1152
  {
412
1153
  "components": [
413
1154
  {
414
- "internalType": "Version",
415
- "name": "version",
416
- "type": "uint24"
1155
+ "internalType": "uint256",
1156
+ "name": "netPremiumAmount",
1157
+ "type": "uint256"
417
1158
  },
418
1159
  {
419
- "internalType": "address",
420
- "name": "implementation",
421
- "type": "address"
1160
+ "internalType": "uint256",
1161
+ "name": "fullPremiumAmount",
1162
+ "type": "uint256"
422
1163
  },
423
1164
  {
424
- "internalType": "address",
425
- "name": "activatedBy",
426
- "type": "address"
1165
+ "internalType": "uint256",
1166
+ "name": "premiumAmount",
1167
+ "type": "uint256"
1168
+ },
1169
+ {
1170
+ "internalType": "uint256",
1171
+ "name": "productFeeFixAmount",
1172
+ "type": "uint256"
1173
+ },
1174
+ {
1175
+ "internalType": "uint256",
1176
+ "name": "poolFeeFixAmount",
1177
+ "type": "uint256"
1178
+ },
1179
+ {
1180
+ "internalType": "uint256",
1181
+ "name": "bundleFeeFixAmount",
1182
+ "type": "uint256"
1183
+ },
1184
+ {
1185
+ "internalType": "uint256",
1186
+ "name": "distributionFeeFixAmount",
1187
+ "type": "uint256"
1188
+ },
1189
+ {
1190
+ "internalType": "uint256",
1191
+ "name": "productFeeVarAmount",
1192
+ "type": "uint256"
1193
+ },
1194
+ {
1195
+ "internalType": "uint256",
1196
+ "name": "poolFeeVarAmount",
1197
+ "type": "uint256"
1198
+ },
1199
+ {
1200
+ "internalType": "uint256",
1201
+ "name": "bundleFeeVarAmount",
1202
+ "type": "uint256"
1203
+ },
1204
+ {
1205
+ "internalType": "uint256",
1206
+ "name": "distributionFeeVarAmount",
1207
+ "type": "uint256"
1208
+ },
1209
+ {
1210
+ "internalType": "uint256",
1211
+ "name": "distributionOwnerFeeFixAmount",
1212
+ "type": "uint256"
1213
+ },
1214
+ {
1215
+ "internalType": "uint256",
1216
+ "name": "distributionOwnerFeeVarAmount",
1217
+ "type": "uint256"
427
1218
  },
428
1219
  {
429
- "internalType": "Timestamp",
430
- "name": "activatedAt",
431
- "type": "uint40"
1220
+ "internalType": "uint256",
1221
+ "name": "commissionAmount",
1222
+ "type": "uint256"
432
1223
  },
433
1224
  {
434
- "internalType": "Blocknumber",
435
- "name": "activatedIn",
436
- "type": "uint32"
1225
+ "internalType": "uint256",
1226
+ "name": "discountAmount",
1227
+ "type": "uint256"
437
1228
  }
438
1229
  ],
439
- "internalType": "struct IVersionable.VersionInfo",
440
- "name": "",
1230
+ "internalType": "struct IPolicy.Premium",
1231
+ "name": "premium",
441
1232
  "type": "tuple"
442
- }
443
- ],
444
- "stateMutability": "view",
445
- "type": "function"
446
- },
447
- {
448
- "inputs": [
449
- {
450
- "internalType": "address",
451
- "name": "implementation",
452
- "type": "address"
453
- },
454
- {
455
- "internalType": "address",
456
- "name": "activatedBy",
457
- "type": "address"
458
1233
  },
459
1234
  {
460
- "internalType": "bytes",
461
- "name": "data",
462
- "type": "bytes"
1235
+ "internalType": "Amount",
1236
+ "name": "transferredDistributionFeeAmount",
1237
+ "type": "uint96"
463
1238
  }
464
1239
  ],
465
- "name": "initialize",
1240
+ "name": "processSale",
466
1241
  "outputs": [],
467
1242
  "stateMutability": "nonpayable",
468
1243
  "type": "function"
@@ -470,29 +1245,27 @@
470
1245
  {
471
1246
  "inputs": [
472
1247
  {
473
- "internalType": "Version",
474
- "name": "_version",
475
- "type": "uint24"
1248
+ "internalType": "NftId",
1249
+ "name": "distributionNftId",
1250
+ "type": "uint96"
1251
+ },
1252
+ {
1253
+ "internalType": "ReferralId",
1254
+ "name": "referralId",
1255
+ "type": "bytes8"
476
1256
  }
477
1257
  ],
478
- "name": "isInitialized",
1258
+ "name": "referralIsValid",
479
1259
  "outputs": [
480
1260
  {
481
1261
  "internalType": "bool",
482
- "name": "",
1262
+ "name": "isValid",
483
1263
  "type": "bool"
484
1264
  }
485
1265
  ],
486
1266
  "stateMutability": "view",
487
1267
  "type": "function"
488
1268
  },
489
- {
490
- "inputs": [],
491
- "name": "linkToRegisteredNftId",
492
- "outputs": [],
493
- "stateMutability": "nonpayable",
494
- "type": "function"
495
- },
496
1269
  {
497
1270
  "inputs": [
498
1271
  {
@@ -514,6 +1287,49 @@
514
1287
  },
515
1288
  {
516
1289
  "inputs": [
1290
+ {
1291
+ "internalType": "bytes4",
1292
+ "name": "interfaceId",
1293
+ "type": "bytes4"
1294
+ }
1295
+ ],
1296
+ "name": "registerInterface",
1297
+ "outputs": [],
1298
+ "stateMutability": "nonpayable",
1299
+ "type": "function"
1300
+ },
1301
+ {
1302
+ "inputs": [
1303
+ {
1304
+ "internalType": "address",
1305
+ "name": "newAuthority",
1306
+ "type": "address"
1307
+ }
1308
+ ],
1309
+ "name": "setAuthority",
1310
+ "outputs": [],
1311
+ "stateMutability": "nonpayable",
1312
+ "type": "function"
1313
+ },
1314
+ {
1315
+ "inputs": [
1316
+ {
1317
+ "components": [
1318
+ {
1319
+ "internalType": "UFixed",
1320
+ "name": "fractionalFee",
1321
+ "type": "uint256"
1322
+ },
1323
+ {
1324
+ "internalType": "uint256",
1325
+ "name": "fixedFee",
1326
+ "type": "uint256"
1327
+ }
1328
+ ],
1329
+ "internalType": "struct Fee",
1330
+ "name": "minDistributionOwnerFee",
1331
+ "type": "tuple"
1332
+ },
517
1333
  {
518
1334
  "components": [
519
1335
  {
@@ -556,38 +1372,64 @@
556
1372
  "stateMutability": "view",
557
1373
  "type": "function"
558
1374
  },
559
- {
560
- "inputs": [
561
- {
562
- "internalType": "address",
563
- "name": "implementation",
564
- "type": "address"
565
- },
566
- {
567
- "internalType": "address",
568
- "name": "activatedBy",
569
- "type": "address"
570
- },
1375
+ {
1376
+ "inputs": [
571
1377
  {
572
1378
  "internalType": "bytes",
573
1379
  "name": "data",
574
1380
  "type": "bytes"
575
1381
  }
576
1382
  ],
577
- "name": "upgrade",
1383
+ "name": "upgradeVersionable",
578
1384
  "outputs": [],
579
1385
  "stateMutability": "nonpayable",
580
1386
  "type": "function"
581
1387
  }
582
1388
  ],
583
- "bytecode": "0x60806040523480156200001157600080fd5b50620000546301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600280546001600160a01b031916331790556200007062000076565b6200012a565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000c75760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001275780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6128fe806200013a6000396000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c8063644c45e0116100b8578063b68d18091161007c578063b68d1809146103f8578063b88da7591461040d578063caf4e3d414610420578063cc9fc59a14610428578063cde749f414610430578063cf7a1d771461043857600080fd5b8063644c45e01461037e578063893d20e814610396578063946dfcfe1461039e578063a745e3df146103c5578063b3c65015146103d857600080fd5b80633f52c0f6116100ff5780633f52c0f6146101ef5780634420e486146102025780634d459c901461022d5780634f421333146103465780635ab1bd531461035957600080fd5b806301ffc9a71461013c5780630d8e6e2c1461017e5780630fec111c1461019a578063138461e0146101b05780631eff4b22146101ba575b600080fd5b61016961014a366004611f05565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61018661044b565b60405162ffffff9091168152602001610175565b6101a26104d5565b604051610175929190611f86565b6101b8610628565b005b6101e17f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610175565b6101b86101fd3660046120bd565b61084a565b610215610210366004612104565b6109ad565b6040516001600160601b039091168152602001610175565b6102e961023b366004612132565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526000805160206128a983398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610175565b610169610354366004612132565b610c8c565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610175565b600154600160a01b90046001600160601b0316610215565b610366610d3f565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546101e1565b6101b86103d3366004612176565b610e58565b6103e0610fb2565b6040516001600160401b039091168152602001610175565b60785b60405160ff9091168152602001610175565b61018661041b36600461221a565b610fd3565b610366611024565b6103666110c1565b6103fb6110eb565b6101b8610446366004612176565b61116e565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156104ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d09190612233565b905090565b6104dd611e6b565b606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806105296001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610571610d3f565b6001600160a01b0316815260200182600101805461058e90612250565b80601f01602080910402602001604051908101604052809291908181526020018280546105ba90612250565b80156106075780601f106105dc57610100808354040283529160200191610607565b820191906000526020600020905b8154815290600101906020018083116105ea57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561068a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ae919061229f565b156106f5576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b031661071e5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610767573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078b919061229f565b6107b3576040516372657a5160e01b81526001600160a01b03821660048201526024016106ec565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa1580156107fd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061082191906122d1565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b6000806108576078611277565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561089b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108bf91906122ec565b8351604051639ad69c6760e01b81526001600160601b0382166004820152919250906000906001600160a01b03841690639ad69c679060240160c060405180830381865afa158015610915573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109399190612314565b60408181018890525163bd5947e360e01b81529091506001600160a01b0385169063bd5947e390610973908590859060ff9060040161241e565b600060405180830381600087803b15801561098d57600080fd5b505af11580156109a1573d6000803e3d6000fd5b50505050505050505050565b600033826109b9611e6b565b60606109c3611024565b604051638fbc2d8160e01b81526001600160a01b03858116600483015286811660248301529190911690638fbc2d81906044016000604051808303816000875af1158015610a15573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a3d9190810190612564565b60208201519193509150600090610a53906114ee565b90506000610a5f6110c1565b90506000816001600160a01b031663103bd5da88610a7b611585565b6040516001600160e01b031960e085901b1681526001600160a01b0392831660048201526001600160401b0390911660248201529086166044820152606401602060405180830381865afa158015610ad7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610afb919061229f565b905080610b3e57610b0a611585565b6040516351302f8160e01b81526001600160401b0390911660048201526001600160a01b03881660248201526044016106ec565b845197506000610b4d856115fc565b604051630b24cf5f60e01b81529091506001600160a01b03851690630b24cf5f90610b7e908c9085906004016125c7565b600060405180830381600087803b158015610b9857600080fd5b505af1158015610bac573d6000803e3d6000fd5b50505050826001600160a01b03166386ebbf42610bc888611618565b8c8a6001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015610c07573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c2f91908101906125e4565b6040518463ffffffff1660e01b8152600401610c4d93929190612634565b600060405180830381600087803b158015610c6757600080fd5b505af1158015610c7b573d6000803e3d6000fd5b505050505050505050505050919050565b6000806000805160206128a983398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610d14573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d389190612667565b1192915050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610da4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc8919061229f565b15610e4857600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610e24573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d091906122ec565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610e7a61044b565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610eba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ede9190612695565b6000805160206128898339815191528054600160401b900460ff1680610f11575080546001600160401b03808416911610155b15610f2f5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610f5a85856116b7565b610f6383611956565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006104d0600080516020612889833981519152546001600160401b031690565b60006000805160206128a98339815191526001018281548110610ff857610ff86126b2565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000806110396001546001600160a01b031690565b6001600160a01b031663d39e604360285b6110526110eb565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611097573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110bb91906122ec565b92915050565b6000806110d66001546001600160a01b031690565b6001600160a01b031663d39e6043604661104a565b60006110f561044b565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801561114a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d091906126c8565b6000805160206128898339815191528054600160401b810460ff1615906001600160401b03166000811580156111a15750825b90506000826001600160401b031660011480156111bd5750303b155b9050811580156111cb575080155b156111e95760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561121357845460ff60401b1916600160401b1785555b61121d88886116b7565b611227878761195e565b831561126d57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b61127f611e6b565b6000806112946001546001600160a01b031690565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa1580156112db573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261130391908101906126e5565b925061131983604001518560ff90811691161490565b61135b5760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b60448201526064016106ec565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa1580156113b1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113d991908101906126e5565b6080015190508092506000836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015611422573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061144691906122ec565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa158015611493573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114b7919061229f565b156114e657608085015160405163d53987e560e01b81526001600160a01b0390911660048201526024016106ec565b505050915091565b6000806115036001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611552573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261157a91908101906126e5565b608001519392505050565b6040516368aebf7b60e01b81526064600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af41580156115d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d09190612695565b611604611ea9565b818060200190518101906110bb9190612314565b60008061162d6001546001600160a01b031690565b60208401516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611686573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116ae91908101906126e5565b51949350505050565b6116bf611a89565b6000805160206128a983398151915260006116ef600080516020612889833981519152546001600160401b031690565b905060006116fb61044b565b9050816001600160401b03166001036117285760028301805462ffffff191662ffffff8316179055611776565b600283015462ffffff908116908216116117765760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b60448201526064016106ec565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af415801561182a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061184e9190612719565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf6890610fa39083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b610137611a89565b6000805160206128898339815191528054600160401b810460ff1615906001600160401b03166000811580156119915750825b90506000826001600160401b031660011480156119ad5750303b155b9050811580156119bb575080155b156119d95760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611a0357845460ff60401b1916600160401b1785555b60008087806020019051810190611a1a9190612740565b92509050611a28818a611ac2565b611a38631fa9607b60e11b611b2d565b50508315611a8057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b60008051602061288983398151915254600160401b900460ff16611ac057604051631afcd79f60e31b815260040160405180910390fd5b565b60006078611ace6110eb565b6040805160ff9384166020820152929091169082015260600160405160208183030381529060405290506000611b0384611b52565b90506000611b168583603c848888611bbd565b611b26637b6a51fd60e01b611b2d565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015611b99573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110bb91906122d1565b611bfe6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b611c088287611c89565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101611c7883826127c9565b50611a806303fb044760e21b611b2d565b6001600160a01b038216611cdf5760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e65722069732030000060448201526064016106ec565b600280546001600160a01b0319166001600160a01b038416179055611d0381611d07565b5050565b6001546001600160a01b031615611d405760015460405163fcdbf2d960e01b81526001600160a01b0390911660048201526024016106ec565b6001600160a01b038116611d675760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003611d9d5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106ec565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263102da10360e01b60048201526301ffc9a790602401602060405180830381865afa925050508015611e17575060408051601f3d908101601f19168201909252611e149181019061229f565b60015b611e3f5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106ec565b80611d035760405163fdeac91f60e01b81526001600160a01b03831660048201526024016106ec565b50565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b03168152602001611ef1604051806040016040528060008152602001600081525090565b815260006020820181905260409091015290565b600060208284031215611f1757600080fd5b81356001600160e01b031981168114611f2f57600080fd5b9392505050565b60005b83811015611f51578181015183820152602001611f39565b50506000910152565b60008151808452611f72816020860160208601611f36565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff60408501511660808301526060840151611fca60a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152612010610120840182611f5a565b905082810360208401526120248185611f5a565b95945050505050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b03811182821017156120655761206561202d565b60405290565b60405160e081016001600160401b03811182821017156120655761206561202d565b604051601f8201601f191681016001600160401b03811182821017156120b5576120b561202d565b604052919050565b6000604082840312156120cf57600080fd5b6120d7612043565b82358152602083013560208201528091505092915050565b6001600160a01b0381168114611e6857600080fd5b60006020828403121561211657600080fd5b8135611f2f816120ef565b62ffffff81168114611e6857600080fd5b60006020828403121561214457600080fd5b8135611f2f81612121565b60006001600160401b038211156121685761216861202d565b50601f01601f191660200190565b60008060006060848603121561218b57600080fd5b8335612196816120ef565b925060208401356121a6816120ef565b915060408401356001600160401b038111156121c157600080fd5b8401601f810186136121d257600080fd5b80356121e56121e08261214f565b61208d565b8181528760208385010111156121fa57600080fd5b816020840160208301376000602083830101528093505050509250925092565b60006020828403121561222c57600080fd5b5035919050565b60006020828403121561224557600080fd5b8151611f2f81612121565b600181811c9082168061226457607f821691505b60208210810361228457634e487b7160e01b600052602260045260246000fd5b50919050565b8051801515811461229a57600080fd5b919050565b6000602082840312156122b157600080fd5b611f2f8261228a565b80516001600160601b038116811461229a57600080fd5b6000602082840312156122e357600080fd5b611f2f826122ba565b6000602082840312156122fe57600080fd5b8151611f2f816120ef565b805161229a816120ef565b600081830360c081121561232757600080fd5b60405160a081018181106001600160401b03821117156123495761234961202d565b604052612355846122ba565b81526020840151612365816120ef565b60208201526040603f198301121561237c57600080fd5b612384612043565b915060408401518252606084015160208301528160408201526123a96080850161228a565b60608201526123ba60a08501612309565b6080820152949350505050565b6001600160601b038151168252602081015160018060a01b0380821660208501526040830151915081516040850152602082015160608501526060830151151560808501528060808401511660a085015250505050565b6001600160601b0384168152610100810161243c60208301856123c7565b60ff831660e0830152949350505050565b60ff81168114611e6857600080fd5b805161229a8161244d565b60006124756121e08461214f565b905082815283838301111561248957600080fd5b611f2f836020830184611f36565b600082601f8301126124a857600080fd5b611f2f83835160208501612467565b600060e082840312156124c957600080fd5b6124d161206b565b90506124dc826122ba565b81526124ea602083016122ba565b60208201526124fb6040830161245c565b604082015261250c6060830161228a565b606082015261251d60808301612309565b608082015261252e60a08301612309565b60a082015260c08201516001600160401b0381111561254c57600080fd5b61255884828501612497565b60c08301525092915050565b6000806040838503121561257757600080fd5b82516001600160401b038082111561258e57600080fd5b61259a868387016124b7565b935060208501519150808211156125b057600080fd5b506125bd85828601612497565b9150509250929050565b6001600160601b038316815260e08101611f2f60208301846123c7565b6000602082840312156125f657600080fd5b81516001600160401b0381111561260c57600080fd5b8201601f8101841361261d57600080fd5b61262c84825160208401612467565b949350505050565b6001600160601b03841681526001600160a01b038316602082015260606040820181905260009061202490830184611f5a565b60006020828403121561267957600080fd5b5051919050565b6001600160401b0381168114611e6857600080fd5b6000602082840312156126a757600080fd5b8151611f2f81612680565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156126da57600080fd5b8151611f2f8161244d565b6000602082840312156126f757600080fd5b81516001600160401b0381111561270d57600080fd5b61262c848285016124b7565b60006020828403121561272b57600080fd5b815164ffffffffff81168114611f2f57600080fd5b6000806040838503121561275357600080fd5b825161275e816120ef565b602084015190925061276f816120ef565b809150509250929050565b601f8211156127c457600081815260208120601f850160051c810160208610156127a15750805b601f850160051c820191505b818110156127c0578281556001016127ad565b5050505b505050565b81516001600160401b038111156127e2576127e261202d565b6127f6816127f08454612250565b8461277a565b602080601f83116001811461282b57600084156128135750858301515b600019600386901b1c1916600185901b1785556127c0565b600085815260208120601f198616915b8281101561285a5788860151825594840194600190910190840161283b565b50858210156128785787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220f21a784dafbddeb9020ca33ecdb206419dfe97caee99d95e07c20b1efbdd249c64736f6c63430008140033",
584
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101375760003560e01c8063644c45e0116100b8578063b68d18091161007c578063b68d1809146103f8578063b88da7591461040d578063caf4e3d414610420578063cc9fc59a14610428578063cde749f414610430578063cf7a1d771461043857600080fd5b8063644c45e01461037e578063893d20e814610396578063946dfcfe1461039e578063a745e3df146103c5578063b3c65015146103d857600080fd5b80633f52c0f6116100ff5780633f52c0f6146101ef5780634420e486146102025780634d459c901461022d5780634f421333146103465780635ab1bd531461035957600080fd5b806301ffc9a71461013c5780630d8e6e2c1461017e5780630fec111c1461019a578063138461e0146101b05780631eff4b22146101ba575b600080fd5b61016961014a366004611f05565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61018661044b565b60405162ffffff9091168152602001610175565b6101a26104d5565b604051610175929190611f86565b6101b8610628565b005b6101e17f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610175565b6101b86101fd3660046120bd565b61084a565b610215610210366004612104565b6109ad565b6040516001600160601b039091168152602001610175565b6102e961023b366004612132565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526000805160206128a983398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610175565b610169610354366004612132565b610c8c565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610175565b600154600160a01b90046001600160601b0316610215565b610366610d3f565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546101e1565b6101b86103d3366004612176565b610e58565b6103e0610fb2565b6040516001600160401b039091168152602001610175565b60785b60405160ff9091168152602001610175565b61018661041b36600461221a565b610fd3565b610366611024565b6103666110c1565b6103fb6110eb565b6101b8610446366004612176565b61116e565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156104ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d09190612233565b905090565b6104dd611e6b565b606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806105296001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610571610d3f565b6001600160a01b0316815260200182600101805461058e90612250565b80601f01602080910402602001604051908101604052809291908181526020018280546105ba90612250565b80156106075780601f106105dc57610100808354040283529160200191610607565b820191906000526020600020905b8154815290600101906020018083116105ea57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561068a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ae919061229f565b156106f5576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b031661071e5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610767573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078b919061229f565b6107b3576040516372657a5160e01b81526001600160a01b03821660048201526024016106ec565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa1580156107fd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061082191906122d1565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b6000806108576078611277565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561089b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108bf91906122ec565b8351604051639ad69c6760e01b81526001600160601b0382166004820152919250906000906001600160a01b03841690639ad69c679060240160c060405180830381865afa158015610915573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109399190612314565b60408181018890525163bd5947e360e01b81529091506001600160a01b0385169063bd5947e390610973908590859060ff9060040161241e565b600060405180830381600087803b15801561098d57600080fd5b505af11580156109a1573d6000803e3d6000fd5b50505050505050505050565b600033826109b9611e6b565b60606109c3611024565b604051638fbc2d8160e01b81526001600160a01b03858116600483015286811660248301529190911690638fbc2d81906044016000604051808303816000875af1158015610a15573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a3d9190810190612564565b60208201519193509150600090610a53906114ee565b90506000610a5f6110c1565b90506000816001600160a01b031663103bd5da88610a7b611585565b6040516001600160e01b031960e085901b1681526001600160a01b0392831660048201526001600160401b0390911660248201529086166044820152606401602060405180830381865afa158015610ad7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610afb919061229f565b905080610b3e57610b0a611585565b6040516351302f8160e01b81526001600160401b0390911660048201526001600160a01b03881660248201526044016106ec565b845197506000610b4d856115fc565b604051630b24cf5f60e01b81529091506001600160a01b03851690630b24cf5f90610b7e908c9085906004016125c7565b600060405180830381600087803b158015610b9857600080fd5b505af1158015610bac573d6000803e3d6000fd5b50505050826001600160a01b03166386ebbf42610bc888611618565b8c8a6001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015610c07573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c2f91908101906125e4565b6040518463ffffffff1660e01b8152600401610c4d93929190612634565b600060405180830381600087803b158015610c6757600080fd5b505af1158015610c7b573d6000803e3d6000fd5b505050505050505050505050919050565b6000806000805160206128a983398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610d14573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d389190612667565b1192915050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610da4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc8919061229f565b15610e4857600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610e24573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d091906122ec565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610e7a61044b565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610eba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ede9190612695565b6000805160206128898339815191528054600160401b900460ff1680610f11575080546001600160401b03808416911610155b15610f2f5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610f5a85856116b7565b610f6383611956565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006104d0600080516020612889833981519152546001600160401b031690565b60006000805160206128a98339815191526001018281548110610ff857610ff86126b2565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000806110396001546001600160a01b031690565b6001600160a01b031663d39e604360285b6110526110eb565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611097573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110bb91906122ec565b92915050565b6000806110d66001546001600160a01b031690565b6001600160a01b031663d39e6043604661104a565b60006110f561044b565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801561114a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d091906126c8565b6000805160206128898339815191528054600160401b810460ff1615906001600160401b03166000811580156111a15750825b90506000826001600160401b031660011480156111bd5750303b155b9050811580156111cb575080155b156111e95760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561121357845460ff60401b1916600160401b1785555b61121d88886116b7565b611227878761195e565b831561126d57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b61127f611e6b565b6000806112946001546001600160a01b031690565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa1580156112db573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261130391908101906126e5565b925061131983604001518560ff90811691161490565b61135b5760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b60448201526064016106ec565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa1580156113b1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113d991908101906126e5565b6080015190508092506000836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015611422573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061144691906122ec565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa158015611493573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114b7919061229f565b156114e657608085015160405163d53987e560e01b81526001600160a01b0390911660048201526024016106ec565b505050915091565b6000806115036001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611552573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261157a91908101906126e5565b608001519392505050565b6040516368aebf7b60e01b81526064600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af41580156115d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d09190612695565b611604611ea9565b818060200190518101906110bb9190612314565b60008061162d6001546001600160a01b031690565b60208401516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611686573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116ae91908101906126e5565b51949350505050565b6116bf611a89565b6000805160206128a983398151915260006116ef600080516020612889833981519152546001600160401b031690565b905060006116fb61044b565b9050816001600160401b03166001036117285760028301805462ffffff191662ffffff8316179055611776565b600283015462ffffff908116908216116117765760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b60448201526064016106ec565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af415801561182a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061184e9190612719565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf6890610fa39083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b610137611a89565b6000805160206128898339815191528054600160401b810460ff1615906001600160401b03166000811580156119915750825b90506000826001600160401b031660011480156119ad5750303b155b9050811580156119bb575080155b156119d95760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611a0357845460ff60401b1916600160401b1785555b60008087806020019051810190611a1a9190612740565b92509050611a28818a611ac2565b611a38631fa9607b60e11b611b2d565b50508315611a8057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b60008051602061288983398151915254600160401b900460ff16611ac057604051631afcd79f60e31b815260040160405180910390fd5b565b60006078611ace6110eb565b6040805160ff9384166020820152929091169082015260600160405160208183030381529060405290506000611b0384611b52565b90506000611b168583603c848888611bbd565b611b26637b6a51fd60e01b611b2d565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015611b99573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110bb91906122d1565b611bfe6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b611c088287611c89565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101611c7883826127c9565b50611a806303fb044760e21b611b2d565b6001600160a01b038216611cdf5760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e65722069732030000060448201526064016106ec565b600280546001600160a01b0319166001600160a01b038416179055611d0381611d07565b5050565b6001546001600160a01b031615611d405760015460405163fcdbf2d960e01b81526001600160a01b0390911660048201526024016106ec565b6001600160a01b038116611d675760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003611d9d5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106ec565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263102da10360e01b60048201526301ffc9a790602401602060405180830381865afa925050508015611e17575060408051601f3d908101601f19168201909252611e149181019061229f565b60015b611e3f5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106ec565b80611d035760405163fdeac91f60e01b81526001600160a01b03831660048201526024016106ec565b50565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b03168152602001611ef1604051806040016040528060008152602001600081525090565b815260006020820181905260409091015290565b600060208284031215611f1757600080fd5b81356001600160e01b031981168114611f2f57600080fd5b9392505050565b60005b83811015611f51578181015183820152602001611f39565b50506000910152565b60008151808452611f72816020860160208601611f36565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff60408501511660808301526060840151611fca60a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152612010610120840182611f5a565b905082810360208401526120248185611f5a565b95945050505050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b03811182821017156120655761206561202d565b60405290565b60405160e081016001600160401b03811182821017156120655761206561202d565b604051601f8201601f191681016001600160401b03811182821017156120b5576120b561202d565b604052919050565b6000604082840312156120cf57600080fd5b6120d7612043565b82358152602083013560208201528091505092915050565b6001600160a01b0381168114611e6857600080fd5b60006020828403121561211657600080fd5b8135611f2f816120ef565b62ffffff81168114611e6857600080fd5b60006020828403121561214457600080fd5b8135611f2f81612121565b60006001600160401b038211156121685761216861202d565b50601f01601f191660200190565b60008060006060848603121561218b57600080fd5b8335612196816120ef565b925060208401356121a6816120ef565b915060408401356001600160401b038111156121c157600080fd5b8401601f810186136121d257600080fd5b80356121e56121e08261214f565b61208d565b8181528760208385010111156121fa57600080fd5b816020840160208301376000602083830101528093505050509250925092565b60006020828403121561222c57600080fd5b5035919050565b60006020828403121561224557600080fd5b8151611f2f81612121565b600181811c9082168061226457607f821691505b60208210810361228457634e487b7160e01b600052602260045260246000fd5b50919050565b8051801515811461229a57600080fd5b919050565b6000602082840312156122b157600080fd5b611f2f8261228a565b80516001600160601b038116811461229a57600080fd5b6000602082840312156122e357600080fd5b611f2f826122ba565b6000602082840312156122fe57600080fd5b8151611f2f816120ef565b805161229a816120ef565b600081830360c081121561232757600080fd5b60405160a081018181106001600160401b03821117156123495761234961202d565b604052612355846122ba565b81526020840151612365816120ef565b60208201526040603f198301121561237c57600080fd5b612384612043565b915060408401518252606084015160208301528160408201526123a96080850161228a565b60608201526123ba60a08501612309565b6080820152949350505050565b6001600160601b038151168252602081015160018060a01b0380821660208501526040830151915081516040850152602082015160608501526060830151151560808501528060808401511660a085015250505050565b6001600160601b0384168152610100810161243c60208301856123c7565b60ff831660e0830152949350505050565b60ff81168114611e6857600080fd5b805161229a8161244d565b60006124756121e08461214f565b905082815283838301111561248957600080fd5b611f2f836020830184611f36565b600082601f8301126124a857600080fd5b611f2f83835160208501612467565b600060e082840312156124c957600080fd5b6124d161206b565b90506124dc826122ba565b81526124ea602083016122ba565b60208201526124fb6040830161245c565b604082015261250c6060830161228a565b606082015261251d60808301612309565b608082015261252e60a08301612309565b60a082015260c08201516001600160401b0381111561254c57600080fd5b61255884828501612497565b60c08301525092915050565b6000806040838503121561257757600080fd5b82516001600160401b038082111561258e57600080fd5b61259a868387016124b7565b935060208501519150808211156125b057600080fd5b506125bd85828601612497565b9150509250929050565b6001600160601b038316815260e08101611f2f60208301846123c7565b6000602082840312156125f657600080fd5b81516001600160401b0381111561260c57600080fd5b8201601f8101841361261d57600080fd5b61262c84825160208401612467565b949350505050565b6001600160601b03841681526001600160a01b038316602082015260606040820181905260009061202490830184611f5a565b60006020828403121561267957600080fd5b5051919050565b6001600160401b0381168114611e6857600080fd5b6000602082840312156126a757600080fd5b8151611f2f81612680565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156126da57600080fd5b8151611f2f8161244d565b6000602082840312156126f757600080fd5b81516001600160401b0381111561270d57600080fd5b61262c848285016124b7565b60006020828403121561272b57600080fd5b815164ffffffffff81168114611f2f57600080fd5b6000806040838503121561275357600080fd5b825161275e816120ef565b602084015190925061276f816120ef565b809150509250929050565b601f8211156127c457600081815260208120601f850160051c810160208610156127a15750805b601f850160051c820191505b818110156127c0578281556001016127ad565b5050505b505050565b81516001600160401b038111156127e2576127e261202d565b6127f6816127f08454612250565b8461277a565b602080601f83116001811461282b57600084156128135750858301515b600019600386901b1c1916600185901b1785556127c0565b600085815260208120601f198616915b8281101561285a5788860151825594840194600190910190840161283b565b50858210156128785787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220f21a784dafbddeb9020ca33ecdb206419dfe97caee99d95e07c20b1efbdd249c64736f6c63430008140033",
1389
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b615fac80620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c80635dcb3bae1161010f57806392e5fab6116100a2578063bf7e214f11610071578063bf7e214f1461051f578063caf4e3d41461053d578063cc9fc59a14610545578063f7c34ee01461054d57600080fd5b806392e5fab6146104d5578063ada9652e146104e8578063b68d1809146104fd578063b6b412ba1461050c57600080fd5b8063893d20e8116100de578063893d20e8146104865780638dd2b7811461048e5780638e32e979146104a15780638fb36037146104b457600080fd5b80635dcb3bae1461042f578063644c45e014610442578063675393bf146104605780637a9e5e4b1461047357600080fd5b806325d073841161018757806336fc697e1161015657806336fc697e146103c45780634420e486146103cc57806349bb9e4b146103f75780635ab1bd531461040a57600080fd5b806325d073841461036b57806327bb7a331461037e5780632b5198b114610391578063329d6e74146103b157600080fd5b8063138461e0116101c3578063138461e01461025d5780631eff4b2214610267578063214cdb801461029c578063219a3195146102af57600080fd5b806301ffc9a7146101ea5780630d8e6e2c1461022c5780630fec111c14610248575b600080fd5b6102176101f8366004614a4d565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610234610560565b60405162ffffff9091168152602001610223565b6102506105ea565b6040516102239190614ac7565b610265610741565b005b61028e7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b6102656102aa366004614a4d565b610948565b6102c26102bd366004614d36565b610975565b6040516102239190815181526020808301519082015260408083015190820152606080830151908201526080808301519082015260a0808301519082015260c0808301519082015260e08083015190820152610100808301519082015261012080830151908201526101408083015190820152610160808301519082015261018080830151908201526101a080830151908201526101c091820151918101919091526101e00190565b610217610379366004614d7f565b61119d565b61026561038c366004614e77565b6114d0565b6103a461039f366004614f21565b611575565b6040516102239190614fed565b6102656103bf366004615002565b611a3e565b610265611b8b565b6103df6103da366004615036565b611bd1565b6040516001600160601b039091168152602001610223565b610265610405366004615053565b61206d565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b6103df61043d3660046150a2565b61216c565b600080516020615f17833981519152546001600160601b03166103df565b61026561046e366004615036565b612388565b610265610481366004615036565b612496565b610417612530565b6103a461049c366004615116565b612667565b6102656104af3660046151b0565b612e67565b6104bc6130a0565b6040516001600160e01b03199091168152602001610223565b6102656104e33660046151fb565b6130d8565b61028e600080516020615f1783398151915281565b60405160788152602001610223565b61026561051a366004615288565b613820565b600080516020615f37833981519152546001600160a01b0316610417565b610417613aa6565b610417613ab2565b61026561055b3660046152bd565b613abe565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156105c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e591906152eb565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526040805160e081019091527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300908060006001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161069d612530565b6001600160a01b031681526020018260010180546106ba90615310565b80601f01602080910402602001604051908101604052809291908181526020018280546106e690615310565b80156107335780601f1061070857610100808354040283529160200191610733565b820191906000526020600020905b81548152906001019060200180831161071657829003601f168201915b505050505081525091505090565b6000600080516020615f1783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156107b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107d49190615355565b156108055780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306108186001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610860573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108849190615355565b6108ac5760405163b9304b0d60e01b81526001600160a01b03821660048201526024016107fc565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610900573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610924919061537d565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b610950613b35565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6109ee604051806101e001604052806000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b60006109f985613b6e565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a3b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a5f919061539a565b604051639ad69c6760e01b81526001600160601b03881660048201529091506000906001600160a01b03831690639ad69c679060240161010060405180830381865afa158015610ab3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad791906153f2565b6060810151604080830151885191516322f5db0f60e11b81529394509192600091610b719173__$5ac3274b8cf1e01ea223bf093142af05b0$__916345ebb61e91610b29919060040190815260200190565b602060405180830381865af4158015610b46573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b6a9190615493565b8451613c97565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610bc2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610be69190615493565b61014089018190526020890180519192508291610c049083906154c2565b905250610c118a8a61119d565b610c435750505060c0850151610160860152505050610140820151610180830152506020810151604082015280611196565b604051631d3be47760e01b81526000906001600160a01b03871690631d3be47790610c72908d90600401614fed565b600060405180830381865afa158015610c8f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610cb79190810190615530565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b0388169063d06458c69082906327b1d79290602401600060405180830381865afa158015610d15573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d3d919081019061560e565b516040516001600160e01b031960e084901b168152610d5f9190600401614fed565b600060405180830381865afa158015610d7c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610da491908101906156cd565b8a516040516322f5db0f60e11b8152600481019190915290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af4158015610dfd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e219190615493565b60608301516040516332292b2760e21b815273__$5ac3274b8cf1e01ea223bf093142af05b0$__9263c8a4ac9c92610e6492600401918252602082015260400190565b602060405180830381865af4158015610e81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea59190615493565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610ef6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1a9190615493565b6101a08c0181905260208c01516040516322f5db0f60e11b815291925073__$5ac3274b8cf1e01ea223bf093142af05b0$__916345ebb61e91610f639160040190815260200190565b602060405180830381865af4158015610f80573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa49190615493565b60408085015190516332292b2760e21b815273__$5ac3274b8cf1e01ea223bf093142af05b0$__9263c8a4ac9c92610fe792600401918252602082015260400190565b602060405180830381865af4158015611004573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110289190615493565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015611079573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061109d9190615493565b6101c08c0181905260208601516101608d01526110ba82866157c4565b6110c491906157c4565b6101808c01526101c08b015160208c01516110df91906157c4565b60408c0152505050602082015161016089015110806111285750876101a00151886101800151896101c0015161111591906154c2565b61111f91906154c2565b88610140015114155b1561118c5760c08801516101408901516101608a01516101808b01516101a08c01516101c08d015160405163a4d2313f60e01b81526004810196909652602486019490945260448501929092526064840152608483015260a482015260c4016107fc565b8796505050505050505b9392505050565b6000806111a984613b6e565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061120f919061539a565b6001600160a01b0316631d3be477856040518263ffffffff1660e01b815260040161123a9190614fed565b600060405180830381865afa158015611257573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261127f9190810190615530565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af41580156112dd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113019190615355565b15611311576000925050506114ca565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af415801561136d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113919190615355565b806114a3575060a0810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af41580156113f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114179190615355565b80156114a357506114a373__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561146a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061148e91906157d7565b8260a0015164ffffffffff9081169116111590565b92508280156114c55750806060015163ffffffff16816080015163ffffffff16105b925050505b92915050565b6114d8613b35565b6114e28287613abe565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30161156b8382615842565b5050505050505050565b6000806000611582613cac565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115ea919061539a565b604051639ad69c6760e01b81526001600160601b03851660048201526001600160a01b039190911690639ad69c679060240161010060405180830381865afa15801561163a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061165e91906153f2565b60408181015151905163771602f760e01b81526004810191909152602481018c905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063771602f790604401602060405180830381865af41580156116c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116e69190615493565b60608301515160405163b67d77c560e01b815260048101919091526024810182905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063b67d77c590604401602060405180830381865af415801561174a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061176e9190615493565b6040516321e5749b60e01b8152600481018f90526024810182905290915073__$5ac3274b8cf1e01ea223bf093142af05b0$__906321e5749b90604401602060405180830381865af41580156117c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117ec9190615355565b156118fb57604051632255341b60e11b8152600481018e905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015611841573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118659190615493565b604051632255341b60e11b81526004810183905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156118b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118d99190615493565b60405163e2ed03dd60e01b8152600481019290925260248201526044016107fc565b50505073__$5906aa3f06c54ee09b434647963e1d1ed0$__63578c3039838e6040518363ffffffff1660e01b8152600401611937929190615901565b602060405180830381865af4158015611954573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119789190615923565b925060006040518061012001604052808e81526020018d81526020018c81526020018b81526020018a63ffffffff1681526020018963ffffffff16815260200188151581526020018715158152602001868152509050816001600160a01b03166330a130ba85836040518363ffffffff1660e01b81526004016119fc929190615940565b600060405180830381600087803b158015611a1657600080fd5b505af1158015611a2a573d6000803e3d6000fd5b505050505050509998505050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c611a60610560565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611aa0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ac49190615a18565b600080516020615f578339815191528054600160401b900460ff1680611af7575080546001600160401b03808416911610155b15611b155760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155611b3f83613f30565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b611b93613b35565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080808080611bea866078611be5613f38565b613fb0565b93509350935093506000611bfc613aa6565b604051638fbc2d8160e01b81526001600160a01b03878116600483015286811660248301529190911690638fbc2d81906044016000604051808303816000875af1158015611c4e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611c769190810190615a40565b90506000879050806001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611cb857600080fd5b505af1158015611ccc573d6000803e3d6000fd5b5050505081600001519650836001600160a01b0316639e90178c88836001600160a01b031663c200b8096040518163ffffffff1660e01b815260040161010060405180830381865afa158015611d26573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d4a91906153f2565b6040518363ffffffff1660e01b8152600401611d67929190615b4a565b600060405180830381600087803b158015611d8157600080fd5b505af1158015611d95573d6000803e3d6000fd5b506000925060029150611da59050565b604051908082528060200260200182016040528015611dd857816020015b6060815260200190600190039081611dc35790505b50604080516001808252818301909252919250602080830190803683370190505081600081518110611e0c57611e0c615b68565b602090810291909101015260408051600280825260608201909252908160200160208202803683370190505081600181518110611e4b57611e4b615b68565b602002602001018190525063b6b412ba60e01b81600081518110611e7157611e71615b68565b6020026020010151600081518110611e8b57611e8b615b68565b6001600160e01b0319909216602092830291909101909101528051637c07103960e11b9082906001908110611ec257611ec2615b68565b6020026020010151600081518110611edc57611edc615b68565b6001600160e01b0319929092166020928302919091018201526040805160028082526060820183526000939192909183019080368337019050509050611f20613f38565b81600081518110611f3357611f33615b68565b60200260200101906001600160401b031690816001600160401b031681525050611f5b6142a1565b81600181518110611f6e57611f6e615b68565b60200260200101906001600160401b031690816001600160401b031681525050611f96613ab2565b6001600160a01b0316636c6fbb28868c866001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611fe4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261200c9190810190615b7e565b86866040518663ffffffff1660e01b815260040161202e959493929190615bf6565b600060405180830381600087803b15801561204857600080fd5b505af115801561205c573d6000803e3d6000fd5b505050505050505050505050919050565b600080516020615f578339815191528054600160401b810460ff1615906001600160401b03166000811580156120a05750825b90506000826001600160401b031660011480156120bc5750303b155b9050811580156120ca575080155b156120e85760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561211257845460ff60401b1916600160401b1785555b61211c87876142dd565b831561216357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000806000612179613cac565b91509150612185613aa6565b6001600160a01b03166357a8fba76040518060e001604052806121a6600090565b6001600160601b03168152602001856001600160601b031681526020016121cb607a90565b60ff16815260200160011515815260200160006001600160a01b03168152602001896001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b815260040161222a9190614ac7565b6020604051808303816000875af1158015612249573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061226d919061537d565b925060006040518060a00160405280876001600160c01b031916815260200160011515815260200186815260200173__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156122e4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612308919061537d565b6001600160601b031681526000602090910152604051631f32844960e21b81529091506001600160a01b03831690637cca11249061234c9087908590600401615d30565b600060405180830381600087803b15801561236657600080fd5b505af115801561237a573d6000803e3d6000fd5b505050505050509392505050565b612390613b35565b806001600160a01b03163b6000036123c65760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107fc565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015612440575060408051601f3d908101601f1916820190925261243d91810190615355565b60015b6124685760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107fc565b806124915760405163fdeac91f60e01b81526001600160a01b03831660048201526024016107fc565b505b50565b336124b6600080516020615f37833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b0316146124f15760405162d1953b60e31b81526001600160a01b03821660048201526024016107fc565b816001600160a01b03163b600003612527576040516361798f2f60e11b81526001600160a01b03831660048201526024016107fc565b612491826143fd565b600080600080516020615f1783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156125a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125c49190615355565b15612651576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612627573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061264b919061539a565b91505090565b54600160601b90046001600160a01b0316919050565b6000806000612674613cac565b91509150875160000361269c5787604051634fad6a5360e11b81526004016107fc9190615d52565b60405163790a38ad60e01b815264ffffffffff8616600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af41580156126f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127169190615355565b1561273d5760405163df85467b60e01b815264ffffffffff861660048201526024016107fc565b6000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561277d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127a1919061539a565b6040516313d8ebc960e11b81526001600160601b038c1660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa1580156127f4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261281c919081019061560e565b516040516368322c6360e11b81529091506000906001600160a01b0384169063d06458c69061284f908590600401614fed565b600060405180830381865afa15801561286c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261289491908101906156cd565b90508863ffffffff16816080015163ffffffff1610156128d5576080810151604051636fcee12560e01b815263ffffffff90911660048201526024016107fc565b60208101518a10156129f1576020810151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612937573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061295b9190615493565b604051632255341b60e11b8152600481018c905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156129ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129cf9190615493565b6040516338a25a8b60e21b8152600481019290925260248201526044016107fc565b60408101518a1115612b0d576040818101519051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612a53573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a779190615493565b604051632255341b60e11b8152600481018c905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612ac7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612aeb9190615493565b604051631e1ea4f360e31b8152600481019290925260248201526044016107fc565b8060a0015163ffffffff1673__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612b61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b8591906157d7565b604051633682752160e21b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612bdc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c009190615493565b604051633682752160e21b815264ffffffffff8b16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612c56573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c7a9190615493565b612c8491906157c4565b1115612d305760a0810151604051633682752160e21b815264ffffffffff8a16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612ce5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d099190615493565b6040516331fa6ab160e11b815263ffffffff909216600483015260248201526044016107fc565b604051631f849e6b60e11b815273__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd690612d699088908f90600401615901565b602060405180830381865af4158015612d86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612daa9190615923565b6040805160e0810182526001600160601b038f168152602081018e90528082018d905263ffffffff8c1660608201526000608082015264ffffffffff8b1660a082015260c081018a90529051631941cfe160e31b8152919750906001600160a01b0386169063ca0e7f0890612e25908a908590600401615de1565b600060405180830381600087803b158015612e3f57600080fd5b505af1158015612e53573d6000803e3d6000fd5b505050505050505050509695505050505050565b612e6f613b35565b612eef83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612eb1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ed5919061537d565b603c600085604051806020016040528060008152506114d0565b6001600160a01b03821615612f0c57612f078261445e565b61307b565b6000612f206001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015612f80573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fa49190615e06565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612fe9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061300d919061539a565b9050613079816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613050573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613074919061539a565b61445e565b505b61308b634a531f3360e01b610948565b61309b63b68d180960e01b610948565b505050565b600080516020615f37833981519152805460009190600160a01b900460ff166130ca57600061264b565b638fb3603760e01b91505090565b604051637bc32ecf60e01b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90637bc32ecf9061311c906001600160c01b0319881690600401614fed565b602060405180830381865af4158015613139573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061315d9190615355565b159050600061316c868661119d565b9050818015613179575080155b156131b257604051631cf73cd360e21b81526001600160601b03871660048201526001600160c01b0319861660248201526044016107fc565b60006131bd87613b6e565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156131ff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613223919061539a565b90506000816001600160a01b0316631d3be477896040518263ffffffff1660e01b81526004016132539190614fed565b600060405180830381865afa158015613270573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526132989190810190615530565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b038416906327b1d79290602401600060405180830381865afa1580156132ee573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613316919081019061560e565b604051639ad69c6760e01b81526001600160601b038c1660048201529091506000906001600160a01b03851690639ad69c679060240161010060405180830381865afa15801561336a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061338e91906153f2565b9050600073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__634c41dd968b61018001518c61016001516133c291906154c2565b6040518263ffffffff1660e01b81526004016133e091815260200190565b602060405180830381865af41580156133fd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613421919061537d565b9050600073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__634c41dd968c6101a001516040518263ffffffff1660e01b815260040161346391815260200190565b602060405180830381865af4158015613480573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134a4919061537d565b90506134b98a6134b4848461446f565b6144f6565b6134f757896134c8838361446f565b60405160016282bae560e01b031981526001600160601b039283166004820152911660248201526044016107fc565b6040516330b8415f60e01b81526001600160601b038316600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906330b8415f90602401602060405180830381865af415801561354f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135739190615355565b1561366c5760405163046e44af60e11b81526001600160601b038316600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906308dc895e90602401602060405180830381865af41580156135d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135f49190615493565b8360a00181815161360591906154c2565b9052506001600160a01b03871663f7b442d18e8560ff6040518463ffffffff1660e01b815260040161363993929190615e23565b600060405180830381600087803b15801561365357600080fd5b505af1158015613667573d6000803e3d6000fd5b505050505b8815613811576001856080018181516136859190615e53565b63ffffffff169052506040516330882f0760e11b81526001600160a01b038816906361105e0e906136bf908f90899060ff90600401615e77565b600060405180830381600087803b1580156136d957600080fd5b505af11580156136ed573d6000803e3d6000fd5b50506040516330b8415f60e01b81526001600160601b038416600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__92506330b8415f9150602401602060405180830381865af4158015613749573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061376d9190615355565b156138115761378084606001518261446f565b6001600160601b03166060850152608084018051600191906137a3908390615e53565b63ffffffff169052508451604051631e40b36360e01b81526001600160a01b03891691631e40b363916137de9190889060ff90600401615eaf565b600060405180830381600087803b1580156137f857600080fd5b505af115801561380c573d6000803e3d6000fd5b505050505b50505050505050505050505050565b81518151101561393a578151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af415801561387d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138a19190615493565b8151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156138f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139189190615493565b604051631a9c6b0960e01b8152600481019290925260248201526044016107fc565b60008080613948607861457d565b9250925092506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561398e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139b2919061539a565b604051639ad69c6760e01b81526001600160601b03861660048201529091506000906001600160a01b03831690639ad69c679060240161010060405180830381865afa158015613a06573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a2a91906153f2565b6040818101899052606082018890525163f7b442d160e01b81529091506001600160a01b0384169063f7b442d190613a6b908890859060ff90600401615e23565b600060405180830381600087803b158015613a8557600080fd5b505af1158015613a99573d6000803e3d6000fd5b5050505050505050505050565b60006105e560286147b0565b60006105e560466147b0565b613ac6613b35565b613acf81612388565b613ad7611b8b565b6001600160a01b038216613afe5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020615f1783398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020615f5783398151915254600160401b900460ff16613b6c57604051631afcd79f60e31b815260040160405180910390fd5b565b600080613b836001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613bd2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613bfa9190810190615a40565b6020015190506000613c146001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613c63573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613c8b9190810190615a40565b60800151949350505050565b60006111968383670de0b6b3a76400006148bd565b600080613cc16001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa158015613d07573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613d2b919061537d565b604051630a4d29dd60e31b81526001600160601b038216600482015290925073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015613d86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613daa9190615355565b15613dca5760405163752c00fd60e11b81523360048201526024016107fc565b6000613dde6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613e2d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613e559190810190615a40565b9050613e738160400151613e67607890565b60ff9081169116141590565b15613e9357604051637ab07d8760e01b81523360048201526024016107fc565b6000613ea76001546001600160a01b031690565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613efc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613f249190810190615a40565b60800151939492505050565b6101e5613b35565b6040516368aebf7b60e01b81526002600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015613f8c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e59190615a18565b6040516301ffc9a760e01b815263bcb0007960e01b60048201528390339060009081906001600160a01b038516906301ffc9a790602401602060405180830381865afa158015614004573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906140289190615355565b614050576040516359bff0e360e11b81526001600160a01b03881660048201526024016107fc565b6000846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015614090573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526140b89190810190615a40565b90506140cf81604001518860ff9081169116141590565b1561410f576040808201519051634a2e948760e11b81526001600160a01b038a16600482015260ff808a16602483015290911660448201526064016107fc565b60a08101516001600160a01b03858116908216146141615760a0820151604051632b50a20960e21b81526001600160a01b03808c166004830152918216602482015290861660448201526064016107fc565b81602001519250614171836149a7565b9350836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156141b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906141d5919061539a565b6040516368fc2b7760e11b81526001600160401b03891660048201526001600160a01b038781166024830152919091169063d1f856ee90604401602060405180830381865afa15801561422c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906142509190615355565b61429657604051636af540d960e01b81526001600160601b03841660048201526001600160401b03881660248201526001600160a01b03861660448201526064016107fc565b505093509350935093565b6040516368aebf7b60e01b81526108fc600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401613f6f565b600080516020615f578339815191528054600160401b810460ff1615906001600160401b03166000811580156143105750825b90506000826001600160401b0316600114801561432c5750303b155b90508115801561433a575080155b156143585760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561438257845460ff60401b1916600160401b1785555b600080878060200190518101906143999190615ed1565b925090506143a98160008b612e67565b6143b963db53be8360e01b610948565b5050831561216357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200161215a565b600080516020615f3783398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b614466613b35565b61249381614a3c565b60405163274acb3560e01b81526001600160601b0380841660048301528216602482015260009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063274acb3590604401602060405180830381865af41580156144d2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611196919061537d565b60405163c4cade9d60e01b81526001600160601b0380841660048301528216602482015260009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063c4cade9d90604401602060405180830381865af4158015614559573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111969190615355565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201526000806145c96001546001600160a01b031690565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa158015614610573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526146389190810190615a40565b925061464f83604001518660ff9081169116141590565b1561469357608083015160408085015190516304081d4960e41b81526001600160a01b03909216600483015260ff80881660248401521660448201526064016107fc565b826000015193506146a783602001516149a7565b9150816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156146e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061470b919061539a565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015614755573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906147799190615355565b156147a857608083015160405163d53987e560e01b81526001600160a01b0390911660048201526024016107fc565b509193909250565b60006147c46001546001600160a01b031690565b6001600160a01b031663d39e6043836147db610560565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015614830573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906148549190615e06565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015614899573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ca919061539a565b60008080600019858709858702925082811083820303915050806000036148f7578382816148ed576148ed615f00565b0492505050611196565b80841161493e5760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b60448201526064016107fc565b60008486880960026001871981018816978890046003810283188082028403028082028403028082028403028082028403028082028403029081029092039091026000889003889004909101858311909403939093029303949094049190911702949350505050565b60006149bb6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015614a0a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052614a329190810190615a40565b6080015192915050565b614a44613b35565b612493816143fd565b600060208284031215614a5f57600080fd5b81356001600160e01b03198116811461119657600080fd5b60005b83811015614a92578181015183820152602001614a7a565b50506000910152565b60008151808452614ab3816020860160208601614a77565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151614b3060c08401826001600160a01b03169052565b5060c083015160e080840152614b4a610100840182614a9b565b949350505050565b6001600160601b038116811461249357600080fd5b6001600160c01b03198116811461249357600080fd5b634e487b7160e01b600052604160045260246000fd5b6040516101e081016001600160401b0381118282101715614bb657614bb6614b7d565b60405290565b604080519081016001600160401b0381118282101715614bb657614bb6614b7d565b60405160e081016001600160401b0381118282101715614bb657614bb6614b7d565b60405160a081016001600160401b0381118282101715614bb657614bb6614b7d565b60405161012081016001600160401b0381118282101715614bb657614bb6614b7d565b604051601f8201601f191681016001600160401b0381118282101715614c6d57614c6d614b7d565b604052919050565b60006101e08284031215614c8857600080fd5b614c90614b93565b9050813581526020820135602082015260408201356040820152606082013560608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e08201526101008083013581830152506101208083013581830152506101408083013581830152506101608083013581830152506101808083013581830152506101a08083013581830152506101c080830135818301525092915050565b60008060006102208486031215614d4c57600080fd5b8335614d5781614b52565b92506020840135614d6781614b67565b9150614d768560408601614c75565b90509250925092565b60008060408385031215614d9257600080fd5b8235614d9d81614b52565b91506020830135614dad81614b67565b809150509250929050565b6001600160a01b038116811461249357600080fd5b60ff8116811461249357600080fd5b801515811461249357600080fd5b8035614df581614ddc565b919050565b60006001600160401b03821115614e1357614e13614b7d565b50601f01601f191660200190565b600082601f830112614e3257600080fd5b8135614e45614e4082614dfa565b614c45565b818152846020838601011115614e5a57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215614e9057600080fd5b8635614e9b81614db8565b95506020870135614eab81614b52565b94506040870135614ebb81614dcd565b93506060870135614ecb81614ddc565b92506080870135614edb81614db8565b915060a08701356001600160401b03811115614ef657600080fd5b614f0289828a01614e21565b9150509295509295509295565b63ffffffff8116811461249357600080fd5b60008060008060008060008060006101208a8c031215614f4057600080fd5b89356001600160401b0380821115614f5757600080fd5b614f638d838e01614e21565b9a5060208c0135995060408c0135985060608c0135975060808c01359150614f8a82614f0f565b90955060a08b013590614f9c82614f0f565b819550614fab60c08d01614dea565b9450614fb960e08d01614dea565b93506101008c0135915080821115614fd057600080fd5b50614fdd8c828d01614e21565b9150509295985092959850929598565b6001600160c01b031991909116815260200190565b60006020828403121561501457600080fd5b81356001600160401b0381111561502a57600080fd5b614b4a84828501614e21565b60006020828403121561504857600080fd5b813561119681614db8565b6000806040838503121561506657600080fd5b823561507181614db8565b915060208301356001600160401b0381111561508c57600080fd5b61509885828601614e21565b9150509250929050565b6000806000606084860312156150b757600080fd5b83356150c281614db8565b925060208401356150d281614b67565b915060408401356001600160401b038111156150ed57600080fd5b6150f986828701614e21565b9150509250925092565b64ffffffffff8116811461249357600080fd5b60008060008060008060c0878903121561512f57600080fd5b863561513a81614b52565b955060208701356001600160401b038082111561515657600080fd5b6151628a838b01614e21565b9650604089013595506060890135915061517b82614f0f565b90935060808801359061518d82615103565b90925060a088013590808211156151a357600080fd5b50614f0289828a01614e21565b6000806000606084860312156151c557600080fd5b83356151d081614db8565b925060208401356151e081614db8565b915060408401356151f081614db8565b809150509250925092565b600080600080610240858703121561521257600080fd5b843561521d81614b52565b9350602085013561522d81614b67565b925061523c8660408701614c75565b915061022085013561524d81614b52565b939692955090935050565b60006040828403121561526a57600080fd5b615272614bbc565b9050813581526020820135602082015292915050565b6000806080838503121561529b57600080fd5b6152a58484615258565b91506152b48460408501615258565b90509250929050565b600080604083850312156152d057600080fd5b82356152db81614db8565b91506020830135614dad81614db8565b6000602082840312156152fd57600080fd5b815162ffffff8116811461119657600080fd5b600181811c9082168061532457607f821691505b60208210810361534457634e487b7160e01b600052602260045260246000fd5b50919050565b8051614df581614ddc565b60006020828403121561536757600080fd5b815161119681614ddc565b8051614df581614b52565b60006020828403121561538f57600080fd5b815161119681614b52565b6000602082840312156153ac57600080fd5b815161119681614db8565b6000604082840312156153c957600080fd5b6153d1614bbc565b9050815181526020820151602082015292915050565b8051614df581614db8565b6000610100828403121561540557600080fd5b60405160c081018181106001600160401b038211171561542757615427614b7d565b604052825161543581614b52565b8152602083015161544581614db8565b602082015261545784604085016153b7565b604082015261546984608085016153b7565b606082015260c083015161547c81614db8565b608082015260e0929092015160a083015250919050565b6000602082840312156154a557600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156114ca576114ca6154ac565b600082601f8301126154e657600080fd5b81516154f4614e4082614dfa565b81815284602083860101111561550957600080fd5b614b4a826020830160208701614a77565b8051614df581614f0f565b8051614df581615103565b60006020828403121561554257600080fd5b81516001600160401b038082111561555957600080fd5b9083019060e0828603121561556d57600080fd5b615575614bde565b61557e83615372565b815260208301518281111561559257600080fd5b61559e878286016154d5565b602083015250604083015160408201526155ba6060840161551a565b60608201526155cb6080840161551a565b60808201526155dc60a08401615525565b60a082015260c0830151828111156155f357600080fd5b6155ff878286016154d5565b60c08301525095945050505050565b60006020828403121561562057600080fd5b81516001600160401b038082111561563757600080fd5b9083019060a0828603121561564b57600080fd5b615653614c00565b825161565e81614b67565b8152602083015161566e81614ddc565b602082015260408301518281111561568557600080fd5b615691878286016154d5565b604083015250606083015191506156a782614b52565b816060820152608083015192506156bd83614f0f565b6080810192909252509392505050565b6000602082840312156156df57600080fd5b81516001600160401b03808211156156f657600080fd5b90830190610120828603121561570b57600080fd5b615713614c22565b82518281111561572257600080fd5b61572e878286016154d5565b82525060208301516020820152604083015160408201526060830151606082015261575b6080840161551a565b608082015261576c60a0840161551a565b60a082015261577d60c0840161534a565b60c082015261578e60e0840161534a565b60e082015261010080840151838111156157a757600080fd5b6157b3888287016154d5565b918301919091525095945050505050565b818103818111156114ca576114ca6154ac565b6000602082840312156157e957600080fd5b815161119681615103565b601f82111561309b57600081815260208120601f850160051c8101602086101561581b5750805b601f850160051c820191505b8181101561583a57828155600101615827565b505050505050565b81516001600160401b0381111561585b5761585b614b7d565b61586f816158698454615310565b846157f4565b602080601f8311600181146158a4576000841561588c5750858301515b600019600386901b1c1916600185901b17855561583a565b600085815260208120601f198616915b828110156158d3578886015182559484019460019091019084016158b4565b50858210156158f15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160601b0383168152604060208201526000614b4a6040830184614a9b565b60006020828403121561593557600080fd5b815161119681614b67565b6001600160401b0360c01b831681526040602082015260008251610120806040850152615971610160850183614a9b565b91506020850151606085015260408501516080850152606085015160a085015260808501516159a860c086018263ffffffff169052565b5060a085015163ffffffff811660e08601525060c08501516101006159d08187018315159052565b60e087015115159286019290925250840151603f19848303016101408501526159f98282614a9b565b9695505050505050565b6001600160401b038116811461249357600080fd5b600060208284031215615a2a57600080fd5b815161119681615a03565b8051614df581614dcd565b600060208284031215615a5257600080fd5b81516001600160401b0380821115615a6957600080fd5b9083019060e08286031215615a7d57600080fd5b615a85614bde565b615a8e83615372565b8152615a9c60208401615372565b6020820152615aad60408401615a35565b6040820152615abe6060840161534a565b6060820152615acf608084016153e7565b60808201526155dc60a084016153e7565b80516001600160601b031682526020808201516001600160a01b0390811682850152604080840151805191860191909152918201516060850152606083015180516080860152602081015160a0860152915060808301511660c08401525060a0015160e090910152565b6001600160601b038316815261012081016111966020830184615ae0565b634e487b7160e01b600052603260045260246000fd5b600060208284031215615b9057600080fd5b81516001600160401b03811115615ba657600080fd5b614b4a848285016154d5565b600081518084526020808501945080840160005b83811015615beb5781516001600160401b031687529582019590820190600101615bc6565b509495945050505050565b6001600160601b03861681526000602060018060a01b0387168184015260a06040840152615c2760a0840187614a9b565b8381036060850152855180825282820190600581901b830184018489016000805b84811015615ca557868403601f19018652825180518086529089019089860190845b81811015615c905783516001600160e01b0319168352928b0192918b0191600101615c6a565b50509689019694505091870191600101615c48565b5050508681036080880152615cba8189615bb2565b9c9b505050505050505050505050565b6001600160401b0360c01b81511682526020810151151560208301526000604082015160a06040850152615d0160a0850182614a9b565b90506001600160601b03606084015116606085015263ffffffff60808401511660808501528091505092915050565b6001600160601b0383168152604060208201526000614b4a6040830184615cca565b6020815260006111966020830184614a9b565b6001600160601b0381511682526000602082015160e06020850152615d8d60e0850182614a9b565b905060408301516040850152606083015163ffffffff8082166060870152806080860151166080870152505064ffffffffff60a08401511660a085015260c083015184820360c08601526114c58282614a9b565b6001600160401b0360c01b83168152604060208201526000614b4a6040830184615d65565b600060208284031215615e1857600080fd5b815161119681614dcd565b6001600160601b03841681526101408101615e416020830185615ae0565b60ff8316610120830152949350505050565b63ffffffff818116838216019080821115615e7057615e706154ac565b5092915050565b6001600160401b0360c01b84168152606060208201526000615e9c6060830185615d65565b905060ff83166040830152949350505050565b6001600160601b0384168152606060208201526000615e9c6060830185615cca565b60008060408385031215615ee457600080fd5b8251615eef81614db8565b6020840151909250614dad81614db8565b634e487b7160e01b600052601260045260246000fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a264697066735822122037e9c7e56336e96a46e54b34418986a2c4b5984db2b07cc4178e4f2990ea546a64736f6c63430008140033",
1390
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101e55760003560e01c80635dcb3bae1161010f57806392e5fab6116100a2578063bf7e214f11610071578063bf7e214f1461051f578063caf4e3d41461053d578063cc9fc59a14610545578063f7c34ee01461054d57600080fd5b806392e5fab6146104d5578063ada9652e146104e8578063b68d1809146104fd578063b6b412ba1461050c57600080fd5b8063893d20e8116100de578063893d20e8146104865780638dd2b7811461048e5780638e32e979146104a15780638fb36037146104b457600080fd5b80635dcb3bae1461042f578063644c45e014610442578063675393bf146104605780637a9e5e4b1461047357600080fd5b806325d073841161018757806336fc697e1161015657806336fc697e146103c45780634420e486146103cc57806349bb9e4b146103f75780635ab1bd531461040a57600080fd5b806325d073841461036b57806327bb7a331461037e5780632b5198b114610391578063329d6e74146103b157600080fd5b8063138461e0116101c3578063138461e01461025d5780631eff4b2214610267578063214cdb801461029c578063219a3195146102af57600080fd5b806301ffc9a7146101ea5780630d8e6e2c1461022c5780630fec111c14610248575b600080fd5b6102176101f8366004614a4d565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610234610560565b60405162ffffff9091168152602001610223565b6102506105ea565b6040516102239190614ac7565b610265610741565b005b61028e7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b6102656102aa366004614a4d565b610948565b6102c26102bd366004614d36565b610975565b6040516102239190815181526020808301519082015260408083015190820152606080830151908201526080808301519082015260a0808301519082015260c0808301519082015260e08083015190820152610100808301519082015261012080830151908201526101408083015190820152610160808301519082015261018080830151908201526101a080830151908201526101c091820151918101919091526101e00190565b610217610379366004614d7f565b61119d565b61026561038c366004614e77565b6114d0565b6103a461039f366004614f21565b611575565b6040516102239190614fed565b6102656103bf366004615002565b611a3e565b610265611b8b565b6103df6103da366004615036565b611bd1565b6040516001600160601b039091168152602001610223565b610265610405366004615053565b61206d565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b6103df61043d3660046150a2565b61216c565b600080516020615f17833981519152546001600160601b03166103df565b61026561046e366004615036565b612388565b610265610481366004615036565b612496565b610417612530565b6103a461049c366004615116565b612667565b6102656104af3660046151b0565b612e67565b6104bc6130a0565b6040516001600160e01b03199091168152602001610223565b6102656104e33660046151fb565b6130d8565b61028e600080516020615f1783398151915281565b60405160788152602001610223565b61026561051a366004615288565b613820565b600080516020615f37833981519152546001600160a01b0316610417565b610417613aa6565b610417613ab2565b61026561055b3660046152bd565b613abe565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156105c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e591906152eb565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526040805160e081019091527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300908060006001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161069d612530565b6001600160a01b031681526020018260010180546106ba90615310565b80601f01602080910402602001604051908101604052809291908181526020018280546106e690615310565b80156107335780601f1061070857610100808354040283529160200191610733565b820191906000526020600020905b81548152906001019060200180831161071657829003601f168201915b505050505081525091505090565b6000600080516020615f1783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156107b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107d49190615355565b156108055780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306108186001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610860573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108849190615355565b6108ac5760405163b9304b0d60e01b81526001600160a01b03821660048201526024016107fc565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610900573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610924919061537d565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b610950613b35565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6109ee604051806101e001604052806000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b60006109f985613b6e565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a3b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a5f919061539a565b604051639ad69c6760e01b81526001600160601b03881660048201529091506000906001600160a01b03831690639ad69c679060240161010060405180830381865afa158015610ab3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad791906153f2565b6060810151604080830151885191516322f5db0f60e11b81529394509192600091610b719173__$5ac3274b8cf1e01ea223bf093142af05b0$__916345ebb61e91610b29919060040190815260200190565b602060405180830381865af4158015610b46573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b6a9190615493565b8451613c97565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610bc2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610be69190615493565b61014089018190526020890180519192508291610c049083906154c2565b905250610c118a8a61119d565b610c435750505060c0850151610160860152505050610140820151610180830152506020810151604082015280611196565b604051631d3be47760e01b81526000906001600160a01b03871690631d3be47790610c72908d90600401614fed565b600060405180830381865afa158015610c8f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610cb79190810190615530565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b0388169063d06458c69082906327b1d79290602401600060405180830381865afa158015610d15573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d3d919081019061560e565b516040516001600160e01b031960e084901b168152610d5f9190600401614fed565b600060405180830381865afa158015610d7c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610da491908101906156cd565b8a516040516322f5db0f60e11b8152600481019190915290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af4158015610dfd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e219190615493565b60608301516040516332292b2760e21b815273__$5ac3274b8cf1e01ea223bf093142af05b0$__9263c8a4ac9c92610e6492600401918252602082015260400190565b602060405180830381865af4158015610e81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea59190615493565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610ef6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1a9190615493565b6101a08c0181905260208c01516040516322f5db0f60e11b815291925073__$5ac3274b8cf1e01ea223bf093142af05b0$__916345ebb61e91610f639160040190815260200190565b602060405180830381865af4158015610f80573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa49190615493565b60408085015190516332292b2760e21b815273__$5ac3274b8cf1e01ea223bf093142af05b0$__9263c8a4ac9c92610fe792600401918252602082015260400190565b602060405180830381865af4158015611004573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110289190615493565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015611079573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061109d9190615493565b6101c08c0181905260208601516101608d01526110ba82866157c4565b6110c491906157c4565b6101808c01526101c08b015160208c01516110df91906157c4565b60408c0152505050602082015161016089015110806111285750876101a00151886101800151896101c0015161111591906154c2565b61111f91906154c2565b88610140015114155b1561118c5760c08801516101408901516101608a01516101808b01516101a08c01516101c08d015160405163a4d2313f60e01b81526004810196909652602486019490945260448501929092526064840152608483015260a482015260c4016107fc565b8796505050505050505b9392505050565b6000806111a984613b6e565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061120f919061539a565b6001600160a01b0316631d3be477856040518263ffffffff1660e01b815260040161123a9190614fed565b600060405180830381865afa158015611257573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261127f9190810190615530565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af41580156112dd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113019190615355565b15611311576000925050506114ca565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af415801561136d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113919190615355565b806114a3575060a0810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af41580156113f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114179190615355565b80156114a357506114a373__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561146a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061148e91906157d7565b8260a0015164ffffffffff9081169116111590565b92508280156114c55750806060015163ffffffff16816080015163ffffffff16105b925050505b92915050565b6114d8613b35565b6114e28287613abe565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30161156b8382615842565b5050505050505050565b6000806000611582613cac565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115ea919061539a565b604051639ad69c6760e01b81526001600160601b03851660048201526001600160a01b039190911690639ad69c679060240161010060405180830381865afa15801561163a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061165e91906153f2565b60408181015151905163771602f760e01b81526004810191909152602481018c905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063771602f790604401602060405180830381865af41580156116c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116e69190615493565b60608301515160405163b67d77c560e01b815260048101919091526024810182905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063b67d77c590604401602060405180830381865af415801561174a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061176e9190615493565b6040516321e5749b60e01b8152600481018f90526024810182905290915073__$5ac3274b8cf1e01ea223bf093142af05b0$__906321e5749b90604401602060405180830381865af41580156117c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117ec9190615355565b156118fb57604051632255341b60e11b8152600481018e905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015611841573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118659190615493565b604051632255341b60e11b81526004810183905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156118b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118d99190615493565b60405163e2ed03dd60e01b8152600481019290925260248201526044016107fc565b50505073__$5906aa3f06c54ee09b434647963e1d1ed0$__63578c3039838e6040518363ffffffff1660e01b8152600401611937929190615901565b602060405180830381865af4158015611954573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119789190615923565b925060006040518061012001604052808e81526020018d81526020018c81526020018b81526020018a63ffffffff1681526020018963ffffffff16815260200188151581526020018715158152602001868152509050816001600160a01b03166330a130ba85836040518363ffffffff1660e01b81526004016119fc929190615940565b600060405180830381600087803b158015611a1657600080fd5b505af1158015611a2a573d6000803e3d6000fd5b505050505050509998505050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c611a60610560565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611aa0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ac49190615a18565b600080516020615f578339815191528054600160401b900460ff1680611af7575080546001600160401b03808416911610155b15611b155760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155611b3f83613f30565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b611b93613b35565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080808080611bea866078611be5613f38565b613fb0565b93509350935093506000611bfc613aa6565b604051638fbc2d8160e01b81526001600160a01b03878116600483015286811660248301529190911690638fbc2d81906044016000604051808303816000875af1158015611c4e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611c769190810190615a40565b90506000879050806001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611cb857600080fd5b505af1158015611ccc573d6000803e3d6000fd5b5050505081600001519650836001600160a01b0316639e90178c88836001600160a01b031663c200b8096040518163ffffffff1660e01b815260040161010060405180830381865afa158015611d26573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d4a91906153f2565b6040518363ffffffff1660e01b8152600401611d67929190615b4a565b600060405180830381600087803b158015611d8157600080fd5b505af1158015611d95573d6000803e3d6000fd5b506000925060029150611da59050565b604051908082528060200260200182016040528015611dd857816020015b6060815260200190600190039081611dc35790505b50604080516001808252818301909252919250602080830190803683370190505081600081518110611e0c57611e0c615b68565b602090810291909101015260408051600280825260608201909252908160200160208202803683370190505081600181518110611e4b57611e4b615b68565b602002602001018190525063b6b412ba60e01b81600081518110611e7157611e71615b68565b6020026020010151600081518110611e8b57611e8b615b68565b6001600160e01b0319909216602092830291909101909101528051637c07103960e11b9082906001908110611ec257611ec2615b68565b6020026020010151600081518110611edc57611edc615b68565b6001600160e01b0319929092166020928302919091018201526040805160028082526060820183526000939192909183019080368337019050509050611f20613f38565b81600081518110611f3357611f33615b68565b60200260200101906001600160401b031690816001600160401b031681525050611f5b6142a1565b81600181518110611f6e57611f6e615b68565b60200260200101906001600160401b031690816001600160401b031681525050611f96613ab2565b6001600160a01b0316636c6fbb28868c866001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611fe4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261200c9190810190615b7e565b86866040518663ffffffff1660e01b815260040161202e959493929190615bf6565b600060405180830381600087803b15801561204857600080fd5b505af115801561205c573d6000803e3d6000fd5b505050505050505050505050919050565b600080516020615f578339815191528054600160401b810460ff1615906001600160401b03166000811580156120a05750825b90506000826001600160401b031660011480156120bc5750303b155b9050811580156120ca575080155b156120e85760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561211257845460ff60401b1916600160401b1785555b61211c87876142dd565b831561216357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000806000612179613cac565b91509150612185613aa6565b6001600160a01b03166357a8fba76040518060e001604052806121a6600090565b6001600160601b03168152602001856001600160601b031681526020016121cb607a90565b60ff16815260200160011515815260200160006001600160a01b03168152602001896001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b815260040161222a9190614ac7565b6020604051808303816000875af1158015612249573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061226d919061537d565b925060006040518060a00160405280876001600160c01b031916815260200160011515815260200186815260200173__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156122e4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612308919061537d565b6001600160601b031681526000602090910152604051631f32844960e21b81529091506001600160a01b03831690637cca11249061234c9087908590600401615d30565b600060405180830381600087803b15801561236657600080fd5b505af115801561237a573d6000803e3d6000fd5b505050505050509392505050565b612390613b35565b806001600160a01b03163b6000036123c65760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107fc565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015612440575060408051601f3d908101601f1916820190925261243d91810190615355565b60015b6124685760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107fc565b806124915760405163fdeac91f60e01b81526001600160a01b03831660048201526024016107fc565b505b50565b336124b6600080516020615f37833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b0316146124f15760405162d1953b60e31b81526001600160a01b03821660048201526024016107fc565b816001600160a01b03163b600003612527576040516361798f2f60e11b81526001600160a01b03831660048201526024016107fc565b612491826143fd565b600080600080516020615f1783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156125a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125c49190615355565b15612651576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612627573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061264b919061539a565b91505090565b54600160601b90046001600160a01b0316919050565b6000806000612674613cac565b91509150875160000361269c5787604051634fad6a5360e11b81526004016107fc9190615d52565b60405163790a38ad60e01b815264ffffffffff8616600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af41580156126f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127169190615355565b1561273d5760405163df85467b60e01b815264ffffffffff861660048201526024016107fc565b6000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561277d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127a1919061539a565b6040516313d8ebc960e11b81526001600160601b038c1660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa1580156127f4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261281c919081019061560e565b516040516368322c6360e11b81529091506000906001600160a01b0384169063d06458c69061284f908590600401614fed565b600060405180830381865afa15801561286c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261289491908101906156cd565b90508863ffffffff16816080015163ffffffff1610156128d5576080810151604051636fcee12560e01b815263ffffffff90911660048201526024016107fc565b60208101518a10156129f1576020810151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612937573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061295b9190615493565b604051632255341b60e11b8152600481018c905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156129ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129cf9190615493565b6040516338a25a8b60e21b8152600481019290925260248201526044016107fc565b60408101518a1115612b0d576040818101519051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612a53573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a779190615493565b604051632255341b60e11b8152600481018c905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612ac7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612aeb9190615493565b604051631e1ea4f360e31b8152600481019290925260248201526044016107fc565b8060a0015163ffffffff1673__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612b61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b8591906157d7565b604051633682752160e21b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612bdc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c009190615493565b604051633682752160e21b815264ffffffffff8b16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612c56573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c7a9190615493565b612c8491906157c4565b1115612d305760a0810151604051633682752160e21b815264ffffffffff8a16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612ce5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d099190615493565b6040516331fa6ab160e11b815263ffffffff909216600483015260248201526044016107fc565b604051631f849e6b60e11b815273__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd690612d699088908f90600401615901565b602060405180830381865af4158015612d86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612daa9190615923565b6040805160e0810182526001600160601b038f168152602081018e90528082018d905263ffffffff8c1660608201526000608082015264ffffffffff8b1660a082015260c081018a90529051631941cfe160e31b8152919750906001600160a01b0386169063ca0e7f0890612e25908a908590600401615de1565b600060405180830381600087803b158015612e3f57600080fd5b505af1158015612e53573d6000803e3d6000fd5b505050505050505050509695505050505050565b612e6f613b35565b612eef83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612eb1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ed5919061537d565b603c600085604051806020016040528060008152506114d0565b6001600160a01b03821615612f0c57612f078261445e565b61307b565b6000612f206001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015612f80573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fa49190615e06565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612fe9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061300d919061539a565b9050613079816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613050573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613074919061539a565b61445e565b505b61308b634a531f3360e01b610948565b61309b63b68d180960e01b610948565b505050565b600080516020615f37833981519152805460009190600160a01b900460ff166130ca57600061264b565b638fb3603760e01b91505090565b604051637bc32ecf60e01b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90637bc32ecf9061311c906001600160c01b0319881690600401614fed565b602060405180830381865af4158015613139573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061315d9190615355565b159050600061316c868661119d565b9050818015613179575080155b156131b257604051631cf73cd360e21b81526001600160601b03871660048201526001600160c01b0319861660248201526044016107fc565b60006131bd87613b6e565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156131ff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613223919061539a565b90506000816001600160a01b0316631d3be477896040518263ffffffff1660e01b81526004016132539190614fed565b600060405180830381865afa158015613270573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526132989190810190615530565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b038416906327b1d79290602401600060405180830381865afa1580156132ee573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613316919081019061560e565b604051639ad69c6760e01b81526001600160601b038c1660048201529091506000906001600160a01b03851690639ad69c679060240161010060405180830381865afa15801561336a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061338e91906153f2565b9050600073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__634c41dd968b61018001518c61016001516133c291906154c2565b6040518263ffffffff1660e01b81526004016133e091815260200190565b602060405180830381865af41580156133fd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613421919061537d565b9050600073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__634c41dd968c6101a001516040518263ffffffff1660e01b815260040161346391815260200190565b602060405180830381865af4158015613480573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134a4919061537d565b90506134b98a6134b4848461446f565b6144f6565b6134f757896134c8838361446f565b60405160016282bae560e01b031981526001600160601b039283166004820152911660248201526044016107fc565b6040516330b8415f60e01b81526001600160601b038316600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906330b8415f90602401602060405180830381865af415801561354f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135739190615355565b1561366c5760405163046e44af60e11b81526001600160601b038316600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906308dc895e90602401602060405180830381865af41580156135d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135f49190615493565b8360a00181815161360591906154c2565b9052506001600160a01b03871663f7b442d18e8560ff6040518463ffffffff1660e01b815260040161363993929190615e23565b600060405180830381600087803b15801561365357600080fd5b505af1158015613667573d6000803e3d6000fd5b505050505b8815613811576001856080018181516136859190615e53565b63ffffffff169052506040516330882f0760e11b81526001600160a01b038816906361105e0e906136bf908f90899060ff90600401615e77565b600060405180830381600087803b1580156136d957600080fd5b505af11580156136ed573d6000803e3d6000fd5b50506040516330b8415f60e01b81526001600160601b038416600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__92506330b8415f9150602401602060405180830381865af4158015613749573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061376d9190615355565b156138115761378084606001518261446f565b6001600160601b03166060850152608084018051600191906137a3908390615e53565b63ffffffff169052508451604051631e40b36360e01b81526001600160a01b03891691631e40b363916137de9190889060ff90600401615eaf565b600060405180830381600087803b1580156137f857600080fd5b505af115801561380c573d6000803e3d6000fd5b505050505b50505050505050505050505050565b81518151101561393a578151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af415801561387d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138a19190615493565b8151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156138f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139189190615493565b604051631a9c6b0960e01b8152600481019290925260248201526044016107fc565b60008080613948607861457d565b9250925092506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561398e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139b2919061539a565b604051639ad69c6760e01b81526001600160601b03861660048201529091506000906001600160a01b03831690639ad69c679060240161010060405180830381865afa158015613a06573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a2a91906153f2565b6040818101899052606082018890525163f7b442d160e01b81529091506001600160a01b0384169063f7b442d190613a6b908890859060ff90600401615e23565b600060405180830381600087803b158015613a8557600080fd5b505af1158015613a99573d6000803e3d6000fd5b5050505050505050505050565b60006105e560286147b0565b60006105e560466147b0565b613ac6613b35565b613acf81612388565b613ad7611b8b565b6001600160a01b038216613afe5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020615f1783398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020615f5783398151915254600160401b900460ff16613b6c57604051631afcd79f60e31b815260040160405180910390fd5b565b600080613b836001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613bd2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613bfa9190810190615a40565b6020015190506000613c146001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613c63573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613c8b9190810190615a40565b60800151949350505050565b60006111968383670de0b6b3a76400006148bd565b600080613cc16001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa158015613d07573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613d2b919061537d565b604051630a4d29dd60e31b81526001600160601b038216600482015290925073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015613d86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613daa9190615355565b15613dca5760405163752c00fd60e11b81523360048201526024016107fc565b6000613dde6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613e2d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613e559190810190615a40565b9050613e738160400151613e67607890565b60ff9081169116141590565b15613e9357604051637ab07d8760e01b81523360048201526024016107fc565b6000613ea76001546001600160a01b031690565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613efc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613f249190810190615a40565b60800151939492505050565b6101e5613b35565b6040516368aebf7b60e01b81526002600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015613f8c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e59190615a18565b6040516301ffc9a760e01b815263bcb0007960e01b60048201528390339060009081906001600160a01b038516906301ffc9a790602401602060405180830381865afa158015614004573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906140289190615355565b614050576040516359bff0e360e11b81526001600160a01b03881660048201526024016107fc565b6000846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015614090573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526140b89190810190615a40565b90506140cf81604001518860ff9081169116141590565b1561410f576040808201519051634a2e948760e11b81526001600160a01b038a16600482015260ff808a16602483015290911660448201526064016107fc565b60a08101516001600160a01b03858116908216146141615760a0820151604051632b50a20960e21b81526001600160a01b03808c166004830152918216602482015290861660448201526064016107fc565b81602001519250614171836149a7565b9350836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156141b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906141d5919061539a565b6040516368fc2b7760e11b81526001600160401b03891660048201526001600160a01b038781166024830152919091169063d1f856ee90604401602060405180830381865afa15801561422c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906142509190615355565b61429657604051636af540d960e01b81526001600160601b03841660048201526001600160401b03881660248201526001600160a01b03861660448201526064016107fc565b505093509350935093565b6040516368aebf7b60e01b81526108fc600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401613f6f565b600080516020615f578339815191528054600160401b810460ff1615906001600160401b03166000811580156143105750825b90506000826001600160401b0316600114801561432c5750303b155b90508115801561433a575080155b156143585760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561438257845460ff60401b1916600160401b1785555b600080878060200190518101906143999190615ed1565b925090506143a98160008b612e67565b6143b963db53be8360e01b610948565b5050831561216357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200161215a565b600080516020615f3783398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b614466613b35565b61249381614a3c565b60405163274acb3560e01b81526001600160601b0380841660048301528216602482015260009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063274acb3590604401602060405180830381865af41580156144d2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611196919061537d565b60405163c4cade9d60e01b81526001600160601b0380841660048301528216602482015260009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063c4cade9d90604401602060405180830381865af4158015614559573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111969190615355565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201526000806145c96001546001600160a01b031690565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa158015614610573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526146389190810190615a40565b925061464f83604001518660ff9081169116141590565b1561469357608083015160408085015190516304081d4960e41b81526001600160a01b03909216600483015260ff80881660248401521660448201526064016107fc565b826000015193506146a783602001516149a7565b9150816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156146e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061470b919061539a565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015614755573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906147799190615355565b156147a857608083015160405163d53987e560e01b81526001600160a01b0390911660048201526024016107fc565b509193909250565b60006147c46001546001600160a01b031690565b6001600160a01b031663d39e6043836147db610560565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015614830573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906148549190615e06565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015614899573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ca919061539a565b60008080600019858709858702925082811083820303915050806000036148f7578382816148ed576148ed615f00565b0492505050611196565b80841161493e5760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b60448201526064016107fc565b60008486880960026001871981018816978890046003810283188082028403028082028403028082028403028082028403028082028403029081029092039091026000889003889004909101858311909403939093029303949094049190911702949350505050565b60006149bb6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015614a0a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052614a329190810190615a40565b6080015192915050565b614a44613b35565b612493816143fd565b600060208284031215614a5f57600080fd5b81356001600160e01b03198116811461119657600080fd5b60005b83811015614a92578181015183820152602001614a7a565b50506000910152565b60008151808452614ab3816020860160208601614a77565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151614b3060c08401826001600160a01b03169052565b5060c083015160e080840152614b4a610100840182614a9b565b949350505050565b6001600160601b038116811461249357600080fd5b6001600160c01b03198116811461249357600080fd5b634e487b7160e01b600052604160045260246000fd5b6040516101e081016001600160401b0381118282101715614bb657614bb6614b7d565b60405290565b604080519081016001600160401b0381118282101715614bb657614bb6614b7d565b60405160e081016001600160401b0381118282101715614bb657614bb6614b7d565b60405160a081016001600160401b0381118282101715614bb657614bb6614b7d565b60405161012081016001600160401b0381118282101715614bb657614bb6614b7d565b604051601f8201601f191681016001600160401b0381118282101715614c6d57614c6d614b7d565b604052919050565b60006101e08284031215614c8857600080fd5b614c90614b93565b9050813581526020820135602082015260408201356040820152606082013560608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e08201526101008083013581830152506101208083013581830152506101408083013581830152506101608083013581830152506101808083013581830152506101a08083013581830152506101c080830135818301525092915050565b60008060006102208486031215614d4c57600080fd5b8335614d5781614b52565b92506020840135614d6781614b67565b9150614d768560408601614c75565b90509250925092565b60008060408385031215614d9257600080fd5b8235614d9d81614b52565b91506020830135614dad81614b67565b809150509250929050565b6001600160a01b038116811461249357600080fd5b60ff8116811461249357600080fd5b801515811461249357600080fd5b8035614df581614ddc565b919050565b60006001600160401b03821115614e1357614e13614b7d565b50601f01601f191660200190565b600082601f830112614e3257600080fd5b8135614e45614e4082614dfa565b614c45565b818152846020838601011115614e5a57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215614e9057600080fd5b8635614e9b81614db8565b95506020870135614eab81614b52565b94506040870135614ebb81614dcd565b93506060870135614ecb81614ddc565b92506080870135614edb81614db8565b915060a08701356001600160401b03811115614ef657600080fd5b614f0289828a01614e21565b9150509295509295509295565b63ffffffff8116811461249357600080fd5b60008060008060008060008060006101208a8c031215614f4057600080fd5b89356001600160401b0380821115614f5757600080fd5b614f638d838e01614e21565b9a5060208c0135995060408c0135985060608c0135975060808c01359150614f8a82614f0f565b90955060a08b013590614f9c82614f0f565b819550614fab60c08d01614dea565b9450614fb960e08d01614dea565b93506101008c0135915080821115614fd057600080fd5b50614fdd8c828d01614e21565b9150509295985092959850929598565b6001600160c01b031991909116815260200190565b60006020828403121561501457600080fd5b81356001600160401b0381111561502a57600080fd5b614b4a84828501614e21565b60006020828403121561504857600080fd5b813561119681614db8565b6000806040838503121561506657600080fd5b823561507181614db8565b915060208301356001600160401b0381111561508c57600080fd5b61509885828601614e21565b9150509250929050565b6000806000606084860312156150b757600080fd5b83356150c281614db8565b925060208401356150d281614b67565b915060408401356001600160401b038111156150ed57600080fd5b6150f986828701614e21565b9150509250925092565b64ffffffffff8116811461249357600080fd5b60008060008060008060c0878903121561512f57600080fd5b863561513a81614b52565b955060208701356001600160401b038082111561515657600080fd5b6151628a838b01614e21565b9650604089013595506060890135915061517b82614f0f565b90935060808801359061518d82615103565b90925060a088013590808211156151a357600080fd5b50614f0289828a01614e21565b6000806000606084860312156151c557600080fd5b83356151d081614db8565b925060208401356151e081614db8565b915060408401356151f081614db8565b809150509250925092565b600080600080610240858703121561521257600080fd5b843561521d81614b52565b9350602085013561522d81614b67565b925061523c8660408701614c75565b915061022085013561524d81614b52565b939692955090935050565b60006040828403121561526a57600080fd5b615272614bbc565b9050813581526020820135602082015292915050565b6000806080838503121561529b57600080fd5b6152a58484615258565b91506152b48460408501615258565b90509250929050565b600080604083850312156152d057600080fd5b82356152db81614db8565b91506020830135614dad81614db8565b6000602082840312156152fd57600080fd5b815162ffffff8116811461119657600080fd5b600181811c9082168061532457607f821691505b60208210810361534457634e487b7160e01b600052602260045260246000fd5b50919050565b8051614df581614ddc565b60006020828403121561536757600080fd5b815161119681614ddc565b8051614df581614b52565b60006020828403121561538f57600080fd5b815161119681614b52565b6000602082840312156153ac57600080fd5b815161119681614db8565b6000604082840312156153c957600080fd5b6153d1614bbc565b9050815181526020820151602082015292915050565b8051614df581614db8565b6000610100828403121561540557600080fd5b60405160c081018181106001600160401b038211171561542757615427614b7d565b604052825161543581614b52565b8152602083015161544581614db8565b602082015261545784604085016153b7565b604082015261546984608085016153b7565b606082015260c083015161547c81614db8565b608082015260e0929092015160a083015250919050565b6000602082840312156154a557600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156114ca576114ca6154ac565b600082601f8301126154e657600080fd5b81516154f4614e4082614dfa565b81815284602083860101111561550957600080fd5b614b4a826020830160208701614a77565b8051614df581614f0f565b8051614df581615103565b60006020828403121561554257600080fd5b81516001600160401b038082111561555957600080fd5b9083019060e0828603121561556d57600080fd5b615575614bde565b61557e83615372565b815260208301518281111561559257600080fd5b61559e878286016154d5565b602083015250604083015160408201526155ba6060840161551a565b60608201526155cb6080840161551a565b60808201526155dc60a08401615525565b60a082015260c0830151828111156155f357600080fd5b6155ff878286016154d5565b60c08301525095945050505050565b60006020828403121561562057600080fd5b81516001600160401b038082111561563757600080fd5b9083019060a0828603121561564b57600080fd5b615653614c00565b825161565e81614b67565b8152602083015161566e81614ddc565b602082015260408301518281111561568557600080fd5b615691878286016154d5565b604083015250606083015191506156a782614b52565b816060820152608083015192506156bd83614f0f565b6080810192909252509392505050565b6000602082840312156156df57600080fd5b81516001600160401b03808211156156f657600080fd5b90830190610120828603121561570b57600080fd5b615713614c22565b82518281111561572257600080fd5b61572e878286016154d5565b82525060208301516020820152604083015160408201526060830151606082015261575b6080840161551a565b608082015261576c60a0840161551a565b60a082015261577d60c0840161534a565b60c082015261578e60e0840161534a565b60e082015261010080840151838111156157a757600080fd5b6157b3888287016154d5565b918301919091525095945050505050565b818103818111156114ca576114ca6154ac565b6000602082840312156157e957600080fd5b815161119681615103565b601f82111561309b57600081815260208120601f850160051c8101602086101561581b5750805b601f850160051c820191505b8181101561583a57828155600101615827565b505050505050565b81516001600160401b0381111561585b5761585b614b7d565b61586f816158698454615310565b846157f4565b602080601f8311600181146158a4576000841561588c5750858301515b600019600386901b1c1916600185901b17855561583a565b600085815260208120601f198616915b828110156158d3578886015182559484019460019091019084016158b4565b50858210156158f15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160601b0383168152604060208201526000614b4a6040830184614a9b565b60006020828403121561593557600080fd5b815161119681614b67565b6001600160401b0360c01b831681526040602082015260008251610120806040850152615971610160850183614a9b565b91506020850151606085015260408501516080850152606085015160a085015260808501516159a860c086018263ffffffff169052565b5060a085015163ffffffff811660e08601525060c08501516101006159d08187018315159052565b60e087015115159286019290925250840151603f19848303016101408501526159f98282614a9b565b9695505050505050565b6001600160401b038116811461249357600080fd5b600060208284031215615a2a57600080fd5b815161119681615a03565b8051614df581614dcd565b600060208284031215615a5257600080fd5b81516001600160401b0380821115615a6957600080fd5b9083019060e08286031215615a7d57600080fd5b615a85614bde565b615a8e83615372565b8152615a9c60208401615372565b6020820152615aad60408401615a35565b6040820152615abe6060840161534a565b6060820152615acf608084016153e7565b60808201526155dc60a084016153e7565b80516001600160601b031682526020808201516001600160a01b0390811682850152604080840151805191860191909152918201516060850152606083015180516080860152602081015160a0860152915060808301511660c08401525060a0015160e090910152565b6001600160601b038316815261012081016111966020830184615ae0565b634e487b7160e01b600052603260045260246000fd5b600060208284031215615b9057600080fd5b81516001600160401b03811115615ba657600080fd5b614b4a848285016154d5565b600081518084526020808501945080840160005b83811015615beb5781516001600160401b031687529582019590820190600101615bc6565b509495945050505050565b6001600160601b03861681526000602060018060a01b0387168184015260a06040840152615c2760a0840187614a9b565b8381036060850152855180825282820190600581901b830184018489016000805b84811015615ca557868403601f19018652825180518086529089019089860190845b81811015615c905783516001600160e01b0319168352928b0192918b0191600101615c6a565b50509689019694505091870191600101615c48565b5050508681036080880152615cba8189615bb2565b9c9b505050505050505050505050565b6001600160401b0360c01b81511682526020810151151560208301526000604082015160a06040850152615d0160a0850182614a9b565b90506001600160601b03606084015116606085015263ffffffff60808401511660808501528091505092915050565b6001600160601b0383168152604060208201526000614b4a6040830184615cca565b6020815260006111966020830184614a9b565b6001600160601b0381511682526000602082015160e06020850152615d8d60e0850182614a9b565b905060408301516040850152606083015163ffffffff8082166060870152806080860151166080870152505064ffffffffff60a08401511660a085015260c083015184820360c08601526114c58282614a9b565b6001600160401b0360c01b83168152604060208201526000614b4a6040830184615d65565b600060208284031215615e1857600080fd5b815161119681614dcd565b6001600160601b03841681526101408101615e416020830185615ae0565b60ff8316610120830152949350505050565b63ffffffff818116838216019080821115615e7057615e706154ac565b5092915050565b6001600160401b0360c01b84168152606060208201526000615e9c6060830185615d65565b905060ff83166040830152949350505050565b6001600160601b0384168152606060208201526000615e9c6060830185615cca565b60008060408385031215615ee457600080fd5b8251615eef81614db8565b6020840151909250614dad81614db8565b634e487b7160e01b600052601260045260246000fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a264697066735822122037e9c7e56336e96a46e54b34418986a2c4b5984db2b07cc4178e4f2990ea546a64736f6c63430008140033",
585
1391
  "linkReferences": {
586
- "contracts/types/Blocknumber.sol": {
587
- "BlocknumberLib": [
1392
+ "contracts/types/Amount.sol": {
1393
+ "AmountLib": [
1394
+ {
1395
+ "length": 20,
1396
+ "start": 9091
1397
+ },
1398
+ {
1399
+ "length": 20,
1400
+ "start": 13434
1401
+ },
1402
+ {
1403
+ "length": 20,
1404
+ "start": 13581
1405
+ },
1406
+ {
1407
+ "length": 20,
1408
+ "start": 13819
1409
+ },
1410
+ {
1411
+ "length": 20,
1412
+ "start": 13948
1413
+ },
1414
+ {
1415
+ "length": 20,
1416
+ "start": 14323
1417
+ },
1418
+ {
1419
+ "length": 20,
1420
+ "start": 17790
1421
+ },
1422
+ {
1423
+ "length": 20,
1424
+ "start": 17925
1425
+ }
1426
+ ]
1427
+ },
1428
+ "contracts/types/DistributorType.sol": {
1429
+ "DistributorTypeLib": [
588
1430
  {
589
1431
  "length": 20,
590
- "start": 3604
1432
+ "start": 6630
591
1433
  }
592
1434
  ]
593
1435
  },
@@ -595,11 +1437,31 @@
595
1437
  "NftIdLib": [
596
1438
  {
597
1439
  "length": 20,
598
- "start": 1930
1440
+ "start": 2140
1441
+ },
1442
+ {
1443
+ "length": 20,
1444
+ "start": 5001
1445
+ },
1446
+ {
1447
+ "length": 20,
1448
+ "start": 9804
1449
+ },
1450
+ {
1451
+ "length": 20,
1452
+ "start": 15922
1453
+ }
1454
+ ]
1455
+ },
1456
+ "contracts/types/Referral.sol": {
1457
+ "ReferralLib": [
1458
+ {
1459
+ "length": 20,
1460
+ "start": 11813
599
1461
  },
600
1462
  {
601
1463
  "length": 20,
602
- "start": 3748
1464
+ "start": 12752
603
1465
  }
604
1466
  ]
605
1467
  },
@@ -607,7 +1469,11 @@
607
1469
  "RoleIdLib": [
608
1470
  {
609
1471
  "length": 20,
610
- "start": 5848
1472
+ "start": 16439
1473
+ },
1474
+ {
1475
+ "length": 20,
1476
+ "start": 17313
611
1477
  }
612
1478
  ]
613
1479
  },
@@ -615,7 +1481,115 @@
615
1481
  "TimestampLib": [
616
1482
  {
617
1483
  "length": 20,
618
- "start": 6442
1484
+ "start": 5145
1485
+ },
1486
+ {
1487
+ "length": 20,
1488
+ "start": 5279
1489
+ },
1490
+ {
1491
+ "length": 20,
1492
+ "start": 5385
1493
+ },
1494
+ {
1495
+ "length": 20,
1496
+ "start": 10142
1497
+ },
1498
+ {
1499
+ "length": 20,
1500
+ "start": 11264
1501
+ },
1502
+ {
1503
+ "length": 20,
1504
+ "start": 11400
1505
+ },
1506
+ {
1507
+ "length": 20,
1508
+ "start": 11522
1509
+ },
1510
+ {
1511
+ "length": 20,
1512
+ "start": 11665
1513
+ }
1514
+ ]
1515
+ },
1516
+ "contracts/types/UFixed.sol": {
1517
+ "UFixedLib": [
1518
+ {
1519
+ "length": 20,
1520
+ "start": 3044
1521
+ },
1522
+ {
1523
+ "length": 20,
1524
+ "start": 3182
1525
+ },
1526
+ {
1527
+ "length": 20,
1528
+ "start": 3753
1529
+ },
1530
+ {
1531
+ "length": 20,
1532
+ "start": 3867
1533
+ },
1534
+ {
1535
+ "length": 20,
1536
+ "start": 4002
1537
+ },
1538
+ {
1539
+ "length": 20,
1540
+ "start": 4127
1541
+ },
1542
+ {
1543
+ "length": 20,
1544
+ "start": 4254
1545
+ },
1546
+ {
1547
+ "length": 20,
1548
+ "start": 4389
1549
+ },
1550
+ {
1551
+ "length": 20,
1552
+ "start": 5998
1553
+ },
1554
+ {
1555
+ "length": 20,
1556
+ "start": 6134
1557
+ },
1558
+ {
1559
+ "length": 20,
1560
+ "start": 6260
1561
+ },
1562
+ {
1563
+ "length": 20,
1564
+ "start": 6381
1565
+ },
1566
+ {
1567
+ "length": 20,
1568
+ "start": 6497
1569
+ },
1570
+ {
1571
+ "length": 20,
1572
+ "start": 10723
1573
+ },
1574
+ {
1575
+ "length": 20,
1576
+ "start": 10839
1577
+ },
1578
+ {
1579
+ "length": 20,
1580
+ "start": 11007
1581
+ },
1582
+ {
1583
+ "length": 20,
1584
+ "start": 11123
1585
+ },
1586
+ {
1587
+ "length": 20,
1588
+ "start": 14633
1589
+ },
1590
+ {
1591
+ "length": 20,
1592
+ "start": 14752
619
1593
  }
620
1594
  ]
621
1595
  },
@@ -623,25 +1597,67 @@
623
1597
  "VersionLib": [
624
1598
  {
625
1599
  "length": 20,
626
- "start": 1452
1600
+ "start": 1645
627
1601
  },
628
1602
  {
629
1603
  "length": 20,
630
- "start": 3988
1604
+ "start": 6950
631
1605
  },
632
1606
  {
633
1607
  "length": 20,
634
- "start": 4682
1608
+ "start": 18652
1609
+ }
1610
+ ],
1611
+ "VersionPartLib": [
1612
+ {
1613
+ "length": 20,
1614
+ "start": 12332
635
1615
  }
636
1616
  ]
637
1617
  }
638
1618
  },
639
1619
  "deployedLinkReferences": {
640
- "contracts/types/Blocknumber.sol": {
641
- "BlocknumberLib": [
1620
+ "contracts/types/Amount.sol": {
1621
+ "AmountLib": [
1622
+ {
1623
+ "length": 20,
1624
+ "start": 8861
1625
+ },
1626
+ {
1627
+ "length": 20,
1628
+ "start": 13204
1629
+ },
1630
+ {
1631
+ "length": 20,
1632
+ "start": 13351
1633
+ },
1634
+ {
1635
+ "length": 20,
1636
+ "start": 13589
1637
+ },
1638
+ {
1639
+ "length": 20,
1640
+ "start": 13718
1641
+ },
642
1642
  {
643
1643
  "length": 20,
644
- "start": 3290
1644
+ "start": 14093
1645
+ },
1646
+ {
1647
+ "length": 20,
1648
+ "start": 17560
1649
+ },
1650
+ {
1651
+ "length": 20,
1652
+ "start": 17695
1653
+ }
1654
+ ]
1655
+ },
1656
+ "contracts/types/DistributorType.sol": {
1657
+ "DistributorTypeLib": [
1658
+ {
1659
+ "length": 20,
1660
+ "start": 6400
645
1661
  }
646
1662
  ]
647
1663
  },
@@ -649,11 +1665,31 @@
649
1665
  "NftIdLib": [
650
1666
  {
651
1667
  "length": 20,
652
- "start": 1616
1668
+ "start": 1910
1669
+ },
1670
+ {
1671
+ "length": 20,
1672
+ "start": 4771
1673
+ },
1674
+ {
1675
+ "length": 20,
1676
+ "start": 9574
1677
+ },
1678
+ {
1679
+ "length": 20,
1680
+ "start": 15692
1681
+ }
1682
+ ]
1683
+ },
1684
+ "contracts/types/Referral.sol": {
1685
+ "ReferralLib": [
1686
+ {
1687
+ "length": 20,
1688
+ "start": 11583
653
1689
  },
654
1690
  {
655
1691
  "length": 20,
656
- "start": 3434
1692
+ "start": 12522
657
1693
  }
658
1694
  ]
659
1695
  },
@@ -661,7 +1697,11 @@
661
1697
  "RoleIdLib": [
662
1698
  {
663
1699
  "length": 20,
664
- "start": 5534
1700
+ "start": 16209
1701
+ },
1702
+ {
1703
+ "length": 20,
1704
+ "start": 17083
665
1705
  }
666
1706
  ]
667
1707
  },
@@ -669,7 +1709,115 @@
669
1709
  "TimestampLib": [
670
1710
  {
671
1711
  "length": 20,
672
- "start": 6128
1712
+ "start": 4915
1713
+ },
1714
+ {
1715
+ "length": 20,
1716
+ "start": 5049
1717
+ },
1718
+ {
1719
+ "length": 20,
1720
+ "start": 5155
1721
+ },
1722
+ {
1723
+ "length": 20,
1724
+ "start": 9912
1725
+ },
1726
+ {
1727
+ "length": 20,
1728
+ "start": 11034
1729
+ },
1730
+ {
1731
+ "length": 20,
1732
+ "start": 11170
1733
+ },
1734
+ {
1735
+ "length": 20,
1736
+ "start": 11292
1737
+ },
1738
+ {
1739
+ "length": 20,
1740
+ "start": 11435
1741
+ }
1742
+ ]
1743
+ },
1744
+ "contracts/types/UFixed.sol": {
1745
+ "UFixedLib": [
1746
+ {
1747
+ "length": 20,
1748
+ "start": 2814
1749
+ },
1750
+ {
1751
+ "length": 20,
1752
+ "start": 2952
1753
+ },
1754
+ {
1755
+ "length": 20,
1756
+ "start": 3523
1757
+ },
1758
+ {
1759
+ "length": 20,
1760
+ "start": 3637
1761
+ },
1762
+ {
1763
+ "length": 20,
1764
+ "start": 3772
1765
+ },
1766
+ {
1767
+ "length": 20,
1768
+ "start": 3897
1769
+ },
1770
+ {
1771
+ "length": 20,
1772
+ "start": 4024
1773
+ },
1774
+ {
1775
+ "length": 20,
1776
+ "start": 4159
1777
+ },
1778
+ {
1779
+ "length": 20,
1780
+ "start": 5768
1781
+ },
1782
+ {
1783
+ "length": 20,
1784
+ "start": 5904
1785
+ },
1786
+ {
1787
+ "length": 20,
1788
+ "start": 6030
1789
+ },
1790
+ {
1791
+ "length": 20,
1792
+ "start": 6151
1793
+ },
1794
+ {
1795
+ "length": 20,
1796
+ "start": 6267
1797
+ },
1798
+ {
1799
+ "length": 20,
1800
+ "start": 10493
1801
+ },
1802
+ {
1803
+ "length": 20,
1804
+ "start": 10609
1805
+ },
1806
+ {
1807
+ "length": 20,
1808
+ "start": 10777
1809
+ },
1810
+ {
1811
+ "length": 20,
1812
+ "start": 10893
1813
+ },
1814
+ {
1815
+ "length": 20,
1816
+ "start": 14403
1817
+ },
1818
+ {
1819
+ "length": 20,
1820
+ "start": 14522
673
1821
  }
674
1822
  ]
675
1823
  },
@@ -677,15 +1825,21 @@
677
1825
  "VersionLib": [
678
1826
  {
679
1827
  "length": 20,
680
- "start": 1138
1828
+ "start": 1415
681
1829
  },
682
1830
  {
683
1831
  "length": 20,
684
- "start": 3674
1832
+ "start": 6720
685
1833
  },
686
1834
  {
687
1835
  "length": 20,
688
- "start": 4368
1836
+ "start": 18422
1837
+ }
1838
+ ],
1839
+ "VersionPartLib": [
1840
+ {
1841
+ "length": 20,
1842
+ "start": 12102
689
1843
  }
690
1844
  ]
691
1845
  }