@etherisc/gif-next 0.0.2-ecbd488-936 → 0.0.2-ed3b1b0-046

Sign up to get free protection for your applications and to get access to all the features.
Files changed (493) hide show
  1. package/README.md +71 -14
  2. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  3. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1376 -0
  4. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  5. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1556 -0
  6. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  7. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +819 -0
  8. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +1000 -0
  10. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  11. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +840 -0
  12. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  13. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +778 -0
  14. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  15. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +415 -776
  16. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  17. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +314 -178
  18. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  19. package/artifacts/contracts/instance/Instance.sol/Instance.json +452 -3067
  20. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  21. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +612 -181
  22. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
  23. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +124 -0
  24. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  25. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +443 -257
  26. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +446 -398
  28. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  29. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +319 -132
  30. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +2847 -0
  32. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  33. package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → base/Cloneable.sol/Cloneable.json} +91 -2
  34. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  35. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +49 -0
  36. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  37. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  38. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +93 -14
  39. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  40. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +38 -13
  41. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  42. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +256 -0
  43. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  44. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +71 -45
  45. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  46. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  47. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  48. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  49. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  50. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  51. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  52. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  53. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  54. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1288 -0
  55. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  56. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +735 -0
  57. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  58. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → pool/IBundleService.sol/IBundleService.json} +332 -336
  59. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  60. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +1095 -0
  61. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  62. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1077 -0
  63. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  64. package/artifacts/contracts/pool/Pool.sol/Pool.json +1407 -0
  65. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  66. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1622 -0
  67. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  68. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +747 -0
  69. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  70. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +918 -0
  71. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  72. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +687 -0
  73. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  74. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1386 -0
  75. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  76. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +787 -0
  77. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  78. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → product/IApplicationService.sol/IApplicationService.json} +231 -204
  79. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  80. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +753 -0
  81. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  82. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +651 -0
  83. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  84. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → product/IPricingService.sol/IPricingService.json} +237 -288
  85. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  86. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +861 -0
  87. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
  88. package/artifacts/contracts/{instance/service/IDistributionService.sol/IDistributionService.json → product/IProductService.sol/IProductService.json} +162 -166
  89. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  90. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1281 -0
  91. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  92. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +779 -0
  93. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  94. package/artifacts/contracts/product/PricingService.sol/PricingService.json +1004 -0
  95. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  96. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +727 -0
  97. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  98. package/artifacts/contracts/product/Product.sol/Product.json +1198 -0
  99. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
  100. package/artifacts/contracts/product/ProductService.sol/ProductService.json +864 -0
  101. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  102. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +679 -0
  103. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  104. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  105. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  106. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +319 -129
  107. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  108. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +268 -255
  109. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  110. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  111. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  112. package/artifacts/contracts/registry/Registry.sol/Registry.json +339 -222
  113. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  114. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +238 -0
  115. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  116. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +313 -354
  117. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  118. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +323 -135
  119. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  120. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +846 -0
  121. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  122. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +132 -57
  123. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  124. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  125. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  126. package/artifacts/contracts/shared/Component.sol/Component.json +873 -0
  127. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  128. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/ComponentService.sol/ComponentService.json} +271 -180
  129. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  130. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  131. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  132. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +636 -0
  133. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  134. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +27 -29
  135. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  136. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +189 -0
  137. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  138. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +8 -34
  139. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  140. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  141. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  142. package/artifacts/contracts/shared/IService.sol/IService.json +84 -178
  143. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  144. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  145. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  146. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +109 -29
  147. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  148. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +302 -0
  149. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  150. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +310 -61
  151. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  152. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +118 -53
  153. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  154. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
  155. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  156. package/artifacts/contracts/shared/Service.sol/Service.json +185 -165
  157. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  158. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +24 -6
  159. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  160. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  161. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  162. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  163. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  164. package/artifacts/contracts/{shared/RegisterableUpgradable.sol/RegisterableUpgradable.json → staking/IStakingService.sol/IStakingService.json} +226 -145
  165. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  166. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +767 -0
  167. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  168. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +667 -0
  169. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  170. package/artifacts/contracts/{types → type}/AddressSet.sol/LibAddressSet.json +3 -3
  171. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  172. package/artifacts/contracts/type/Amount.sol/AmountLib.json +281 -0
  173. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  174. package/artifacts/contracts/{types → type}/Blocknumber.sol/BlocknumberLib.json +3 -3
  175. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  176. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  177. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  178. package/artifacts/contracts/{types → type}/DistributorType.sol/DistributorTypeLib.json +5 -5
  179. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  180. package/artifacts/contracts/type/Fee.sol/FeeLib.json +312 -0
  181. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  182. package/artifacts/contracts/{types → type}/Key32.sol/Key32Lib.json +3 -3
  183. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  184. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +166 -0
  185. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  186. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  187. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  188. package/artifacts/contracts/{types → type}/ObjectType.sol/ObjectTypeLib.json +3 -3
  189. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  190. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  191. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  192. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  193. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  194. package/artifacts/contracts/{types → type}/RiskId.sol/RiskIdLib.json +5 -5
  195. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  196. package/artifacts/contracts/{types → type}/RoleId.sol/RoleIdLib.json +5 -5
  197. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  198. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +124 -0
  199. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  200. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  201. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  202. package/artifacts/contracts/{types → type}/Timestamp.sol/TimestampLib.json +39 -8
  203. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  204. package/artifacts/contracts/{types → type}/UFixed.sol/MathLib.json +3 -3
  205. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  206. package/artifacts/contracts/{types → type}/UFixed.sol/UFixedLib.json +3 -3
  207. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  208. package/artifacts/contracts/{types → type}/Version.sol/VersionLib.json +3 -3
  209. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  210. package/artifacts/contracts/{types → type}/Version.sol/VersionPartLib.json +3 -3
  211. package/contracts/distribution/Distribution.sol +285 -0
  212. package/contracts/distribution/DistributionService.sol +351 -0
  213. package/contracts/{instance/service → distribution}/DistributionServiceManager.sol +20 -20
  214. package/contracts/distribution/IDistributionComponent.sol +71 -0
  215. package/contracts/distribution/IDistributionService.sol +87 -0
  216. package/contracts/instance/BundleManager.sol +126 -0
  217. package/contracts/instance/IInstance.sol +60 -31
  218. package/contracts/instance/IInstanceService.sol +56 -13
  219. package/contracts/instance/Instance.sol +149 -363
  220. package/contracts/instance/InstanceAccessManager.sol +432 -177
  221. package/contracts/instance/InstanceAuthorizationsLib.sol +308 -0
  222. package/contracts/instance/InstanceReader.sol +109 -47
  223. package/contracts/instance/InstanceService.sol +246 -140
  224. package/contracts/instance/InstanceServiceManager.sol +12 -25
  225. package/contracts/instance/InstanceStore.sol +211 -0
  226. package/contracts/instance/base/Cloneable.sol +51 -0
  227. package/contracts/instance/base/IKeyValueStore.sol +14 -10
  228. package/contracts/instance/base/ILifecycle.sol +3 -3
  229. package/contracts/instance/base/KeyValueStore.sol +44 -47
  230. package/contracts/instance/base/Lifecycle.sol +28 -7
  231. package/contracts/instance/base/ObjectManager.sol +82 -0
  232. package/contracts/instance/module/IAccess.sol +37 -21
  233. package/contracts/instance/module/IBundle.sol +11 -8
  234. package/contracts/instance/module/IComponents.sol +41 -0
  235. package/contracts/instance/module/IDistribution.sol +7 -4
  236. package/contracts/instance/module/IPolicy.sol +50 -17
  237. package/contracts/instance/module/IRisk.sol +1 -1
  238. package/contracts/instance/module/ISetup.sol +11 -22
  239. package/contracts/instance/module/ITreasury.sol +2 -2
  240. package/contracts/pool/BundleService.sol +384 -0
  241. package/contracts/pool/BundleServiceManager.sol +42 -0
  242. package/contracts/pool/IBundleService.sol +118 -0
  243. package/contracts/pool/IPoolComponent.sol +114 -0
  244. package/contracts/pool/IPoolService.sol +114 -0
  245. package/contracts/pool/Pool.sol +302 -0
  246. package/contracts/pool/PoolService.sol +404 -0
  247. package/contracts/pool/PoolServiceManager.sol +42 -0
  248. package/contracts/product/ApplicationService.sol +187 -0
  249. package/contracts/product/ApplicationServiceManager.sol +38 -0
  250. package/contracts/product/ClaimService.sol +443 -0
  251. package/contracts/product/ClaimServiceManager.sol +38 -0
  252. package/contracts/product/IApplicationService.sol +62 -0
  253. package/contracts/product/IClaimService.sol +93 -0
  254. package/contracts/product/IPolicyService.sol +80 -0
  255. package/contracts/product/IPricingService.sol +37 -0
  256. package/contracts/product/IProductComponent.sol +41 -0
  257. package/contracts/product/IProductService.sol +40 -0
  258. package/contracts/product/PolicyService.sol +378 -0
  259. package/contracts/product/PolicyServiceManager.sol +42 -0
  260. package/contracts/product/PricingService.sol +276 -0
  261. package/contracts/product/PricingServiceManager.sol +42 -0
  262. package/contracts/product/Product.sol +379 -0
  263. package/contracts/product/ProductService.sol +212 -0
  264. package/contracts/product/ProductServiceManager.sol +42 -0
  265. package/contracts/registry/ChainNft.sol +9 -1
  266. package/contracts/registry/IRegistry.sol +56 -27
  267. package/contracts/registry/IRegistryService.sol +36 -28
  268. package/contracts/registry/ITransferInterceptor.sol +1 -0
  269. package/contracts/registry/Registry.sol +259 -232
  270. package/contracts/registry/RegistryAccessManager.sol +132 -0
  271. package/contracts/registry/RegistryService.sol +81 -208
  272. package/contracts/registry/RegistryServiceManager.sol +34 -42
  273. package/contracts/registry/ReleaseManager.sol +382 -0
  274. package/contracts/registry/TokenRegistry.sol +22 -17
  275. package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +13 -0
  276. package/contracts/shared/Component.sol +271 -0
  277. package/contracts/shared/ComponentService.sol +141 -0
  278. package/contracts/shared/ERC165.sol +14 -12
  279. package/contracts/shared/IComponent.sol +90 -0
  280. package/contracts/shared/INftOwnable.sol +12 -11
  281. package/contracts/shared/IPolicyHolder.sol +40 -0
  282. package/contracts/shared/IRegisterable.sol +4 -6
  283. package/contracts/shared/IRegistryLinked.sol +11 -0
  284. package/contracts/shared/IService.sol +7 -4
  285. package/contracts/shared/IVersionable.sol +5 -48
  286. package/contracts/shared/NftOwnable.sol +64 -80
  287. package/contracts/shared/PolicyHolder.sol +94 -0
  288. package/contracts/shared/ProxyManager.sol +126 -25
  289. package/contracts/shared/Registerable.sol +26 -41
  290. package/contracts/shared/RegistryLinked.sol +43 -0
  291. package/contracts/shared/Service.sol +41 -24
  292. package/contracts/shared/TokenHandler.sol +14 -6
  293. package/contracts/shared/Versionable.sol +4 -92
  294. package/contracts/staking/IStakingService.sol +102 -0
  295. package/contracts/staking/StakingService.sol +169 -0
  296. package/contracts/staking/StakingServiceManager.sol +40 -0
  297. package/contracts/type/Amount.sol +109 -0
  298. package/contracts/{types → type}/Blocknumber.sol +1 -0
  299. package/contracts/type/ClaimId.sol +75 -0
  300. package/contracts/{types → type}/DistributorType.sol +2 -2
  301. package/contracts/{types → type}/Fee.sol +17 -8
  302. package/contracts/{types → type}/NftId.sol +8 -0
  303. package/contracts/type/NftIdSet.sol +62 -0
  304. package/contracts/{types → type}/ObjectType.sol +17 -7
  305. package/contracts/type/PayoutId.sol +82 -0
  306. package/contracts/{types → type}/Referral.sol +4 -0
  307. package/contracts/type/RoleId.sol +139 -0
  308. package/contracts/type/Seconds.sol +54 -0
  309. package/contracts/{types → type}/StateId.sol +7 -2
  310. package/contracts/{types → type}/Timestamp.sol +18 -13
  311. package/contracts/{types → type}/UFixed.sol +1 -0
  312. package/contracts/{types → type}/Version.sol +1 -0
  313. package/package.json +3 -3
  314. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  315. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -327
  316. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  317. package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -618
  318. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  319. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -280
  320. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  321. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -152
  322. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  323. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -249
  324. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  325. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -157
  326. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  327. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -782
  328. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  329. package/artifacts/contracts/components/Product.sol/Product.json +0 -719
  330. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  331. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  332. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  333. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  334. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  335. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  336. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  337. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  338. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  339. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  340. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  341. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  342. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  343. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  344. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  345. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  346. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  347. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  348. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  349. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  350. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  351. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  352. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  353. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  354. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  355. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  356. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  357. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  358. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  359. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  360. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  361. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  362. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  363. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  364. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  365. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  366. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  367. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  368. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  369. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  370. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  371. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
  372. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  373. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  374. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  375. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  376. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  377. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  378. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  379. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  380. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -716
  381. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  382. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -444
  383. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  384. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  385. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  386. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  387. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  388. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -839
  389. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  390. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -448
  391. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  392. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -1046
  393. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  394. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -448
  395. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  396. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  397. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  398. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  399. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  400. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  401. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  402. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  403. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  404. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  405. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  406. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  407. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  408. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  409. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  410. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  411. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  412. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  413. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  414. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  415. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  416. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  417. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  418. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  419. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  420. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  421. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  422. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  423. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  424. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  425. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  426. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  427. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  428. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  429. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  430. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  431. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  432. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  433. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  434. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  435. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  436. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  437. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  438. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  439. package/contracts/components/BaseComponent.sol +0 -91
  440. package/contracts/components/Distribution.sol +0 -159
  441. package/contracts/components/IBaseComponent.sol +0 -25
  442. package/contracts/components/IDistributionComponent.sol +0 -44
  443. package/contracts/components/IPoolComponent.sol +0 -62
  444. package/contracts/components/IProductComponent.sol +0 -35
  445. package/contracts/components/Pool.sol +0 -242
  446. package/contracts/components/Product.sol +0 -284
  447. package/contracts/experiment/cloning/Cloner.sol +0 -47
  448. package/contracts/experiment/errors/Require.sol +0 -38
  449. package/contracts/experiment/errors/Revert.sol +0 -44
  450. package/contracts/experiment/inheritance/A.sol +0 -53
  451. package/contracts/experiment/inheritance/B.sol +0 -28
  452. package/contracts/experiment/inheritance/C.sol +0 -34
  453. package/contracts/experiment/inheritance/IA.sol +0 -13
  454. package/contracts/experiment/inheritance/IB.sol +0 -10
  455. package/contracts/experiment/inheritance/IC.sol +0 -12
  456. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  457. package/contracts/experiment/statemachine/ISM.sol +0 -25
  458. package/contracts/experiment/statemachine/SM.sol +0 -57
  459. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  460. package/contracts/experiment/types/TypeA.sol +0 -47
  461. package/contracts/experiment/types/TypeB.sol +0 -29
  462. package/contracts/instance/AccessManagedSimple.sol +0 -115
  463. package/contracts/instance/AccessManagerSimple.sol +0 -692
  464. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  465. package/contracts/instance/base/ComponentServiceBase.sol +0 -124
  466. package/contracts/instance/base/IInstanceBase.sol +0 -23
  467. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  468. package/contracts/instance/service/DistributionService.sol +0 -88
  469. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  470. package/contracts/instance/service/IDistributionService.sol +0 -12
  471. package/contracts/instance/service/IPoolService.sol +0 -37
  472. package/contracts/instance/service/IProductService.sol +0 -107
  473. package/contracts/instance/service/PoolService.sol +0 -194
  474. package/contracts/instance/service/PoolServiceManager.sol +0 -54
  475. package/contracts/instance/service/ProductService.sol +0 -543
  476. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  477. package/contracts/shared/ContractDeployerLib.sol +0 -72
  478. package/contracts/shared/RegisterableUpgradable.sol +0 -16
  479. package/contracts/test/TestFee.sol +0 -25
  480. package/contracts/test/TestRegisterable.sol +0 -18
  481. package/contracts/test/TestRoleId.sol +0 -14
  482. package/contracts/test/TestService.sol +0 -24
  483. package/contracts/test/TestToken.sol +0 -26
  484. package/contracts/test/TestVersion.sol +0 -44
  485. package/contracts/test/TestVersionable.sol +0 -17
  486. package/contracts/test/Usdc.sol +0 -26
  487. package/contracts/types/ChainId.sol +0 -38
  488. package/contracts/types/NftIdSet.sol +0 -60
  489. package/contracts/types/NumberId.sol +0 -52
  490. package/contracts/types/RoleId.sol +0 -90
  491. /package/contracts/{types → type}/AddressSet.sol +0 -0
  492. /package/contracts/{types → type}/Key32.sol +0 -0
  493. /package/contracts/{types → type}/RiskId.sol +0 -0
@@ -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,147 @@
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": "submissionData",
134
+ "type": "bytes"
135
+ },
136
+ {
137
+ "internalType": "bytes",
138
+ "name": "processData",
139
+ "type": "bytes"
140
+ },
141
+ {
142
+ "internalType": "Timestamp",
143
+ "name": "closedAt",
144
+ "type": "uint40"
145
+ }
146
+ ],
147
+ "internalType": "struct IPolicy.ClaimInfo",
148
+ "name": "info",
149
+ "type": "tuple"
150
+ }
151
+ ],
152
+ "stateMutability": "view",
153
+ "type": "function"
154
+ },
155
+ {
156
+ "inputs": [
157
+ {
158
+ "internalType": "NftId",
159
+ "name": "policyNftId",
160
+ "type": "uint96"
161
+ },
162
+ {
163
+ "internalType": "ClaimId",
164
+ "name": "claimId",
165
+ "type": "uint16"
166
+ }
167
+ ],
168
+ "name": "getClaimState",
169
+ "outputs": [
170
+ {
171
+ "internalType": "StateId",
172
+ "name": "state",
173
+ "type": "uint8"
174
+ }
175
+ ],
176
+ "stateMutability": "view",
177
+ "type": "function"
178
+ },
179
+ {
180
+ "inputs": [
181
+ {
182
+ "internalType": "NftId",
183
+ "name": "poolNftId",
184
+ "type": "uint96"
185
+ }
186
+ ],
187
+ "name": "getComponentInfo",
188
+ "outputs": [
189
+ {
190
+ "components": [
191
+ {
192
+ "internalType": "string",
193
+ "name": "name",
194
+ "type": "string"
195
+ },
196
+ {
197
+ "internalType": "contract IERC20Metadata",
198
+ "name": "token",
199
+ "type": "address"
200
+ },
201
+ {
202
+ "internalType": "contract TokenHandler",
203
+ "name": "tokenHandler",
204
+ "type": "address"
205
+ },
206
+ {
207
+ "internalType": "address",
208
+ "name": "wallet",
209
+ "type": "address"
210
+ },
211
+ {
212
+ "internalType": "Amount",
213
+ "name": "balanceAmount",
214
+ "type": "uint96"
215
+ },
216
+ {
217
+ "internalType": "Amount",
218
+ "name": "feeAmount",
219
+ "type": "uint96"
220
+ },
221
+ {
222
+ "internalType": "bytes",
223
+ "name": "data",
224
+ "type": "bytes"
225
+ }
226
+ ],
227
+ "internalType": "struct IComponents.ComponentInfo",
228
+ "name": "info",
229
+ "type": "tuple"
230
+ }
231
+ ],
232
+ "stateMutability": "view",
233
+ "type": "function"
234
+ },
100
235
  {
101
236
  "inputs": [
102
237
  {
@@ -157,18 +292,35 @@
157
292
  }
158
293
  ],
159
294
  "internalType": "struct Fee",
160
- "name": "distributionFee",
295
+ "name": "minDistributionOwnerFee",
161
296
  "type": "tuple"
162
297
  },
163
298
  {
164
- "internalType": "bool",
165
- "name": "isIntercepting",
166
- "type": "bool"
299
+ "components": [
300
+ {
301
+ "internalType": "UFixed",
302
+ "name": "fractionalFee",
303
+ "type": "uint256"
304
+ },
305
+ {
306
+ "internalType": "uint256",
307
+ "name": "fixedFee",
308
+ "type": "uint256"
309
+ }
310
+ ],
311
+ "internalType": "struct Fee",
312
+ "name": "distributionFee",
313
+ "type": "tuple"
167
314
  },
168
315
  {
169
316
  "internalType": "address",
170
317
  "name": "wallet",
171
318
  "type": "address"
319
+ },
320
+ {
321
+ "internalType": "uint256",
322
+ "name": "sumDistributionOwnerFees",
323
+ "type": "uint256"
172
324
  }
173
325
  ],
174
326
  "internalType": "struct ISetup.DistributionSetupInfo",
@@ -205,6 +357,16 @@
205
357
  "internalType": "bytes",
206
358
  "name": "data",
207
359
  "type": "bytes"
360
+ },
361
+ {
362
+ "internalType": "Amount",
363
+ "name": "commissionAmount",
364
+ "type": "uint96"
365
+ },
366
+ {
367
+ "internalType": "uint32",
368
+ "name": "numPoliciesSold",
369
+ "type": "uint32"
208
370
  }
209
371
  ],
210
372
  "internalType": "struct IDistribution.DistributorInfo",
@@ -294,19 +456,6 @@
294
456
  "stateMutability": "view",
295
457
  "type": "function"
296
458
  },
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
459
  {
311
460
  "inputs": [],
312
461
  "name": "getInstanceStore",
@@ -366,6 +515,76 @@
366
515
  "stateMutability": "view",
367
516
  "type": "function"
368
517
  },
518
+ {
519
+ "inputs": [
520
+ {
521
+ "internalType": "NftId",
522
+ "name": "policyNftId",
523
+ "type": "uint96"
524
+ },
525
+ {
526
+ "internalType": "PayoutId",
527
+ "name": "payoutId",
528
+ "type": "uint24"
529
+ }
530
+ ],
531
+ "name": "getPayoutInfo",
532
+ "outputs": [
533
+ {
534
+ "components": [
535
+ {
536
+ "internalType": "ClaimId",
537
+ "name": "claimId",
538
+ "type": "uint16"
539
+ },
540
+ {
541
+ "internalType": "Amount",
542
+ "name": "amount",
543
+ "type": "uint96"
544
+ },
545
+ {
546
+ "internalType": "bytes",
547
+ "name": "data",
548
+ "type": "bytes"
549
+ },
550
+ {
551
+ "internalType": "Timestamp",
552
+ "name": "paidAt",
553
+ "type": "uint40"
554
+ }
555
+ ],
556
+ "internalType": "struct IPolicy.PayoutInfo",
557
+ "name": "info",
558
+ "type": "tuple"
559
+ }
560
+ ],
561
+ "stateMutability": "view",
562
+ "type": "function"
563
+ },
564
+ {
565
+ "inputs": [
566
+ {
567
+ "internalType": "NftId",
568
+ "name": "policyNftId",
569
+ "type": "uint96"
570
+ },
571
+ {
572
+ "internalType": "PayoutId",
573
+ "name": "payoutId",
574
+ "type": "uint24"
575
+ }
576
+ ],
577
+ "name": "getPayoutState",
578
+ "outputs": [
579
+ {
580
+ "internalType": "StateId",
581
+ "name": "state",
582
+ "type": "uint8"
583
+ }
584
+ ],
585
+ "stateMutability": "view",
586
+ "type": "function"
587
+ },
369
588
  {
370
589
  "inputs": [
371
590
  {
@@ -399,24 +618,24 @@
399
618
  "type": "bytes8"
400
619
  },
401
620
  {
402
- "internalType": "uint256",
621
+ "internalType": "Amount",
403
622
  "name": "sumInsuredAmount",
404
- "type": "uint256"
623
+ "type": "uint96"
405
624
  },
406
625
  {
407
- "internalType": "uint256",
626
+ "internalType": "Amount",
408
627
  "name": "premiumAmount",
409
- "type": "uint256"
628
+ "type": "uint96"
410
629
  },
411
630
  {
412
- "internalType": "uint256",
631
+ "internalType": "Amount",
413
632
  "name": "premiumPaidAmount",
414
- "type": "uint256"
633
+ "type": "uint96"
415
634
  },
416
635
  {
417
- "internalType": "uint256",
636
+ "internalType": "Seconds",
418
637
  "name": "lifetime",
419
- "type": "uint256"
638
+ "type": "uint40"
420
639
  },
421
640
  {
422
641
  "internalType": "bytes",
@@ -425,7 +644,7 @@
425
644
  },
426
645
  {
427
646
  "internalType": "bytes",
428
- "name": "policyData",
647
+ "name": "processData",
429
648
  "type": "bytes"
430
649
  },
431
650
  {
@@ -439,9 +658,14 @@
439
658
  "type": "uint16"
440
659
  },
441
660
  {
442
- "internalType": "uint256",
661
+ "internalType": "Amount",
662
+ "name": "claimAmount",
663
+ "type": "uint96"
664
+ },
665
+ {
666
+ "internalType": "Amount",
443
667
  "name": "payoutAmount",
444
- "type": "uint256"
668
+ "type": "uint96"
445
669
  },
446
670
  {
447
671
  "internalType": "Timestamp",
@@ -471,94 +695,16 @@
471
695
  "inputs": [
472
696
  {
473
697
  "internalType": "NftId",
474
- "name": "poolNftId",
698
+ "name": "policyNftId",
475
699
  "type": "uint96"
476
700
  }
477
701
  ],
478
- "name": "getPoolSetupInfo",
702
+ "name": "getPolicyState",
479
703
  "outputs": [
480
704
  {
481
- "components": [
482
- {
483
- "internalType": "NftId",
484
- "name": "productNftId",
485
- "type": "uint96"
486
- },
487
- {
488
- "internalType": "contract TokenHandler",
489
- "name": "tokenHandler",
490
- "type": "address"
491
- },
492
- {
493
- "internalType": "UFixed",
494
- "name": "collateralizationLevel",
495
- "type": "uint256"
496
- },
497
- {
498
- "components": [
499
- {
500
- "internalType": "UFixed",
501
- "name": "fractionalFee",
502
- "type": "uint256"
503
- },
504
- {
505
- "internalType": "uint256",
506
- "name": "fixedFee",
507
- "type": "uint256"
508
- }
509
- ],
510
- "internalType": "struct Fee",
511
- "name": "poolFee",
512
- "type": "tuple"
513
- },
514
- {
515
- "components": [
516
- {
517
- "internalType": "UFixed",
518
- "name": "fractionalFee",
519
- "type": "uint256"
520
- },
521
- {
522
- "internalType": "uint256",
523
- "name": "fixedFee",
524
- "type": "uint256"
525
- }
526
- ],
527
- "internalType": "struct Fee",
528
- "name": "stakingFee",
529
- "type": "tuple"
530
- },
531
- {
532
- "components": [
533
- {
534
- "internalType": "UFixed",
535
- "name": "fractionalFee",
536
- "type": "uint256"
537
- },
538
- {
539
- "internalType": "uint256",
540
- "name": "fixedFee",
541
- "type": "uint256"
542
- }
543
- ],
544
- "internalType": "struct Fee",
545
- "name": "performanceFee",
546
- "type": "tuple"
547
- },
548
- {
549
- "internalType": "bool",
550
- "name": "isIntercepting",
551
- "type": "bool"
552
- },
553
- {
554
- "internalType": "address",
555
- "name": "wallet",
556
- "type": "address"
557
- }
558
- ],
559
- "internalType": "struct ISetup.PoolSetupInfo",
560
- "name": "info",
561
- "type": "tuple"
705
+ "internalType": "StateId",
706
+ "name": "state",
707
+ "type": "uint8"
562
708
  }
563
709
  ],
564
710
  "stateMutability": "view",
@@ -596,23 +742,6 @@
596
742
  "name": "poolNftId",
597
743
  "type": "uint96"
598
744
  },
599
- {
600
- "components": [
601
- {
602
- "internalType": "UFixed",
603
- "name": "fractionalFee",
604
- "type": "uint256"
605
- },
606
- {
607
- "internalType": "uint256",
608
- "name": "fixedFee",
609
- "type": "uint256"
610
- }
611
- ],
612
- "internalType": "struct Fee",
613
- "name": "distributionFee",
614
- "type": "tuple"
615
- },
616
745
  {
617
746
  "components": [
618
747
  {
@@ -648,55 +777,14 @@
648
777
  "type": "tuple"
649
778
  },
650
779
  {
651
- "components": [
652
- {
653
- "internalType": "UFixed",
654
- "name": "fractionalFee",
655
- "type": "uint256"
656
- },
657
- {
658
- "internalType": "uint256",
659
- "name": "fixedFee",
660
- "type": "uint256"
661
- }
662
- ],
663
- "internalType": "struct Fee",
664
- "name": "poolFee",
665
- "type": "tuple"
666
- },
667
- {
668
- "components": [
669
- {
670
- "internalType": "UFixed",
671
- "name": "fractionalFee",
672
- "type": "uint256"
673
- },
674
- {
675
- "internalType": "uint256",
676
- "name": "fixedFee",
677
- "type": "uint256"
678
- }
679
- ],
680
- "internalType": "struct Fee",
681
- "name": "stakingFee",
682
- "type": "tuple"
780
+ "internalType": "bool",
781
+ "name": "isIntercepting",
782
+ "type": "bool"
683
783
  },
684
784
  {
685
- "components": [
686
- {
687
- "internalType": "UFixed",
688
- "name": "fractionalFee",
689
- "type": "uint256"
690
- },
691
- {
692
- "internalType": "uint256",
693
- "name": "fixedFee",
694
- "type": "uint256"
695
- }
696
- ],
697
- "internalType": "struct Fee",
698
- "name": "performanceFee",
699
- "type": "tuple"
785
+ "internalType": "address",
786
+ "name": "wallet",
787
+ "type": "address"
700
788
  }
701
789
  ],
702
790
  "internalType": "struct ISetup.ProductSetupInfo",
@@ -960,13 +1048,8 @@
960
1048
  "inputs": [
961
1049
  {
962
1050
  "internalType": "address",
963
- "name": "registry",
1051
+ "name": "instance",
964
1052
  "type": "address"
965
- },
966
- {
967
- "internalType": "NftId",
968
- "name": "instanceNftId",
969
- "type": "uint96"
970
1053
  }
971
1054
  ],
972
1055
  "name": "initialize",
@@ -974,6 +1057,25 @@
974
1057
  "stateMutability": "nonpayable",
975
1058
  "type": "function"
976
1059
  },
1060
+ {
1061
+ "inputs": [
1062
+ {
1063
+ "internalType": "NftId",
1064
+ "name": "policyNftId",
1065
+ "type": "uint96"
1066
+ }
1067
+ ],
1068
+ "name": "policyIsCloseable",
1069
+ "outputs": [
1070
+ {
1071
+ "internalType": "bool",
1072
+ "name": "isCloseable",
1073
+ "type": "bool"
1074
+ }
1075
+ ],
1076
+ "stateMutability": "view",
1077
+ "type": "function"
1078
+ },
977
1079
  {
978
1080
  "inputs": [
979
1081
  {
@@ -1175,212 +1277,296 @@
1175
1277
  "type": "function"
1176
1278
  }
1177
1279
  ],
1178
- "bytecode": "0x60806040523480156200001157600080fd5b50604051620032643803806200326483398101604081905262000034916200038e565b62000040828262000048565b5050620005f5565b60005460ff1615620000ab5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b038216620001035760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f00000000006044820152606401620000a2565b6040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156200015c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001829190620003d7565b620001d05760405162461bcd60e51b815260206004820152601960248201527f4552524f523a4352442d3030323a4e46545f49445f5a45524f000000000000006044820152606401620000a2565b60008054610100600160a81b0319166101006001600160a01b03858116820292909217808455600180546001600160601b0319166001600160601b0387169081179091556040516305247a1760e51b815260048101919091529190049091169063a48f42e090602401600060405180830381865afa15801562000257573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200028191908101906200050f565b9050620002a781604001516200029c6200035460201b60201c565b60ff90811691161490565b620002ff5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030333a504152454e545f4e4f545f494e5354414e436044820152604560f81b6064820152608401620000a2565b60800151600180546001600160601b03166c010000000000000000000000006001600160a01b03909316928302178155600280546001600160a01b0319169092179091556000805460ff191690911790555050565b604690565b80516001600160a01b03811681146200037157600080fd5b919050565b80516001600160601b03811681146200037157600080fd5b60008060408385031215620003a257600080fd5b620003ad8362000359565b9150620003bd6020840162000376565b90509250929050565b805180151581146200037157600080fd5b600060208284031215620003ea57600080fd5b620003f582620003c6565b9392505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715620004375762000437620003fc565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620004685762000468620003fc565b604052919050565b805160ff811681146200037157600080fd5b600082601f8301126200049457600080fd5b81516001600160401b03811115620004b057620004b0620003fc565b6020620004c6601f8301601f191682016200043d565b8281528582848701011115620004db57600080fd5b60005b83811015620004fb578581018301518282018401528201620004de565b506000928101909101919091529392505050565b6000602082840312156200052257600080fd5b81516001600160401b03808211156200053a57600080fd5b9083019060e082860312156200054f57600080fd5b6200055962000412565b620005648362000376565b8152620005746020840162000376565b6020820152620005876040840162000470565b60408201526200059a60608401620003c6565b6060820152620005ad6080840162000359565b6080820152620005c060a0840162000359565b60a082015260c083015182811115620005d857600080fd5b620005e68782860162000482565b60c08301525095945050505050565b612c5f80620006056000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c8063887b1fa9116100f9578063d06458c611610097578063de7b5d1411610071578063de7b5d14146104e5578063f2a41374146104fd578063f2b246c314610512578063f7f318d31461052557600080fd5b8063d06458c6146104a1578063d4cda0d8146104c1578063dd26287a146104d257600080fd5b8063a310e2a3116100d3578063a310e2a3146103bf578063a5961b4c146103ea578063b82d7ef514610457578063bd7d9d851461048157600080fd5b8063887b1fa91461030d57806390af70641461032d5780639ad69c671461034d57600080fd5b806344aa68361161016657806364eb3a9b1161014057806364eb3a9b146102b95780637bfd3217146102cc5780637e54602a146102df5780637e798669146102f257600080fd5b806344aa6836146102665780634793b4ab1461027957806355e343a91461029957600080fd5b80631488c845146101ae5780631d3be477146101d457806325d03743146101f457806327b1d7921461020757806335898f5d146102275780633f093cd61461023a575b600080fd5b6101c16101bc366004611964565b610538565b6040519081526020015b60405180910390f35b6101e76101e23660046119b3565b6105c0565b6040516101cb9190611a20565b6101c1610202366004611ad0565b610719565b61021a610215366004611ad0565b6107b3565b6040516101cb9190611aed565b6101c1610235366004611ad0565b61086d565b61024d610248366004611c97565b61089a565b6040516001600160c01b031990911681526020016101cb565b6101c1610274366004611d29565b610917565b61028c610287366004611ad0565b610952565b6040516101cb9190611d42565b6102ac6102a7366004611ad0565b6109f8565b6040516101cb9190611df6565b6101c16102c7366004611ad0565b610a9e565b6101c16102da366004611ad0565b610acb565b6101c16102ed366004611ad0565b610af8565b6001546040516001600160601b0390911681526020016101cb565b61032061031b3660046119b3565b610b25565b6040516101cb9190611e9b565b61034061033b366004611ad0565b610c4e565b6040516101cb9190611fc6565b61036061035b366004611ad0565b610cf4565b6040805182516001600160601b031681526020808401516001600160a01b0390811682840152848401518051948401949094529201516060808301919091528301511515608080830191909152909201511660a082015260c0016101cb565b6103d26103cd366004611ad0565b610d9a565b6040516001600160a01b0390911681526020016101cb565b6103fd6103f8366004611d29565b610e48565b6040516101cb9190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61046a6104653660046119b3565b610edc565b6040805192835260ff9091166020830152016101cb565b61049461048f366004611ad0565b611184565b6040516101cb9190611fd5565b6104b46104af3660046119b3565b6112a2565b6040516101cb9190612116565b6002546001600160a01b03166103d2565b6101c16104e0366004611ad0565b611415565b600154600160601b90046001600160a01b03166103d2565b61051061050b3660046121db565b611442565b005b610340610520366004611ad0565b611734565b6101c1610533366004611ad0565b611759565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af4158015610593573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b79190612209565b90505b92915050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af4158015610667573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061068b9190612209565b6040518263ffffffff1660e01b81526004016106a991815260200190565b600060405180830381865afa1580156106c6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106ee9190810190612267565b805190915015610713578080602001905181019061070c91906122dd565b9392505050565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af415801561078f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ba9190612209565b604080516060808201835260008083526020830152918101919091526002546000906001600160a01b03166354f6127f6107ec85610af8565b6040518263ffffffff1660e01b815260040161080a91815260200190565b600060405180830381865afa158015610827573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261084f9190810190612267565b805190915015610713578080602001905181019061070c91906123d6565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b0384166078610742565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd6906108d6908690869060040161247c565b602060405180830381865af41580156108f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b7919061249e565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401610772565b61095a611786565b6002546000906001600160a01b03166354f6127f61097785611759565b6040518263ffffffff1660e01b815260040161099591815260200190565b600060405180830381865afa1580156109b2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109da9190810190612267565b805190915015610713578080602001905181019061070c91906124eb565b610a00611804565b6002546000906001600160a01b03166354f6127f610a1d85611415565b6040518263ffffffff1660e01b8152600401610a3b91815260200190565b600060405180830381865afa158015610a58573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a809190810190612267565b805190915015610713578080602001905181019061070c91906125d6565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d2610742565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e610742565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a610742565b6040805180820190915260008152606060208201526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610ba9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bcd9190612209565b6040518263ffffffff1660e01b8152600401610beb91815260200190565b600060405180830381865afa158015610c08573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c309190810190612267565b805190915015610713578080602001905181019061070c9190612678565b610c56611875565b6002546000906001600160a01b03166354f6127f610c7385610acb565b6040518263ffffffff1660e01b8152600401610c9191815260200190565b600060405180830381865afa158015610cae573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610cd69190810190612267565b805190915015610713578080602001905181019061070c91906127c9565b610cfc61191c565b6002546000906001600160a01b03166354f6127f610d198561086d565b6040518263ffffffff1660e01b8152600401610d3791815260200190565b600060405180830381865afa158015610d54573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d7c9190810190612267565b805190915015610713578080602001905181019061070c91906127e6565b60025460009081906001600160a01b03166354f6127f610db985610719565b6040518263ffffffff1660e01b8152600401610dd791815260200190565b600060405180830381865afa158015610df4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e1c9190810190612267565b80519091501561071357600081806020019051810190610e3c91906127c9565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610eb8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ba9190612877565b6000806000610eea846105c0565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610f49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f6d91906128e5565b15610fec5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610fbb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fdf9190612209565b60645b9250925050915091565b6110708160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561103d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110619190612900565b64ffffffffff90811691161090565b156110e95773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156110be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e29190612209565b606e610fe2565b806060015163ffffffff16816080015163ffffffff16106111785773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561114d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111719190612209565b6078610fe2565b6040810151600a610fe2565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002546000906001600160a01b03166354f6127f61122185610a9e565b6040518263ffffffff1660e01b815260040161123f91815260200190565b600060405180830381865afa15801561125c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112849190810190612267565b805190915015610713578080602001905181019061070c919061292d565b61130160405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015611370573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113949190612209565b6040518263ffffffff1660e01b81526004016113b291815260200190565b600060405180830381865afa1580156113cf573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113f79190810190612267565b805190915015610713578080602001905181019061070c9190612a92565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c610742565b60005460ff16156114a45760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b0382166114fa5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f0000000000604482015260640161149b565b6040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611552573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061157691906128e5565b6115c25760405162461bcd60e51b815260206004820152601960248201527f4552524f523a4352442d3030323a4e46545f49445f5a45524f00000000000000604482015260640161149b565b60008054610100600160a81b0319166101006001600160a01b03858116820292909217808455600180546bffffffffffffffffffffffff19166001600160601b0387169081179091556040516305247a1760e51b815260048101919091529190049091169063a48f42e090602401600060405180830381865afa15801561164d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116759190810190612b89565b90506116928160400151611687604690565b60ff90811691161490565b6116e85760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030333a504152454e545f4e4f545f494e5354414e436044820152604560f81b606482015260840161149b565b60800151600180546001600160601b0316600160601b6001600160a01b03909316928302178155600280546001600160a01b0319169092179091556000805460ff191690911790555050565b61173c611875565b6002546000906001600160a01b03166354f6127f610c7385610719565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc610742565b60405180610120016040528060006001600160601b031681526020016117bf604051806040016040528060008152602001600081525090565b81526020016060815260200160008152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b60408051610100810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a08201905b815260006020820181905260409091015290565b604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b03168152602001611861604051806040016040528060008152602001600081525090565b6000806040838503121561197757600080fd5b8235915060208301358060000b811461198f57600080fd5b809150509250929050565b6001600160c01b0319811681146119b057600080fd5b50565b6000602082840312156119c557600080fd5b813561070c8161199a565b60005b838110156119eb5781810151838201526020016119d3565b50506000910152565b60008151808452611a0c8160208601602086016119d0565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e06040840152611a506101008401826119f4565b90506040840151606084015263ffffffff60608501511660808401526080840151611a8360a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e0850152611ab282826119f4565b95945050505050565b6001600160601b03811681146119b057600080fd5b600060208284031215611ae257600080fd5b813561070c81611abb565b602081526001600160401b0360c01b825116602082015260208201511515604082015260006040830151606080840152611b2a60808401826119f4565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611b6a57611b6a611b32565b60405290565b604080519081016001600160401b0381118282101715611b6a57611b6a611b32565b60405161012081016001600160401b0381118282101715611b6a57611b6a611b32565b60405161010081016001600160401b0381118282101715611b6a57611b6a611b32565b60405161014081016001600160401b0381118282101715611b6a57611b6a611b32565b60405160a081016001600160401b0381118282101715611b6a57611b6a611b32565b60405161020081016001600160401b0381118282101715611b6a57611b6a611b32565b604051601f8201601f191681016001600160401b0381118282101715611c6857611c68611b32565b604052919050565b60006001600160401b03821115611c8957611c89611b32565b50601f01601f191660200190565b60008060408385031215611caa57600080fd5b8235611cb581611abb565b915060208301356001600160401b03811115611cd057600080fd5b8301601f81018513611ce157600080fd5b8035611cf4611cef82611c70565b611c40565b818152866020838501011115611d0957600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611d3b57600080fd5b5035919050565b60208152611d5c6020820183516001600160601b03169052565b60006020830151611d7a604084018280518252602090810151910152565b506040830151610140806080850152611d976101608501836119f4565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100818187015260e08701519150611ddf61012087018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b81516001600160601b031681526020808301516001600160a01b03169082015260408083015190820152606080830151610160830191611e429084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151151561012083015260e08301516001600160a01b0381166101408401525092915050565b602081526001600160601b03825116602082015260006020830151604080840152611b2a60608401826119f4565b80516001600160a01b031682526020810151611ef060208401826001600160a01b03169052565b506040810151611f0b60408401826001600160601b03169052565b506060810151611f2660608401826001600160601b03169052565b506080810151611f43608084018280518252602090810151910152565b5060a0810151805160c0840152602081015160e08401525060c0810151610100611f798185018380518252602090810151910152565b60e0830151805161014086015260208101516101608601529150820151805161018085015260208101516101a0850152905050610120015180516101c0830152602001516101e090910152565b61020081016105ba8284611ec9565b60208152611fef6020820183516001600160601b03169052565b6000602083015161200b60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e083015161010081818501528085015191505061020061012081818601526120836102208601846119f4565b9250808601519050610140601f1986850301818701526120a384836119f4565b9350808701519150506101606120be8187018361ffff169052565b86015190506101806120d58682018361ffff169052565b8601516101a08681019190915286015190506101c06120fc8187018364ffffffffff169052565b86015190506101e0611ddf8682018364ffffffffff169052565b60208152600082516101208060208501526121356101408501836119f4565b9150602085015160408501526040850151606085015260608501516080850152608085015161216c60a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006121a28187018315159052565b860151858403601f19018387015290506121bc83826119f4565b9695505050505050565b6001600160a01b03811681146119b057600080fd5b600080604083850312156121ee57600080fd5b82356121f9816121c6565b9150602083013561198f81611abb565b60006020828403121561221b57600080fd5b5051919050565b600082601f83011261223357600080fd5b8151612241611cef82611c70565b81815284602083860101111561225657600080fd5b611b2a8260208301602087016119d0565b60006020828403121561227957600080fd5b81516001600160401b0381111561228f57600080fd5b611b2a84828501612222565b80516122a681611abb565b919050565b63ffffffff811681146119b057600080fd5b80516122a6816122ab565b805164ffffffffff811681146122a657600080fd5b6000602082840312156122ef57600080fd5b81516001600160401b038082111561230657600080fd5b9083019060e0828603121561231a57600080fd5b612322611b48565b61232b8361229b565b815260208301518281111561233f57600080fd5b61234b87828601612222565b60208301525060408301516040820152612367606084016122bd565b6060820152612378608084016122bd565b608082015261238960a084016122c8565b60a082015260c0830151828111156123a057600080fd5b6123ac87828601612222565b60c08301525095945050505050565b80516122a68161199a565b805180151581146122a657600080fd5b6000602082840312156123e857600080fd5b81516001600160401b03808211156123ff57600080fd5b908301906060828603121561241357600080fd5b60405160608101818110838211171561242e5761242e611b32565b604052825161243c8161199a565b815261244a602084016123c6565b602082015260408301518281111561246157600080fd5b61246d87828601612222565b60408301525095945050505050565b6001600160601b0383168152604060208201526000611b2a60408301846119f4565b6000602082840312156124b057600080fd5b815161070c8161199a565b6000604082840312156124cd57600080fd5b6124d5611b70565b9050815181526020820151602082015292915050565b6000602082840312156124fd57600080fd5b81516001600160401b038082111561251457600080fd5b90830190610140828603121561252957600080fd5b612531611b92565b61253a8361229b565b815261254986602085016124bb565b602082015260608301518281111561256057600080fd5b61256c87828601612222565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c082015261010091506125aa8284016122c8565b60e08201526125bc61012084016122c8565b91810191909152949350505050565b80516122a6816121c6565b600061016082840312156125e957600080fd5b6125f1611bb5565b6125fa8361229b565b8152612608602084016125cb565b60208201526040830151604082015261262484606085016124bb565b60608201526126368460a085016124bb565b60808201526126488460e085016124bb565b60a082015261265a61012084016123c6565b60c082015261266c61014084016125cb565b60e08201529392505050565b60006020828403121561268a57600080fd5b81516001600160401b03808211156126a157600080fd5b90830190604082860312156126b557600080fd5b6126bd611b70565b82516126c881611abb565b81526020830151828111156126dc57600080fd5b6126e887828601612222565b60208301525095945050505050565b6000610200828403121561270a57600080fd5b612712611bd8565b905061271d826125cb565b815261272b602083016125cb565b602082015261273c6040830161229b565b604082015261274d6060830161229b565b606082015261275f83608084016124bb565b60808201526127718360c084016124bb565b60a0820152610100612785848285016124bb565b60c08301526127988461014085016124bb565b60e08301526127ab8461018085016124bb565b908201526127bd836101c084016124bb565b61012082015292915050565b600061020082840312156127dc57600080fd5b6105b783836126f7565b600060c082840312156127f857600080fd5b612800611bfb565b825161280b81611abb565b8152602083015161281b816121c6565b602082015261282d84604085016124bb565b604082015261283e608084016123c6565b606082015260a0830151612851816121c6565b60808201529392505050565b60ff811681146119b057600080fd5b80516122a68161285d565b600060a0828403121561288957600080fd5b612891611bfb565b825161289c8161285d565b815260208301516128ac8161285d565b602082015260408301516128bf816121c6565b604082015260608301516128d2816122ab565b60608201526080830151612851816122ab565b6000602082840312156128f757600080fd5b6105b7826123c6565b60006020828403121561291257600080fd5b6105b7826122c8565b805161ffff811681146122a657600080fd5b60006020828403121561293f57600080fd5b81516001600160401b038082111561295657600080fd5b90830190610200828603121561296b57600080fd5b612973611c1d565b61297c8361229b565b815261298a6020840161229b565b602082015261299b604084016123bb565b60408201526129ac606084016123bb565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e082015261010080840151838111156129ed57600080fd5b6129f988828701612222565b8284015250506101208084015183811115612a1357600080fd5b612a1f88828701612222565b8284015250506101409150612a3582840161291b565b828201526101609150612a4982840161291b565b82820152610180915081830151828201526101a09150612a6a8284016122c8565b828201526101c09150612a7e8284016122c8565b828201526101e091506125bc8284016122c8565b600060208284031215612aa457600080fd5b81516001600160401b0380821115612abb57600080fd5b908301906101208286031215612ad057600080fd5b612ad8611b92565b825182811115612ae757600080fd5b612af387828601612222565b825250602083015160208201526040830151604082015260608301516060820152612b20608084016122bd565b6080820152612b3160a084016122bd565b60a0820152612b4260c084016123c6565b60c0820152612b5360e084016123c6565b60e08201526101008084015183811115612b6c57600080fd5b612b7888828701612222565b918301919091525095945050505050565b600060208284031215612b9b57600080fd5b81516001600160401b0380821115612bb257600080fd5b9083019060e08286031215612bc657600080fd5b612bce611b48565b612bd78361229b565b8152612be56020840161229b565b6020820152612bf66040840161286c565b6040820152612c07606084016123c6565b6060820152612c18608084016125cb565b608082015261238960a084016125cb56fea2646970667358221220b67639505cc20da02fc4f294b62ab8152d2f2699d03d382f1b0b2b14def2c91964736f6c63430008140033",
1179
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101a95760003560e01c8063887b1fa9116100f9578063d06458c611610097578063de7b5d1411610071578063de7b5d14146104e5578063f2a41374146104fd578063f2b246c314610512578063f7f318d31461052557600080fd5b8063d06458c6146104a1578063d4cda0d8146104c1578063dd26287a146104d257600080fd5b8063a310e2a3116100d3578063a310e2a3146103bf578063a5961b4c146103ea578063b82d7ef514610457578063bd7d9d851461048157600080fd5b8063887b1fa91461030d57806390af70641461032d5780639ad69c671461034d57600080fd5b806344aa68361161016657806364eb3a9b1161014057806364eb3a9b146102b95780637bfd3217146102cc5780637e54602a146102df5780637e798669146102f257600080fd5b806344aa6836146102665780634793b4ab1461027957806355e343a91461029957600080fd5b80631488c845146101ae5780631d3be477146101d457806325d03743146101f457806327b1d7921461020757806335898f5d146102275780633f093cd61461023a575b600080fd5b6101c16101bc366004611964565b610538565b6040519081526020015b60405180910390f35b6101e76101e23660046119b3565b6105c0565b6040516101cb9190611a20565b6101c1610202366004611ad0565b610719565b61021a610215366004611ad0565b6107b3565b6040516101cb9190611aed565b6101c1610235366004611ad0565b61086d565b61024d610248366004611c97565b61089a565b6040516001600160c01b031990911681526020016101cb565b6101c1610274366004611d29565b610917565b61028c610287366004611ad0565b610952565b6040516101cb9190611d42565b6102ac6102a7366004611ad0565b6109f8565b6040516101cb9190611df6565b6101c16102c7366004611ad0565b610a9e565b6101c16102da366004611ad0565b610acb565b6101c16102ed366004611ad0565b610af8565b6001546040516001600160601b0390911681526020016101cb565b61032061031b3660046119b3565b610b25565b6040516101cb9190611e9b565b61034061033b366004611ad0565b610c4e565b6040516101cb9190611fc6565b61036061035b366004611ad0565b610cf4565b6040805182516001600160601b031681526020808401516001600160a01b0390811682840152848401518051948401949094529201516060808301919091528301511515608080830191909152909201511660a082015260c0016101cb565b6103d26103cd366004611ad0565b610d9a565b6040516001600160a01b0390911681526020016101cb565b6103fd6103f8366004611d29565b610e48565b6040516101cb9190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61046a6104653660046119b3565b610edc565b6040805192835260ff9091166020830152016101cb565b61049461048f366004611ad0565b611184565b6040516101cb9190611fd5565b6104b46104af3660046119b3565b6112a2565b6040516101cb9190612116565b6002546001600160a01b03166103d2565b6101c16104e0366004611ad0565b611415565b600154600160601b90046001600160a01b03166103d2565b61051061050b3660046121db565b611442565b005b610340610520366004611ad0565b611734565b6101c1610533366004611ad0565b611759565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af4158015610593573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b79190612209565b90505b92915050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af4158015610667573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061068b9190612209565b6040518263ffffffff1660e01b81526004016106a991815260200190565b600060405180830381865afa1580156106c6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106ee9190810190612267565b805190915015610713578080602001905181019061070c91906122dd565b9392505050565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af415801561078f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ba9190612209565b604080516060808201835260008083526020830152918101919091526002546000906001600160a01b03166354f6127f6107ec85610af8565b6040518263ffffffff1660e01b815260040161080a91815260200190565b600060405180830381865afa158015610827573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261084f9190810190612267565b805190915015610713578080602001905181019061070c91906123d6565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b0384166078610742565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd6906108d6908690869060040161247c565b602060405180830381865af41580156108f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b7919061249e565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401610772565b61095a611786565b6002546000906001600160a01b03166354f6127f61097785611759565b6040518263ffffffff1660e01b815260040161099591815260200190565b600060405180830381865afa1580156109b2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109da9190810190612267565b805190915015610713578080602001905181019061070c91906124eb565b610a00611804565b6002546000906001600160a01b03166354f6127f610a1d85611415565b6040518263ffffffff1660e01b8152600401610a3b91815260200190565b600060405180830381865afa158015610a58573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a809190810190612267565b805190915015610713578080602001905181019061070c91906125d6565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d2610742565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e610742565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a610742565b6040805180820190915260008152606060208201526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610ba9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bcd9190612209565b6040518263ffffffff1660e01b8152600401610beb91815260200190565b600060405180830381865afa158015610c08573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c309190810190612267565b805190915015610713578080602001905181019061070c9190612678565b610c56611875565b6002546000906001600160a01b03166354f6127f610c7385610acb565b6040518263ffffffff1660e01b8152600401610c9191815260200190565b600060405180830381865afa158015610cae573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610cd69190810190612267565b805190915015610713578080602001905181019061070c91906127c9565b610cfc61191c565b6002546000906001600160a01b03166354f6127f610d198561086d565b6040518263ffffffff1660e01b8152600401610d3791815260200190565b600060405180830381865afa158015610d54573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d7c9190810190612267565b805190915015610713578080602001905181019061070c91906127e6565b60025460009081906001600160a01b03166354f6127f610db985610719565b6040518263ffffffff1660e01b8152600401610dd791815260200190565b600060405180830381865afa158015610df4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e1c9190810190612267565b80519091501561071357600081806020019051810190610e3c91906127c9565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610eb8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ba9190612877565b6000806000610eea846105c0565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610f49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f6d91906128e5565b15610fec5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610fbb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fdf9190612209565b60645b9250925050915091565b6110708160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561103d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110619190612900565b64ffffffffff90811691161090565b156110e95773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156110be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e29190612209565b606e610fe2565b806060015163ffffffff16816080015163ffffffff16106111785773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561114d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111719190612209565b6078610fe2565b6040810151600a610fe2565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002546000906001600160a01b03166354f6127f61122185610a9e565b6040518263ffffffff1660e01b815260040161123f91815260200190565b600060405180830381865afa15801561125c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112849190810190612267565b805190915015610713578080602001905181019061070c919061292d565b61130160405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015611370573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113949190612209565b6040518263ffffffff1660e01b81526004016113b291815260200190565b600060405180830381865afa1580156113cf573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113f79190810190612267565b805190915015610713578080602001905181019061070c9190612a92565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c610742565b60005460ff16156114a45760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b0382166114fa5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f0000000000604482015260640161149b565b6040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611552573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061157691906128e5565b6115c25760405162461bcd60e51b815260206004820152601960248201527f4552524f523a4352442d3030323a4e46545f49445f5a45524f00000000000000604482015260640161149b565b60008054610100600160a81b0319166101006001600160a01b03858116820292909217808455600180546bffffffffffffffffffffffff19166001600160601b0387169081179091556040516305247a1760e51b815260048101919091529190049091169063a48f42e090602401600060405180830381865afa15801561164d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116759190810190612b89565b90506116928160400151611687604690565b60ff90811691161490565b6116e85760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030333a504152454e545f4e4f545f494e5354414e436044820152604560f81b606482015260840161149b565b60800151600180546001600160601b0316600160601b6001600160a01b03909316928302178155600280546001600160a01b0319169092179091556000805460ff191690911790555050565b61173c611875565b6002546000906001600160a01b03166354f6127f610c7385610719565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc610742565b60405180610120016040528060006001600160601b031681526020016117bf604051806040016040528060008152602001600081525090565b81526020016060815260200160008152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b60408051610100810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a08201905b815260006020820181905260409091015290565b604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b03168152602001611861604051806040016040528060008152602001600081525090565b6000806040838503121561197757600080fd5b8235915060208301358060000b811461198f57600080fd5b809150509250929050565b6001600160c01b0319811681146119b057600080fd5b50565b6000602082840312156119c557600080fd5b813561070c8161199a565b60005b838110156119eb5781810151838201526020016119d3565b50506000910152565b60008151808452611a0c8160208601602086016119d0565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e06040840152611a506101008401826119f4565b90506040840151606084015263ffffffff60608501511660808401526080840151611a8360a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e0850152611ab282826119f4565b95945050505050565b6001600160601b03811681146119b057600080fd5b600060208284031215611ae257600080fd5b813561070c81611abb565b602081526001600160401b0360c01b825116602082015260208201511515604082015260006040830151606080840152611b2a60808401826119f4565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611b6a57611b6a611b32565b60405290565b604080519081016001600160401b0381118282101715611b6a57611b6a611b32565b60405161012081016001600160401b0381118282101715611b6a57611b6a611b32565b60405161010081016001600160401b0381118282101715611b6a57611b6a611b32565b60405161014081016001600160401b0381118282101715611b6a57611b6a611b32565b60405160a081016001600160401b0381118282101715611b6a57611b6a611b32565b60405161020081016001600160401b0381118282101715611b6a57611b6a611b32565b604051601f8201601f191681016001600160401b0381118282101715611c6857611c68611b32565b604052919050565b60006001600160401b03821115611c8957611c89611b32565b50601f01601f191660200190565b60008060408385031215611caa57600080fd5b8235611cb581611abb565b915060208301356001600160401b03811115611cd057600080fd5b8301601f81018513611ce157600080fd5b8035611cf4611cef82611c70565b611c40565b818152866020838501011115611d0957600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611d3b57600080fd5b5035919050565b60208152611d5c6020820183516001600160601b03169052565b60006020830151611d7a604084018280518252602090810151910152565b506040830151610140806080850152611d976101608501836119f4565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100818187015260e08701519150611ddf61012087018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b81516001600160601b031681526020808301516001600160a01b03169082015260408083015190820152606080830151610160830191611e429084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151151561012083015260e08301516001600160a01b0381166101408401525092915050565b602081526001600160601b03825116602082015260006020830151604080840152611b2a60608401826119f4565b80516001600160a01b031682526020810151611ef060208401826001600160a01b03169052565b506040810151611f0b60408401826001600160601b03169052565b506060810151611f2660608401826001600160601b03169052565b506080810151611f43608084018280518252602090810151910152565b5060a0810151805160c0840152602081015160e08401525060c0810151610100611f798185018380518252602090810151910152565b60e0830151805161014086015260208101516101608601529150820151805161018085015260208101516101a0850152905050610120015180516101c0830152602001516101e090910152565b61020081016105ba8284611ec9565b60208152611fef6020820183516001600160601b03169052565b6000602083015161200b60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e083015161010081818501528085015191505061020061012081818601526120836102208601846119f4565b9250808601519050610140601f1986850301818701526120a384836119f4565b9350808701519150506101606120be8187018361ffff169052565b86015190506101806120d58682018361ffff169052565b8601516101a08681019190915286015190506101c06120fc8187018364ffffffffff169052565b86015190506101e0611ddf8682018364ffffffffff169052565b60208152600082516101208060208501526121356101408501836119f4565b9150602085015160408501526040850151606085015260608501516080850152608085015161216c60a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006121a28187018315159052565b860151858403601f19018387015290506121bc83826119f4565b9695505050505050565b6001600160a01b03811681146119b057600080fd5b600080604083850312156121ee57600080fd5b82356121f9816121c6565b9150602083013561198f81611abb565b60006020828403121561221b57600080fd5b5051919050565b600082601f83011261223357600080fd5b8151612241611cef82611c70565b81815284602083860101111561225657600080fd5b611b2a8260208301602087016119d0565b60006020828403121561227957600080fd5b81516001600160401b0381111561228f57600080fd5b611b2a84828501612222565b80516122a681611abb565b919050565b63ffffffff811681146119b057600080fd5b80516122a6816122ab565b805164ffffffffff811681146122a657600080fd5b6000602082840312156122ef57600080fd5b81516001600160401b038082111561230657600080fd5b9083019060e0828603121561231a57600080fd5b612322611b48565b61232b8361229b565b815260208301518281111561233f57600080fd5b61234b87828601612222565b60208301525060408301516040820152612367606084016122bd565b6060820152612378608084016122bd565b608082015261238960a084016122c8565b60a082015260c0830151828111156123a057600080fd5b6123ac87828601612222565b60c08301525095945050505050565b80516122a68161199a565b805180151581146122a657600080fd5b6000602082840312156123e857600080fd5b81516001600160401b03808211156123ff57600080fd5b908301906060828603121561241357600080fd5b60405160608101818110838211171561242e5761242e611b32565b604052825161243c8161199a565b815261244a602084016123c6565b602082015260408301518281111561246157600080fd5b61246d87828601612222565b60408301525095945050505050565b6001600160601b0383168152604060208201526000611b2a60408301846119f4565b6000602082840312156124b057600080fd5b815161070c8161199a565b6000604082840312156124cd57600080fd5b6124d5611b70565b9050815181526020820151602082015292915050565b6000602082840312156124fd57600080fd5b81516001600160401b038082111561251457600080fd5b90830190610140828603121561252957600080fd5b612531611b92565b61253a8361229b565b815261254986602085016124bb565b602082015260608301518281111561256057600080fd5b61256c87828601612222565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c082015261010091506125aa8284016122c8565b60e08201526125bc61012084016122c8565b91810191909152949350505050565b80516122a6816121c6565b600061016082840312156125e957600080fd5b6125f1611bb5565b6125fa8361229b565b8152612608602084016125cb565b60208201526040830151604082015261262484606085016124bb565b60608201526126368460a085016124bb565b60808201526126488460e085016124bb565b60a082015261265a61012084016123c6565b60c082015261266c61014084016125cb565b60e08201529392505050565b60006020828403121561268a57600080fd5b81516001600160401b03808211156126a157600080fd5b90830190604082860312156126b557600080fd5b6126bd611b70565b82516126c881611abb565b81526020830151828111156126dc57600080fd5b6126e887828601612222565b60208301525095945050505050565b6000610200828403121561270a57600080fd5b612712611bd8565b905061271d826125cb565b815261272b602083016125cb565b602082015261273c6040830161229b565b604082015261274d6060830161229b565b606082015261275f83608084016124bb565b60808201526127718360c084016124bb565b60a0820152610100612785848285016124bb565b60c08301526127988461014085016124bb565b60e08301526127ab8461018085016124bb565b908201526127bd836101c084016124bb565b61012082015292915050565b600061020082840312156127dc57600080fd5b6105b783836126f7565b600060c082840312156127f857600080fd5b612800611bfb565b825161280b81611abb565b8152602083015161281b816121c6565b602082015261282d84604085016124bb565b604082015261283e608084016123c6565b606082015260a0830151612851816121c6565b60808201529392505050565b60ff811681146119b057600080fd5b80516122a68161285d565b600060a0828403121561288957600080fd5b612891611bfb565b825161289c8161285d565b815260208301516128ac8161285d565b602082015260408301516128bf816121c6565b604082015260608301516128d2816122ab565b60608201526080830151612851816122ab565b6000602082840312156128f757600080fd5b6105b7826123c6565b60006020828403121561291257600080fd5b6105b7826122c8565b805161ffff811681146122a657600080fd5b60006020828403121561293f57600080fd5b81516001600160401b038082111561295657600080fd5b90830190610200828603121561296b57600080fd5b612973611c1d565b61297c8361229b565b815261298a6020840161229b565b602082015261299b604084016123bb565b60408201526129ac606084016123bb565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e082015261010080840151838111156129ed57600080fd5b6129f988828701612222565b8284015250506101208084015183811115612a1357600080fd5b612a1f88828701612222565b8284015250506101409150612a3582840161291b565b828201526101609150612a4982840161291b565b82820152610180915081830151828201526101a09150612a6a8284016122c8565b828201526101c09150612a7e8284016122c8565b828201526101e091506125bc8284016122c8565b600060208284031215612aa457600080fd5b81516001600160401b0380821115612abb57600080fd5b908301906101208286031215612ad057600080fd5b612ad8611b92565b825182811115612ae757600080fd5b612af387828601612222565b825250602083015160208201526040830151604082015260608301516060820152612b20608084016122bd565b6080820152612b3160a084016122bd565b60a0820152612b4260c084016123c6565b60c0820152612b5360e084016123c6565b60e08201526101008084015183811115612b6c57600080fd5b612b7888828701612222565b918301919091525095945050505050565b600060208284031215612b9b57600080fd5b81516001600160401b0380821115612bb257600080fd5b9083019060e08286031215612bc657600080fd5b612bce611b48565b612bd78361229b565b8152612be56020840161229b565b6020820152612bf66040840161286c565b6040820152612c07606084016123c6565b6060820152612c18608084016125cb565b608082015261238960a084016125cb56fea2646970667358221220b67639505cc20da02fc4f294b62ab8152d2f2699d03d382f1b0b2b14def2c91964736f6c63430008140033",
1280
+ "bytecode": "0x608060405234801561001057600080fd5b506138e5806100206000396000f3fe608060405234801561001057600080fd5b50600436106101f05760003560e01c80639096a1f31161010f578063c4d66de8116100a2578063de7b5d1411610071578063de7b5d14146105d1578063f0ea17c3146105e7578063f2b246c314610607578063f7f318d31461062757600080fd5b8063c4d66de814610578578063d06458c61461058d578063d4cda0d8146105ad578063dd26287a146105be57600080fd5b8063a5961b4c116100de578063a5961b4c146104a1578063a7ef3d211461050e578063b82d7ef51461052e578063bd7d9d851461055857600080fd5b80639096a1f3146103b457806390af7064146103c75780639ad69c67146103e7578063a310e2a31461047657600080fd5b80634793b4ab1161018757806378ae93501161015657806378ae93501461035b5780637bfd32171461036e5780637e54602a14610381578063887b1fa91461039457600080fd5b80634793b4ab146102e05780635da894021461030057806364eb3a9b1461032557806375d357df1461033857600080fd5b806335898f5d116101c357806335898f5d1461026e57806339bb60cd146102815780633f093cd6146102a157806344aa6836146102cd57600080fd5b80631488c845146101f55780631d3be4771461021b57806325d037431461023b57806327b1d7921461024e575b600080fd5b6102086102033660046120d8565b61063a565b6040519081526020015b60405180910390f35b61022e610229366004612127565b6106c2565b6040516102129190612194565b610208610249366004612245565b61081b565b61026161025c366004612245565b6108b5565b6040516102129190612262565b61020861027c366004612245565b61097f565b61029461028f3660046122cf565b6109ac565b6040516102129190612305565b6102b46102af3660046124c4565b610afe565b6040516001600160c01b03199091168152602001610212565b6102086102db366004612556565b610b7b565b6102f36102ee366004612245565b610bb6565b604051610212919061256f565b61031361030e3660046122cf565b610c5c565b60405160ff9091168152602001610212565b610208610333366004612245565b610d59565b61034b610346366004612245565b610d86565b6040519015158152602001610212565b610313610369366004612662565b611015565b61020861037c366004612245565b611075565b61020861038f366004612245565b6110a2565b6103a76103a2366004612127565b6110cf565b6040516102129190612690565b6103136103c2366004612245565b6111f8565b6103da6103d5366004612245565b611274565b60405161021291906126c6565b6103fa6103f5366004612245565b61131a565b604051610212919081516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b610489610484366004612245565b6113c0565b6040516001600160a01b039091168152602001610212565b6104b46104af366004612556565b61146e565b6040516102129190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61052161051c366004612662565b611502565b6040516102129190612773565b61054161053c366004612127565b611657565b6040805192835260ff909116602083015201610212565b61056b610566366004612245565b6118ff565b6040516102129190612813565b61058b6105863660046129c2565b611a25565b005b6105a061059b366004612127565b611b3e565b60405161021291906129df565b6001546001600160a01b0316610489565b6102086105cc366004612245565b611cb1565b60005461010090046001600160a01b0316610489565b6105fa6105f5366004612245565b611cde565b6040516102129190612a8f565b61061a610615366004612245565b611db3565b6040516102129190612b10565b610208610635366004612245565b611efb565b604051631488c84560e01b815260048101839052600082810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af4158015610695573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b99190612c12565b90505b92915050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590602401602060405180830381865af4158015610769573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078d9190612c12565b6040518263ffffffff1660e01b81526004016107ab91815260200190565b600060405180830381865afa1580156107c8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107f09190810190612c70565b805190915015610815578080602001905181019061080e9190612cef565b9392505050565b50919050565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610891573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bc9190612c12565b6040805160a081018252600080825260208201819052606092820183905291810182905260808101919091526001546000906001600160a01b03166354f6127f6108fe856110a2565b6040518263ffffffff1660e01b815260040161091c91815260200190565b600060405180830381865afa158015610939573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109619190810190612c70565b805190915015610815578080602001905181019061080e9190612de8565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166078610844565b60408051608081018252600080825260208201819052606092820183905291810191909152600154604051635927341160e01b815262ffffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__90635927341190604401602060405180830381865af4158015610a4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6e9190612c12565b6040518263ffffffff1660e01b8152600401610a8c91815260200190565b600060405180830381865afa158015610aa9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ad19190810190612c70565b805190915015610af75780806020019051810190610aef9190612eb0565b9150506106bc565b5092915050565b604051631f849e6b60e11b815260009073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd690610b3a9086908690600401612f6f565b602060405180830381865af4158015610b57573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b99190612f91565b604051632255341b60e11b81526004810182905260009073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401610874565b610bbe611faf565b6001546000906001600160a01b03166354f6127f610bdb85611efb565b6040518263ffffffff1660e01b8152600401610bf991815260200190565b600060405180830381865afa158015610c16573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c3e9190810190612c70565b805190915015610815578080602001905181019061080e9190612fde565b600154604051635927341160e01b815262ffffff831660048201526001600160601b03841660248201526000916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__906359273411906044015b602060405180830381865af4158015610cd6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cfa9190612c12565b6040518263ffffffff1660e01b8152600401610d1891815260200190565b602060405180830381865afa158015610d35573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b991906130f4565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660d3610844565b600080610d92836118ff565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015610df0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e149190613111565b15610e225750600092915050565b6101c081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015610e7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea39190613111565b15610eb15750600092915050565b610200810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af4158015610f0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f329190613111565b15610f405750600092915050565b61016081015161ffff1615610f585750600092915050565b610f6b8161018001518260800151611f28565b15610f795750600192915050565b610ffe73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610fc5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe9919061312c565b826101e0015164ffffffffff90811691161090565b1561100c5750600092915050565b50600192915050565b600154604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201526000916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401610cb9565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416606e610844565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416607a610844565b6040805180820190915260008152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590602401602060405180830381865af4158015611153573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111779190612c12565b6040518263ffffffff1660e01b815260040161119591815260200190565b600060405180830381865afa1580156111b2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111da9190810190612c70565b805190915015610815578080602001905181019061080e9190613149565b6001546000906001600160a01b03166309648a9d61121584610d59565b6040518263ffffffff1660e01b815260040161123391815260200190565b602060405180830381865afa158015611250573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bc91906130f4565b61127c612020565b6001546000906001600160a01b03166354f6127f61129985611075565b6040518263ffffffff1660e01b81526004016112b791815260200190565b600060405180830381865afa1580156112d4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112fc9190810190612c70565b805190915015610815578080602001905181019061080e91906131d3565b611322612090565b6001546000906001600160a01b03166354f6127f61133f8561097f565b6040518263ffffffff1660e01b815260040161135d91815260200190565b600060405180830381865afa15801561137a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113a29190810190612c70565b805190915015610815578080602001905181019061080e919061327b565b60015460009081906001600160a01b03166354f6127f6113df8561081b565b6040518263ffffffff1660e01b81526004016113fd91815260200190565b600060405180830381865afa15801561141a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526114429190810190612c70565b80519091501561081557600081806020019051810190611462919061331c565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa1580156114de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bc91906133ed565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820181905260a082015260c0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af41580156115b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115d69190612c12565b6040518263ffffffff1660e01b81526004016115f491815260200190565b600060405180830381865afa158015611611573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116399190810190612c70565b805190915015610af75780806020019051810190610aef9190613467565b6000806000611665846106c2565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af41580156116c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116e89190613111565b156117675773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611736573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061175a9190612c12565b60645b9250925050915091565b6117eb8160a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156117b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117dc919061312c565b64ffffffffff90811691161090565b156118645773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611839573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061185d9190612c12565b606e61175d565b806060015163ffffffff16816080015163ffffffff16106118f35773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156118c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118ec9190612c12565b607861175d565b6040810151600a61175d565b604080516102208101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e081018290526102008101919091526001546000906001600160a01b03166354f6127f6119a485610d59565b6040518263ffffffff1660e01b81526004016119c291815260200190565b600060405180830381865afa1580156119df573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a079190810190612c70565b805190915015610815578080602001905181019061080e919061354c565b60005460ff1615611a495760405163ae9eff1b60e01b815260040160405180910390fd5b6001600160a01b038116611a7057604051630cc51a5560e21b815260040160405180910390fd5b80600060016101000a8154816001600160a01b0302191690836001600160a01b03160217905550600060019054906101000a90046001600160a01b03166001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611aea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b0e91906136e8565b600180546001600160a01b0319166001600160a01b03929092169190911781556000805460ff1916909117905550565b611b9d60405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590602401602060405180830381865af4158015611c0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c309190612c12565b6040518263ffffffff1660e01b8152600401611c4e91815260200190565b600060405180830381865afa158015611c6b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611c939190810190612c70565b805190915015610815578080602001905181019061080e9190613705565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416608c610844565b6040805160e08101825260608082526000602083018190529282018390528082018390526080820183905260a0820183905260c08201526001549091906001600160a01b03166354f6127f611d3285611cb1565b6040518263ffffffff1660e01b8152600401611d5091815260200190565b600060405180830381865afa158015611d6d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d959190810190612c70565b805190915015610815578080602001905181019061080e91906137fc565b611e5d604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6001546000906001600160a01b03166354f6127f611e7a8561081b565b6040518263ffffffff1660e01b8152600401611e9891815260200190565b600060405180830381865afa158015611eb5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611edd9190810190612c70565b805190915015610815578080602001905181019061080e919061331c565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660dc610844565b60405163c4cade9d60e01b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af4158015611f8b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b99190613111565b60405180610120016040528060006001600160601b03168152602001611fe8604051806040016040528060008152602001600081525090565b81526060602082018190526000604083018190529082018190526080820181905260a0820181905260c0820181905260e09091015290565b6040805161010081018252600080825260208083018290528284018290526060830182905283518085019094528184528301529060808201905b815260200161207c604051806040016040528060008152602001600081525090565b815260006020820181905260409091015290565b6040518060c0016040528060006001600160601b0316815260200160006001600160a01b0316815260200161205a604051806040016040528060008152602001600081525090565b600080604083850312156120eb57600080fd5b8235915060208301358060000b811461210357600080fd5b809150509250929050565b6001600160c01b03198116811461212457600080fd5b50565b60006020828403121561213957600080fd5b813561080e8161210e565b60005b8381101561215f578181015183820152602001612147565b50506000910152565b60008151808452612180816020860160208601612144565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e060408401526121c4610100840182612168565b90506040840151606084015263ffffffff606085015116608084015260808401516121f760a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e08501526122278282612168565b95945050505050565b6001600160601b038116811461212457600080fd5b60006020828403121561225757600080fd5b813561080e81612230565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a060608401526122a060c0840182612168565b90506001600160601b03606085015116608084015263ffffffff60808501511660a08401528091505092915050565b600080604083850312156122e257600080fd5b82356122ed81612230565b9150602083013562ffffff8116811461210357600080fd5b6020815261ffff82511660208201526001600160601b036020830151166040820152600060408301516080606084015261234260a0840182612168565b905064ffffffffff60608501511660808401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156123975761239761235f565b60405290565b60405160a081016001600160401b03811182821017156123975761239761235f565b604080519081016001600160401b03811182821017156123975761239761235f565b60405161012081016001600160401b03811182821017156123975761239761235f565b60405161010081016001600160401b03811182821017156123975761239761235f565b60405161014081016001600160401b03811182821017156123975761239761235f565b60405161022081016001600160401b03811182821017156123975761239761235f565b604051601f8201601f191681016001600160401b03811182821017156124955761249561235f565b604052919050565b60006001600160401b038211156124b6576124b661235f565b50601f01601f191660200190565b600080604083850312156124d757600080fd5b82356124e281612230565b915060208301356001600160401b038111156124fd57600080fd5b8301601f8101851361250e57600080fd5b803561252161251c8261249d565b61246d565b81815286602083850101111561253657600080fd5b816020840160208301376000602083830101528093505050509250929050565b60006020828403121561256857600080fd5b5035919050565b602081526125896020820183516001600160601b03169052565b600060208301516125a7604084018280518252602090810151910152565b5060408301516101408060808501526125c4610160850183612168565b915060608501516125e060a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c08501516101006126258187018364ffffffffff169052565b60e087015164ffffffffff811661012088015291505b9095015164ffffffffff1693019290925250919050565b61ffff8116811461212457600080fd5b6000806040838503121561267557600080fd5b823561268081612230565b9150602083013561210381612652565b602081526001600160601b038251166020820152600060208301516040808401526126be6060840182612168565b949350505050565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b031690820152606080830151610140830191612715908401826001600160601b03169052565b506080830151612732608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b038116610120840152610af7565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301516127b8608084018260ff169052565b50608083015160e060a08401526127d3610100840182612168565b905060a0840151601f198483030160c08501526127f08282612168565b91505060c084015161280b60e085018264ffffffffff169052565b509392505050565b6020815261282d6020820183516001600160601b03169052565b6000602083015161284960408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e08301516101006128cf8185018364ffffffffff169052565b8085015191505061022061012081818601526128ef610240860184612168565b9250808601519050610140601f19868503018187015261290f8483612168565b93508087015191505061016061292a8187018361ffff169052565b86015190506101806129418682018361ffff169052565b86015190506101a061295d868201836001600160601b03169052565b86015190506101c0612979868201836001600160601b03169052565b86015190506101e06129938682018364ffffffffff169052565b860151905061020061263b8682018364ffffffffff169052565b6001600160a01b038116811461212457600080fd5b6000602082840312156129d457600080fd5b813561080e816129ad565b60208152600082516101208060208501526129fe610140850183612168565b91506020850151604085015260408501516060850152606085015160808501526080850151612a3560a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e0850151610100612a6b8187018315159052565b860151858403601f1901838701529050612a858382612168565b9695505050505050565b602081526000825160e06020840152612aac610100840182612168565b9050602084015160018060a01b03808216604086015280604087015116606086015280606087015116608086015250506080840151612af660a08501826001600160601b03169052565b5060a08401516001600160601b03811660c085015261220b565b81516001600160a01b0316815261020081016020830151612b3c60208401826001600160a01b03169052565b506040830151612b5760408401826001600160601b03169052565b506060830151612b7260608401826001600160601b03169052565b506080830151612b8f608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c0830151610100612bc58185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e08501529050610af7565b600060208284031215612c2457600080fd5b5051919050565b600082601f830112612c3c57600080fd5b8151612c4a61251c8261249d565b818152846020838601011115612c5f57600080fd5b6126be826020830160208701612144565b600060208284031215612c8257600080fd5b81516001600160401b03811115612c9857600080fd5b6126be84828501612c2b565b8051612caf81612230565b919050565b63ffffffff8116811461212457600080fd5b8051612caf81612cb4565b64ffffffffff8116811461212457600080fd5b8051612caf81612cd1565b600060208284031215612d0157600080fd5b81516001600160401b0380821115612d1857600080fd5b9083019060e08286031215612d2c57600080fd5b612d34612375565b612d3d83612ca4565b8152602083015182811115612d5157600080fd5b612d5d87828601612c2b565b60208301525060408301516040820152612d7960608401612cc6565b6060820152612d8a60808401612cc6565b6080820152612d9b60a08401612ce4565b60a082015260c083015182811115612db257600080fd5b612dbe87828601612c2b565b60c08301525095945050505050565b8051612caf8161210e565b80518015158114612caf57600080fd5b600060208284031215612dfa57600080fd5b81516001600160401b0380821115612e1157600080fd5b9083019060a08286031215612e2557600080fd5b612e2d61239d565b8251612e388161210e565b8152612e4660208401612dd8565b6020820152604083015182811115612e5d57600080fd5b612e6987828601612c2b565b60408301525060608301519150612e7f82612230565b81606082015260808301519250612e9583612cb4565b6080810192909252509392505050565b8051612caf81612652565b600060208284031215612ec257600080fd5b81516001600160401b0380821115612ed957600080fd5b9083019060808286031215612eed57600080fd5b604051608081018181108382111715612f0857612f0861235f565b6040528251612f1681612652565b81526020830151612f2681612230565b6020820152604083015182811115612f3d57600080fd5b612f4987828601612c2b565b60408301525060608301519250612f5f83612cd1565b6060810192909252509392505050565b6001600160601b03831681526040602082015260006126be6040830184612168565b600060208284031215612fa357600080fd5b815161080e8161210e565b600060408284031215612fc057600080fd5b612fc86123bf565b9050815181526020820151602082015292915050565b600060208284031215612ff057600080fd5b81516001600160401b038082111561300757600080fd5b90830190610140828603121561301c57600080fd5b6130246123e1565b61302d83612ca4565b815261303c8660208501612fae565b602082015260608301518281111561305357600080fd5b61305f87828601612c2b565b60408301525061307160808401612ca4565b606082015261308260a08401612ca4565b608082015261309360c08401612ca4565b60a08201526130a460e08401612ce4565b60c082015261010091506130b9828401612ce4565b60e08201526130cb6101208401612ce4565b91810191909152949350505050565b60ff8116811461212457600080fd5b8051612caf816130da565b60006020828403121561310657600080fd5b815161080e816130da565b60006020828403121561312357600080fd5b6106b982612dd8565b60006020828403121561313e57600080fd5b815161080e81612cd1565b60006020828403121561315b57600080fd5b81516001600160401b038082111561317257600080fd5b908301906040828603121561318657600080fd5b61318e6123bf565b825161319981612230565b81526020830151828111156131ad57600080fd5b6131b987828601612c2b565b60208301525095945050505050565b8051612caf816129ad565b600061014082840312156131e657600080fd5b6131ee612404565b6131f7836131c8565b8152613205602084016131c8565b602082015261321660408401612ca4565b604082015261322760608401612ca4565b60608201526132398460808501612fae565b608082015261324b8460c08501612fae565b60a082015261325d6101008401612dd8565b60c082015261326f61012084016131c8565b60e08201529392505050565b6000610100828403121561328e57600080fd5b60405160c081018181106001600160401b03821117156132b0576132b061235f565b60405282516132be81612230565b815260208301516132ce816129ad565b60208201526132e08460408501612fae565b60408201526132f28460808501612fae565b606082015260c0830151613305816129ad565b608082015260e0929092015160a083015250919050565b6000610200828403121561332f57600080fd5b613337612427565b613340836131c8565b815261334e602084016131c8565b602082015261335f60408401612ca4565b604082015261337060608401612ca4565b60608201526133828460808501612fae565b60808201526133948460c08501612fae565b60a08201526101006133a885828601612fae565b60c08301526133bb856101408601612fae565b60e08301526133ce856101808601612fae565b908201526133e0846101c08501612fae565b6101208201529392505050565b600060a082840312156133ff57600080fd5b61340761239d565b8251613412816130da565b81526020830151613422816130da565b60208201526040830151613435816129ad565b6040820152606083015161344881612cb4565b6060820152608083015161345b81612cb4565b60808201529392505050565b60006020828403121561347957600080fd5b81516001600160401b038082111561349057600080fd5b9083019060e082860312156134a457600080fd5b6134ac612375565b6134b583612ca4565b81526134c360208401612ca4565b60208201526134d4604084016130e9565b60408201526134e5606084016130e9565b60608201526080830151828111156134fc57600080fd5b61350887828601612c2b565b60808301525060a08301518281111561352057600080fd5b61352c87828601612c2b565b60a08301525061353e60c08401612ce4565b60c082015295945050505050565b60006020828403121561355e57600080fd5b81516001600160401b038082111561357557600080fd5b90830190610220828603121561358a57600080fd5b61359261244a565b61359b83612ca4565b81526135a960208401612ca4565b60208201526135ba60408401612dcd565b60408201526135cb60608401612dcd565b60608201526135dc60808401612ca4565b60808201526135ed60a08401612ca4565b60a08201526135fe60c08401612ca4565b60c082015261360f60e08401612ce4565b60e0820152610100808401518381111561362857600080fd5b61363488828701612c2b565b828401525050610120808401518381111561364e57600080fd5b61365a88828701612c2b565b8284015250506101409150613670828401612ea5565b828201526101609150613684828401612ea5565b828201526101809150613698828401612ca4565b828201526101a091506136ac828401612ca4565b828201526101c091506136c0828401612ce4565b828201526101e091506136d4828401612ce4565b8282015261020091506130cb828401612ce4565b6000602082840312156136fa57600080fd5b815161080e816129ad565b60006020828403121561371757600080fd5b81516001600160401b038082111561372e57600080fd5b90830190610120828603121561374357600080fd5b61374b6123e1565b82518281111561375a57600080fd5b61376687828601612c2b565b82525060208301516020820152604083015160408201526060830151606082015261379360808401612cc6565b60808201526137a460a08401612cc6565b60a08201526137b560c08401612dd8565b60c08201526137c660e08401612dd8565b60e082015261010080840151838111156137df57600080fd5b6137eb88828701612c2b565b918301919091525095945050505050565b60006020828403121561380e57600080fd5b81516001600160401b038082111561382557600080fd5b9083019060e0828603121561383957600080fd5b613841612375565b82518281111561385057600080fd5b61385c87828601612c2b565b82525061386b602084016131c8565b602082015261387c604084016131c8565b604082015261388d606084016131c8565b606082015261389e60808401612ca4565b6080820152612d9b60a08401612ca456fea2646970667358221220bc5603a680734f390266a28dc6e76318336f9f3e4f43eef4fbbe83f4bcf929a564736f6c63430008140033",
1281
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101f05760003560e01c80639096a1f31161010f578063c4d66de8116100a2578063de7b5d1411610071578063de7b5d14146105d1578063f0ea17c3146105e7578063f2b246c314610607578063f7f318d31461062757600080fd5b8063c4d66de814610578578063d06458c61461058d578063d4cda0d8146105ad578063dd26287a146105be57600080fd5b8063a5961b4c116100de578063a5961b4c146104a1578063a7ef3d211461050e578063b82d7ef51461052e578063bd7d9d851461055857600080fd5b80639096a1f3146103b457806390af7064146103c75780639ad69c67146103e7578063a310e2a31461047657600080fd5b80634793b4ab1161018757806378ae93501161015657806378ae93501461035b5780637bfd32171461036e5780637e54602a14610381578063887b1fa91461039457600080fd5b80634793b4ab146102e05780635da894021461030057806364eb3a9b1461032557806375d357df1461033857600080fd5b806335898f5d116101c357806335898f5d1461026e57806339bb60cd146102815780633f093cd6146102a157806344aa6836146102cd57600080fd5b80631488c845146101f55780631d3be4771461021b57806325d037431461023b57806327b1d7921461024e575b600080fd5b6102086102033660046120d8565b61063a565b6040519081526020015b60405180910390f35b61022e610229366004612127565b6106c2565b6040516102129190612194565b610208610249366004612245565b61081b565b61026161025c366004612245565b6108b5565b6040516102129190612262565b61020861027c366004612245565b61097f565b61029461028f3660046122cf565b6109ac565b6040516102129190612305565b6102b46102af3660046124c4565b610afe565b6040516001600160c01b03199091168152602001610212565b6102086102db366004612556565b610b7b565b6102f36102ee366004612245565b610bb6565b604051610212919061256f565b61031361030e3660046122cf565b610c5c565b60405160ff9091168152602001610212565b610208610333366004612245565b610d59565b61034b610346366004612245565b610d86565b6040519015158152602001610212565b610313610369366004612662565b611015565b61020861037c366004612245565b611075565b61020861038f366004612245565b6110a2565b6103a76103a2366004612127565b6110cf565b6040516102129190612690565b6103136103c2366004612245565b6111f8565b6103da6103d5366004612245565b611274565b60405161021291906126c6565b6103fa6103f5366004612245565b61131a565b604051610212919081516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b610489610484366004612245565b6113c0565b6040516001600160a01b039091168152602001610212565b6104b46104af366004612556565b61146e565b6040516102129190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61052161051c366004612662565b611502565b6040516102129190612773565b61054161053c366004612127565b611657565b6040805192835260ff909116602083015201610212565b61056b610566366004612245565b6118ff565b6040516102129190612813565b61058b6105863660046129c2565b611a25565b005b6105a061059b366004612127565b611b3e565b60405161021291906129df565b6001546001600160a01b0316610489565b6102086105cc366004612245565b611cb1565b60005461010090046001600160a01b0316610489565b6105fa6105f5366004612245565b611cde565b6040516102129190612a8f565b61061a610615366004612245565b611db3565b6040516102129190612b10565b610208610635366004612245565b611efb565b604051631488c84560e01b815260048101839052600082810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af4158015610695573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b99190612c12565b90505b92915050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590602401602060405180830381865af4158015610769573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078d9190612c12565b6040518263ffffffff1660e01b81526004016107ab91815260200190565b600060405180830381865afa1580156107c8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107f09190810190612c70565b805190915015610815578080602001905181019061080e9190612cef565b9392505050565b50919050565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610891573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bc9190612c12565b6040805160a081018252600080825260208201819052606092820183905291810182905260808101919091526001546000906001600160a01b03166354f6127f6108fe856110a2565b6040518263ffffffff1660e01b815260040161091c91815260200190565b600060405180830381865afa158015610939573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109619190810190612c70565b805190915015610815578080602001905181019061080e9190612de8565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166078610844565b60408051608081018252600080825260208201819052606092820183905291810191909152600154604051635927341160e01b815262ffffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__90635927341190604401602060405180830381865af4158015610a4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6e9190612c12565b6040518263ffffffff1660e01b8152600401610a8c91815260200190565b600060405180830381865afa158015610aa9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ad19190810190612c70565b805190915015610af75780806020019051810190610aef9190612eb0565b9150506106bc565b5092915050565b604051631f849e6b60e11b815260009073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd690610b3a9086908690600401612f6f565b602060405180830381865af4158015610b57573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b99190612f91565b604051632255341b60e11b81526004810182905260009073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401610874565b610bbe611faf565b6001546000906001600160a01b03166354f6127f610bdb85611efb565b6040518263ffffffff1660e01b8152600401610bf991815260200190565b600060405180830381865afa158015610c16573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c3e9190810190612c70565b805190915015610815578080602001905181019061080e9190612fde565b600154604051635927341160e01b815262ffffff831660048201526001600160601b03841660248201526000916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__906359273411906044015b602060405180830381865af4158015610cd6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cfa9190612c12565b6040518263ffffffff1660e01b8152600401610d1891815260200190565b602060405180830381865afa158015610d35573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b991906130f4565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660d3610844565b600080610d92836118ff565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015610df0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e149190613111565b15610e225750600092915050565b6101c081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015610e7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea39190613111565b15610eb15750600092915050565b610200810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af4158015610f0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f329190613111565b15610f405750600092915050565b61016081015161ffff1615610f585750600092915050565b610f6b8161018001518260800151611f28565b15610f795750600192915050565b610ffe73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610fc5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe9919061312c565b826101e0015164ffffffffff90811691161090565b1561100c5750600092915050565b50600192915050565b600154604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201526000916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401610cb9565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416606e610844565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416607a610844565b6040805180820190915260008152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590602401602060405180830381865af4158015611153573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111779190612c12565b6040518263ffffffff1660e01b815260040161119591815260200190565b600060405180830381865afa1580156111b2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111da9190810190612c70565b805190915015610815578080602001905181019061080e9190613149565b6001546000906001600160a01b03166309648a9d61121584610d59565b6040518263ffffffff1660e01b815260040161123391815260200190565b602060405180830381865afa158015611250573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bc91906130f4565b61127c612020565b6001546000906001600160a01b03166354f6127f61129985611075565b6040518263ffffffff1660e01b81526004016112b791815260200190565b600060405180830381865afa1580156112d4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112fc9190810190612c70565b805190915015610815578080602001905181019061080e91906131d3565b611322612090565b6001546000906001600160a01b03166354f6127f61133f8561097f565b6040518263ffffffff1660e01b815260040161135d91815260200190565b600060405180830381865afa15801561137a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113a29190810190612c70565b805190915015610815578080602001905181019061080e919061327b565b60015460009081906001600160a01b03166354f6127f6113df8561081b565b6040518263ffffffff1660e01b81526004016113fd91815260200190565b600060405180830381865afa15801561141a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526114429190810190612c70565b80519091501561081557600081806020019051810190611462919061331c565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa1580156114de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bc91906133ed565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820181905260a082015260c0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af41580156115b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115d69190612c12565b6040518263ffffffff1660e01b81526004016115f491815260200190565b600060405180830381865afa158015611611573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116399190810190612c70565b805190915015610af75780806020019051810190610aef9190613467565b6000806000611665846106c2565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af41580156116c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116e89190613111565b156117675773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611736573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061175a9190612c12565b60645b9250925050915091565b6117eb8160a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156117b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117dc919061312c565b64ffffffffff90811691161090565b156118645773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611839573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061185d9190612c12565b606e61175d565b806060015163ffffffff16816080015163ffffffff16106118f35773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156118c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118ec9190612c12565b607861175d565b6040810151600a61175d565b604080516102208101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e081018290526102008101919091526001546000906001600160a01b03166354f6127f6119a485610d59565b6040518263ffffffff1660e01b81526004016119c291815260200190565b600060405180830381865afa1580156119df573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a079190810190612c70565b805190915015610815578080602001905181019061080e919061354c565b60005460ff1615611a495760405163ae9eff1b60e01b815260040160405180910390fd5b6001600160a01b038116611a7057604051630cc51a5560e21b815260040160405180910390fd5b80600060016101000a8154816001600160a01b0302191690836001600160a01b03160217905550600060019054906101000a90046001600160a01b03166001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611aea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b0e91906136e8565b600180546001600160a01b0319166001600160a01b03929092169190911781556000805460ff1916909117905550565b611b9d60405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590602401602060405180830381865af4158015611c0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c309190612c12565b6040518263ffffffff1660e01b8152600401611c4e91815260200190565b600060405180830381865afa158015611c6b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611c939190810190612c70565b805190915015610815578080602001905181019061080e9190613705565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416608c610844565b6040805160e08101825260608082526000602083018190529282018390528082018390526080820183905260a0820183905260c08201526001549091906001600160a01b03166354f6127f611d3285611cb1565b6040518263ffffffff1660e01b8152600401611d5091815260200190565b600060405180830381865afa158015611d6d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d959190810190612c70565b805190915015610815578080602001905181019061080e91906137fc565b611e5d604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6001546000906001600160a01b03166354f6127f611e7a8561081b565b6040518263ffffffff1660e01b8152600401611e9891815260200190565b600060405180830381865afa158015611eb5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611edd9190810190612c70565b805190915015610815578080602001905181019061080e919061331c565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660dc610844565b60405163c4cade9d60e01b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af4158015611f8b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b99190613111565b60405180610120016040528060006001600160601b03168152602001611fe8604051806040016040528060008152602001600081525090565b81526060602082018190526000604083018190529082018190526080820181905260a0820181905260c0820181905260e09091015290565b6040805161010081018252600080825260208083018290528284018290526060830182905283518085019094528184528301529060808201905b815260200161207c604051806040016040528060008152602001600081525090565b815260006020820181905260409091015290565b6040518060c0016040528060006001600160601b0316815260200160006001600160a01b0316815260200161205a604051806040016040528060008152602001600081525090565b600080604083850312156120eb57600080fd5b8235915060208301358060000b811461210357600080fd5b809150509250929050565b6001600160c01b03198116811461212457600080fd5b50565b60006020828403121561213957600080fd5b813561080e8161210e565b60005b8381101561215f578181015183820152602001612147565b50506000910152565b60008151808452612180816020860160208601612144565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e060408401526121c4610100840182612168565b90506040840151606084015263ffffffff606085015116608084015260808401516121f760a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e08501526122278282612168565b95945050505050565b6001600160601b038116811461212457600080fd5b60006020828403121561225757600080fd5b813561080e81612230565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a060608401526122a060c0840182612168565b90506001600160601b03606085015116608084015263ffffffff60808501511660a08401528091505092915050565b600080604083850312156122e257600080fd5b82356122ed81612230565b9150602083013562ffffff8116811461210357600080fd5b6020815261ffff82511660208201526001600160601b036020830151166040820152600060408301516080606084015261234260a0840182612168565b905064ffffffffff60608501511660808401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156123975761239761235f565b60405290565b60405160a081016001600160401b03811182821017156123975761239761235f565b604080519081016001600160401b03811182821017156123975761239761235f565b60405161012081016001600160401b03811182821017156123975761239761235f565b60405161010081016001600160401b03811182821017156123975761239761235f565b60405161014081016001600160401b03811182821017156123975761239761235f565b60405161022081016001600160401b03811182821017156123975761239761235f565b604051601f8201601f191681016001600160401b03811182821017156124955761249561235f565b604052919050565b60006001600160401b038211156124b6576124b661235f565b50601f01601f191660200190565b600080604083850312156124d757600080fd5b82356124e281612230565b915060208301356001600160401b038111156124fd57600080fd5b8301601f8101851361250e57600080fd5b803561252161251c8261249d565b61246d565b81815286602083850101111561253657600080fd5b816020840160208301376000602083830101528093505050509250929050565b60006020828403121561256857600080fd5b5035919050565b602081526125896020820183516001600160601b03169052565b600060208301516125a7604084018280518252602090810151910152565b5060408301516101408060808501526125c4610160850183612168565b915060608501516125e060a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c08501516101006126258187018364ffffffffff169052565b60e087015164ffffffffff811661012088015291505b9095015164ffffffffff1693019290925250919050565b61ffff8116811461212457600080fd5b6000806040838503121561267557600080fd5b823561268081612230565b9150602083013561210381612652565b602081526001600160601b038251166020820152600060208301516040808401526126be6060840182612168565b949350505050565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b031690820152606080830151610140830191612715908401826001600160601b03169052565b506080830151612732608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b038116610120840152610af7565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301516127b8608084018260ff169052565b50608083015160e060a08401526127d3610100840182612168565b905060a0840151601f198483030160c08501526127f08282612168565b91505060c084015161280b60e085018264ffffffffff169052565b509392505050565b6020815261282d6020820183516001600160601b03169052565b6000602083015161284960408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e08301516101006128cf8185018364ffffffffff169052565b8085015191505061022061012081818601526128ef610240860184612168565b9250808601519050610140601f19868503018187015261290f8483612168565b93508087015191505061016061292a8187018361ffff169052565b86015190506101806129418682018361ffff169052565b86015190506101a061295d868201836001600160601b03169052565b86015190506101c0612979868201836001600160601b03169052565b86015190506101e06129938682018364ffffffffff169052565b860151905061020061263b8682018364ffffffffff169052565b6001600160a01b038116811461212457600080fd5b6000602082840312156129d457600080fd5b813561080e816129ad565b60208152600082516101208060208501526129fe610140850183612168565b91506020850151604085015260408501516060850152606085015160808501526080850151612a3560a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e0850151610100612a6b8187018315159052565b860151858403601f1901838701529050612a858382612168565b9695505050505050565b602081526000825160e06020840152612aac610100840182612168565b9050602084015160018060a01b03808216604086015280604087015116606086015280606087015116608086015250506080840151612af660a08501826001600160601b03169052565b5060a08401516001600160601b03811660c085015261220b565b81516001600160a01b0316815261020081016020830151612b3c60208401826001600160a01b03169052565b506040830151612b5760408401826001600160601b03169052565b506060830151612b7260608401826001600160601b03169052565b506080830151612b8f608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c0830151610100612bc58185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e08501529050610af7565b600060208284031215612c2457600080fd5b5051919050565b600082601f830112612c3c57600080fd5b8151612c4a61251c8261249d565b818152846020838601011115612c5f57600080fd5b6126be826020830160208701612144565b600060208284031215612c8257600080fd5b81516001600160401b03811115612c9857600080fd5b6126be84828501612c2b565b8051612caf81612230565b919050565b63ffffffff8116811461212457600080fd5b8051612caf81612cb4565b64ffffffffff8116811461212457600080fd5b8051612caf81612cd1565b600060208284031215612d0157600080fd5b81516001600160401b0380821115612d1857600080fd5b9083019060e08286031215612d2c57600080fd5b612d34612375565b612d3d83612ca4565b8152602083015182811115612d5157600080fd5b612d5d87828601612c2b565b60208301525060408301516040820152612d7960608401612cc6565b6060820152612d8a60808401612cc6565b6080820152612d9b60a08401612ce4565b60a082015260c083015182811115612db257600080fd5b612dbe87828601612c2b565b60c08301525095945050505050565b8051612caf8161210e565b80518015158114612caf57600080fd5b600060208284031215612dfa57600080fd5b81516001600160401b0380821115612e1157600080fd5b9083019060a08286031215612e2557600080fd5b612e2d61239d565b8251612e388161210e565b8152612e4660208401612dd8565b6020820152604083015182811115612e5d57600080fd5b612e6987828601612c2b565b60408301525060608301519150612e7f82612230565b81606082015260808301519250612e9583612cb4565b6080810192909252509392505050565b8051612caf81612652565b600060208284031215612ec257600080fd5b81516001600160401b0380821115612ed957600080fd5b9083019060808286031215612eed57600080fd5b604051608081018181108382111715612f0857612f0861235f565b6040528251612f1681612652565b81526020830151612f2681612230565b6020820152604083015182811115612f3d57600080fd5b612f4987828601612c2b565b60408301525060608301519250612f5f83612cd1565b6060810192909252509392505050565b6001600160601b03831681526040602082015260006126be6040830184612168565b600060208284031215612fa357600080fd5b815161080e8161210e565b600060408284031215612fc057600080fd5b612fc86123bf565b9050815181526020820151602082015292915050565b600060208284031215612ff057600080fd5b81516001600160401b038082111561300757600080fd5b90830190610140828603121561301c57600080fd5b6130246123e1565b61302d83612ca4565b815261303c8660208501612fae565b602082015260608301518281111561305357600080fd5b61305f87828601612c2b565b60408301525061307160808401612ca4565b606082015261308260a08401612ca4565b608082015261309360c08401612ca4565b60a08201526130a460e08401612ce4565b60c082015261010091506130b9828401612ce4565b60e08201526130cb6101208401612ce4565b91810191909152949350505050565b60ff8116811461212457600080fd5b8051612caf816130da565b60006020828403121561310657600080fd5b815161080e816130da565b60006020828403121561312357600080fd5b6106b982612dd8565b60006020828403121561313e57600080fd5b815161080e81612cd1565b60006020828403121561315b57600080fd5b81516001600160401b038082111561317257600080fd5b908301906040828603121561318657600080fd5b61318e6123bf565b825161319981612230565b81526020830151828111156131ad57600080fd5b6131b987828601612c2b565b60208301525095945050505050565b8051612caf816129ad565b600061014082840312156131e657600080fd5b6131ee612404565b6131f7836131c8565b8152613205602084016131c8565b602082015261321660408401612ca4565b604082015261322760608401612ca4565b60608201526132398460808501612fae565b608082015261324b8460c08501612fae565b60a082015261325d6101008401612dd8565b60c082015261326f61012084016131c8565b60e08201529392505050565b6000610100828403121561328e57600080fd5b60405160c081018181106001600160401b03821117156132b0576132b061235f565b60405282516132be81612230565b815260208301516132ce816129ad565b60208201526132e08460408501612fae565b60408201526132f28460808501612fae565b606082015260c0830151613305816129ad565b608082015260e0929092015160a083015250919050565b6000610200828403121561332f57600080fd5b613337612427565b613340836131c8565b815261334e602084016131c8565b602082015261335f60408401612ca4565b604082015261337060608401612ca4565b60608201526133828460808501612fae565b60808201526133948460c08501612fae565b60a08201526101006133a885828601612fae565b60c08301526133bb856101408601612fae565b60e08301526133ce856101808601612fae565b908201526133e0846101c08501612fae565b6101208201529392505050565b600060a082840312156133ff57600080fd5b61340761239d565b8251613412816130da565b81526020830151613422816130da565b60208201526040830151613435816129ad565b6040820152606083015161344881612cb4565b6060820152608083015161345b81612cb4565b60808201529392505050565b60006020828403121561347957600080fd5b81516001600160401b038082111561349057600080fd5b9083019060e082860312156134a457600080fd5b6134ac612375565b6134b583612ca4565b81526134c360208401612ca4565b60208201526134d4604084016130e9565b60408201526134e5606084016130e9565b60608201526080830151828111156134fc57600080fd5b61350887828601612c2b565b60808301525060a08301518281111561352057600080fd5b61352c87828601612c2b565b60a08301525061353e60c08401612ce4565b60c082015295945050505050565b60006020828403121561355e57600080fd5b81516001600160401b038082111561357557600080fd5b90830190610220828603121561358a57600080fd5b61359261244a565b61359b83612ca4565b81526135a960208401612ca4565b60208201526135ba60408401612dcd565b60408201526135cb60608401612dcd565b60608201526135dc60808401612ca4565b60808201526135ed60a08401612ca4565b60a08201526135fe60c08401612ca4565b60c082015261360f60e08401612ce4565b60e0820152610100808401518381111561362857600080fd5b61363488828701612c2b565b828401525050610120808401518381111561364e57600080fd5b61365a88828701612c2b565b8284015250506101409150613670828401612ea5565b828201526101609150613684828401612ea5565b828201526101809150613698828401612ca4565b828201526101a091506136ac828401612ca4565b828201526101c091506136c0828401612ce4565b828201526101e091506136d4828401612ce4565b8282015261020091506130cb828401612ce4565b6000602082840312156136fa57600080fd5b815161080e816129ad565b60006020828403121561371757600080fd5b81516001600160401b038082111561372e57600080fd5b90830190610120828603121561374357600080fd5b61374b6123e1565b82518281111561375a57600080fd5b61376687828601612c2b565b82525060208301516020820152604083015160408201526060830151606082015261379360808401612cc6565b60808201526137a460a08401612cc6565b60a08201526137b560c08401612dd8565b60c08201526137c660e08401612dd8565b60e082015261010080840151838111156137df57600080fd5b6137eb88828701612c2b565b918301919091525095945050505050565b60006020828403121561380e57600080fd5b81516001600160401b038082111561382557600080fd5b9083019060e0828603121561383957600080fd5b613841612375565b82518281111561385057600080fd5b61385c87828601612c2b565b82525061386b602084016131c8565b602082015261387c604084016131c8565b604082015261388d606084016131c8565b606082015261389e60808401612ca4565b6080820152612d9b60a08401612ca456fea2646970667358221220bc5603a680734f390266a28dc6e76318336f9f3e4f43eef4fbbe83f4bcf929a564736f6c63430008140033",
1180
1282
  "linkReferences": {
1181
- "contracts/types/DistributorType.sol": {
1283
+ "contracts/type/Amount.sol": {
1284
+ "AmountLib": [
1285
+ {
1286
+ "length": 20,
1287
+ "start": 8049
1288
+ }
1289
+ ]
1290
+ },
1291
+ "contracts/type/ClaimId.sol": {
1292
+ "ClaimIdLib": [
1293
+ {
1294
+ "length": 20,
1295
+ "start": 4211
1296
+ },
1297
+ {
1298
+ "length": 20,
1299
+ "start": 5528
1300
+ }
1301
+ ]
1302
+ },
1303
+ "contracts/type/DistributorType.sol": {
1182
1304
  "DistributorTypeLib": [
1183
1305
  {
1184
1306
  "length": 20,
1185
- "start": 6459
1307
+ "start": 7154
1186
1308
  }
1187
1309
  ]
1188
1310
  },
1189
- "contracts/types/NftId.sol": {
1311
+ "contracts/type/NftId.sol": {
1190
1312
  "NftIdLib": [
1191
1313
  {
1192
1314
  "length": 20,
1193
- "start": 289
1315
+ "start": 2111
1194
1316
  },
1195
1317
  {
1196
1318
  "length": 20,
1197
- "start": 3362
1319
+ "start": 2467
1198
1320
  },
1199
1321
  {
1200
1322
  "length": 20,
1201
- "start": 3702
1323
+ "start": 3453
1202
1324
  },
1203
1325
  {
1204
1326
  "length": 20,
1205
- "start": 4263
1327
+ "start": 3542
1206
1328
  },
1207
1329
  {
1208
1330
  "length": 20,
1209
- "start": 4308
1331
+ "start": 4249
1210
1332
  },
1211
1333
  {
1212
1334
  "length": 20,
1213
- "start": 4353
1335
+ "start": 4294
1214
1336
  },
1215
1337
  {
1216
1338
  "length": 20,
1217
- "start": 6686
1339
+ "start": 7381
1218
1340
  },
1219
1341
  {
1220
1342
  "length": 20,
1221
- "start": 6941
1343
+ "start": 7967
1344
+ }
1345
+ ]
1346
+ },
1347
+ "contracts/type/PayoutId.sol": {
1348
+ "PayoutIdLib": [
1349
+ {
1350
+ "length": 20,
1351
+ "start": 2608
1222
1352
  },
1223
1353
  {
1224
1354
  "length": 20,
1225
- "start": 7522
1355
+ "start": 3259
1226
1356
  }
1227
1357
  ]
1228
1358
  },
1229
- "contracts/types/Referral.sol": {
1359
+ "contracts/type/Referral.sol": {
1230
1360
  "ReferralLib": [
1231
1361
  {
1232
1362
  "length": 20,
1233
- "start": 3122
1363
+ "start": 1871
1234
1364
  },
1235
1365
  {
1236
1366
  "length": 20,
1237
- "start": 3761
1367
+ "start": 2864
1238
1368
  }
1239
1369
  ]
1240
1370
  },
1241
- "contracts/types/RiskId.sol": {
1371
+ "contracts/type/RiskId.sol": {
1242
1372
  "RiskIdLib": [
1243
1373
  {
1244
1374
  "length": 20,
1245
- "start": 4468
1375
+ "start": 4409
1246
1376
  }
1247
1377
  ]
1248
1378
  },
1249
- "contracts/types/Timestamp.sol": {
1379
+ "contracts/type/Timestamp.sol": {
1250
1380
  "TimestampLib": [
1251
1381
  {
1252
1382
  "length": 20,
1253
- "start": 5396
1383
+ "start": 3685
1384
+ },
1385
+ {
1386
+ "length": 20,
1387
+ "start": 3828
1388
+ },
1389
+ {
1390
+ "length": 20,
1391
+ "start": 3998
1392
+ },
1393
+ {
1394
+ "length": 20,
1395
+ "start": 5802
1254
1396
  },
1255
1397
  {
1256
1398
  "length": 20,
1257
- "start": 5627
1399
+ "start": 6033
1258
1400
  }
1259
1401
  ]
1260
1402
  },
1261
- "contracts/types/UFixed.sol": {
1403
+ "contracts/type/UFixed.sol": {
1262
1404
  "UFixedLib": [
1263
1405
  {
1264
1406
  "length": 20,
1265
- "start": 2910
1407
+ "start": 1659
1266
1408
  },
1267
1409
  {
1268
1410
  "length": 20,
1269
- "start": 3893
1411
+ "start": 2996
1270
1412
  },
1271
1413
  {
1272
1414
  "length": 20,
1273
- "start": 5497
1415
+ "start": 5903
1274
1416
  },
1275
1417
  {
1276
1418
  "length": 20,
1277
- "start": 5756
1419
+ "start": 6162
1278
1420
  },
1279
1421
  {
1280
1422
  "length": 20,
1281
- "start": 5899
1423
+ "start": 6305
1282
1424
  }
1283
1425
  ]
1284
1426
  }
1285
1427
  },
1286
1428
  "deployedLinkReferences": {
1287
- "contracts/types/DistributorType.sol": {
1429
+ "contracts/type/Amount.sol": {
1430
+ "AmountLib": [
1431
+ {
1432
+ "length": 20,
1433
+ "start": 8017
1434
+ }
1435
+ ]
1436
+ },
1437
+ "contracts/type/ClaimId.sol": {
1438
+ "ClaimIdLib": [
1439
+ {
1440
+ "length": 20,
1441
+ "start": 4179
1442
+ },
1443
+ {
1444
+ "length": 20,
1445
+ "start": 5496
1446
+ }
1447
+ ]
1448
+ },
1449
+ "contracts/type/DistributorType.sol": {
1288
1450
  "DistributorTypeLib": [
1289
1451
  {
1290
1452
  "length": 20,
1291
- "start": 4918
1453
+ "start": 7122
1292
1454
  }
1293
1455
  ]
1294
1456
  },
1295
- "contracts/types/NftId.sol": {
1457
+ "contracts/type/NftId.sol": {
1296
1458
  "NftIdLib": [
1297
1459
  {
1298
1460
  "length": 20,
1299
- "start": 1821
1461
+ "start": 2079
1462
+ },
1463
+ {
1464
+ "length": 20,
1465
+ "start": 2435
1300
1466
  },
1301
1467
  {
1302
1468
  "length": 20,
1303
- "start": 2161
1469
+ "start": 3421
1304
1470
  },
1305
1471
  {
1306
1472
  "length": 20,
1307
- "start": 2722
1473
+ "start": 3510
1308
1474
  },
1309
1475
  {
1310
1476
  "length": 20,
1311
- "start": 2767
1477
+ "start": 4217
1312
1478
  },
1313
1479
  {
1314
1480
  "length": 20,
1315
- "start": 2812
1481
+ "start": 4262
1316
1482
  },
1317
1483
  {
1318
1484
  "length": 20,
1319
- "start": 5145
1485
+ "start": 7349
1320
1486
  },
1321
1487
  {
1322
1488
  "length": 20,
1323
- "start": 5400
1489
+ "start": 7935
1490
+ }
1491
+ ]
1492
+ },
1493
+ "contracts/type/PayoutId.sol": {
1494
+ "PayoutIdLib": [
1495
+ {
1496
+ "length": 20,
1497
+ "start": 2576
1324
1498
  },
1325
1499
  {
1326
1500
  "length": 20,
1327
- "start": 5981
1501
+ "start": 3227
1328
1502
  }
1329
1503
  ]
1330
1504
  },
1331
- "contracts/types/Referral.sol": {
1505
+ "contracts/type/Referral.sol": {
1332
1506
  "ReferralLib": [
1333
1507
  {
1334
1508
  "length": 20,
1335
- "start": 1581
1509
+ "start": 1839
1336
1510
  },
1337
1511
  {
1338
1512
  "length": 20,
1339
- "start": 2220
1513
+ "start": 2832
1340
1514
  }
1341
1515
  ]
1342
1516
  },
1343
- "contracts/types/RiskId.sol": {
1517
+ "contracts/type/RiskId.sol": {
1344
1518
  "RiskIdLib": [
1345
1519
  {
1346
1520
  "length": 20,
1347
- "start": 2927
1521
+ "start": 4377
1348
1522
  }
1349
1523
  ]
1350
1524
  },
1351
- "contracts/types/Timestamp.sol": {
1525
+ "contracts/type/Timestamp.sol": {
1352
1526
  "TimestampLib": [
1353
1527
  {
1354
1528
  "length": 20,
1355
- "start": 3855
1529
+ "start": 3653
1530
+ },
1531
+ {
1532
+ "length": 20,
1533
+ "start": 3796
1534
+ },
1535
+ {
1536
+ "length": 20,
1537
+ "start": 3966
1538
+ },
1539
+ {
1540
+ "length": 20,
1541
+ "start": 5770
1356
1542
  },
1357
1543
  {
1358
1544
  "length": 20,
1359
- "start": 4086
1545
+ "start": 6001
1360
1546
  }
1361
1547
  ]
1362
1548
  },
1363
- "contracts/types/UFixed.sol": {
1549
+ "contracts/type/UFixed.sol": {
1364
1550
  "UFixedLib": [
1365
1551
  {
1366
1552
  "length": 20,
1367
- "start": 1369
1553
+ "start": 1627
1368
1554
  },
1369
1555
  {
1370
1556
  "length": 20,
1371
- "start": 2352
1557
+ "start": 2964
1372
1558
  },
1373
1559
  {
1374
1560
  "length": 20,
1375
- "start": 3956
1561
+ "start": 5871
1376
1562
  },
1377
1563
  {
1378
1564
  "length": 20,
1379
- "start": 4215
1565
+ "start": 6130
1380
1566
  },
1381
1567
  {
1382
1568
  "length": 20,
1383
- "start": 4358
1569
+ "start": 6273
1384
1570
  }
1385
1571
  ]
1386
1572
  }