@etherisc/gif-next 0.0.2-d2fd9d7-008 → 0.0.2-d30275e-758

Sign up to get free protection for your applications and to get access to all the features.
Files changed (397) hide show
  1. package/README.md +28 -14
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +842 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +946 -219
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/components/IComponent.sol/IComponent.json +605 -0
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +848 -31
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +846 -57
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +682 -9
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +806 -243
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +632 -194
  18. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  19. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  20. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  21. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +69 -66
  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 +303 -1340
  26. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +337 -168
  28. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  29. package/artifacts/contracts/instance/Instance.sol/Instance.json +439 -3102
  30. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  31. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +609 -178
  32. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
  33. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +124 -0
  34. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  35. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +251 -270
  36. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  37. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +457 -402
  38. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  39. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +292 -131
  40. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  41. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +2663 -0
  42. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
  43. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +11 -27
  44. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  45. package/artifacts/contracts/instance/base/{ComponentServiceBase.sol/ComponentServiceBase.json → ComponentService.sol/ComponentService.json} +277 -178
  46. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  47. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  48. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  49. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +40 -10
  50. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  51. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
  52. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  53. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +71 -45
  54. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  55. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  56. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  57. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  58. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  59. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  60. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  61. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  62. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  63. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +902 -0
  64. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  65. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +649 -0
  66. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  67. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1326 -0
  68. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  69. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +725 -0
  70. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  71. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +1072 -0
  72. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  73. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +685 -0
  74. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  75. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1022 -223
  76. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  77. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +392 -79
  78. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  79. package/artifacts/contracts/instance/service/{IComponentOwnerService.sol/IComponentOwnerService.json → IApplicationService.sol/IApplicationService.json} +235 -200
  80. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  81. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +714 -0
  82. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  83. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +602 -0
  84. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +585 -160
  86. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  87. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +969 -0
  88. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  89. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +536 -304
  90. package/artifacts/contracts/instance/service/IPricingService.sol/IPricingService.dbg.json +4 -0
  91. package/artifacts/contracts/{shared/RegisterableUpgradable.sol/RegisterableUpgradable.json → instance/service/IPricingService.sol/IPricingService.json} +248 -172
  92. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  93. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +78 -388
  94. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  95. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1575 -0
  96. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  97. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +741 -0
  98. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  99. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +832 -400
  100. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  101. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +338 -93
  102. package/artifacts/contracts/instance/service/PricingService.sol/PricingService.dbg.json +4 -0
  103. package/artifacts/contracts/instance/service/PricingService.sol/PricingService.json +988 -0
  104. package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  105. package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.json +689 -0
  106. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  107. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +289 -564
  108. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
  109. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +289 -124
  110. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  111. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  112. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  113. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +244 -133
  114. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  115. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +149 -230
  116. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  117. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  118. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  119. package/artifacts/contracts/registry/Registry.sol/Registry.json +257 -235
  120. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  121. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  122. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  123. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +200 -335
  124. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  125. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +298 -145
  126. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  127. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +559 -0
  128. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  129. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +141 -53
  130. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  131. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  132. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  133. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  134. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +40 -29
  135. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  136. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
  137. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  138. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +21 -34
  139. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  140. package/artifacts/contracts/{experiment/inheritance/IB.sol/IB.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +18 -20
  141. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  142. package/artifacts/contracts/shared/IService.sol/IService.json +86 -172
  143. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  144. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  145. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  146. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +120 -27
  147. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  148. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
  149. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  150. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +294 -61
  151. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  152. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +129 -51
  153. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  154. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
  155. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  156. package/artifacts/contracts/shared/Service.sol/Service.json +191 -163
  157. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  158. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
  159. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  160. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  161. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  162. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  163. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  164. package/artifacts/contracts/test/TestFee.sol/TestFee.json +2 -2
  165. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  166. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +129 -51
  167. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  168. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +6 -6
  169. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  170. package/artifacts/contracts/test/TestService.sol/TestService.json +210 -214
  171. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  172. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  173. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  174. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  175. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -190
  176. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  177. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  178. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +4 -0
  179. package/artifacts/contracts/types/Amount.sol/AmountLib.json +209 -0
  180. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  181. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  182. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  183. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  184. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +179 -0
  185. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  186. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
  187. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  188. package/artifacts/contracts/types/Fee.sol/FeeLib.json +40 -9
  189. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  190. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  191. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  192. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
  193. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  194. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +2 -2
  195. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  196. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  197. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  198. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  199. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +209 -0
  200. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
  202. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  203. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  204. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  205. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  206. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  207. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  208. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  209. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  210. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  211. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +38 -7
  212. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  213. package/artifacts/contracts/types/UFixed.sol/MathLib.json +2 -2
  214. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  215. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +2 -2
  216. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  217. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  218. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  219. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
  220. package/contracts/components/Component.sol +253 -0
  221. package/contracts/components/Distribution.sol +204 -83
  222. package/contracts/components/IComponent.sol +76 -0
  223. package/contracts/components/IDistributionComponent.sol +44 -17
  224. package/contracts/components/IPoolComponent.sol +88 -41
  225. package/contracts/components/IProductComponent.sol +10 -5
  226. package/contracts/components/Pool.sol +217 -182
  227. package/contracts/components/Product.sol +248 -163
  228. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
  229. package/contracts/instance/BundleManager.sol +17 -20
  230. package/contracts/instance/Cloneable.sol +7 -2
  231. package/contracts/instance/IInstance.sol +57 -33
  232. package/contracts/instance/IInstanceService.sol +56 -9
  233. package/contracts/instance/Instance.sol +150 -367
  234. package/contracts/instance/InstanceAccessManager.sol +430 -177
  235. package/contracts/instance/InstanceAuthorizationsLib.sol +300 -0
  236. package/contracts/instance/InstanceReader.sol +44 -39
  237. package/contracts/instance/InstanceService.sol +243 -166
  238. package/contracts/instance/InstanceServiceManager.sol +6 -9
  239. package/contracts/instance/InstanceStore.sol +208 -0
  240. package/contracts/instance/ObjectManager.sol +11 -24
  241. package/contracts/instance/base/ComponentService.sol +148 -0
  242. package/contracts/instance/base/KeyValueStore.sol +13 -5
  243. package/contracts/instance/base/Lifecycle.sol +23 -6
  244. package/contracts/instance/module/IAccess.sol +36 -20
  245. package/contracts/instance/module/IBundle.sol +8 -5
  246. package/contracts/instance/module/IComponents.sol +41 -0
  247. package/contracts/instance/module/IDistribution.sol +2 -0
  248. package/contracts/instance/module/IPolicy.sol +41 -9
  249. package/contracts/instance/module/ISetup.sol +7 -20
  250. package/contracts/instance/service/ApplicationService.sol +185 -0
  251. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  252. package/contracts/instance/service/BundleService.sol +440 -0
  253. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  254. package/contracts/instance/service/ClaimService.sol +239 -0
  255. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  256. package/contracts/instance/service/DistributionService.sol +287 -33
  257. package/contracts/instance/service/DistributionServiceManager.sol +7 -10
  258. package/contracts/instance/service/IApplicationService.sol +61 -0
  259. package/contracts/instance/service/IBundleService.sol +102 -0
  260. package/contracts/instance/service/IClaimService.sol +92 -0
  261. package/contracts/instance/service/IDistributionService.sol +74 -1
  262. package/contracts/instance/service/IPolicyService.sol +139 -0
  263. package/contracts/instance/service/IPoolService.sol +76 -25
  264. package/contracts/instance/service/IPricingService.sol +36 -0
  265. package/contracts/instance/service/IProductService.sol +2 -72
  266. package/contracts/instance/service/PolicyService.sol +577 -0
  267. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  268. package/contracts/instance/service/PoolService.sol +232 -183
  269. package/contracts/instance/service/PoolServiceManager.sol +6 -9
  270. package/contracts/instance/service/PricingService.sol +275 -0
  271. package/contracts/instance/service/PricingServiceManager.sol +51 -0
  272. package/contracts/instance/service/ProductService.sol +109 -469
  273. package/contracts/instance/service/ProductServiceManager.sol +2 -2
  274. package/contracts/registry/ChainNft.sol +9 -1
  275. package/contracts/registry/IRegistry.sol +39 -19
  276. package/contracts/registry/IRegistryService.sol +31 -13
  277. package/contracts/registry/ITransferInterceptor.sol +1 -0
  278. package/contracts/registry/Registry.sol +243 -224
  279. package/contracts/registry/RegistryAccessManager.sol +216 -0
  280. package/contracts/registry/RegistryService.sol +101 -173
  281. package/contracts/registry/RegistryServiceManager.sol +21 -39
  282. package/contracts/registry/ReleaseManager.sol +324 -0
  283. package/contracts/registry/TokenRegistry.sol +22 -17
  284. package/contracts/shared/ERC165.sol +14 -12
  285. package/contracts/shared/INftOwnable.sol +11 -10
  286. package/contracts/shared/IPolicyHolder.sol +26 -0
  287. package/contracts/shared/IRegisterable.sol +4 -6
  288. package/contracts/shared/IRegistryLinked.sol +12 -0
  289. package/contracts/shared/IService.sol +5 -4
  290. package/contracts/shared/IVersionable.sol +4 -47
  291. package/contracts/shared/NftOwnable.sol +66 -80
  292. package/contracts/shared/PolicyHolder.sol +81 -0
  293. package/contracts/shared/ProxyManager.sol +100 -25
  294. package/contracts/shared/Registerable.sol +16 -32
  295. package/contracts/shared/RegistryLinked.sol +48 -0
  296. package/contracts/shared/Service.sol +41 -24
  297. package/contracts/shared/TokenHandler.sol +11 -5
  298. package/contracts/shared/Versionable.sol +4 -92
  299. package/contracts/test/TestRegisterable.sol +1 -1
  300. package/contracts/test/TestService.sol +4 -3
  301. package/contracts/types/Amount.sol +70 -0
  302. package/contracts/types/Blocknumber.sol +1 -0
  303. package/contracts/types/ClaimId.sol +75 -0
  304. package/contracts/types/DistributorType.sol +2 -2
  305. package/contracts/types/Fee.sol +13 -5
  306. package/contracts/types/NftId.sol +8 -0
  307. package/contracts/types/ObjectType.sol +16 -7
  308. package/contracts/types/PayoutId.sol +82 -0
  309. package/contracts/types/Referral.sol +4 -0
  310. package/contracts/types/RoleId.sol +26 -19
  311. package/contracts/types/Seconds.sol +54 -0
  312. package/contracts/types/StateId.sol +7 -2
  313. package/contracts/types/Timestamp.sol +18 -13
  314. package/contracts/types/UFixed.sol +1 -0
  315. package/contracts/types/Version.sol +1 -0
  316. package/package.json +3 -3
  317. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  318. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -327
  319. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  320. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -280
  321. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  322. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  323. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  324. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  325. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  326. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  327. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  328. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  329. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  330. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  331. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  332. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  333. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  334. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  335. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  336. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  337. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  338. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  339. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  340. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  341. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  342. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  343. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  344. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  345. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  346. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  347. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  348. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  349. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  350. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  351. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  352. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  353. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  354. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  355. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  356. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  357. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  358. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  359. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  360. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  361. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.json +0 -101
  362. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  363. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
  364. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  365. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  366. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  367. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  368. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  369. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  370. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  371. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  372. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  373. package/contracts/components/BaseComponent.sol +0 -91
  374. package/contracts/components/IBaseComponent.sol +0 -25
  375. package/contracts/experiment/cloning/Cloner.sol +0 -47
  376. package/contracts/experiment/errors/Require.sol +0 -38
  377. package/contracts/experiment/errors/Revert.sol +0 -44
  378. package/contracts/experiment/inheritance/A.sol +0 -53
  379. package/contracts/experiment/inheritance/B.sol +0 -28
  380. package/contracts/experiment/inheritance/C.sol +0 -34
  381. package/contracts/experiment/inheritance/IA.sol +0 -13
  382. package/contracts/experiment/inheritance/IB.sol +0 -10
  383. package/contracts/experiment/inheritance/IC.sol +0 -12
  384. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  385. package/contracts/experiment/statemachine/ISM.sol +0 -25
  386. package/contracts/experiment/statemachine/SM.sol +0 -57
  387. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  388. package/contracts/experiment/types/TypeA.sol +0 -47
  389. package/contracts/experiment/types/TypeB.sol +0 -29
  390. package/contracts/instance/AccessManagedSimple.sol +0 -115
  391. package/contracts/instance/AccessManagerSimple.sol +0 -692
  392. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  393. package/contracts/instance/base/ComponentServiceBase.sol +0 -134
  394. package/contracts/instance/base/IInstanceBase.sol +0 -23
  395. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  396. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  397. package/contracts/shared/RegisterableUpgradable.sol +0 -16
@@ -5,184 +5,647 @@
5
5
  "abi": [
6
6
  {
7
7
  "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "caller",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "address",
48
+ "name": "component",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "ErrorComponentServiceComponentLocked",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "address",
59
+ "name": "component",
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"
71
+ }
72
+ ],
73
+ "name": "ErrorComponentServiceComponentTypeInvalid",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [
78
+ {
79
+ "internalType": "NftId",
80
+ "name": "instanceNftId",
81
+ "type": "uint96"
82
+ },
83
+ {
84
+ "internalType": "RoleId",
85
+ "name": "requiredRole",
86
+ "type": "uint64"
87
+ },
88
+ {
89
+ "internalType": "address",
90
+ "name": "sender",
91
+ "type": "address"
92
+ }
93
+ ],
94
+ "name": "ErrorComponentServiceExpectedRoleMissing",
95
+ "type": "error"
96
+ },
97
+ {
98
+ "inputs": [
99
+ {
100
+ "internalType": "address",
101
+ "name": "component",
102
+ "type": "address"
103
+ },
104
+ {
105
+ "internalType": "ObjectType",
106
+ "name": "requiredType",
107
+ "type": "uint8"
108
+ },
8
109
  {
9
110
  "internalType": "ObjectType",
10
111
  "name": "componentType",
11
112
  "type": "uint8"
12
113
  }
13
114
  ],
14
- "name": "ComponentTypeInvalid",
115
+ "name": "ErrorComponentServiceInvalidType",
15
116
  "type": "error"
16
117
  },
17
118
  {
18
119
  "inputs": [
19
120
  {
20
121
  "internalType": "address",
21
- "name": "registry",
122
+ "name": "component",
123
+ "type": "address"
124
+ }
125
+ ],
126
+ "name": "ErrorComponentServiceNotComponent",
127
+ "type": "error"
128
+ },
129
+ {
130
+ "inputs": [
131
+ {
132
+ "internalType": "address",
133
+ "name": "component",
22
134
  "type": "address"
23
135
  },
24
136
  {
25
- "internalType": "NftId",
26
- "name": "nftId",
27
- "type": "uint96"
137
+ "internalType": "address",
138
+ "name": "initialOwner",
139
+ "type": "address"
140
+ },
141
+ {
142
+ "internalType": "address",
143
+ "name": "sender",
144
+ "type": "address"
28
145
  }
29
146
  ],
30
- "name": "ErrorAlreadyLinked",
147
+ "name": "ErrorComponentServiceSenderNotOwner",
31
148
  "type": "error"
32
149
  },
33
150
  {
34
151
  "inputs": [
35
152
  {
36
153
  "internalType": "address",
37
- "name": "contractAddress",
154
+ "name": "sender",
38
155
  "type": "address"
39
156
  }
40
157
  ],
41
- "name": "ErrorContractNotRegistered",
158
+ "name": "ErrorComponentServiceSenderNotService",
42
159
  "type": "error"
43
160
  },
44
161
  {
45
162
  "inputs": [
46
163
  {
47
164
  "internalType": "address",
48
- "name": "account",
165
+ "name": "caller",
49
166
  "type": "address"
50
167
  }
51
168
  ],
52
- "name": "ErrorNotOwner",
169
+ "name": "ErrorDistributionServiceCallerNotRegistered",
53
170
  "type": "error"
54
171
  },
55
172
  {
56
173
  "inputs": [
57
174
  {
58
175
  "internalType": "address",
59
- "name": "registryAddress",
176
+ "name": "target",
60
177
  "type": "address"
61
178
  }
62
179
  ],
63
- "name": "ErrorNotRegistry",
180
+ "name": "ErrorIAccessTargetLocked",
64
181
  "type": "error"
65
182
  },
66
183
  {
67
184
  "inputs": [
68
185
  {
69
186
  "internalType": "address",
70
- "name": "registryAddress",
187
+ "name": "caller",
188
+ "type": "address"
189
+ }
190
+ ],
191
+ "name": "ErrorIDistributionServiceCallerNotDistributor",
192
+ "type": "error"
193
+ },
194
+ {
195
+ "inputs": [
196
+ {
197
+ "internalType": "uint256",
198
+ "name": "commissionPercentage",
199
+ "type": "uint256"
200
+ },
201
+ {
202
+ "internalType": "uint256",
203
+ "name": "maxCommissionPercentage",
204
+ "type": "uint256"
205
+ }
206
+ ],
207
+ "name": "ErrorIDistributionServiceCommissionTooHigh",
208
+ "type": "error"
209
+ },
210
+ {
211
+ "inputs": [
212
+ {
213
+ "internalType": "uint256",
214
+ "name": "maxDiscountPercentage",
215
+ "type": "uint256"
216
+ },
217
+ {
218
+ "internalType": "uint256",
219
+ "name": "discountPercentage",
220
+ "type": "uint256"
221
+ }
222
+ ],
223
+ "name": "ErrorIDistributionServiceDiscountTooHigh",
224
+ "type": "error"
225
+ },
226
+ {
227
+ "inputs": [
228
+ {
229
+ "internalType": "uint256",
230
+ "name": "minDiscountPercentage",
231
+ "type": "uint256"
232
+ },
233
+ {
234
+ "internalType": "uint256",
235
+ "name": "discountPercentage",
236
+ "type": "uint256"
237
+ }
238
+ ],
239
+ "name": "ErrorIDistributionServiceDiscountTooLow",
240
+ "type": "error"
241
+ },
242
+ {
243
+ "inputs": [
244
+ {
245
+ "internalType": "Timestamp",
246
+ "name": "expiryAt",
247
+ "type": "uint40"
248
+ }
249
+ ],
250
+ "name": "ErrorIDistributionServiceExpirationInvalid",
251
+ "type": "error"
252
+ },
253
+ {
254
+ "inputs": [
255
+ {
256
+ "internalType": "uint256",
257
+ "name": "maxReferralLifetime",
258
+ "type": "uint256"
259
+ },
260
+ {
261
+ "internalType": "uint256",
262
+ "name": "expiryAt",
263
+ "type": "uint256"
264
+ }
265
+ ],
266
+ "name": "ErrorIDistributionServiceExpiryTooLong",
267
+ "type": "error"
268
+ },
269
+ {
270
+ "inputs": [
271
+ {
272
+ "internalType": "uint256",
273
+ "name": "transferredDistributionFeeAmount",
274
+ "type": "uint256"
275
+ },
276
+ {
277
+ "internalType": "uint256",
278
+ "name": "expectedDistributionFeeAmount",
279
+ "type": "uint256"
280
+ }
281
+ ],
282
+ "name": "ErrorIDistributionServiceInvalidFeeTransferred",
283
+ "type": "error"
284
+ },
285
+ {
286
+ "inputs": [
287
+ {
288
+ "internalType": "string",
289
+ "name": "code",
290
+ "type": "string"
291
+ }
292
+ ],
293
+ "name": "ErrorIDistributionServiceInvalidReferral",
294
+ "type": "error"
295
+ },
296
+ {
297
+ "inputs": [
298
+ {
299
+ "internalType": "ReferralId",
300
+ "name": "referralId",
301
+ "type": "bytes8"
302
+ }
303
+ ],
304
+ "name": "ErrorIDistributionServiceInvalidReferralId",
305
+ "type": "error"
306
+ },
307
+ {
308
+ "inputs": [
309
+ {
310
+ "internalType": "uint256",
311
+ "name": "maxDiscountPercentage",
312
+ "type": "uint256"
313
+ },
314
+ {
315
+ "internalType": "uint256",
316
+ "name": "limit",
317
+ "type": "uint256"
318
+ }
319
+ ],
320
+ "name": "ErrorIDistributionServiceMaxDiscountTooHigh",
321
+ "type": "error"
322
+ },
323
+ {
324
+ "inputs": [
325
+ {
326
+ "internalType": "uint256",
327
+ "name": "maxReferrals",
328
+ "type": "uint256"
329
+ }
330
+ ],
331
+ "name": "ErrorIDistributionServiceMaxReferralsExceeded",
332
+ "type": "error"
333
+ },
334
+ {
335
+ "inputs": [
336
+ {
337
+ "internalType": "uint256",
338
+ "name": "minFee",
339
+ "type": "uint256"
340
+ },
341
+ {
342
+ "internalType": "uint256",
343
+ "name": "limit",
344
+ "type": "uint256"
345
+ }
346
+ ],
347
+ "name": "ErrorIDistributionServiceMinFeeTooHigh",
348
+ "type": "error"
349
+ },
350
+ {
351
+ "inputs": [
352
+ {
353
+ "internalType": "NftId",
354
+ "name": "nftId",
355
+ "type": "uint96"
356
+ },
357
+ {
358
+ "internalType": "NftId",
359
+ "name": "parentNftId",
360
+ "type": "uint96"
361
+ }
362
+ ],
363
+ "name": "ErrorIDistributionServiceParentNftIdNotInstance",
364
+ "type": "error"
365
+ },
366
+ {
367
+ "inputs": [
368
+ {
369
+ "internalType": "NftId",
370
+ "name": "distributionNftId",
371
+ "type": "uint96"
372
+ },
373
+ {
374
+ "internalType": "ReferralId",
375
+ "name": "referralId",
376
+ "type": "bytes8"
377
+ }
378
+ ],
379
+ "name": "ErrorIDistributionServiceReferralInvalid",
380
+ "type": "error"
381
+ },
382
+ {
383
+ "inputs": [
384
+ {
385
+ "internalType": "NftId",
386
+ "name": "nftId",
387
+ "type": "uint96"
388
+ }
389
+ ],
390
+ "name": "ErrorNftOwnableAlreadyLinked",
391
+ "type": "error"
392
+ },
393
+ {
394
+ "inputs": [
395
+ {
396
+ "internalType": "address",
397
+ "name": "contractAddress",
71
398
  "type": "address"
72
399
  }
73
400
  ],
74
- "name": "ErrorRegisterableNotRegistry",
401
+ "name": "ErrorNftOwnableContractNotRegistered",
75
402
  "type": "error"
76
403
  },
77
404
  {
78
405
  "inputs": [],
79
- "name": "ErrorRegistryAddressZero",
406
+ "name": "ErrorNftOwnableInitialOwnerZero",
80
407
  "type": "error"
81
408
  },
82
409
  {
83
410
  "inputs": [
84
411
  {
85
412
  "internalType": "address",
86
- "name": "registry",
413
+ "name": "account",
87
414
  "type": "address"
88
415
  }
89
416
  ],
90
- "name": "ErrorRegistryAlreadyInitialized",
417
+ "name": "ErrorNftOwnableNotOwner",
418
+ "type": "error"
419
+ },
420
+ {
421
+ "inputs": [
422
+ {
423
+ "internalType": "address",
424
+ "name": "registryAddress",
425
+ "type": "address"
426
+ }
427
+ ],
428
+ "name": "ErrorNotRegistry",
91
429
  "type": "error"
92
430
  },
93
431
  {
94
432
  "inputs": [],
95
- "name": "ErrorRegistryNotInitialized",
433
+ "name": "InvalidInitialization",
96
434
  "type": "error"
97
435
  },
98
436
  {
437
+ "inputs": [],
438
+ "name": "NotInitializing",
439
+ "type": "error"
440
+ },
441
+ {
442
+ "anonymous": false,
99
443
  "inputs": [
100
444
  {
101
- "internalType": "RoleId",
102
- "name": "expected",
445
+ "indexed": false,
446
+ "internalType": "address",
447
+ "name": "authority",
448
+ "type": "address"
449
+ }
450
+ ],
451
+ "name": "AuthorityUpdated",
452
+ "type": "event"
453
+ },
454
+ {
455
+ "anonymous": false,
456
+ "inputs": [
457
+ {
458
+ "indexed": false,
459
+ "internalType": "uint64",
460
+ "name": "version",
103
461
  "type": "uint64"
104
- },
462
+ }
463
+ ],
464
+ "name": "Initialized",
465
+ "type": "event"
466
+ },
467
+ {
468
+ "inputs": [],
469
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
470
+ "outputs": [
471
+ {
472
+ "internalType": "bytes32",
473
+ "name": "",
474
+ "type": "bytes32"
475
+ }
476
+ ],
477
+ "stateMutability": "view",
478
+ "type": "function"
479
+ },
480
+ {
481
+ "inputs": [],
482
+ "name": "REGISTERABLE_LOCATION_V1",
483
+ "outputs": [
484
+ {
485
+ "internalType": "bytes32",
486
+ "name": "",
487
+ "type": "bytes32"
488
+ }
489
+ ],
490
+ "stateMutability": "view",
491
+ "type": "function"
492
+ },
493
+ {
494
+ "inputs": [],
495
+ "name": "authority",
496
+ "outputs": [
105
497
  {
106
498
  "internalType": "address",
107
- "name": "caller",
499
+ "name": "",
108
500
  "type": "address"
109
501
  }
110
502
  ],
111
- "name": "ExpectedRoleMissing",
112
- "type": "error"
113
- },
114
- {
115
- "inputs": [],
116
- "name": "InvalidInitialization",
117
- "type": "error"
118
- },
119
- {
120
- "inputs": [],
121
- "name": "NotInitializing",
122
- "type": "error"
123
- },
124
- {
125
- "anonymous": false,
126
- "inputs": [
503
+ "stateMutability": "view",
504
+ "type": "function"
505
+ },
506
+ {
507
+ "inputs": [
508
+ {
509
+ "internalType": "address",
510
+ "name": "distributor",
511
+ "type": "address"
512
+ },
513
+ {
514
+ "internalType": "DistributorType",
515
+ "name": "distributorType",
516
+ "type": "bytes8"
517
+ },
518
+ {
519
+ "internalType": "bytes",
520
+ "name": "data",
521
+ "type": "bytes"
522
+ }
523
+ ],
524
+ "name": "createDistributor",
525
+ "outputs": [
526
+ {
527
+ "internalType": "NftId",
528
+ "name": "distributorNftId",
529
+ "type": "uint96"
530
+ }
531
+ ],
532
+ "stateMutability": "nonpayable",
533
+ "type": "function"
534
+ },
535
+ {
536
+ "inputs": [
537
+ {
538
+ "internalType": "string",
539
+ "name": "name",
540
+ "type": "string"
541
+ },
542
+ {
543
+ "internalType": "UFixed",
544
+ "name": "minDiscountPercentage",
545
+ "type": "uint256"
546
+ },
547
+ {
548
+ "internalType": "UFixed",
549
+ "name": "maxDiscountPercentage",
550
+ "type": "uint256"
551
+ },
552
+ {
553
+ "internalType": "UFixed",
554
+ "name": "commissionPercentage",
555
+ "type": "uint256"
556
+ },
557
+ {
558
+ "internalType": "uint32",
559
+ "name": "maxReferralCount",
560
+ "type": "uint32"
561
+ },
562
+ {
563
+ "internalType": "uint32",
564
+ "name": "maxReferralLifetime",
565
+ "type": "uint32"
566
+ },
567
+ {
568
+ "internalType": "bool",
569
+ "name": "allowSelfReferrals",
570
+ "type": "bool"
571
+ },
572
+ {
573
+ "internalType": "bool",
574
+ "name": "allowRenewals",
575
+ "type": "bool"
576
+ },
577
+ {
578
+ "internalType": "bytes",
579
+ "name": "data",
580
+ "type": "bytes"
581
+ }
582
+ ],
583
+ "name": "createDistributorType",
584
+ "outputs": [
127
585
  {
128
- "indexed": false,
129
- "internalType": "uint64",
130
- "name": "version",
131
- "type": "uint64"
586
+ "internalType": "DistributorType",
587
+ "name": "distributorType",
588
+ "type": "bytes8"
132
589
  }
133
590
  ],
134
- "name": "Initialized",
135
- "type": "event"
591
+ "stateMutability": "nonpayable",
592
+ "type": "function"
136
593
  },
137
594
  {
138
- "anonymous": false,
139
595
  "inputs": [
140
596
  {
141
- "indexed": false,
142
- "internalType": "Version",
143
- "name": "version",
144
- "type": "uint24"
597
+ "internalType": "NftId",
598
+ "name": "distributorNftId",
599
+ "type": "uint96"
145
600
  },
146
601
  {
147
- "indexed": false,
148
- "internalType": "address",
149
- "name": "implementation",
150
- "type": "address"
602
+ "internalType": "string",
603
+ "name": "code",
604
+ "type": "string"
151
605
  },
152
606
  {
153
- "indexed": false,
154
- "internalType": "address",
155
- "name": "activatedBy",
156
- "type": "address"
607
+ "internalType": "UFixed",
608
+ "name": "discountPercentage",
609
+ "type": "uint256"
610
+ },
611
+ {
612
+ "internalType": "uint32",
613
+ "name": "maxReferrals",
614
+ "type": "uint32"
615
+ },
616
+ {
617
+ "internalType": "Timestamp",
618
+ "name": "expiryAt",
619
+ "type": "uint40"
620
+ },
621
+ {
622
+ "internalType": "bytes",
623
+ "name": "data",
624
+ "type": "bytes"
157
625
  }
158
626
  ],
159
- "name": "LogVersionableInitialized",
160
- "type": "event"
161
- },
162
- {
163
- "inputs": [],
164
- "name": "NAME",
627
+ "name": "createReferral",
165
628
  "outputs": [
166
629
  {
167
- "internalType": "string",
168
- "name": "",
169
- "type": "string"
630
+ "internalType": "ReferralId",
631
+ "name": "referralId",
632
+ "type": "bytes8"
170
633
  }
171
634
  ],
172
- "stateMutability": "view",
635
+ "stateMutability": "nonpayable",
173
636
  "type": "function"
174
637
  },
175
638
  {
176
639
  "inputs": [],
177
- "name": "REGISTERABLE_LOCATION_V1",
640
+ "name": "getDomain",
178
641
  "outputs": [
179
642
  {
180
- "internalType": "bytes32",
643
+ "internalType": "ObjectType",
181
644
  "name": "",
182
- "type": "bytes32"
645
+ "type": "uint8"
183
646
  }
184
647
  ],
185
- "stateMutability": "view",
648
+ "stateMutability": "pure",
186
649
  "type": "function"
187
650
  },
188
651
  {
@@ -228,13 +691,8 @@
228
691
  }
229
692
  ],
230
693
  "internalType": "struct IRegistry.ObjectInfo",
231
- "name": "",
694
+ "name": "info",
232
695
  "type": "tuple"
233
- },
234
- {
235
- "internalType": "bytes",
236
- "name": "data",
237
- "type": "bytes"
238
696
  }
239
697
  ],
240
698
  "stateMutability": "view",
@@ -242,12 +700,12 @@
242
700
  },
243
701
  {
244
702
  "inputs": [],
245
- "name": "getInitializedVersion",
703
+ "name": "getInstanceService",
246
704
  "outputs": [
247
705
  {
248
- "internalType": "uint64",
706
+ "internalType": "contract InstanceService",
249
707
  "name": "",
250
- "type": "uint64"
708
+ "type": "address"
251
709
  }
252
710
  ],
253
711
  "stateMutability": "view",
@@ -255,12 +713,12 @@
255
713
  },
256
714
  {
257
715
  "inputs": [],
258
- "name": "getInstanceService",
716
+ "name": "getNftId",
259
717
  "outputs": [
260
718
  {
261
- "internalType": "contract InstanceService",
719
+ "internalType": "NftId",
262
720
  "name": "",
263
- "type": "address"
721
+ "type": "uint96"
264
722
  }
265
723
  ],
266
724
  "stateMutability": "view",
@@ -268,12 +726,12 @@
268
726
  },
269
727
  {
270
728
  "inputs": [],
271
- "name": "getMajorVersion",
729
+ "name": "getOwner",
272
730
  "outputs": [
273
731
  {
274
- "internalType": "VersionPart",
275
- "name": "majorVersion",
276
- "type": "uint8"
732
+ "internalType": "address",
733
+ "name": "",
734
+ "type": "address"
277
735
  }
278
736
  ],
279
737
  "stateMutability": "view",
@@ -281,25 +739,25 @@
281
739
  },
282
740
  {
283
741
  "inputs": [],
284
- "name": "getName",
742
+ "name": "getRegistry",
285
743
  "outputs": [
286
744
  {
287
- "internalType": "string",
288
- "name": "name",
289
- "type": "string"
745
+ "internalType": "contract IRegistry",
746
+ "name": "",
747
+ "type": "address"
290
748
  }
291
749
  ],
292
- "stateMutability": "pure",
750
+ "stateMutability": "view",
293
751
  "type": "function"
294
752
  },
295
753
  {
296
754
  "inputs": [],
297
- "name": "getNftId",
755
+ "name": "getRegistryAddress",
298
756
  "outputs": [
299
757
  {
300
- "internalType": "NftId",
758
+ "internalType": "address",
301
759
  "name": "",
302
- "type": "uint96"
760
+ "type": "address"
303
761
  }
304
762
  ],
305
763
  "stateMutability": "view",
@@ -307,10 +765,10 @@
307
765
  },
308
766
  {
309
767
  "inputs": [],
310
- "name": "getOwner",
768
+ "name": "getRegistryService",
311
769
  "outputs": [
312
770
  {
313
- "internalType": "address",
771
+ "internalType": "contract IRegistryService",
314
772
  "name": "",
315
773
  "type": "address"
316
774
  }
@@ -320,166 +778,311 @@
320
778
  },
321
779
  {
322
780
  "inputs": [],
323
- "name": "getRegistry",
781
+ "name": "getVersion",
324
782
  "outputs": [
325
783
  {
326
- "internalType": "contract IRegistry",
784
+ "internalType": "Version",
327
785
  "name": "",
328
- "type": "address"
786
+ "type": "uint24"
329
787
  }
330
788
  ],
331
- "stateMutability": "view",
789
+ "stateMutability": "pure",
332
790
  "type": "function"
333
791
  },
334
792
  {
335
793
  "inputs": [],
336
- "name": "getRegistryService",
337
- "outputs": [
794
+ "name": "initializeERC165",
795
+ "outputs": [],
796
+ "stateMutability": "nonpayable",
797
+ "type": "function"
798
+ },
799
+ {
800
+ "inputs": [
338
801
  {
339
- "internalType": "contract IRegistryService",
340
- "name": "",
802
+ "internalType": "address",
803
+ "name": "initialOwner",
804
+ "type": "address"
805
+ },
806
+ {
807
+ "internalType": "address",
808
+ "name": "registryAddress",
341
809
  "type": "address"
342
810
  }
343
811
  ],
344
- "stateMutability": "view",
812
+ "name": "initializeNftOwnable",
813
+ "outputs": [],
814
+ "stateMutability": "nonpayable",
345
815
  "type": "function"
346
816
  },
347
817
  {
348
- "inputs": [],
349
- "name": "getVersion",
350
- "outputs": [
818
+ "inputs": [
351
819
  {
352
- "internalType": "Version",
353
- "name": "",
354
- "type": "uint24"
820
+ "internalType": "address",
821
+ "name": "registryAddress",
822
+ "type": "address"
823
+ },
824
+ {
825
+ "internalType": "NftId",
826
+ "name": "parentNftId",
827
+ "type": "uint96"
828
+ },
829
+ {
830
+ "internalType": "ObjectType",
831
+ "name": "objectType",
832
+ "type": "uint8"
833
+ },
834
+ {
835
+ "internalType": "bool",
836
+ "name": "isInterceptor",
837
+ "type": "bool"
838
+ },
839
+ {
840
+ "internalType": "address",
841
+ "name": "initialOwner",
842
+ "type": "address"
843
+ },
844
+ {
845
+ "internalType": "bytes",
846
+ "name": "registryData",
847
+ "type": "bytes"
355
848
  }
356
849
  ],
357
- "stateMutability": "pure",
850
+ "name": "initializeRegisterable",
851
+ "outputs": [],
852
+ "stateMutability": "nonpayable",
358
853
  "type": "function"
359
854
  },
360
855
  {
361
856
  "inputs": [
362
857
  {
363
- "internalType": "uint256",
364
- "name": "idx",
365
- "type": "uint256"
858
+ "internalType": "address",
859
+ "name": "registryAddress",
860
+ "type": "address"
366
861
  }
367
862
  ],
368
- "name": "getVersion",
369
- "outputs": [
863
+ "name": "initializeRegistryLinked",
864
+ "outputs": [],
865
+ "stateMutability": "nonpayable",
866
+ "type": "function"
867
+ },
868
+ {
869
+ "inputs": [
370
870
  {
371
- "internalType": "Version",
372
- "name": "",
373
- "type": "uint24"
871
+ "internalType": "address",
872
+ "name": "registry",
873
+ "type": "address"
874
+ },
875
+ {
876
+ "internalType": "address",
877
+ "name": "authority",
878
+ "type": "address"
879
+ },
880
+ {
881
+ "internalType": "address",
882
+ "name": "initialOwner",
883
+ "type": "address"
374
884
  }
375
885
  ],
376
- "stateMutability": "view",
886
+ "name": "initializeService",
887
+ "outputs": [],
888
+ "stateMutability": "nonpayable",
889
+ "type": "function"
890
+ },
891
+ {
892
+ "inputs": [
893
+ {
894
+ "internalType": "address",
895
+ "name": "activatedBy",
896
+ "type": "address"
897
+ },
898
+ {
899
+ "internalType": "bytes",
900
+ "name": "data",
901
+ "type": "bytes"
902
+ }
903
+ ],
904
+ "name": "initializeVersionable",
905
+ "outputs": [],
906
+ "stateMutability": "nonpayable",
377
907
  "type": "function"
378
908
  },
379
909
  {
380
910
  "inputs": [],
381
- "name": "getVersionCount",
911
+ "name": "isConsumingScheduledOp",
382
912
  "outputs": [
383
913
  {
384
- "internalType": "uint256",
914
+ "internalType": "bytes4",
385
915
  "name": "",
386
- "type": "uint256"
916
+ "type": "bytes4"
387
917
  }
388
918
  ],
389
919
  "stateMutability": "view",
390
920
  "type": "function"
391
921
  },
922
+ {
923
+ "inputs": [],
924
+ "name": "linkToRegisteredNftId",
925
+ "outputs": [],
926
+ "stateMutability": "nonpayable",
927
+ "type": "function"
928
+ },
392
929
  {
393
930
  "inputs": [
394
931
  {
395
- "internalType": "Version",
396
- "name": "_version",
397
- "type": "uint24"
398
- }
399
- ],
400
- "name": "getVersionInfo",
401
- "outputs": [
932
+ "internalType": "NftId",
933
+ "name": "distributionNftId",
934
+ "type": "uint96"
935
+ },
936
+ {
937
+ "internalType": "ReferralId",
938
+ "name": "referralId",
939
+ "type": "bytes8"
940
+ },
402
941
  {
403
942
  "components": [
404
943
  {
405
- "internalType": "Version",
406
- "name": "version",
407
- "type": "uint24"
944
+ "internalType": "uint256",
945
+ "name": "netPremiumAmount",
946
+ "type": "uint256"
947
+ },
948
+ {
949
+ "internalType": "uint256",
950
+ "name": "fullPremiumAmount",
951
+ "type": "uint256"
952
+ },
953
+ {
954
+ "internalType": "uint256",
955
+ "name": "premiumAmount",
956
+ "type": "uint256"
957
+ },
958
+ {
959
+ "internalType": "uint256",
960
+ "name": "productFeeFixAmount",
961
+ "type": "uint256"
962
+ },
963
+ {
964
+ "internalType": "uint256",
965
+ "name": "poolFeeFixAmount",
966
+ "type": "uint256"
967
+ },
968
+ {
969
+ "internalType": "uint256",
970
+ "name": "bundleFeeFixAmount",
971
+ "type": "uint256"
972
+ },
973
+ {
974
+ "internalType": "uint256",
975
+ "name": "distributionFeeFixAmount",
976
+ "type": "uint256"
408
977
  },
409
978
  {
410
- "internalType": "address",
411
- "name": "implementation",
412
- "type": "address"
979
+ "internalType": "uint256",
980
+ "name": "productFeeVarAmount",
981
+ "type": "uint256"
413
982
  },
414
983
  {
415
- "internalType": "address",
416
- "name": "activatedBy",
417
- "type": "address"
984
+ "internalType": "uint256",
985
+ "name": "poolFeeVarAmount",
986
+ "type": "uint256"
987
+ },
988
+ {
989
+ "internalType": "uint256",
990
+ "name": "bundleFeeVarAmount",
991
+ "type": "uint256"
992
+ },
993
+ {
994
+ "internalType": "uint256",
995
+ "name": "distributionFeeVarAmount",
996
+ "type": "uint256"
997
+ },
998
+ {
999
+ "internalType": "uint256",
1000
+ "name": "distributionOwnerFeeFixAmount",
1001
+ "type": "uint256"
1002
+ },
1003
+ {
1004
+ "internalType": "uint256",
1005
+ "name": "distributionOwnerFeeVarAmount",
1006
+ "type": "uint256"
418
1007
  },
419
1008
  {
420
- "internalType": "Timestamp",
421
- "name": "activatedAt",
422
- "type": "uint40"
1009
+ "internalType": "uint256",
1010
+ "name": "commissionAmount",
1011
+ "type": "uint256"
423
1012
  },
424
1013
  {
425
- "internalType": "Blocknumber",
426
- "name": "activatedIn",
427
- "type": "uint32"
1014
+ "internalType": "uint256",
1015
+ "name": "discountAmount",
1016
+ "type": "uint256"
428
1017
  }
429
1018
  ],
430
- "internalType": "struct IVersionable.VersionInfo",
431
- "name": "",
1019
+ "internalType": "struct IPolicy.Premium",
1020
+ "name": "premium",
432
1021
  "type": "tuple"
1022
+ },
1023
+ {
1024
+ "internalType": "uint256",
1025
+ "name": "transferredDistributionFeeAmount",
1026
+ "type": "uint256"
433
1027
  }
434
1028
  ],
435
- "stateMutability": "view",
1029
+ "name": "processSale",
1030
+ "outputs": [],
1031
+ "stateMutability": "nonpayable",
436
1032
  "type": "function"
437
1033
  },
438
1034
  {
439
1035
  "inputs": [
440
1036
  {
441
- "internalType": "address",
442
- "name": "implementation",
443
- "type": "address"
1037
+ "internalType": "NftId",
1038
+ "name": "distributionNftId",
1039
+ "type": "uint96"
444
1040
  },
445
1041
  {
446
- "internalType": "address",
447
- "name": "activatedBy",
448
- "type": "address"
449
- },
1042
+ "internalType": "ReferralId",
1043
+ "name": "referralId",
1044
+ "type": "bytes8"
1045
+ }
1046
+ ],
1047
+ "name": "referralIsValid",
1048
+ "outputs": [
450
1049
  {
451
- "internalType": "bytes",
452
- "name": "data",
453
- "type": "bytes"
1050
+ "internalType": "bool",
1051
+ "name": "isValid",
1052
+ "type": "bool"
454
1053
  }
455
1054
  ],
456
- "name": "initialize",
457
- "outputs": [],
458
- "stateMutability": "nonpayable",
1055
+ "stateMutability": "view",
459
1056
  "type": "function"
460
1057
  },
461
1058
  {
462
1059
  "inputs": [
463
1060
  {
464
- "internalType": "Version",
465
- "name": "_version",
466
- "type": "uint24"
1061
+ "internalType": "address",
1062
+ "name": "distributionAddress",
1063
+ "type": "address"
467
1064
  }
468
1065
  ],
469
- "name": "isInitialized",
1066
+ "name": "register",
470
1067
  "outputs": [
471
1068
  {
472
- "internalType": "bool",
473
- "name": "",
474
- "type": "bool"
1069
+ "internalType": "NftId",
1070
+ "name": "distributionNftId",
1071
+ "type": "uint96"
475
1072
  }
476
1073
  ],
477
- "stateMutability": "view",
1074
+ "stateMutability": "nonpayable",
478
1075
  "type": "function"
479
1076
  },
480
1077
  {
481
- "inputs": [],
482
- "name": "linkToRegisteredNftId",
1078
+ "inputs": [
1079
+ {
1080
+ "internalType": "bytes4",
1081
+ "name": "interfaceId",
1082
+ "type": "bytes4"
1083
+ }
1084
+ ],
1085
+ "name": "registerInterface",
483
1086
  "outputs": [],
484
1087
  "stateMutability": "nonpayable",
485
1088
  "type": "function"
@@ -488,23 +1091,34 @@
488
1091
  "inputs": [
489
1092
  {
490
1093
  "internalType": "address",
491
- "name": "componentAddress",
1094
+ "name": "newAuthority",
492
1095
  "type": "address"
493
1096
  }
494
1097
  ],
495
- "name": "register",
496
- "outputs": [
497
- {
498
- "internalType": "NftId",
499
- "name": "componentNftId",
500
- "type": "uint96"
501
- }
502
- ],
1098
+ "name": "setAuthority",
1099
+ "outputs": [],
503
1100
  "stateMutability": "nonpayable",
504
1101
  "type": "function"
505
1102
  },
506
1103
  {
507
1104
  "inputs": [
1105
+ {
1106
+ "components": [
1107
+ {
1108
+ "internalType": "UFixed",
1109
+ "name": "fractionalFee",
1110
+ "type": "uint256"
1111
+ },
1112
+ {
1113
+ "internalType": "uint256",
1114
+ "name": "fixedFee",
1115
+ "type": "uint256"
1116
+ }
1117
+ ],
1118
+ "internalType": "struct Fee",
1119
+ "name": "minDistributionOwnerFee",
1120
+ "type": "tuple"
1121
+ },
508
1122
  {
509
1123
  "components": [
510
1124
  {
@@ -550,14 +1164,14 @@
550
1164
  {
551
1165
  "inputs": [
552
1166
  {
553
- "internalType": "address",
554
- "name": "implementation",
555
- "type": "address"
1167
+ "internalType": "NftId",
1168
+ "name": "distributorNftId",
1169
+ "type": "uint96"
556
1170
  },
557
1171
  {
558
- "internalType": "address",
559
- "name": "activatedBy",
560
- "type": "address"
1172
+ "internalType": "DistributorType",
1173
+ "name": "distributorType",
1174
+ "type": "bytes8"
561
1175
  },
562
1176
  {
563
1177
  "internalType": "bytes",
@@ -565,20 +1179,33 @@
565
1179
  "type": "bytes"
566
1180
  }
567
1181
  ],
568
- "name": "upgrade",
1182
+ "name": "updateDistributorType",
1183
+ "outputs": [],
1184
+ "stateMutability": "nonpayable",
1185
+ "type": "function"
1186
+ },
1187
+ {
1188
+ "inputs": [
1189
+ {
1190
+ "internalType": "bytes",
1191
+ "name": "data",
1192
+ "type": "bytes"
1193
+ }
1194
+ ],
1195
+ "name": "upgradeVersionable",
569
1196
  "outputs": [],
570
1197
  "stateMutability": "nonpayable",
571
1198
  "type": "function"
572
1199
  }
573
1200
  ],
574
- "bytecode": "0x60806040523480156200001157600080fd5b50620000546301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600280546001600160a01b031916331790556200007062000076565b6200012a565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000c75760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001275780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b612c97806200013a6000396000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c8063644c45e0116100b8578063b3c650151161007c578063b3c650151461044d578063b88da7591461046d578063caf4e3d414610480578063cc9fc59a14610488578063cde749f414610490578063cf7a1d77146104aa57600080fd5b8063644c45e0146103c1578063893d20e8146103d9578063946dfcfe146103e1578063a3f4df7e14610408578063a745e3df1461043a57600080fd5b80631eff4b221161010a5780631eff4b22146101fd5780633f52c0f6146102325780634420e486146102455780634d459c90146102705780634f421333146103895780635ab1bd531461039c57600080fd5b806301ffc9a7146101475780630d8e6e2c146101895780630fec111c146101a5578063138461e0146101bb57806317d7de7c146101c5575b600080fd5b6101746101553660046122ec565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101916104bd565b60405162ffffff9091168152602001610180565b6101ad610547565b60405161018092919061236d565b6101c361069a565b005b604080518082019091526013815272446973747269627574696f6e5365727669636560681b60208201525b6040516101809190612414565b6102247f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610180565b6101c36102403660046124b7565b6108bc565b6102586102533660046124fe565b610a1f565b6040516001600160601b039091168152602001610180565b61032c61027e36600461252c565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020612c4283398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610180565b61017461039736600461252c565b610d86565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610180565b600154600160a01b90046001600160601b0316610258565b6103a9610e39565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed90154610224565b6101f060405180604001604052806013815260200172446973747269627574696f6e5365727669636560681b81525081565b6101c3610448366004612570565b610f53565b6104556110ad565b6040516001600160401b039091168152602001610180565b61019161047b366004612614565b6110ce565b6103a961111f565b6103a96111da565b610498611252565b60405160ff9091168152602001610180565b6101c36104b8366004612570565b6112d5565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561051e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610542919061262d565b905090565b61054f6122ae565b606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528061059b6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016105e3610e39565b6001600160a01b031681526020018260010180546106009061264a565b80601f016020809104026020016040519081016040528092919081815260200182805461062c9061264a565b80156106795780601f1061064e57610100808354040283529160200191610679565b820191906000526020600020905b81548152906001019060200180831161065c57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156106fc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107209190612699565b15610767576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166107905760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156107d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107fd9190612699565b610825576040516372657a5160e01b81526001600160a01b038216600482015260240161075e565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa15801561086f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089391906126cb565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b6000806108c960786113de565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561090d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061093191906126e6565b8351604051639ad69c6760e01b81526001600160601b0382166004820152919250906000906001600160a01b03841690639ad69c679060240160c060405180830381865afa158015610987573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ab919061270e565b60408181018890525163bd5947e360e01b81529091506001600160a01b0385169063bd5947e3906109e5908590859060ff90600401612818565b600060405180830381600087803b1580156109ff57600080fd5b505af1158015610a13573d6000803e3d6000fd5b50505050505050505050565b6000818082610a2d8261169c565b60ff8116600090815260036020908152604080832054815163379ed74560e21b815291519495506001600160401b0316933393926001600160a01b0388169263de7b5d1492600480830193928290030181865afa158015610a92573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ab691906126e6565b9050610ac06111da565b6001600160a01b0316639c12c9c78385846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b3291906126cb565b6040516001600160e01b031960e086901b1681526001600160a01b0390931660048401526001600160401b0390911660248301526001600160601b03166044820152606401602060405180830381865afa158015610b94573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bb89190612699565b610bef576040516351302f8160e01b81526001600160401b03841660048201526001600160a01b038316602482015260440161075e565b33886000610bfc8261169c565b90506000610c0861111f565b9050610c126122ae565b6060610c268460785b60ff90811691161490565b15610cae57604051638fbc2d8160e01b81526001600160a01b0386811660048301528781166024830152841690638fbc2d81906044015b6000604051808303816000875af1158015610c7c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ca4919081019061295b565b9092509050610d58565b610cb984606e610c1b565b15610cf457604051635d96628960e01b81526001600160a01b0386811660048301528781166024830152841690635d96628990604401610c5d565b610cff84608c610c1b565b15610d3a57604051637286e5e560e01b81526001600160a01b0386811660048301528781166024830152841690637286e5e590604401610c5d565b60405163062839b560e01b815260ff8516600482015260240161075e565b81519c506000610d6783611711565b9050610d748e83836117b3565b50505050505050505050505050919050565b600080600080516020612c4283398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610e0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3291906129be565b1192915050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610e9e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ec29190612699565b15610f4357600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a906024015b602060405180830381865afa158015610f1f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054291906126e6565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610f756104bd565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610fb5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd991906129ec565b600080516020612c228339815191528054600160401b900460ff168061100c575080546001600160401b03808416911610155b1561102a5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556110558585611828565b61105e83611ac7565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b6000610542600080516020612c22833981519152546001600160401b031690565b6000600080516020612c4283398151915260010182815481106110f3576110f3612a09565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000806111346001546001600160a01b031690565b6001600160a01b031663a3bcd81d61114a611252565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa1580156111b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d491906126e6565b92915050565b60006111ee6001546001600160a01b031690565b6001600160a01b031663a3bcd81d611204611252565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e496e7374616e63655365727669636560881b606482015260ff9091166024820152608401610f02565b600061125c6104bd565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156112b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105429190612a1f565b600080516020612c228339815191528054600160401b810460ff1615906001600160401b03166000811580156113085750825b90506000826001600160401b031660011480156113245750303b155b905081158015611332575080155b156113505760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561137a57845460ff60401b1916600160401b1785555b6113848888611828565b61138e8787611acf565b83156113d457845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6113e66122ae565b600154604051636939560f60e11b815233600482015260009182916001600160a01b039091169063d272ac1e90602401602060405180830381865afa158015611433573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061145791906126cb565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156114b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114d69190612699565b6115225760405162461bcd60e51b815260206004820152601760248201527f4552524f525f434f4d504f4e454e545f554e4b4e4f574e000000000000000000604482015260640161075e565b6001546001600160a01b03166040516305247a1760e51b81526001600160601b03831660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801561157d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115a59190810190612a3c565b92506115bb83604001518560ff90811691161490565b6115fd5760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b604482015260640161075e565b60006116116001546001600160a01b031690565b60208501516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611666573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261168e9190810190612a3c565b608001519395939450505050565b600080826001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156116dd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611705919081019061295b565b50604001519392505050565b6000806117266001546001600160a01b031690565b60208401516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa15801561177f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526117a79190810190612a3c565b60800151949350505050565b6000828060200190518101906117c9919061270e565b604051630b24cf5f60e01b81529091506001600160a01b03831690630b24cf5f906117fa9087908590600401612a70565b600060405180830381600087803b15801561181457600080fd5b505af11580156113d4573d6000803e3d6000fd5b611830611c25565b600080516020612c428339815191526000611860600080516020612c22833981519152546001600160401b031690565b9050600061186c6104bd565b9050816001600160401b03166001036118995760028301805462ffffff191662ffffff83161790556118e7565b600283015462ffffff908116908216116118e75760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b604482015260640161075e565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af415801561199b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119bf9190612a8d565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf689061109e9083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b610142611c25565b600080516020612c228339815191528054600160401b810460ff1615906001600160401b0316600081158015611b025750825b90506000826001600160401b03166001148015611b1e5750303b155b905081158015611b2c575080155b15611b4a5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611b7457845460ff60401b1916600160401b1785555b600086806020019051810190611b8a9190612ab4565b600480546001600160a01b039093166001600160a01b0319909316831790559150611bb59089611c5e565b611bc5631b4612f160e31b611db4565b611bd5631fa9607b60e11b611db4565b508315611c1c57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b600080516020612c2283398151915254600160401b900460ff16611c5c57604051631afcd79f60e31b815260040160405180910390fd5b565b611c688282611dd9565b611c70611e6a565b606e60005260036020527f0de2b21138735878e0660eef23d1131fad23d66157bfa1c473a82b60c5169926805467ffffffffffffffff19166001600160401b0392909216919091179055611cc2611ee3565b608c60005260036020527f83339eadc78535e76a031a9a544cf6fa252296becf88992d49fad5f832544a38805467ffffffffffffffff19166001600160401b0392909216919091179055611d14611f1f565b607860005260036020527fe372c44748f4c2908ae7c0a1dc553464478b0394f70953faecd55173b039317c805467ffffffffffffffff19166001600160401b0392909216919091179055611d66611f5a565b608260005260036020527fc3d073881ce0daff4d900012573fe3b8d5b283519b2f509e59d1b978e7cf0fc5805467ffffffffffffffff19166001600160401b03929092169190911790555050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6000611e0b604080518082019091526013815272446973747269627574696f6e5365727669636560681b602082015290565b611e13611252565b604051602001611e24929190612aee565b60405160208183030381529060405290506000611e4084611f95565b90506000611e538583603c848888612000565b611e63631b4612f160e31b611db4565b5050505050565b6040516368aebf7b60e01b8152610190600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015611ebf573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054291906129ec565b6040516368aebf7b60e01b815261012c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401611ea2565b6040516368aebf7b60e01b81526064600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401611ea2565b6040516368aebf7b60e01b815260c8600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401611ea2565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015611fdc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d491906126cb565b6120416301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61204b82876120cc565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016120bb8382612b62565b50611c1c6303fb044760e21b611db4565b6001600160a01b0382166121225760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e657220697320300000604482015260640161075e565b600280546001600160a01b0319166001600160a01b0384161790556121468161214a565b5050565b6001546001600160a01b0316156121835760015460405163fcdbf2d960e01b81526001600160a01b03909116600482015260240161075e565b6001600160a01b0381166121aa5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036121e05760405163fdeac91f60e01b81526001600160a01b038216600482015260240161075e565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632eaf856d60e11b60048201526301ffc9a790602401602060405180830381865afa92505050801561225a575060408051601f3d908101601f1916820190925261225791810190612699565b60015b6122825760405163fdeac91f60e01b81526001600160a01b038216600482015260240161075e565b806121465760405163fdeac91f60e01b81526001600160a01b038316600482015260240161075e565b50565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6000602082840312156122fe57600080fd5b81356001600160e01b03198116811461231657600080fd5b9392505050565b60005b83811015612338578181015183820152602001612320565b50506000910152565b6000815180845261235981602086016020860161231d565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff604085015116608083015260608401516123b160a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e06101008401526123f7610120840182612341565b9050828103602084015261240b8185612341565b95945050505050565b6020815260006123166020830184612341565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b038111828210171561245f5761245f612427565b60405290565b60405160e081016001600160401b038111828210171561245f5761245f612427565b604051601f8201601f191681016001600160401b03811182821017156124af576124af612427565b604052919050565b6000604082840312156124c957600080fd5b6124d161243d565b82358152602083013560208201528091505092915050565b6001600160a01b03811681146122ab57600080fd5b60006020828403121561251057600080fd5b8135612316816124e9565b62ffffff811681146122ab57600080fd5b60006020828403121561253e57600080fd5b81356123168161251b565b60006001600160401b0382111561256257612562612427565b50601f01601f191660200190565b60008060006060848603121561258557600080fd5b8335612590816124e9565b925060208401356125a0816124e9565b915060408401356001600160401b038111156125bb57600080fd5b8401601f810186136125cc57600080fd5b80356125df6125da82612549565b612487565b8181528760208385010111156125f457600080fd5b816020840160208301376000602083830101528093505050509250925092565b60006020828403121561262657600080fd5b5035919050565b60006020828403121561263f57600080fd5b81516123168161251b565b600181811c9082168061265e57607f821691505b60208210810361267e57634e487b7160e01b600052602260045260246000fd5b50919050565b8051801515811461269457600080fd5b919050565b6000602082840312156126ab57600080fd5b61231682612684565b80516001600160601b038116811461269457600080fd5b6000602082840312156126dd57600080fd5b612316826126b4565b6000602082840312156126f857600080fd5b8151612316816124e9565b8051612694816124e9565b600081830360c081121561272157600080fd5b60405160a081018181106001600160401b038211171561274357612743612427565b60405261274f846126b4565b8152602084015161275f816124e9565b60208201526040603f198301121561277657600080fd5b61277e61243d565b915060408401518252606084015160208301528160408201526127a360808501612684565b60608201526127b460a08501612703565b6080820152949350505050565b6001600160601b038151168252602081015160018060a01b0380821660208501526040830151915081516040850152602082015160608501526060830151151560808501528060808401511660a085015250505050565b6001600160601b0384168152610100810161283660208301856127c1565b60ff831660e0830152949350505050565b60ff811681146122ab57600080fd5b805161269481612847565b600082601f83011261287257600080fd5b81516128806125da82612549565b81815284602083860101111561289557600080fd5b6128a682602083016020870161231d565b949350505050565b600060e082840312156128c057600080fd5b6128c8612465565b90506128d3826126b4565b81526128e1602083016126b4565b60208201526128f260408301612856565b604082015261290360608301612684565b606082015261291460808301612703565b608082015261292560a08301612703565b60a082015260c08201516001600160401b0381111561294357600080fd5b61294f84828501612861565b60c08301525092915050565b6000806040838503121561296e57600080fd5b82516001600160401b038082111561298557600080fd5b612991868387016128ae565b935060208501519150808211156129a757600080fd5b506129b485828601612861565b9150509250929050565b6000602082840312156129d057600080fd5b5051919050565b6001600160401b03811681146122ab57600080fd5b6000602082840312156129fe57600080fd5b8151612316816129d7565b634e487b7160e01b600052603260045260246000fd5b600060208284031215612a3157600080fd5b815161231681612847565b600060208284031215612a4e57600080fd5b81516001600160401b03811115612a6457600080fd5b6128a6848285016128ae565b6001600160601b038316815260e0810161231660208301846127c1565b600060208284031215612a9f57600080fd5b815164ffffffffff8116811461231657600080fd5b60008060408385031215612ac757600080fd5b8251612ad2816124e9565b6020840151909250612ae3816124e9565b809150509250929050565b604081526000612b016040830185612341565b905060ff831660208301529392505050565b601f821115612b5d57600081815260208120601f850160051c81016020861015612b3a5750805b601f850160051c820191505b81811015612b5957828155600101612b46565b5050505b505050565b81516001600160401b03811115612b7b57612b7b612427565b612b8f81612b89845461264a565b84612b13565b602080601f831160018114612bc45760008415612bac5750858301515b600019600386901b1c1916600185901b178555612b59565b600085815260208120601f198616915b82811015612bf357888601518255948401946001909101908401612bd4565b5085821015612c115787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220f936bbeefcb0f9a50879dcfdeb2e00819d530eb23e42c9b0de2cbfea3f8d183a64736f6c63430008140033",
575
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101425760003560e01c8063644c45e0116100b8578063b3c650151161007c578063b3c650151461044d578063b88da7591461046d578063caf4e3d414610480578063cc9fc59a14610488578063cde749f414610490578063cf7a1d77146104aa57600080fd5b8063644c45e0146103c1578063893d20e8146103d9578063946dfcfe146103e1578063a3f4df7e14610408578063a745e3df1461043a57600080fd5b80631eff4b221161010a5780631eff4b22146101fd5780633f52c0f6146102325780634420e486146102455780634d459c90146102705780634f421333146103895780635ab1bd531461039c57600080fd5b806301ffc9a7146101475780630d8e6e2c146101895780630fec111c146101a5578063138461e0146101bb57806317d7de7c146101c5575b600080fd5b6101746101553660046122ec565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101916104bd565b60405162ffffff9091168152602001610180565b6101ad610547565b60405161018092919061236d565b6101c361069a565b005b604080518082019091526013815272446973747269627574696f6e5365727669636560681b60208201525b6040516101809190612414565b6102247f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610180565b6101c36102403660046124b7565b6108bc565b6102586102533660046124fe565b610a1f565b6040516001600160601b039091168152602001610180565b61032c61027e36600461252c565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020612c4283398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610180565b61017461039736600461252c565b610d86565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610180565b600154600160a01b90046001600160601b0316610258565b6103a9610e39565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed90154610224565b6101f060405180604001604052806013815260200172446973747269627574696f6e5365727669636560681b81525081565b6101c3610448366004612570565b610f53565b6104556110ad565b6040516001600160401b039091168152602001610180565b61019161047b366004612614565b6110ce565b6103a961111f565b6103a96111da565b610498611252565b60405160ff9091168152602001610180565b6101c36104b8366004612570565b6112d5565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561051e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610542919061262d565b905090565b61054f6122ae565b606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528061059b6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016105e3610e39565b6001600160a01b031681526020018260010180546106009061264a565b80601f016020809104026020016040519081016040528092919081815260200182805461062c9061264a565b80156106795780601f1061064e57610100808354040283529160200191610679565b820191906000526020600020905b81548152906001019060200180831161065c57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156106fc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107209190612699565b15610767576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166107905760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156107d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107fd9190612699565b610825576040516372657a5160e01b81526001600160a01b038216600482015260240161075e565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa15801561086f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089391906126cb565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b6000806108c960786113de565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561090d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061093191906126e6565b8351604051639ad69c6760e01b81526001600160601b0382166004820152919250906000906001600160a01b03841690639ad69c679060240160c060405180830381865afa158015610987573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ab919061270e565b60408181018890525163bd5947e360e01b81529091506001600160a01b0385169063bd5947e3906109e5908590859060ff90600401612818565b600060405180830381600087803b1580156109ff57600080fd5b505af1158015610a13573d6000803e3d6000fd5b50505050505050505050565b6000818082610a2d8261169c565b60ff8116600090815260036020908152604080832054815163379ed74560e21b815291519495506001600160401b0316933393926001600160a01b0388169263de7b5d1492600480830193928290030181865afa158015610a92573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ab691906126e6565b9050610ac06111da565b6001600160a01b0316639c12c9c78385846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b3291906126cb565b6040516001600160e01b031960e086901b1681526001600160a01b0390931660048401526001600160401b0390911660248301526001600160601b03166044820152606401602060405180830381865afa158015610b94573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bb89190612699565b610bef576040516351302f8160e01b81526001600160401b03841660048201526001600160a01b038316602482015260440161075e565b33886000610bfc8261169c565b90506000610c0861111f565b9050610c126122ae565b6060610c268460785b60ff90811691161490565b15610cae57604051638fbc2d8160e01b81526001600160a01b0386811660048301528781166024830152841690638fbc2d81906044015b6000604051808303816000875af1158015610c7c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ca4919081019061295b565b9092509050610d58565b610cb984606e610c1b565b15610cf457604051635d96628960e01b81526001600160a01b0386811660048301528781166024830152841690635d96628990604401610c5d565b610cff84608c610c1b565b15610d3a57604051637286e5e560e01b81526001600160a01b0386811660048301528781166024830152841690637286e5e590604401610c5d565b60405163062839b560e01b815260ff8516600482015260240161075e565b81519c506000610d6783611711565b9050610d748e83836117b3565b50505050505050505050505050919050565b600080600080516020612c4283398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610e0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3291906129be565b1192915050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610e9e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ec29190612699565b15610f4357600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a906024015b602060405180830381865afa158015610f1f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054291906126e6565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610f756104bd565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610fb5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd991906129ec565b600080516020612c228339815191528054600160401b900460ff168061100c575080546001600160401b03808416911610155b1561102a5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556110558585611828565b61105e83611ac7565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b6000610542600080516020612c22833981519152546001600160401b031690565b6000600080516020612c4283398151915260010182815481106110f3576110f3612a09565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000806111346001546001600160a01b031690565b6001600160a01b031663a3bcd81d61114a611252565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa1580156111b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d491906126e6565b92915050565b60006111ee6001546001600160a01b031690565b6001600160a01b031663a3bcd81d611204611252565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e496e7374616e63655365727669636560881b606482015260ff9091166024820152608401610f02565b600061125c6104bd565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156112b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105429190612a1f565b600080516020612c228339815191528054600160401b810460ff1615906001600160401b03166000811580156113085750825b90506000826001600160401b031660011480156113245750303b155b905081158015611332575080155b156113505760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561137a57845460ff60401b1916600160401b1785555b6113848888611828565b61138e8787611acf565b83156113d457845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6113e66122ae565b600154604051636939560f60e11b815233600482015260009182916001600160a01b039091169063d272ac1e90602401602060405180830381865afa158015611433573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061145791906126cb565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156114b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114d69190612699565b6115225760405162461bcd60e51b815260206004820152601760248201527f4552524f525f434f4d504f4e454e545f554e4b4e4f574e000000000000000000604482015260640161075e565b6001546001600160a01b03166040516305247a1760e51b81526001600160601b03831660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801561157d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115a59190810190612a3c565b92506115bb83604001518560ff90811691161490565b6115fd5760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b604482015260640161075e565b60006116116001546001600160a01b031690565b60208501516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611666573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261168e9190810190612a3c565b608001519395939450505050565b600080826001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156116dd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611705919081019061295b565b50604001519392505050565b6000806117266001546001600160a01b031690565b60208401516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa15801561177f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526117a79190810190612a3c565b60800151949350505050565b6000828060200190518101906117c9919061270e565b604051630b24cf5f60e01b81529091506001600160a01b03831690630b24cf5f906117fa9087908590600401612a70565b600060405180830381600087803b15801561181457600080fd5b505af11580156113d4573d6000803e3d6000fd5b611830611c25565b600080516020612c428339815191526000611860600080516020612c22833981519152546001600160401b031690565b9050600061186c6104bd565b9050816001600160401b03166001036118995760028301805462ffffff191662ffffff83161790556118e7565b600283015462ffffff908116908216116118e75760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b604482015260640161075e565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af415801561199b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119bf9190612a8d565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf689061109e9083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b610142611c25565b600080516020612c228339815191528054600160401b810460ff1615906001600160401b0316600081158015611b025750825b90506000826001600160401b03166001148015611b1e5750303b155b905081158015611b2c575080155b15611b4a5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611b7457845460ff60401b1916600160401b1785555b600086806020019051810190611b8a9190612ab4565b600480546001600160a01b039093166001600160a01b0319909316831790559150611bb59089611c5e565b611bc5631b4612f160e31b611db4565b611bd5631fa9607b60e11b611db4565b508315611c1c57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b600080516020612c2283398151915254600160401b900460ff16611c5c57604051631afcd79f60e31b815260040160405180910390fd5b565b611c688282611dd9565b611c70611e6a565b606e60005260036020527f0de2b21138735878e0660eef23d1131fad23d66157bfa1c473a82b60c5169926805467ffffffffffffffff19166001600160401b0392909216919091179055611cc2611ee3565b608c60005260036020527f83339eadc78535e76a031a9a544cf6fa252296becf88992d49fad5f832544a38805467ffffffffffffffff19166001600160401b0392909216919091179055611d14611f1f565b607860005260036020527fe372c44748f4c2908ae7c0a1dc553464478b0394f70953faecd55173b039317c805467ffffffffffffffff19166001600160401b0392909216919091179055611d66611f5a565b608260005260036020527fc3d073881ce0daff4d900012573fe3b8d5b283519b2f509e59d1b978e7cf0fc5805467ffffffffffffffff19166001600160401b03929092169190911790555050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6000611e0b604080518082019091526013815272446973747269627574696f6e5365727669636560681b602082015290565b611e13611252565b604051602001611e24929190612aee565b60405160208183030381529060405290506000611e4084611f95565b90506000611e538583603c848888612000565b611e63631b4612f160e31b611db4565b5050505050565b6040516368aebf7b60e01b8152610190600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015611ebf573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054291906129ec565b6040516368aebf7b60e01b815261012c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401611ea2565b6040516368aebf7b60e01b81526064600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401611ea2565b6040516368aebf7b60e01b815260c8600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401611ea2565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015611fdc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d491906126cb565b6120416301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61204b82876120cc565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016120bb8382612b62565b50611c1c6303fb044760e21b611db4565b6001600160a01b0382166121225760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e657220697320300000604482015260640161075e565b600280546001600160a01b0319166001600160a01b0384161790556121468161214a565b5050565b6001546001600160a01b0316156121835760015460405163fcdbf2d960e01b81526001600160a01b03909116600482015260240161075e565b6001600160a01b0381166121aa5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036121e05760405163fdeac91f60e01b81526001600160a01b038216600482015260240161075e565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632eaf856d60e11b60048201526301ffc9a790602401602060405180830381865afa92505050801561225a575060408051601f3d908101601f1916820190925261225791810190612699565b60015b6122825760405163fdeac91f60e01b81526001600160a01b038216600482015260240161075e565b806121465760405163fdeac91f60e01b81526001600160a01b038316600482015260240161075e565b50565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6000602082840312156122fe57600080fd5b81356001600160e01b03198116811461231657600080fd5b9392505050565b60005b83811015612338578181015183820152602001612320565b50506000910152565b6000815180845261235981602086016020860161231d565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff604085015116608083015260608401516123b160a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e06101008401526123f7610120840182612341565b9050828103602084015261240b8185612341565b95945050505050565b6020815260006123166020830184612341565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b038111828210171561245f5761245f612427565b60405290565b60405160e081016001600160401b038111828210171561245f5761245f612427565b604051601f8201601f191681016001600160401b03811182821017156124af576124af612427565b604052919050565b6000604082840312156124c957600080fd5b6124d161243d565b82358152602083013560208201528091505092915050565b6001600160a01b03811681146122ab57600080fd5b60006020828403121561251057600080fd5b8135612316816124e9565b62ffffff811681146122ab57600080fd5b60006020828403121561253e57600080fd5b81356123168161251b565b60006001600160401b0382111561256257612562612427565b50601f01601f191660200190565b60008060006060848603121561258557600080fd5b8335612590816124e9565b925060208401356125a0816124e9565b915060408401356001600160401b038111156125bb57600080fd5b8401601f810186136125cc57600080fd5b80356125df6125da82612549565b612487565b8181528760208385010111156125f457600080fd5b816020840160208301376000602083830101528093505050509250925092565b60006020828403121561262657600080fd5b5035919050565b60006020828403121561263f57600080fd5b81516123168161251b565b600181811c9082168061265e57607f821691505b60208210810361267e57634e487b7160e01b600052602260045260246000fd5b50919050565b8051801515811461269457600080fd5b919050565b6000602082840312156126ab57600080fd5b61231682612684565b80516001600160601b038116811461269457600080fd5b6000602082840312156126dd57600080fd5b612316826126b4565b6000602082840312156126f857600080fd5b8151612316816124e9565b8051612694816124e9565b600081830360c081121561272157600080fd5b60405160a081018181106001600160401b038211171561274357612743612427565b60405261274f846126b4565b8152602084015161275f816124e9565b60208201526040603f198301121561277657600080fd5b61277e61243d565b915060408401518252606084015160208301528160408201526127a360808501612684565b60608201526127b460a08501612703565b6080820152949350505050565b6001600160601b038151168252602081015160018060a01b0380821660208501526040830151915081516040850152602082015160608501526060830151151560808501528060808401511660a085015250505050565b6001600160601b0384168152610100810161283660208301856127c1565b60ff831660e0830152949350505050565b60ff811681146122ab57600080fd5b805161269481612847565b600082601f83011261287257600080fd5b81516128806125da82612549565b81815284602083860101111561289557600080fd5b6128a682602083016020870161231d565b949350505050565b600060e082840312156128c057600080fd5b6128c8612465565b90506128d3826126b4565b81526128e1602083016126b4565b60208201526128f260408301612856565b604082015261290360608301612684565b606082015261291460808301612703565b608082015261292560a08301612703565b60a082015260c08201516001600160401b0381111561294357600080fd5b61294f84828501612861565b60c08301525092915050565b6000806040838503121561296e57600080fd5b82516001600160401b038082111561298557600080fd5b612991868387016128ae565b935060208501519150808211156129a757600080fd5b506129b485828601612861565b9150509250929050565b6000602082840312156129d057600080fd5b5051919050565b6001600160401b03811681146122ab57600080fd5b6000602082840312156129fe57600080fd5b8151612316816129d7565b634e487b7160e01b600052603260045260246000fd5b600060208284031215612a3157600080fd5b815161231681612847565b600060208284031215612a4e57600080fd5b81516001600160401b03811115612a6457600080fd5b6128a6848285016128ae565b6001600160601b038316815260e0810161231660208301846127c1565b600060208284031215612a9f57600080fd5b815164ffffffffff8116811461231657600080fd5b60008060408385031215612ac757600080fd5b8251612ad2816124e9565b6020840151909250612ae3816124e9565b809150509250929050565b604081526000612b016040830185612341565b905060ff831660208301529392505050565b601f821115612b5d57600081815260208120601f850160051c81016020861015612b3a5750805b601f850160051c820191505b81811015612b5957828155600101612b46565b5050505b505050565b81516001600160401b03811115612b7b57612b7b612427565b612b8f81612b89845461264a565b84612b13565b602080601f831160018114612bc45760008415612bac5750858301515b600019600386901b1c1916600185901b178555612b59565b600085815260208120601f198616915b82811015612bf357888601518255948401946001909101908401612bd4565b5085821015612c115787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220f936bbeefcb0f9a50879dcfdeb2e00819d530eb23e42c9b0de2cbfea3f8d183a64736f6c63430008140033",
1201
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6153c080620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101f05760003560e01c8063644c45e01161010f578063b68d1809116100a2578063cc9fc59a11610071578063cc9fc59a14610494578063d25f50951461049c578063f21de1e81461036c578063f7c34ee0146104af57600080fd5b8063b68d18091461044c578063b6b412ba1461045b578063bf7e214f1461046e578063caf4e3d41461048c57600080fd5b80638dd2b781116100de5780638dd2b781146103f05780638e32e979146104035780638fb3603714610416578063ada9652e1461043757600080fd5b8063644c45e0146103a4578063675393bf146103c25780637a9e5e4b146103d5578063893d20e8146103e857600080fd5b80632b5198b1116101875780634420e486116101565780634420e4861461032e57806349bb9e4b146103595780635ab1bd531461036c5780635dcb3bae1461039157600080fd5b80632b5198b1146102e0578063329d6e741461030057806336fc697e146103135780633d683fd91461031b57600080fd5b80631eff4b22116101c35780631eff4b2214610272578063214cdb80146102a757806325d07384146102ba57806327bb7a33146102cd57600080fd5b806301ffc9a7146101f55780630d8e6e2c146102375780630fec111c14610253578063138461e014610268575b600080fd5b610222610203366004613ed8565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023f6104c2565b60405162ffffff909116815260200161022e565b61025b61054c565b60405161022e9190613f59565b6102706106e8565b005b6102997f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161022e565b6102706102b5366004613ed8565b6108ef565b6102226102c836600461400f565b61091c565b6102706102db3660046141ff565b610c4f565b6102f36102ee3660046142a9565b610cdb565b60405161022e9190614375565b61027061030e36600461438a565b611207565b610270611354565b6102706103293660046143be565b61139a565b61034161033c36600461441f565b611573565b6040516001600160601b03909116815260200161022e565b61027061036736600461443c565b611a70565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161022e565b61034161039f36600461448b565b611b6f565b60008051602061532b833981519152546001600160601b0316610341565b6102706103d036600461441f565b611d79565b6102706103e336600461441f565b611e87565b610379611f21565b6102f36103fe3660046144be565b612058565b610270610411366004614558565b6128c7565b61041e612b00565b6040516001600160e01b0319909116815260200161022e565b61029960008051602061532b83398151915281565b6040516078815260200161022e565b6102706104693660046145d3565b612b38565b60008051602061534b833981519152546001600160a01b0316610379565b610379612de6565b610379612df2565b6102706104aa3660046145ff565b612dfe565b6102706104bd36600461470c565b613329565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610523573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610547919061473a565b905090565b610554613e9a565b604080516080810182527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116835260ff600160601b820481166020850152600160681b909104161515928201929092527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30180546000939160608401916105e49061475f565b80601f01602080910402602001604051908101604052809291908181526020018280546106109061475f565b801561065d5780601f106106325761010080835404028352916020019161065d565b820191906000526020600020905b81548152906001019060200180831161064057829003601f168201915b50505050508152505090506040518060e0016040528061067b600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016106cc611f21565b6001600160a01b03168152602001826060015181525091505090565b600060008051602061532b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610757573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061077b91906147a4565b156107ac5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306107bf6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610807573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061082b91906147a4565b6108535760405163b9304b0d60e01b81526001600160a01b03821660048201526024016107a3565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa1580156108a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108cb91906147cc565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6108f76133a0565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b600080610928846133d9565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561096a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061098e91906147e9565b6001600160a01b0316631d3be477856040518263ffffffff1660e01b81526004016109b99190614375565b600060405180830381865afa1580156109d6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109fe9190810190614861565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015610a5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a8091906147a4565b15610a9057600092505050610c49565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610aec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b1091906147a4565b80610c22575060a0810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af4158015610b72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b9691906147a4565b8015610c225750610c2273__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610be9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0d919061493f565b8260a0015164ffffffffff9081169116111590565b9250828015610c445750806060015163ffffffff16816080015163ffffffff16105b925050505b92915050565b610c576133a0565b610c618287613329565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101610cd183826149aa565b5050505050505050565b60008080610ce96078613502565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d5291906147e9565b604051639ad69c6760e01b81526001600160601b03851660048201526001600160a01b039190911690639ad69c679060240161010060405180830381865afa158015610da2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc69190614aa4565b60408181015151905163771602f760e01b81526004810191909152602481018c905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063771602f790604401602060405180830381865af4158015610e2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e4e9190614b45565b60608301515160405163b67d77c560e01b815260048101919091526024810182905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063b67d77c590604401602060405180830381865af4158015610eb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed69190614b45565b6040516321e5749b60e01b8152600481018f90526024810182905290915073__$5ac3274b8cf1e01ea223bf093142af05b0$__906321e5749b90604401602060405180830381865af4158015610f30573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5491906147a4565b1561106357604051632255341b60e11b8152600481018e905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610fa9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fcd9190614b45565b604051632255341b60e11b81526004810183905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af415801561101d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110419190614b45565b60405163e2ed03dd60e01b8152600481019290925260248201526044016107a3565b50505073__$5906aa3f06c54ee09b434647963e1d1ed0$__63578c3039838e6040518363ffffffff1660e01b815260040161109f929190614b5e565b602060405180830381865af41580156110bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e09190614b80565b925060006040518061012001604052808e81526020018d81526020018c81526020018b81526020018a63ffffffff1681526020018963ffffffff16815260200188151581526020018715158152602001868152509050816001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611174573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061119891906147e9565b6001600160a01b03166330a130ba85836040518363ffffffff1660e01b81526004016111c5929190614b9d565b600060405180830381600087803b1580156111df57600080fd5b505af11580156111f3573d6000803e3d6000fd5b505050505050509998505050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6112296104c2565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611269573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061128d9190614c75565b60008051602061536b8339815191528054600160401b900460ff16806112c0575080546001600160401b03808416911610155b156112de5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155611308836136a4565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b61135c6133a0565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b60006113a66078613502565b925050506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061140e91906147e9565b6040516313d8ebc960e11b81526001600160601b03871660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa158015611461573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526114899190810190614c92565b6001600160c01b03198616815260408082018690528051631a99b41b60e31b815290519192506001600160a01b0385169163d4cda0d8916004808201926020929091908290030181865afa1580156114e5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061150991906147e9565b6001600160a01b031663fb4a8e34878360ff6040518463ffffffff1660e01b815260040161153993929190614d92565b600060405180830381600087803b15801561155357600080fd5b505af1158015611567573d6000803e3d6000fd5b50505050505050505050565b60008080808061158c8660786115876136ac565b613724565b9350935093509350600061159e612de6565b604051638fbc2d8160e01b81526001600160a01b03878116600483015286811660248301529190911690638fbc2d81906044016000604051808303816000875af11580156115f0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116189190810190614dd2565b90506000879050806001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561165a57600080fd5b505af115801561166e573d6000803e3d6000fd5b5050505081600001519650836001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116db91906147e9565b6001600160a01b0316639e90178c88836001600160a01b031663c200b8096040518163ffffffff1660e01b815260040161010060405180830381865afa158015611729573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061174d9190614aa4565b6040518363ffffffff1660e01b815260040161176a929190614edc565b600060405180830381600087803b15801561178457600080fd5b505af1158015611798573d6000803e3d6000fd5b5060009250600291506117a89050565b6040519080825280602002602001820160405280156117db57816020015b60608152602001906001900390816117c65790505b5060408051600180825281830190925291925060208083019080368337019050508160008151811061180f5761180f614efa565b60209081029190910101526040805160028082526060820190925290816020016020820280368337019050508160018151811061184e5761184e614efa565b602002602001018190525063b6b412ba60e01b8160008151811061187457611874614efa565b602002602001015160008151811061188e5761188e614efa565b6001600160e01b0319909216602092830291909101909101528051637c07103960e11b90829060019081106118c5576118c5614efa565b60200260200101516000815181106118df576118df614efa565b6001600160e01b03199290921660209283029190910182015260408051600280825260608201835260009391929091830190803683370190505090506119236136ac565b8160008151811061193657611936614efa565b60200260200101906001600160401b031690816001600160401b03168152505061195e613a15565b8160018151811061197157611971614efa565b60200260200101906001600160401b031690816001600160401b031681525050611999612df2565b6001600160a01b0316636c6fbb28868c866001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156119e7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a0f9190810190614f10565b86866040518663ffffffff1660e01b8152600401611a31959493929190614f88565b600060405180830381600087803b158015611a4b57600080fd5b505af1158015611a5f573d6000803e3d6000fd5b505050505050505050505050919050565b60008051602061536b8339815191528054600160401b810460ff1615906001600160401b0316600081158015611aa35750825b90506000826001600160401b03166001148015611abf5750303b155b905081158015611acd575080155b15611aeb5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611b1557845460ff60401b1916600160401b1785555b611b1f8787613a51565b8315611b6657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b60008080611b7d6078613502565b9250509150611b8a612de6565b6001600160a01b03166357a8fba76040518060e00160405280611bab600090565b6001600160601b03168152602001856001600160601b03168152602001611bd0607a90565b60ff16815260200160011515815260200160006001600160a01b03168152602001896001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b8152600401611c2f9190613f59565b6020604051808303816000875af1158015611c4e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c7291906147cc565b925060006040518060a00160405280876001600160c01b03191681526020016001151581526020018681526020016000815260200160008152509050816001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611cec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d1091906147e9565b6001600160a01b031663a671495e85836040518363ffffffff1660e01b8152600401611d3d92919061505c565b600060405180830381600087803b158015611d5757600080fd5b505af1158015611d6b573d6000803e3d6000fd5b505050505050509392505050565b611d816133a0565b806001600160a01b03163b600003611db75760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107a3565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015611e31575060408051601f3d908101601f19168201909252611e2e918101906147a4565b60015b611e595760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107a3565b80611e825760405163fdeac91f60e01b81526001600160a01b03831660048201526024016107a3565b505b50565b33611ea760008051602061534b833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614611ee25760405162d1953b60e31b81526001600160a01b03821660048201526024016107a3565b816001600160a01b03163b600003611f18576040516361798f2f60e11b81526001600160a01b03831660048201526024016107a3565b611e8282613b71565b60008060008051602061532b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611f91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fb591906147a4565b15612042576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612018573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061203c91906147e9565b91505090565b54600160601b90046001600160a01b0316919050565b600080806120666078613502565b9250509150875160000361208f5787604051634fad6a5360e11b81526004016107a3919061507e565b60405163790a38ad60e01b815264ffffffffff8616600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af41580156120e5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061210991906147a4565b156121305760405163df85467b60e01b815264ffffffffff861660048201526024016107a3565b6000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612170573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061219491906147e9565b6040516313d8ebc960e11b81526001600160601b038c1660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa1580156121e7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261220f9190810190614c92565b80516040516368322c6360e11b8152919250906000906001600160a01b0385169063d06458c690612244908590600401614375565b600060405180830381865afa158015612261573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526122899190810190615091565b90508963ffffffff16816080015163ffffffff1610156122ca576080810151604051636fcee12560e01b815263ffffffff90911660048201526024016107a3565b60208101518b10156123e6576020810151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af415801561232c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123509190614b45565b604051632255341b60e11b8152600481018d905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156123a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123c49190614b45565b6040516338a25a8b60e21b8152600481019290925260248201526044016107a3565b60408101518b1115612502576040818101519051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612448573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061246c9190614b45565b604051632255341b60e11b8152600481018d905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156124bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124e09190614b45565b604051631e1ea4f360e31b8152600481019290925260248201526044016107a3565b8060a0015163ffffffff1673__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612556573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061257a919061493f565b604051633682752160e21b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af41580156125d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125f59190614b45565b604051633682752160e21b815264ffffffffff8c16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af415801561264b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061266f9190614b45565b612679919061519e565b11156127255760a0810151604051633682752160e21b815264ffffffffff8b16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af41580156126da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126fe9190614b45565b6040516331fa6ab160e11b815263ffffffff909216600483015260248201526044016107a3565b73__$9f290d768183857d0249ab5bb54619c5ab$__633f093cd6878e6040518363ffffffff1660e01b815260040161275e929190614b5e565b602060405180830381865af415801561277b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061279f9190614b80565b965060006040518060e001604052808f6001600160601b031681526020018e81526020018d81526020018c63ffffffff168152602001600063ffffffff1681526020018b64ffffffffff1681526020018a8152509050856001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015612833573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061285791906147e9565b6001600160a01b031663ca0e7f0889836040518363ffffffff1660e01b815260040161288492919061522d565b600060405180830381600087803b15801561289e57600080fd5b505af11580156128b2573d6000803e3d6000fd5b50505050505050505050509695505050505050565b6128cf6133a0565b61294f83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612911573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061293591906147cc565b603c60008560405180602001604052806000815250610c4f565b6001600160a01b0382161561296c5761296782613bd2565b612adb565b60006129806001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af41580156129e0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a049190615252565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612a49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a6d91906147e9565b9050612ad9816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612ab0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ad491906147e9565b613bd2565b505b612aeb634a531f3360e01b6108ef565b612afb63b68d180960e01b6108ef565b505050565b60008051602061534b833981519152805460009190600160a01b900460ff16612b2a57600061203c565b638fb3603760e01b91505090565b815181511015612c52578151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612b95573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bb99190614b45565b8151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612c0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c309190614b45565b604051631a9c6b0960e01b8152600481019290925260248201526044016107a3565b600080612c5f6078613502565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612ca4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cc891906147e9565b604051639ad69c6760e01b81526001600160601b03851660048201529091506000906001600160a01b03831690639ad69c679060240161010060405180830381865afa158015612d1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d409190614aa4565b9050858160400181905250848160600181905250826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015612d92573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612db691906147e9565b6001600160a01b031663f7b442d1858360ff6040518463ffffffff1660e01b81526004016115399392919061526f565b60006105476028613be3565b60006105476046613be3565b604051637bc32ecf60e01b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90637bc32ecf90612e42906001600160c01b0319881690600401614375565b602060405180830381865af4158015612e5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e8391906147a4565b1590506000612e92868661091c565b9050818015612e9f575080155b15612ed857604051631cf73cd360e21b81526001600160601b03871660048201526001600160c01b0319861660248201526044016107a3565b6000612ee3876133d9565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612f25573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f4991906147e9565b90506000826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015612f8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612faf91906147e9565b90506000826001600160a01b0316631d3be4778a6040518263ffffffff1660e01b8152600401612fdf9190614375565b600060405180830381865afa158015612ffc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526130249190810190614861565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b038516906327b1d79290602401600060405180830381865afa15801561307a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526130a29190810190614c92565b604051639ad69c6760e01b81526001600160601b038d1660048201529091506000906001600160a01b03861690639ad69c679060240161010060405180830381865afa1580156130f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061311a9190614aa4565b905060008a61018001518b6101600151613134919061529f565b6101a08c0151909150613147818361529f565b8b1461317a578a613158828461529f565b60405163b9d36bcd60e01b8152600481019290925260248201526044016107a3565b81156131f957818360a001818151613192919061529f565b9052506001600160a01b03861663f7b442d18f8560ff6040518463ffffffff1660e01b81526004016131c69392919061526f565b600060405180830381600087803b1580156131e057600080fd5b505af11580156131f4573d6000803e3d6000fd5b505050505b89156133195760018560800181815161321291906152b2565b63ffffffff169052506001600160a01b0386166361105e0e8e8760ff6040518463ffffffff1660e01b815260040161324c939291906152d6565b600060405180830381600087803b15801561326657600080fd5b505af115801561327a573d6000803e3d6000fd5b505050506000811115613319578084606001818151613299919061529f565b905250608084018051600191906132b190839061529f565b9052508451604051633ed2a38d60e21b81526001600160a01b0388169163fb4a8e34916132e69190889060ff90600401614d92565b600060405180830381600087803b15801561330057600080fd5b505af1158015613314573d6000803e3d6000fd5b505050505b5050505050505050505050505050565b6133316133a0565b61333a81611d79565b613342611354565b6001600160a01b0382166133695760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061532b83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b60008051602061536b83398151915254600160401b900460ff166133d757604051631afcd79f60e31b815260040160405180910390fd5b565b6000806133ee6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801561343d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526134659190810190614dd2565b602001519050600061347f6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156134ce573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526134f69190810190614dd2565b60800151949350505050565b600061350c613e9a565b60006135206001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa158015613566573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061358a91906147cc565b92506135968385613cf0565b8092508193505050806001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156135dc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061360091906147e9565b6080830151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa15801561364a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061366e91906147a4565b1561369d57608082015160405163d53987e560e01b81526001600160a01b0390911660048201526024016107a3565b9193909250565b6101f06133a0565b6040516368aebf7b60e01b81526002600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015613700573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105479190614c75565b6040516301ffc9a760e01b81526396c8ab0560e01b60048201528390339060009081906001600160a01b038516906301ffc9a790602401602060405180830381865afa158015613778573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061379c91906147a4565b6137c4576040516359bff0e360e11b81526001600160a01b03881660048201526024016107a3565b6000846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015613804573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261382c9190810190614dd2565b905061384381604001518860ff9081169116141590565b15613883576040808201519051634a2e948760e11b81526001600160a01b038a16600482015260ff808a16602483015290911660448201526064016107a3565b60a08101516001600160a01b03858116908216146138d55760a0820151604051632b50a20960e21b81526001600160a01b03808c166004830152918216602482015290861660448201526064016107a3565b816020015192506138e583613df4565b9350836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015613925573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061394991906147e9565b6040516368fc2b7760e11b81526001600160401b03891660048201526001600160a01b038781166024830152919091169063d1f856ee90604401602060405180830381865afa1580156139a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139c491906147a4565b613a0a57604051636af540d960e01b81526001600160601b03841660048201526001600160401b03881660248201526001600160a01b03861660448201526064016107a3565b505093509350935093565b6040516368aebf7b60e01b81526108fc600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016136e3565b60008051602061536b8339815191528054600160401b810460ff1615906001600160401b0316600081158015613a845750825b90506000826001600160401b03166001148015613aa05750303b155b905081158015613aae575080155b15613acc5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315613af657845460ff60401b1916600160401b1785555b60008087806020019051810190613b0d91906152fb565b92509050613b1d8160008b6128c7565b613b2d6321c6c6bb60e21b6108ef565b50508315611b6657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001611b5d565b60008051602061534b83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b613bda6133a0565b611e8481613e89565b6000613bf76001546001600160a01b031690565b6001600160a01b031663d39e604383613c0e6104c2565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015613c63573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613c879190615252565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613ccc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c4991906147e9565b613cf8613e9a565b6000613d0c6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613d5b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613d839190810190614dd2565b9150613d9a82604001518460ff9081169116141590565b15613dde57608082015160408084015190516304081d4960e41b81526001600160a01b03909216600483015260ff80861660248401521660448201526064016107a3565b613deb8260200151613df4565b90509250929050565b6000613e086001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613e57573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613e7f9190810190614dd2565b6080015192915050565b613e916133a0565b611e8481613b71565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b600060208284031215613eea57600080fd5b81356001600160e01b031981168114613f0257600080fd5b9392505050565b60005b83811015613f24578181015183820152602001613f0c565b50506000910152565b60008151808452613f45816020860160208601613f09565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151613fc260c08401826001600160a01b03169052565b5060c083015160e080840152613fdc610100840182613f2d565b949350505050565b6001600160601b0381168114611e8457600080fd5b6001600160c01b031981168114611e8457600080fd5b6000806040838503121561402257600080fd5b823561402d81613fe4565b9150602083013561403d81613ff9565b809150509250929050565b6001600160a01b0381168114611e8457600080fd5b60ff81168114611e8457600080fd5b8015158114611e8457600080fd5b80356140858161406c565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b03811182821017156140c2576140c261408a565b60405290565b6040516101e081016001600160401b03811182821017156140c2576140c261408a565b60405160e081016001600160401b03811182821017156140c2576140c261408a565b60405160a081016001600160401b03811182821017156140c2576140c261408a565b60405161012081016001600160401b03811182821017156140c2576140c261408a565b604051601f8201601f191681016001600160401b038111828210171561417a5761417a61408a565b604052919050565b60006001600160401b0382111561419b5761419b61408a565b50601f01601f191660200190565b600082601f8301126141ba57600080fd5b81356141cd6141c882614182565b614152565b8181528460208386010111156141e257600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c0878903121561421857600080fd5b863561422381614048565b9550602087013561423381613fe4565b945060408701356142438161405d565b935060608701356142538161406c565b9250608087013561426381614048565b915060a08701356001600160401b0381111561427e57600080fd5b61428a89828a016141a9565b9150509295509295509295565b63ffffffff81168114611e8457600080fd5b60008060008060008060008060006101208a8c0312156142c857600080fd5b89356001600160401b03808211156142df57600080fd5b6142eb8d838e016141a9565b9a5060208c0135995060408c0135985060608c0135975060808c0135915061431282614297565b90955060a08b01359061432482614297565b81955061433360c08d0161407a565b945061434160e08d0161407a565b93506101008c013591508082111561435857600080fd5b506143658c828d016141a9565b9150509295985092959850929598565b6001600160c01b031991909116815260200190565b60006020828403121561439c57600080fd5b81356001600160401b038111156143b257600080fd5b613fdc848285016141a9565b6000806000606084860312156143d357600080fd5b83356143de81613fe4565b925060208401356143ee81613ff9565b915060408401356001600160401b0381111561440957600080fd5b614415868287016141a9565b9150509250925092565b60006020828403121561443157600080fd5b8135613f0281614048565b6000806040838503121561444f57600080fd5b823561445a81614048565b915060208301356001600160401b0381111561447557600080fd5b614481858286016141a9565b9150509250929050565b6000806000606084860312156144a057600080fd5b83356143de81614048565b64ffffffffff81168114611e8457600080fd5b60008060008060008060c087890312156144d757600080fd5b86356144e281613fe4565b955060208701356001600160401b03808211156144fe57600080fd5b61450a8a838b016141a9565b9650604089013595506060890135915061452382614297565b909350608088013590614535826144ab565b90925060a0880135908082111561454b57600080fd5b5061428a89828a016141a9565b60008060006060848603121561456d57600080fd5b833561457881614048565b9250602084013561458881614048565b9150604084013561459881614048565b809150509250925092565b6000604082840312156145b557600080fd5b6145bd6140a0565b9050813581526020820135602082015292915050565b600080608083850312156145e657600080fd5b6145f084846145a3565b9150613deb84604085016145a3565b60008060008084860361024081121561461757600080fd5b853561462281613fe4565b9450602086013561463281613ff9565b93506101e0603f19820181131561464857600080fd5b6146506140c8565b915060408701358252606087013560208301526080870135604083015260a0870135606083015260c0870135608083015260e087013560a08301526101008088013560c08401526101208089013560e0850152610140808a0135838601526101609250828a0135828601526101809150818a013581860152506101a0808a0135838601526101c09250828a013582860152838a013581860152505061020088013581840152505080925050610220850135905092959194509250565b6000806040838503121561471f57600080fd5b823561472a81614048565b9150602083013561403d81614048565b60006020828403121561474c57600080fd5b815162ffffff81168114613f0257600080fd5b600181811c9082168061477357607f821691505b60208210810361479357634e487b7160e01b600052602260045260246000fd5b50919050565b80516140858161406c565b6000602082840312156147b657600080fd5b8151613f028161406c565b805161408581613fe4565b6000602082840312156147de57600080fd5b8151613f0281613fe4565b6000602082840312156147fb57600080fd5b8151613f0281614048565b600082601f83011261481757600080fd5b81516148256141c882614182565b81815284602083860101111561483a57600080fd5b613fdc826020830160208701613f09565b805161408581614297565b8051614085816144ab565b60006020828403121561487357600080fd5b81516001600160401b038082111561488a57600080fd5b9083019060e0828603121561489e57600080fd5b6148a66140eb565b6148af836147c1565b81526020830151828111156148c357600080fd5b6148cf87828601614806565b602083015250604083015160408201526148eb6060840161484b565b60608201526148fc6080840161484b565b608082015261490d60a08401614856565b60a082015260c08301518281111561492457600080fd5b61493087828601614806565b60c08301525095945050505050565b60006020828403121561495157600080fd5b8151613f02816144ab565b601f821115612afb57600081815260208120601f850160051c810160208610156149835750805b601f850160051c820191505b818110156149a25782815560010161498f565b505050505050565b81516001600160401b038111156149c3576149c361408a565b6149d7816149d1845461475f565b8461495c565b602080601f831160018114614a0c57600084156149f45750858301515b600019600386901b1c1916600185901b1785556149a2565b600085815260208120601f198616915b82811015614a3b57888601518255948401946001909101908401614a1c565b5085821015614a595787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060408284031215614a7b57600080fd5b614a836140a0565b9050815181526020820151602082015292915050565b805161408581614048565b60006101008284031215614ab757600080fd5b60405160c081018181106001600160401b0382111715614ad957614ad961408a565b6040528251614ae781613fe4565b81526020830151614af781614048565b6020820152614b098460408501614a69565b6040820152614b1b8460808501614a69565b606082015260c0830151614b2e81614048565b608082015260e0929092015160a083015250919050565b600060208284031215614b5757600080fd5b5051919050565b6001600160601b0383168152604060208201526000613fdc6040830184613f2d565b600060208284031215614b9257600080fd5b8151613f0281613ff9565b6001600160401b0360c01b831681526040602082015260008251610120806040850152614bce610160850183613f2d565b91506020850151606085015260408501516080850152606085015160a08501526080850151614c0560c086018263ffffffff169052565b5060a085015163ffffffff811660e08601525060c0850151610100614c2d8187018315159052565b60e087015115159286019290925250840151603f1984830301610140850152614c568282613f2d565b9695505050505050565b6001600160401b0381168114611e8457600080fd5b600060208284031215614c8757600080fd5b8151613f0281614c60565b600060208284031215614ca457600080fd5b81516001600160401b0380821115614cbb57600080fd5b9083019060a08286031215614ccf57600080fd5b614cd761410d565b8251614ce281613ff9565b81526020830151614cf28161406c565b6020820152604083015182811115614d0957600080fd5b614d1587828601614806565b604083015250606083015160608201526080830151608082015280935050505092915050565b6001600160401b0360c01b81511682526020810151151560208301526000604082015160a06040850152614d7260a0850182613f2d565b905060608301516060850152608083015160808501528091505092915050565b6001600160601b0384168152606060208201526000614db46060830185614d3b565b905060ff83166040830152949350505050565b80516140858161405d565b600060208284031215614de457600080fd5b81516001600160401b0380821115614dfb57600080fd5b9083019060e08286031215614e0f57600080fd5b614e176140eb565b614e20836147c1565b8152614e2e602084016147c1565b6020820152614e3f60408401614dc7565b6040820152614e5060608401614799565b6060820152614e6160808401614a99565b608082015261490d60a08401614a99565b80516001600160601b031682526020808201516001600160a01b0390811682850152604080840151805191860191909152918201516060850152606083015180516080860152602081015160a0860152915060808301511660c08401525060a0015160e090910152565b6001600160601b03831681526101208101613f026020830184614e72565b634e487b7160e01b600052603260045260246000fd5b600060208284031215614f2257600080fd5b81516001600160401b03811115614f3857600080fd5b613fdc84828501614806565b600081518084526020808501945080840160005b83811015614f7d5781516001600160401b031687529582019590820190600101614f58565b509495945050505050565b6001600160601b03861681526000602060018060a01b0387168184015260a06040840152614fb960a0840187613f2d565b8381036060850152855180825282820190600581901b830184018489016000805b8481101561503757868403601f19018652825180518086529089019089860190845b818110156150225783516001600160e01b0319168352928b0192918b0191600101614ffc565b50509689019694505091870191600101614fda565b505050868103608088015261504c8189614f44565b9c9b505050505050505050505050565b6001600160601b0383168152604060208201526000613fdc6040830184614d3b565b602081526000613f026020830184613f2d565b6000602082840312156150a357600080fd5b81516001600160401b03808211156150ba57600080fd5b9083019061012082860312156150cf57600080fd5b6150d761412f565b8251828111156150e657600080fd5b6150f287828601614806565b82525060208301516020820152604083015160408201526060830151606082015261511f6080840161484b565b608082015261513060a0840161484b565b60a082015261514160c08401614799565b60c082015261515260e08401614799565b60e0820152610100808401518381111561516b57600080fd5b61517788828701614806565b918301919091525095945050505050565b634e487b7160e01b600052601160045260246000fd5b81810381811115610c4957610c49615188565b6001600160601b0381511682526000602082015160e060208501526151d960e0850182613f2d565b905060408301516040850152606083015163ffffffff8082166060870152806080860151166080870152505064ffffffffff60a08401511660a085015260c083015184820360c0860152610c448282613f2d565b6001600160401b0360c01b83168152604060208201526000613fdc60408301846151b1565b60006020828403121561526457600080fd5b8151613f028161405d565b6001600160601b0384168152610140810161528d6020830185614e72565b60ff8316610120830152949350505050565b80820180821115610c4957610c49615188565b63ffffffff8181168382160190808211156152cf576152cf615188565b5092915050565b6001600160401b0360c01b84168152606060208201526000614db460608301856151b1565b6000806040838503121561530e57600080fd5b825161531981614048565b602084015190925061403d8161404856fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212207666f0c6332e74189e18c85861c246da44023b1e60c7467b945265cd622a9ecc64736f6c63430008140033",
1202
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101f05760003560e01c8063644c45e01161010f578063b68d1809116100a2578063cc9fc59a11610071578063cc9fc59a14610494578063d25f50951461049c578063f21de1e81461036c578063f7c34ee0146104af57600080fd5b8063b68d18091461044c578063b6b412ba1461045b578063bf7e214f1461046e578063caf4e3d41461048c57600080fd5b80638dd2b781116100de5780638dd2b781146103f05780638e32e979146104035780638fb3603714610416578063ada9652e1461043757600080fd5b8063644c45e0146103a4578063675393bf146103c25780637a9e5e4b146103d5578063893d20e8146103e857600080fd5b80632b5198b1116101875780634420e486116101565780634420e4861461032e57806349bb9e4b146103595780635ab1bd531461036c5780635dcb3bae1461039157600080fd5b80632b5198b1146102e0578063329d6e741461030057806336fc697e146103135780633d683fd91461031b57600080fd5b80631eff4b22116101c35780631eff4b2214610272578063214cdb80146102a757806325d07384146102ba57806327bb7a33146102cd57600080fd5b806301ffc9a7146101f55780630d8e6e2c146102375780630fec111c14610253578063138461e014610268575b600080fd5b610222610203366004613ed8565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023f6104c2565b60405162ffffff909116815260200161022e565b61025b61054c565b60405161022e9190613f59565b6102706106e8565b005b6102997f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161022e565b6102706102b5366004613ed8565b6108ef565b6102226102c836600461400f565b61091c565b6102706102db3660046141ff565b610c4f565b6102f36102ee3660046142a9565b610cdb565b60405161022e9190614375565b61027061030e36600461438a565b611207565b610270611354565b6102706103293660046143be565b61139a565b61034161033c36600461441f565b611573565b6040516001600160601b03909116815260200161022e565b61027061036736600461443c565b611a70565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161022e565b61034161039f36600461448b565b611b6f565b60008051602061532b833981519152546001600160601b0316610341565b6102706103d036600461441f565b611d79565b6102706103e336600461441f565b611e87565b610379611f21565b6102f36103fe3660046144be565b612058565b610270610411366004614558565b6128c7565b61041e612b00565b6040516001600160e01b0319909116815260200161022e565b61029960008051602061532b83398151915281565b6040516078815260200161022e565b6102706104693660046145d3565b612b38565b60008051602061534b833981519152546001600160a01b0316610379565b610379612de6565b610379612df2565b6102706104aa3660046145ff565b612dfe565b6102706104bd36600461470c565b613329565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610523573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610547919061473a565b905090565b610554613e9a565b604080516080810182527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116835260ff600160601b820481166020850152600160681b909104161515928201929092527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30180546000939160608401916105e49061475f565b80601f01602080910402602001604051908101604052809291908181526020018280546106109061475f565b801561065d5780601f106106325761010080835404028352916020019161065d565b820191906000526020600020905b81548152906001019060200180831161064057829003601f168201915b50505050508152505090506040518060e0016040528061067b600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016106cc611f21565b6001600160a01b03168152602001826060015181525091505090565b600060008051602061532b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610757573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061077b91906147a4565b156107ac5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306107bf6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610807573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061082b91906147a4565b6108535760405163b9304b0d60e01b81526001600160a01b03821660048201526024016107a3565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa1580156108a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108cb91906147cc565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6108f76133a0565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b600080610928846133d9565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561096a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061098e91906147e9565b6001600160a01b0316631d3be477856040518263ffffffff1660e01b81526004016109b99190614375565b600060405180830381865afa1580156109d6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109fe9190810190614861565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015610a5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a8091906147a4565b15610a9057600092505050610c49565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610aec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b1091906147a4565b80610c22575060a0810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af4158015610b72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b9691906147a4565b8015610c225750610c2273__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610be9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0d919061493f565b8260a0015164ffffffffff9081169116111590565b9250828015610c445750806060015163ffffffff16816080015163ffffffff16105b925050505b92915050565b610c576133a0565b610c618287613329565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101610cd183826149aa565b5050505050505050565b60008080610ce96078613502565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d5291906147e9565b604051639ad69c6760e01b81526001600160601b03851660048201526001600160a01b039190911690639ad69c679060240161010060405180830381865afa158015610da2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc69190614aa4565b60408181015151905163771602f760e01b81526004810191909152602481018c905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063771602f790604401602060405180830381865af4158015610e2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e4e9190614b45565b60608301515160405163b67d77c560e01b815260048101919091526024810182905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063b67d77c590604401602060405180830381865af4158015610eb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed69190614b45565b6040516321e5749b60e01b8152600481018f90526024810182905290915073__$5ac3274b8cf1e01ea223bf093142af05b0$__906321e5749b90604401602060405180830381865af4158015610f30573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5491906147a4565b1561106357604051632255341b60e11b8152600481018e905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610fa9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fcd9190614b45565b604051632255341b60e11b81526004810183905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af415801561101d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110419190614b45565b60405163e2ed03dd60e01b8152600481019290925260248201526044016107a3565b50505073__$5906aa3f06c54ee09b434647963e1d1ed0$__63578c3039838e6040518363ffffffff1660e01b815260040161109f929190614b5e565b602060405180830381865af41580156110bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e09190614b80565b925060006040518061012001604052808e81526020018d81526020018c81526020018b81526020018a63ffffffff1681526020018963ffffffff16815260200188151581526020018715158152602001868152509050816001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611174573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061119891906147e9565b6001600160a01b03166330a130ba85836040518363ffffffff1660e01b81526004016111c5929190614b9d565b600060405180830381600087803b1580156111df57600080fd5b505af11580156111f3573d6000803e3d6000fd5b505050505050509998505050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6112296104c2565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611269573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061128d9190614c75565b60008051602061536b8339815191528054600160401b900460ff16806112c0575080546001600160401b03808416911610155b156112de5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155611308836136a4565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b61135c6133a0565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b60006113a66078613502565b925050506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061140e91906147e9565b6040516313d8ebc960e11b81526001600160601b03871660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa158015611461573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526114899190810190614c92565b6001600160c01b03198616815260408082018690528051631a99b41b60e31b815290519192506001600160a01b0385169163d4cda0d8916004808201926020929091908290030181865afa1580156114e5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061150991906147e9565b6001600160a01b031663fb4a8e34878360ff6040518463ffffffff1660e01b815260040161153993929190614d92565b600060405180830381600087803b15801561155357600080fd5b505af1158015611567573d6000803e3d6000fd5b50505050505050505050565b60008080808061158c8660786115876136ac565b613724565b9350935093509350600061159e612de6565b604051638fbc2d8160e01b81526001600160a01b03878116600483015286811660248301529190911690638fbc2d81906044016000604051808303816000875af11580156115f0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116189190810190614dd2565b90506000879050806001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561165a57600080fd5b505af115801561166e573d6000803e3d6000fd5b5050505081600001519650836001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116db91906147e9565b6001600160a01b0316639e90178c88836001600160a01b031663c200b8096040518163ffffffff1660e01b815260040161010060405180830381865afa158015611729573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061174d9190614aa4565b6040518363ffffffff1660e01b815260040161176a929190614edc565b600060405180830381600087803b15801561178457600080fd5b505af1158015611798573d6000803e3d6000fd5b5060009250600291506117a89050565b6040519080825280602002602001820160405280156117db57816020015b60608152602001906001900390816117c65790505b5060408051600180825281830190925291925060208083019080368337019050508160008151811061180f5761180f614efa565b60209081029190910101526040805160028082526060820190925290816020016020820280368337019050508160018151811061184e5761184e614efa565b602002602001018190525063b6b412ba60e01b8160008151811061187457611874614efa565b602002602001015160008151811061188e5761188e614efa565b6001600160e01b0319909216602092830291909101909101528051637c07103960e11b90829060019081106118c5576118c5614efa565b60200260200101516000815181106118df576118df614efa565b6001600160e01b03199290921660209283029190910182015260408051600280825260608201835260009391929091830190803683370190505090506119236136ac565b8160008151811061193657611936614efa565b60200260200101906001600160401b031690816001600160401b03168152505061195e613a15565b8160018151811061197157611971614efa565b60200260200101906001600160401b031690816001600160401b031681525050611999612df2565b6001600160a01b0316636c6fbb28868c866001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156119e7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a0f9190810190614f10565b86866040518663ffffffff1660e01b8152600401611a31959493929190614f88565b600060405180830381600087803b158015611a4b57600080fd5b505af1158015611a5f573d6000803e3d6000fd5b505050505050505050505050919050565b60008051602061536b8339815191528054600160401b810460ff1615906001600160401b0316600081158015611aa35750825b90506000826001600160401b03166001148015611abf5750303b155b905081158015611acd575080155b15611aeb5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611b1557845460ff60401b1916600160401b1785555b611b1f8787613a51565b8315611b6657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b60008080611b7d6078613502565b9250509150611b8a612de6565b6001600160a01b03166357a8fba76040518060e00160405280611bab600090565b6001600160601b03168152602001856001600160601b03168152602001611bd0607a90565b60ff16815260200160011515815260200160006001600160a01b03168152602001896001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b8152600401611c2f9190613f59565b6020604051808303816000875af1158015611c4e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c7291906147cc565b925060006040518060a00160405280876001600160c01b03191681526020016001151581526020018681526020016000815260200160008152509050816001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611cec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d1091906147e9565b6001600160a01b031663a671495e85836040518363ffffffff1660e01b8152600401611d3d92919061505c565b600060405180830381600087803b158015611d5757600080fd5b505af1158015611d6b573d6000803e3d6000fd5b505050505050509392505050565b611d816133a0565b806001600160a01b03163b600003611db75760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107a3565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015611e31575060408051601f3d908101601f19168201909252611e2e918101906147a4565b60015b611e595760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107a3565b80611e825760405163fdeac91f60e01b81526001600160a01b03831660048201526024016107a3565b505b50565b33611ea760008051602061534b833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614611ee25760405162d1953b60e31b81526001600160a01b03821660048201526024016107a3565b816001600160a01b03163b600003611f18576040516361798f2f60e11b81526001600160a01b03831660048201526024016107a3565b611e8282613b71565b60008060008051602061532b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611f91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fb591906147a4565b15612042576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612018573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061203c91906147e9565b91505090565b54600160601b90046001600160a01b0316919050565b600080806120666078613502565b9250509150875160000361208f5787604051634fad6a5360e11b81526004016107a3919061507e565b60405163790a38ad60e01b815264ffffffffff8616600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af41580156120e5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061210991906147a4565b156121305760405163df85467b60e01b815264ffffffffff861660048201526024016107a3565b6000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612170573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061219491906147e9565b6040516313d8ebc960e11b81526001600160601b038c1660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa1580156121e7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261220f9190810190614c92565b80516040516368322c6360e11b8152919250906000906001600160a01b0385169063d06458c690612244908590600401614375565b600060405180830381865afa158015612261573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526122899190810190615091565b90508963ffffffff16816080015163ffffffff1610156122ca576080810151604051636fcee12560e01b815263ffffffff90911660048201526024016107a3565b60208101518b10156123e6576020810151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af415801561232c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123509190614b45565b604051632255341b60e11b8152600481018d905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156123a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123c49190614b45565b6040516338a25a8b60e21b8152600481019290925260248201526044016107a3565b60408101518b1115612502576040818101519051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612448573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061246c9190614b45565b604051632255341b60e11b8152600481018d905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156124bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124e09190614b45565b604051631e1ea4f360e31b8152600481019290925260248201526044016107a3565b8060a0015163ffffffff1673__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612556573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061257a919061493f565b604051633682752160e21b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af41580156125d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125f59190614b45565b604051633682752160e21b815264ffffffffff8c16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af415801561264b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061266f9190614b45565b612679919061519e565b11156127255760a0810151604051633682752160e21b815264ffffffffff8b16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af41580156126da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126fe9190614b45565b6040516331fa6ab160e11b815263ffffffff909216600483015260248201526044016107a3565b73__$9f290d768183857d0249ab5bb54619c5ab$__633f093cd6878e6040518363ffffffff1660e01b815260040161275e929190614b5e565b602060405180830381865af415801561277b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061279f9190614b80565b965060006040518060e001604052808f6001600160601b031681526020018e81526020018d81526020018c63ffffffff168152602001600063ffffffff1681526020018b64ffffffffff1681526020018a8152509050856001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015612833573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061285791906147e9565b6001600160a01b031663ca0e7f0889836040518363ffffffff1660e01b815260040161288492919061522d565b600060405180830381600087803b15801561289e57600080fd5b505af11580156128b2573d6000803e3d6000fd5b50505050505050505050509695505050505050565b6128cf6133a0565b61294f83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612911573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061293591906147cc565b603c60008560405180602001604052806000815250610c4f565b6001600160a01b0382161561296c5761296782613bd2565b612adb565b60006129806001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af41580156129e0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a049190615252565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612a49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a6d91906147e9565b9050612ad9816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612ab0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ad491906147e9565b613bd2565b505b612aeb634a531f3360e01b6108ef565b612afb63b68d180960e01b6108ef565b505050565b60008051602061534b833981519152805460009190600160a01b900460ff16612b2a57600061203c565b638fb3603760e01b91505090565b815181511015612c52578151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612b95573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bb99190614b45565b8151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612c0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c309190614b45565b604051631a9c6b0960e01b8152600481019290925260248201526044016107a3565b600080612c5f6078613502565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612ca4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cc891906147e9565b604051639ad69c6760e01b81526001600160601b03851660048201529091506000906001600160a01b03831690639ad69c679060240161010060405180830381865afa158015612d1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d409190614aa4565b9050858160400181905250848160600181905250826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015612d92573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612db691906147e9565b6001600160a01b031663f7b442d1858360ff6040518463ffffffff1660e01b81526004016115399392919061526f565b60006105476028613be3565b60006105476046613be3565b604051637bc32ecf60e01b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90637bc32ecf90612e42906001600160c01b0319881690600401614375565b602060405180830381865af4158015612e5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e8391906147a4565b1590506000612e92868661091c565b9050818015612e9f575080155b15612ed857604051631cf73cd360e21b81526001600160601b03871660048201526001600160c01b0319861660248201526044016107a3565b6000612ee3876133d9565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612f25573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f4991906147e9565b90506000826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015612f8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612faf91906147e9565b90506000826001600160a01b0316631d3be4778a6040518263ffffffff1660e01b8152600401612fdf9190614375565b600060405180830381865afa158015612ffc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526130249190810190614861565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b038516906327b1d79290602401600060405180830381865afa15801561307a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526130a29190810190614c92565b604051639ad69c6760e01b81526001600160601b038d1660048201529091506000906001600160a01b03861690639ad69c679060240161010060405180830381865afa1580156130f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061311a9190614aa4565b905060008a61018001518b6101600151613134919061529f565b6101a08c0151909150613147818361529f565b8b1461317a578a613158828461529f565b60405163b9d36bcd60e01b8152600481019290925260248201526044016107a3565b81156131f957818360a001818151613192919061529f565b9052506001600160a01b03861663f7b442d18f8560ff6040518463ffffffff1660e01b81526004016131c69392919061526f565b600060405180830381600087803b1580156131e057600080fd5b505af11580156131f4573d6000803e3d6000fd5b505050505b89156133195760018560800181815161321291906152b2565b63ffffffff169052506001600160a01b0386166361105e0e8e8760ff6040518463ffffffff1660e01b815260040161324c939291906152d6565b600060405180830381600087803b15801561326657600080fd5b505af115801561327a573d6000803e3d6000fd5b505050506000811115613319578084606001818151613299919061529f565b905250608084018051600191906132b190839061529f565b9052508451604051633ed2a38d60e21b81526001600160a01b0388169163fb4a8e34916132e69190889060ff90600401614d92565b600060405180830381600087803b15801561330057600080fd5b505af1158015613314573d6000803e3d6000fd5b505050505b5050505050505050505050505050565b6133316133a0565b61333a81611d79565b613342611354565b6001600160a01b0382166133695760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061532b83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b60008051602061536b83398151915254600160401b900460ff166133d757604051631afcd79f60e31b815260040160405180910390fd5b565b6000806133ee6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801561343d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526134659190810190614dd2565b602001519050600061347f6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156134ce573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526134f69190810190614dd2565b60800151949350505050565b600061350c613e9a565b60006135206001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa158015613566573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061358a91906147cc565b92506135968385613cf0565b8092508193505050806001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156135dc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061360091906147e9565b6080830151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa15801561364a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061366e91906147a4565b1561369d57608082015160405163d53987e560e01b81526001600160a01b0390911660048201526024016107a3565b9193909250565b6101f06133a0565b6040516368aebf7b60e01b81526002600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015613700573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105479190614c75565b6040516301ffc9a760e01b81526396c8ab0560e01b60048201528390339060009081906001600160a01b038516906301ffc9a790602401602060405180830381865afa158015613778573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061379c91906147a4565b6137c4576040516359bff0e360e11b81526001600160a01b03881660048201526024016107a3565b6000846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015613804573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261382c9190810190614dd2565b905061384381604001518860ff9081169116141590565b15613883576040808201519051634a2e948760e11b81526001600160a01b038a16600482015260ff808a16602483015290911660448201526064016107a3565b60a08101516001600160a01b03858116908216146138d55760a0820151604051632b50a20960e21b81526001600160a01b03808c166004830152918216602482015290861660448201526064016107a3565b816020015192506138e583613df4565b9350836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015613925573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061394991906147e9565b6040516368fc2b7760e11b81526001600160401b03891660048201526001600160a01b038781166024830152919091169063d1f856ee90604401602060405180830381865afa1580156139a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139c491906147a4565b613a0a57604051636af540d960e01b81526001600160601b03841660048201526001600160401b03881660248201526001600160a01b03861660448201526064016107a3565b505093509350935093565b6040516368aebf7b60e01b81526108fc600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016136e3565b60008051602061536b8339815191528054600160401b810460ff1615906001600160401b0316600081158015613a845750825b90506000826001600160401b03166001148015613aa05750303b155b905081158015613aae575080155b15613acc5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315613af657845460ff60401b1916600160401b1785555b60008087806020019051810190613b0d91906152fb565b92509050613b1d8160008b6128c7565b613b2d6321c6c6bb60e21b6108ef565b50508315611b6657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001611b5d565b60008051602061534b83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b613bda6133a0565b611e8481613e89565b6000613bf76001546001600160a01b031690565b6001600160a01b031663d39e604383613c0e6104c2565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015613c63573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613c879190615252565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613ccc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c4991906147e9565b613cf8613e9a565b6000613d0c6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613d5b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613d839190810190614dd2565b9150613d9a82604001518460ff9081169116141590565b15613dde57608082015160408084015190516304081d4960e41b81526001600160a01b03909216600483015260ff80861660248401521660448201526064016107a3565b613deb8260200151613df4565b90509250929050565b6000613e086001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613e57573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613e7f9190810190614dd2565b6080015192915050565b613e916133a0565b611e8481613b71565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b600060208284031215613eea57600080fd5b81356001600160e01b031981168114613f0257600080fd5b9392505050565b60005b83811015613f24578181015183820152602001613f0c565b50506000910152565b60008151808452613f45816020860160208601613f09565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151613fc260c08401826001600160a01b03169052565b5060c083015160e080840152613fdc610100840182613f2d565b949350505050565b6001600160601b0381168114611e8457600080fd5b6001600160c01b031981168114611e8457600080fd5b6000806040838503121561402257600080fd5b823561402d81613fe4565b9150602083013561403d81613ff9565b809150509250929050565b6001600160a01b0381168114611e8457600080fd5b60ff81168114611e8457600080fd5b8015158114611e8457600080fd5b80356140858161406c565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b03811182821017156140c2576140c261408a565b60405290565b6040516101e081016001600160401b03811182821017156140c2576140c261408a565b60405160e081016001600160401b03811182821017156140c2576140c261408a565b60405160a081016001600160401b03811182821017156140c2576140c261408a565b60405161012081016001600160401b03811182821017156140c2576140c261408a565b604051601f8201601f191681016001600160401b038111828210171561417a5761417a61408a565b604052919050565b60006001600160401b0382111561419b5761419b61408a565b50601f01601f191660200190565b600082601f8301126141ba57600080fd5b81356141cd6141c882614182565b614152565b8181528460208386010111156141e257600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c0878903121561421857600080fd5b863561422381614048565b9550602087013561423381613fe4565b945060408701356142438161405d565b935060608701356142538161406c565b9250608087013561426381614048565b915060a08701356001600160401b0381111561427e57600080fd5b61428a89828a016141a9565b9150509295509295509295565b63ffffffff81168114611e8457600080fd5b60008060008060008060008060006101208a8c0312156142c857600080fd5b89356001600160401b03808211156142df57600080fd5b6142eb8d838e016141a9565b9a5060208c0135995060408c0135985060608c0135975060808c0135915061431282614297565b90955060a08b01359061432482614297565b81955061433360c08d0161407a565b945061434160e08d0161407a565b93506101008c013591508082111561435857600080fd5b506143658c828d016141a9565b9150509295985092959850929598565b6001600160c01b031991909116815260200190565b60006020828403121561439c57600080fd5b81356001600160401b038111156143b257600080fd5b613fdc848285016141a9565b6000806000606084860312156143d357600080fd5b83356143de81613fe4565b925060208401356143ee81613ff9565b915060408401356001600160401b0381111561440957600080fd5b614415868287016141a9565b9150509250925092565b60006020828403121561443157600080fd5b8135613f0281614048565b6000806040838503121561444f57600080fd5b823561445a81614048565b915060208301356001600160401b0381111561447557600080fd5b614481858286016141a9565b9150509250929050565b6000806000606084860312156144a057600080fd5b83356143de81614048565b64ffffffffff81168114611e8457600080fd5b60008060008060008060c087890312156144d757600080fd5b86356144e281613fe4565b955060208701356001600160401b03808211156144fe57600080fd5b61450a8a838b016141a9565b9650604089013595506060890135915061452382614297565b909350608088013590614535826144ab565b90925060a0880135908082111561454b57600080fd5b5061428a89828a016141a9565b60008060006060848603121561456d57600080fd5b833561457881614048565b9250602084013561458881614048565b9150604084013561459881614048565b809150509250925092565b6000604082840312156145b557600080fd5b6145bd6140a0565b9050813581526020820135602082015292915050565b600080608083850312156145e657600080fd5b6145f084846145a3565b9150613deb84604085016145a3565b60008060008084860361024081121561461757600080fd5b853561462281613fe4565b9450602086013561463281613ff9565b93506101e0603f19820181131561464857600080fd5b6146506140c8565b915060408701358252606087013560208301526080870135604083015260a0870135606083015260c0870135608083015260e087013560a08301526101008088013560c08401526101208089013560e0850152610140808a0135838601526101609250828a0135828601526101809150818a013581860152506101a0808a0135838601526101c09250828a013582860152838a013581860152505061020088013581840152505080925050610220850135905092959194509250565b6000806040838503121561471f57600080fd5b823561472a81614048565b9150602083013561403d81614048565b60006020828403121561474c57600080fd5b815162ffffff81168114613f0257600080fd5b600181811c9082168061477357607f821691505b60208210810361479357634e487b7160e01b600052602260045260246000fd5b50919050565b80516140858161406c565b6000602082840312156147b657600080fd5b8151613f028161406c565b805161408581613fe4565b6000602082840312156147de57600080fd5b8151613f0281613fe4565b6000602082840312156147fb57600080fd5b8151613f0281614048565b600082601f83011261481757600080fd5b81516148256141c882614182565b81815284602083860101111561483a57600080fd5b613fdc826020830160208701613f09565b805161408581614297565b8051614085816144ab565b60006020828403121561487357600080fd5b81516001600160401b038082111561488a57600080fd5b9083019060e0828603121561489e57600080fd5b6148a66140eb565b6148af836147c1565b81526020830151828111156148c357600080fd5b6148cf87828601614806565b602083015250604083015160408201526148eb6060840161484b565b60608201526148fc6080840161484b565b608082015261490d60a08401614856565b60a082015260c08301518281111561492457600080fd5b61493087828601614806565b60c08301525095945050505050565b60006020828403121561495157600080fd5b8151613f02816144ab565b601f821115612afb57600081815260208120601f850160051c810160208610156149835750805b601f850160051c820191505b818110156149a25782815560010161498f565b505050505050565b81516001600160401b038111156149c3576149c361408a565b6149d7816149d1845461475f565b8461495c565b602080601f831160018114614a0c57600084156149f45750858301515b600019600386901b1c1916600185901b1785556149a2565b600085815260208120601f198616915b82811015614a3b57888601518255948401946001909101908401614a1c565b5085821015614a595787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060408284031215614a7b57600080fd5b614a836140a0565b9050815181526020820151602082015292915050565b805161408581614048565b60006101008284031215614ab757600080fd5b60405160c081018181106001600160401b0382111715614ad957614ad961408a565b6040528251614ae781613fe4565b81526020830151614af781614048565b6020820152614b098460408501614a69565b6040820152614b1b8460808501614a69565b606082015260c0830151614b2e81614048565b608082015260e0929092015160a083015250919050565b600060208284031215614b5757600080fd5b5051919050565b6001600160601b0383168152604060208201526000613fdc6040830184613f2d565b600060208284031215614b9257600080fd5b8151613f0281613ff9565b6001600160401b0360c01b831681526040602082015260008251610120806040850152614bce610160850183613f2d565b91506020850151606085015260408501516080850152606085015160a08501526080850151614c0560c086018263ffffffff169052565b5060a085015163ffffffff811660e08601525060c0850151610100614c2d8187018315159052565b60e087015115159286019290925250840151603f1984830301610140850152614c568282613f2d565b9695505050505050565b6001600160401b0381168114611e8457600080fd5b600060208284031215614c8757600080fd5b8151613f0281614c60565b600060208284031215614ca457600080fd5b81516001600160401b0380821115614cbb57600080fd5b9083019060a08286031215614ccf57600080fd5b614cd761410d565b8251614ce281613ff9565b81526020830151614cf28161406c565b6020820152604083015182811115614d0957600080fd5b614d1587828601614806565b604083015250606083015160608201526080830151608082015280935050505092915050565b6001600160401b0360c01b81511682526020810151151560208301526000604082015160a06040850152614d7260a0850182613f2d565b905060608301516060850152608083015160808501528091505092915050565b6001600160601b0384168152606060208201526000614db46060830185614d3b565b905060ff83166040830152949350505050565b80516140858161405d565b600060208284031215614de457600080fd5b81516001600160401b0380821115614dfb57600080fd5b9083019060e08286031215614e0f57600080fd5b614e176140eb565b614e20836147c1565b8152614e2e602084016147c1565b6020820152614e3f60408401614dc7565b6040820152614e5060608401614799565b6060820152614e6160808401614a99565b608082015261490d60a08401614a99565b80516001600160601b031682526020808201516001600160a01b0390811682850152604080840151805191860191909152918201516060850152606083015180516080860152602081015160a0860152915060808301511660c08401525060a0015160e090910152565b6001600160601b03831681526101208101613f026020830184614e72565b634e487b7160e01b600052603260045260246000fd5b600060208284031215614f2257600080fd5b81516001600160401b03811115614f3857600080fd5b613fdc84828501614806565b600081518084526020808501945080840160005b83811015614f7d5781516001600160401b031687529582019590820190600101614f58565b509495945050505050565b6001600160601b03861681526000602060018060a01b0387168184015260a06040840152614fb960a0840187613f2d565b8381036060850152855180825282820190600581901b830184018489016000805b8481101561503757868403601f19018652825180518086529089019089860190845b818110156150225783516001600160e01b0319168352928b0192918b0191600101614ffc565b50509689019694505091870191600101614fda565b505050868103608088015261504c8189614f44565b9c9b505050505050505050505050565b6001600160601b0383168152604060208201526000613fdc6040830184614d3b565b602081526000613f026020830184613f2d565b6000602082840312156150a357600080fd5b81516001600160401b03808211156150ba57600080fd5b9083019061012082860312156150cf57600080fd5b6150d761412f565b8251828111156150e657600080fd5b6150f287828601614806565b82525060208301516020820152604083015160408201526060830151606082015261511f6080840161484b565b608082015261513060a0840161484b565b60a082015261514160c08401614799565b60c082015261515260e08401614799565b60e0820152610100808401518381111561516b57600080fd5b61517788828701614806565b918301919091525095945050505050565b634e487b7160e01b600052601160045260246000fd5b81810381811115610c4957610c49615188565b6001600160601b0381511682526000602082015160e060208501526151d960e0850182613f2d565b905060408301516040850152606083015163ffffffff8082166060870152806080860151166080870152505064ffffffffff60a08401511660a085015260c083015184820360c0860152610c448282613f2d565b6001600160401b0360c01b83168152604060208201526000613fdc60408301846151b1565b60006020828403121561526457600080fd5b8151613f028161405d565b6001600160601b0384168152610140810161528d6020830185614e72565b60ff8316610120830152949350505050565b80820180821115610c4957610c49615188565b63ffffffff8181168382160190808211156152cf576152cf615188565b5092915050565b6001600160401b0360c01b84168152606060208201526000614db460608301856151b1565b6000806040838503121561530e57600080fd5b825161531981614048565b602084015190925061403d8161404856fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212207666f0c6332e74189e18c85861c246da44023b1e60c7467b945265cd622a9ecc64736f6c63430008140033",
576
1203
  "linkReferences": {
577
- "contracts/types/Blocknumber.sol": {
578
- "BlocknumberLib": [
1204
+ "contracts/types/DistributorType.sol": {
1205
+ "DistributorTypeLib": [
579
1206
  {
580
1207
  "length": 20,
581
- "start": 3854
1208
+ "start": 4430
582
1209
  }
583
1210
  ]
584
1211
  },
@@ -586,15 +1213,27 @@
586
1213
  "NftIdLib": [
587
1214
  {
588
1215
  "length": 20,
589
- "start": 2044
1216
+ "start": 2051
590
1217
  },
591
1218
  {
592
1219
  "length": 20,
593
- "start": 3998
1220
+ "start": 2824
1221
+ },
1222
+ {
1223
+ "length": 20,
1224
+ "start": 8253
1225
+ }
1226
+ ]
1227
+ },
1228
+ "contracts/types/Referral.sol": {
1229
+ "ReferralLib": [
1230
+ {
1231
+ "length": 20,
1232
+ "start": 10253
594
1233
  },
595
1234
  {
596
1235
  "length": 20,
597
- "start": 5554
1236
+ "start": 12022
598
1237
  }
599
1238
  ]
600
1239
  },
@@ -602,27 +1241,95 @@
602
1241
  "RoleIdLib": [
603
1242
  {
604
1243
  "length": 20,
605
- "start": 8126
1244
+ "start": 14251
1245
+ },
1246
+ {
1247
+ "length": 20,
1248
+ "start": 15125
1249
+ }
1250
+ ]
1251
+ },
1252
+ "contracts/types/Timestamp.sol": {
1253
+ "TimestampLib": [
1254
+ {
1255
+ "length": 20,
1256
+ "start": 2968
1257
+ },
1258
+ {
1259
+ "length": 20,
1260
+ "start": 3102
1261
+ },
1262
+ {
1263
+ "length": 20,
1264
+ "start": 3208
1265
+ },
1266
+ {
1267
+ "length": 20,
1268
+ "start": 8593
1269
+ },
1270
+ {
1271
+ "length": 20,
1272
+ "start": 9717
606
1273
  },
607
1274
  {
608
1275
  "length": 20,
609
- "start": 8247
1276
+ "start": 9853
610
1277
  },
611
1278
  {
612
1279
  "length": 20,
613
- "start": 8306
1280
+ "start": 9975
614
1281
  },
615
1282
  {
616
1283
  "length": 20,
617
- "start": 8365
1284
+ "start": 10118
618
1285
  }
619
1286
  ]
620
1287
  },
621
- "contracts/types/Timestamp.sol": {
622
- "TimestampLib": [
1288
+ "contracts/types/UFixed.sol": {
1289
+ "UFixedLib": [
1290
+ {
1291
+ "length": 20,
1292
+ "start": 3798
1293
+ },
1294
+ {
1295
+ "length": 20,
1296
+ "start": 3934
1297
+ },
1298
+ {
1299
+ "length": 20,
1300
+ "start": 4060
1301
+ },
1302
+ {
1303
+ "length": 20,
1304
+ "start": 4181
1305
+ },
1306
+ {
1307
+ "length": 20,
1308
+ "start": 4297
1309
+ },
1310
+ {
1311
+ "length": 20,
1312
+ "start": 9176
1313
+ },
1314
+ {
1315
+ "length": 20,
1316
+ "start": 9292
1317
+ },
1318
+ {
1319
+ "length": 20,
1320
+ "start": 9460
1321
+ },
1322
+ {
1323
+ "length": 20,
1324
+ "start": 9576
1325
+ },
1326
+ {
1327
+ "length": 20,
1328
+ "start": 11329
1329
+ },
623
1330
  {
624
1331
  "length": 20,
625
- "start": 6811
1332
+ "start": 11448
626
1333
  }
627
1334
  ]
628
1335
  },
@@ -630,25 +1337,31 @@
630
1337
  "VersionLib": [
631
1338
  {
632
1339
  "length": 20,
633
- "start": 1566
1340
+ "start": 1487
634
1341
  },
635
1342
  {
636
1343
  "length": 20,
637
- "start": 4239
1344
+ "start": 4847
638
1345
  },
639
1346
  {
640
1347
  "length": 20,
641
- "start": 5041
1348
+ "start": 15631
1349
+ }
1350
+ ],
1351
+ "VersionPartLib": [
1352
+ {
1353
+ "length": 20,
1354
+ "start": 10892
642
1355
  }
643
1356
  ]
644
1357
  }
645
1358
  },
646
1359
  "deployedLinkReferences": {
647
- "contracts/types/Blocknumber.sol": {
648
- "BlocknumberLib": [
1360
+ "contracts/types/DistributorType.sol": {
1361
+ "DistributorTypeLib": [
649
1362
  {
650
1363
  "length": 20,
651
- "start": 3540
1364
+ "start": 4200
652
1365
  }
653
1366
  ]
654
1367
  },
@@ -656,15 +1369,27 @@
656
1369
  "NftIdLib": [
657
1370
  {
658
1371
  "length": 20,
659
- "start": 1730
1372
+ "start": 1821
1373
+ },
1374
+ {
1375
+ "length": 20,
1376
+ "start": 2594
660
1377
  },
661
1378
  {
662
1379
  "length": 20,
663
- "start": 3684
1380
+ "start": 8023
1381
+ }
1382
+ ]
1383
+ },
1384
+ "contracts/types/Referral.sol": {
1385
+ "ReferralLib": [
1386
+ {
1387
+ "length": 20,
1388
+ "start": 10023
664
1389
  },
665
1390
  {
666
1391
  "length": 20,
667
- "start": 5240
1392
+ "start": 11792
668
1393
  }
669
1394
  ]
670
1395
  },
@@ -672,27 +1397,95 @@
672
1397
  "RoleIdLib": [
673
1398
  {
674
1399
  "length": 20,
675
- "start": 7812
1400
+ "start": 14021
1401
+ },
1402
+ {
1403
+ "length": 20,
1404
+ "start": 14895
1405
+ }
1406
+ ]
1407
+ },
1408
+ "contracts/types/Timestamp.sol": {
1409
+ "TimestampLib": [
1410
+ {
1411
+ "length": 20,
1412
+ "start": 2738
676
1413
  },
677
1414
  {
678
1415
  "length": 20,
679
- "start": 7933
1416
+ "start": 2872
680
1417
  },
681
1418
  {
682
1419
  "length": 20,
683
- "start": 7992
1420
+ "start": 2978
684
1421
  },
685
1422
  {
686
1423
  "length": 20,
687
- "start": 8051
1424
+ "start": 8363
1425
+ },
1426
+ {
1427
+ "length": 20,
1428
+ "start": 9487
1429
+ },
1430
+ {
1431
+ "length": 20,
1432
+ "start": 9623
1433
+ },
1434
+ {
1435
+ "length": 20,
1436
+ "start": 9745
1437
+ },
1438
+ {
1439
+ "length": 20,
1440
+ "start": 9888
688
1441
  }
689
1442
  ]
690
1443
  },
691
- "contracts/types/Timestamp.sol": {
692
- "TimestampLib": [
1444
+ "contracts/types/UFixed.sol": {
1445
+ "UFixedLib": [
1446
+ {
1447
+ "length": 20,
1448
+ "start": 3568
1449
+ },
1450
+ {
1451
+ "length": 20,
1452
+ "start": 3704
1453
+ },
1454
+ {
1455
+ "length": 20,
1456
+ "start": 3830
1457
+ },
1458
+ {
1459
+ "length": 20,
1460
+ "start": 3951
1461
+ },
1462
+ {
1463
+ "length": 20,
1464
+ "start": 4067
1465
+ },
1466
+ {
1467
+ "length": 20,
1468
+ "start": 8946
1469
+ },
693
1470
  {
694
1471
  "length": 20,
695
- "start": 6497
1472
+ "start": 9062
1473
+ },
1474
+ {
1475
+ "length": 20,
1476
+ "start": 9230
1477
+ },
1478
+ {
1479
+ "length": 20,
1480
+ "start": 9346
1481
+ },
1482
+ {
1483
+ "length": 20,
1484
+ "start": 11099
1485
+ },
1486
+ {
1487
+ "length": 20,
1488
+ "start": 11218
696
1489
  }
697
1490
  ]
698
1491
  },
@@ -700,15 +1493,21 @@
700
1493
  "VersionLib": [
701
1494
  {
702
1495
  "length": 20,
703
- "start": 1252
1496
+ "start": 1257
704
1497
  },
705
1498
  {
706
1499
  "length": 20,
707
- "start": 3925
1500
+ "start": 4617
708
1501
  },
709
1502
  {
710
1503
  "length": 20,
711
- "start": 4727
1504
+ "start": 15401
1505
+ }
1506
+ ],
1507
+ "VersionPartLib": [
1508
+ {
1509
+ "length": 20,
1510
+ "start": 10662
712
1511
  }
713
1512
  ]
714
1513
  }