@etherisc/gif-next 0.0.2-d288ca9-933 → 0.0.2-d30275e-758

Sign up to get free protection for your applications and to get access to all the features.
Files changed (398) hide show
  1. package/README.md +75 -14
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +842 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +954 -219
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/{instance/base/IService.sol/IService.json → components/IComponent.sol/IComponent.json} +317 -133
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +848 -31
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +864 -49
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +682 -9
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +849 -247
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +637 -224
  18. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  19. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  20. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  21. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +778 -0
  22. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  23. package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → Cloneable.sol/Cloneable.json} +79 -3
  24. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  25. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +556 -246
  26. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +389 -156
  28. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  29. package/artifacts/contracts/instance/Instance.sol/Instance.json +451 -3017
  30. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  31. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +597 -179
  32. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
  33. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +124 -0
  34. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  35. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +342 -222
  36. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  37. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +510 -209
  38. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  39. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +316 -75
  40. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  41. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +2663 -0
  42. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  43. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +256 -0
  44. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  45. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +639 -0
  46. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  47. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  48. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  49. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +40 -10
  50. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  51. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
  52. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  53. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +71 -45
  54. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  55. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  56. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  57. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  58. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  59. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  60. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  61. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  62. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  63. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +902 -0
  64. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  65. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +649 -0
  66. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  67. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1326 -0
  68. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  69. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +725 -0
  70. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  71. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +1072 -0
  72. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  73. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +685 -0
  74. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  75. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1515 -0
  76. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  77. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +757 -0
  78. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  79. package/artifacts/contracts/instance/service/{IComponentOwnerService.sol/IComponentOwnerService.json → IApplicationService.sol/IApplicationService.json} +235 -200
  80. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  81. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +714 -0
  82. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  83. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +602 -0
  84. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +585 -160
  86. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  87. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +969 -0
  88. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  89. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +544 -145
  90. package/artifacts/contracts/instance/service/IPricingService.sol/IPricingService.dbg.json +4 -0
  91. package/artifacts/contracts/instance/{base/ServiceBase.sol/ServiceBase.json → service/IPricingService.sol/IPricingService.json} +248 -198
  92. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  93. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +90 -391
  94. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  95. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1575 -0
  96. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  97. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +741 -0
  98. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
  99. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +1481 -0
  100. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  101. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +709 -0
  102. package/artifacts/contracts/instance/service/PricingService.sol/PricingService.dbg.json +4 -0
  103. package/artifacts/contracts/instance/service/PricingService.sol/PricingService.json +988 -0
  104. package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  105. package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.json +689 -0
  106. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  107. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +872 -0
  108. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  109. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +653 -0
  110. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  111. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  112. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  113. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +373 -61
  114. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  115. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +223 -229
  116. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  117. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  118. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  119. package/artifacts/contracts/registry/Registry.sol/Registry.json +333 -188
  120. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  121. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  122. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  123. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +227 -330
  124. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  125. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +304 -138
  126. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  127. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +559 -0
  128. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  129. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +498 -0
  130. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  131. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  132. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  133. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  134. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +40 -29
  135. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  136. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
  137. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  138. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +21 -34
  139. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  140. package/artifacts/contracts/{experiment/inheritance/IB.sol/IB.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +18 -20
  141. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  142. package/artifacts/contracts/{components/BaseComponent.sol/BaseComponent.json → shared/IService.sol/IService.json} +98 -77
  143. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  144. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  145. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  146. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +120 -27
  147. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  148. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
  149. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  150. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +294 -61
  151. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  152. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +129 -51
  153. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  154. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
  155. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  156. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/Service.sol/Service.json} +185 -170
  157. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  158. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
  159. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  160. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  161. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  162. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  163. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  164. package/artifacts/contracts/test/TestFee.sol/TestFee.json +2 -2
  165. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  166. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +129 -51
  167. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  168. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +6 -6
  169. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  170. package/artifacts/contracts/test/TestService.sol/TestService.json +210 -214
  171. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  172. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  173. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  174. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  175. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -190
  176. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  177. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  178. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +4 -0
  179. package/artifacts/contracts/types/Amount.sol/AmountLib.json +209 -0
  180. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  181. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  182. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  183. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  184. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +179 -0
  185. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  186. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
  187. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  188. package/artifacts/contracts/types/Fee.sol/FeeLib.json +40 -9
  189. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  190. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  191. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  192. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
  193. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  194. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  195. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  196. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  197. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  198. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  199. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +209 -0
  200. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
  202. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  203. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  204. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  205. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  206. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  207. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  208. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  209. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  210. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  211. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +38 -7
  212. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  213. package/artifacts/contracts/types/UFixed.sol/MathLib.json +2 -2
  214. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  215. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +2 -2
  216. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  217. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  218. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  219. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  220. package/contracts/components/Component.sol +253 -0
  221. package/contracts/components/Distribution.sol +204 -86
  222. package/contracts/components/IComponent.sol +76 -0
  223. package/contracts/components/IDistributionComponent.sol +44 -16
  224. package/contracts/components/IPoolComponent.sol +88 -37
  225. package/contracts/components/IProductComponent.sol +10 -5
  226. package/contracts/components/Pool.sol +224 -181
  227. package/contracts/components/Product.sol +253 -176
  228. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
  229. package/contracts/instance/BundleManager.sol +126 -0
  230. package/contracts/instance/Cloneable.sol +51 -0
  231. package/contracts/instance/IInstance.sol +65 -13
  232. package/contracts/instance/IInstanceService.sol +70 -8
  233. package/contracts/instance/Instance.sol +158 -363
  234. package/contracts/instance/InstanceAccessManager.sol +430 -177
  235. package/contracts/instance/InstanceAuthorizationsLib.sol +300 -0
  236. package/contracts/instance/InstanceReader.sol +69 -39
  237. package/contracts/instance/InstanceService.sol +257 -84
  238. package/contracts/instance/InstanceServiceManager.sol +11 -13
  239. package/contracts/instance/InstanceStore.sol +208 -0
  240. package/contracts/instance/ObjectManager.sol +82 -0
  241. package/contracts/instance/base/ComponentService.sol +148 -0
  242. package/contracts/instance/base/KeyValueStore.sol +13 -5
  243. package/contracts/instance/base/Lifecycle.sol +23 -6
  244. package/contracts/instance/module/IAccess.sol +36 -20
  245. package/contracts/instance/module/IBundle.sol +8 -4
  246. package/contracts/instance/module/IComponents.sol +41 -0
  247. package/contracts/instance/module/IDistribution.sol +2 -0
  248. package/contracts/instance/module/IPolicy.sol +41 -9
  249. package/contracts/instance/module/ISetup.sol +9 -19
  250. package/contracts/instance/service/ApplicationService.sol +185 -0
  251. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  252. package/contracts/instance/service/BundleService.sol +440 -0
  253. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  254. package/contracts/instance/service/ClaimService.sol +239 -0
  255. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  256. package/contracts/instance/service/DistributionService.sol +342 -0
  257. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  258. package/contracts/instance/service/IApplicationService.sol +61 -0
  259. package/contracts/instance/service/IBundleService.sol +102 -0
  260. package/contracts/instance/service/IClaimService.sol +92 -0
  261. package/contracts/instance/service/IDistributionService.sol +75 -2
  262. package/contracts/instance/service/IPolicyService.sol +139 -0
  263. package/contracts/instance/service/IPoolService.sol +83 -18
  264. package/contracts/instance/service/IPricingService.sol +36 -0
  265. package/contracts/instance/service/IProductService.sol +7 -74
  266. package/contracts/instance/service/PolicyService.sol +577 -0
  267. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  268. package/contracts/instance/service/PoolService.sol +336 -0
  269. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  270. package/contracts/instance/service/PricingService.sol +275 -0
  271. package/contracts/instance/service/PricingServiceManager.sol +51 -0
  272. package/contracts/instance/service/ProductService.sol +210 -0
  273. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  274. package/contracts/registry/ChainNft.sol +9 -1
  275. package/contracts/registry/IRegistry.sol +52 -8
  276. package/contracts/registry/IRegistryService.sol +53 -20
  277. package/contracts/registry/ITransferInterceptor.sol +1 -0
  278. package/contracts/registry/Registry.sol +270 -226
  279. package/contracts/registry/RegistryAccessManager.sol +216 -0
  280. package/contracts/registry/RegistryService.sol +118 -271
  281. package/contracts/registry/RegistryServiceManager.sol +24 -26
  282. package/contracts/registry/ReleaseManager.sol +324 -0
  283. package/contracts/registry/TokenRegistry.sol +116 -0
  284. package/contracts/shared/ERC165.sol +14 -8
  285. package/contracts/shared/INftOwnable.sol +11 -10
  286. package/contracts/shared/IPolicyHolder.sol +26 -0
  287. package/contracts/shared/IRegisterable.sol +4 -6
  288. package/contracts/shared/IRegistryLinked.sol +12 -0
  289. package/contracts/shared/IService.sol +16 -0
  290. package/contracts/shared/IVersionable.sol +4 -47
  291. package/contracts/shared/NftOwnable.sol +67 -83
  292. package/contracts/shared/PolicyHolder.sol +81 -0
  293. package/contracts/shared/ProxyManager.sol +100 -25
  294. package/contracts/shared/Registerable.sol +16 -31
  295. package/contracts/shared/RegistryLinked.sol +48 -0
  296. package/contracts/shared/Service.sol +72 -0
  297. package/contracts/shared/TokenHandler.sol +11 -5
  298. package/contracts/shared/Versionable.sol +4 -92
  299. package/contracts/test/TestRegisterable.sol +1 -1
  300. package/contracts/test/TestService.sol +6 -7
  301. package/contracts/types/Amount.sol +70 -0
  302. package/contracts/types/Blocknumber.sol +1 -0
  303. package/contracts/types/ClaimId.sol +75 -0
  304. package/contracts/types/DistributorType.sol +2 -2
  305. package/contracts/types/Fee.sol +13 -5
  306. package/contracts/types/NftId.sol +8 -0
  307. package/contracts/types/NftIdSet.sol +26 -24
  308. package/contracts/types/ObjectType.sol +16 -7
  309. package/contracts/types/PayoutId.sol +82 -0
  310. package/contracts/types/Referral.sol +4 -0
  311. package/contracts/types/RoleId.sol +26 -11
  312. package/contracts/types/Seconds.sol +54 -0
  313. package/contracts/types/StateId.sol +11 -2
  314. package/contracts/types/Timestamp.sol +18 -13
  315. package/contracts/types/UFixed.sol +1 -0
  316. package/contracts/types/Version.sol +5 -1
  317. package/package.json +3 -3
  318. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  319. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  320. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -267
  321. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  322. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  323. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  324. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  325. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  326. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  327. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  328. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  329. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  330. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  331. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  332. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  333. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  334. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  335. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  336. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  337. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  338. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  339. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  340. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  341. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  342. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  343. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  344. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  345. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  346. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  347. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  348. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  349. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  350. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  351. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  352. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  353. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  354. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  355. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  356. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  357. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  358. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  359. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  360. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  361. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  362. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
  363. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  364. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  365. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  366. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  367. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  368. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  369. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  370. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  371. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  372. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  373. package/contracts/components/BaseComponent.sol +0 -86
  374. package/contracts/components/IBaseComponent.sol +0 -24
  375. package/contracts/experiment/cloning/Cloner.sol +0 -47
  376. package/contracts/experiment/errors/Require.sol +0 -38
  377. package/contracts/experiment/errors/Revert.sol +0 -44
  378. package/contracts/experiment/inheritance/A.sol +0 -53
  379. package/contracts/experiment/inheritance/B.sol +0 -28
  380. package/contracts/experiment/inheritance/C.sol +0 -34
  381. package/contracts/experiment/inheritance/IA.sol +0 -13
  382. package/contracts/experiment/inheritance/IB.sol +0 -10
  383. package/contracts/experiment/inheritance/IC.sol +0 -12
  384. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  385. package/contracts/experiment/statemachine/ISM.sol +0 -25
  386. package/contracts/experiment/statemachine/SM.sol +0 -57
  387. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  388. package/contracts/experiment/types/TypeA.sol +0 -47
  389. package/contracts/experiment/types/TypeB.sol +0 -29
  390. package/contracts/instance/AccessManagedSimple.sol +0 -122
  391. package/contracts/instance/AccessManagerSimple.sol +0 -692
  392. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  393. package/contracts/instance/base/ComponentServiceBase.sol +0 -49
  394. package/contracts/instance/base/IInstanceBase.sol +0 -23
  395. package/contracts/instance/base/IService.sol +0 -15
  396. package/contracts/instance/base/ServiceBase.sol +0 -44
  397. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  398. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
@@ -3,21 +3,229 @@
3
3
  "contractName": "InstanceReader",
4
4
  "sourceName": "contracts/instance/InstanceReader.sol",
5
5
  "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "ErrorInstanceReaderAlreadyInitialized",
9
+ "type": "error"
10
+ },
11
+ {
12
+ "inputs": [],
13
+ "name": "ErrorInstanceReaderInstanceAddressZero",
14
+ "type": "error"
15
+ },
6
16
  {
7
17
  "inputs": [
8
18
  {
9
- "internalType": "address",
10
- "name": "registry",
11
- "type": "address"
19
+ "internalType": "NftId",
20
+ "name": "bundleNftId",
21
+ "type": "uint96"
22
+ }
23
+ ],
24
+ "name": "getBundleInfo",
25
+ "outputs": [
26
+ {
27
+ "components": [
28
+ {
29
+ "internalType": "NftId",
30
+ "name": "poolNftId",
31
+ "type": "uint96"
32
+ },
33
+ {
34
+ "components": [
35
+ {
36
+ "internalType": "UFixed",
37
+ "name": "fractionalFee",
38
+ "type": "uint256"
39
+ },
40
+ {
41
+ "internalType": "uint256",
42
+ "name": "fixedFee",
43
+ "type": "uint256"
44
+ }
45
+ ],
46
+ "internalType": "struct Fee",
47
+ "name": "fee",
48
+ "type": "tuple"
49
+ },
50
+ {
51
+ "internalType": "bytes",
52
+ "name": "filter",
53
+ "type": "bytes"
54
+ },
55
+ {
56
+ "internalType": "Amount",
57
+ "name": "capitalAmount",
58
+ "type": "uint96"
59
+ },
60
+ {
61
+ "internalType": "Amount",
62
+ "name": "lockedAmount",
63
+ "type": "uint96"
64
+ },
65
+ {
66
+ "internalType": "Amount",
67
+ "name": "feeAmount",
68
+ "type": "uint96"
69
+ },
70
+ {
71
+ "internalType": "Seconds",
72
+ "name": "lifetime",
73
+ "type": "uint40"
74
+ },
75
+ {
76
+ "internalType": "Timestamp",
77
+ "name": "expiredAt",
78
+ "type": "uint40"
79
+ },
80
+ {
81
+ "internalType": "Timestamp",
82
+ "name": "closedAt",
83
+ "type": "uint40"
84
+ }
85
+ ],
86
+ "internalType": "struct IBundle.BundleInfo",
87
+ "name": "info",
88
+ "type": "tuple"
89
+ }
90
+ ],
91
+ "stateMutability": "view",
92
+ "type": "function"
93
+ },
94
+ {
95
+ "inputs": [
96
+ {
97
+ "internalType": "NftId",
98
+ "name": "policyNftId",
99
+ "type": "uint96"
12
100
  },
101
+ {
102
+ "internalType": "ClaimId",
103
+ "name": "claimId",
104
+ "type": "uint16"
105
+ }
106
+ ],
107
+ "name": "getClaimInfo",
108
+ "outputs": [
109
+ {
110
+ "components": [
111
+ {
112
+ "internalType": "Amount",
113
+ "name": "claimAmount",
114
+ "type": "uint96"
115
+ },
116
+ {
117
+ "internalType": "Amount",
118
+ "name": "paidAmount",
119
+ "type": "uint96"
120
+ },
121
+ {
122
+ "internalType": "uint8",
123
+ "name": "payoutsCount",
124
+ "type": "uint8"
125
+ },
126
+ {
127
+ "internalType": "uint8",
128
+ "name": "openPayoutsCount",
129
+ "type": "uint8"
130
+ },
131
+ {
132
+ "internalType": "bytes",
133
+ "name": "data",
134
+ "type": "bytes"
135
+ },
136
+ {
137
+ "internalType": "Timestamp",
138
+ "name": "closedAt",
139
+ "type": "uint40"
140
+ }
141
+ ],
142
+ "internalType": "struct IPolicy.ClaimInfo",
143
+ "name": "info",
144
+ "type": "tuple"
145
+ }
146
+ ],
147
+ "stateMutability": "view",
148
+ "type": "function"
149
+ },
150
+ {
151
+ "inputs": [
13
152
  {
14
153
  "internalType": "NftId",
15
- "name": "instanceNftId",
154
+ "name": "policyNftId",
16
155
  "type": "uint96"
156
+ },
157
+ {
158
+ "internalType": "ClaimId",
159
+ "name": "claimId",
160
+ "type": "uint16"
17
161
  }
18
162
  ],
19
- "stateMutability": "nonpayable",
20
- "type": "constructor"
163
+ "name": "getClaimState",
164
+ "outputs": [
165
+ {
166
+ "internalType": "StateId",
167
+ "name": "state",
168
+ "type": "uint8"
169
+ }
170
+ ],
171
+ "stateMutability": "view",
172
+ "type": "function"
173
+ },
174
+ {
175
+ "inputs": [
176
+ {
177
+ "internalType": "NftId",
178
+ "name": "poolNftId",
179
+ "type": "uint96"
180
+ }
181
+ ],
182
+ "name": "getComponentInfo",
183
+ "outputs": [
184
+ {
185
+ "components": [
186
+ {
187
+ "internalType": "string",
188
+ "name": "name",
189
+ "type": "string"
190
+ },
191
+ {
192
+ "internalType": "contract IERC20Metadata",
193
+ "name": "token",
194
+ "type": "address"
195
+ },
196
+ {
197
+ "internalType": "contract TokenHandler",
198
+ "name": "tokenHandler",
199
+ "type": "address"
200
+ },
201
+ {
202
+ "internalType": "address",
203
+ "name": "wallet",
204
+ "type": "address"
205
+ },
206
+ {
207
+ "internalType": "Amount",
208
+ "name": "balanceAmount",
209
+ "type": "uint96"
210
+ },
211
+ {
212
+ "internalType": "Amount",
213
+ "name": "feeAmount",
214
+ "type": "uint96"
215
+ },
216
+ {
217
+ "internalType": "bytes",
218
+ "name": "data",
219
+ "type": "bytes"
220
+ }
221
+ ],
222
+ "internalType": "struct IComponents.ComponentInfo",
223
+ "name": "info",
224
+ "type": "tuple"
225
+ }
226
+ ],
227
+ "stateMutability": "view",
228
+ "type": "function"
21
229
  },
22
230
  {
23
231
  "inputs": [
@@ -79,18 +287,35 @@
79
287
  }
80
288
  ],
81
289
  "internalType": "struct Fee",
82
- "name": "distributionFee",
290
+ "name": "minDistributionOwnerFee",
83
291
  "type": "tuple"
84
292
  },
85
293
  {
86
- "internalType": "bool",
87
- "name": "isIntercepting",
88
- "type": "bool"
294
+ "components": [
295
+ {
296
+ "internalType": "UFixed",
297
+ "name": "fractionalFee",
298
+ "type": "uint256"
299
+ },
300
+ {
301
+ "internalType": "uint256",
302
+ "name": "fixedFee",
303
+ "type": "uint256"
304
+ }
305
+ ],
306
+ "internalType": "struct Fee",
307
+ "name": "distributionFee",
308
+ "type": "tuple"
89
309
  },
90
310
  {
91
311
  "internalType": "address",
92
312
  "name": "wallet",
93
313
  "type": "address"
314
+ },
315
+ {
316
+ "internalType": "uint256",
317
+ "name": "sumDistributionOwnerFees",
318
+ "type": "uint256"
94
319
  }
95
320
  ],
96
321
  "internalType": "struct ISetup.DistributionSetupInfo",
@@ -127,6 +352,16 @@
127
352
  "internalType": "bytes",
128
353
  "name": "data",
129
354
  "type": "bytes"
355
+ },
356
+ {
357
+ "internalType": "uint256",
358
+ "name": "sumCommisions",
359
+ "type": "uint256"
360
+ },
361
+ {
362
+ "internalType": "uint256",
363
+ "name": "numPoliciesSold",
364
+ "type": "uint256"
130
365
  }
131
366
  ],
132
367
  "internalType": "struct IDistribution.DistributorInfo",
@@ -216,19 +451,6 @@
216
451
  "stateMutability": "view",
217
452
  "type": "function"
218
453
  },
219
- {
220
- "inputs": [],
221
- "name": "getInstanceNftId",
222
- "outputs": [
223
- {
224
- "internalType": "NftId",
225
- "name": "nftId",
226
- "type": "uint96"
227
- }
228
- ],
229
- "stateMutability": "view",
230
- "type": "function"
231
- },
232
454
  {
233
455
  "inputs": [],
234
456
  "name": "getInstanceStore",
@@ -336,9 +558,9 @@
336
558
  "type": "uint256"
337
559
  },
338
560
  {
339
- "internalType": "uint256",
561
+ "internalType": "Seconds",
340
562
  "name": "lifetime",
341
- "type": "uint256"
563
+ "type": "uint40"
342
564
  },
343
565
  {
344
566
  "internalType": "bytes",
@@ -361,9 +583,9 @@
361
583
  "type": "uint16"
362
584
  },
363
585
  {
364
- "internalType": "uint256",
586
+ "internalType": "Amount",
365
587
  "name": "payoutAmount",
366
- "type": "uint256"
588
+ "type": "uint96"
367
589
  },
368
590
  {
369
591
  "internalType": "Timestamp",
@@ -393,94 +615,16 @@
393
615
  "inputs": [
394
616
  {
395
617
  "internalType": "NftId",
396
- "name": "poolNftId",
618
+ "name": "policyNftId",
397
619
  "type": "uint96"
398
620
  }
399
621
  ],
400
- "name": "getPoolSetupInfo",
622
+ "name": "getPolicyState",
401
623
  "outputs": [
402
624
  {
403
- "components": [
404
- {
405
- "internalType": "NftId",
406
- "name": "productNftId",
407
- "type": "uint96"
408
- },
409
- {
410
- "internalType": "contract TokenHandler",
411
- "name": "tokenHandler",
412
- "type": "address"
413
- },
414
- {
415
- "internalType": "UFixed",
416
- "name": "collateralizationLevel",
417
- "type": "uint256"
418
- },
419
- {
420
- "components": [
421
- {
422
- "internalType": "UFixed",
423
- "name": "fractionalFee",
424
- "type": "uint256"
425
- },
426
- {
427
- "internalType": "uint256",
428
- "name": "fixedFee",
429
- "type": "uint256"
430
- }
431
- ],
432
- "internalType": "struct Fee",
433
- "name": "poolFee",
434
- "type": "tuple"
435
- },
436
- {
437
- "components": [
438
- {
439
- "internalType": "UFixed",
440
- "name": "fractionalFee",
441
- "type": "uint256"
442
- },
443
- {
444
- "internalType": "uint256",
445
- "name": "fixedFee",
446
- "type": "uint256"
447
- }
448
- ],
449
- "internalType": "struct Fee",
450
- "name": "stakingFee",
451
- "type": "tuple"
452
- },
453
- {
454
- "components": [
455
- {
456
- "internalType": "UFixed",
457
- "name": "fractionalFee",
458
- "type": "uint256"
459
- },
460
- {
461
- "internalType": "uint256",
462
- "name": "fixedFee",
463
- "type": "uint256"
464
- }
465
- ],
466
- "internalType": "struct Fee",
467
- "name": "performanceFee",
468
- "type": "tuple"
469
- },
470
- {
471
- "internalType": "bool",
472
- "name": "isIntercepting",
473
- "type": "bool"
474
- },
475
- {
476
- "internalType": "address",
477
- "name": "wallet",
478
- "type": "address"
479
- }
480
- ],
481
- "internalType": "struct ISetup.PoolSetupInfo",
482
- "name": "info",
483
- "type": "tuple"
625
+ "internalType": "StateId",
626
+ "name": "state",
627
+ "type": "uint8"
484
628
  }
485
629
  ],
486
630
  "stateMutability": "view",
@@ -518,23 +662,6 @@
518
662
  "name": "poolNftId",
519
663
  "type": "uint96"
520
664
  },
521
- {
522
- "components": [
523
- {
524
- "internalType": "UFixed",
525
- "name": "fractionalFee",
526
- "type": "uint256"
527
- },
528
- {
529
- "internalType": "uint256",
530
- "name": "fixedFee",
531
- "type": "uint256"
532
- }
533
- ],
534
- "internalType": "struct Fee",
535
- "name": "distributionFee",
536
- "type": "tuple"
537
- },
538
665
  {
539
666
  "components": [
540
667
  {
@@ -570,55 +697,14 @@
570
697
  "type": "tuple"
571
698
  },
572
699
  {
573
- "components": [
574
- {
575
- "internalType": "UFixed",
576
- "name": "fractionalFee",
577
- "type": "uint256"
578
- },
579
- {
580
- "internalType": "uint256",
581
- "name": "fixedFee",
582
- "type": "uint256"
583
- }
584
- ],
585
- "internalType": "struct Fee",
586
- "name": "poolFee",
587
- "type": "tuple"
588
- },
589
- {
590
- "components": [
591
- {
592
- "internalType": "UFixed",
593
- "name": "fractionalFee",
594
- "type": "uint256"
595
- },
596
- {
597
- "internalType": "uint256",
598
- "name": "fixedFee",
599
- "type": "uint256"
600
- }
601
- ],
602
- "internalType": "struct Fee",
603
- "name": "stakingFee",
604
- "type": "tuple"
700
+ "internalType": "bool",
701
+ "name": "isIntercepting",
702
+ "type": "bool"
605
703
  },
606
704
  {
607
- "components": [
608
- {
609
- "internalType": "UFixed",
610
- "name": "fractionalFee",
611
- "type": "uint256"
612
- },
613
- {
614
- "internalType": "uint256",
615
- "name": "fixedFee",
616
- "type": "uint256"
617
- }
618
- ],
619
- "internalType": "struct Fee",
620
- "name": "performanceFee",
621
- "type": "tuple"
705
+ "internalType": "address",
706
+ "name": "wallet",
707
+ "type": "address"
622
708
  }
623
709
  ],
624
710
  "internalType": "struct ISetup.ProductSetupInfo",
@@ -882,13 +968,8 @@
882
968
  "inputs": [
883
969
  {
884
970
  "internalType": "address",
885
- "name": "registry",
971
+ "name": "instance",
886
972
  "type": "address"
887
- },
888
- {
889
- "internalType": "NftId",
890
- "name": "instanceNftId",
891
- "type": "uint96"
892
973
  }
893
974
  ],
894
975
  "name": "initialize",
@@ -896,6 +977,25 @@
896
977
  "stateMutability": "nonpayable",
897
978
  "type": "function"
898
979
  },
980
+ {
981
+ "inputs": [
982
+ {
983
+ "internalType": "NftId",
984
+ "name": "poolNftId",
985
+ "type": "uint96"
986
+ }
987
+ ],
988
+ "name": "toBundleKey",
989
+ "outputs": [
990
+ {
991
+ "internalType": "Key32",
992
+ "name": "",
993
+ "type": "bytes32"
994
+ }
995
+ ],
996
+ "stateMutability": "pure",
997
+ "type": "function"
998
+ },
899
999
  {
900
1000
  "inputs": [
901
1001
  {
@@ -1078,14 +1178,26 @@
1078
1178
  "type": "function"
1079
1179
  }
1080
1180
  ],
1081
- "bytecode": "0x60806040523480156200001157600080fd5b5060405162002f3c38038062002f3c83398101604081905262000034916200038e565b62000040828262000048565b5050620005f5565b60005460ff1615620000ab5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b038216620001035760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f00000000006044820152606401620000a2565b6040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156200015c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001829190620003d7565b620001d05760405162461bcd60e51b815260206004820152601960248201527f4552524f523a4352442d3030323a4e46545f49445f5a45524f000000000000006044820152606401620000a2565b60008054610100600160a81b0319166101006001600160a01b03858116820292909217808455600180546001600160601b0319166001600160601b0387169081179091556040516305247a1760e51b815260048101919091529190049091169063a48f42e090602401600060405180830381865afa15801562000257573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200028191908101906200050f565b9050620002a781604001516200029c6200035460201b60201c565b60ff90811691161490565b620002ff5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030333a504152454e545f4e4f545f494e5354414e436044820152604560f81b6064820152608401620000a2565b60800151600180546001600160601b03166c010000000000000000000000006001600160a01b03909316928302178155600280546001600160a01b0319169092179091556000805460ff191690911790555050565b604690565b80516001600160a01b03811681146200037157600080fd5b919050565b80516001600160601b03811681146200037157600080fd5b60008060408385031215620003a257600080fd5b620003ad8362000359565b9150620003bd6020840162000376565b90509250929050565b805180151581146200037157600080fd5b600060208284031215620003ea57600080fd5b620003f582620003c6565b9392505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715620004375762000437620003fc565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620004685762000468620003fc565b604052919050565b805160ff811681146200037157600080fd5b600082601f8301126200049457600080fd5b81516001600160401b03811115620004b057620004b0620003fc565b6020620004c6601f8301601f191682016200043d565b8281528582848701011115620004db57600080fd5b60005b83811015620004fb578581018301518282018401528201620004de565b506000928101909101919091529392505050565b6000602082840312156200052257600080fd5b81516001600160401b03808211156200053a57600080fd5b9083019060e082860312156200054f57600080fd5b6200055962000412565b620005648362000376565b8152620005746020840162000376565b6020820152620005876040840162000470565b60408201526200059a60608401620003c6565b6060820152620005ad6080840162000359565b6080820152620005c060a0840162000359565b60a082015260c083015182811115620005d857600080fd5b620005e68782860162000482565b60c08301525095945050505050565b61293780620006056000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c8063887b1fa9116100de578063bd7d9d8511610097578063dd26287a11610071578063dd26287a1461047c578063de7b5d141461048f578063f2a41374146104a7578063f2b246c3146104bc57600080fd5b8063bd7d9d851461042b578063d06458c61461044b578063d4cda0d81461046b57600080fd5b8063887b1fa9146102b757806390af7064146102d75780639ad69c67146102f7578063a310e2a314610369578063a5961b4c14610394578063b82d7ef51461040157600080fd5b806344aa68361161013057806344aa68361461023057806355e343a91461024357806364eb3a9b146102635780637bfd3217146102765780637e54602a146102895780637e7986691461029c57600080fd5b80631488c845146101785780631d3be4771461019e57806325d03743146101be57806327b1d792146101d157806335898f5d146101f15780633f093cd614610204575b600080fd5b61018b6101863660046117aa565b6104cf565b6040519081526020015b60405180910390f35b6101b16101ac3660046117f9565b610557565b6040516101959190611866565b61018b6101cc366004611916565b6106b0565b6101e46101df366004611916565b61074a565b6040516101959190611933565b61018b6101ff366004611916565b610804565b610217610212366004611add565b610831565b6040516001600160c01b03199091168152602001610195565b61018b61023e366004611b6f565b6108ae565b610256610251366004611916565b6108e9565b6040516101959190611b88565b61018b610271366004611916565b61098f565b61018b610284366004611916565b6109bc565b61018b610297366004611916565b6109e9565b6001546040516001600160601b039091168152602001610195565b6102ca6102c53660046117f9565b610a16565b6040516101959190611c2d565b6102ea6102e5366004611916565b610b3f565b6040516101959190611d58565b61030a610305366004611916565b610be5565b6040805182516001600160601b031681526020808401516001600160a01b0390811682840152848401518051948401949094529201516060808301919091528301511515608080830191909152909201511660a082015260c001610195565b61037c610377366004611916565b610c8b565b6040516001600160a01b039091168152602001610195565b6103a76103a2366004611b6f565b610d39565b6040516101959190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61041461040f3660046117f9565b610dcd565b6040805192835260ff909116602083015201610195565b61043e610439366004611916565b611075565b6040516101959190611d67565b61045e6104593660046117f9565b611193565b6040516101959190611ebf565b6002546001600160a01b031661037c565b61018b61048a366004611916565b611306565b600154600160601b90046001600160a01b031661037c565b6104ba6104b5366004611f84565b611333565b005b6102ea6104ca366004611916565b611625565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af415801561052a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054e9190611fb2565b90505b92915050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af41580156105fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106229190611fb2565b6040518263ffffffff1660e01b815260040161064091815260200190565b600060405180830381865afa15801561065d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106859190810190612010565b8051909150156106aa57808060200190518101906106a39190612086565b9392505050565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610726573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105519190611fb2565b604080516060808201835260008083526020830152918101919091526002546000906001600160a01b03166354f6127f610783856109e9565b6040518263ffffffff1660e01b81526004016107a191815260200190565b600060405180830381865afa1580156107be573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107e69190810190612010565b8051909150156106aa57808060200190518101906106a3919061217f565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660786106d9565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd69061086d9086908690600401612225565b602060405180830381865af415801561088a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054e9190612247565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401610709565b6108f161164a565b6002546000906001600160a01b03166354f6127f61090e85611306565b6040518263ffffffff1660e01b815260040161092c91815260200190565b600060405180830381865afa158015610949573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109719190810190612010565b8051909150156106aa57808060200190518101906106a3919061229f565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d26106d9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e6106d9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a6106d9565b6040805180820190915260008152606060208201526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610a9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610abe9190611fb2565b6040518263ffffffff1660e01b8152600401610adc91815260200190565b600060405180830381865afa158015610af9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b219190810190612010565b8051909150156106aa57808060200190518101906106a39190612341565b610b476116bb565b6002546000906001600160a01b03166354f6127f610b64856109bc565b6040518263ffffffff1660e01b8152600401610b8291815260200190565b600060405180830381865afa158015610b9f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bc79190810190612010565b8051909150156106aa57808060200190518101906106a39190612492565b610bed611762565b6002546000906001600160a01b03166354f6127f610c0a85610804565b6040518263ffffffff1660e01b8152600401610c2891815260200190565b600060405180830381865afa158015610c45573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c6d9190810190612010565b8051909150156106aa57808060200190518101906106a391906124af565b60025460009081906001600160a01b03166354f6127f610caa856106b0565b6040518263ffffffff1660e01b8152600401610cc891815260200190565b600060405180830381865afa158015610ce5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d0d9190810190612010565b8051909150156106aa57600081806020019051810190610d2d9190612492565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610da9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105519190612540565b6000806000610ddb84610557565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610e3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5e91906125ae565b15610edd5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610eac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed09190611fb2565b60645b9250925050915091565b610f618160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610f2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5291906125c9565b64ffffffffff90811691161090565b15610fda5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610faf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd39190611fb2565b606e610ed3565b806060015163ffffffff16816080015163ffffffff16106110695773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561103e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110629190611fb2565b6078610ed3565b6040810151600a610ed3565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002546000906001600160a01b03166354f6127f6111128561098f565b6040518263ffffffff1660e01b815260040161113091815260200190565b600060405180830381865afa15801561114d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111759190810190612010565b8051909150156106aa57808060200190518101906106a391906125f6565b6111f260405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015611261573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112859190611fb2565b6040518263ffffffff1660e01b81526004016112a391815260200190565b600060405180830381865afa1580156112c0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112e89190810190612010565b8051909150156106aa57808060200190518101906106a3919061276a565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c6106d9565b60005460ff16156113955760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b0382166113eb5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f0000000000604482015260640161138c565b6040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611443573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061146791906125ae565b6114b35760405162461bcd60e51b815260206004820152601960248201527f4552524f523a4352442d3030323a4e46545f49445f5a45524f00000000000000604482015260640161138c565b60008054610100600160a81b0319166101006001600160a01b03858116820292909217808455600180546bffffffffffffffffffffffff19166001600160601b0387169081179091556040516305247a1760e51b815260048101919091529190049091169063a48f42e090602401600060405180830381865afa15801561153e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115669190810190612861565b90506115838160400151611578604690565b60ff90811691161490565b6115d95760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030333a504152454e545f4e4f545f494e5354414e436044820152604560f81b606482015260840161138c565b60800151600180546001600160601b0316600160601b6001600160a01b03909316928302178155600280546001600160a01b0319169092179091556000805460ff191690911790555050565b61162d6116bb565b6002546000906001600160a01b03166354f6127f610b64856106b0565b60408051610100810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a08201905b815260006020820181905260409091015290565b604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b031681526020016116a7604051806040016040528060008152602001600081525090565b600080604083850312156117bd57600080fd5b8235915060208301358060000b81146117d557600080fd5b809150509250929050565b6001600160c01b0319811681146117f657600080fd5b50565b60006020828403121561180b57600080fd5b81356106a3816117e0565b60005b83811015611831578181015183820152602001611819565b50506000910152565b60008151808452611852816020860160208601611816565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e0604084015261189661010084018261183a565b90506040840151606084015263ffffffff606085015116608084015260808401516118c960a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e08501526118f8828261183a565b95945050505050565b6001600160601b03811681146117f657600080fd5b60006020828403121561192857600080fd5b81356106a381611901565b602081526001600160401b0360c01b825116602082015260208201511515604082015260006040830151606080840152611970608084018261183a565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156119b0576119b0611978565b60405290565b604080519081016001600160401b03811182821017156119b0576119b0611978565b60405161010081016001600160401b03811182821017156119b0576119b0611978565b60405161014081016001600160401b03811182821017156119b0576119b0611978565b60405160a081016001600160401b03811182821017156119b0576119b0611978565b60405161020081016001600160401b03811182821017156119b0576119b0611978565b60405161012081016001600160401b03811182821017156119b0576119b0611978565b604051601f8201601f191681016001600160401b0381118282101715611aae57611aae611978565b604052919050565b60006001600160401b03821115611acf57611acf611978565b50601f01601f191660200190565b60008060408385031215611af057600080fd5b8235611afb81611901565b915060208301356001600160401b03811115611b1657600080fd5b8301601f81018513611b2757600080fd5b8035611b3a611b3582611ab6565b611a86565b818152866020838501011115611b4f57600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611b8157600080fd5b5035919050565b81516001600160601b031681526020808301516001600160a01b03169082015260408083015190820152606080830151610160830191611bd49084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151151561012083015260e08301516001600160a01b0381166101408401525092915050565b602081526001600160601b03825116602082015260006020830151604080840152611970606084018261183a565b80516001600160a01b031682526020810151611c8260208401826001600160a01b03169052565b506040810151611c9d60408401826001600160601b03169052565b506060810151611cb860608401826001600160601b03169052565b506080810151611cd5608084018280518252602090810151910152565b5060a0810151805160c0840152602081015160e08401525060c0810151610100611d0b8185018380518252602090810151910152565b60e0830151805161014086015260208101516101608601529150820151805161018085015260208101516101a0850152905050610120015180516101c0830152602001516101e090910152565b61020081016105518284611c5b565b60208152611d816020820183516001600160601b03169052565b60006020830151611d9d60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e08301516101008181850152808501519150506102006101208181860152611e1561022086018461183a565b9250808601519050610140601f198685030181870152611e35848361183a565b935080870151915050610160611e508187018361ffff169052565b8601519050610180611e678682018361ffff169052565b8601516101a08681019190915286015190506101c0611e8e8187018364ffffffffff169052565b86015190506101e0611ea88682018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b6020815260008251610120806020850152611ede61014085018361183a565b91506020850151604085015260408501516060850152606085015160808501526080850151611f1560a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e0850151610100611f4b8187018315159052565b860151858403601f1901838701529050611f65838261183a565b9695505050505050565b6001600160a01b03811681146117f657600080fd5b60008060408385031215611f9757600080fd5b8235611fa281611f6f565b915060208301356117d581611901565b600060208284031215611fc457600080fd5b5051919050565b600082601f830112611fdc57600080fd5b8151611fea611b3582611ab6565b818152846020838601011115611fff57600080fd5b611970826020830160208701611816565b60006020828403121561202257600080fd5b81516001600160401b0381111561203857600080fd5b61197084828501611fcb565b805161204f81611901565b919050565b63ffffffff811681146117f657600080fd5b805161204f81612054565b805164ffffffffff8116811461204f57600080fd5b60006020828403121561209857600080fd5b81516001600160401b03808211156120af57600080fd5b9083019060e082860312156120c357600080fd5b6120cb61198e565b6120d483612044565b81526020830151828111156120e857600080fd5b6120f487828601611fcb565b6020830152506040830151604082015261211060608401612066565b606082015261212160808401612066565b608082015261213260a08401612071565b60a082015260c08301518281111561214957600080fd5b61215587828601611fcb565b60c08301525095945050505050565b805161204f816117e0565b8051801515811461204f57600080fd5b60006020828403121561219157600080fd5b81516001600160401b03808211156121a857600080fd5b90830190606082860312156121bc57600080fd5b6040516060810181811083821117156121d7576121d7611978565b60405282516121e5816117e0565b81526121f36020840161216f565b602082015260408301518281111561220a57600080fd5b61221687828601611fcb565b60408301525095945050505050565b6001600160601b0383168152604060208201526000611970604083018461183a565b60006020828403121561225957600080fd5b81516106a3816117e0565b805161204f81611f6f565b60006040828403121561228157600080fd5b6122896119b6565b9050815181526020820151602082015292915050565b600061016082840312156122b257600080fd5b6122ba6119d8565b6122c383612044565b81526122d160208401612264565b6020820152604083015160408201526122ed846060850161226f565b60608201526122ff8460a0850161226f565b60808201526123118460e0850161226f565b60a0820152612323610120840161216f565b60c08201526123356101408401612264565b60e08201529392505050565b60006020828403121561235357600080fd5b81516001600160401b038082111561236a57600080fd5b908301906040828603121561237e57600080fd5b6123866119b6565b825161239181611901565b81526020830151828111156123a557600080fd5b6123b187828601611fcb565b60208301525095945050505050565b600061020082840312156123d357600080fd5b6123db6119fb565b90506123e682612264565b81526123f460208301612264565b602082015261240560408301612044565b604082015261241660608301612044565b6060820152612428836080840161226f565b608082015261243a8360c0840161226f565b60a082015261010061244e8482850161226f565b60c083015261246184610140850161226f565b60e083015261247484610180850161226f565b90820152612486836101c0840161226f565b61012082015292915050565b600061020082840312156124a557600080fd5b61054e83836123c0565b600060c082840312156124c157600080fd5b6124c9611a1e565b82516124d481611901565b815260208301516124e481611f6f565b60208201526124f6846040850161226f565b60408201526125076080840161216f565b606082015260a083015161251a81611f6f565b60808201529392505050565b60ff811681146117f657600080fd5b805161204f81612526565b600060a0828403121561255257600080fd5b61255a611a1e565b825161256581612526565b8152602083015161257581612526565b6020820152604083015161258881611f6f565b6040820152606083015161259b81612054565b6060820152608083015161251a81612054565b6000602082840312156125c057600080fd5b61054e8261216f565b6000602082840312156125db57600080fd5b61054e82612071565b805161ffff8116811461204f57600080fd5b60006020828403121561260857600080fd5b81516001600160401b038082111561261f57600080fd5b90830190610200828603121561263457600080fd5b61263c611a40565b61264583612044565b815261265360208401612044565b602082015261266460408401612164565b604082015261267560608401612164565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e082015261010080840151838111156126b657600080fd5b6126c288828701611fcb565b82840152505061012080840151838111156126dc57600080fd5b6126e888828701611fcb565b82840152505061014091506126fe8284016125e4565b8282015261016091506127128284016125e4565b82820152610180915081830151828201526101a09150612733828401612071565b828201526101c09150612747828401612071565b828201526101e0915061275b828401612071565b91810191909152949350505050565b60006020828403121561277c57600080fd5b81516001600160401b038082111561279357600080fd5b9083019061012082860312156127a857600080fd5b6127b0611a63565b8251828111156127bf57600080fd5b6127cb87828601611fcb565b8252506020830151602082015260408301516040820152606083015160608201526127f860808401612066565b608082015261280960a08401612066565b60a082015261281a60c0840161216f565b60c082015261282b60e0840161216f565b60e0820152610100808401518381111561284457600080fd5b61285088828701611fcb565b918301919091525095945050505050565b60006020828403121561287357600080fd5b81516001600160401b038082111561288a57600080fd5b9083019060e0828603121561289e57600080fd5b6128a661198e565b6128af83612044565b81526128bd60208401612044565b60208201526128ce60408401612535565b60408201526128df6060840161216f565b60608201526128f060808401612264565b608082015261213260a0840161226456fea2646970667358221220b90a380d460a6ee217547116d4af85c7fb03ac5af85464ab20619a79c2bb5a4964736f6c63430008140033",
1082
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101735760003560e01c8063887b1fa9116100de578063bd7d9d8511610097578063dd26287a11610071578063dd26287a1461047c578063de7b5d141461048f578063f2a41374146104a7578063f2b246c3146104bc57600080fd5b8063bd7d9d851461042b578063d06458c61461044b578063d4cda0d81461046b57600080fd5b8063887b1fa9146102b757806390af7064146102d75780639ad69c67146102f7578063a310e2a314610369578063a5961b4c14610394578063b82d7ef51461040157600080fd5b806344aa68361161013057806344aa68361461023057806355e343a91461024357806364eb3a9b146102635780637bfd3217146102765780637e54602a146102895780637e7986691461029c57600080fd5b80631488c845146101785780631d3be4771461019e57806325d03743146101be57806327b1d792146101d157806335898f5d146101f15780633f093cd614610204575b600080fd5b61018b6101863660046117aa565b6104cf565b6040519081526020015b60405180910390f35b6101b16101ac3660046117f9565b610557565b6040516101959190611866565b61018b6101cc366004611916565b6106b0565b6101e46101df366004611916565b61074a565b6040516101959190611933565b61018b6101ff366004611916565b610804565b610217610212366004611add565b610831565b6040516001600160c01b03199091168152602001610195565b61018b61023e366004611b6f565b6108ae565b610256610251366004611916565b6108e9565b6040516101959190611b88565b61018b610271366004611916565b61098f565b61018b610284366004611916565b6109bc565b61018b610297366004611916565b6109e9565b6001546040516001600160601b039091168152602001610195565b6102ca6102c53660046117f9565b610a16565b6040516101959190611c2d565b6102ea6102e5366004611916565b610b3f565b6040516101959190611d58565b61030a610305366004611916565b610be5565b6040805182516001600160601b031681526020808401516001600160a01b0390811682840152848401518051948401949094529201516060808301919091528301511515608080830191909152909201511660a082015260c001610195565b61037c610377366004611916565b610c8b565b6040516001600160a01b039091168152602001610195565b6103a76103a2366004611b6f565b610d39565b6040516101959190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61041461040f3660046117f9565b610dcd565b6040805192835260ff909116602083015201610195565b61043e610439366004611916565b611075565b6040516101959190611d67565b61045e6104593660046117f9565b611193565b6040516101959190611ebf565b6002546001600160a01b031661037c565b61018b61048a366004611916565b611306565b600154600160601b90046001600160a01b031661037c565b6104ba6104b5366004611f84565b611333565b005b6102ea6104ca366004611916565b611625565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af415801561052a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054e9190611fb2565b90505b92915050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af41580156105fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106229190611fb2565b6040518263ffffffff1660e01b815260040161064091815260200190565b600060405180830381865afa15801561065d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106859190810190612010565b8051909150156106aa57808060200190518101906106a39190612086565b9392505050565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610726573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105519190611fb2565b604080516060808201835260008083526020830152918101919091526002546000906001600160a01b03166354f6127f610783856109e9565b6040518263ffffffff1660e01b81526004016107a191815260200190565b600060405180830381865afa1580156107be573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107e69190810190612010565b8051909150156106aa57808060200190518101906106a3919061217f565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660786106d9565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd69061086d9086908690600401612225565b602060405180830381865af415801561088a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054e9190612247565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401610709565b6108f161164a565b6002546000906001600160a01b03166354f6127f61090e85611306565b6040518263ffffffff1660e01b815260040161092c91815260200190565b600060405180830381865afa158015610949573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109719190810190612010565b8051909150156106aa57808060200190518101906106a3919061229f565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d26106d9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e6106d9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a6106d9565b6040805180820190915260008152606060208201526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610a9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610abe9190611fb2565b6040518263ffffffff1660e01b8152600401610adc91815260200190565b600060405180830381865afa158015610af9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b219190810190612010565b8051909150156106aa57808060200190518101906106a39190612341565b610b476116bb565b6002546000906001600160a01b03166354f6127f610b64856109bc565b6040518263ffffffff1660e01b8152600401610b8291815260200190565b600060405180830381865afa158015610b9f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bc79190810190612010565b8051909150156106aa57808060200190518101906106a39190612492565b610bed611762565b6002546000906001600160a01b03166354f6127f610c0a85610804565b6040518263ffffffff1660e01b8152600401610c2891815260200190565b600060405180830381865afa158015610c45573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c6d9190810190612010565b8051909150156106aa57808060200190518101906106a391906124af565b60025460009081906001600160a01b03166354f6127f610caa856106b0565b6040518263ffffffff1660e01b8152600401610cc891815260200190565b600060405180830381865afa158015610ce5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d0d9190810190612010565b8051909150156106aa57600081806020019051810190610d2d9190612492565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610da9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105519190612540565b6000806000610ddb84610557565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610e3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5e91906125ae565b15610edd5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610eac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed09190611fb2565b60645b9250925050915091565b610f618160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610f2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5291906125c9565b64ffffffffff90811691161090565b15610fda5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610faf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd39190611fb2565b606e610ed3565b806060015163ffffffff16816080015163ffffffff16106110695773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561103e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110629190611fb2565b6078610ed3565b6040810151600a610ed3565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002546000906001600160a01b03166354f6127f6111128561098f565b6040518263ffffffff1660e01b815260040161113091815260200190565b600060405180830381865afa15801561114d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111759190810190612010565b8051909150156106aa57808060200190518101906106a391906125f6565b6111f260405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015611261573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112859190611fb2565b6040518263ffffffff1660e01b81526004016112a391815260200190565b600060405180830381865afa1580156112c0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112e89190810190612010565b8051909150156106aa57808060200190518101906106a3919061276a565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c6106d9565b60005460ff16156113955760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b0382166113eb5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f0000000000604482015260640161138c565b6040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611443573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061146791906125ae565b6114b35760405162461bcd60e51b815260206004820152601960248201527f4552524f523a4352442d3030323a4e46545f49445f5a45524f00000000000000604482015260640161138c565b60008054610100600160a81b0319166101006001600160a01b03858116820292909217808455600180546bffffffffffffffffffffffff19166001600160601b0387169081179091556040516305247a1760e51b815260048101919091529190049091169063a48f42e090602401600060405180830381865afa15801561153e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115669190810190612861565b90506115838160400151611578604690565b60ff90811691161490565b6115d95760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030333a504152454e545f4e4f545f494e5354414e436044820152604560f81b606482015260840161138c565b60800151600180546001600160601b0316600160601b6001600160a01b03909316928302178155600280546001600160a01b0319169092179091556000805460ff191690911790555050565b61162d6116bb565b6002546000906001600160a01b03166354f6127f610b64856106b0565b60408051610100810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a08201905b815260006020820181905260409091015290565b604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b031681526020016116a7604051806040016040528060008152602001600081525090565b600080604083850312156117bd57600080fd5b8235915060208301358060000b81146117d557600080fd5b809150509250929050565b6001600160c01b0319811681146117f657600080fd5b50565b60006020828403121561180b57600080fd5b81356106a3816117e0565b60005b83811015611831578181015183820152602001611819565b50506000910152565b60008151808452611852816020860160208601611816565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e0604084015261189661010084018261183a565b90506040840151606084015263ffffffff606085015116608084015260808401516118c960a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e08501526118f8828261183a565b95945050505050565b6001600160601b03811681146117f657600080fd5b60006020828403121561192857600080fd5b81356106a381611901565b602081526001600160401b0360c01b825116602082015260208201511515604082015260006040830151606080840152611970608084018261183a565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156119b0576119b0611978565b60405290565b604080519081016001600160401b03811182821017156119b0576119b0611978565b60405161010081016001600160401b03811182821017156119b0576119b0611978565b60405161014081016001600160401b03811182821017156119b0576119b0611978565b60405160a081016001600160401b03811182821017156119b0576119b0611978565b60405161020081016001600160401b03811182821017156119b0576119b0611978565b60405161012081016001600160401b03811182821017156119b0576119b0611978565b604051601f8201601f191681016001600160401b0381118282101715611aae57611aae611978565b604052919050565b60006001600160401b03821115611acf57611acf611978565b50601f01601f191660200190565b60008060408385031215611af057600080fd5b8235611afb81611901565b915060208301356001600160401b03811115611b1657600080fd5b8301601f81018513611b2757600080fd5b8035611b3a611b3582611ab6565b611a86565b818152866020838501011115611b4f57600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611b8157600080fd5b5035919050565b81516001600160601b031681526020808301516001600160a01b03169082015260408083015190820152606080830151610160830191611bd49084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151151561012083015260e08301516001600160a01b0381166101408401525092915050565b602081526001600160601b03825116602082015260006020830151604080840152611970606084018261183a565b80516001600160a01b031682526020810151611c8260208401826001600160a01b03169052565b506040810151611c9d60408401826001600160601b03169052565b506060810151611cb860608401826001600160601b03169052565b506080810151611cd5608084018280518252602090810151910152565b5060a0810151805160c0840152602081015160e08401525060c0810151610100611d0b8185018380518252602090810151910152565b60e0830151805161014086015260208101516101608601529150820151805161018085015260208101516101a0850152905050610120015180516101c0830152602001516101e090910152565b61020081016105518284611c5b565b60208152611d816020820183516001600160601b03169052565b60006020830151611d9d60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e08301516101008181850152808501519150506102006101208181860152611e1561022086018461183a565b9250808601519050610140601f198685030181870152611e35848361183a565b935080870151915050610160611e508187018361ffff169052565b8601519050610180611e678682018361ffff169052565b8601516101a08681019190915286015190506101c0611e8e8187018364ffffffffff169052565b86015190506101e0611ea88682018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b6020815260008251610120806020850152611ede61014085018361183a565b91506020850151604085015260408501516060850152606085015160808501526080850151611f1560a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e0850151610100611f4b8187018315159052565b860151858403601f1901838701529050611f65838261183a565b9695505050505050565b6001600160a01b03811681146117f657600080fd5b60008060408385031215611f9757600080fd5b8235611fa281611f6f565b915060208301356117d581611901565b600060208284031215611fc457600080fd5b5051919050565b600082601f830112611fdc57600080fd5b8151611fea611b3582611ab6565b818152846020838601011115611fff57600080fd5b611970826020830160208701611816565b60006020828403121561202257600080fd5b81516001600160401b0381111561203857600080fd5b61197084828501611fcb565b805161204f81611901565b919050565b63ffffffff811681146117f657600080fd5b805161204f81612054565b805164ffffffffff8116811461204f57600080fd5b60006020828403121561209857600080fd5b81516001600160401b03808211156120af57600080fd5b9083019060e082860312156120c357600080fd5b6120cb61198e565b6120d483612044565b81526020830151828111156120e857600080fd5b6120f487828601611fcb565b6020830152506040830151604082015261211060608401612066565b606082015261212160808401612066565b608082015261213260a08401612071565b60a082015260c08301518281111561214957600080fd5b61215587828601611fcb565b60c08301525095945050505050565b805161204f816117e0565b8051801515811461204f57600080fd5b60006020828403121561219157600080fd5b81516001600160401b03808211156121a857600080fd5b90830190606082860312156121bc57600080fd5b6040516060810181811083821117156121d7576121d7611978565b60405282516121e5816117e0565b81526121f36020840161216f565b602082015260408301518281111561220a57600080fd5b61221687828601611fcb565b60408301525095945050505050565b6001600160601b0383168152604060208201526000611970604083018461183a565b60006020828403121561225957600080fd5b81516106a3816117e0565b805161204f81611f6f565b60006040828403121561228157600080fd5b6122896119b6565b9050815181526020820151602082015292915050565b600061016082840312156122b257600080fd5b6122ba6119d8565b6122c383612044565b81526122d160208401612264565b6020820152604083015160408201526122ed846060850161226f565b60608201526122ff8460a0850161226f565b60808201526123118460e0850161226f565b60a0820152612323610120840161216f565b60c08201526123356101408401612264565b60e08201529392505050565b60006020828403121561235357600080fd5b81516001600160401b038082111561236a57600080fd5b908301906040828603121561237e57600080fd5b6123866119b6565b825161239181611901565b81526020830151828111156123a557600080fd5b6123b187828601611fcb565b60208301525095945050505050565b600061020082840312156123d357600080fd5b6123db6119fb565b90506123e682612264565b81526123f460208301612264565b602082015261240560408301612044565b604082015261241660608301612044565b6060820152612428836080840161226f565b608082015261243a8360c0840161226f565b60a082015261010061244e8482850161226f565b60c083015261246184610140850161226f565b60e083015261247484610180850161226f565b90820152612486836101c0840161226f565b61012082015292915050565b600061020082840312156124a557600080fd5b61054e83836123c0565b600060c082840312156124c157600080fd5b6124c9611a1e565b82516124d481611901565b815260208301516124e481611f6f565b60208201526124f6846040850161226f565b60408201526125076080840161216f565b606082015260a083015161251a81611f6f565b60808201529392505050565b60ff811681146117f657600080fd5b805161204f81612526565b600060a0828403121561255257600080fd5b61255a611a1e565b825161256581612526565b8152602083015161257581612526565b6020820152604083015161258881611f6f565b6040820152606083015161259b81612054565b6060820152608083015161251a81612054565b6000602082840312156125c057600080fd5b61054e8261216f565b6000602082840312156125db57600080fd5b61054e82612071565b805161ffff8116811461204f57600080fd5b60006020828403121561260857600080fd5b81516001600160401b038082111561261f57600080fd5b90830190610200828603121561263457600080fd5b61263c611a40565b61264583612044565b815261265360208401612044565b602082015261266460408401612164565b604082015261267560608401612164565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e082015261010080840151838111156126b657600080fd5b6126c288828701611fcb565b82840152505061012080840151838111156126dc57600080fd5b6126e888828701611fcb565b82840152505061014091506126fe8284016125e4565b8282015261016091506127128284016125e4565b82820152610180915081830151828201526101a09150612733828401612071565b828201526101c09150612747828401612071565b828201526101e0915061275b828401612071565b91810191909152949350505050565b60006020828403121561277c57600080fd5b81516001600160401b038082111561279357600080fd5b9083019061012082860312156127a857600080fd5b6127b0611a63565b8251828111156127bf57600080fd5b6127cb87828601611fcb565b8252506020830151602082015260408301516040820152606083015160608201526127f860808401612066565b608082015261280960a08401612066565b60a082015261281a60c0840161216f565b60c082015261282b60e0840161216f565b60e0820152610100808401518381111561284457600080fd5b61285088828701611fcb565b918301919091525095945050505050565b60006020828403121561287357600080fd5b81516001600160401b038082111561288a57600080fd5b9083019060e0828603121561289e57600080fd5b6128a661198e565b6128af83612044565b81526128bd60208401612044565b60208201526128ce60408401612535565b60408201526128df6060840161216f565b60608201526128f060808401612264565b608082015261213260a0840161226456fea2646970667358221220b90a380d460a6ee217547116d4af85c7fb03ac5af85464ab20619a79c2bb5a4964736f6c63430008140033",
1181
+ "bytecode": "0x608060405234801561001057600080fd5b50613197806100206000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c806390af706411610104578063c4d66de8116100a2578063de7b5d1411610071578063de7b5d141461055a578063f0ea17c314610570578063f2b246c314610590578063f7f318d3146105b057600080fd5b8063c4d66de814610501578063d06458c614610516578063d4cda0d814610536578063dd26287a1461054757600080fd5b8063a5961b4c116100de578063a5961b4c1461042a578063a7ef3d2114610497578063b82d7ef5146104b7578063bd7d9d85146104e157600080fd5b806390af7064146103505780639ad69c6714610370578063a310e2a3146103ff57600080fd5b80634793b4ab116101715780637bfd32171161014b5780637bfd3217146102f75780637e54602a1461030a578063887b1fa91461031d5780639096a1f31461033d57600080fd5b80634793b4ab1461029f57806364eb3a9b146102bf57806378ae9350146102d257600080fd5b806327b1d792116101ad57806327b1d7921461022d57806335898f5d1461024d5780633f093cd61461026057806344aa68361461028c57600080fd5b80631488c845146101d45780631d3be477146101fa57806325d037431461021a575b600080fd5b6101e76101e2366004611ba9565b6105c3565b6040519081526020015b60405180910390f35b61020d610208366004611bf8565b61064b565b6040516101f19190611c65565b6101e7610228366004611d16565b6107a4565b61024061023b366004611d16565b61083e565b6040516101f19190611d33565b6101e761025b366004611d16565b61091a565b61027361026e366004611f18565b610947565b6040516001600160c01b031990911681526020016101f1565b6101e761029a366004611faa565b6109c4565b6102b26102ad366004611d16565b6109ff565b6040516101f19190611fc3565b6101e76102cd366004611d16565b610aa5565b6102e56102e03660046120b6565b610ad2565b60405160ff90911681526020016101f1565b6101e7610305366004611d16565b610bcd565b6101e7610318366004611d16565b610bfa565b61033061032b366004611bf8565b610c27565b6040516101f191906120e4565b6102e561034b366004611d16565b610d50565b61036361035e366004611d16565b610dcc565b6040516101f1919061211a565b61038361037e366004611d16565b610e72565b6040516101f1919081516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b61041261040d366004611d16565b610f18565b6040516001600160a01b0390911681526020016101f1565b61043d610438366004611faa565b610fc6565b6040516101f19190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b6104aa6104a53660046120b6565b61105a565b6040516101f191906121c7565b6104ca6104c5366004611bf8565b6111b7565b6040805192835260ff9091166020830152016101f1565b6104f46104ef366004611d16565b61145f565b6040516101f1919061223b565b61051461050f3660046123ad565b61157d565b005b610529610524366004611bf8565b611696565b6040516101f191906123ca565b6001546001600160a01b0316610412565b6101e7610555366004611d16565b611809565b60005461010090046001600160a01b0316610412565b61058361057e366004611d16565b611836565b6040516101f1919061247a565b6105a361059e366004611d16565b61190b565b6040516101f191906124fb565b6101e76105be366004611d16565b611a53565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af415801561061e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064291906125fd565b90505b92915050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af41580156106f2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071691906125fd565b6040518263ffffffff1660e01b815260040161073491815260200190565b600060405180830381865afa158015610751573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610779919081019061265b565b80519091501561079e578080602001905181019061079791906126da565b9392505050565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af415801561081a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064591906125fd565b61087c6040518060a0016040528060006001600160c01b03191681526020016000151581526020016060815260200160008152602001600081525090565b6001546000906001600160a01b03166354f6127f61089985610bfa565b6040518263ffffffff1660e01b81526004016108b791815260200190565b600060405180830381865afa1580156108d4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108fc919081019061265b565b80519091501561079e578080602001905181019061079791906127d3565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660786107cd565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd690610983908690869060040161287a565b602060405180830381865af41580156109a0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610642919061289c565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa6836906024016107fd565b610a07611a80565b6001546000906001600160a01b03166354f6127f610a2485611a53565b6040518263ffffffff1660e01b8152600401610a4291815260200190565b600060405180830381865afa158015610a5f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a87919081019061265b565b80519091501561079e578080602001905181019061079791906128e9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d36107cd565b600154604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201526000916001600160a01b0316906309648a9d9073__$0e0c503522f35343ef1955427c5075b143$__9063faac2b2290604401602060405180830381865af4158015610b4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b6e91906125fd565b6040518263ffffffff1660e01b8152600401610b8c91815260200190565b602060405180830381865afa158015610ba9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064291906129ff565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e6107cd565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a6107cd565b6040805180820190915260008152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610cab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ccf91906125fd565b6040518263ffffffff1660e01b8152600401610ced91815260200190565b600060405180830381865afa158015610d0a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d32919081019061265b565b80519091501561079e57808060200190518101906107979190612a1c565b6001546000906001600160a01b03166309648a9d610d6d84610aa5565b6040518263ffffffff1660e01b8152600401610d8b91815260200190565b602060405180830381865afa158015610da8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064591906129ff565b610dd4611af1565b6001546000906001600160a01b03166354f6127f610df185610bcd565b6040518263ffffffff1660e01b8152600401610e0f91815260200190565b600060405180830381865afa158015610e2c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e54919081019061265b565b80519091501561079e57808060200190518101906107979190612aa6565b610e7a611b61565b6001546000906001600160a01b03166354f6127f610e978561091a565b6040518263ffffffff1660e01b8152600401610eb591815260200190565b600060405180830381865afa158015610ed2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610efa919081019061265b565b80519091501561079e57808060200190518101906107979190612b4e565b60015460009081906001600160a01b03166354f6127f610f37856107a4565b6040518263ffffffff1660e01b8152600401610f5591815260200190565b600060405180830381865afa158015610f72573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f9a919081019061265b565b80519091501561079e57600081806020019051810190610fba9190612bd2565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015611036573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106459190612ca3565b6040805160c0810182526000808252602082018190529181018290526060808201839052608082015260a0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$0e0c503522f35343ef1955427c5075b143$__9063faac2b2290604401602060405180830381865af4158015611103573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061112791906125fd565b6040518263ffffffff1660e01b815260040161114591815260200190565b600060405180830381865afa158015611162573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261118a919081019061265b565b8051909150156111b057808060200190518101906111a89190612d1d565b915050610645565b5092915050565b60008060006111c58461064b565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015611224573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112489190612de4565b156112c75773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611296573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ba91906125fd565b60645b9250925050915091565b61134b8160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611318573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061133c9190612dff565b64ffffffffff90811691161090565b156113c45773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611399573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113bd91906125fd565b606e6112bd565b806060015163ffffffff16816080015163ffffffff16106114535773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611428573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061144c91906125fd565b60786112bd565b6040810151600a6112bd565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526001546000906001600160a01b03166354f6127f6114fc85610aa5565b6040518263ffffffff1660e01b815260040161151a91815260200190565b600060405180830381865afa158015611537573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261155f919081019061265b565b80519091501561079e57808060200190518101906107979190612e27565b60005460ff16156115a15760405163ae9eff1b60e01b815260040160405180910390fd5b6001600160a01b0381166115c857604051630cc51a5560e21b815260040160405180910390fd5b80600060016101000a8154816001600160a01b0302191690836001600160a01b03160217905550600060019054906101000a90046001600160a01b03166001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611642573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116669190612f9a565b600180546001600160a01b0319166001600160a01b03929092169190911781556000805460ff1916909117905550565b6116f560405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015611764573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061178891906125fd565b6040518263ffffffff1660e01b81526004016117a691815260200190565b600060405180830381865afa1580156117c3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526117eb919081019061265b565b80519091501561079e57808060200190518101906107979190612fb7565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c6107cd565b6040805160e08101825260608082526000602083018190529282018390528082018390526080820183905260a0820183905260c08201526001549091906001600160a01b03166354f6127f61188a85611809565b6040518263ffffffff1660e01b81526004016118a891815260200190565b600060405180830381865afa1580156118c5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526118ed919081019061265b565b80519091501561079e578080602001905181019061079791906130ae565b6119b5604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6001546000906001600160a01b03166354f6127f6119d2856107a4565b6040518263ffffffff1660e01b81526004016119f091815260200190565b600060405180830381865afa158015611a0d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a35919081019061265b565b80519091501561079e57808060200190518101906107979190612bd2565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc6107cd565b60405180610120016040528060006001600160601b03168152602001611ab9604051806040016040528060008152602001600081525090565b81526060602082018190526000604083018190529082018190526080820181905260a0820181905260c0820181905260e09091015290565b6040805161010081018252600080825260208083018290528284018290526060830182905283518085019094528184528301529060808201905b8152602001611b4d604051806040016040528060008152602001600081525090565b815260006020820181905260409091015290565b6040518060c0016040528060006001600160601b0316815260200160006001600160a01b03168152602001611b2b604051806040016040528060008152602001600081525090565b60008060408385031215611bbc57600080fd5b8235915060208301358060000b8114611bd457600080fd5b809150509250929050565b6001600160c01b031981168114611bf557600080fd5b50565b600060208284031215611c0a57600080fd5b813561079781611bdf565b60005b83811015611c30578181015183820152602001611c18565b50506000910152565b60008151808452611c51816020860160208601611c15565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e06040840152611c95610100840182611c39565b90506040840151606084015263ffffffff60608501511660808401526080840151611cc860a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e0850152611cf88282611c39565b95945050505050565b6001600160601b0381168114611bf557600080fd5b600060208284031215611d2857600080fd5b813561079781611d01565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a06060840152611d7160c0840182611c39565b905060608401516080840152608084015160a08401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611dc957611dc9611d91565b60405290565b60405160a081016001600160401b0381118282101715611dc957611dc9611d91565b604080519081016001600160401b0381118282101715611dc957611dc9611d91565b60405161012081016001600160401b0381118282101715611dc957611dc9611d91565b60405161010081016001600160401b0381118282101715611dc957611dc9611d91565b60405160c081016001600160401b0381118282101715611dc957611dc9611d91565b60405161014081016001600160401b0381118282101715611dc957611dc9611d91565b60405161020081016001600160401b0381118282101715611dc957611dc9611d91565b604051601f8201601f191681016001600160401b0381118282101715611ee957611ee9611d91565b604052919050565b60006001600160401b03821115611f0a57611f0a611d91565b50601f01601f191660200190565b60008060408385031215611f2b57600080fd5b8235611f3681611d01565b915060208301356001600160401b03811115611f5157600080fd5b8301601f81018513611f6257600080fd5b8035611f75611f7082611ef1565b611ec1565b818152866020838501011115611f8a57600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611fbc57600080fd5b5035919050565b60208152611fdd6020820183516001600160601b03169052565b60006020830151611ffb604084018280518252602090810151910152565b506040830151610140806080850152612018610160850183611c39565b9150606085015161203460a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c08501516101006120798187018364ffffffffff169052565b60e087015164ffffffffff811661012088015291505b9095015164ffffffffff1693019290925250919050565b61ffff81168114611bf557600080fd5b600080604083850312156120c957600080fd5b82356120d481611d01565b91506020830135611bd4816120a6565b602081526001600160601b038251166020820152600060208301516040808401526121126060840182611c39565b949350505050565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b031690820152606080830151610140830191612169908401826001600160601b03169052565b506080830151612186608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b0381166101208401526111b0565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260ff6060840151166080830152608083015160c060a084015261221e60e0840182611c39565b905064ffffffffff60a08501511660c08401528091505092915050565b602081526122556020820183516001600160601b03169052565b6000602083015161227160408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e08301516101006122d68185018364ffffffffff169052565b8085015191505061020061012081818601526122f6610220860184611c39565b9250808601519050610140601f1986850301818701526123168483611c39565b9350808701519150506101606123318187018361ffff169052565b86015190506101806123488682018361ffff169052565b86015190506101a0612364868201836001600160601b03169052565b86015190506101c061237e8682018364ffffffffff169052565b86015190506101e061208f8682018364ffffffffff169052565b6001600160a01b0381168114611bf557600080fd5b6000602082840312156123bf57600080fd5b813561079781612398565b60208152600082516101208060208501526123e9610140850183611c39565b9150602085015160408501526040850151606085015260608501516080850152608085015161242060a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006124568187018315159052565b860151858403601f19018387015290506124708382611c39565b9695505050505050565b602081526000825160e06020840152612497610100840182611c39565b9050602084015160018060a01b038082166040860152806040870151166060860152806060870151166080860152505060808401516124e160a08501826001600160601b03169052565b5060a08401516001600160601b03811660c0850152611cdc565b81516001600160a01b031681526102008101602083015161252760208401826001600160a01b03169052565b50604083015161254260408401826001600160601b03169052565b50606083015161255d60608401826001600160601b03169052565b50608083015161257a608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301516101006125b08185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e085015290506111b0565b60006020828403121561260f57600080fd5b5051919050565b600082601f83011261262757600080fd5b8151612635611f7082611ef1565b81815284602083860101111561264a57600080fd5b612112826020830160208701611c15565b60006020828403121561266d57600080fd5b81516001600160401b0381111561268357600080fd5b61211284828501612616565b805161269a81611d01565b919050565b63ffffffff81168114611bf557600080fd5b805161269a8161269f565b64ffffffffff81168114611bf557600080fd5b805161269a816126bc565b6000602082840312156126ec57600080fd5b81516001600160401b038082111561270357600080fd5b9083019060e0828603121561271757600080fd5b61271f611da7565b6127288361268f565b815260208301518281111561273c57600080fd5b61274887828601612616565b60208301525060408301516040820152612764606084016126b1565b6060820152612775608084016126b1565b608082015261278660a084016126cf565b60a082015260c08301518281111561279d57600080fd5b6127a987828601612616565b60c08301525095945050505050565b805161269a81611bdf565b8051801515811461269a57600080fd5b6000602082840312156127e557600080fd5b81516001600160401b03808211156127fc57600080fd5b9083019060a0828603121561281057600080fd5b612818611dcf565b825161282381611bdf565b8152612831602084016127c3565b602082015260408301518281111561284857600080fd5b61285487828601612616565b604083015250606083015160608201526080830151608082015280935050505092915050565b6001600160601b03831681526040602082015260006121126040830184611c39565b6000602082840312156128ae57600080fd5b815161079781611bdf565b6000604082840312156128cb57600080fd5b6128d3611df1565b9050815181526020820151602082015292915050565b6000602082840312156128fb57600080fd5b81516001600160401b038082111561291257600080fd5b90830190610140828603121561292757600080fd5b61292f611e13565b6129388361268f565b815261294786602085016128b9565b602082015260608301518281111561295e57600080fd5b61296a87828601612616565b60408301525061297c6080840161268f565b606082015261298d60a0840161268f565b608082015261299e60c0840161268f565b60a08201526129af60e084016126cf565b60c082015261010091506129c48284016126cf565b60e08201526129d661012084016126cf565b91810191909152949350505050565b60ff81168114611bf557600080fd5b805161269a816129e5565b600060208284031215612a1157600080fd5b8151610797816129e5565b600060208284031215612a2e57600080fd5b81516001600160401b0380821115612a4557600080fd5b9083019060408286031215612a5957600080fd5b612a61611df1565b8251612a6c81611d01565b8152602083015182811115612a8057600080fd5b612a8c87828601612616565b60208301525095945050505050565b805161269a81612398565b60006101408284031215612ab957600080fd5b612ac1611e36565b612aca83612a9b565b8152612ad860208401612a9b565b6020820152612ae96040840161268f565b6040820152612afa6060840161268f565b6060820152612b0c84608085016128b9565b6080820152612b1e8460c085016128b9565b60a0820152612b3061010084016127c3565b60c0820152612b426101208401612a9b565b60e08201529392505050565b60006101008284031215612b6157600080fd5b612b69611e59565b8251612b7481611d01565b81526020830151612b8481612398565b6020820152612b9684604085016128b9565b6040820152612ba884608085016128b9565b606082015260c0830151612bbb81612398565b608082015260e0929092015160a083015250919050565b60006102008284031215612be557600080fd5b612bed611e7b565b612bf683612a9b565b8152612c0460208401612a9b565b6020820152612c156040840161268f565b6040820152612c266060840161268f565b6060820152612c3884608085016128b9565b6080820152612c4a8460c085016128b9565b60a0820152610100612c5e858286016128b9565b60c0830152612c718561014086016128b9565b60e0830152612c848561018086016128b9565b90820152612c96846101c085016128b9565b6101208201529392505050565b600060a08284031215612cb557600080fd5b612cbd611dcf565b8251612cc8816129e5565b81526020830151612cd8816129e5565b60208201526040830151612ceb81612398565b60408201526060830151612cfe8161269f565b60608201526080830151612d118161269f565b60808201529392505050565b600060208284031215612d2f57600080fd5b81516001600160401b0380821115612d4657600080fd5b9083019060c08286031215612d5a57600080fd5b612d62611e59565b8251612d6d81611d01565b81526020830151612d7d81611d01565b60208201526040830151612d90816129e5565b6040820152612da1606084016129f4565b6060820152608083015182811115612db857600080fd5b612dc487828601612616565b608083015250612dd660a084016126cf565b60a082015295945050505050565b600060208284031215612df657600080fd5b610642826127c3565b600060208284031215612e1157600080fd5b8151610797816126bc565b805161269a816120a6565b600060208284031215612e3957600080fd5b81516001600160401b0380821115612e5057600080fd5b908301906102008286031215612e6557600080fd5b612e6d611e9e565b612e768361268f565b8152612e846020840161268f565b6020820152612e95604084016127b8565b6040820152612ea6606084016127b8565b60608201526080830151608082015260a083015160a082015260c083015160c0820152612ed560e084016126cf565b60e08201526101008084015183811115612eee57600080fd5b612efa88828701612616565b8284015250506101208084015183811115612f1457600080fd5b612f2088828701612616565b8284015250506101409150612f36828401612e1c565b828201526101609150612f4a828401612e1c565b828201526101809150612f5e82840161268f565b828201526101a09150612f728284016126cf565b828201526101c09150612f868284016126cf565b828201526101e091506129d68284016126cf565b600060208284031215612fac57600080fd5b815161079781612398565b600060208284031215612fc957600080fd5b81516001600160401b0380821115612fe057600080fd5b908301906101208286031215612ff557600080fd5b612ffd611e13565b82518281111561300c57600080fd5b61301887828601612616565b825250602083015160208201526040830151604082015260608301516060820152613045608084016126b1565b608082015261305660a084016126b1565b60a082015261306760c084016127c3565b60c082015261307860e084016127c3565b60e0820152610100808401518381111561309157600080fd5b61309d88828701612616565b918301919091525095945050505050565b6000602082840312156130c057600080fd5b81516001600160401b03808211156130d757600080fd5b9083019060e082860312156130eb57600080fd5b6130f3611da7565b82518281111561310257600080fd5b61310e87828601612616565b82525061311d60208401612a9b565b602082015261312e60408401612a9b565b604082015261313f60608401612a9b565b60608201526131506080840161268f565b608082015261278660a0840161268f56fea2646970667358221220a2329e56a32cf5d78f9566a5defac0cfd6a91c0f1aef61107e821a8a516b574664736f6c63430008140033",
1182
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c806390af706411610104578063c4d66de8116100a2578063de7b5d1411610071578063de7b5d141461055a578063f0ea17c314610570578063f2b246c314610590578063f7f318d3146105b057600080fd5b8063c4d66de814610501578063d06458c614610516578063d4cda0d814610536578063dd26287a1461054757600080fd5b8063a5961b4c116100de578063a5961b4c1461042a578063a7ef3d2114610497578063b82d7ef5146104b7578063bd7d9d85146104e157600080fd5b806390af7064146103505780639ad69c6714610370578063a310e2a3146103ff57600080fd5b80634793b4ab116101715780637bfd32171161014b5780637bfd3217146102f75780637e54602a1461030a578063887b1fa91461031d5780639096a1f31461033d57600080fd5b80634793b4ab1461029f57806364eb3a9b146102bf57806378ae9350146102d257600080fd5b806327b1d792116101ad57806327b1d7921461022d57806335898f5d1461024d5780633f093cd61461026057806344aa68361461028c57600080fd5b80631488c845146101d45780631d3be477146101fa57806325d037431461021a575b600080fd5b6101e76101e2366004611ba9565b6105c3565b6040519081526020015b60405180910390f35b61020d610208366004611bf8565b61064b565b6040516101f19190611c65565b6101e7610228366004611d16565b6107a4565b61024061023b366004611d16565b61083e565b6040516101f19190611d33565b6101e761025b366004611d16565b61091a565b61027361026e366004611f18565b610947565b6040516001600160c01b031990911681526020016101f1565b6101e761029a366004611faa565b6109c4565b6102b26102ad366004611d16565b6109ff565b6040516101f19190611fc3565b6101e76102cd366004611d16565b610aa5565b6102e56102e03660046120b6565b610ad2565b60405160ff90911681526020016101f1565b6101e7610305366004611d16565b610bcd565b6101e7610318366004611d16565b610bfa565b61033061032b366004611bf8565b610c27565b6040516101f191906120e4565b6102e561034b366004611d16565b610d50565b61036361035e366004611d16565b610dcc565b6040516101f1919061211a565b61038361037e366004611d16565b610e72565b6040516101f1919081516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b61041261040d366004611d16565b610f18565b6040516001600160a01b0390911681526020016101f1565b61043d610438366004611faa565b610fc6565b6040516101f19190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b6104aa6104a53660046120b6565b61105a565b6040516101f191906121c7565b6104ca6104c5366004611bf8565b6111b7565b6040805192835260ff9091166020830152016101f1565b6104f46104ef366004611d16565b61145f565b6040516101f1919061223b565b61051461050f3660046123ad565b61157d565b005b610529610524366004611bf8565b611696565b6040516101f191906123ca565b6001546001600160a01b0316610412565b6101e7610555366004611d16565b611809565b60005461010090046001600160a01b0316610412565b61058361057e366004611d16565b611836565b6040516101f1919061247a565b6105a361059e366004611d16565b61190b565b6040516101f191906124fb565b6101e76105be366004611d16565b611a53565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af415801561061e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064291906125fd565b90505b92915050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af41580156106f2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071691906125fd565b6040518263ffffffff1660e01b815260040161073491815260200190565b600060405180830381865afa158015610751573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610779919081019061265b565b80519091501561079e578080602001905181019061079791906126da565b9392505050565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af415801561081a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064591906125fd565b61087c6040518060a0016040528060006001600160c01b03191681526020016000151581526020016060815260200160008152602001600081525090565b6001546000906001600160a01b03166354f6127f61089985610bfa565b6040518263ffffffff1660e01b81526004016108b791815260200190565b600060405180830381865afa1580156108d4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108fc919081019061265b565b80519091501561079e578080602001905181019061079791906127d3565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660786107cd565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd690610983908690869060040161287a565b602060405180830381865af41580156109a0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610642919061289c565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa6836906024016107fd565b610a07611a80565b6001546000906001600160a01b03166354f6127f610a2485611a53565b6040518263ffffffff1660e01b8152600401610a4291815260200190565b600060405180830381865afa158015610a5f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a87919081019061265b565b80519091501561079e578080602001905181019061079791906128e9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d36107cd565b600154604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201526000916001600160a01b0316906309648a9d9073__$0e0c503522f35343ef1955427c5075b143$__9063faac2b2290604401602060405180830381865af4158015610b4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b6e91906125fd565b6040518263ffffffff1660e01b8152600401610b8c91815260200190565b602060405180830381865afa158015610ba9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064291906129ff565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e6107cd565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a6107cd565b6040805180820190915260008152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610cab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ccf91906125fd565b6040518263ffffffff1660e01b8152600401610ced91815260200190565b600060405180830381865afa158015610d0a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d32919081019061265b565b80519091501561079e57808060200190518101906107979190612a1c565b6001546000906001600160a01b03166309648a9d610d6d84610aa5565b6040518263ffffffff1660e01b8152600401610d8b91815260200190565b602060405180830381865afa158015610da8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064591906129ff565b610dd4611af1565b6001546000906001600160a01b03166354f6127f610df185610bcd565b6040518263ffffffff1660e01b8152600401610e0f91815260200190565b600060405180830381865afa158015610e2c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e54919081019061265b565b80519091501561079e57808060200190518101906107979190612aa6565b610e7a611b61565b6001546000906001600160a01b03166354f6127f610e978561091a565b6040518263ffffffff1660e01b8152600401610eb591815260200190565b600060405180830381865afa158015610ed2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610efa919081019061265b565b80519091501561079e57808060200190518101906107979190612b4e565b60015460009081906001600160a01b03166354f6127f610f37856107a4565b6040518263ffffffff1660e01b8152600401610f5591815260200190565b600060405180830381865afa158015610f72573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f9a919081019061265b565b80519091501561079e57600081806020019051810190610fba9190612bd2565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015611036573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106459190612ca3565b6040805160c0810182526000808252602082018190529181018290526060808201839052608082015260a0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$0e0c503522f35343ef1955427c5075b143$__9063faac2b2290604401602060405180830381865af4158015611103573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061112791906125fd565b6040518263ffffffff1660e01b815260040161114591815260200190565b600060405180830381865afa158015611162573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261118a919081019061265b565b8051909150156111b057808060200190518101906111a89190612d1d565b915050610645565b5092915050565b60008060006111c58461064b565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015611224573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112489190612de4565b156112c75773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611296573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ba91906125fd565b60645b9250925050915091565b61134b8160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611318573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061133c9190612dff565b64ffffffffff90811691161090565b156113c45773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611399573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113bd91906125fd565b606e6112bd565b806060015163ffffffff16816080015163ffffffff16106114535773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611428573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061144c91906125fd565b60786112bd565b6040810151600a6112bd565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526001546000906001600160a01b03166354f6127f6114fc85610aa5565b6040518263ffffffff1660e01b815260040161151a91815260200190565b600060405180830381865afa158015611537573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261155f919081019061265b565b80519091501561079e57808060200190518101906107979190612e27565b60005460ff16156115a15760405163ae9eff1b60e01b815260040160405180910390fd5b6001600160a01b0381166115c857604051630cc51a5560e21b815260040160405180910390fd5b80600060016101000a8154816001600160a01b0302191690836001600160a01b03160217905550600060019054906101000a90046001600160a01b03166001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611642573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116669190612f9a565b600180546001600160a01b0319166001600160a01b03929092169190911781556000805460ff1916909117905550565b6116f560405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015611764573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061178891906125fd565b6040518263ffffffff1660e01b81526004016117a691815260200190565b600060405180830381865afa1580156117c3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526117eb919081019061265b565b80519091501561079e57808060200190518101906107979190612fb7565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c6107cd565b6040805160e08101825260608082526000602083018190529282018390528082018390526080820183905260a0820183905260c08201526001549091906001600160a01b03166354f6127f61188a85611809565b6040518263ffffffff1660e01b81526004016118a891815260200190565b600060405180830381865afa1580156118c5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526118ed919081019061265b565b80519091501561079e578080602001905181019061079791906130ae565b6119b5604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6001546000906001600160a01b03166354f6127f6119d2856107a4565b6040518263ffffffff1660e01b81526004016119f091815260200190565b600060405180830381865afa158015611a0d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a35919081019061265b565b80519091501561079e57808060200190518101906107979190612bd2565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc6107cd565b60405180610120016040528060006001600160601b03168152602001611ab9604051806040016040528060008152602001600081525090565b81526060602082018190526000604083018190529082018190526080820181905260a0820181905260c0820181905260e09091015290565b6040805161010081018252600080825260208083018290528284018290526060830182905283518085019094528184528301529060808201905b8152602001611b4d604051806040016040528060008152602001600081525090565b815260006020820181905260409091015290565b6040518060c0016040528060006001600160601b0316815260200160006001600160a01b03168152602001611b2b604051806040016040528060008152602001600081525090565b60008060408385031215611bbc57600080fd5b8235915060208301358060000b8114611bd457600080fd5b809150509250929050565b6001600160c01b031981168114611bf557600080fd5b50565b600060208284031215611c0a57600080fd5b813561079781611bdf565b60005b83811015611c30578181015183820152602001611c18565b50506000910152565b60008151808452611c51816020860160208601611c15565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e06040840152611c95610100840182611c39565b90506040840151606084015263ffffffff60608501511660808401526080840151611cc860a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e0850152611cf88282611c39565b95945050505050565b6001600160601b0381168114611bf557600080fd5b600060208284031215611d2857600080fd5b813561079781611d01565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a06060840152611d7160c0840182611c39565b905060608401516080840152608084015160a08401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611dc957611dc9611d91565b60405290565b60405160a081016001600160401b0381118282101715611dc957611dc9611d91565b604080519081016001600160401b0381118282101715611dc957611dc9611d91565b60405161012081016001600160401b0381118282101715611dc957611dc9611d91565b60405161010081016001600160401b0381118282101715611dc957611dc9611d91565b60405160c081016001600160401b0381118282101715611dc957611dc9611d91565b60405161014081016001600160401b0381118282101715611dc957611dc9611d91565b60405161020081016001600160401b0381118282101715611dc957611dc9611d91565b604051601f8201601f191681016001600160401b0381118282101715611ee957611ee9611d91565b604052919050565b60006001600160401b03821115611f0a57611f0a611d91565b50601f01601f191660200190565b60008060408385031215611f2b57600080fd5b8235611f3681611d01565b915060208301356001600160401b03811115611f5157600080fd5b8301601f81018513611f6257600080fd5b8035611f75611f7082611ef1565b611ec1565b818152866020838501011115611f8a57600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611fbc57600080fd5b5035919050565b60208152611fdd6020820183516001600160601b03169052565b60006020830151611ffb604084018280518252602090810151910152565b506040830151610140806080850152612018610160850183611c39565b9150606085015161203460a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c08501516101006120798187018364ffffffffff169052565b60e087015164ffffffffff811661012088015291505b9095015164ffffffffff1693019290925250919050565b61ffff81168114611bf557600080fd5b600080604083850312156120c957600080fd5b82356120d481611d01565b91506020830135611bd4816120a6565b602081526001600160601b038251166020820152600060208301516040808401526121126060840182611c39565b949350505050565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b031690820152606080830151610140830191612169908401826001600160601b03169052565b506080830151612186608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b0381166101208401526111b0565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260ff6060840151166080830152608083015160c060a084015261221e60e0840182611c39565b905064ffffffffff60a08501511660c08401528091505092915050565b602081526122556020820183516001600160601b03169052565b6000602083015161227160408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e08301516101006122d68185018364ffffffffff169052565b8085015191505061020061012081818601526122f6610220860184611c39565b9250808601519050610140601f1986850301818701526123168483611c39565b9350808701519150506101606123318187018361ffff169052565b86015190506101806123488682018361ffff169052565b86015190506101a0612364868201836001600160601b03169052565b86015190506101c061237e8682018364ffffffffff169052565b86015190506101e061208f8682018364ffffffffff169052565b6001600160a01b0381168114611bf557600080fd5b6000602082840312156123bf57600080fd5b813561079781612398565b60208152600082516101208060208501526123e9610140850183611c39565b9150602085015160408501526040850151606085015260608501516080850152608085015161242060a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006124568187018315159052565b860151858403601f19018387015290506124708382611c39565b9695505050505050565b602081526000825160e06020840152612497610100840182611c39565b9050602084015160018060a01b038082166040860152806040870151166060860152806060870151166080860152505060808401516124e160a08501826001600160601b03169052565b5060a08401516001600160601b03811660c0850152611cdc565b81516001600160a01b031681526102008101602083015161252760208401826001600160a01b03169052565b50604083015161254260408401826001600160601b03169052565b50606083015161255d60608401826001600160601b03169052565b50608083015161257a608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301516101006125b08185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e085015290506111b0565b60006020828403121561260f57600080fd5b5051919050565b600082601f83011261262757600080fd5b8151612635611f7082611ef1565b81815284602083860101111561264a57600080fd5b612112826020830160208701611c15565b60006020828403121561266d57600080fd5b81516001600160401b0381111561268357600080fd5b61211284828501612616565b805161269a81611d01565b919050565b63ffffffff81168114611bf557600080fd5b805161269a8161269f565b64ffffffffff81168114611bf557600080fd5b805161269a816126bc565b6000602082840312156126ec57600080fd5b81516001600160401b038082111561270357600080fd5b9083019060e0828603121561271757600080fd5b61271f611da7565b6127288361268f565b815260208301518281111561273c57600080fd5b61274887828601612616565b60208301525060408301516040820152612764606084016126b1565b6060820152612775608084016126b1565b608082015261278660a084016126cf565b60a082015260c08301518281111561279d57600080fd5b6127a987828601612616565b60c08301525095945050505050565b805161269a81611bdf565b8051801515811461269a57600080fd5b6000602082840312156127e557600080fd5b81516001600160401b03808211156127fc57600080fd5b9083019060a0828603121561281057600080fd5b612818611dcf565b825161282381611bdf565b8152612831602084016127c3565b602082015260408301518281111561284857600080fd5b61285487828601612616565b604083015250606083015160608201526080830151608082015280935050505092915050565b6001600160601b03831681526040602082015260006121126040830184611c39565b6000602082840312156128ae57600080fd5b815161079781611bdf565b6000604082840312156128cb57600080fd5b6128d3611df1565b9050815181526020820151602082015292915050565b6000602082840312156128fb57600080fd5b81516001600160401b038082111561291257600080fd5b90830190610140828603121561292757600080fd5b61292f611e13565b6129388361268f565b815261294786602085016128b9565b602082015260608301518281111561295e57600080fd5b61296a87828601612616565b60408301525061297c6080840161268f565b606082015261298d60a0840161268f565b608082015261299e60c0840161268f565b60a08201526129af60e084016126cf565b60c082015261010091506129c48284016126cf565b60e08201526129d661012084016126cf565b91810191909152949350505050565b60ff81168114611bf557600080fd5b805161269a816129e5565b600060208284031215612a1157600080fd5b8151610797816129e5565b600060208284031215612a2e57600080fd5b81516001600160401b0380821115612a4557600080fd5b9083019060408286031215612a5957600080fd5b612a61611df1565b8251612a6c81611d01565b8152602083015182811115612a8057600080fd5b612a8c87828601612616565b60208301525095945050505050565b805161269a81612398565b60006101408284031215612ab957600080fd5b612ac1611e36565b612aca83612a9b565b8152612ad860208401612a9b565b6020820152612ae96040840161268f565b6040820152612afa6060840161268f565b6060820152612b0c84608085016128b9565b6080820152612b1e8460c085016128b9565b60a0820152612b3061010084016127c3565b60c0820152612b426101208401612a9b565b60e08201529392505050565b60006101008284031215612b6157600080fd5b612b69611e59565b8251612b7481611d01565b81526020830151612b8481612398565b6020820152612b9684604085016128b9565b6040820152612ba884608085016128b9565b606082015260c0830151612bbb81612398565b608082015260e0929092015160a083015250919050565b60006102008284031215612be557600080fd5b612bed611e7b565b612bf683612a9b565b8152612c0460208401612a9b565b6020820152612c156040840161268f565b6040820152612c266060840161268f565b6060820152612c3884608085016128b9565b6080820152612c4a8460c085016128b9565b60a0820152610100612c5e858286016128b9565b60c0830152612c718561014086016128b9565b60e0830152612c848561018086016128b9565b90820152612c96846101c085016128b9565b6101208201529392505050565b600060a08284031215612cb557600080fd5b612cbd611dcf565b8251612cc8816129e5565b81526020830151612cd8816129e5565b60208201526040830151612ceb81612398565b60408201526060830151612cfe8161269f565b60608201526080830151612d118161269f565b60808201529392505050565b600060208284031215612d2f57600080fd5b81516001600160401b0380821115612d4657600080fd5b9083019060c08286031215612d5a57600080fd5b612d62611e59565b8251612d6d81611d01565b81526020830151612d7d81611d01565b60208201526040830151612d90816129e5565b6040820152612da1606084016129f4565b6060820152608083015182811115612db857600080fd5b612dc487828601612616565b608083015250612dd660a084016126cf565b60a082015295945050505050565b600060208284031215612df657600080fd5b610642826127c3565b600060208284031215612e1157600080fd5b8151610797816126bc565b805161269a816120a6565b600060208284031215612e3957600080fd5b81516001600160401b0380821115612e5057600080fd5b908301906102008286031215612e6557600080fd5b612e6d611e9e565b612e768361268f565b8152612e846020840161268f565b6020820152612e95604084016127b8565b6040820152612ea6606084016127b8565b60608201526080830151608082015260a083015160a082015260c083015160c0820152612ed560e084016126cf565b60e08201526101008084015183811115612eee57600080fd5b612efa88828701612616565b8284015250506101208084015183811115612f1457600080fd5b612f2088828701612616565b8284015250506101409150612f36828401612e1c565b828201526101609150612f4a828401612e1c565b828201526101809150612f5e82840161268f565b828201526101a09150612f728284016126cf565b828201526101c09150612f868284016126cf565b828201526101e091506129d68284016126cf565b600060208284031215612fac57600080fd5b815161079781612398565b600060208284031215612fc957600080fd5b81516001600160401b0380821115612fe057600080fd5b908301906101208286031215612ff557600080fd5b612ffd611e13565b82518281111561300c57600080fd5b61301887828601612616565b825250602083015160208201526040830151604082015260608301516060820152613045608084016126b1565b608082015261305660a084016126b1565b60a082015261306760c084016127c3565b60c082015261307860e084016127c3565b60e0820152610100808401518381111561309157600080fd5b61309d88828701612616565b918301919091525095945050505050565b6000602082840312156130c057600080fd5b81516001600160401b03808211156130d757600080fd5b9083019060e082860312156130eb57600080fd5b6130f3611da7565b82518281111561310257600080fd5b61310e87828601612616565b82525061311d60208401612a9b565b602082015261312e60408401612a9b565b604082015261313f60608401612a9b565b60608201526131506080840161268f565b608082015261278660a0840161268f56fea2646970667358221220a2329e56a32cf5d78f9566a5defac0cfd6a91c0f1aef61107e821a8a516b574664736f6c63430008140033",
1083
1183
  "linkReferences": {
1184
+ "contracts/types/ClaimId.sol": {
1185
+ "ClaimIdLib": [
1186
+ {
1187
+ "length": 20,
1188
+ "start": 2864
1189
+ },
1190
+ {
1191
+ "length": 20,
1192
+ "start": 4329
1193
+ }
1194
+ ]
1195
+ },
1084
1196
  "contracts/types/DistributorType.sol": {
1085
1197
  "DistributorTypeLib": [
1086
1198
  {
1087
1199
  "length": 20,
1088
- "start": 6188
1200
+ "start": 5962
1089
1201
  }
1090
1202
  ]
1091
1203
  },
@@ -1093,35 +1205,31 @@
1093
1205
  "NftIdLib": [
1094
1206
  {
1095
1207
  "length": 20,
1096
- "start": 289
1208
+ "start": 1992
1097
1209
  },
1098
1210
  {
1099
1211
  "length": 20,
1100
- "start": 3257
1212
+ "start": 2366
1101
1213
  },
1102
1214
  {
1103
1215
  "length": 20,
1104
- "start": 3597
1216
+ "start": 2761
1105
1217
  },
1106
1218
  {
1107
1219
  "length": 20,
1108
- "start": 3992
1220
+ "start": 3057
1109
1221
  },
1110
1222
  {
1111
1223
  "length": 20,
1112
- "start": 4037
1224
+ "start": 3102
1113
1225
  },
1114
1226
  {
1115
1227
  "length": 20,
1116
- "start": 4082
1228
+ "start": 6189
1117
1229
  },
1118
1230
  {
1119
1231
  "length": 20,
1120
- "start": 6415
1121
- },
1122
- {
1123
- "length": 20,
1124
- "start": 6670
1232
+ "start": 6775
1125
1233
  }
1126
1234
  ]
1127
1235
  },
@@ -1129,11 +1237,11 @@
1129
1237
  "ReferralLib": [
1130
1238
  {
1131
1239
  "length": 20,
1132
- "start": 3017
1240
+ "start": 1752
1133
1241
  },
1134
1242
  {
1135
1243
  "length": 20,
1136
- "start": 3656
1244
+ "start": 2425
1137
1245
  }
1138
1246
  ]
1139
1247
  },
@@ -1141,7 +1249,7 @@
1141
1249
  "RiskIdLib": [
1142
1250
  {
1143
1251
  "length": 20,
1144
- "start": 4197
1252
+ "start": 3217
1145
1253
  }
1146
1254
  ]
1147
1255
  },
@@ -1149,11 +1257,11 @@
1149
1257
  "TimestampLib": [
1150
1258
  {
1151
1259
  "length": 20,
1152
- "start": 5125
1260
+ "start": 4618
1153
1261
  },
1154
1262
  {
1155
1263
  "length": 20,
1156
- "start": 5356
1264
+ "start": 4849
1157
1265
  }
1158
1266
  ]
1159
1267
  },
@@ -1161,33 +1269,45 @@
1161
1269
  "UFixedLib": [
1162
1270
  {
1163
1271
  "length": 20,
1164
- "start": 2805
1272
+ "start": 1540
1165
1273
  },
1166
1274
  {
1167
1275
  "length": 20,
1168
- "start": 3788
1276
+ "start": 2557
1169
1277
  },
1170
1278
  {
1171
1279
  "length": 20,
1172
- "start": 5226
1280
+ "start": 4719
1173
1281
  },
1174
1282
  {
1175
1283
  "length": 20,
1176
- "start": 5485
1284
+ "start": 4978
1177
1285
  },
1178
1286
  {
1179
1287
  "length": 20,
1180
- "start": 5628
1288
+ "start": 5121
1181
1289
  }
1182
1290
  ]
1183
1291
  }
1184
1292
  },
1185
1293
  "deployedLinkReferences": {
1294
+ "contracts/types/ClaimId.sol": {
1295
+ "ClaimIdLib": [
1296
+ {
1297
+ "length": 20,
1298
+ "start": 2832
1299
+ },
1300
+ {
1301
+ "length": 20,
1302
+ "start": 4297
1303
+ }
1304
+ ]
1305
+ },
1186
1306
  "contracts/types/DistributorType.sol": {
1187
1307
  "DistributorTypeLib": [
1188
1308
  {
1189
1309
  "length": 20,
1190
- "start": 4647
1310
+ "start": 5930
1191
1311
  }
1192
1312
  ]
1193
1313
  },
@@ -1195,31 +1315,31 @@
1195
1315
  "NftIdLib": [
1196
1316
  {
1197
1317
  "length": 20,
1198
- "start": 1716
1318
+ "start": 1960
1199
1319
  },
1200
1320
  {
1201
1321
  "length": 20,
1202
- "start": 2056
1322
+ "start": 2334
1203
1323
  },
1204
1324
  {
1205
1325
  "length": 20,
1206
- "start": 2451
1326
+ "start": 2729
1207
1327
  },
1208
1328
  {
1209
1329
  "length": 20,
1210
- "start": 2496
1330
+ "start": 3025
1211
1331
  },
1212
1332
  {
1213
1333
  "length": 20,
1214
- "start": 2541
1334
+ "start": 3070
1215
1335
  },
1216
1336
  {
1217
1337
  "length": 20,
1218
- "start": 4874
1338
+ "start": 6157
1219
1339
  },
1220
1340
  {
1221
1341
  "length": 20,
1222
- "start": 5129
1342
+ "start": 6743
1223
1343
  }
1224
1344
  ]
1225
1345
  },
@@ -1227,11 +1347,11 @@
1227
1347
  "ReferralLib": [
1228
1348
  {
1229
1349
  "length": 20,
1230
- "start": 1476
1350
+ "start": 1720
1231
1351
  },
1232
1352
  {
1233
1353
  "length": 20,
1234
- "start": 2115
1354
+ "start": 2393
1235
1355
  }
1236
1356
  ]
1237
1357
  },
@@ -1239,7 +1359,7 @@
1239
1359
  "RiskIdLib": [
1240
1360
  {
1241
1361
  "length": 20,
1242
- "start": 2656
1362
+ "start": 3185
1243
1363
  }
1244
1364
  ]
1245
1365
  },
@@ -1247,11 +1367,11 @@
1247
1367
  "TimestampLib": [
1248
1368
  {
1249
1369
  "length": 20,
1250
- "start": 3584
1370
+ "start": 4586
1251
1371
  },
1252
1372
  {
1253
1373
  "length": 20,
1254
- "start": 3815
1374
+ "start": 4817
1255
1375
  }
1256
1376
  ]
1257
1377
  },
@@ -1259,23 +1379,23 @@
1259
1379
  "UFixedLib": [
1260
1380
  {
1261
1381
  "length": 20,
1262
- "start": 1264
1382
+ "start": 1508
1263
1383
  },
1264
1384
  {
1265
1385
  "length": 20,
1266
- "start": 2247
1386
+ "start": 2525
1267
1387
  },
1268
1388
  {
1269
1389
  "length": 20,
1270
- "start": 3685
1390
+ "start": 4687
1271
1391
  },
1272
1392
  {
1273
1393
  "length": 20,
1274
- "start": 3944
1394
+ "start": 4946
1275
1395
  },
1276
1396
  {
1277
1397
  "length": 20,
1278
- "start": 4087
1398
+ "start": 5089
1279
1399
  }
1280
1400
  ]
1281
1401
  }