@etherisc/gif-next 0.0.2-da06f3b-803 → 0.0.2-da09ec0-359

Sign up to get free protection for your applications and to get access to all the features.
Files changed (368) hide show
  1. package/README.md +8 -13
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
  3. package/artifacts/contracts/components/Component.sol/Component.json +315 -98
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +668 -141
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +1 -1
  7. package/artifacts/contracts/components/IComponent.sol/IComponent.json +241 -60
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +438 -86
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +526 -144
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +257 -144
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +676 -183
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +435 -186
  18. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  19. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +64 -50
  20. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +1 -1
  21. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +5 -0
  22. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  23. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +267 -1594
  24. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  25. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +232 -208
  26. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  27. package/artifacts/contracts/instance/Instance.sol/Instance.json +393 -2515
  28. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  29. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +359 -92
  30. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +124 -0
  32. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  33. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +424 -236
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  35. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +338 -409
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  37. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +291 -108
  38. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  39. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +2788 -0
  40. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
  41. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +8 -13
  42. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +197 -169
  44. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  45. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  46. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  47. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +40 -10
  48. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  49. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
  50. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  51. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +51 -42
  52. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  53. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  54. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  55. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  56. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  57. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  58. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  59. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  60. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  61. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +918 -0
  62. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  63. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +648 -0
  64. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +1 -1
  65. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +526 -340
  66. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  67. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +340 -93
  68. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  69. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +1376 -0
  70. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  71. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +748 -0
  72. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  73. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +982 -198
  74. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  75. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +430 -87
  76. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  77. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +493 -0
  78. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +1 -1
  79. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +290 -270
  80. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  81. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +743 -0
  82. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  83. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +527 -128
  84. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +181 -296
  86. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  87. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +705 -122
  88. package/artifacts/contracts/instance/service/IPricingService.sol/IPricingService.dbg.json +4 -0
  89. package/artifacts/contracts/instance/service/IPricingService.sol/IPricingService.json +510 -0
  90. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  91. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +71 -160
  92. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +1 -1
  93. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +449 -395
  94. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  95. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +349 -114
  96. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  97. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +1018 -202
  98. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  99. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +360 -89
  100. package/artifacts/contracts/instance/service/PricingService.sol/PricingService.dbg.json +4 -0
  101. package/artifacts/contracts/instance/service/PricingService.sol/PricingService.json +1004 -0
  102. package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  103. package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.json +688 -0
  104. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  105. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +231 -223
  106. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
  107. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +298 -95
  108. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  109. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  110. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  111. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +15 -2
  112. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  113. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +70 -193
  114. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  115. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  116. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  117. package/artifacts/contracts/registry/Registry.sol/Registry.json +28 -15
  118. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +1 -1
  119. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +2 -2
  120. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  121. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +182 -232
  122. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  123. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +287 -94
  124. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
  125. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +23 -11
  126. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  127. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +128 -37
  128. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  129. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -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 +27 -29
  135. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  136. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +189 -0
  137. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  138. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +8 -29
  139. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  140. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  141. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  142. package/artifacts/contracts/shared/IService.sol/IService.json +71 -160
  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 +100 -33
  147. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  148. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +302 -0
  149. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  150. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +283 -76
  151. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  152. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +115 -58
  153. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  154. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
  155. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  156. package/artifacts/contracts/shared/Service.sol/Service.json +172 -160
  157. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  158. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +24 -6
  159. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  160. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  161. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  162. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  163. package/artifacts/contracts/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 +115 -58
  167. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  168. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +2 -2
  169. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  170. package/artifacts/contracts/test/TestService.sol/TestService.json +190 -210
  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 +281 -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 +74 -19
  189. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  190. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  191. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  192. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
  193. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  194. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +2 -2
  195. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  196. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  197. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  198. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  199. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +209 -0
  200. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
  202. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  203. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  204. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  205. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  206. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  207. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  208. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  209. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  210. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  211. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +38 -7
  212. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  213. package/artifacts/contracts/types/UFixed.sol/MathLib.json +2 -2
  214. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  215. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +2 -2
  216. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  217. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  218. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  219. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
  220. package/contracts/components/Component.sol +134 -78
  221. package/contracts/components/Distribution.sol +189 -57
  222. package/contracts/components/IComponent.sol +62 -15
  223. package/contracts/components/IDistributionComponent.sol +39 -15
  224. package/contracts/components/IPoolComponent.sol +86 -23
  225. package/contracts/components/IProductComponent.sol +8 -6
  226. package/contracts/components/Pool.sol +230 -136
  227. package/contracts/components/Product.sol +227 -118
  228. package/contracts/instance/BundleManager.sol +10 -9
  229. package/contracts/instance/Cloneable.sol +7 -2
  230. package/contracts/instance/IInstance.sol +40 -35
  231. package/contracts/instance/IInstanceService.sol +44 -13
  232. package/contracts/instance/Instance.sol +131 -171
  233. package/contracts/instance/InstanceAccessManager.sol +281 -154
  234. package/contracts/instance/InstanceAuthorizationsLib.sol +308 -0
  235. package/contracts/instance/InstanceReader.sol +90 -15
  236. package/contracts/instance/InstanceService.sol +173 -338
  237. package/contracts/instance/InstanceServiceManager.sol +1 -1
  238. package/contracts/instance/InstanceStore.sol +212 -0
  239. package/contracts/instance/ObjectManager.sol +6 -8
  240. package/contracts/instance/base/ComponentService.sol +53 -39
  241. package/contracts/instance/base/KeyValueStore.sol +13 -36
  242. package/contracts/instance/base/Lifecycle.sol +26 -6
  243. package/contracts/instance/module/IAccess.sol +18 -12
  244. package/contracts/instance/module/IBundle.sol +8 -5
  245. package/contracts/instance/module/IComponents.sol +41 -0
  246. package/contracts/instance/module/IDistribution.sol +3 -0
  247. package/contracts/instance/module/IPolicy.sol +43 -11
  248. package/contracts/instance/module/ISetup.sol +7 -20
  249. package/contracts/instance/service/ApplicationService.sol +186 -0
  250. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  251. package/contracts/instance/service/BundleService.sol +225 -136
  252. package/contracts/instance/service/BundleServiceManager.sol +1 -1
  253. package/contracts/instance/service/ClaimService.sol +437 -0
  254. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  255. package/contracts/instance/service/DistributionService.sol +264 -22
  256. package/contracts/instance/service/DistributionServiceManager.sol +1 -1
  257. package/contracts/instance/service/IApplicationService.sol +62 -0
  258. package/contracts/instance/service/IBundleService.sol +96 -22
  259. package/contracts/instance/service/IClaimService.sol +90 -0
  260. package/contracts/instance/service/IDistributionService.sol +76 -1
  261. package/contracts/instance/service/IPolicyService.sol +40 -54
  262. package/contracts/instance/service/IPoolService.sol +97 -3
  263. package/contracts/instance/service/IPricingService.sol +37 -0
  264. package/contracts/instance/service/PolicyService.sol +200 -362
  265. package/contracts/instance/service/PolicyServiceManager.sol +2 -2
  266. package/contracts/instance/service/PoolService.sol +313 -20
  267. package/contracts/instance/service/PoolServiceManager.sol +1 -1
  268. package/contracts/instance/service/PricingService.sol +275 -0
  269. package/contracts/instance/service/PricingServiceManager.sol +51 -0
  270. package/contracts/instance/service/ProductService.sol +41 -64
  271. package/contracts/instance/service/ProductServiceManager.sol +2 -2
  272. package/contracts/registry/ChainNft.sol +8 -0
  273. package/contracts/registry/IRegistry.sol +3 -2
  274. package/contracts/registry/IRegistryService.sol +12 -11
  275. package/contracts/registry/ITransferInterceptor.sol +1 -0
  276. package/contracts/registry/Registry.sol +30 -20
  277. package/contracts/registry/RegistryService.sol +75 -51
  278. package/contracts/registry/RegistryServiceManager.sol +13 -13
  279. package/contracts/registry/ReleaseManager.sol +32 -40
  280. package/contracts/registry/TokenRegistry.sol +16 -12
  281. package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +13 -0
  282. package/contracts/shared/ERC165.sol +14 -12
  283. package/contracts/shared/INftOwnable.sol +11 -10
  284. package/contracts/shared/IPolicyHolder.sol +40 -0
  285. package/contracts/shared/IRegisterable.sol +3 -3
  286. package/contracts/shared/IRegistryLinked.sol +11 -0
  287. package/contracts/shared/IService.sol +6 -4
  288. package/contracts/shared/IVersionable.sol +4 -47
  289. package/contracts/shared/NftOwnable.sol +64 -85
  290. package/contracts/shared/PolicyHolder.sol +94 -0
  291. package/contracts/shared/ProxyManager.sol +100 -25
  292. package/contracts/shared/Registerable.sol +16 -27
  293. package/contracts/shared/RegistryLinked.sol +43 -0
  294. package/contracts/shared/Service.sol +32 -20
  295. package/contracts/shared/TokenHandler.sol +14 -6
  296. package/contracts/shared/Versionable.sol +4 -92
  297. package/contracts/test/TestRegisterable.sol +1 -1
  298. package/contracts/test/TestService.sol +1 -1
  299. package/contracts/types/Amount.sol +109 -0
  300. package/contracts/types/Blocknumber.sol +1 -0
  301. package/contracts/types/ClaimId.sol +75 -0
  302. package/contracts/types/DistributorType.sol +2 -2
  303. package/contracts/types/Fee.sol +17 -8
  304. package/contracts/types/NftId.sol +8 -0
  305. package/contracts/types/ObjectType.sol +16 -7
  306. package/contracts/types/PayoutId.sol +82 -0
  307. package/contracts/types/Referral.sol +4 -0
  308. package/contracts/types/RoleId.sol +12 -8
  309. package/contracts/types/Seconds.sol +54 -0
  310. package/contracts/types/StateId.sol +7 -2
  311. package/contracts/types/Timestamp.sol +18 -13
  312. package/contracts/types/UFixed.sol +1 -0
  313. package/contracts/types/Version.sol +1 -0
  314. package/package.json +1 -1
  315. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  316. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  317. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  318. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  319. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  320. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  321. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  322. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  323. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  324. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  325. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  326. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  327. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  328. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  329. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  330. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  331. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  332. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  333. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  334. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  335. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  336. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  337. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  338. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  339. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  340. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  341. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  342. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  343. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  344. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  345. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  346. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  347. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  348. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  349. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  350. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  351. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  352. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  353. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  354. package/contracts/experiment/cloning/Cloner.sol +0 -47
  355. package/contracts/experiment/errors/Require.sol +0 -38
  356. package/contracts/experiment/errors/Revert.sol +0 -44
  357. package/contracts/experiment/inheritance/A.sol +0 -53
  358. package/contracts/experiment/inheritance/B.sol +0 -28
  359. package/contracts/experiment/inheritance/C.sol +0 -34
  360. package/contracts/experiment/inheritance/IA.sol +0 -13
  361. package/contracts/experiment/inheritance/IB.sol +0 -10
  362. package/contracts/experiment/inheritance/IC.sol +0 -12
  363. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  364. package/contracts/experiment/statemachine/ISM.sol +0 -25
  365. package/contracts/experiment/statemachine/SM.sol +0 -57
  366. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  367. package/contracts/experiment/types/TypeA.sol +0 -47
  368. package/contracts/experiment/types/TypeB.sol +0 -29
@@ -3,6 +3,16 @@
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
  {
@@ -43,24 +53,24 @@
43
53
  "type": "bytes"
44
54
  },
45
55
  {
46
- "internalType": "uint256",
56
+ "internalType": "Amount",
47
57
  "name": "capitalAmount",
48
- "type": "uint256"
58
+ "type": "uint96"
49
59
  },
50
60
  {
51
- "internalType": "uint256",
61
+ "internalType": "Amount",
52
62
  "name": "lockedAmount",
53
- "type": "uint256"
63
+ "type": "uint96"
54
64
  },
55
65
  {
56
- "internalType": "uint256",
57
- "name": "balanceAmount",
58
- "type": "uint256"
66
+ "internalType": "Amount",
67
+ "name": "feeAmount",
68
+ "type": "uint96"
59
69
  },
60
70
  {
61
- "internalType": "uint256",
71
+ "internalType": "Seconds",
62
72
  "name": "lifetime",
63
- "type": "uint256"
73
+ "type": "uint40"
64
74
  },
65
75
  {
66
76
  "internalType": "Timestamp",
@@ -81,6 +91,142 @@
81
91
  "stateMutability": "view",
82
92
  "type": "function"
83
93
  },
94
+ {
95
+ "inputs": [
96
+ {
97
+ "internalType": "NftId",
98
+ "name": "policyNftId",
99
+ "type": "uint96"
100
+ },
101
+ {
102
+ "internalType": "ClaimId",
103
+ "name": "claimId",
104
+ "type": "uint16"
105
+ }
106
+ ],
107
+ "name": "getClaimInfo",
108
+ "outputs": [
109
+ {
110
+ "components": [
111
+ {
112
+ "internalType": "Amount",
113
+ "name": "claimAmount",
114
+ "type": "uint96"
115
+ },
116
+ {
117
+ "internalType": "Amount",
118
+ "name": "paidAmount",
119
+ "type": "uint96"
120
+ },
121
+ {
122
+ "internalType": "uint8",
123
+ "name": "payoutsCount",
124
+ "type": "uint8"
125
+ },
126
+ {
127
+ "internalType": "uint8",
128
+ "name": "openPayoutsCount",
129
+ "type": "uint8"
130
+ },
131
+ {
132
+ "internalType": "bytes",
133
+ "name": "data",
134
+ "type": "bytes"
135
+ },
136
+ {
137
+ "internalType": "Timestamp",
138
+ "name": "closedAt",
139
+ "type": "uint40"
140
+ }
141
+ ],
142
+ "internalType": "struct IPolicy.ClaimInfo",
143
+ "name": "info",
144
+ "type": "tuple"
145
+ }
146
+ ],
147
+ "stateMutability": "view",
148
+ "type": "function"
149
+ },
150
+ {
151
+ "inputs": [
152
+ {
153
+ "internalType": "NftId",
154
+ "name": "policyNftId",
155
+ "type": "uint96"
156
+ },
157
+ {
158
+ "internalType": "ClaimId",
159
+ "name": "claimId",
160
+ "type": "uint16"
161
+ }
162
+ ],
163
+ "name": "getClaimState",
164
+ "outputs": [
165
+ {
166
+ "internalType": "StateId",
167
+ "name": "state",
168
+ "type": "uint8"
169
+ }
170
+ ],
171
+ "stateMutability": "view",
172
+ "type": "function"
173
+ },
174
+ {
175
+ "inputs": [
176
+ {
177
+ "internalType": "NftId",
178
+ "name": "poolNftId",
179
+ "type": "uint96"
180
+ }
181
+ ],
182
+ "name": "getComponentInfo",
183
+ "outputs": [
184
+ {
185
+ "components": [
186
+ {
187
+ "internalType": "string",
188
+ "name": "name",
189
+ "type": "string"
190
+ },
191
+ {
192
+ "internalType": "contract IERC20Metadata",
193
+ "name": "token",
194
+ "type": "address"
195
+ },
196
+ {
197
+ "internalType": "contract TokenHandler",
198
+ "name": "tokenHandler",
199
+ "type": "address"
200
+ },
201
+ {
202
+ "internalType": "address",
203
+ "name": "wallet",
204
+ "type": "address"
205
+ },
206
+ {
207
+ "internalType": "Amount",
208
+ "name": "balanceAmount",
209
+ "type": "uint96"
210
+ },
211
+ {
212
+ "internalType": "Amount",
213
+ "name": "feeAmount",
214
+ "type": "uint96"
215
+ },
216
+ {
217
+ "internalType": "bytes",
218
+ "name": "data",
219
+ "type": "bytes"
220
+ }
221
+ ],
222
+ "internalType": "struct IComponents.ComponentInfo",
223
+ "name": "info",
224
+ "type": "tuple"
225
+ }
226
+ ],
227
+ "stateMutability": "view",
228
+ "type": "function"
229
+ },
84
230
  {
85
231
  "inputs": [
86
232
  {
@@ -141,18 +287,35 @@
141
287
  }
142
288
  ],
143
289
  "internalType": "struct Fee",
144
- "name": "distributionFee",
290
+ "name": "minDistributionOwnerFee",
145
291
  "type": "tuple"
146
292
  },
147
293
  {
148
- "internalType": "bool",
149
- "name": "isIntercepting",
150
- "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"
151
309
  },
152
310
  {
153
311
  "internalType": "address",
154
312
  "name": "wallet",
155
313
  "type": "address"
314
+ },
315
+ {
316
+ "internalType": "uint256",
317
+ "name": "sumDistributionOwnerFees",
318
+ "type": "uint256"
156
319
  }
157
320
  ],
158
321
  "internalType": "struct ISetup.DistributionSetupInfo",
@@ -189,6 +352,16 @@
189
352
  "internalType": "bytes",
190
353
  "name": "data",
191
354
  "type": "bytes"
355
+ },
356
+ {
357
+ "internalType": "Amount",
358
+ "name": "commissionAmount",
359
+ "type": "uint96"
360
+ },
361
+ {
362
+ "internalType": "uint32",
363
+ "name": "numPoliciesSold",
364
+ "type": "uint32"
192
365
  }
193
366
  ],
194
367
  "internalType": "struct IDistribution.DistributorInfo",
@@ -337,6 +510,76 @@
337
510
  "stateMutability": "view",
338
511
  "type": "function"
339
512
  },
513
+ {
514
+ "inputs": [
515
+ {
516
+ "internalType": "NftId",
517
+ "name": "policyNftId",
518
+ "type": "uint96"
519
+ },
520
+ {
521
+ "internalType": "PayoutId",
522
+ "name": "payoutId",
523
+ "type": "uint24"
524
+ }
525
+ ],
526
+ "name": "getPayoutInfo",
527
+ "outputs": [
528
+ {
529
+ "components": [
530
+ {
531
+ "internalType": "ClaimId",
532
+ "name": "claimId",
533
+ "type": "uint16"
534
+ },
535
+ {
536
+ "internalType": "Amount",
537
+ "name": "amount",
538
+ "type": "uint96"
539
+ },
540
+ {
541
+ "internalType": "bytes",
542
+ "name": "data",
543
+ "type": "bytes"
544
+ },
545
+ {
546
+ "internalType": "Timestamp",
547
+ "name": "paidAt",
548
+ "type": "uint40"
549
+ }
550
+ ],
551
+ "internalType": "struct IPolicy.PayoutInfo",
552
+ "name": "info",
553
+ "type": "tuple"
554
+ }
555
+ ],
556
+ "stateMutability": "view",
557
+ "type": "function"
558
+ },
559
+ {
560
+ "inputs": [
561
+ {
562
+ "internalType": "NftId",
563
+ "name": "policyNftId",
564
+ "type": "uint96"
565
+ },
566
+ {
567
+ "internalType": "PayoutId",
568
+ "name": "payoutId",
569
+ "type": "uint24"
570
+ }
571
+ ],
572
+ "name": "getPayoutState",
573
+ "outputs": [
574
+ {
575
+ "internalType": "StateId",
576
+ "name": "state",
577
+ "type": "uint8"
578
+ }
579
+ ],
580
+ "stateMutability": "view",
581
+ "type": "function"
582
+ },
340
583
  {
341
584
  "inputs": [
342
585
  {
@@ -370,24 +613,24 @@
370
613
  "type": "bytes8"
371
614
  },
372
615
  {
373
- "internalType": "uint256",
616
+ "internalType": "Amount",
374
617
  "name": "sumInsuredAmount",
375
- "type": "uint256"
618
+ "type": "uint96"
376
619
  },
377
620
  {
378
- "internalType": "uint256",
621
+ "internalType": "Amount",
379
622
  "name": "premiumAmount",
380
- "type": "uint256"
623
+ "type": "uint96"
381
624
  },
382
625
  {
383
- "internalType": "uint256",
626
+ "internalType": "Amount",
384
627
  "name": "premiumPaidAmount",
385
- "type": "uint256"
628
+ "type": "uint96"
386
629
  },
387
630
  {
388
- "internalType": "uint256",
631
+ "internalType": "Seconds",
389
632
  "name": "lifetime",
390
- "type": "uint256"
633
+ "type": "uint40"
391
634
  },
392
635
  {
393
636
  "internalType": "bytes",
@@ -410,9 +653,14 @@
410
653
  "type": "uint16"
411
654
  },
412
655
  {
413
- "internalType": "uint256",
656
+ "internalType": "Amount",
657
+ "name": "claimAmount",
658
+ "type": "uint96"
659
+ },
660
+ {
661
+ "internalType": "Amount",
414
662
  "name": "payoutAmount",
415
- "type": "uint256"
663
+ "type": "uint96"
416
664
  },
417
665
  {
418
666
  "internalType": "Timestamp",
@@ -457,108 +705,6 @@
457
705
  "stateMutability": "view",
458
706
  "type": "function"
459
707
  },
460
- {
461
- "inputs": [
462
- {
463
- "internalType": "NftId",
464
- "name": "poolNftId",
465
- "type": "uint96"
466
- }
467
- ],
468
- "name": "getPoolSetupInfo",
469
- "outputs": [
470
- {
471
- "components": [
472
- {
473
- "internalType": "NftId",
474
- "name": "productNftId",
475
- "type": "uint96"
476
- },
477
- {
478
- "internalType": "contract TokenHandler",
479
- "name": "tokenHandler",
480
- "type": "address"
481
- },
482
- {
483
- "internalType": "UFixed",
484
- "name": "collateralizationLevel",
485
- "type": "uint256"
486
- },
487
- {
488
- "components": [
489
- {
490
- "internalType": "UFixed",
491
- "name": "fractionalFee",
492
- "type": "uint256"
493
- },
494
- {
495
- "internalType": "uint256",
496
- "name": "fixedFee",
497
- "type": "uint256"
498
- }
499
- ],
500
- "internalType": "struct Fee",
501
- "name": "poolFee",
502
- "type": "tuple"
503
- },
504
- {
505
- "components": [
506
- {
507
- "internalType": "UFixed",
508
- "name": "fractionalFee",
509
- "type": "uint256"
510
- },
511
- {
512
- "internalType": "uint256",
513
- "name": "fixedFee",
514
- "type": "uint256"
515
- }
516
- ],
517
- "internalType": "struct Fee",
518
- "name": "stakingFee",
519
- "type": "tuple"
520
- },
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": "performanceFee",
536
- "type": "tuple"
537
- },
538
- {
539
- "internalType": "bool",
540
- "name": "isIntercepting",
541
- "type": "bool"
542
- },
543
- {
544
- "internalType": "bool",
545
- "name": "isConfirmingApplication",
546
- "type": "bool"
547
- },
548
- {
549
- "internalType": "address",
550
- "name": "wallet",
551
- "type": "address"
552
- }
553
- ],
554
- "internalType": "struct ISetup.PoolSetupInfo",
555
- "name": "info",
556
- "type": "tuple"
557
- }
558
- ],
559
- "stateMutability": "view",
560
- "type": "function"
561
- },
562
708
  {
563
709
  "inputs": [
564
710
  {
@@ -591,23 +737,6 @@
591
737
  "name": "poolNftId",
592
738
  "type": "uint96"
593
739
  },
594
- {
595
- "components": [
596
- {
597
- "internalType": "UFixed",
598
- "name": "fractionalFee",
599
- "type": "uint256"
600
- },
601
- {
602
- "internalType": "uint256",
603
- "name": "fixedFee",
604
- "type": "uint256"
605
- }
606
- ],
607
- "internalType": "struct Fee",
608
- "name": "distributionFee",
609
- "type": "tuple"
610
- },
611
740
  {
612
741
  "components": [
613
742
  {
@@ -642,57 +771,6 @@
642
771
  "name": "processingFee",
643
772
  "type": "tuple"
644
773
  },
645
- {
646
- "components": [
647
- {
648
- "internalType": "UFixed",
649
- "name": "fractionalFee",
650
- "type": "uint256"
651
- },
652
- {
653
- "internalType": "uint256",
654
- "name": "fixedFee",
655
- "type": "uint256"
656
- }
657
- ],
658
- "internalType": "struct Fee",
659
- "name": "poolFee",
660
- "type": "tuple"
661
- },
662
- {
663
- "components": [
664
- {
665
- "internalType": "UFixed",
666
- "name": "fractionalFee",
667
- "type": "uint256"
668
- },
669
- {
670
- "internalType": "uint256",
671
- "name": "fixedFee",
672
- "type": "uint256"
673
- }
674
- ],
675
- "internalType": "struct Fee",
676
- "name": "stakingFee",
677
- "type": "tuple"
678
- },
679
- {
680
- "components": [
681
- {
682
- "internalType": "UFixed",
683
- "name": "fractionalFee",
684
- "type": "uint256"
685
- },
686
- {
687
- "internalType": "uint256",
688
- "name": "fixedFee",
689
- "type": "uint256"
690
- }
691
- ],
692
- "internalType": "struct Fee",
693
- "name": "performanceFee",
694
- "type": "tuple"
695
- },
696
774
  {
697
775
  "internalType": "bool",
698
776
  "name": "isIntercepting",
@@ -963,11 +1041,6 @@
963
1041
  },
964
1042
  {
965
1043
  "inputs": [
966
- {
967
- "internalType": "address",
968
- "name": "registry",
969
- "type": "address"
970
- },
971
1044
  {
972
1045
  "internalType": "address",
973
1046
  "name": "instance",
@@ -979,6 +1052,25 @@
979
1052
  "stateMutability": "nonpayable",
980
1053
  "type": "function"
981
1054
  },
1055
+ {
1056
+ "inputs": [
1057
+ {
1058
+ "internalType": "NftId",
1059
+ "name": "policyNftId",
1060
+ "type": "uint96"
1061
+ }
1062
+ ],
1063
+ "name": "policyIsCloseable",
1064
+ "outputs": [
1065
+ {
1066
+ "internalType": "bool",
1067
+ "name": "isCloseable",
1068
+ "type": "bool"
1069
+ }
1070
+ ],
1071
+ "stateMutability": "view",
1072
+ "type": "function"
1073
+ },
982
1074
  {
983
1075
  "inputs": [
984
1076
  {
@@ -1180,14 +1272,34 @@
1180
1272
  "type": "function"
1181
1273
  }
1182
1274
  ],
1183
- "bytecode": "0x608060405234801561001057600080fd5b50612dd0806100206000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c8063887b1fa9116100f9578063bd7d9d8511610097578063dd26287a11610071578063dd26287a146104f1578063de7b5d1414610504578063f2b246c314610515578063f7f318d31461053557600080fd5b8063bd7d9d85146104a0578063d06458c6146104c0578063d4cda0d8146104e057600080fd5b80639ad69c67116100d35780639ad69c671461036c578063a310e2a3146103de578063a5961b4c14610409578063b82d7ef51461047657600080fd5b8063887b1fa9146103075780639096a1f31461032757806390af70641461034c57600080fd5b806344aa68361161016657806355e343a91161014057806355e343a9146102ae57806364eb3a9b146102ce5780637bfd3217146102e15780637e54602a146102f457600080fd5b806344aa6836146102665780634793b4ab14610279578063485cc9551461029957600080fd5b80631488c845146101ae5780631d3be477146101d457806325d03743146101f457806327b1d7921461020757806335898f5d146102275780633f093cd61461023a575b600080fd5b6101c16101bc36600461193c565b610548565b6040519081526020015b60405180910390f35b6101e76101e236600461198b565b6105ce565b6040516101cb91906119f8565b6101c1610202366004611aa8565b610720565b61021a610215366004611aa8565b6107c0565b6040516101cb9190611ac5565b6101c1610235366004611aa8565b61087a565b61024d610248366004611c6f565b6108a7565b6040516001600160c01b031990911681526020016101cb565b6101c1610274366004611d01565b610924565b61028c610287366004611aa8565b61095f565b6040516101cb9190611d1a565b6102ac6102a7366004611de3565b610a05565b005b6102c16102bc366004611aa8565b610b10565b6040516101cb9190611e11565b6101c16102dc366004611aa8565b610c28565b6101c16102ef366004611aa8565b610c55565b6101c1610302366004611aa8565b610c82565b61031a61031536600461198b565b610caf565b6040516101cb9190611ed1565b61033a610335366004611aa8565b610dd8565b60405160ff90911681526020016101cb565b61035f61035a366004611aa8565b610e54565b6040516101cb9190611eff565b61037f61037a366004611aa8565b610efa565b6040805182516001600160601b031681526020808401516001600160a01b0390811682840152848401518051948401949094529201516060808301919091528301511515608080830191909152909201511660a082015260c0016101cb565b6103f16103ec366004611aa8565b610fa0565b6040516001600160a01b0390911681526020016101cb565b61041c610417366004611d01565b61104e565b6040516101cb9190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61048961048436600461198b565b6110e2565b6040805192835260ff9091166020830152016101cb565b6104b36104ae366004611aa8565b61138a565b6040516101cb9190612029565b6104d36104ce36600461198b565b6114a8565b6040516101cb919061216a565b6002546001600160a01b03166103f1565b6101c16104ff366004611aa8565b61161b565b6001546001600160a01b03166103f1565b610528610523366004611aa8565b611648565b6040516101cb919061221a565b6101c1610543366004611aa8565b611790565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af41580156105a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105c7919061231c565b9392505050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af4158015610675573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610699919061231c565b6040518263ffffffff1660e01b81526004016106b791815260200190565b600060405180830381865afa1580156106d4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106fc919081019061237a565b80519091501561071a57808060200190518101906105c791906123f0565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610796573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ba919061231c565b92915050565b604080516060808201835260008083526020830152918101919091526002546000906001600160a01b03166354f6127f6107f985610c82565b6040518263ffffffff1660e01b815260040161081791815260200190565b600060405180830381865afa158015610834573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261085c919081019061237a565b80519091501561071a57808060200190518101906105c791906124e9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b0384166078610749565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd6906108e3908690869060040161258f565b602060405180830381865af4158015610900573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105c791906125b1565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401610779565b6109676117bd565b6002546000906001600160a01b03166354f6127f61098485611790565b6040518263ffffffff1660e01b81526004016109a291815260200190565b600060405180830381865afa1580156109bf573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109e7919081019061237a565b80519091501561071a57808060200190518101906105c791906125fe565b60005460ff1615610a675760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b038216610abd5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f00000000006044820152606401610a5e565b60008054600180546001600160a01b039485166001600160a01b0319918216811783556002805490921617905560ff199390941661010002929092166001600160a81b0319909216919091179091179055565b610b8a60408051610120810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a082019081526000602082018190526040820181905260609091015290565b6002546000906001600160a01b03166354f6127f610ba78561161b565b6040518263ffffffff1660e01b8152600401610bc591815260200190565b600060405180830381865afa158015610be2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c0a919081019061237a565b80519091501561071a57808060200190518101906105c791906126e9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d2610749565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e610749565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a610749565b6040805180820190915260008152606060208201526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610d33573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d57919061231c565b6040518263ffffffff1660e01b8152600401610d7591815260200190565b600060405180830381865afa158015610d92573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610dba919081019061237a565b80519091501561071a57808060200190518101906105c7919061279e565b6001546000906001600160a01b03166309648a9d610df584610c28565b6040518263ffffffff1660e01b8152600401610e1391815260200190565b602060405180830381865afa158015610e30573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ba919061282c565b610e5c61183b565b6002546000906001600160a01b03166354f6127f610e7985610c55565b6040518263ffffffff1660e01b8152600401610e9791815260200190565b600060405180830381865afa158015610eb4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610edc919081019061237a565b80519091501561071a57808060200190518101906105c79190612849565b610f026118f4565b6002546000906001600160a01b03166354f6127f610f1f8561087a565b6040518263ffffffff1660e01b8152600401610f3d91815260200190565b600060405180830381865afa158015610f5a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f82919081019061237a565b80519091501561071a57808060200190518101906105c79190612940565b60025460009081906001600160a01b03166354f6127f610fbf85610720565b6040518263ffffffff1660e01b8152600401610fdd91815260200190565b600060405180830381865afa158015610ffa573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611022919081019061237a565b80519091501561071a5760008180602001905181019061104291906129b7565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa1580156110be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ba9190612a88565b60008060006110f0846105ce565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af415801561114f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111739190612af6565b156111f25773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156111c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e5919061231c565b60645b9250925050915091565b6112768160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611243573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112679190612b11565b64ffffffffff90811691161090565b156112ef5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156112c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112e8919061231c565b606e6111e8565b806060015163ffffffff16816080015163ffffffff161061137e5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611353573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611377919061231c565b60786111e8565b6040810151600a6111e8565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002546000906001600160a01b03166354f6127f61142785610c28565b6040518263ffffffff1660e01b815260040161144591815260200190565b600060405180830381865afa158015611462573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261148a919081019061237a565b80519091501561071a57808060200190518101906105c79190612b3e565b61150760405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015611576573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061159a919061231c565b6040518263ffffffff1660e01b81526004016115b891815260200190565b600060405180830381865afa1580156115d5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115fd919081019061237a565b80519091501561071a57808060200190518101906105c79190612ca3565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c610749565b6116f2604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6002546000906001600160a01b03166354f6127f61170f85610720565b6040518263ffffffff1660e01b815260040161172d91815260200190565b600060405180830381865afa15801561174a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611772919081019061237a565b80519091501561071a57808060200190518101906105c791906129b7565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc610749565b60405180610120016040528060006001600160601b031681526020016117f6604051806040016040528060008152602001600081525090565b81526020016060815260200160008152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b604080516101808101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e0840152835180850185528281528082018390526101008401528351808501909452818452830152906101208201905b815260006020820181905260409091015290565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b031681526020016118e0604051806040016040528060008152602001600081525090565b6000806040838503121561194f57600080fd5b8235915060208301358060000b811461196757600080fd5b809150509250929050565b6001600160c01b03198116811461198857600080fd5b50565b60006020828403121561199d57600080fd5b81356105c781611972565b60005b838110156119c35781810151838201526020016119ab565b50506000910152565b600081518084526119e48160208601602086016119a8565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e06040840152611a286101008401826119cc565b90506040840151606084015263ffffffff60608501511660808401526080840151611a5b60a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e0850152611a8a82826119cc565b95945050505050565b6001600160601b038116811461198857600080fd5b600060208284031215611aba57600080fd5b81356105c781611a93565b602081526001600160401b0360c01b825116602082015260208201511515604082015260006040830151606080840152611b0260808401826119cc565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611b4257611b42611b0a565b60405290565b604080519081016001600160401b0381118282101715611b4257611b42611b0a565b60405161012081016001600160401b0381118282101715611b4257611b42611b0a565b60405161018081016001600160401b0381118282101715611b4257611b42611b0a565b60405160a081016001600160401b0381118282101715611b4257611b42611b0a565b60405161014081016001600160401b0381118282101715611b4257611b42611b0a565b60405161020081016001600160401b0381118282101715611b4257611b42611b0a565b604051601f8201601f191681016001600160401b0381118282101715611c4057611c40611b0a565b604052919050565b60006001600160401b03821115611c6157611c61611b0a565b50601f01601f191660200190565b60008060408385031215611c8257600080fd5b8235611c8d81611a93565b915060208301356001600160401b03811115611ca857600080fd5b8301601f81018513611cb957600080fd5b8035611ccc611cc782611c48565b611c18565b818152866020838501011115611ce157600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611d1357600080fd5b5035919050565b60208152611d346020820183516001600160601b03169052565b60006020830151611d52604084018280518252602090810151910152565b506040830151610140806080850152611d6f6101608501836119cc565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100818187015260e08701519150611db761012087018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b6001600160a01b038116811461198857600080fd5b60008060408385031215611df657600080fd5b8235611e0181611dce565b9150602083013561196781611dce565b81516001600160601b03168152602080830151610180830191611e3e908401826001600160a01b03169052565b50604083015160408301526060830151611e65606084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c08301518015156101208401525060e0830151801515610140840152506101008301516001600160a01b0381166101608401525b5092915050565b602081526001600160601b03825116602082015260006020830151604080840152611b0260608401826119cc565b81516001600160a01b0316815261024081016020830151611f2b60208401826001600160a01b03169052565b506040830151611f4660408401826001600160601b03169052565b506060830151611f6160608401826001600160601b03169052565b506080830151611f7e608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c0830151610100611fb48185018380518252602090810151910152565b60e08501519150610140611fd48186018480518252602090810151910152565b9085015180516101808601526020908101516101a086015261012086015180516101c087015201516101e08501528401511515610200840152506101608301516001600160a01b038116610220840152611eca565b602081526120436020820183516001600160601b03169052565b6000602083015161205f60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e083015161010081818501528085015191505061020061012081818601526120d76102208601846119cc565b9250808601519050610140601f1986850301818701526120f784836119cc565b9350808701519150506101606121128187018361ffff169052565b86015190506101806121298682018361ffff169052565b8601516101a08681019190915286015190506101c06121508187018364ffffffffff169052565b86015190506101e0611db78682018364ffffffffff169052565b60208152600082516101208060208501526121896101408501836119cc565b915060208501516040850152604085015160608501526060850151608085015260808501516121c060a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006121f68187018315159052565b860151858403601f190183870152905061221083826119cc565b9695505050505050565b81516001600160a01b031681526102008101602083015161224660208401826001600160a01b03169052565b50604083015161226160408401826001600160601b03169052565b50606083015161227c60608401826001600160601b03169052565b506080830151612299608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301516101006122cf8185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e08501529050611eca565b60006020828403121561232e57600080fd5b5051919050565b600082601f83011261234657600080fd5b8151612354611cc782611c48565b81815284602083860101111561236957600080fd5b611b028260208301602087016119a8565b60006020828403121561238c57600080fd5b81516001600160401b038111156123a257600080fd5b611b0284828501612335565b80516123b981611a93565b919050565b63ffffffff8116811461198857600080fd5b80516123b9816123be565b805164ffffffffff811681146123b957600080fd5b60006020828403121561240257600080fd5b81516001600160401b038082111561241957600080fd5b9083019060e0828603121561242d57600080fd5b612435611b20565b61243e836123ae565b815260208301518281111561245257600080fd5b61245e87828601612335565b6020830152506040830151604082015261247a606084016123d0565b606082015261248b608084016123d0565b608082015261249c60a084016123db565b60a082015260c0830151828111156124b357600080fd5b6124bf87828601612335565b60c08301525095945050505050565b80516123b981611972565b805180151581146123b957600080fd5b6000602082840312156124fb57600080fd5b81516001600160401b038082111561251257600080fd5b908301906060828603121561252657600080fd5b60405160608101818110838211171561254157612541611b0a565b604052825161254f81611972565b815261255d602084016124d9565b602082015260408301518281111561257457600080fd5b61258087828601612335565b60408301525095945050505050565b6001600160601b0383168152604060208201526000611b0260408301846119cc565b6000602082840312156125c357600080fd5b81516105c781611972565b6000604082840312156125e057600080fd5b6125e8611b48565b9050815181526020820151602082015292915050565b60006020828403121561261057600080fd5b81516001600160401b038082111561262757600080fd5b90830190610140828603121561263c57600080fd5b612644611b6a565b61264d836123ae565b815261265c86602085016125ce565b602082015260608301518281111561267357600080fd5b61267f87828601612335565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c082015261010091506126bd8284016123db565b60e08201526126cf61012084016123db565b91810191909152949350505050565b80516123b981611dce565b600061018082840312156126fc57600080fd5b612704611b6a565b61270d836123ae565b815261271b602084016126de565b60208201526040830151604082015261273784606085016125ce565b60608201526127498460a085016125ce565b608082015261275b8460e085016125ce565b60a082015261276d61012084016124d9565b60c082015261277f61014084016124d9565b60e082015261279161016084016126de565b6101008201529392505050565b6000602082840312156127b057600080fd5b81516001600160401b03808211156127c757600080fd5b90830190604082860312156127db57600080fd5b6127e3611b48565b82516127ee81611a93565b815260208301518281111561280257600080fd5b61280e87828601612335565b60208301525095945050505050565b60ff8116811461198857600080fd5b60006020828403121561283e57600080fd5b81516105c78161281d565b6000610240828403121561285c57600080fd5b612864611b8d565b61286d836126de565b815261287b602084016126de565b602082015261288c604084016123ae565b604082015261289d606084016123ae565b60608201526128af84608085016125ce565b60808201526128c18460c085016125ce565b60a08201526101006128d5858286016125ce565b60c08301526101406128e9868287016125ce565b60e08401526128fc8661018087016125ce565b8284015261290e866101c087016125ce565b61012084015261292161020086016124d9565b908301525061293361022084016126de565b6101608201529392505050565b600060c0828403121561295257600080fd5b61295a611bb0565b825161296581611a93565b8152602083015161297581611dce565b602082015261298784604085016125ce565b6040820152612998608084016124d9565b606082015260a08301516129ab81611dce565b60808201529392505050565b600061020082840312156129ca57600080fd5b6129d2611bd2565b6129db836126de565b81526129e9602084016126de565b60208201526129fa604084016123ae565b6040820152612a0b606084016123ae565b6060820152612a1d84608085016125ce565b6080820152612a2f8460c085016125ce565b60a0820152610100612a43858286016125ce565b60c0830152612a568561014086016125ce565b60e0830152612a698561018086016125ce565b90820152612a7b846101c085016125ce565b6101208201529392505050565b600060a08284031215612a9a57600080fd5b612aa2611bb0565b8251612aad8161281d565b81526020830151612abd8161281d565b60208201526040830151612ad081611dce565b60408201526060830151612ae3816123be565b606082015260808301516129ab816123be565b600060208284031215612b0857600080fd5b6105c7826124d9565b600060208284031215612b2357600080fd5b6105c7826123db565b805161ffff811681146123b957600080fd5b600060208284031215612b5057600080fd5b81516001600160401b0380821115612b6757600080fd5b908301906102008286031215612b7c57600080fd5b612b84611bf5565b612b8d836123ae565b8152612b9b602084016123ae565b6020820152612bac604084016124ce565b6040820152612bbd606084016124ce565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015183811115612bfe57600080fd5b612c0a88828701612335565b8284015250506101208084015183811115612c2457600080fd5b612c3088828701612335565b8284015250506101409150612c46828401612b2c565b828201526101609150612c5a828401612b2c565b82820152610180915081830151828201526101a09150612c7b8284016123db565b828201526101c09150612c8f8284016123db565b828201526101e091506126cf8284016123db565b600060208284031215612cb557600080fd5b81516001600160401b0380821115612ccc57600080fd5b908301906101208286031215612ce157600080fd5b612ce9611b6a565b825182811115612cf857600080fd5b612d0487828601612335565b825250602083015160208201526040830151604082015260608301516060820152612d31608084016123d0565b6080820152612d4260a084016123d0565b60a0820152612d5360c084016124d9565b60c0820152612d6460e084016124d9565b60e08201526101008084015183811115612d7d57600080fd5b612d8988828701612335565b91830191909152509594505050505056fea26469706673582212206842aee594cddfcf3e81ef60ed73e85d16f52fb03eea27ac7a96e369e99a024e64736f6c63430008140033",
1184
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101a95760003560e01c8063887b1fa9116100f9578063bd7d9d8511610097578063dd26287a11610071578063dd26287a146104f1578063de7b5d1414610504578063f2b246c314610515578063f7f318d31461053557600080fd5b8063bd7d9d85146104a0578063d06458c6146104c0578063d4cda0d8146104e057600080fd5b80639ad69c67116100d35780639ad69c671461036c578063a310e2a3146103de578063a5961b4c14610409578063b82d7ef51461047657600080fd5b8063887b1fa9146103075780639096a1f31461032757806390af70641461034c57600080fd5b806344aa68361161016657806355e343a91161014057806355e343a9146102ae57806364eb3a9b146102ce5780637bfd3217146102e15780637e54602a146102f457600080fd5b806344aa6836146102665780634793b4ab14610279578063485cc9551461029957600080fd5b80631488c845146101ae5780631d3be477146101d457806325d03743146101f457806327b1d7921461020757806335898f5d146102275780633f093cd61461023a575b600080fd5b6101c16101bc36600461193c565b610548565b6040519081526020015b60405180910390f35b6101e76101e236600461198b565b6105ce565b6040516101cb91906119f8565b6101c1610202366004611aa8565b610720565b61021a610215366004611aa8565b6107c0565b6040516101cb9190611ac5565b6101c1610235366004611aa8565b61087a565b61024d610248366004611c6f565b6108a7565b6040516001600160c01b031990911681526020016101cb565b6101c1610274366004611d01565b610924565b61028c610287366004611aa8565b61095f565b6040516101cb9190611d1a565b6102ac6102a7366004611de3565b610a05565b005b6102c16102bc366004611aa8565b610b10565b6040516101cb9190611e11565b6101c16102dc366004611aa8565b610c28565b6101c16102ef366004611aa8565b610c55565b6101c1610302366004611aa8565b610c82565b61031a61031536600461198b565b610caf565b6040516101cb9190611ed1565b61033a610335366004611aa8565b610dd8565b60405160ff90911681526020016101cb565b61035f61035a366004611aa8565b610e54565b6040516101cb9190611eff565b61037f61037a366004611aa8565b610efa565b6040805182516001600160601b031681526020808401516001600160a01b0390811682840152848401518051948401949094529201516060808301919091528301511515608080830191909152909201511660a082015260c0016101cb565b6103f16103ec366004611aa8565b610fa0565b6040516001600160a01b0390911681526020016101cb565b61041c610417366004611d01565b61104e565b6040516101cb9190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61048961048436600461198b565b6110e2565b6040805192835260ff9091166020830152016101cb565b6104b36104ae366004611aa8565b61138a565b6040516101cb9190612029565b6104d36104ce36600461198b565b6114a8565b6040516101cb919061216a565b6002546001600160a01b03166103f1565b6101c16104ff366004611aa8565b61161b565b6001546001600160a01b03166103f1565b610528610523366004611aa8565b611648565b6040516101cb919061221a565b6101c1610543366004611aa8565b611790565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af41580156105a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105c7919061231c565b9392505050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af4158015610675573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610699919061231c565b6040518263ffffffff1660e01b81526004016106b791815260200190565b600060405180830381865afa1580156106d4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106fc919081019061237a565b80519091501561071a57808060200190518101906105c791906123f0565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610796573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ba919061231c565b92915050565b604080516060808201835260008083526020830152918101919091526002546000906001600160a01b03166354f6127f6107f985610c82565b6040518263ffffffff1660e01b815260040161081791815260200190565b600060405180830381865afa158015610834573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261085c919081019061237a565b80519091501561071a57808060200190518101906105c791906124e9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b0384166078610749565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd6906108e3908690869060040161258f565b602060405180830381865af4158015610900573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105c791906125b1565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401610779565b6109676117bd565b6002546000906001600160a01b03166354f6127f61098485611790565b6040518263ffffffff1660e01b81526004016109a291815260200190565b600060405180830381865afa1580156109bf573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109e7919081019061237a565b80519091501561071a57808060200190518101906105c791906125fe565b60005460ff1615610a675760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b038216610abd5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f00000000006044820152606401610a5e565b60008054600180546001600160a01b039485166001600160a01b0319918216811783556002805490921617905560ff199390941661010002929092166001600160a81b0319909216919091179091179055565b610b8a60408051610120810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a082019081526000602082018190526040820181905260609091015290565b6002546000906001600160a01b03166354f6127f610ba78561161b565b6040518263ffffffff1660e01b8152600401610bc591815260200190565b600060405180830381865afa158015610be2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c0a919081019061237a565b80519091501561071a57808060200190518101906105c791906126e9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d2610749565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e610749565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a610749565b6040805180820190915260008152606060208201526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610d33573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d57919061231c565b6040518263ffffffff1660e01b8152600401610d7591815260200190565b600060405180830381865afa158015610d92573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610dba919081019061237a565b80519091501561071a57808060200190518101906105c7919061279e565b6001546000906001600160a01b03166309648a9d610df584610c28565b6040518263ffffffff1660e01b8152600401610e1391815260200190565b602060405180830381865afa158015610e30573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ba919061282c565b610e5c61183b565b6002546000906001600160a01b03166354f6127f610e7985610c55565b6040518263ffffffff1660e01b8152600401610e9791815260200190565b600060405180830381865afa158015610eb4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610edc919081019061237a565b80519091501561071a57808060200190518101906105c79190612849565b610f026118f4565b6002546000906001600160a01b03166354f6127f610f1f8561087a565b6040518263ffffffff1660e01b8152600401610f3d91815260200190565b600060405180830381865afa158015610f5a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f82919081019061237a565b80519091501561071a57808060200190518101906105c79190612940565b60025460009081906001600160a01b03166354f6127f610fbf85610720565b6040518263ffffffff1660e01b8152600401610fdd91815260200190565b600060405180830381865afa158015610ffa573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611022919081019061237a565b80519091501561071a5760008180602001905181019061104291906129b7565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa1580156110be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ba9190612a88565b60008060006110f0846105ce565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af415801561114f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111739190612af6565b156111f25773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156111c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e5919061231c565b60645b9250925050915091565b6112768160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611243573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112679190612b11565b64ffffffffff90811691161090565b156112ef5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156112c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112e8919061231c565b606e6111e8565b806060015163ffffffff16816080015163ffffffff161061137e5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611353573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611377919061231c565b60786111e8565b6040810151600a6111e8565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002546000906001600160a01b03166354f6127f61142785610c28565b6040518263ffffffff1660e01b815260040161144591815260200190565b600060405180830381865afa158015611462573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261148a919081019061237a565b80519091501561071a57808060200190518101906105c79190612b3e565b61150760405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015611576573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061159a919061231c565b6040518263ffffffff1660e01b81526004016115b891815260200190565b600060405180830381865afa1580156115d5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115fd919081019061237a565b80519091501561071a57808060200190518101906105c79190612ca3565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c610749565b6116f2604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6002546000906001600160a01b03166354f6127f61170f85610720565b6040518263ffffffff1660e01b815260040161172d91815260200190565b600060405180830381865afa15801561174a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611772919081019061237a565b80519091501561071a57808060200190518101906105c791906129b7565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc610749565b60405180610120016040528060006001600160601b031681526020016117f6604051806040016040528060008152602001600081525090565b81526020016060815260200160008152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b604080516101808101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e0840152835180850185528281528082018390526101008401528351808501909452818452830152906101208201905b815260006020820181905260409091015290565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b031681526020016118e0604051806040016040528060008152602001600081525090565b6000806040838503121561194f57600080fd5b8235915060208301358060000b811461196757600080fd5b809150509250929050565b6001600160c01b03198116811461198857600080fd5b50565b60006020828403121561199d57600080fd5b81356105c781611972565b60005b838110156119c35781810151838201526020016119ab565b50506000910152565b600081518084526119e48160208601602086016119a8565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e06040840152611a286101008401826119cc565b90506040840151606084015263ffffffff60608501511660808401526080840151611a5b60a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e0850152611a8a82826119cc565b95945050505050565b6001600160601b038116811461198857600080fd5b600060208284031215611aba57600080fd5b81356105c781611a93565b602081526001600160401b0360c01b825116602082015260208201511515604082015260006040830151606080840152611b0260808401826119cc565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611b4257611b42611b0a565b60405290565b604080519081016001600160401b0381118282101715611b4257611b42611b0a565b60405161012081016001600160401b0381118282101715611b4257611b42611b0a565b60405161018081016001600160401b0381118282101715611b4257611b42611b0a565b60405160a081016001600160401b0381118282101715611b4257611b42611b0a565b60405161014081016001600160401b0381118282101715611b4257611b42611b0a565b60405161020081016001600160401b0381118282101715611b4257611b42611b0a565b604051601f8201601f191681016001600160401b0381118282101715611c4057611c40611b0a565b604052919050565b60006001600160401b03821115611c6157611c61611b0a565b50601f01601f191660200190565b60008060408385031215611c8257600080fd5b8235611c8d81611a93565b915060208301356001600160401b03811115611ca857600080fd5b8301601f81018513611cb957600080fd5b8035611ccc611cc782611c48565b611c18565b818152866020838501011115611ce157600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611d1357600080fd5b5035919050565b60208152611d346020820183516001600160601b03169052565b60006020830151611d52604084018280518252602090810151910152565b506040830151610140806080850152611d6f6101608501836119cc565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100818187015260e08701519150611db761012087018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b6001600160a01b038116811461198857600080fd5b60008060408385031215611df657600080fd5b8235611e0181611dce565b9150602083013561196781611dce565b81516001600160601b03168152602080830151610180830191611e3e908401826001600160a01b03169052565b50604083015160408301526060830151611e65606084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c08301518015156101208401525060e0830151801515610140840152506101008301516001600160a01b0381166101608401525b5092915050565b602081526001600160601b03825116602082015260006020830151604080840152611b0260608401826119cc565b81516001600160a01b0316815261024081016020830151611f2b60208401826001600160a01b03169052565b506040830151611f4660408401826001600160601b03169052565b506060830151611f6160608401826001600160601b03169052565b506080830151611f7e608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c0830151610100611fb48185018380518252602090810151910152565b60e08501519150610140611fd48186018480518252602090810151910152565b9085015180516101808601526020908101516101a086015261012086015180516101c087015201516101e08501528401511515610200840152506101608301516001600160a01b038116610220840152611eca565b602081526120436020820183516001600160601b03169052565b6000602083015161205f60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e083015161010081818501528085015191505061020061012081818601526120d76102208601846119cc565b9250808601519050610140601f1986850301818701526120f784836119cc565b9350808701519150506101606121128187018361ffff169052565b86015190506101806121298682018361ffff169052565b8601516101a08681019190915286015190506101c06121508187018364ffffffffff169052565b86015190506101e0611db78682018364ffffffffff169052565b60208152600082516101208060208501526121896101408501836119cc565b915060208501516040850152604085015160608501526060850151608085015260808501516121c060a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006121f68187018315159052565b860151858403601f190183870152905061221083826119cc565b9695505050505050565b81516001600160a01b031681526102008101602083015161224660208401826001600160a01b03169052565b50604083015161226160408401826001600160601b03169052565b50606083015161227c60608401826001600160601b03169052565b506080830151612299608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301516101006122cf8185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e08501529050611eca565b60006020828403121561232e57600080fd5b5051919050565b600082601f83011261234657600080fd5b8151612354611cc782611c48565b81815284602083860101111561236957600080fd5b611b028260208301602087016119a8565b60006020828403121561238c57600080fd5b81516001600160401b038111156123a257600080fd5b611b0284828501612335565b80516123b981611a93565b919050565b63ffffffff8116811461198857600080fd5b80516123b9816123be565b805164ffffffffff811681146123b957600080fd5b60006020828403121561240257600080fd5b81516001600160401b038082111561241957600080fd5b9083019060e0828603121561242d57600080fd5b612435611b20565b61243e836123ae565b815260208301518281111561245257600080fd5b61245e87828601612335565b6020830152506040830151604082015261247a606084016123d0565b606082015261248b608084016123d0565b608082015261249c60a084016123db565b60a082015260c0830151828111156124b357600080fd5b6124bf87828601612335565b60c08301525095945050505050565b80516123b981611972565b805180151581146123b957600080fd5b6000602082840312156124fb57600080fd5b81516001600160401b038082111561251257600080fd5b908301906060828603121561252657600080fd5b60405160608101818110838211171561254157612541611b0a565b604052825161254f81611972565b815261255d602084016124d9565b602082015260408301518281111561257457600080fd5b61258087828601612335565b60408301525095945050505050565b6001600160601b0383168152604060208201526000611b0260408301846119cc565b6000602082840312156125c357600080fd5b81516105c781611972565b6000604082840312156125e057600080fd5b6125e8611b48565b9050815181526020820151602082015292915050565b60006020828403121561261057600080fd5b81516001600160401b038082111561262757600080fd5b90830190610140828603121561263c57600080fd5b612644611b6a565b61264d836123ae565b815261265c86602085016125ce565b602082015260608301518281111561267357600080fd5b61267f87828601612335565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c082015261010091506126bd8284016123db565b60e08201526126cf61012084016123db565b91810191909152949350505050565b80516123b981611dce565b600061018082840312156126fc57600080fd5b612704611b6a565b61270d836123ae565b815261271b602084016126de565b60208201526040830151604082015261273784606085016125ce565b60608201526127498460a085016125ce565b608082015261275b8460e085016125ce565b60a082015261276d61012084016124d9565b60c082015261277f61014084016124d9565b60e082015261279161016084016126de565b6101008201529392505050565b6000602082840312156127b057600080fd5b81516001600160401b03808211156127c757600080fd5b90830190604082860312156127db57600080fd5b6127e3611b48565b82516127ee81611a93565b815260208301518281111561280257600080fd5b61280e87828601612335565b60208301525095945050505050565b60ff8116811461198857600080fd5b60006020828403121561283e57600080fd5b81516105c78161281d565b6000610240828403121561285c57600080fd5b612864611b8d565b61286d836126de565b815261287b602084016126de565b602082015261288c604084016123ae565b604082015261289d606084016123ae565b60608201526128af84608085016125ce565b60808201526128c18460c085016125ce565b60a08201526101006128d5858286016125ce565b60c08301526101406128e9868287016125ce565b60e08401526128fc8661018087016125ce565b8284015261290e866101c087016125ce565b61012084015261292161020086016124d9565b908301525061293361022084016126de565b6101608201529392505050565b600060c0828403121561295257600080fd5b61295a611bb0565b825161296581611a93565b8152602083015161297581611dce565b602082015261298784604085016125ce565b6040820152612998608084016124d9565b606082015260a08301516129ab81611dce565b60808201529392505050565b600061020082840312156129ca57600080fd5b6129d2611bd2565b6129db836126de565b81526129e9602084016126de565b60208201526129fa604084016123ae565b6040820152612a0b606084016123ae565b6060820152612a1d84608085016125ce565b6080820152612a2f8460c085016125ce565b60a0820152610100612a43858286016125ce565b60c0830152612a568561014086016125ce565b60e0830152612a698561018086016125ce565b90820152612a7b846101c085016125ce565b6101208201529392505050565b600060a08284031215612a9a57600080fd5b612aa2611bb0565b8251612aad8161281d565b81526020830151612abd8161281d565b60208201526040830151612ad081611dce565b60408201526060830151612ae3816123be565b606082015260808301516129ab816123be565b600060208284031215612b0857600080fd5b6105c7826124d9565b600060208284031215612b2357600080fd5b6105c7826123db565b805161ffff811681146123b957600080fd5b600060208284031215612b5057600080fd5b81516001600160401b0380821115612b6757600080fd5b908301906102008286031215612b7c57600080fd5b612b84611bf5565b612b8d836123ae565b8152612b9b602084016123ae565b6020820152612bac604084016124ce565b6040820152612bbd606084016124ce565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015183811115612bfe57600080fd5b612c0a88828701612335565b8284015250506101208084015183811115612c2457600080fd5b612c3088828701612335565b8284015250506101409150612c46828401612b2c565b828201526101609150612c5a828401612b2c565b82820152610180915081830151828201526101a09150612c7b8284016123db565b828201526101c09150612c8f8284016123db565b828201526101e091506126cf8284016123db565b600060208284031215612cb557600080fd5b81516001600160401b0380821115612ccc57600080fd5b908301906101208286031215612ce157600080fd5b612ce9611b6a565b825182811115612cf857600080fd5b612d0487828601612335565b825250602083015160208201526040830151604082015260608301516060820152612d31608084016123d0565b6080820152612d4260a084016123d0565b60a0820152612d5360c084016124d9565b60c0820152612d6460e084016124d9565b60e08201526101008084015183811115612d7d57600080fd5b612d8988828701612335565b91830191909152509594505050505056fea26469706673582212206842aee594cddfcf3e81ef60ed73e85d16f52fb03eea27ac7a96e369e99a024e64736f6c63430008140033",
1275
+ "bytecode": "0x608060405234801561001057600080fd5b50613899806100206000396000f3fe608060405234801561001057600080fd5b50600436106101f05760003560e01c80639096a1f31161010f578063c4d66de8116100a2578063de7b5d1411610071578063de7b5d14146105d1578063f0ea17c3146105e7578063f2b246c314610607578063f7f318d31461062757600080fd5b8063c4d66de814610578578063d06458c61461058d578063d4cda0d8146105ad578063dd26287a146105be57600080fd5b8063a5961b4c116100de578063a5961b4c146104a1578063a7ef3d211461050e578063b82d7ef51461052e578063bd7d9d851461055857600080fd5b80639096a1f3146103b457806390af7064146103c75780639ad69c67146103e7578063a310e2a31461047657600080fd5b80634793b4ab1161018757806378ae93501161015657806378ae93501461035b5780637bfd32171461036e5780637e54602a14610381578063887b1fa91461039457600080fd5b80634793b4ab146102e05780635da894021461030057806364eb3a9b1461032557806375d357df1461033857600080fd5b806335898f5d116101c357806335898f5d1461026e57806339bb60cd146102815780633f093cd6146102a157806344aa6836146102cd57600080fd5b80631488c845146101f55780631d3be4771461021b57806325d037431461023b57806327b1d7921461024e575b600080fd5b6102086102033660046120d1565b61063a565b6040519081526020015b60405180910390f35b61022e610229366004612120565b6106c2565b604051610212919061218d565b61020861024936600461223e565b61081b565b61026161025c36600461223e565b6108b5565b604051610212919061225b565b61020861027c36600461223e565b61097f565b61029461028f3660046122c8565b6109ac565b60405161021291906122fe565b6102b46102af3660046124df565b610afe565b6040516001600160c01b03199091168152602001610212565b6102086102db366004612571565b610b7b565b6102f36102ee36600461223e565b610bb6565b604051610212919061258a565b61031361030e3660046122c8565b610c5c565b60405160ff9091168152602001610212565b61020861033336600461223e565b610d59565b61034b61034636600461223e565b610d86565b6040519015158152602001610212565b61031361036936600461267d565b611015565b61020861037c36600461223e565b611075565b61020861038f36600461223e565b6110a2565b6103a76103a2366004612120565b6110cf565b60405161021291906126ab565b6103136103c236600461223e565b6111f8565b6103da6103d536600461223e565b611274565b60405161021291906126e1565b6103fa6103f536600461223e565b61131a565b604051610212919081516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b61048961048436600461223e565b6113c0565b6040516001600160a01b039091168152602001610212565b6104b46104af366004612571565b61146e565b6040516102129190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61052161051c36600461267d565b611502565b604051610212919061278e565b61054161053c366004612120565b611650565b6040805192835260ff909116602083015201610212565b61056b61056636600461223e565b6118f8565b6040516102129190612802565b61058b6105863660046129b1565b611a1e565b005b6105a061059b366004612120565b611b37565b60405161021291906129ce565b6001546001600160a01b0316610489565b6102086105cc36600461223e565b611caa565b60005461010090046001600160a01b0316610489565b6105fa6105f536600461223e565b611cd7565b6040516102129190612a7e565b61061a61061536600461223e565b611dac565b6040516102129190612aff565b61020861063536600461223e565b611ef4565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af4158015610695573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b99190612c01565b90505b92915050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af4158015610769573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078d9190612c01565b6040518263ffffffff1660e01b81526004016107ab91815260200190565b600060405180830381865afa1580156107c8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107f09190810190612c5f565b805190915015610815578080602001905181019061080e9190612cde565b9392505050565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610891573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bc9190612c01565b6040805160a081018252600080825260208201819052606092820183905291810182905260808101919091526001546000906001600160a01b03166354f6127f6108fe856110a2565b6040518263ffffffff1660e01b815260040161091c91815260200190565b600060405180830381865afa158015610939573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109619190810190612c5f565b805190915015610815578080602001905181019061080e9190612dd7565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b0384166078610844565b60408051608081018252600080825260208201819052606092820183905291810191909152600154604051635927341160e01b815262ffffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$e1d43d4fb5c0494c5b7331f52c1ee41012$__90635927341190604401602060405180830381865af4158015610a4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6e9190612c01565b6040518263ffffffff1660e01b8152600401610a8c91815260200190565b600060405180830381865afa158015610aa9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ad19190810190612c5f565b805190915015610af75780806020019051810190610aef9190612e9f565b9150506106bc565b5092915050565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd690610b3a9086908690600401612f5e565b602060405180830381865af4158015610b57573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b99190612f80565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401610874565b610bbe611fa8565b6001546000906001600160a01b03166354f6127f610bdb85611ef4565b6040518263ffffffff1660e01b8152600401610bf991815260200190565b600060405180830381865afa158015610c16573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c3e9190810190612c5f565b805190915015610815578080602001905181019061080e9190612fcd565b600154604051635927341160e01b815262ffffff831660048201526001600160601b03841660248201526000916001600160a01b0316906309648a9d9073__$e1d43d4fb5c0494c5b7331f52c1ee41012$__906359273411906044015b602060405180830381865af4158015610cd6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cfa9190612c01565b6040518263ffffffff1660e01b8152600401610d1891815260200190565b602060405180830381865afa158015610d35573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b991906130e3565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d3610844565b600080610d92836118f8565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015610df0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e149190613100565b15610e225750600092915050565b6101c081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610e7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea39190613100565b15610eb15750600092915050565b610200810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af4158015610f0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f329190613100565b15610f405750600092915050565b61016081015161ffff1615610f585750600092915050565b610f6b8161018001518260800151611f21565b15610f795750600192915050565b610ffe73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610fc5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe9919061311b565b826101e0015164ffffffffff90811691161090565b1561100c5750600092915050565b50600192915050565b600154604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201526000916001600160a01b0316906309648a9d9073__$0e0c503522f35343ef1955427c5075b143$__9063faac2b2290604401610cb9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e610844565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a610844565b6040805180820190915260008152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611153573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111779190612c01565b6040518263ffffffff1660e01b815260040161119591815260200190565b600060405180830381865afa1580156111b2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111da9190810190612c5f565b805190915015610815578080602001905181019061080e9190613138565b6001546000906001600160a01b03166309648a9d61121584610d59565b6040518263ffffffff1660e01b815260040161123391815260200190565b602060405180830381865afa158015611250573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bc91906130e3565b61127c612019565b6001546000906001600160a01b03166354f6127f61129985611075565b6040518263ffffffff1660e01b81526004016112b791815260200190565b600060405180830381865afa1580156112d4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112fc9190810190612c5f565b805190915015610815578080602001905181019061080e91906131c2565b611322612089565b6001546000906001600160a01b03166354f6127f61133f8561097f565b6040518263ffffffff1660e01b815260040161135d91815260200190565b600060405180830381865afa15801561137a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113a29190810190612c5f565b805190915015610815578080602001905181019061080e919061326a565b60015460009081906001600160a01b03166354f6127f6113df8561081b565b6040518263ffffffff1660e01b81526004016113fd91815260200190565b600060405180830381865afa15801561141a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526114429190810190612c5f565b8051909150156108155760008180602001905181019061146291906132ee565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa1580156114de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bc91906133bf565b6040805160c0810182526000808252602082018190529181018290526060808201839052608082015260a0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$0e0c503522f35343ef1955427c5075b143$__9063faac2b2290604401602060405180830381865af41580156115ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115cf9190612c01565b6040518263ffffffff1660e01b81526004016115ed91815260200190565b600060405180830381865afa15801561160a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116329190810190612c5f565b805190915015610af75780806020019051810190610aef9190613439565b600080600061165e846106c2565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af41580156116bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116e19190613100565b156117605773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561172f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117539190612c01565b60645b9250925050915091565b6117e48160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156117b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117d5919061311b565b64ffffffffff90811691161090565b1561185d5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611832573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118569190612c01565b606e611756565b806060015163ffffffff16816080015163ffffffff16106118ec5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156118c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118e59190612c01565b6078611756565b6040810151600a611756565b604080516102208101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e081018290526102008101919091526001546000906001600160a01b03166354f6127f61199d85610d59565b6040518263ffffffff1660e01b81526004016119bb91815260200190565b600060405180830381865afa1580156119d8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a009190810190612c5f565b805190915015610815578080602001905181019061080e9190613500565b60005460ff1615611a425760405163ae9eff1b60e01b815260040160405180910390fd5b6001600160a01b038116611a6957604051630cc51a5560e21b815260040160405180910390fd5b80600060016101000a8154816001600160a01b0302191690836001600160a01b03160217905550600060019054906101000a90046001600160a01b03166001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ae3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b07919061369c565b600180546001600160a01b0319166001600160a01b03929092169190911781556000805460ff1916909117905550565b611b9660405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015611c05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c299190612c01565b6040518263ffffffff1660e01b8152600401611c4791815260200190565b600060405180830381865afa158015611c64573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611c8c9190810190612c5f565b805190915015610815578080602001905181019061080e91906136b9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c610844565b6040805160e08101825260608082526000602083018190529282018390528082018390526080820183905260a0820183905260c08201526001549091906001600160a01b03166354f6127f611d2b85611caa565b6040518263ffffffff1660e01b8152600401611d4991815260200190565b600060405180830381865afa158015611d66573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d8e9190810190612c5f565b805190915015610815578080602001905181019061080e91906137b0565b611e56604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6001546000906001600160a01b03166354f6127f611e738561081b565b6040518263ffffffff1660e01b8152600401611e9191815260200190565b600060405180830381865afa158015611eae573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ed69190810190612c5f565b805190915015610815578080602001905181019061080e91906132ee565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc610844565b60405163c4cade9d60e01b81526001600160601b0380841660048301528216602482015260009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063c4cade9d90604401602060405180830381865af4158015611f84573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b99190613100565b60405180610120016040528060006001600160601b03168152602001611fe1604051806040016040528060008152602001600081525090565b81526060602082018190526000604083018190529082018190526080820181905260a0820181905260c0820181905260e09091015290565b6040805161010081018252600080825260208083018290528284018290526060830182905283518085019094528184528301529060808201905b8152602001612075604051806040016040528060008152602001600081525090565b815260006020820181905260409091015290565b6040518060c0016040528060006001600160601b0316815260200160006001600160a01b03168152602001612053604051806040016040528060008152602001600081525090565b600080604083850312156120e457600080fd5b8235915060208301358060000b81146120fc57600080fd5b809150509250929050565b6001600160c01b03198116811461211d57600080fd5b50565b60006020828403121561213257600080fd5b813561080e81612107565b60005b83811015612158578181015183820152602001612140565b50506000910152565b6000815180845261217981602086016020860161213d565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e060408401526121bd610100840182612161565b90506040840151606084015263ffffffff606085015116608084015260808401516121f060a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e08501526122208282612161565b95945050505050565b6001600160601b038116811461211d57600080fd5b60006020828403121561225057600080fd5b813561080e81612229565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a0606084015261229960c0840182612161565b90506001600160601b03606085015116608084015263ffffffff60808501511660a08401528091505092915050565b600080604083850312156122db57600080fd5b82356122e681612229565b9150602083013562ffffff811681146120fc57600080fd5b6020815261ffff82511660208201526001600160601b036020830151166040820152600060408301516080606084015261233b60a0840182612161565b905064ffffffffff60608501511660808401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b038111828210171561239057612390612358565b60405290565b60405160a081016001600160401b038111828210171561239057612390612358565b604080519081016001600160401b038111828210171561239057612390612358565b60405161012081016001600160401b038111828210171561239057612390612358565b60405161010081016001600160401b038111828210171561239057612390612358565b60405160c081016001600160401b038111828210171561239057612390612358565b60405161014081016001600160401b038111828210171561239057612390612358565b60405161022081016001600160401b038111828210171561239057612390612358565b604051601f8201601f191681016001600160401b03811182821017156124b0576124b0612358565b604052919050565b60006001600160401b038211156124d1576124d1612358565b50601f01601f191660200190565b600080604083850312156124f257600080fd5b82356124fd81612229565b915060208301356001600160401b0381111561251857600080fd5b8301601f8101851361252957600080fd5b803561253c612537826124b8565b612488565b81815286602083850101111561255157600080fd5b816020840160208301376000602083830101528093505050509250929050565b60006020828403121561258357600080fd5b5035919050565b602081526125a46020820183516001600160601b03169052565b600060208301516125c2604084018280518252602090810151910152565b5060408301516101408060808501526125df610160850183612161565b915060608501516125fb60a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c08501516101006126408187018364ffffffffff169052565b60e087015164ffffffffff811661012088015291505b9095015164ffffffffff1693019290925250919050565b61ffff8116811461211d57600080fd5b6000806040838503121561269057600080fd5b823561269b81612229565b915060208301356120fc8161266d565b602081526001600160601b038251166020820152600060208301516040808401526126d96060840182612161565b949350505050565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b031690820152606080830151610140830191612730908401826001600160601b03169052565b50608083015161274d608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b038116610120840152610af7565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260ff6060840151166080830152608083015160c060a08401526127e560e0840182612161565b905064ffffffffff60a08501511660c08401528091505092915050565b6020815261281c6020820183516001600160601b03169052565b6000602083015161283860408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e08301516101006128be8185018364ffffffffff169052565b8085015191505061022061012081818601526128de610240860184612161565b9250808601519050610140601f1986850301818701526128fe8483612161565b9350808701519150506101606129198187018361ffff169052565b86015190506101806129308682018361ffff169052565b86015190506101a061294c868201836001600160601b03169052565b86015190506101c0612968868201836001600160601b03169052565b86015190506101e06129828682018364ffffffffff169052565b86015190506102006126568682018364ffffffffff169052565b6001600160a01b038116811461211d57600080fd5b6000602082840312156129c357600080fd5b813561080e8161299c565b60208152600082516101208060208501526129ed610140850183612161565b91506020850151604085015260408501516060850152606085015160808501526080850151612a2460a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e0850151610100612a5a8187018315159052565b860151858403601f1901838701529050612a748382612161565b9695505050505050565b602081526000825160e06020840152612a9b610100840182612161565b9050602084015160018060a01b03808216604086015280604087015116606086015280606087015116608086015250506080840151612ae560a08501826001600160601b03169052565b5060a08401516001600160601b03811660c0850152612204565b81516001600160a01b0316815261020081016020830151612b2b60208401826001600160a01b03169052565b506040830151612b4660408401826001600160601b03169052565b506060830151612b6160608401826001600160601b03169052565b506080830151612b7e608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c0830151610100612bb48185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e08501529050610af7565b600060208284031215612c1357600080fd5b5051919050565b600082601f830112612c2b57600080fd5b8151612c39612537826124b8565b818152846020838601011115612c4e57600080fd5b6126d982602083016020870161213d565b600060208284031215612c7157600080fd5b81516001600160401b03811115612c8757600080fd5b6126d984828501612c1a565b8051612c9e81612229565b919050565b63ffffffff8116811461211d57600080fd5b8051612c9e81612ca3565b64ffffffffff8116811461211d57600080fd5b8051612c9e81612cc0565b600060208284031215612cf057600080fd5b81516001600160401b0380821115612d0757600080fd5b9083019060e08286031215612d1b57600080fd5b612d2361236e565b612d2c83612c93565b8152602083015182811115612d4057600080fd5b612d4c87828601612c1a565b60208301525060408301516040820152612d6860608401612cb5565b6060820152612d7960808401612cb5565b6080820152612d8a60a08401612cd3565b60a082015260c083015182811115612da157600080fd5b612dad87828601612c1a565b60c08301525095945050505050565b8051612c9e81612107565b80518015158114612c9e57600080fd5b600060208284031215612de957600080fd5b81516001600160401b0380821115612e0057600080fd5b9083019060a08286031215612e1457600080fd5b612e1c612396565b8251612e2781612107565b8152612e3560208401612dc7565b6020820152604083015182811115612e4c57600080fd5b612e5887828601612c1a565b60408301525060608301519150612e6e82612229565b81606082015260808301519250612e8483612ca3565b6080810192909252509392505050565b8051612c9e8161266d565b600060208284031215612eb157600080fd5b81516001600160401b0380821115612ec857600080fd5b9083019060808286031215612edc57600080fd5b604051608081018181108382111715612ef757612ef7612358565b6040528251612f058161266d565b81526020830151612f1581612229565b6020820152604083015182811115612f2c57600080fd5b612f3887828601612c1a565b60408301525060608301519250612f4e83612cc0565b6060810192909252509392505050565b6001600160601b03831681526040602082015260006126d96040830184612161565b600060208284031215612f9257600080fd5b815161080e81612107565b600060408284031215612faf57600080fd5b612fb76123b8565b9050815181526020820151602082015292915050565b600060208284031215612fdf57600080fd5b81516001600160401b0380821115612ff657600080fd5b90830190610140828603121561300b57600080fd5b6130136123da565b61301c83612c93565b815261302b8660208501612f9d565b602082015260608301518281111561304257600080fd5b61304e87828601612c1a565b60408301525061306060808401612c93565b606082015261307160a08401612c93565b608082015261308260c08401612c93565b60a082015261309360e08401612cd3565b60c082015261010091506130a8828401612cd3565b60e08201526130ba6101208401612cd3565b91810191909152949350505050565b60ff8116811461211d57600080fd5b8051612c9e816130c9565b6000602082840312156130f557600080fd5b815161080e816130c9565b60006020828403121561311257600080fd5b6106b982612dc7565b60006020828403121561312d57600080fd5b815161080e81612cc0565b60006020828403121561314a57600080fd5b81516001600160401b038082111561316157600080fd5b908301906040828603121561317557600080fd5b61317d6123b8565b825161318881612229565b815260208301518281111561319c57600080fd5b6131a887828601612c1a565b60208301525095945050505050565b8051612c9e8161299c565b600061014082840312156131d557600080fd5b6131dd6123fd565b6131e6836131b7565b81526131f4602084016131b7565b602082015261320560408401612c93565b604082015261321660608401612c93565b60608201526132288460808501612f9d565b608082015261323a8460c08501612f9d565b60a082015261324c6101008401612dc7565b60c082015261325e61012084016131b7565b60e08201529392505050565b6000610100828403121561327d57600080fd5b613285612420565b825161329081612229565b815260208301516132a08161299c565b60208201526132b28460408501612f9d565b60408201526132c48460808501612f9d565b606082015260c08301516132d78161299c565b608082015260e0929092015160a083015250919050565b6000610200828403121561330157600080fd5b613309612442565b613312836131b7565b8152613320602084016131b7565b602082015261333160408401612c93565b604082015261334260608401612c93565b60608201526133548460808501612f9d565b60808201526133668460c08501612f9d565b60a082015261010061337a85828601612f9d565b60c083015261338d856101408601612f9d565b60e08301526133a0856101808601612f9d565b908201526133b2846101c08501612f9d565b6101208201529392505050565b600060a082840312156133d157600080fd5b6133d9612396565b82516133e4816130c9565b815260208301516133f4816130c9565b602082015260408301516134078161299c565b6040820152606083015161341a81612ca3565b6060820152608083015161342d81612ca3565b60808201529392505050565b60006020828403121561344b57600080fd5b81516001600160401b038082111561346257600080fd5b9083019060c0828603121561347657600080fd5b61347e612420565b825161348981612229565b8152602083015161349981612229565b602082015260408301516134ac816130c9565b60408201526134bd606084016130d8565b60608201526080830151828111156134d457600080fd5b6134e087828601612c1a565b6080830152506134f260a08401612cd3565b60a082015295945050505050565b60006020828403121561351257600080fd5b81516001600160401b038082111561352957600080fd5b90830190610220828603121561353e57600080fd5b613546612465565b61354f83612c93565b815261355d60208401612c93565b602082015261356e60408401612dbc565b604082015261357f60608401612dbc565b606082015261359060808401612c93565b60808201526135a160a08401612c93565b60a08201526135b260c08401612c93565b60c08201526135c360e08401612cd3565b60e082015261010080840151838111156135dc57600080fd5b6135e888828701612c1a565b828401525050610120808401518381111561360257600080fd5b61360e88828701612c1a565b8284015250506101409150613624828401612e94565b828201526101609150613638828401612e94565b82820152610180915061364c828401612c93565b828201526101a09150613660828401612c93565b828201526101c09150613674828401612cd3565b828201526101e09150613688828401612cd3565b8282015261020091506130ba828401612cd3565b6000602082840312156136ae57600080fd5b815161080e8161299c565b6000602082840312156136cb57600080fd5b81516001600160401b03808211156136e257600080fd5b9083019061012082860312156136f757600080fd5b6136ff6123da565b82518281111561370e57600080fd5b61371a87828601612c1a565b82525060208301516020820152604083015160408201526060830151606082015261374760808401612cb5565b608082015261375860a08401612cb5565b60a082015261376960c08401612dc7565b60c082015261377a60e08401612dc7565b60e0820152610100808401518381111561379357600080fd5b61379f88828701612c1a565b918301919091525095945050505050565b6000602082840312156137c257600080fd5b81516001600160401b03808211156137d957600080fd5b9083019060e082860312156137ed57600080fd5b6137f561236e565b82518281111561380457600080fd5b61381087828601612c1a565b82525061381f602084016131b7565b6020820152613830604084016131b7565b6040820152613841606084016131b7565b606082015261385260808401612c93565b6080820152612d8a60a08401612c9356fea26469706673582212205b1332bad3ab29f516ac183f3b91662f06221aa4562adcecda4c4a1e4e0de8a164736f6c63430008140033",
1276
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101f05760003560e01c80639096a1f31161010f578063c4d66de8116100a2578063de7b5d1411610071578063de7b5d14146105d1578063f0ea17c3146105e7578063f2b246c314610607578063f7f318d31461062757600080fd5b8063c4d66de814610578578063d06458c61461058d578063d4cda0d8146105ad578063dd26287a146105be57600080fd5b8063a5961b4c116100de578063a5961b4c146104a1578063a7ef3d211461050e578063b82d7ef51461052e578063bd7d9d851461055857600080fd5b80639096a1f3146103b457806390af7064146103c75780639ad69c67146103e7578063a310e2a31461047657600080fd5b80634793b4ab1161018757806378ae93501161015657806378ae93501461035b5780637bfd32171461036e5780637e54602a14610381578063887b1fa91461039457600080fd5b80634793b4ab146102e05780635da894021461030057806364eb3a9b1461032557806375d357df1461033857600080fd5b806335898f5d116101c357806335898f5d1461026e57806339bb60cd146102815780633f093cd6146102a157806344aa6836146102cd57600080fd5b80631488c845146101f55780631d3be4771461021b57806325d037431461023b57806327b1d7921461024e575b600080fd5b6102086102033660046120d1565b61063a565b6040519081526020015b60405180910390f35b61022e610229366004612120565b6106c2565b604051610212919061218d565b61020861024936600461223e565b61081b565b61026161025c36600461223e565b6108b5565b604051610212919061225b565b61020861027c36600461223e565b61097f565b61029461028f3660046122c8565b6109ac565b60405161021291906122fe565b6102b46102af3660046124df565b610afe565b6040516001600160c01b03199091168152602001610212565b6102086102db366004612571565b610b7b565b6102f36102ee36600461223e565b610bb6565b604051610212919061258a565b61031361030e3660046122c8565b610c5c565b60405160ff9091168152602001610212565b61020861033336600461223e565b610d59565b61034b61034636600461223e565b610d86565b6040519015158152602001610212565b61031361036936600461267d565b611015565b61020861037c36600461223e565b611075565b61020861038f36600461223e565b6110a2565b6103a76103a2366004612120565b6110cf565b60405161021291906126ab565b6103136103c236600461223e565b6111f8565b6103da6103d536600461223e565b611274565b60405161021291906126e1565b6103fa6103f536600461223e565b61131a565b604051610212919081516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b61048961048436600461223e565b6113c0565b6040516001600160a01b039091168152602001610212565b6104b46104af366004612571565b61146e565b6040516102129190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61052161051c36600461267d565b611502565b604051610212919061278e565b61054161053c366004612120565b611650565b6040805192835260ff909116602083015201610212565b61056b61056636600461223e565b6118f8565b6040516102129190612802565b61058b6105863660046129b1565b611a1e565b005b6105a061059b366004612120565b611b37565b60405161021291906129ce565b6001546001600160a01b0316610489565b6102086105cc36600461223e565b611caa565b60005461010090046001600160a01b0316610489565b6105fa6105f536600461223e565b611cd7565b6040516102129190612a7e565b61061a61061536600461223e565b611dac565b6040516102129190612aff565b61020861063536600461223e565b611ef4565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af4158015610695573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b99190612c01565b90505b92915050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af4158015610769573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078d9190612c01565b6040518263ffffffff1660e01b81526004016107ab91815260200190565b600060405180830381865afa1580156107c8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107f09190810190612c5f565b805190915015610815578080602001905181019061080e9190612cde565b9392505050565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610891573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bc9190612c01565b6040805160a081018252600080825260208201819052606092820183905291810182905260808101919091526001546000906001600160a01b03166354f6127f6108fe856110a2565b6040518263ffffffff1660e01b815260040161091c91815260200190565b600060405180830381865afa158015610939573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109619190810190612c5f565b805190915015610815578080602001905181019061080e9190612dd7565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b0384166078610844565b60408051608081018252600080825260208201819052606092820183905291810191909152600154604051635927341160e01b815262ffffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$e1d43d4fb5c0494c5b7331f52c1ee41012$__90635927341190604401602060405180830381865af4158015610a4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6e9190612c01565b6040518263ffffffff1660e01b8152600401610a8c91815260200190565b600060405180830381865afa158015610aa9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ad19190810190612c5f565b805190915015610af75780806020019051810190610aef9190612e9f565b9150506106bc565b5092915050565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd690610b3a9086908690600401612f5e565b602060405180830381865af4158015610b57573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b99190612f80565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401610874565b610bbe611fa8565b6001546000906001600160a01b03166354f6127f610bdb85611ef4565b6040518263ffffffff1660e01b8152600401610bf991815260200190565b600060405180830381865afa158015610c16573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c3e9190810190612c5f565b805190915015610815578080602001905181019061080e9190612fcd565b600154604051635927341160e01b815262ffffff831660048201526001600160601b03841660248201526000916001600160a01b0316906309648a9d9073__$e1d43d4fb5c0494c5b7331f52c1ee41012$__906359273411906044015b602060405180830381865af4158015610cd6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cfa9190612c01565b6040518263ffffffff1660e01b8152600401610d1891815260200190565b602060405180830381865afa158015610d35573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b991906130e3565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d3610844565b600080610d92836118f8565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015610df0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e149190613100565b15610e225750600092915050565b6101c081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610e7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea39190613100565b15610eb15750600092915050565b610200810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af4158015610f0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f329190613100565b15610f405750600092915050565b61016081015161ffff1615610f585750600092915050565b610f6b8161018001518260800151611f21565b15610f795750600192915050565b610ffe73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610fc5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe9919061311b565b826101e0015164ffffffffff90811691161090565b1561100c5750600092915050565b50600192915050565b600154604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201526000916001600160a01b0316906309648a9d9073__$0e0c503522f35343ef1955427c5075b143$__9063faac2b2290604401610cb9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e610844565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a610844565b6040805180820190915260008152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611153573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111779190612c01565b6040518263ffffffff1660e01b815260040161119591815260200190565b600060405180830381865afa1580156111b2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111da9190810190612c5f565b805190915015610815578080602001905181019061080e9190613138565b6001546000906001600160a01b03166309648a9d61121584610d59565b6040518263ffffffff1660e01b815260040161123391815260200190565b602060405180830381865afa158015611250573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bc91906130e3565b61127c612019565b6001546000906001600160a01b03166354f6127f61129985611075565b6040518263ffffffff1660e01b81526004016112b791815260200190565b600060405180830381865afa1580156112d4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112fc9190810190612c5f565b805190915015610815578080602001905181019061080e91906131c2565b611322612089565b6001546000906001600160a01b03166354f6127f61133f8561097f565b6040518263ffffffff1660e01b815260040161135d91815260200190565b600060405180830381865afa15801561137a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113a29190810190612c5f565b805190915015610815578080602001905181019061080e919061326a565b60015460009081906001600160a01b03166354f6127f6113df8561081b565b6040518263ffffffff1660e01b81526004016113fd91815260200190565b600060405180830381865afa15801561141a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526114429190810190612c5f565b8051909150156108155760008180602001905181019061146291906132ee565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa1580156114de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bc91906133bf565b6040805160c0810182526000808252602082018190529181018290526060808201839052608082015260a0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$0e0c503522f35343ef1955427c5075b143$__9063faac2b2290604401602060405180830381865af41580156115ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115cf9190612c01565b6040518263ffffffff1660e01b81526004016115ed91815260200190565b600060405180830381865afa15801561160a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116329190810190612c5f565b805190915015610af75780806020019051810190610aef9190613439565b600080600061165e846106c2565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af41580156116bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116e19190613100565b156117605773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561172f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117539190612c01565b60645b9250925050915091565b6117e48160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156117b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117d5919061311b565b64ffffffffff90811691161090565b1561185d5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611832573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118569190612c01565b606e611756565b806060015163ffffffff16816080015163ffffffff16106118ec5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156118c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118e59190612c01565b6078611756565b6040810151600a611756565b604080516102208101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e081018290526102008101919091526001546000906001600160a01b03166354f6127f61199d85610d59565b6040518263ffffffff1660e01b81526004016119bb91815260200190565b600060405180830381865afa1580156119d8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a009190810190612c5f565b805190915015610815578080602001905181019061080e9190613500565b60005460ff1615611a425760405163ae9eff1b60e01b815260040160405180910390fd5b6001600160a01b038116611a6957604051630cc51a5560e21b815260040160405180910390fd5b80600060016101000a8154816001600160a01b0302191690836001600160a01b03160217905550600060019054906101000a90046001600160a01b03166001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ae3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b07919061369c565b600180546001600160a01b0319166001600160a01b03929092169190911781556000805460ff1916909117905550565b611b9660405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015611c05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c299190612c01565b6040518263ffffffff1660e01b8152600401611c4791815260200190565b600060405180830381865afa158015611c64573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611c8c9190810190612c5f565b805190915015610815578080602001905181019061080e91906136b9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c610844565b6040805160e08101825260608082526000602083018190529282018390528082018390526080820183905260a0820183905260c08201526001549091906001600160a01b03166354f6127f611d2b85611caa565b6040518263ffffffff1660e01b8152600401611d4991815260200190565b600060405180830381865afa158015611d66573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d8e9190810190612c5f565b805190915015610815578080602001905181019061080e91906137b0565b611e56604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6001546000906001600160a01b03166354f6127f611e738561081b565b6040518263ffffffff1660e01b8152600401611e9191815260200190565b600060405180830381865afa158015611eae573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ed69190810190612c5f565b805190915015610815578080602001905181019061080e91906132ee565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc610844565b60405163c4cade9d60e01b81526001600160601b0380841660048301528216602482015260009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063c4cade9d90604401602060405180830381865af4158015611f84573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b99190613100565b60405180610120016040528060006001600160601b03168152602001611fe1604051806040016040528060008152602001600081525090565b81526060602082018190526000604083018190529082018190526080820181905260a0820181905260c0820181905260e09091015290565b6040805161010081018252600080825260208083018290528284018290526060830182905283518085019094528184528301529060808201905b8152602001612075604051806040016040528060008152602001600081525090565b815260006020820181905260409091015290565b6040518060c0016040528060006001600160601b0316815260200160006001600160a01b03168152602001612053604051806040016040528060008152602001600081525090565b600080604083850312156120e457600080fd5b8235915060208301358060000b81146120fc57600080fd5b809150509250929050565b6001600160c01b03198116811461211d57600080fd5b50565b60006020828403121561213257600080fd5b813561080e81612107565b60005b83811015612158578181015183820152602001612140565b50506000910152565b6000815180845261217981602086016020860161213d565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e060408401526121bd610100840182612161565b90506040840151606084015263ffffffff606085015116608084015260808401516121f060a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e08501526122208282612161565b95945050505050565b6001600160601b038116811461211d57600080fd5b60006020828403121561225057600080fd5b813561080e81612229565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a0606084015261229960c0840182612161565b90506001600160601b03606085015116608084015263ffffffff60808501511660a08401528091505092915050565b600080604083850312156122db57600080fd5b82356122e681612229565b9150602083013562ffffff811681146120fc57600080fd5b6020815261ffff82511660208201526001600160601b036020830151166040820152600060408301516080606084015261233b60a0840182612161565b905064ffffffffff60608501511660808401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b038111828210171561239057612390612358565b60405290565b60405160a081016001600160401b038111828210171561239057612390612358565b604080519081016001600160401b038111828210171561239057612390612358565b60405161012081016001600160401b038111828210171561239057612390612358565b60405161010081016001600160401b038111828210171561239057612390612358565b60405160c081016001600160401b038111828210171561239057612390612358565b60405161014081016001600160401b038111828210171561239057612390612358565b60405161022081016001600160401b038111828210171561239057612390612358565b604051601f8201601f191681016001600160401b03811182821017156124b0576124b0612358565b604052919050565b60006001600160401b038211156124d1576124d1612358565b50601f01601f191660200190565b600080604083850312156124f257600080fd5b82356124fd81612229565b915060208301356001600160401b0381111561251857600080fd5b8301601f8101851361252957600080fd5b803561253c612537826124b8565b612488565b81815286602083850101111561255157600080fd5b816020840160208301376000602083830101528093505050509250929050565b60006020828403121561258357600080fd5b5035919050565b602081526125a46020820183516001600160601b03169052565b600060208301516125c2604084018280518252602090810151910152565b5060408301516101408060808501526125df610160850183612161565b915060608501516125fb60a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c08501516101006126408187018364ffffffffff169052565b60e087015164ffffffffff811661012088015291505b9095015164ffffffffff1693019290925250919050565b61ffff8116811461211d57600080fd5b6000806040838503121561269057600080fd5b823561269b81612229565b915060208301356120fc8161266d565b602081526001600160601b038251166020820152600060208301516040808401526126d96060840182612161565b949350505050565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b031690820152606080830151610140830191612730908401826001600160601b03169052565b50608083015161274d608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b038116610120840152610af7565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260ff6060840151166080830152608083015160c060a08401526127e560e0840182612161565b905064ffffffffff60a08501511660c08401528091505092915050565b6020815261281c6020820183516001600160601b03169052565b6000602083015161283860408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e08301516101006128be8185018364ffffffffff169052565b8085015191505061022061012081818601526128de610240860184612161565b9250808601519050610140601f1986850301818701526128fe8483612161565b9350808701519150506101606129198187018361ffff169052565b86015190506101806129308682018361ffff169052565b86015190506101a061294c868201836001600160601b03169052565b86015190506101c0612968868201836001600160601b03169052565b86015190506101e06129828682018364ffffffffff169052565b86015190506102006126568682018364ffffffffff169052565b6001600160a01b038116811461211d57600080fd5b6000602082840312156129c357600080fd5b813561080e8161299c565b60208152600082516101208060208501526129ed610140850183612161565b91506020850151604085015260408501516060850152606085015160808501526080850151612a2460a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e0850151610100612a5a8187018315159052565b860151858403601f1901838701529050612a748382612161565b9695505050505050565b602081526000825160e06020840152612a9b610100840182612161565b9050602084015160018060a01b03808216604086015280604087015116606086015280606087015116608086015250506080840151612ae560a08501826001600160601b03169052565b5060a08401516001600160601b03811660c0850152612204565b81516001600160a01b0316815261020081016020830151612b2b60208401826001600160a01b03169052565b506040830151612b4660408401826001600160601b03169052565b506060830151612b6160608401826001600160601b03169052565b506080830151612b7e608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c0830151610100612bb48185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e08501529050610af7565b600060208284031215612c1357600080fd5b5051919050565b600082601f830112612c2b57600080fd5b8151612c39612537826124b8565b818152846020838601011115612c4e57600080fd5b6126d982602083016020870161213d565b600060208284031215612c7157600080fd5b81516001600160401b03811115612c8757600080fd5b6126d984828501612c1a565b8051612c9e81612229565b919050565b63ffffffff8116811461211d57600080fd5b8051612c9e81612ca3565b64ffffffffff8116811461211d57600080fd5b8051612c9e81612cc0565b600060208284031215612cf057600080fd5b81516001600160401b0380821115612d0757600080fd5b9083019060e08286031215612d1b57600080fd5b612d2361236e565b612d2c83612c93565b8152602083015182811115612d4057600080fd5b612d4c87828601612c1a565b60208301525060408301516040820152612d6860608401612cb5565b6060820152612d7960808401612cb5565b6080820152612d8a60a08401612cd3565b60a082015260c083015182811115612da157600080fd5b612dad87828601612c1a565b60c08301525095945050505050565b8051612c9e81612107565b80518015158114612c9e57600080fd5b600060208284031215612de957600080fd5b81516001600160401b0380821115612e0057600080fd5b9083019060a08286031215612e1457600080fd5b612e1c612396565b8251612e2781612107565b8152612e3560208401612dc7565b6020820152604083015182811115612e4c57600080fd5b612e5887828601612c1a565b60408301525060608301519150612e6e82612229565b81606082015260808301519250612e8483612ca3565b6080810192909252509392505050565b8051612c9e8161266d565b600060208284031215612eb157600080fd5b81516001600160401b0380821115612ec857600080fd5b9083019060808286031215612edc57600080fd5b604051608081018181108382111715612ef757612ef7612358565b6040528251612f058161266d565b81526020830151612f1581612229565b6020820152604083015182811115612f2c57600080fd5b612f3887828601612c1a565b60408301525060608301519250612f4e83612cc0565b6060810192909252509392505050565b6001600160601b03831681526040602082015260006126d96040830184612161565b600060208284031215612f9257600080fd5b815161080e81612107565b600060408284031215612faf57600080fd5b612fb76123b8565b9050815181526020820151602082015292915050565b600060208284031215612fdf57600080fd5b81516001600160401b0380821115612ff657600080fd5b90830190610140828603121561300b57600080fd5b6130136123da565b61301c83612c93565b815261302b8660208501612f9d565b602082015260608301518281111561304257600080fd5b61304e87828601612c1a565b60408301525061306060808401612c93565b606082015261307160a08401612c93565b608082015261308260c08401612c93565b60a082015261309360e08401612cd3565b60c082015261010091506130a8828401612cd3565b60e08201526130ba6101208401612cd3565b91810191909152949350505050565b60ff8116811461211d57600080fd5b8051612c9e816130c9565b6000602082840312156130f557600080fd5b815161080e816130c9565b60006020828403121561311257600080fd5b6106b982612dc7565b60006020828403121561312d57600080fd5b815161080e81612cc0565b60006020828403121561314a57600080fd5b81516001600160401b038082111561316157600080fd5b908301906040828603121561317557600080fd5b61317d6123b8565b825161318881612229565b815260208301518281111561319c57600080fd5b6131a887828601612c1a565b60208301525095945050505050565b8051612c9e8161299c565b600061014082840312156131d557600080fd5b6131dd6123fd565b6131e6836131b7565b81526131f4602084016131b7565b602082015261320560408401612c93565b604082015261321660608401612c93565b60608201526132288460808501612f9d565b608082015261323a8460c08501612f9d565b60a082015261324c6101008401612dc7565b60c082015261325e61012084016131b7565b60e08201529392505050565b6000610100828403121561327d57600080fd5b613285612420565b825161329081612229565b815260208301516132a08161299c565b60208201526132b28460408501612f9d565b60408201526132c48460808501612f9d565b606082015260c08301516132d78161299c565b608082015260e0929092015160a083015250919050565b6000610200828403121561330157600080fd5b613309612442565b613312836131b7565b8152613320602084016131b7565b602082015261333160408401612c93565b604082015261334260608401612c93565b60608201526133548460808501612f9d565b60808201526133668460c08501612f9d565b60a082015261010061337a85828601612f9d565b60c083015261338d856101408601612f9d565b60e08301526133a0856101808601612f9d565b908201526133b2846101c08501612f9d565b6101208201529392505050565b600060a082840312156133d157600080fd5b6133d9612396565b82516133e4816130c9565b815260208301516133f4816130c9565b602082015260408301516134078161299c565b6040820152606083015161341a81612ca3565b6060820152608083015161342d81612ca3565b60808201529392505050565b60006020828403121561344b57600080fd5b81516001600160401b038082111561346257600080fd5b9083019060c0828603121561347657600080fd5b61347e612420565b825161348981612229565b8152602083015161349981612229565b602082015260408301516134ac816130c9565b60408201526134bd606084016130d8565b60608201526080830151828111156134d457600080fd5b6134e087828601612c1a565b6080830152506134f260a08401612cd3565b60a082015295945050505050565b60006020828403121561351257600080fd5b81516001600160401b038082111561352957600080fd5b90830190610220828603121561353e57600080fd5b613546612465565b61354f83612c93565b815261355d60208401612c93565b602082015261356e60408401612dbc565b604082015261357f60608401612dbc565b606082015261359060808401612c93565b60808201526135a160a08401612c93565b60a08201526135b260c08401612c93565b60c08201526135c360e08401612cd3565b60e082015261010080840151838111156135dc57600080fd5b6135e888828701612c1a565b828401525050610120808401518381111561360257600080fd5b61360e88828701612c1a565b8284015250506101409150613624828401612e94565b828201526101609150613638828401612e94565b82820152610180915061364c828401612c93565b828201526101a09150613660828401612c93565b828201526101c09150613674828401612cd3565b828201526101e09150613688828401612cd3565b8282015261020091506130ba828401612cd3565b6000602082840312156136ae57600080fd5b815161080e8161299c565b6000602082840312156136cb57600080fd5b81516001600160401b03808211156136e257600080fd5b9083019061012082860312156136f757600080fd5b6136ff6123da565b82518281111561370e57600080fd5b61371a87828601612c1a565b82525060208301516020820152604083015160408201526060830151606082015261374760808401612cb5565b608082015261375860a08401612cb5565b60a082015261376960c08401612dc7565b60c082015261377a60e08401612dc7565b60e0820152610100808401518381111561379357600080fd5b61379f88828701612c1a565b918301919091525095945050505050565b6000602082840312156137c257600080fd5b81516001600160401b03808211156137d957600080fd5b9083019060e082860312156137ed57600080fd5b6137f561236e565b82518281111561380457600080fd5b61381087828601612c1a565b82525061381f602084016131b7565b6020820152613830604084016131b7565b6040820152613841606084016131b7565b606082015261385260808401612c93565b6080820152612d8a60a08401612c9356fea26469706673582212205b1332bad3ab29f516ac183f3b91662f06221aa4562adcecda4c4a1e4e0de8a164736f6c63430008140033",
1185
1277
  "linkReferences": {
1278
+ "contracts/types/Amount.sol": {
1279
+ "AmountLib": [
1280
+ {
1281
+ "length": 20,
1282
+ "start": 8042
1283
+ }
1284
+ ]
1285
+ },
1286
+ "contracts/types/ClaimId.sol": {
1287
+ "ClaimIdLib": [
1288
+ {
1289
+ "length": 20,
1290
+ "start": 4211
1291
+ },
1292
+ {
1293
+ "length": 20,
1294
+ "start": 5521
1295
+ }
1296
+ ]
1297
+ },
1186
1298
  "contracts/types/DistributorType.sol": {
1187
1299
  "DistributorTypeLib": [
1188
1300
  {
1189
1301
  "length": 20,
1190
- "start": 5468
1302
+ "start": 7147
1191
1303
  }
1192
1304
  ]
1193
1305
  },
@@ -1195,31 +1307,47 @@
1195
1307
  "NftIdLib": [
1196
1308
  {
1197
1309
  "length": 20,
1198
- "start": 1860
1310
+ "start": 2111
1311
+ },
1312
+ {
1313
+ "length": 20,
1314
+ "start": 2467
1199
1315
  },
1200
1316
  {
1201
1317
  "length": 20,
1202
- "start": 2206
1318
+ "start": 3453
1203
1319
  },
1204
1320
  {
1205
1321
  "length": 20,
1206
- "start": 3148
1322
+ "start": 3542
1207
1323
  },
1208
1324
  {
1209
1325
  "length": 20,
1210
- "start": 3193
1326
+ "start": 4249
1211
1327
  },
1212
1328
  {
1213
1329
  "length": 20,
1214
- "start": 3238
1330
+ "start": 4294
1215
1331
  },
1216
1332
  {
1217
1333
  "length": 20,
1218
- "start": 5695
1334
+ "start": 7374
1219
1335
  },
1220
1336
  {
1221
1337
  "length": 20,
1222
- "start": 6068
1338
+ "start": 7960
1339
+ }
1340
+ ]
1341
+ },
1342
+ "contracts/types/PayoutId.sol": {
1343
+ "PayoutIdLib": [
1344
+ {
1345
+ "length": 20,
1346
+ "start": 2608
1347
+ },
1348
+ {
1349
+ "length": 20,
1350
+ "start": 3259
1223
1351
  }
1224
1352
  ]
1225
1353
  },
@@ -1227,11 +1355,11 @@
1227
1355
  "ReferralLib": [
1228
1356
  {
1229
1357
  "length": 20,
1230
- "start": 1627
1358
+ "start": 1871
1231
1359
  },
1232
1360
  {
1233
1361
  "length": 20,
1234
- "start": 2265
1362
+ "start": 2864
1235
1363
  }
1236
1364
  ]
1237
1365
  },
@@ -1239,7 +1367,7 @@
1239
1367
  "RiskIdLib": [
1240
1368
  {
1241
1369
  "length": 20,
1242
- "start": 3353
1370
+ "start": 4409
1243
1371
  }
1244
1372
  ]
1245
1373
  },
@@ -1247,11 +1375,23 @@
1247
1375
  "TimestampLib": [
1248
1376
  {
1249
1377
  "length": 20,
1250
- "start": 4405
1378
+ "start": 3685
1379
+ },
1380
+ {
1381
+ "length": 20,
1382
+ "start": 3828
1383
+ },
1384
+ {
1385
+ "length": 20,
1386
+ "start": 3998
1251
1387
  },
1252
1388
  {
1253
1389
  "length": 20,
1254
- "start": 4636
1390
+ "start": 5795
1391
+ },
1392
+ {
1393
+ "length": 20,
1394
+ "start": 6026
1255
1395
  }
1256
1396
  ]
1257
1397
  },
@@ -1259,33 +1399,53 @@
1259
1399
  "UFixedLib": [
1260
1400
  {
1261
1401
  "length": 20,
1262
- "start": 1417
1402
+ "start": 1659
1263
1403
  },
1264
1404
  {
1265
1405
  "length": 20,
1266
- "start": 2397
1406
+ "start": 2996
1267
1407
  },
1268
1408
  {
1269
1409
  "length": 20,
1270
- "start": 4506
1410
+ "start": 5896
1271
1411
  },
1272
1412
  {
1273
1413
  "length": 20,
1274
- "start": 4765
1414
+ "start": 6155
1275
1415
  },
1276
1416
  {
1277
1417
  "length": 20,
1278
- "start": 4908
1418
+ "start": 6298
1279
1419
  }
1280
1420
  ]
1281
1421
  }
1282
1422
  },
1283
1423
  "deployedLinkReferences": {
1424
+ "contracts/types/Amount.sol": {
1425
+ "AmountLib": [
1426
+ {
1427
+ "length": 20,
1428
+ "start": 8010
1429
+ }
1430
+ ]
1431
+ },
1432
+ "contracts/types/ClaimId.sol": {
1433
+ "ClaimIdLib": [
1434
+ {
1435
+ "length": 20,
1436
+ "start": 4179
1437
+ },
1438
+ {
1439
+ "length": 20,
1440
+ "start": 5489
1441
+ }
1442
+ ]
1443
+ },
1284
1444
  "contracts/types/DistributorType.sol": {
1285
1445
  "DistributorTypeLib": [
1286
1446
  {
1287
1447
  "length": 20,
1288
- "start": 5436
1448
+ "start": 7115
1289
1449
  }
1290
1450
  ]
1291
1451
  },
@@ -1293,31 +1453,47 @@
1293
1453
  "NftIdLib": [
1294
1454
  {
1295
1455
  "length": 20,
1296
- "start": 1828
1456
+ "start": 2079
1457
+ },
1458
+ {
1459
+ "length": 20,
1460
+ "start": 2435
1461
+ },
1462
+ {
1463
+ "length": 20,
1464
+ "start": 3421
1297
1465
  },
1298
1466
  {
1299
1467
  "length": 20,
1300
- "start": 2174
1468
+ "start": 3510
1301
1469
  },
1302
1470
  {
1303
1471
  "length": 20,
1304
- "start": 3116
1472
+ "start": 4217
1305
1473
  },
1306
1474
  {
1307
1475
  "length": 20,
1308
- "start": 3161
1476
+ "start": 4262
1309
1477
  },
1310
1478
  {
1311
1479
  "length": 20,
1312
- "start": 3206
1480
+ "start": 7342
1313
1481
  },
1314
1482
  {
1315
1483
  "length": 20,
1316
- "start": 5663
1484
+ "start": 7928
1485
+ }
1486
+ ]
1487
+ },
1488
+ "contracts/types/PayoutId.sol": {
1489
+ "PayoutIdLib": [
1490
+ {
1491
+ "length": 20,
1492
+ "start": 2576
1317
1493
  },
1318
1494
  {
1319
1495
  "length": 20,
1320
- "start": 6036
1496
+ "start": 3227
1321
1497
  }
1322
1498
  ]
1323
1499
  },
@@ -1325,11 +1501,11 @@
1325
1501
  "ReferralLib": [
1326
1502
  {
1327
1503
  "length": 20,
1328
- "start": 1595
1504
+ "start": 1839
1329
1505
  },
1330
1506
  {
1331
1507
  "length": 20,
1332
- "start": 2233
1508
+ "start": 2832
1333
1509
  }
1334
1510
  ]
1335
1511
  },
@@ -1337,7 +1513,7 @@
1337
1513
  "RiskIdLib": [
1338
1514
  {
1339
1515
  "length": 20,
1340
- "start": 3321
1516
+ "start": 4377
1341
1517
  }
1342
1518
  ]
1343
1519
  },
@@ -1345,11 +1521,23 @@
1345
1521
  "TimestampLib": [
1346
1522
  {
1347
1523
  "length": 20,
1348
- "start": 4373
1524
+ "start": 3653
1525
+ },
1526
+ {
1527
+ "length": 20,
1528
+ "start": 3796
1349
1529
  },
1350
1530
  {
1351
1531
  "length": 20,
1352
- "start": 4604
1532
+ "start": 3966
1533
+ },
1534
+ {
1535
+ "length": 20,
1536
+ "start": 5763
1537
+ },
1538
+ {
1539
+ "length": 20,
1540
+ "start": 5994
1353
1541
  }
1354
1542
  ]
1355
1543
  },
@@ -1357,23 +1545,23 @@
1357
1545
  "UFixedLib": [
1358
1546
  {
1359
1547
  "length": 20,
1360
- "start": 1385
1548
+ "start": 1627
1361
1549
  },
1362
1550
  {
1363
1551
  "length": 20,
1364
- "start": 2365
1552
+ "start": 2964
1365
1553
  },
1366
1554
  {
1367
1555
  "length": 20,
1368
- "start": 4474
1556
+ "start": 5864
1369
1557
  },
1370
1558
  {
1371
1559
  "length": 20,
1372
- "start": 4733
1560
+ "start": 6123
1373
1561
  },
1374
1562
  {
1375
1563
  "length": 20,
1376
- "start": 4876
1564
+ "start": 6266
1377
1565
  }
1378
1566
  ]
1379
1567
  }