@etherisc/gif-next 0.0.2-e1f23dc-329 → 0.0.2-e20063b-144

Sign up to get free protection for your applications and to get access to all the features.
Files changed (383) hide show
  1. package/README.md +71 -14
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +842 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +946 -219
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → components/IComponent.sol/IComponent.json} +303 -164
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +848 -31
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +864 -49
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +682 -9
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +825 -231
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +638 -190
  18. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  19. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  20. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  21. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +778 -0
  22. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  23. package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → Cloneable.sol/Cloneable.json} +91 -2
  24. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  25. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1612 -656
  26. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +321 -168
  28. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  29. package/artifacts/contracts/instance/Instance.sol/Instance.json +1002 -1278
  30. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  31. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +593 -180
  32. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  33. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +257 -261
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  35. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +501 -292
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  37. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +331 -98
  38. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  39. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +256 -0
  40. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  41. package/artifacts/contracts/instance/base/{ComponentServiceBase.sol/ComponentServiceBase.json → ComponentService.sol/ComponentService.json} +247 -180
  42. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  44. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  45. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +40 -10
  46. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  47. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
  48. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  49. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +71 -45
  50. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  51. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  52. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  53. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  54. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  55. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  56. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  57. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  58. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  59. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +1060 -0
  60. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  61. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +681 -0
  62. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  63. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1266 -0
  64. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  65. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +725 -0
  66. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  67. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +1040 -0
  68. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  69. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +685 -0
  70. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1273 -215
  72. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  73. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +428 -79
  74. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  75. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +627 -0
  76. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  77. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +686 -0
  78. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  79. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +602 -0
  80. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +804 -160
  82. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  83. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +937 -0
  84. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +437 -241
  86. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  87. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +82 -371
  88. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  89. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1511 -0
  90. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  91. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +741 -0
  92. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  93. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +649 -338
  94. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  95. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +305 -92
  96. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  97. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +268 -522
  98. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
  99. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +295 -114
  100. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  101. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  102. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  103. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +244 -133
  104. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  105. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +149 -230
  106. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  107. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  108. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  109. package/artifacts/contracts/registry/Registry.sol/Registry.json +257 -235
  110. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  111. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  112. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  113. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +200 -335
  114. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  115. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +298 -145
  116. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  117. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +559 -0
  118. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  119. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +141 -53
  120. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  121. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  122. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  123. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  124. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +40 -29
  125. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  126. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
  127. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  128. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +21 -34
  129. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  130. package/artifacts/contracts/{experiment/inheritance/IB.sol/IB.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +18 -20
  131. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  132. package/artifacts/contracts/shared/IService.sol/IService.json +86 -172
  133. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  134. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  135. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  136. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +120 -27
  137. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  138. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
  139. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  140. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +294 -61
  141. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  142. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +129 -51
  143. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  144. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
  145. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  146. package/artifacts/contracts/shared/Service.sol/Service.json +191 -163
  147. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  148. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
  149. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  150. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  151. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  152. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  153. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  154. package/artifacts/contracts/test/TestFee.sol/TestFee.json +2 -2
  155. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  156. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +129 -51
  157. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  158. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +6 -6
  159. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  160. package/artifacts/contracts/test/TestService.sol/TestService.json +210 -214
  161. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  162. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  163. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  164. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  165. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -190
  166. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  167. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  168. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +4 -0
  169. package/artifacts/contracts/types/Amount.sol/AmountLib.json +185 -0
  170. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  171. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  172. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  173. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  174. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +179 -0
  175. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  176. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
  177. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  178. package/artifacts/contracts/types/Fee.sol/FeeLib.json +40 -9
  179. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  180. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  181. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  182. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
  183. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  184. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  185. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  186. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  187. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  188. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  189. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +209 -0
  190. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  191. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
  192. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  193. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  194. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  195. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  196. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  197. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  198. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  199. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  200. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +38 -7
  202. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  203. package/artifacts/contracts/types/UFixed.sol/MathLib.json +2 -2
  204. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  205. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +2 -2
  206. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  207. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  208. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  209. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
  210. package/contracts/components/Component.sol +253 -0
  211. package/contracts/components/Distribution.sol +204 -79
  212. package/contracts/components/IComponent.sol +76 -0
  213. package/contracts/components/IDistributionComponent.sol +44 -17
  214. package/contracts/components/IPoolComponent.sol +88 -37
  215. package/contracts/components/IProductComponent.sol +10 -5
  216. package/contracts/components/Pool.sol +220 -160
  217. package/contracts/components/Product.sol +244 -157
  218. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
  219. package/contracts/instance/BundleManager.sol +126 -0
  220. package/contracts/instance/Cloneable.sol +51 -0
  221. package/contracts/instance/IInstance.sol +67 -19
  222. package/contracts/instance/IInstanceService.sol +46 -8
  223. package/contracts/instance/Instance.sol +151 -284
  224. package/contracts/instance/InstanceAccessManager.sol +414 -175
  225. package/contracts/instance/InstanceReader.sol +38 -36
  226. package/contracts/instance/InstanceService.sol +402 -122
  227. package/contracts/instance/InstanceServiceManager.sol +6 -9
  228. package/contracts/instance/ObjectManager.sol +82 -0
  229. package/contracts/instance/base/ComponentService.sol +121 -0
  230. package/contracts/instance/base/KeyValueStore.sol +13 -5
  231. package/contracts/instance/base/Lifecycle.sol +23 -6
  232. package/contracts/instance/module/IAccess.sol +36 -20
  233. package/contracts/instance/module/IBundle.sol +8 -5
  234. package/contracts/instance/module/IComponents.sol +41 -0
  235. package/contracts/instance/module/IDistribution.sol +2 -0
  236. package/contracts/instance/module/IPolicy.sol +41 -9
  237. package/contracts/instance/module/ISetup.sol +9 -20
  238. package/contracts/instance/service/ApplicationService.sol +355 -0
  239. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  240. package/contracts/instance/service/BundleService.sol +436 -0
  241. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  242. package/contracts/instance/service/ClaimService.sol +239 -0
  243. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  244. package/contracts/instance/service/DistributionService.sol +374 -31
  245. package/contracts/instance/service/DistributionServiceManager.sol +7 -10
  246. package/contracts/instance/service/IApplicationService.sol +78 -0
  247. package/contracts/instance/service/IBundleService.sol +96 -0
  248. package/contracts/instance/service/IClaimService.sol +92 -0
  249. package/contracts/instance/service/IDistributionService.sol +87 -0
  250. package/contracts/instance/service/IPolicyService.sol +137 -0
  251. package/contracts/instance/service/IPoolService.sol +78 -20
  252. package/contracts/instance/service/IProductService.sol +3 -70
  253. package/contracts/instance/service/PolicyService.sol +541 -0
  254. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  255. package/contracts/instance/service/PoolService.sol +216 -114
  256. package/contracts/instance/service/PoolServiceManager.sol +6 -9
  257. package/contracts/instance/service/ProductService.sol +105 -459
  258. package/contracts/instance/service/ProductServiceManager.sol +2 -2
  259. package/contracts/registry/ChainNft.sol +9 -1
  260. package/contracts/registry/IRegistry.sol +39 -19
  261. package/contracts/registry/IRegistryService.sol +31 -13
  262. package/contracts/registry/ITransferInterceptor.sol +1 -0
  263. package/contracts/registry/Registry.sol +243 -224
  264. package/contracts/registry/RegistryAccessManager.sol +216 -0
  265. package/contracts/registry/RegistryService.sol +97 -173
  266. package/contracts/registry/RegistryServiceManager.sol +21 -39
  267. package/contracts/registry/ReleaseManager.sol +324 -0
  268. package/contracts/registry/TokenRegistry.sol +22 -17
  269. package/contracts/shared/ERC165.sol +14 -12
  270. package/contracts/shared/INftOwnable.sol +11 -10
  271. package/contracts/shared/IPolicyHolder.sol +26 -0
  272. package/contracts/shared/IRegisterable.sol +4 -6
  273. package/contracts/shared/IRegistryLinked.sol +12 -0
  274. package/contracts/shared/IService.sol +5 -4
  275. package/contracts/shared/IVersionable.sol +4 -47
  276. package/contracts/shared/NftOwnable.sol +66 -80
  277. package/contracts/shared/PolicyHolder.sol +81 -0
  278. package/contracts/shared/ProxyManager.sol +100 -25
  279. package/contracts/shared/Registerable.sol +16 -32
  280. package/contracts/shared/RegistryLinked.sol +48 -0
  281. package/contracts/shared/Service.sol +41 -24
  282. package/contracts/shared/TokenHandler.sol +11 -5
  283. package/contracts/shared/Versionable.sol +4 -92
  284. package/contracts/test/TestRegisterable.sol +1 -1
  285. package/contracts/test/TestService.sol +4 -3
  286. package/contracts/types/Amount.sol +65 -0
  287. package/contracts/types/Blocknumber.sol +1 -0
  288. package/contracts/types/ClaimId.sol +75 -0
  289. package/contracts/types/DistributorType.sol +2 -2
  290. package/contracts/types/Fee.sol +13 -5
  291. package/contracts/types/NftId.sol +8 -0
  292. package/contracts/types/NftIdSet.sol +26 -24
  293. package/contracts/types/ObjectType.sol +11 -6
  294. package/contracts/types/PayoutId.sol +82 -0
  295. package/contracts/types/Referral.sol +4 -0
  296. package/contracts/types/RoleId.sol +26 -19
  297. package/contracts/types/Seconds.sol +54 -0
  298. package/contracts/types/StateId.sol +7 -2
  299. package/contracts/types/Timestamp.sol +18 -13
  300. package/contracts/types/UFixed.sol +1 -0
  301. package/contracts/types/Version.sol +1 -0
  302. package/package.json +3 -3
  303. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  304. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -327
  305. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  306. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -280
  307. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  308. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  309. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  310. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  311. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  312. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  313. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  314. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  315. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  316. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  317. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  318. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  319. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  320. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  321. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  322. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  323. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  324. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  325. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  326. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  327. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  328. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  329. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  330. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  331. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  332. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  333. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  334. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  335. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  336. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  337. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  338. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  339. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  340. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  341. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  342. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  343. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  344. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  345. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  346. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  347. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  348. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
  349. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  350. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  351. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  352. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  353. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  354. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  355. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  356. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  357. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  358. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
  359. package/contracts/components/BaseComponent.sol +0 -91
  360. package/contracts/components/IBaseComponent.sol +0 -25
  361. package/contracts/experiment/cloning/Cloner.sol +0 -47
  362. package/contracts/experiment/errors/Require.sol +0 -38
  363. package/contracts/experiment/errors/Revert.sol +0 -44
  364. package/contracts/experiment/inheritance/A.sol +0 -53
  365. package/contracts/experiment/inheritance/B.sol +0 -28
  366. package/contracts/experiment/inheritance/C.sol +0 -34
  367. package/contracts/experiment/inheritance/IA.sol +0 -13
  368. package/contracts/experiment/inheritance/IB.sol +0 -10
  369. package/contracts/experiment/inheritance/IC.sol +0 -12
  370. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  371. package/contracts/experiment/statemachine/ISM.sol +0 -25
  372. package/contracts/experiment/statemachine/SM.sol +0 -57
  373. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  374. package/contracts/experiment/types/TypeA.sol +0 -47
  375. package/contracts/experiment/types/TypeB.sol +0 -29
  376. package/contracts/instance/AccessManagedSimple.sol +0 -115
  377. package/contracts/instance/AccessManagerSimple.sol +0 -692
  378. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  379. package/contracts/instance/base/ComponentServiceBase.sol +0 -134
  380. package/contracts/instance/base/IInstanceBase.sol +0 -23
  381. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  382. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  383. package/contracts/shared/RegisterableUpgradable.sol +0 -16
@@ -4,20 +4,14 @@
4
4
  "sourceName": "contracts/instance/InstanceReader.sol",
5
5
  "abi": [
6
6
  {
7
- "inputs": [
8
- {
9
- "internalType": "address",
10
- "name": "registry",
11
- "type": "address"
12
- },
13
- {
14
- "internalType": "NftId",
15
- "name": "instanceNftId",
16
- "type": "uint96"
17
- }
18
- ],
19
- "stateMutability": "nonpayable",
20
- "type": "constructor"
7
+ "inputs": [],
8
+ "name": "ErrorInstanceReaderAlreadyInitialized",
9
+ "type": "error"
10
+ },
11
+ {
12
+ "inputs": [],
13
+ "name": "ErrorInstanceReaderInstanceAddressZero",
14
+ "type": "error"
21
15
  },
22
16
  {
23
17
  "inputs": [
@@ -59,24 +53,24 @@
59
53
  "type": "bytes"
60
54
  },
61
55
  {
62
- "internalType": "uint256",
56
+ "internalType": "Amount",
63
57
  "name": "capitalAmount",
64
- "type": "uint256"
58
+ "type": "uint96"
65
59
  },
66
60
  {
67
- "internalType": "uint256",
61
+ "internalType": "Amount",
68
62
  "name": "lockedAmount",
69
- "type": "uint256"
63
+ "type": "uint96"
70
64
  },
71
65
  {
72
- "internalType": "uint256",
73
- "name": "balanceAmount",
74
- "type": "uint256"
66
+ "internalType": "Amount",
67
+ "name": "feeAmount",
68
+ "type": "uint96"
75
69
  },
76
70
  {
77
- "internalType": "uint256",
71
+ "internalType": "Seconds",
78
72
  "name": "lifetime",
79
- "type": "uint256"
73
+ "type": "uint40"
80
74
  },
81
75
  {
82
76
  "internalType": "Timestamp",
@@ -97,6 +91,142 @@
97
91
  "stateMutability": "view",
98
92
  "type": "function"
99
93
  },
94
+ {
95
+ "inputs": [
96
+ {
97
+ "internalType": "NftId",
98
+ "name": "policyNftId",
99
+ "type": "uint96"
100
+ },
101
+ {
102
+ "internalType": "ClaimId",
103
+ "name": "claimId",
104
+ "type": "uint16"
105
+ }
106
+ ],
107
+ "name": "getClaimInfo",
108
+ "outputs": [
109
+ {
110
+ "components": [
111
+ {
112
+ "internalType": "Amount",
113
+ "name": "claimAmount",
114
+ "type": "uint96"
115
+ },
116
+ {
117
+ "internalType": "Amount",
118
+ "name": "paidAmount",
119
+ "type": "uint96"
120
+ },
121
+ {
122
+ "internalType": "uint8",
123
+ "name": "payoutsCount",
124
+ "type": "uint8"
125
+ },
126
+ {
127
+ "internalType": "uint8",
128
+ "name": "openPayoutsCount",
129
+ "type": "uint8"
130
+ },
131
+ {
132
+ "internalType": "bytes",
133
+ "name": "data",
134
+ "type": "bytes"
135
+ },
136
+ {
137
+ "internalType": "Timestamp",
138
+ "name": "closedAt",
139
+ "type": "uint40"
140
+ }
141
+ ],
142
+ "internalType": "struct IPolicy.ClaimInfo",
143
+ "name": "info",
144
+ "type": "tuple"
145
+ }
146
+ ],
147
+ "stateMutability": "view",
148
+ "type": "function"
149
+ },
150
+ {
151
+ "inputs": [
152
+ {
153
+ "internalType": "NftId",
154
+ "name": "policyNftId",
155
+ "type": "uint96"
156
+ },
157
+ {
158
+ "internalType": "ClaimId",
159
+ "name": "claimId",
160
+ "type": "uint16"
161
+ }
162
+ ],
163
+ "name": "getClaimState",
164
+ "outputs": [
165
+ {
166
+ "internalType": "StateId",
167
+ "name": "state",
168
+ "type": "uint8"
169
+ }
170
+ ],
171
+ "stateMutability": "view",
172
+ "type": "function"
173
+ },
174
+ {
175
+ "inputs": [
176
+ {
177
+ "internalType": "NftId",
178
+ "name": "poolNftId",
179
+ "type": "uint96"
180
+ }
181
+ ],
182
+ "name": "getComponentInfo",
183
+ "outputs": [
184
+ {
185
+ "components": [
186
+ {
187
+ "internalType": "string",
188
+ "name": "name",
189
+ "type": "string"
190
+ },
191
+ {
192
+ "internalType": "contract IERC20Metadata",
193
+ "name": "token",
194
+ "type": "address"
195
+ },
196
+ {
197
+ "internalType": "contract TokenHandler",
198
+ "name": "tokenHandler",
199
+ "type": "address"
200
+ },
201
+ {
202
+ "internalType": "address",
203
+ "name": "wallet",
204
+ "type": "address"
205
+ },
206
+ {
207
+ "internalType": "Amount",
208
+ "name": "balanceAmount",
209
+ "type": "uint96"
210
+ },
211
+ {
212
+ "internalType": "Amount",
213
+ "name": "feeAmount",
214
+ "type": "uint96"
215
+ },
216
+ {
217
+ "internalType": "bytes",
218
+ "name": "data",
219
+ "type": "bytes"
220
+ }
221
+ ],
222
+ "internalType": "struct IComponents.ComponentInfo",
223
+ "name": "info",
224
+ "type": "tuple"
225
+ }
226
+ ],
227
+ "stateMutability": "view",
228
+ "type": "function"
229
+ },
100
230
  {
101
231
  "inputs": [
102
232
  {
@@ -157,18 +287,35 @@
157
287
  }
158
288
  ],
159
289
  "internalType": "struct Fee",
160
- "name": "distributionFee",
290
+ "name": "minDistributionOwnerFee",
161
291
  "type": "tuple"
162
292
  },
163
293
  {
164
- "internalType": "bool",
165
- "name": "isIntercepting",
166
- "type": "bool"
294
+ "components": [
295
+ {
296
+ "internalType": "UFixed",
297
+ "name": "fractionalFee",
298
+ "type": "uint256"
299
+ },
300
+ {
301
+ "internalType": "uint256",
302
+ "name": "fixedFee",
303
+ "type": "uint256"
304
+ }
305
+ ],
306
+ "internalType": "struct Fee",
307
+ "name": "distributionFee",
308
+ "type": "tuple"
167
309
  },
168
310
  {
169
311
  "internalType": "address",
170
312
  "name": "wallet",
171
313
  "type": "address"
314
+ },
315
+ {
316
+ "internalType": "uint256",
317
+ "name": "sumDistributionOwnerFees",
318
+ "type": "uint256"
172
319
  }
173
320
  ],
174
321
  "internalType": "struct ISetup.DistributionSetupInfo",
@@ -205,6 +352,16 @@
205
352
  "internalType": "bytes",
206
353
  "name": "data",
207
354
  "type": "bytes"
355
+ },
356
+ {
357
+ "internalType": "uint256",
358
+ "name": "sumCommisions",
359
+ "type": "uint256"
360
+ },
361
+ {
362
+ "internalType": "uint256",
363
+ "name": "numPoliciesSold",
364
+ "type": "uint256"
208
365
  }
209
366
  ],
210
367
  "internalType": "struct IDistribution.DistributorInfo",
@@ -294,19 +451,6 @@
294
451
  "stateMutability": "view",
295
452
  "type": "function"
296
453
  },
297
- {
298
- "inputs": [],
299
- "name": "getInstanceNftId",
300
- "outputs": [
301
- {
302
- "internalType": "NftId",
303
- "name": "nftId",
304
- "type": "uint96"
305
- }
306
- ],
307
- "stateMutability": "view",
308
- "type": "function"
309
- },
310
454
  {
311
455
  "inputs": [],
312
456
  "name": "getInstanceStore",
@@ -414,9 +558,9 @@
414
558
  "type": "uint256"
415
559
  },
416
560
  {
417
- "internalType": "uint256",
561
+ "internalType": "Seconds",
418
562
  "name": "lifetime",
419
- "type": "uint256"
563
+ "type": "uint40"
420
564
  },
421
565
  {
422
566
  "internalType": "bytes",
@@ -439,9 +583,9 @@
439
583
  "type": "uint16"
440
584
  },
441
585
  {
442
- "internalType": "uint256",
586
+ "internalType": "Amount",
443
587
  "name": "payoutAmount",
444
- "type": "uint256"
588
+ "type": "uint96"
445
589
  },
446
590
  {
447
591
  "internalType": "Timestamp",
@@ -486,103 +630,6 @@
486
630
  "stateMutability": "view",
487
631
  "type": "function"
488
632
  },
489
- {
490
- "inputs": [
491
- {
492
- "internalType": "NftId",
493
- "name": "poolNftId",
494
- "type": "uint96"
495
- }
496
- ],
497
- "name": "getPoolSetupInfo",
498
- "outputs": [
499
- {
500
- "components": [
501
- {
502
- "internalType": "NftId",
503
- "name": "productNftId",
504
- "type": "uint96"
505
- },
506
- {
507
- "internalType": "contract TokenHandler",
508
- "name": "tokenHandler",
509
- "type": "address"
510
- },
511
- {
512
- "internalType": "UFixed",
513
- "name": "collateralizationLevel",
514
- "type": "uint256"
515
- },
516
- {
517
- "components": [
518
- {
519
- "internalType": "UFixed",
520
- "name": "fractionalFee",
521
- "type": "uint256"
522
- },
523
- {
524
- "internalType": "uint256",
525
- "name": "fixedFee",
526
- "type": "uint256"
527
- }
528
- ],
529
- "internalType": "struct Fee",
530
- "name": "poolFee",
531
- "type": "tuple"
532
- },
533
- {
534
- "components": [
535
- {
536
- "internalType": "UFixed",
537
- "name": "fractionalFee",
538
- "type": "uint256"
539
- },
540
- {
541
- "internalType": "uint256",
542
- "name": "fixedFee",
543
- "type": "uint256"
544
- }
545
- ],
546
- "internalType": "struct Fee",
547
- "name": "stakingFee",
548
- "type": "tuple"
549
- },
550
- {
551
- "components": [
552
- {
553
- "internalType": "UFixed",
554
- "name": "fractionalFee",
555
- "type": "uint256"
556
- },
557
- {
558
- "internalType": "uint256",
559
- "name": "fixedFee",
560
- "type": "uint256"
561
- }
562
- ],
563
- "internalType": "struct Fee",
564
- "name": "performanceFee",
565
- "type": "tuple"
566
- },
567
- {
568
- "internalType": "bool",
569
- "name": "isIntercepting",
570
- "type": "bool"
571
- },
572
- {
573
- "internalType": "address",
574
- "name": "wallet",
575
- "type": "address"
576
- }
577
- ],
578
- "internalType": "struct ISetup.PoolSetupInfo",
579
- "name": "info",
580
- "type": "tuple"
581
- }
582
- ],
583
- "stateMutability": "view",
584
- "type": "function"
585
- },
586
633
  {
587
634
  "inputs": [
588
635
  {
@@ -615,23 +662,6 @@
615
662
  "name": "poolNftId",
616
663
  "type": "uint96"
617
664
  },
618
- {
619
- "components": [
620
- {
621
- "internalType": "UFixed",
622
- "name": "fractionalFee",
623
- "type": "uint256"
624
- },
625
- {
626
- "internalType": "uint256",
627
- "name": "fixedFee",
628
- "type": "uint256"
629
- }
630
- ],
631
- "internalType": "struct Fee",
632
- "name": "distributionFee",
633
- "type": "tuple"
634
- },
635
665
  {
636
666
  "components": [
637
667
  {
@@ -667,55 +697,14 @@
667
697
  "type": "tuple"
668
698
  },
669
699
  {
670
- "components": [
671
- {
672
- "internalType": "UFixed",
673
- "name": "fractionalFee",
674
- "type": "uint256"
675
- },
676
- {
677
- "internalType": "uint256",
678
- "name": "fixedFee",
679
- "type": "uint256"
680
- }
681
- ],
682
- "internalType": "struct Fee",
683
- "name": "poolFee",
684
- "type": "tuple"
685
- },
686
- {
687
- "components": [
688
- {
689
- "internalType": "UFixed",
690
- "name": "fractionalFee",
691
- "type": "uint256"
692
- },
693
- {
694
- "internalType": "uint256",
695
- "name": "fixedFee",
696
- "type": "uint256"
697
- }
698
- ],
699
- "internalType": "struct Fee",
700
- "name": "stakingFee",
701
- "type": "tuple"
700
+ "internalType": "bool",
701
+ "name": "isIntercepting",
702
+ "type": "bool"
702
703
  },
703
704
  {
704
- "components": [
705
- {
706
- "internalType": "UFixed",
707
- "name": "fractionalFee",
708
- "type": "uint256"
709
- },
710
- {
711
- "internalType": "uint256",
712
- "name": "fixedFee",
713
- "type": "uint256"
714
- }
715
- ],
716
- "internalType": "struct Fee",
717
- "name": "performanceFee",
718
- "type": "tuple"
705
+ "internalType": "address",
706
+ "name": "wallet",
707
+ "type": "address"
719
708
  }
720
709
  ],
721
710
  "internalType": "struct ISetup.ProductSetupInfo",
@@ -979,13 +968,8 @@
979
968
  "inputs": [
980
969
  {
981
970
  "internalType": "address",
982
- "name": "registry",
971
+ "name": "instance",
983
972
  "type": "address"
984
- },
985
- {
986
- "internalType": "NftId",
987
- "name": "instanceNftId",
988
- "type": "uint96"
989
973
  }
990
974
  ],
991
975
  "name": "initialize",
@@ -1194,14 +1178,26 @@
1194
1178
  "type": "function"
1195
1179
  }
1196
1180
  ],
1197
- "bytecode": "0x60806040523480156200001157600080fd5b50604051620033443803806200334483398101604081905262000034916200038e565b62000040828262000048565b5050620005f5565b60005460ff1615620000ab5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b038216620001035760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f00000000006044820152606401620000a2565b6040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156200015c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001829190620003d7565b620001d05760405162461bcd60e51b815260206004820152601960248201527f4552524f523a4352442d3030323a4e46545f49445f5a45524f000000000000006044820152606401620000a2565b60008054610100600160a81b0319166101006001600160a01b03858116820292909217808455600180546001600160601b0319166001600160601b0387169081179091556040516305247a1760e51b815260048101919091529190049091169063a48f42e090602401600060405180830381865afa15801562000257573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200028191908101906200050f565b9050620002a781604001516200029c6200035460201b60201c565b60ff90811691161490565b620002ff5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030333a504152454e545f4e4f545f494e5354414e436044820152604560f81b6064820152608401620000a2565b60800151600180546001600160601b03166c010000000000000000000000006001600160a01b03909316928302178155600280546001600160a01b0319169092179091556000805460ff191690911790555050565b604690565b80516001600160a01b03811681146200037157600080fd5b919050565b80516001600160601b03811681146200037157600080fd5b60008060408385031215620003a257600080fd5b620003ad8362000359565b9150620003bd6020840162000376565b90509250929050565b805180151581146200037157600080fd5b600060208284031215620003ea57600080fd5b620003f582620003c6565b9392505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715620004375762000437620003fc565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620004685762000468620003fc565b604052919050565b805160ff811681146200037157600080fd5b600082601f8301126200049457600080fd5b81516001600160401b03811115620004b057620004b0620003fc565b6020620004c6601f8301601f191682016200043d565b8281528582848701011115620004db57600080fd5b60005b83811015620004fb578581018301518282018401528201620004de565b506000928101909101919091529392505050565b6000602082840312156200052257600080fd5b81516001600160401b03808211156200053a57600080fd5b9083019060e082860312156200054f57600080fd5b6200055962000412565b620005648362000376565b8152620005746020840162000376565b6020820152620005876040840162000470565b60408201526200059a60608401620003c6565b6060820152620005ad6080840162000359565b6080820152620005c060a0840162000359565b60a082015260c083015182811115620005d857600080fd5b620005e68782860162000482565b60c08301525095945050505050565b612d3f80620006056000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c80639096a1f3116100f9578063d06458c611610097578063de7b5d1411610071578063de7b5d1414610525578063f2a413741461053d578063f2b246c314610552578063f7f318d31461056557600080fd5b8063d06458c6146104e1578063d4cda0d814610501578063dd26287a1461051257600080fd5b8063a310e2a3116100d3578063a310e2a3146103ff578063a5961b4c1461042a578063b82d7ef514610497578063bd7d9d85146104c157600080fd5b80639096a1f31461034857806390af70641461036d5780639ad69c671461038d57600080fd5b80634793b4ab116101665780637bfd3217116101405780637bfd3217146102e75780637e54602a146102fa5780637e7986691461030d578063887b1fa91461032857600080fd5b80634793b4ab1461029457806355e343a9146102b457806364eb3a9b146102d457600080fd5b806327b1d792116101a257806327b1d7921461022257806335898f5d146102425780633f093cd61461025557806344aa68361461028157600080fd5b80631488c845146101c95780631d3be477146101ef57806325d037431461020f575b600080fd5b6101dc6101d7366004611a27565b610578565b6040519081526020015b60405180910390f35b6102026101fd366004611a76565b610600565b6040516101e69190611ae3565b6101dc61021d366004611b93565b610759565b610235610230366004611b93565b6107f3565b6040516101e69190611bb0565b6101dc610250366004611b93565b6108ad565b610268610263366004611d5a565b6108da565b6040516001600160c01b031990911681526020016101e6565b6101dc61028f366004611dec565b610957565b6102a76102a2366004611b93565b610992565b6040516101e69190611e05565b6102c76102c2366004611b93565b610a38565b6040516101e69190611eb9565b6101dc6102e2366004611b93565b610ade565b6101dc6102f5366004611b93565b610b0b565b6101dc610308366004611b93565b610b38565b6001546040516001600160601b0390911681526020016101e6565b61033b610336366004611a76565b610b65565b6040516101e69190611f5e565b61035b610356366004611b93565b610c8e565b60405160ff90911681526020016101e6565b61038061037b366004611b93565b610d11565b6040516101e69190612089565b6103a061039b366004611b93565b610db7565b6040805182516001600160601b031681526020808401516001600160a01b0390811682840152848401518051948401949094529201516060808301919091528301511515608080830191909152909201511660a082015260c0016101e6565b61041261040d366004611b93565b610e5d565b6040516001600160a01b0390911681526020016101e6565b61043d610438366004611dec565b610f0b565b6040516101e69190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b6104aa6104a5366004611a76565b610f9f565b6040805192835260ff9091166020830152016101e6565b6104d46104cf366004611b93565b611247565b6040516101e69190612098565b6104f46104ef366004611a76565b611365565b6040516101e691906121d9565b6002546001600160a01b0316610412565b6101dc610520366004611b93565b6114d8565b600154600160601b90046001600160a01b0316610412565b61055061054b36600461229e565b611505565b005b610380610560366004611b93565b6117f7565b6101dc610573366004611b93565b61181c565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af41580156105d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f791906122cc565b90505b92915050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af41580156106a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106cb91906122cc565b6040518263ffffffff1660e01b81526004016106e991815260200190565b600060405180830381865afa158015610706573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261072e919081019061232a565b805190915015610753578080602001905181019061074c91906123a0565b9392505050565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af41580156107cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105fa91906122cc565b604080516060808201835260008083526020830152918101919091526002546000906001600160a01b03166354f6127f61082c85610b38565b6040518263ffffffff1660e01b815260040161084a91815260200190565b600060405180830381865afa158015610867573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261088f919081019061232a565b805190915015610753578080602001905181019061074c9190612499565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b0384166078610782565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd690610916908690869060040161253f565b602060405180830381865af4158015610933573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f79190612561565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa6836906024016107b2565b61099a611849565b6002546000906001600160a01b03166354f6127f6109b78561181c565b6040518263ffffffff1660e01b81526004016109d591815260200190565b600060405180830381865afa1580156109f2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a1a919081019061232a565b805190915015610753578080602001905181019061074c91906125ae565b610a406118c7565b6002546000906001600160a01b03166354f6127f610a5d856114d8565b6040518263ffffffff1660e01b8152600401610a7b91815260200190565b600060405180830381865afa158015610a98573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ac0919081019061232a565b805190915015610753578080602001905181019061074c9190612699565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d2610782565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e610782565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a610782565b6040805180820190915260008152606060208201526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610be9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0d91906122cc565b6040518263ffffffff1660e01b8152600401610c2b91815260200190565b600060405180830381865afa158015610c48573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c70919081019061232a565b805190915015610753578080602001905181019061074c919061273b565b600154600090600160601b90046001600160a01b03166309648a9d610cb284610ade565b6040518263ffffffff1660e01b8152600401610cd091815260200190565b602060405180830381865afa158015610ced573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105fa91906127d4565b610d19611938565b6002546000906001600160a01b03166354f6127f610d3685610b0b565b6040518263ffffffff1660e01b8152600401610d5491815260200190565b600060405180830381865afa158015610d71573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d99919081019061232a565b805190915015610753578080602001905181019061074c91906128c3565b610dbf6119df565b6002546000906001600160a01b03166354f6127f610ddc856108ad565b6040518263ffffffff1660e01b8152600401610dfa91815260200190565b600060405180830381865afa158015610e17573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e3f919081019061232a565b805190915015610753578080602001905181019061074c91906128e0565b60025460009081906001600160a01b03166354f6127f610e7c85610759565b6040518263ffffffff1660e01b8152600401610e9a91815260200190565b600060405180830381865afa158015610eb7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610edf919081019061232a565b80519091501561075357600081806020019051810190610eff91906128c3565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610f7b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105fa9190612957565b6000806000610fad84610600565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af415801561100c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061103091906129c5565b156110af5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561107e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110a291906122cc565b60645b9250925050915091565b6111338160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611100573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061112491906129e0565b64ffffffffff90811691161090565b156111ac5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611181573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111a591906122cc565b606e6110a5565b806060015163ffffffff16816080015163ffffffff161061123b5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611210573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061123491906122cc565b60786110a5565b6040810151600a6110a5565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002546000906001600160a01b03166354f6127f6112e485610ade565b6040518263ffffffff1660e01b815260040161130291815260200190565b600060405180830381865afa15801561131f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611347919081019061232a565b805190915015610753578080602001905181019061074c9190612a0d565b6113c460405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015611433573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061145791906122cc565b6040518263ffffffff1660e01b815260040161147591815260200190565b600060405180830381865afa158015611492573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526114ba919081019061232a565b805190915015610753578080602001905181019061074c9190612b72565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c610782565b60005460ff16156115675760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b0382166115bd5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f0000000000604482015260640161155e565b6040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611615573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061163991906129c5565b6116855760405162461bcd60e51b815260206004820152601960248201527f4552524f523a4352442d3030323a4e46545f49445f5a45524f00000000000000604482015260640161155e565b60008054610100600160a81b0319166101006001600160a01b03858116820292909217808455600180546bffffffffffffffffffffffff19166001600160601b0387169081179091556040516305247a1760e51b815260048101919091529190049091169063a48f42e090602401600060405180830381865afa158015611710573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526117389190810190612c69565b9050611755816040015161174a604690565b60ff90811691161490565b6117ab5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030333a504152454e545f4e4f545f494e5354414e436044820152604560f81b606482015260840161155e565b60800151600180546001600160601b0316600160601b6001600160a01b03909316928302178155600280546001600160a01b0319169092179091556000805460ff191690911790555050565b6117ff611938565b6002546000906001600160a01b03166354f6127f610d3685610759565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc610782565b60405180610120016040528060006001600160601b03168152602001611882604051806040016040528060008152602001600081525090565b81526020016060815260200160008152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b60408051610100810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a08201905b815260006020820181905260409091015290565b604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b03168152602001611924604051806040016040528060008152602001600081525090565b60008060408385031215611a3a57600080fd5b8235915060208301358060000b8114611a5257600080fd5b809150509250929050565b6001600160c01b031981168114611a7357600080fd5b50565b600060208284031215611a8857600080fd5b813561074c81611a5d565b60005b83811015611aae578181015183820152602001611a96565b50506000910152565b60008151808452611acf816020860160208601611a93565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e06040840152611b13610100840182611ab7565b90506040840151606084015263ffffffff60608501511660808401526080840151611b4660a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e0850152611b758282611ab7565b95945050505050565b6001600160601b0381168114611a7357600080fd5b600060208284031215611ba557600080fd5b813561074c81611b7e565b602081526001600160401b0360c01b825116602082015260208201511515604082015260006040830151606080840152611bed6080840182611ab7565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611c2d57611c2d611bf5565b60405290565b604080519081016001600160401b0381118282101715611c2d57611c2d611bf5565b60405161012081016001600160401b0381118282101715611c2d57611c2d611bf5565b60405161010081016001600160401b0381118282101715611c2d57611c2d611bf5565b60405161014081016001600160401b0381118282101715611c2d57611c2d611bf5565b60405160a081016001600160401b0381118282101715611c2d57611c2d611bf5565b60405161020081016001600160401b0381118282101715611c2d57611c2d611bf5565b604051601f8201601f191681016001600160401b0381118282101715611d2b57611d2b611bf5565b604052919050565b60006001600160401b03821115611d4c57611d4c611bf5565b50601f01601f191660200190565b60008060408385031215611d6d57600080fd5b8235611d7881611b7e565b915060208301356001600160401b03811115611d9357600080fd5b8301601f81018513611da457600080fd5b8035611db7611db282611d33565b611d03565b818152866020838501011115611dcc57600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611dfe57600080fd5b5035919050565b60208152611e1f6020820183516001600160601b03169052565b60006020830151611e3d604084018280518252602090810151910152565b506040830151610140806080850152611e5a610160850183611ab7565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100818187015260e08701519150611ea261012087018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b81516001600160601b031681526020808301516001600160a01b03169082015260408083015190820152606080830151610160830191611f059084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151151561012083015260e08301516001600160a01b0381166101408401525092915050565b602081526001600160601b03825116602082015260006020830151604080840152611bed6060840182611ab7565b80516001600160a01b031682526020810151611fb360208401826001600160a01b03169052565b506040810151611fce60408401826001600160601b03169052565b506060810151611fe960608401826001600160601b03169052565b506080810151612006608084018280518252602090810151910152565b5060a0810151805160c0840152602081015160e08401525060c081015161010061203c8185018380518252602090810151910152565b60e0830151805161014086015260208101516101608601529150820151805161018085015260208101516101a0850152905050610120015180516101c0830152602001516101e090910152565b61020081016105fa8284611f8c565b602081526120b26020820183516001600160601b03169052565b600060208301516120ce60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e08301516101008181850152808501519150506102006101208181860152612146610220860184611ab7565b9250808601519050610140601f1986850301818701526121668483611ab7565b9350808701519150506101606121818187018361ffff169052565b86015190506101806121988682018361ffff169052565b8601516101a08681019190915286015190506101c06121bf8187018364ffffffffff169052565b86015190506101e0611ea28682018364ffffffffff169052565b60208152600082516101208060208501526121f8610140850183611ab7565b9150602085015160408501526040850151606085015260608501516080850152608085015161222f60a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006122658187018315159052565b860151858403601f190183870152905061227f8382611ab7565b9695505050505050565b6001600160a01b0381168114611a7357600080fd5b600080604083850312156122b157600080fd5b82356122bc81612289565b91506020830135611a5281611b7e565b6000602082840312156122de57600080fd5b5051919050565b600082601f8301126122f657600080fd5b8151612304611db282611d33565b81815284602083860101111561231957600080fd5b611bed826020830160208701611a93565b60006020828403121561233c57600080fd5b81516001600160401b0381111561235257600080fd5b611bed848285016122e5565b805161236981611b7e565b919050565b63ffffffff81168114611a7357600080fd5b80516123698161236e565b805164ffffffffff8116811461236957600080fd5b6000602082840312156123b257600080fd5b81516001600160401b03808211156123c957600080fd5b9083019060e082860312156123dd57600080fd5b6123e5611c0b565b6123ee8361235e565b815260208301518281111561240257600080fd5b61240e878286016122e5565b6020830152506040830151604082015261242a60608401612380565b606082015261243b60808401612380565b608082015261244c60a0840161238b565b60a082015260c08301518281111561246357600080fd5b61246f878286016122e5565b60c08301525095945050505050565b805161236981611a5d565b8051801515811461236957600080fd5b6000602082840312156124ab57600080fd5b81516001600160401b03808211156124c257600080fd5b90830190606082860312156124d657600080fd5b6040516060810181811083821117156124f1576124f1611bf5565b60405282516124ff81611a5d565b815261250d60208401612489565b602082015260408301518281111561252457600080fd5b612530878286016122e5565b60408301525095945050505050565b6001600160601b0383168152604060208201526000611bed6040830184611ab7565b60006020828403121561257357600080fd5b815161074c81611a5d565b60006040828403121561259057600080fd5b612598611c33565b9050815181526020820151602082015292915050565b6000602082840312156125c057600080fd5b81516001600160401b03808211156125d757600080fd5b9083019061014082860312156125ec57600080fd5b6125f4611c55565b6125fd8361235e565b815261260c866020850161257e565b602082015260608301518281111561262357600080fd5b61262f878286016122e5565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c0820152610100915061266d82840161238b565b60e082015261267f610120840161238b565b91810191909152949350505050565b805161236981612289565b600061016082840312156126ac57600080fd5b6126b4611c78565b6126bd8361235e565b81526126cb6020840161268e565b6020820152604083015160408201526126e7846060850161257e565b60608201526126f98460a0850161257e565b608082015261270b8460e0850161257e565b60a082015261271d6101208401612489565b60c082015261272f610140840161268e565b60e08201529392505050565b60006020828403121561274d57600080fd5b81516001600160401b038082111561276457600080fd5b908301906040828603121561277857600080fd5b612780611c33565b825161278b81611b7e565b815260208301518281111561279f57600080fd5b6127ab878286016122e5565b60208301525095945050505050565b60ff81168114611a7357600080fd5b8051612369816127ba565b6000602082840312156127e657600080fd5b815161074c816127ba565b6000610200828403121561280457600080fd5b61280c611c9b565b90506128178261268e565b81526128256020830161268e565b60208201526128366040830161235e565b60408201526128476060830161235e565b6060820152612859836080840161257e565b608082015261286b8360c0840161257e565b60a082015261010061287f8482850161257e565b60c083015261289284610140850161257e565b60e08301526128a584610180850161257e565b908201526128b7836101c0840161257e565b61012082015292915050565b600061020082840312156128d657600080fd5b6105f783836127f1565b600060c082840312156128f257600080fd5b6128fa611cbe565b825161290581611b7e565b8152602083015161291581612289565b6020820152612927846040850161257e565b604082015261293860808401612489565b606082015260a083015161294b81612289565b60808201529392505050565b600060a0828403121561296957600080fd5b612971611cbe565b825161297c816127ba565b8152602083015161298c816127ba565b6020820152604083015161299f81612289565b604082015260608301516129b28161236e565b6060820152608083015161294b8161236e565b6000602082840312156129d757600080fd5b6105f782612489565b6000602082840312156129f257600080fd5b6105f78261238b565b805161ffff8116811461236957600080fd5b600060208284031215612a1f57600080fd5b81516001600160401b0380821115612a3657600080fd5b908301906102008286031215612a4b57600080fd5b612a53611ce0565b612a5c8361235e565b8152612a6a6020840161235e565b6020820152612a7b6040840161247e565b6040820152612a8c6060840161247e565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015183811115612acd57600080fd5b612ad9888287016122e5565b8284015250506101208084015183811115612af357600080fd5b612aff888287016122e5565b8284015250506101409150612b158284016129fb565b828201526101609150612b298284016129fb565b82820152610180915081830151828201526101a09150612b4a82840161238b565b828201526101c09150612b5e82840161238b565b828201526101e0915061267f82840161238b565b600060208284031215612b8457600080fd5b81516001600160401b0380821115612b9b57600080fd5b908301906101208286031215612bb057600080fd5b612bb8611c55565b825182811115612bc757600080fd5b612bd3878286016122e5565b825250602083015160208201526040830151604082015260608301516060820152612c0060808401612380565b6080820152612c1160a08401612380565b60a0820152612c2260c08401612489565b60c0820152612c3360e08401612489565b60e08201526101008084015183811115612c4c57600080fd5b612c58888287016122e5565b918301919091525095945050505050565b600060208284031215612c7b57600080fd5b81516001600160401b0380821115612c9257600080fd5b9083019060e08286031215612ca657600080fd5b612cae611c0b565b612cb78361235e565b8152612cc56020840161235e565b6020820152612cd6604084016127c9565b6040820152612ce760608401612489565b6060820152612cf86080840161268e565b608082015261244c60a0840161268e56fea2646970667358221220a4f0ebfe9de456c6731d28a14b8c4c40e724c61aa8e1abc46107e74a5673027064736f6c63430008140033",
1198
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101c45760003560e01c80639096a1f3116100f9578063d06458c611610097578063de7b5d1411610071578063de7b5d1414610525578063f2a413741461053d578063f2b246c314610552578063f7f318d31461056557600080fd5b8063d06458c6146104e1578063d4cda0d814610501578063dd26287a1461051257600080fd5b8063a310e2a3116100d3578063a310e2a3146103ff578063a5961b4c1461042a578063b82d7ef514610497578063bd7d9d85146104c157600080fd5b80639096a1f31461034857806390af70641461036d5780639ad69c671461038d57600080fd5b80634793b4ab116101665780637bfd3217116101405780637bfd3217146102e75780637e54602a146102fa5780637e7986691461030d578063887b1fa91461032857600080fd5b80634793b4ab1461029457806355e343a9146102b457806364eb3a9b146102d457600080fd5b806327b1d792116101a257806327b1d7921461022257806335898f5d146102425780633f093cd61461025557806344aa68361461028157600080fd5b80631488c845146101c95780631d3be477146101ef57806325d037431461020f575b600080fd5b6101dc6101d7366004611a27565b610578565b6040519081526020015b60405180910390f35b6102026101fd366004611a76565b610600565b6040516101e69190611ae3565b6101dc61021d366004611b93565b610759565b610235610230366004611b93565b6107f3565b6040516101e69190611bb0565b6101dc610250366004611b93565b6108ad565b610268610263366004611d5a565b6108da565b6040516001600160c01b031990911681526020016101e6565b6101dc61028f366004611dec565b610957565b6102a76102a2366004611b93565b610992565b6040516101e69190611e05565b6102c76102c2366004611b93565b610a38565b6040516101e69190611eb9565b6101dc6102e2366004611b93565b610ade565b6101dc6102f5366004611b93565b610b0b565b6101dc610308366004611b93565b610b38565b6001546040516001600160601b0390911681526020016101e6565b61033b610336366004611a76565b610b65565b6040516101e69190611f5e565b61035b610356366004611b93565b610c8e565b60405160ff90911681526020016101e6565b61038061037b366004611b93565b610d11565b6040516101e69190612089565b6103a061039b366004611b93565b610db7565b6040805182516001600160601b031681526020808401516001600160a01b0390811682840152848401518051948401949094529201516060808301919091528301511515608080830191909152909201511660a082015260c0016101e6565b61041261040d366004611b93565b610e5d565b6040516001600160a01b0390911681526020016101e6565b61043d610438366004611dec565b610f0b565b6040516101e69190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b6104aa6104a5366004611a76565b610f9f565b6040805192835260ff9091166020830152016101e6565b6104d46104cf366004611b93565b611247565b6040516101e69190612098565b6104f46104ef366004611a76565b611365565b6040516101e691906121d9565b6002546001600160a01b0316610412565b6101dc610520366004611b93565b6114d8565b600154600160601b90046001600160a01b0316610412565b61055061054b36600461229e565b611505565b005b610380610560366004611b93565b6117f7565b6101dc610573366004611b93565b61181c565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af41580156105d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f791906122cc565b90505b92915050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af41580156106a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106cb91906122cc565b6040518263ffffffff1660e01b81526004016106e991815260200190565b600060405180830381865afa158015610706573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261072e919081019061232a565b805190915015610753578080602001905181019061074c91906123a0565b9392505050565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af41580156107cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105fa91906122cc565b604080516060808201835260008083526020830152918101919091526002546000906001600160a01b03166354f6127f61082c85610b38565b6040518263ffffffff1660e01b815260040161084a91815260200190565b600060405180830381865afa158015610867573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261088f919081019061232a565b805190915015610753578080602001905181019061074c9190612499565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b0384166078610782565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd690610916908690869060040161253f565b602060405180830381865af4158015610933573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f79190612561565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa6836906024016107b2565b61099a611849565b6002546000906001600160a01b03166354f6127f6109b78561181c565b6040518263ffffffff1660e01b81526004016109d591815260200190565b600060405180830381865afa1580156109f2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a1a919081019061232a565b805190915015610753578080602001905181019061074c91906125ae565b610a406118c7565b6002546000906001600160a01b03166354f6127f610a5d856114d8565b6040518263ffffffff1660e01b8152600401610a7b91815260200190565b600060405180830381865afa158015610a98573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ac0919081019061232a565b805190915015610753578080602001905181019061074c9190612699565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d2610782565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e610782565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a610782565b6040805180820190915260008152606060208201526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610be9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0d91906122cc565b6040518263ffffffff1660e01b8152600401610c2b91815260200190565b600060405180830381865afa158015610c48573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c70919081019061232a565b805190915015610753578080602001905181019061074c919061273b565b600154600090600160601b90046001600160a01b03166309648a9d610cb284610ade565b6040518263ffffffff1660e01b8152600401610cd091815260200190565b602060405180830381865afa158015610ced573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105fa91906127d4565b610d19611938565b6002546000906001600160a01b03166354f6127f610d3685610b0b565b6040518263ffffffff1660e01b8152600401610d5491815260200190565b600060405180830381865afa158015610d71573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d99919081019061232a565b805190915015610753578080602001905181019061074c91906128c3565b610dbf6119df565b6002546000906001600160a01b03166354f6127f610ddc856108ad565b6040518263ffffffff1660e01b8152600401610dfa91815260200190565b600060405180830381865afa158015610e17573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e3f919081019061232a565b805190915015610753578080602001905181019061074c91906128e0565b60025460009081906001600160a01b03166354f6127f610e7c85610759565b6040518263ffffffff1660e01b8152600401610e9a91815260200190565b600060405180830381865afa158015610eb7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610edf919081019061232a565b80519091501561075357600081806020019051810190610eff91906128c3565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610f7b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105fa9190612957565b6000806000610fad84610600565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af415801561100c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061103091906129c5565b156110af5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561107e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110a291906122cc565b60645b9250925050915091565b6111338160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611100573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061112491906129e0565b64ffffffffff90811691161090565b156111ac5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611181573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111a591906122cc565b606e6110a5565b806060015163ffffffff16816080015163ffffffff161061123b5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611210573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061123491906122cc565b60786110a5565b6040810151600a6110a5565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002546000906001600160a01b03166354f6127f6112e485610ade565b6040518263ffffffff1660e01b815260040161130291815260200190565b600060405180830381865afa15801561131f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611347919081019061232a565b805190915015610753578080602001905181019061074c9190612a0d565b6113c460405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015611433573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061145791906122cc565b6040518263ffffffff1660e01b815260040161147591815260200190565b600060405180830381865afa158015611492573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526114ba919081019061232a565b805190915015610753578080602001905181019061074c9190612b72565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c610782565b60005460ff16156115675760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b0382166115bd5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f0000000000604482015260640161155e565b6040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611615573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061163991906129c5565b6116855760405162461bcd60e51b815260206004820152601960248201527f4552524f523a4352442d3030323a4e46545f49445f5a45524f00000000000000604482015260640161155e565b60008054610100600160a81b0319166101006001600160a01b03858116820292909217808455600180546bffffffffffffffffffffffff19166001600160601b0387169081179091556040516305247a1760e51b815260048101919091529190049091169063a48f42e090602401600060405180830381865afa158015611710573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526117389190810190612c69565b9050611755816040015161174a604690565b60ff90811691161490565b6117ab5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030333a504152454e545f4e4f545f494e5354414e436044820152604560f81b606482015260840161155e565b60800151600180546001600160601b0316600160601b6001600160a01b03909316928302178155600280546001600160a01b0319169092179091556000805460ff191690911790555050565b6117ff611938565b6002546000906001600160a01b03166354f6127f610d3685610759565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc610782565b60405180610120016040528060006001600160601b03168152602001611882604051806040016040528060008152602001600081525090565b81526020016060815260200160008152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b60408051610100810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a08201905b815260006020820181905260409091015290565b604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b03168152602001611924604051806040016040528060008152602001600081525090565b60008060408385031215611a3a57600080fd5b8235915060208301358060000b8114611a5257600080fd5b809150509250929050565b6001600160c01b031981168114611a7357600080fd5b50565b600060208284031215611a8857600080fd5b813561074c81611a5d565b60005b83811015611aae578181015183820152602001611a96565b50506000910152565b60008151808452611acf816020860160208601611a93565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e06040840152611b13610100840182611ab7565b90506040840151606084015263ffffffff60608501511660808401526080840151611b4660a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e0850152611b758282611ab7565b95945050505050565b6001600160601b0381168114611a7357600080fd5b600060208284031215611ba557600080fd5b813561074c81611b7e565b602081526001600160401b0360c01b825116602082015260208201511515604082015260006040830151606080840152611bed6080840182611ab7565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611c2d57611c2d611bf5565b60405290565b604080519081016001600160401b0381118282101715611c2d57611c2d611bf5565b60405161012081016001600160401b0381118282101715611c2d57611c2d611bf5565b60405161010081016001600160401b0381118282101715611c2d57611c2d611bf5565b60405161014081016001600160401b0381118282101715611c2d57611c2d611bf5565b60405160a081016001600160401b0381118282101715611c2d57611c2d611bf5565b60405161020081016001600160401b0381118282101715611c2d57611c2d611bf5565b604051601f8201601f191681016001600160401b0381118282101715611d2b57611d2b611bf5565b604052919050565b60006001600160401b03821115611d4c57611d4c611bf5565b50601f01601f191660200190565b60008060408385031215611d6d57600080fd5b8235611d7881611b7e565b915060208301356001600160401b03811115611d9357600080fd5b8301601f81018513611da457600080fd5b8035611db7611db282611d33565b611d03565b818152866020838501011115611dcc57600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611dfe57600080fd5b5035919050565b60208152611e1f6020820183516001600160601b03169052565b60006020830151611e3d604084018280518252602090810151910152565b506040830151610140806080850152611e5a610160850183611ab7565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100818187015260e08701519150611ea261012087018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b81516001600160601b031681526020808301516001600160a01b03169082015260408083015190820152606080830151610160830191611f059084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151151561012083015260e08301516001600160a01b0381166101408401525092915050565b602081526001600160601b03825116602082015260006020830151604080840152611bed6060840182611ab7565b80516001600160a01b031682526020810151611fb360208401826001600160a01b03169052565b506040810151611fce60408401826001600160601b03169052565b506060810151611fe960608401826001600160601b03169052565b506080810151612006608084018280518252602090810151910152565b5060a0810151805160c0840152602081015160e08401525060c081015161010061203c8185018380518252602090810151910152565b60e0830151805161014086015260208101516101608601529150820151805161018085015260208101516101a0850152905050610120015180516101c0830152602001516101e090910152565b61020081016105fa8284611f8c565b602081526120b26020820183516001600160601b03169052565b600060208301516120ce60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e08301516101008181850152808501519150506102006101208181860152612146610220860184611ab7565b9250808601519050610140601f1986850301818701526121668483611ab7565b9350808701519150506101606121818187018361ffff169052565b86015190506101806121988682018361ffff169052565b8601516101a08681019190915286015190506101c06121bf8187018364ffffffffff169052565b86015190506101e0611ea28682018364ffffffffff169052565b60208152600082516101208060208501526121f8610140850183611ab7565b9150602085015160408501526040850151606085015260608501516080850152608085015161222f60a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006122658187018315159052565b860151858403601f190183870152905061227f8382611ab7565b9695505050505050565b6001600160a01b0381168114611a7357600080fd5b600080604083850312156122b157600080fd5b82356122bc81612289565b91506020830135611a5281611b7e565b6000602082840312156122de57600080fd5b5051919050565b600082601f8301126122f657600080fd5b8151612304611db282611d33565b81815284602083860101111561231957600080fd5b611bed826020830160208701611a93565b60006020828403121561233c57600080fd5b81516001600160401b0381111561235257600080fd5b611bed848285016122e5565b805161236981611b7e565b919050565b63ffffffff81168114611a7357600080fd5b80516123698161236e565b805164ffffffffff8116811461236957600080fd5b6000602082840312156123b257600080fd5b81516001600160401b03808211156123c957600080fd5b9083019060e082860312156123dd57600080fd5b6123e5611c0b565b6123ee8361235e565b815260208301518281111561240257600080fd5b61240e878286016122e5565b6020830152506040830151604082015261242a60608401612380565b606082015261243b60808401612380565b608082015261244c60a0840161238b565b60a082015260c08301518281111561246357600080fd5b61246f878286016122e5565b60c08301525095945050505050565b805161236981611a5d565b8051801515811461236957600080fd5b6000602082840312156124ab57600080fd5b81516001600160401b03808211156124c257600080fd5b90830190606082860312156124d657600080fd5b6040516060810181811083821117156124f1576124f1611bf5565b60405282516124ff81611a5d565b815261250d60208401612489565b602082015260408301518281111561252457600080fd5b612530878286016122e5565b60408301525095945050505050565b6001600160601b0383168152604060208201526000611bed6040830184611ab7565b60006020828403121561257357600080fd5b815161074c81611a5d565b60006040828403121561259057600080fd5b612598611c33565b9050815181526020820151602082015292915050565b6000602082840312156125c057600080fd5b81516001600160401b03808211156125d757600080fd5b9083019061014082860312156125ec57600080fd5b6125f4611c55565b6125fd8361235e565b815261260c866020850161257e565b602082015260608301518281111561262357600080fd5b61262f878286016122e5565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c0820152610100915061266d82840161238b565b60e082015261267f610120840161238b565b91810191909152949350505050565b805161236981612289565b600061016082840312156126ac57600080fd5b6126b4611c78565b6126bd8361235e565b81526126cb6020840161268e565b6020820152604083015160408201526126e7846060850161257e565b60608201526126f98460a0850161257e565b608082015261270b8460e0850161257e565b60a082015261271d6101208401612489565b60c082015261272f610140840161268e565b60e08201529392505050565b60006020828403121561274d57600080fd5b81516001600160401b038082111561276457600080fd5b908301906040828603121561277857600080fd5b612780611c33565b825161278b81611b7e565b815260208301518281111561279f57600080fd5b6127ab878286016122e5565b60208301525095945050505050565b60ff81168114611a7357600080fd5b8051612369816127ba565b6000602082840312156127e657600080fd5b815161074c816127ba565b6000610200828403121561280457600080fd5b61280c611c9b565b90506128178261268e565b81526128256020830161268e565b60208201526128366040830161235e565b60408201526128476060830161235e565b6060820152612859836080840161257e565b608082015261286b8360c0840161257e565b60a082015261010061287f8482850161257e565b60c083015261289284610140850161257e565b60e08301526128a584610180850161257e565b908201526128b7836101c0840161257e565b61012082015292915050565b600061020082840312156128d657600080fd5b6105f783836127f1565b600060c082840312156128f257600080fd5b6128fa611cbe565b825161290581611b7e565b8152602083015161291581612289565b6020820152612927846040850161257e565b604082015261293860808401612489565b606082015260a083015161294b81612289565b60808201529392505050565b600060a0828403121561296957600080fd5b612971611cbe565b825161297c816127ba565b8152602083015161298c816127ba565b6020820152604083015161299f81612289565b604082015260608301516129b28161236e565b6060820152608083015161294b8161236e565b6000602082840312156129d757600080fd5b6105f782612489565b6000602082840312156129f257600080fd5b6105f78261238b565b805161ffff8116811461236957600080fd5b600060208284031215612a1f57600080fd5b81516001600160401b0380821115612a3657600080fd5b908301906102008286031215612a4b57600080fd5b612a53611ce0565b612a5c8361235e565b8152612a6a6020840161235e565b6020820152612a7b6040840161247e565b6040820152612a8c6060840161247e565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015183811115612acd57600080fd5b612ad9888287016122e5565b8284015250506101208084015183811115612af357600080fd5b612aff888287016122e5565b8284015250506101409150612b158284016129fb565b828201526101609150612b298284016129fb565b82820152610180915081830151828201526101a09150612b4a82840161238b565b828201526101c09150612b5e82840161238b565b828201526101e0915061267f82840161238b565b600060208284031215612b8457600080fd5b81516001600160401b0380821115612b9b57600080fd5b908301906101208286031215612bb057600080fd5b612bb8611c55565b825182811115612bc757600080fd5b612bd3878286016122e5565b825250602083015160208201526040830151604082015260608301516060820152612c0060808401612380565b6080820152612c1160a08401612380565b60a0820152612c2260c08401612489565b60c0820152612c3360e08401612489565b60e08201526101008084015183811115612c4c57600080fd5b612c58888287016122e5565b918301919091525095945050505050565b600060208284031215612c7b57600080fd5b81516001600160401b0380821115612c9257600080fd5b9083019060e08286031215612ca657600080fd5b612cae611c0b565b612cb78361235e565b8152612cc56020840161235e565b6020820152612cd6604084016127c9565b6040820152612ce760608401612489565b6060820152612cf86080840161268e565b608082015261244c60a0840161268e56fea2646970667358221220a4f0ebfe9de456c6731d28a14b8c4c40e724c61aa8e1abc46107e74a5673027064736f6c63430008140033",
1181
+ "bytecode": "0x608060405234801561001057600080fd5b506130f7806100206000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c806390af706411610104578063c4d66de8116100a2578063de7b5d1411610071578063de7b5d141461055a578063f0ea17c314610570578063f2b246c314610590578063f7f318d3146105b057600080fd5b8063c4d66de814610501578063d06458c614610516578063d4cda0d814610536578063dd26287a1461054757600080fd5b8063a5961b4c116100de578063a5961b4c1461042a578063a7ef3d2114610497578063b82d7ef5146104b7578063bd7d9d85146104e157600080fd5b806390af7064146103505780639ad69c6714610370578063a310e2a3146103ff57600080fd5b80634793b4ab116101715780637bfd32171161014b5780637bfd3217146102f75780637e54602a1461030a578063887b1fa91461031d5780639096a1f31461033d57600080fd5b80634793b4ab1461029f57806364eb3a9b146102bf57806378ae9350146102d257600080fd5b806327b1d792116101ad57806327b1d7921461022d57806335898f5d1461024d5780633f093cd61461026057806344aa68361461028c57600080fd5b80631488c845146101d45780631d3be477146101fa57806325d037431461021a575b600080fd5b6101e76101e2366004611b26565b6105c3565b6040519081526020015b60405180910390f35b61020d610208366004611b75565b61064b565b6040516101f19190611be2565b6101e7610228366004611c93565b6107a4565b61024061023b366004611c93565b61083e565b6040516101f19190611cb0565b6101e761025b366004611c93565b61091a565b61027361026e366004611e95565b610947565b6040516001600160c01b031990911681526020016101f1565b6101e761029a366004611f27565b6109c4565b6102b26102ad366004611c93565b6109ff565b6040516101f19190611f40565b6101e76102cd366004611c93565b610aa5565b6102e56102e0366004612033565b610ad2565b60405160ff90911681526020016101f1565b6101e7610305366004611c93565b610bd1565b6101e7610318366004611c93565b610bfe565b61033061032b366004611b75565b610c2b565b6040516101f19190612061565b6102e561034b366004611c93565b610d54565b61036361035e366004611c93565b610dd3565b6040516101f19190612097565b61038361037e366004611c93565b610e79565b6040516101f1919081516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b61041261040d366004611c93565b610f1f565b6040516001600160a01b0390911681526020016101f1565b61043d610438366004611f27565b610fcd565b6040516101f19190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b6104aa6104a5366004612033565b611061565b6040516101f19190612144565b6104ca6104c5366004611b75565b6111be565b6040805192835260ff9091166020830152016101f1565b6104f46104ef366004611c93565b611466565b6040516101f191906121b8565b61051461050f36600461232a565b611584565b005b610529610524366004611b75565b611613565b6040516101f19190612347565b6001546001600160a01b0316610412565b6101e7610555366004611c93565b611786565b60005461010090046001600160a01b0316610412565b61058361057e366004611c93565b6117b3565b6040516101f191906123f7565b6105a361059e366004611c93565b611888565b6040516101f19190612478565b6101e76105be366004611c93565b6119d0565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af415801561061e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610642919061257a565b90505b92915050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af41580156106f2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610716919061257a565b6040518263ffffffff1660e01b815260040161073491815260200190565b600060405180830381865afa158015610751573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261077991908101906125d8565b80519091501561079e57808060200190518101906107979190612657565b9392505050565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af415801561081a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610645919061257a565b61087c6040518060a0016040528060006001600160c01b03191681526020016000151581526020016060815260200160008152602001600081525090565b6001546000906001600160a01b03166354f6127f61089985610bfe565b6040518263ffffffff1660e01b81526004016108b791815260200190565b600060405180830381865afa1580156108d4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108fc91908101906125d8565b80519091501561079e57808060200190518101906107979190612750565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660786107cd565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd69061098390869086906004016127f7565b602060405180830381865af41580156109a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106429190612819565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa6836906024016107fd565b610a076119fd565b6001546000906001600160a01b03166354f6127f610a24856119d0565b6040518263ffffffff1660e01b8152600401610a4291815260200190565b600060405180830381865afa158015610a5f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a8791908101906125d8565b80519091501561079e57808060200190518101906107979190612866565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d36107cd565b60008054604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201526101009091046001600160a01b0316906309648a9d9073__$0e0c503522f35343ef1955427c5075b143$__9063faac2b2290604401602060405180830381865af4158015610b4e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b72919061257a565b6040518263ffffffff1660e01b8152600401610b9091815260200190565b602060405180830381865afa158015610bad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610642919061297c565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e6107cd565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a6107cd565b6040805180820190915260008152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610caf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd3919061257a565b6040518263ffffffff1660e01b8152600401610cf191815260200190565b600060405180830381865afa158015610d0e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d3691908101906125d8565b80519091501561079e57808060200190518101906107979190612999565b6000805461010090046001600160a01b03166309648a9d610d7484610aa5565b6040518263ffffffff1660e01b8152600401610d9291815260200190565b602060405180830381865afa158015610daf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610645919061297c565b610ddb611a6e565b6001546000906001600160a01b03166354f6127f610df885610bd1565b6040518263ffffffff1660e01b8152600401610e1691815260200190565b600060405180830381865afa158015610e33573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e5b91908101906125d8565b80519091501561079e57808060200190518101906107979190612a23565b610e81611ade565b6001546000906001600160a01b03166354f6127f610e9e8561091a565b6040518263ffffffff1660e01b8152600401610ebc91815260200190565b600060405180830381865afa158015610ed9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f0191908101906125d8565b80519091501561079e57808060200190518101906107979190612acb565b60015460009081906001600160a01b03166354f6127f610f3e856107a4565b6040518263ffffffff1660e01b8152600401610f5c91815260200190565b600060405180830381865afa158015610f79573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610fa191908101906125d8565b80519091501561079e57600081806020019051810190610fc19190612b4f565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa15801561103d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106459190612c20565b6040805160c0810182526000808252602082018190529181018290526060808201839052608082015260a0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$0e0c503522f35343ef1955427c5075b143$__9063faac2b2290604401602060405180830381865af415801561110a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061112e919061257a565b6040518263ffffffff1660e01b815260040161114c91815260200190565b600060405180830381865afa158015611169573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261119191908101906125d8565b8051909150156111b757808060200190518101906111af9190612c9a565b915050610645565b5092915050565b60008060006111cc8461064b565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af415801561122b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061124f9190612d61565b156112ce5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561129d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112c1919061257a565b60645b9250925050915091565b6113528160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561131f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113439190612d7c565b64ffffffffff90811691161090565b156113cb5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156113a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113c4919061257a565b606e6112c4565b806060015163ffffffff16816080015163ffffffff161061145a5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561142f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611453919061257a565b60786112c4565b6040810151600a6112c4565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526001546000906001600160a01b03166354f6127f61150385610aa5565b6040518263ffffffff1660e01b815260040161152191815260200190565b600060405180830381865afa15801561153e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261156691908101906125d8565b80519091501561079e57808060200190518101906107979190612da4565b60005460ff16156115a85760405163ae9eff1b60e01b815260040160405180910390fd5b6001600160a01b0381166115cf57604051630cc51a5560e21b815260040160405180910390fd5b60008054600180546001600160a01b0319166001600160a01b03909416938417815560ff1961010094909402939093166001600160a81b0319909116179091179055565b61167260405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af41580156116e1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611705919061257a565b6040518263ffffffff1660e01b815260040161172391815260200190565b600060405180830381865afa158015611740573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261176891908101906125d8565b80519091501561079e57808060200190518101906107979190612f17565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c6107cd565b6040805160e08101825260608082526000602083018190529282018390528082018390526080820183905260a0820183905260c08201526001549091906001600160a01b03166354f6127f61180785611786565b6040518263ffffffff1660e01b815260040161182591815260200190565b600060405180830381865afa158015611842573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261186a91908101906125d8565b80519091501561079e5780806020019051810190610797919061300e565b611932604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6001546000906001600160a01b03166354f6127f61194f856107a4565b6040518263ffffffff1660e01b815260040161196d91815260200190565b600060405180830381865afa15801561198a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526119b291908101906125d8565b80519091501561079e57808060200190518101906107979190612b4f565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc6107cd565b60405180610120016040528060006001600160601b03168152602001611a36604051806040016040528060008152602001600081525090565b81526060602082018190526000604083018190529082018190526080820181905260a0820181905260c0820181905260e09091015290565b6040805161010081018252600080825260208083018290528284018290526060830182905283518085019094528184528301529060808201905b8152602001611aca604051806040016040528060008152602001600081525090565b815260006020820181905260409091015290565b6040518060c0016040528060006001600160601b0316815260200160006001600160a01b03168152602001611aa8604051806040016040528060008152602001600081525090565b60008060408385031215611b3957600080fd5b8235915060208301358060000b8114611b5157600080fd5b809150509250929050565b6001600160c01b031981168114611b7257600080fd5b50565b600060208284031215611b8757600080fd5b813561079781611b5c565b60005b83811015611bad578181015183820152602001611b95565b50506000910152565b60008151808452611bce816020860160208601611b92565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e06040840152611c12610100840182611bb6565b90506040840151606084015263ffffffff60608501511660808401526080840151611c4560a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e0850152611c758282611bb6565b95945050505050565b6001600160601b0381168114611b7257600080fd5b600060208284031215611ca557600080fd5b813561079781611c7e565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a06060840152611cee60c0840182611bb6565b905060608401516080840152608084015160a08401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611d4657611d46611d0e565b60405290565b60405160a081016001600160401b0381118282101715611d4657611d46611d0e565b604080519081016001600160401b0381118282101715611d4657611d46611d0e565b60405161012081016001600160401b0381118282101715611d4657611d46611d0e565b60405161010081016001600160401b0381118282101715611d4657611d46611d0e565b60405160c081016001600160401b0381118282101715611d4657611d46611d0e565b60405161014081016001600160401b0381118282101715611d4657611d46611d0e565b60405161020081016001600160401b0381118282101715611d4657611d46611d0e565b604051601f8201601f191681016001600160401b0381118282101715611e6657611e66611d0e565b604052919050565b60006001600160401b03821115611e8757611e87611d0e565b50601f01601f191660200190565b60008060408385031215611ea857600080fd5b8235611eb381611c7e565b915060208301356001600160401b03811115611ece57600080fd5b8301601f81018513611edf57600080fd5b8035611ef2611eed82611e6e565b611e3e565b818152866020838501011115611f0757600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611f3957600080fd5b5035919050565b60208152611f5a6020820183516001600160601b03169052565b60006020830151611f78604084018280518252602090810151910152565b506040830151610140806080850152611f95610160850183611bb6565b91506060850151611fb160a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c0850151610100611ff68187018364ffffffffff169052565b60e087015164ffffffffff811661012088015291505b9095015164ffffffffff1693019290925250919050565b61ffff81168114611b7257600080fd5b6000806040838503121561204657600080fd5b823561205181611c7e565b91506020830135611b5181612023565b602081526001600160601b0382511660208201526000602083015160408084015261208f6060840182611bb6565b949350505050565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b0316908201526060808301516101408301916120e6908401826001600160601b03169052565b506080830151612103608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b0381166101208401526111b7565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260ff6060840151166080830152608083015160c060a084015261219b60e0840182611bb6565b905064ffffffffff60a08501511660c08401528091505092915050565b602081526121d26020820183516001600160601b03169052565b600060208301516121ee60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e08301516101006122538185018364ffffffffff169052565b808501519150506102006101208181860152612273610220860184611bb6565b9250808601519050610140601f1986850301818701526122938483611bb6565b9350808701519150506101606122ae8187018361ffff169052565b86015190506101806122c58682018361ffff169052565b86015190506101a06122e1868201836001600160601b03169052565b86015190506101c06122fb8682018364ffffffffff169052565b86015190506101e061200c8682018364ffffffffff169052565b6001600160a01b0381168114611b7257600080fd5b60006020828403121561233c57600080fd5b813561079781612315565b6020815260008251610120806020850152612366610140850183611bb6565b9150602085015160408501526040850151606085015260608501516080850152608085015161239d60a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006123d38187018315159052565b860151858403601f19018387015290506123ed8382611bb6565b9695505050505050565b602081526000825160e06020840152612414610100840182611bb6565b9050602084015160018060a01b0380821660408601528060408701511660608601528060608701511660808601525050608084015161245e60a08501826001600160601b03169052565b5060a08401516001600160601b03811660c0850152611c59565b81516001600160a01b03168152610200810160208301516124a460208401826001600160a01b03169052565b5060408301516124bf60408401826001600160601b03169052565b5060608301516124da60608401826001600160601b03169052565b5060808301516124f7608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c083015161010061252d8185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e085015290506111b7565b60006020828403121561258c57600080fd5b5051919050565b600082601f8301126125a457600080fd5b81516125b2611eed82611e6e565b8181528460208386010111156125c757600080fd5b61208f826020830160208701611b92565b6000602082840312156125ea57600080fd5b81516001600160401b0381111561260057600080fd5b61208f84828501612593565b805161261781611c7e565b919050565b63ffffffff81168114611b7257600080fd5b80516126178161261c565b64ffffffffff81168114611b7257600080fd5b805161261781612639565b60006020828403121561266957600080fd5b81516001600160401b038082111561268057600080fd5b9083019060e0828603121561269457600080fd5b61269c611d24565b6126a58361260c565b81526020830151828111156126b957600080fd5b6126c587828601612593565b602083015250604083015160408201526126e16060840161262e565b60608201526126f26080840161262e565b608082015261270360a0840161264c565b60a082015260c08301518281111561271a57600080fd5b61272687828601612593565b60c08301525095945050505050565b805161261781611b5c565b8051801515811461261757600080fd5b60006020828403121561276257600080fd5b81516001600160401b038082111561277957600080fd5b9083019060a0828603121561278d57600080fd5b612795611d4c565b82516127a081611b5c565b81526127ae60208401612740565b60208201526040830151828111156127c557600080fd5b6127d187828601612593565b604083015250606083015160608201526080830151608082015280935050505092915050565b6001600160601b038316815260406020820152600061208f6040830184611bb6565b60006020828403121561282b57600080fd5b815161079781611b5c565b60006040828403121561284857600080fd5b612850611d6e565b9050815181526020820151602082015292915050565b60006020828403121561287857600080fd5b81516001600160401b038082111561288f57600080fd5b9083019061014082860312156128a457600080fd5b6128ac611d90565b6128b58361260c565b81526128c48660208501612836565b60208201526060830151828111156128db57600080fd5b6128e787828601612593565b6040830152506128f96080840161260c565b606082015261290a60a0840161260c565b608082015261291b60c0840161260c565b60a082015261292c60e0840161264c565b60c0820152610100915061294182840161264c565b60e0820152612953610120840161264c565b91810191909152949350505050565b60ff81168114611b7257600080fd5b805161261781612962565b60006020828403121561298e57600080fd5b815161079781612962565b6000602082840312156129ab57600080fd5b81516001600160401b03808211156129c257600080fd5b90830190604082860312156129d657600080fd5b6129de611d6e565b82516129e981611c7e565b81526020830151828111156129fd57600080fd5b612a0987828601612593565b60208301525095945050505050565b805161261781612315565b60006101408284031215612a3657600080fd5b612a3e611db3565b612a4783612a18565b8152612a5560208401612a18565b6020820152612a666040840161260c565b6040820152612a776060840161260c565b6060820152612a898460808501612836565b6080820152612a9b8460c08501612836565b60a0820152612aad6101008401612740565b60c0820152612abf6101208401612a18565b60e08201529392505050565b60006101008284031215612ade57600080fd5b612ae6611dd6565b8251612af181611c7e565b81526020830151612b0181612315565b6020820152612b138460408501612836565b6040820152612b258460808501612836565b606082015260c0830151612b3881612315565b608082015260e0929092015160a083015250919050565b60006102008284031215612b6257600080fd5b612b6a611df8565b612b7383612a18565b8152612b8160208401612a18565b6020820152612b926040840161260c565b6040820152612ba36060840161260c565b6060820152612bb58460808501612836565b6080820152612bc78460c08501612836565b60a0820152610100612bdb85828601612836565b60c0830152612bee856101408601612836565b60e0830152612c01856101808601612836565b90820152612c13846101c08501612836565b6101208201529392505050565b600060a08284031215612c3257600080fd5b612c3a611d4c565b8251612c4581612962565b81526020830151612c5581612962565b60208201526040830151612c6881612315565b60408201526060830151612c7b8161261c565b60608201526080830151612c8e8161261c565b60808201529392505050565b600060208284031215612cac57600080fd5b81516001600160401b0380821115612cc357600080fd5b9083019060c08286031215612cd757600080fd5b612cdf611dd6565b8251612cea81611c7e565b81526020830151612cfa81611c7e565b60208201526040830151612d0d81612962565b6040820152612d1e60608401612971565b6060820152608083015182811115612d3557600080fd5b612d4187828601612593565b608083015250612d5360a0840161264c565b60a082015295945050505050565b600060208284031215612d7357600080fd5b61064282612740565b600060208284031215612d8e57600080fd5b815161079781612639565b805161261781612023565b600060208284031215612db657600080fd5b81516001600160401b0380821115612dcd57600080fd5b908301906102008286031215612de257600080fd5b612dea611e1b565b612df38361260c565b8152612e016020840161260c565b6020820152612e1260408401612735565b6040820152612e2360608401612735565b60608201526080830151608082015260a083015160a082015260c083015160c0820152612e5260e0840161264c565b60e08201526101008084015183811115612e6b57600080fd5b612e7788828701612593565b8284015250506101208084015183811115612e9157600080fd5b612e9d88828701612593565b8284015250506101409150612eb3828401612d99565b828201526101609150612ec7828401612d99565b828201526101809150612edb82840161260c565b828201526101a09150612eef82840161264c565b828201526101c09150612f0382840161264c565b828201526101e0915061295382840161264c565b600060208284031215612f2957600080fd5b81516001600160401b0380821115612f4057600080fd5b908301906101208286031215612f5557600080fd5b612f5d611d90565b825182811115612f6c57600080fd5b612f7887828601612593565b825250602083015160208201526040830151604082015260608301516060820152612fa56080840161262e565b6080820152612fb660a0840161262e565b60a0820152612fc760c08401612740565b60c0820152612fd860e08401612740565b60e08201526101008084015183811115612ff157600080fd5b612ffd88828701612593565b918301919091525095945050505050565b60006020828403121561302057600080fd5b81516001600160401b038082111561303757600080fd5b9083019060e0828603121561304b57600080fd5b613053611d24565b82518281111561306257600080fd5b61306e87828601612593565b82525061307d60208401612a18565b602082015261308e60408401612a18565b604082015261309f60608401612a18565b60608201526130b06080840161260c565b608082015261270360a0840161260c56fea26469706673582212207cad8052df91c03d0e15b2d23d3f466e5c32a23f2cde5a35bc97a43dc64023a264736f6c63430008140033",
1182
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c806390af706411610104578063c4d66de8116100a2578063de7b5d1411610071578063de7b5d141461055a578063f0ea17c314610570578063f2b246c314610590578063f7f318d3146105b057600080fd5b8063c4d66de814610501578063d06458c614610516578063d4cda0d814610536578063dd26287a1461054757600080fd5b8063a5961b4c116100de578063a5961b4c1461042a578063a7ef3d2114610497578063b82d7ef5146104b7578063bd7d9d85146104e157600080fd5b806390af7064146103505780639ad69c6714610370578063a310e2a3146103ff57600080fd5b80634793b4ab116101715780637bfd32171161014b5780637bfd3217146102f75780637e54602a1461030a578063887b1fa91461031d5780639096a1f31461033d57600080fd5b80634793b4ab1461029f57806364eb3a9b146102bf57806378ae9350146102d257600080fd5b806327b1d792116101ad57806327b1d7921461022d57806335898f5d1461024d5780633f093cd61461026057806344aa68361461028c57600080fd5b80631488c845146101d45780631d3be477146101fa57806325d037431461021a575b600080fd5b6101e76101e2366004611b26565b6105c3565b6040519081526020015b60405180910390f35b61020d610208366004611b75565b61064b565b6040516101f19190611be2565b6101e7610228366004611c93565b6107a4565b61024061023b366004611c93565b61083e565b6040516101f19190611cb0565b6101e761025b366004611c93565b61091a565b61027361026e366004611e95565b610947565b6040516001600160c01b031990911681526020016101f1565b6101e761029a366004611f27565b6109c4565b6102b26102ad366004611c93565b6109ff565b6040516101f19190611f40565b6101e76102cd366004611c93565b610aa5565b6102e56102e0366004612033565b610ad2565b60405160ff90911681526020016101f1565b6101e7610305366004611c93565b610bd1565b6101e7610318366004611c93565b610bfe565b61033061032b366004611b75565b610c2b565b6040516101f19190612061565b6102e561034b366004611c93565b610d54565b61036361035e366004611c93565b610dd3565b6040516101f19190612097565b61038361037e366004611c93565b610e79565b6040516101f1919081516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b61041261040d366004611c93565b610f1f565b6040516001600160a01b0390911681526020016101f1565b61043d610438366004611f27565b610fcd565b6040516101f19190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b6104aa6104a5366004612033565b611061565b6040516101f19190612144565b6104ca6104c5366004611b75565b6111be565b6040805192835260ff9091166020830152016101f1565b6104f46104ef366004611c93565b611466565b6040516101f191906121b8565b61051461050f36600461232a565b611584565b005b610529610524366004611b75565b611613565b6040516101f19190612347565b6001546001600160a01b0316610412565b6101e7610555366004611c93565b611786565b60005461010090046001600160a01b0316610412565b61058361057e366004611c93565b6117b3565b6040516101f191906123f7565b6105a361059e366004611c93565b611888565b6040516101f19190612478565b6101e76105be366004611c93565b6119d0565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af415801561061e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610642919061257a565b90505b92915050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af41580156106f2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610716919061257a565b6040518263ffffffff1660e01b815260040161073491815260200190565b600060405180830381865afa158015610751573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261077991908101906125d8565b80519091501561079e57808060200190518101906107979190612657565b9392505050565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af415801561081a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610645919061257a565b61087c6040518060a0016040528060006001600160c01b03191681526020016000151581526020016060815260200160008152602001600081525090565b6001546000906001600160a01b03166354f6127f61089985610bfe565b6040518263ffffffff1660e01b81526004016108b791815260200190565b600060405180830381865afa1580156108d4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108fc91908101906125d8565b80519091501561079e57808060200190518101906107979190612750565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660786107cd565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd69061098390869086906004016127f7565b602060405180830381865af41580156109a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106429190612819565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa6836906024016107fd565b610a076119fd565b6001546000906001600160a01b03166354f6127f610a24856119d0565b6040518263ffffffff1660e01b8152600401610a4291815260200190565b600060405180830381865afa158015610a5f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a8791908101906125d8565b80519091501561079e57808060200190518101906107979190612866565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d36107cd565b60008054604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201526101009091046001600160a01b0316906309648a9d9073__$0e0c503522f35343ef1955427c5075b143$__9063faac2b2290604401602060405180830381865af4158015610b4e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b72919061257a565b6040518263ffffffff1660e01b8152600401610b9091815260200190565b602060405180830381865afa158015610bad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610642919061297c565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e6107cd565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a6107cd565b6040805180820190915260008152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610caf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd3919061257a565b6040518263ffffffff1660e01b8152600401610cf191815260200190565b600060405180830381865afa158015610d0e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d3691908101906125d8565b80519091501561079e57808060200190518101906107979190612999565b6000805461010090046001600160a01b03166309648a9d610d7484610aa5565b6040518263ffffffff1660e01b8152600401610d9291815260200190565b602060405180830381865afa158015610daf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610645919061297c565b610ddb611a6e565b6001546000906001600160a01b03166354f6127f610df885610bd1565b6040518263ffffffff1660e01b8152600401610e1691815260200190565b600060405180830381865afa158015610e33573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e5b91908101906125d8565b80519091501561079e57808060200190518101906107979190612a23565b610e81611ade565b6001546000906001600160a01b03166354f6127f610e9e8561091a565b6040518263ffffffff1660e01b8152600401610ebc91815260200190565b600060405180830381865afa158015610ed9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f0191908101906125d8565b80519091501561079e57808060200190518101906107979190612acb565b60015460009081906001600160a01b03166354f6127f610f3e856107a4565b6040518263ffffffff1660e01b8152600401610f5c91815260200190565b600060405180830381865afa158015610f79573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610fa191908101906125d8565b80519091501561079e57600081806020019051810190610fc19190612b4f565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa15801561103d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106459190612c20565b6040805160c0810182526000808252602082018190529181018290526060808201839052608082015260a0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$0e0c503522f35343ef1955427c5075b143$__9063faac2b2290604401602060405180830381865af415801561110a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061112e919061257a565b6040518263ffffffff1660e01b815260040161114c91815260200190565b600060405180830381865afa158015611169573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261119191908101906125d8565b8051909150156111b757808060200190518101906111af9190612c9a565b915050610645565b5092915050565b60008060006111cc8461064b565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af415801561122b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061124f9190612d61565b156112ce5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561129d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112c1919061257a565b60645b9250925050915091565b6113528160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561131f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113439190612d7c565b64ffffffffff90811691161090565b156113cb5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156113a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113c4919061257a565b606e6112c4565b806060015163ffffffff16816080015163ffffffff161061145a5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561142f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611453919061257a565b60786112c4565b6040810151600a6112c4565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526001546000906001600160a01b03166354f6127f61150385610aa5565b6040518263ffffffff1660e01b815260040161152191815260200190565b600060405180830381865afa15801561153e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261156691908101906125d8565b80519091501561079e57808060200190518101906107979190612da4565b60005460ff16156115a85760405163ae9eff1b60e01b815260040160405180910390fd5b6001600160a01b0381166115cf57604051630cc51a5560e21b815260040160405180910390fd5b60008054600180546001600160a01b0319166001600160a01b03909416938417815560ff1961010094909402939093166001600160a81b0319909116179091179055565b61167260405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af41580156116e1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611705919061257a565b6040518263ffffffff1660e01b815260040161172391815260200190565b600060405180830381865afa158015611740573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261176891908101906125d8565b80519091501561079e57808060200190518101906107979190612f17565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c6107cd565b6040805160e08101825260608082526000602083018190529282018390528082018390526080820183905260a0820183905260c08201526001549091906001600160a01b03166354f6127f61180785611786565b6040518263ffffffff1660e01b815260040161182591815260200190565b600060405180830381865afa158015611842573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261186a91908101906125d8565b80519091501561079e5780806020019051810190610797919061300e565b611932604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6001546000906001600160a01b03166354f6127f61194f856107a4565b6040518263ffffffff1660e01b815260040161196d91815260200190565b600060405180830381865afa15801561198a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526119b291908101906125d8565b80519091501561079e57808060200190518101906107979190612b4f565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc6107cd565b60405180610120016040528060006001600160601b03168152602001611a36604051806040016040528060008152602001600081525090565b81526060602082018190526000604083018190529082018190526080820181905260a0820181905260c0820181905260e09091015290565b6040805161010081018252600080825260208083018290528284018290526060830182905283518085019094528184528301529060808201905b8152602001611aca604051806040016040528060008152602001600081525090565b815260006020820181905260409091015290565b6040518060c0016040528060006001600160601b0316815260200160006001600160a01b03168152602001611aa8604051806040016040528060008152602001600081525090565b60008060408385031215611b3957600080fd5b8235915060208301358060000b8114611b5157600080fd5b809150509250929050565b6001600160c01b031981168114611b7257600080fd5b50565b600060208284031215611b8757600080fd5b813561079781611b5c565b60005b83811015611bad578181015183820152602001611b95565b50506000910152565b60008151808452611bce816020860160208601611b92565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e06040840152611c12610100840182611bb6565b90506040840151606084015263ffffffff60608501511660808401526080840151611c4560a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e0850152611c758282611bb6565b95945050505050565b6001600160601b0381168114611b7257600080fd5b600060208284031215611ca557600080fd5b813561079781611c7e565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a06060840152611cee60c0840182611bb6565b905060608401516080840152608084015160a08401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611d4657611d46611d0e565b60405290565b60405160a081016001600160401b0381118282101715611d4657611d46611d0e565b604080519081016001600160401b0381118282101715611d4657611d46611d0e565b60405161012081016001600160401b0381118282101715611d4657611d46611d0e565b60405161010081016001600160401b0381118282101715611d4657611d46611d0e565b60405160c081016001600160401b0381118282101715611d4657611d46611d0e565b60405161014081016001600160401b0381118282101715611d4657611d46611d0e565b60405161020081016001600160401b0381118282101715611d4657611d46611d0e565b604051601f8201601f191681016001600160401b0381118282101715611e6657611e66611d0e565b604052919050565b60006001600160401b03821115611e8757611e87611d0e565b50601f01601f191660200190565b60008060408385031215611ea857600080fd5b8235611eb381611c7e565b915060208301356001600160401b03811115611ece57600080fd5b8301601f81018513611edf57600080fd5b8035611ef2611eed82611e6e565b611e3e565b818152866020838501011115611f0757600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611f3957600080fd5b5035919050565b60208152611f5a6020820183516001600160601b03169052565b60006020830151611f78604084018280518252602090810151910152565b506040830151610140806080850152611f95610160850183611bb6565b91506060850151611fb160a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c0850151610100611ff68187018364ffffffffff169052565b60e087015164ffffffffff811661012088015291505b9095015164ffffffffff1693019290925250919050565b61ffff81168114611b7257600080fd5b6000806040838503121561204657600080fd5b823561205181611c7e565b91506020830135611b5181612023565b602081526001600160601b0382511660208201526000602083015160408084015261208f6060840182611bb6565b949350505050565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b0316908201526060808301516101408301916120e6908401826001600160601b03169052565b506080830151612103608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b0381166101208401526111b7565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260ff6060840151166080830152608083015160c060a084015261219b60e0840182611bb6565b905064ffffffffff60a08501511660c08401528091505092915050565b602081526121d26020820183516001600160601b03169052565b600060208301516121ee60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e08301516101006122538185018364ffffffffff169052565b808501519150506102006101208181860152612273610220860184611bb6565b9250808601519050610140601f1986850301818701526122938483611bb6565b9350808701519150506101606122ae8187018361ffff169052565b86015190506101806122c58682018361ffff169052565b86015190506101a06122e1868201836001600160601b03169052565b86015190506101c06122fb8682018364ffffffffff169052565b86015190506101e061200c8682018364ffffffffff169052565b6001600160a01b0381168114611b7257600080fd5b60006020828403121561233c57600080fd5b813561079781612315565b6020815260008251610120806020850152612366610140850183611bb6565b9150602085015160408501526040850151606085015260608501516080850152608085015161239d60a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006123d38187018315159052565b860151858403601f19018387015290506123ed8382611bb6565b9695505050505050565b602081526000825160e06020840152612414610100840182611bb6565b9050602084015160018060a01b0380821660408601528060408701511660608601528060608701511660808601525050608084015161245e60a08501826001600160601b03169052565b5060a08401516001600160601b03811660c0850152611c59565b81516001600160a01b03168152610200810160208301516124a460208401826001600160a01b03169052565b5060408301516124bf60408401826001600160601b03169052565b5060608301516124da60608401826001600160601b03169052565b5060808301516124f7608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c083015161010061252d8185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e085015290506111b7565b60006020828403121561258c57600080fd5b5051919050565b600082601f8301126125a457600080fd5b81516125b2611eed82611e6e565b8181528460208386010111156125c757600080fd5b61208f826020830160208701611b92565b6000602082840312156125ea57600080fd5b81516001600160401b0381111561260057600080fd5b61208f84828501612593565b805161261781611c7e565b919050565b63ffffffff81168114611b7257600080fd5b80516126178161261c565b64ffffffffff81168114611b7257600080fd5b805161261781612639565b60006020828403121561266957600080fd5b81516001600160401b038082111561268057600080fd5b9083019060e0828603121561269457600080fd5b61269c611d24565b6126a58361260c565b81526020830151828111156126b957600080fd5b6126c587828601612593565b602083015250604083015160408201526126e16060840161262e565b60608201526126f26080840161262e565b608082015261270360a0840161264c565b60a082015260c08301518281111561271a57600080fd5b61272687828601612593565b60c08301525095945050505050565b805161261781611b5c565b8051801515811461261757600080fd5b60006020828403121561276257600080fd5b81516001600160401b038082111561277957600080fd5b9083019060a0828603121561278d57600080fd5b612795611d4c565b82516127a081611b5c565b81526127ae60208401612740565b60208201526040830151828111156127c557600080fd5b6127d187828601612593565b604083015250606083015160608201526080830151608082015280935050505092915050565b6001600160601b038316815260406020820152600061208f6040830184611bb6565b60006020828403121561282b57600080fd5b815161079781611b5c565b60006040828403121561284857600080fd5b612850611d6e565b9050815181526020820151602082015292915050565b60006020828403121561287857600080fd5b81516001600160401b038082111561288f57600080fd5b9083019061014082860312156128a457600080fd5b6128ac611d90565b6128b58361260c565b81526128c48660208501612836565b60208201526060830151828111156128db57600080fd5b6128e787828601612593565b6040830152506128f96080840161260c565b606082015261290a60a0840161260c565b608082015261291b60c0840161260c565b60a082015261292c60e0840161264c565b60c0820152610100915061294182840161264c565b60e0820152612953610120840161264c565b91810191909152949350505050565b60ff81168114611b7257600080fd5b805161261781612962565b60006020828403121561298e57600080fd5b815161079781612962565b6000602082840312156129ab57600080fd5b81516001600160401b03808211156129c257600080fd5b90830190604082860312156129d657600080fd5b6129de611d6e565b82516129e981611c7e565b81526020830151828111156129fd57600080fd5b612a0987828601612593565b60208301525095945050505050565b805161261781612315565b60006101408284031215612a3657600080fd5b612a3e611db3565b612a4783612a18565b8152612a5560208401612a18565b6020820152612a666040840161260c565b6040820152612a776060840161260c565b6060820152612a898460808501612836565b6080820152612a9b8460c08501612836565b60a0820152612aad6101008401612740565b60c0820152612abf6101208401612a18565b60e08201529392505050565b60006101008284031215612ade57600080fd5b612ae6611dd6565b8251612af181611c7e565b81526020830151612b0181612315565b6020820152612b138460408501612836565b6040820152612b258460808501612836565b606082015260c0830151612b3881612315565b608082015260e0929092015160a083015250919050565b60006102008284031215612b6257600080fd5b612b6a611df8565b612b7383612a18565b8152612b8160208401612a18565b6020820152612b926040840161260c565b6040820152612ba36060840161260c565b6060820152612bb58460808501612836565b6080820152612bc78460c08501612836565b60a0820152610100612bdb85828601612836565b60c0830152612bee856101408601612836565b60e0830152612c01856101808601612836565b90820152612c13846101c08501612836565b6101208201529392505050565b600060a08284031215612c3257600080fd5b612c3a611d4c565b8251612c4581612962565b81526020830151612c5581612962565b60208201526040830151612c6881612315565b60408201526060830151612c7b8161261c565b60608201526080830151612c8e8161261c565b60808201529392505050565b600060208284031215612cac57600080fd5b81516001600160401b0380821115612cc357600080fd5b9083019060c08286031215612cd757600080fd5b612cdf611dd6565b8251612cea81611c7e565b81526020830151612cfa81611c7e565b60208201526040830151612d0d81612962565b6040820152612d1e60608401612971565b6060820152608083015182811115612d3557600080fd5b612d4187828601612593565b608083015250612d5360a0840161264c565b60a082015295945050505050565b600060208284031215612d7357600080fd5b61064282612740565b600060208284031215612d8e57600080fd5b815161079781612639565b805161261781612023565b600060208284031215612db657600080fd5b81516001600160401b0380821115612dcd57600080fd5b908301906102008286031215612de257600080fd5b612dea611e1b565b612df38361260c565b8152612e016020840161260c565b6020820152612e1260408401612735565b6040820152612e2360608401612735565b60608201526080830151608082015260a083015160a082015260c083015160c0820152612e5260e0840161264c565b60e08201526101008084015183811115612e6b57600080fd5b612e7788828701612593565b8284015250506101208084015183811115612e9157600080fd5b612e9d88828701612593565b8284015250506101409150612eb3828401612d99565b828201526101609150612ec7828401612d99565b828201526101809150612edb82840161260c565b828201526101a09150612eef82840161264c565b828201526101c09150612f0382840161264c565b828201526101e0915061295382840161264c565b600060208284031215612f2957600080fd5b81516001600160401b0380821115612f4057600080fd5b908301906101208286031215612f5557600080fd5b612f5d611d90565b825182811115612f6c57600080fd5b612f7887828601612593565b825250602083015160208201526040830151604082015260608301516060820152612fa56080840161262e565b6080820152612fb660a0840161262e565b60a0820152612fc760c08401612740565b60c0820152612fd860e08401612740565b60e08201526101008084015183811115612ff157600080fd5b612ffd88828701612593565b918301919091525095945050505050565b60006020828403121561302057600080fd5b81516001600160401b038082111561303757600080fd5b9083019060e0828603121561304b57600080fd5b613053611d24565b82518281111561306257600080fd5b61306e87828601612593565b82525061307d60208401612a18565b602082015261308e60408401612a18565b604082015261309f60608401612a18565b60608201526130b06080840161260c565b608082015261270360a0840161260c56fea26469706673582212207cad8052df91c03d0e15b2d23d3f466e5c32a23f2cde5a35bc97a43dc64023a264736f6c63430008140033",
1199
1183
  "linkReferences": {
1184
+ "contracts/types/ClaimId.sol": {
1185
+ "ClaimIdLib": [
1186
+ {
1187
+ "length": 20,
1188
+ "start": 2868
1189
+ },
1190
+ {
1191
+ "length": 20,
1192
+ "start": 4336
1193
+ }
1194
+ ]
1195
+ },
1200
1196
  "contracts/types/DistributorType.sol": {
1201
1197
  "DistributorTypeLib": [
1202
1198
  {
1203
1199
  "length": 20,
1204
- "start": 6654
1200
+ "start": 5831
1205
1201
  }
1206
1202
  ]
1207
1203
  },
@@ -1209,39 +1205,31 @@
1209
1205
  "NftIdLib": [
1210
1206
  {
1211
1207
  "length": 20,
1212
- "start": 289
1213
- },
1214
- {
1215
- "length": 20,
1216
- "start": 3426
1217
- },
1218
- {
1219
- "length": 20,
1220
- "start": 3766
1208
+ "start": 1992
1221
1209
  },
1222
1210
  {
1223
1211
  "length": 20,
1224
- "start": 4327
1212
+ "start": 2366
1225
1213
  },
1226
1214
  {
1227
1215
  "length": 20,
1228
- "start": 4372
1216
+ "start": 2761
1229
1217
  },
1230
1218
  {
1231
1219
  "length": 20,
1232
- "start": 4417
1220
+ "start": 3061
1233
1221
  },
1234
1222
  {
1235
1223
  "length": 20,
1236
- "start": 6881
1224
+ "start": 3106
1237
1225
  },
1238
1226
  {
1239
1227
  "length": 20,
1240
- "start": 7136
1228
+ "start": 6058
1241
1229
  },
1242
1230
  {
1243
1231
  "length": 20,
1244
- "start": 7717
1232
+ "start": 6644
1245
1233
  }
1246
1234
  ]
1247
1235
  },
@@ -1249,11 +1237,11 @@
1249
1237
  "ReferralLib": [
1250
1238
  {
1251
1239
  "length": 20,
1252
- "start": 3186
1240
+ "start": 1752
1253
1241
  },
1254
1242
  {
1255
1243
  "length": 20,
1256
- "start": 3825
1244
+ "start": 2425
1257
1245
  }
1258
1246
  ]
1259
1247
  },
@@ -1261,7 +1249,7 @@
1261
1249
  "RiskIdLib": [
1262
1250
  {
1263
1251
  "length": 20,
1264
- "start": 4532
1252
+ "start": 3221
1265
1253
  }
1266
1254
  ]
1267
1255
  },
@@ -1269,11 +1257,11 @@
1269
1257
  "TimestampLib": [
1270
1258
  {
1271
1259
  "length": 20,
1272
- "start": 5591
1260
+ "start": 4625
1273
1261
  },
1274
1262
  {
1275
1263
  "length": 20,
1276
- "start": 5822
1264
+ "start": 4856
1277
1265
  }
1278
1266
  ]
1279
1267
  },
@@ -1281,33 +1269,45 @@
1281
1269
  "UFixedLib": [
1282
1270
  {
1283
1271
  "length": 20,
1284
- "start": 2974
1272
+ "start": 1540
1285
1273
  },
1286
1274
  {
1287
1275
  "length": 20,
1288
- "start": 3957
1276
+ "start": 2557
1289
1277
  },
1290
1278
  {
1291
1279
  "length": 20,
1292
- "start": 5692
1280
+ "start": 4726
1293
1281
  },
1294
1282
  {
1295
1283
  "length": 20,
1296
- "start": 5951
1284
+ "start": 4985
1297
1285
  },
1298
1286
  {
1299
1287
  "length": 20,
1300
- "start": 6094
1288
+ "start": 5128
1301
1289
  }
1302
1290
  ]
1303
1291
  }
1304
1292
  },
1305
1293
  "deployedLinkReferences": {
1294
+ "contracts/types/ClaimId.sol": {
1295
+ "ClaimIdLib": [
1296
+ {
1297
+ "length": 20,
1298
+ "start": 2836
1299
+ },
1300
+ {
1301
+ "length": 20,
1302
+ "start": 4304
1303
+ }
1304
+ ]
1305
+ },
1306
1306
  "contracts/types/DistributorType.sol": {
1307
1307
  "DistributorTypeLib": [
1308
1308
  {
1309
1309
  "length": 20,
1310
- "start": 5113
1310
+ "start": 5799
1311
1311
  }
1312
1312
  ]
1313
1313
  },
@@ -1315,35 +1315,31 @@
1315
1315
  "NftIdLib": [
1316
1316
  {
1317
1317
  "length": 20,
1318
- "start": 1885
1319
- },
1320
- {
1321
- "length": 20,
1322
- "start": 2225
1318
+ "start": 1960
1323
1319
  },
1324
1320
  {
1325
1321
  "length": 20,
1326
- "start": 2786
1322
+ "start": 2334
1327
1323
  },
1328
1324
  {
1329
1325
  "length": 20,
1330
- "start": 2831
1326
+ "start": 2729
1331
1327
  },
1332
1328
  {
1333
1329
  "length": 20,
1334
- "start": 2876
1330
+ "start": 3029
1335
1331
  },
1336
1332
  {
1337
1333
  "length": 20,
1338
- "start": 5340
1334
+ "start": 3074
1339
1335
  },
1340
1336
  {
1341
1337
  "length": 20,
1342
- "start": 5595
1338
+ "start": 6026
1343
1339
  },
1344
1340
  {
1345
1341
  "length": 20,
1346
- "start": 6176
1342
+ "start": 6612
1347
1343
  }
1348
1344
  ]
1349
1345
  },
@@ -1351,11 +1347,11 @@
1351
1347
  "ReferralLib": [
1352
1348
  {
1353
1349
  "length": 20,
1354
- "start": 1645
1350
+ "start": 1720
1355
1351
  },
1356
1352
  {
1357
1353
  "length": 20,
1358
- "start": 2284
1354
+ "start": 2393
1359
1355
  }
1360
1356
  ]
1361
1357
  },
@@ -1363,7 +1359,7 @@
1363
1359
  "RiskIdLib": [
1364
1360
  {
1365
1361
  "length": 20,
1366
- "start": 2991
1362
+ "start": 3189
1367
1363
  }
1368
1364
  ]
1369
1365
  },
@@ -1371,11 +1367,11 @@
1371
1367
  "TimestampLib": [
1372
1368
  {
1373
1369
  "length": 20,
1374
- "start": 4050
1370
+ "start": 4593
1375
1371
  },
1376
1372
  {
1377
1373
  "length": 20,
1378
- "start": 4281
1374
+ "start": 4824
1379
1375
  }
1380
1376
  ]
1381
1377
  },
@@ -1383,23 +1379,23 @@
1383
1379
  "UFixedLib": [
1384
1380
  {
1385
1381
  "length": 20,
1386
- "start": 1433
1382
+ "start": 1508
1387
1383
  },
1388
1384
  {
1389
1385
  "length": 20,
1390
- "start": 2416
1386
+ "start": 2525
1391
1387
  },
1392
1388
  {
1393
1389
  "length": 20,
1394
- "start": 4151
1390
+ "start": 4694
1395
1391
  },
1396
1392
  {
1397
1393
  "length": 20,
1398
- "start": 4410
1394
+ "start": 4953
1399
1395
  },
1400
1396
  {
1401
1397
  "length": 20,
1402
- "start": 4553
1398
+ "start": 5096
1403
1399
  }
1404
1400
  ]
1405
1401
  }