@etherisc/gif-next 0.0.2-d551b5e-892 → 0.0.2-d59d51e-694

Sign up to get free protection for your applications and to get access to all the features.
Files changed (569) hide show
  1. package/README.md +8 -13
  2. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  3. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1410 -0
  4. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  5. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1343 -0
  6. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  7. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +799 -0
  8. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +969 -0
  10. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  11. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +808 -0
  12. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  13. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +73 -83
  14. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  15. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +291 -1349
  16. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  17. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +356 -181
  18. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  19. package/artifacts/contracts/instance/Instance.sol/Instance.json +366 -2977
  20. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  21. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +602 -194
  22. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
  23. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +132 -0
  24. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  25. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +485 -337
  26. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +509 -445
  28. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  29. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +328 -145
  30. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3468 -0
  32. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  33. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  34. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  35. package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +6 -1
  36. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  37. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +256 -0
  38. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  39. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +71 -45
  40. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  41. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  42. package/artifacts/contracts/instance/module/{ISetup.sol/ISetup.json → IComponents.sol/IComponents.json} +2 -2
  43. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  44. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  45. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  46. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  47. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  48. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  49. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1091 -0
  50. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  51. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +723 -0
  52. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  53. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → pool/IBundleService.sol/IBundleService.json} +297 -341
  54. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  55. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +1148 -0
  56. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  57. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1044 -0
  58. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  59. package/artifacts/contracts/pool/Pool.sol/Pool.json +1559 -0
  60. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  61. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1411 -0
  62. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  63. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +719 -0
  64. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  65. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +820 -0
  66. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  67. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +699 -0
  68. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  69. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1264 -0
  70. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  71. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +787 -0
  72. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  73. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → product/IApplicationService.sol/IApplicationService.json} +231 -204
  74. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  75. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +753 -0
  76. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  77. package/artifacts/contracts/{instance/service → product}/IPolicyService.sol/IPolicyService.json +333 -296
  78. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  79. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IPricingService.sol/IPricingService.json} +253 -261
  80. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  81. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +989 -0
  82. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
  83. package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → product/IProductService.sol/IProductService.json} +132 -119
  84. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  85. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1132 -0
  86. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  87. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +731 -0
  88. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  89. package/artifacts/contracts/product/PricingService.sol/PricingService.json +969 -0
  90. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  91. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +755 -0
  92. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  93. package/artifacts/contracts/product/Product.sol/Product.json +1391 -0
  94. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
  95. package/artifacts/contracts/product/ProductService.sol/ProductService.json +673 -0
  96. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  97. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +675 -0
  98. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  99. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  100. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  101. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +370 -117
  102. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  103. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +368 -222
  104. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  105. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  106. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  107. package/artifacts/contracts/registry/Registry.sol/Registry.json +463 -184
  108. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  109. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +322 -0
  110. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  111. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +438 -333
  112. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  113. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +324 -136
  114. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  115. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +1151 -0
  116. package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.dbg.json +4 -0
  117. package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.json +137 -0
  118. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  119. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +352 -109
  120. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  121. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  122. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  123. package/artifacts/contracts/shared/Component.sol/Component.json +890 -0
  124. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  125. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1461 -0
  126. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  127. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +765 -0
  128. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  129. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +207 -208
  130. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  131. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  132. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  133. package/artifacts/contracts/{components/BaseComponent.sol/BaseComponent.json → shared/IComponent.sol/IComponent.json} +275 -103
  134. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  135. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +854 -0
  136. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  137. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +699 -0
  138. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  139. package/artifacts/contracts/{instance/IInstanceBase.sol/IInstanceBase.json → shared/IKeyValueStore.sol/IKeyValueStore.json} +51 -21
  140. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  141. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +1 -1
  142. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  143. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +27 -29
  144. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  145. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +207 -0
  146. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  147. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +8 -34
  148. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  149. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +35 -0
  150. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  151. package/artifacts/contracts/shared/IService.sol/IService.json +84 -178
  152. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  153. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  154. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  155. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +1030 -0
  156. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  157. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +581 -0
  158. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  159. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +194 -0
  160. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.dbg.json +4 -0
  161. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.json +306 -0
  162. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  163. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +109 -29
  164. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  165. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +320 -0
  166. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  167. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +310 -61
  168. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  169. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +126 -53
  170. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  171. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
  172. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  173. package/artifacts/contracts/shared/Service.sol/Service.json +185 -165
  174. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  175. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +60 -6
  176. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  177. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  178. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  179. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  180. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  181. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1435 -0
  182. package/artifacts/contracts/staking/IStakingManager.sol/IStakingManager.dbg.json +4 -0
  183. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → staking/IStakingManager.sol/IStakingManager.json} +10 -10
  184. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  185. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +884 -0
  186. package/artifacts/contracts/staking/IStakingStore.sol/IStakingStore.dbg.json +4 -0
  187. package/artifacts/contracts/staking/IStakingStore.sol/IStakingStore.json +357 -0
  188. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  189. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +402 -0
  190. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  191. package/artifacts/contracts/staking/Staking.sol/Staking.json +2002 -0
  192. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  193. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +748 -0
  194. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  195. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +368 -0
  196. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  197. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1207 -0
  198. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  199. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +698 -0
  200. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  201. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +1690 -0
  202. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  203. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +494 -0
  204. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  205. package/artifacts/contracts/{types → type}/AddressSet.sol/LibAddressSet.json +3 -3
  206. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  207. package/artifacts/contracts/type/Amount.sol/AmountLib.json +281 -0
  208. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  209. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  210. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  211. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  212. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  213. package/artifacts/contracts/{types → type}/DistributorType.sol/DistributorTypeLib.json +5 -5
  214. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  215. package/artifacts/contracts/type/Fee.sol/FeeLib.json +312 -0
  216. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  217. package/artifacts/contracts/{types → type}/Key32.sol/Key32Lib.json +3 -3
  218. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  219. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +185 -0
  220. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  221. package/artifacts/contracts/{types → type}/NftIdSet.sol/LibNftIdSet.json +3 -3
  222. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  223. package/artifacts/contracts/{types → type}/ObjectType.sol/ObjectTypeLib.json +3 -3
  224. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  225. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  226. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  227. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  228. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  229. package/artifacts/contracts/{types → type}/RiskId.sol/RiskIdLib.json +5 -5
  230. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  231. package/artifacts/contracts/{types → type}/RoleId.sol/RoleIdLib.json +5 -5
  232. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  233. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +174 -0
  234. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  235. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  236. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  237. package/artifacts/contracts/{types → type}/Timestamp.sol/TimestampLib.json +39 -8
  238. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  239. package/artifacts/contracts/{types → type}/UFixed.sol/MathLib.json +3 -3
  240. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  241. package/artifacts/contracts/{types → type}/UFixed.sol/UFixedLib.json +3 -3
  242. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  243. package/artifacts/contracts/{types → type}/Version.sol/VersionLib.json +3 -3
  244. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  245. package/artifacts/contracts/{types → type}/Version.sol/VersionPartLib.json +3 -3
  246. package/contracts/distribution/Distribution.sol +263 -0
  247. package/contracts/distribution/DistributionService.sol +298 -0
  248. package/contracts/{instance/service → distribution}/DistributionServiceManager.sol +20 -20
  249. package/contracts/distribution/IDistributionComponent.sol +66 -0
  250. package/contracts/distribution/IDistributionService.sol +81 -0
  251. package/contracts/instance/BundleManager.sol +22 -25
  252. package/contracts/instance/IInstance.sol +57 -38
  253. package/contracts/instance/IInstanceService.sol +65 -14
  254. package/contracts/instance/Instance.sol +146 -378
  255. package/contracts/instance/InstanceAccessManager.sol +432 -177
  256. package/contracts/instance/InstanceAuthorizationsLib.sol +336 -0
  257. package/contracts/instance/InstanceReader.sol +136 -85
  258. package/contracts/instance/InstanceService.sol +305 -190
  259. package/contracts/instance/InstanceServiceManager.sol +12 -25
  260. package/contracts/instance/InstanceStore.sol +260 -0
  261. package/contracts/instance/base/BalanceStore.sol +118 -0
  262. package/contracts/instance/{Cloneable.sol → base/Cloneable.sol} +8 -3
  263. package/contracts/instance/{ObjectManager.sol → base/ObjectManager.sol} +16 -35
  264. package/contracts/instance/module/IAccess.sol +37 -21
  265. package/contracts/instance/module/IBundle.sol +8 -8
  266. package/contracts/instance/module/IComponents.sol +52 -0
  267. package/contracts/instance/module/IDistribution.sol +7 -4
  268. package/contracts/instance/module/IPolicy.sol +56 -17
  269. package/contracts/instance/module/IRisk.sol +1 -1
  270. package/contracts/{test/Usdc.sol → mock/Dip.sol} +5 -5
  271. package/contracts/pool/BundleService.sol +296 -0
  272. package/contracts/pool/BundleServiceManager.sol +42 -0
  273. package/contracts/pool/IBundleService.sol +106 -0
  274. package/contracts/pool/IPoolComponent.sol +112 -0
  275. package/contracts/pool/IPoolService.sol +147 -0
  276. package/contracts/pool/Pool.sol +299 -0
  277. package/contracts/pool/PoolService.sol +424 -0
  278. package/contracts/pool/PoolServiceManager.sol +42 -0
  279. package/contracts/product/ApplicationService.sol +254 -0
  280. package/contracts/product/ApplicationServiceManager.sol +38 -0
  281. package/contracts/product/ClaimService.sol +437 -0
  282. package/contracts/product/ClaimServiceManager.sol +38 -0
  283. package/contracts/product/IApplicationService.sol +62 -0
  284. package/contracts/product/IClaimService.sol +93 -0
  285. package/contracts/product/IPolicyService.sol +78 -0
  286. package/contracts/product/IPricingService.sol +39 -0
  287. package/contracts/product/IProductComponent.sol +42 -0
  288. package/contracts/product/IProductService.sol +33 -0
  289. package/contracts/product/PolicyService.sol +473 -0
  290. package/contracts/product/PolicyServiceManager.sol +42 -0
  291. package/contracts/product/PricingService.sol +301 -0
  292. package/contracts/product/PricingServiceManager.sol +42 -0
  293. package/contracts/product/Product.sol +377 -0
  294. package/contracts/product/ProductService.sol +124 -0
  295. package/contracts/product/ProductServiceManager.sol +42 -0
  296. package/contracts/registry/ChainNft.sol +14 -0
  297. package/contracts/registry/IRegistry.sol +74 -30
  298. package/contracts/registry/IRegistryService.sol +46 -28
  299. package/contracts/registry/ITransferInterceptor.sol +1 -0
  300. package/contracts/registry/Registry.sol +367 -237
  301. package/contracts/registry/RegistryAccessManager.sol +196 -0
  302. package/contracts/registry/RegistryService.sol +113 -205
  303. package/contracts/registry/RegistryServiceManager.sol +34 -42
  304. package/contracts/registry/ReleaseManager.sol +563 -0
  305. package/contracts/registry/ServiceAuthorizationsLib.sol +173 -0
  306. package/contracts/registry/TokenRegistry.sol +300 -57
  307. package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +13 -0
  308. package/contracts/shared/Component.sol +286 -0
  309. package/contracts/shared/ComponentService.sol +595 -0
  310. package/contracts/shared/ComponentServiceManager.sol +35 -0
  311. package/contracts/shared/ComponentVerifyingService.sol +111 -0
  312. package/contracts/shared/ERC165.sol +14 -12
  313. package/contracts/shared/IComponent.sol +74 -0
  314. package/contracts/shared/IComponentService.sol +91 -0
  315. package/contracts/shared/IInstanceLinkedComponent.sol +46 -0
  316. package/contracts/{instance/base → shared}/IKeyValueStore.sol +14 -10
  317. package/contracts/{instance/base → shared}/ILifecycle.sol +3 -3
  318. package/contracts/shared/INftOwnable.sol +12 -11
  319. package/contracts/shared/IPolicyHolder.sol +45 -0
  320. package/contracts/shared/IRegisterable.sol +4 -6
  321. package/contracts/shared/IRegistryLinked.sol +11 -0
  322. package/contracts/shared/IService.sol +7 -4
  323. package/contracts/shared/IVersionable.sol +5 -48
  324. package/contracts/shared/InstanceLinkedComponent.sol +145 -0
  325. package/contracts/shared/KeyValueStore.sol +130 -0
  326. package/contracts/{instance/base → shared}/Lifecycle.sol +28 -7
  327. package/contracts/shared/NftIdSetManager.sol +65 -0
  328. package/contracts/shared/NftOwnable.sol +64 -80
  329. package/contracts/shared/PolicyHolder.sol +101 -0
  330. package/contracts/shared/ProxyManager.sol +126 -25
  331. package/contracts/shared/Registerable.sol +26 -41
  332. package/contracts/shared/RegistryLinked.sol +43 -0
  333. package/contracts/shared/Service.sol +45 -23
  334. package/contracts/shared/TokenHandler.sol +37 -6
  335. package/contracts/shared/Versionable.sol +4 -92
  336. package/contracts/staking/IStaking.sol +152 -0
  337. package/contracts/staking/IStakingManager.sol +15 -0
  338. package/contracts/staking/IStakingService.sol +162 -0
  339. package/contracts/staking/IStakingStore.sol +130 -0
  340. package/contracts/staking/StakeManagerLib.sol +156 -0
  341. package/contracts/staking/Staking.sol +502 -0
  342. package/contracts/staking/StakingManager.sol +65 -0
  343. package/contracts/staking/StakingReader.sol +147 -0
  344. package/contracts/staking/StakingService.sol +375 -0
  345. package/contracts/staking/StakingServiceManager.sol +44 -0
  346. package/contracts/staking/StakingStore.sol +329 -0
  347. package/contracts/staking/TargetManagerLib.sol +179 -0
  348. package/contracts/type/Amount.sol +114 -0
  349. package/contracts/{types → type}/Blocknumber.sol +20 -2
  350. package/contracts/type/ClaimId.sol +75 -0
  351. package/contracts/{types → type}/DistributorType.sol +2 -2
  352. package/contracts/{types → type}/Fee.sol +32 -22
  353. package/contracts/{types → type}/NftId.sol +17 -11
  354. package/contracts/{types → type}/NftIdSet.sol +1 -1
  355. package/contracts/{types → type}/ObjectType.sol +26 -9
  356. package/contracts/type/PayoutId.sol +82 -0
  357. package/contracts/{types → type}/Referral.sol +4 -0
  358. package/contracts/type/RoleId.sol +143 -0
  359. package/contracts/type/Seconds.sol +71 -0
  360. package/contracts/{types → type}/StateId.sol +24 -6
  361. package/contracts/{types → type}/Timestamp.sol +18 -13
  362. package/contracts/{types → type}/UFixed.sol +1 -0
  363. package/contracts/{types → type}/Version.sol +1 -0
  364. package/package.json +3 -3
  365. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  366. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  367. package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -744
  368. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  369. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  370. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -152
  371. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  372. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -275
  373. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  374. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -157
  375. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  376. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -939
  377. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  378. package/artifacts/contracts/components/Product.sol/Product.json +0 -855
  379. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  380. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  381. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  382. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  383. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  384. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  385. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  386. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  387. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  388. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  389. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  390. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  391. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  392. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  393. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  394. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  395. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  396. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  397. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  398. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  399. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  400. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  401. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  402. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  403. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  404. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  405. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  406. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  407. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  408. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  409. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  410. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  411. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  412. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  413. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  414. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  415. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  416. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  417. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  418. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  419. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  420. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  421. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  422. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  423. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  424. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  425. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +0 -763
  426. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  427. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -285
  428. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  429. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  430. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  431. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  432. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +0 -429
  433. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  434. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  435. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
  436. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  437. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  438. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  439. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  440. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
  441. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  442. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  443. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  444. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -684
  445. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  446. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -428
  447. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  448. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  449. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -446
  450. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  451. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  452. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  453. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  454. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -984
  455. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  456. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -464
  457. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  458. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -1017
  459. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  460. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -448
  461. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  462. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -789
  463. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  464. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -420
  465. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  466. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  467. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  468. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
  469. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  470. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  471. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  472. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  473. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  474. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  475. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  476. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  477. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  478. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  479. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  480. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  481. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  482. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  483. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  484. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  485. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  486. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  487. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  488. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  489. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  490. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  491. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  492. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  493. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  494. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  495. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  496. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  497. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  498. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  499. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  500. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  501. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  502. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  503. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  504. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  505. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  506. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  507. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  508. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  509. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  510. package/contracts/components/BaseComponent.sol +0 -132
  511. package/contracts/components/Distribution.sol +0 -163
  512. package/contracts/components/IBaseComponent.sol +0 -31
  513. package/contracts/components/IDistributionComponent.sol +0 -44
  514. package/contracts/components/IPoolComponent.sol +0 -66
  515. package/contracts/components/IProductComponent.sol +0 -35
  516. package/contracts/components/Pool.sol +0 -267
  517. package/contracts/components/Product.sol +0 -292
  518. package/contracts/experiment/cloning/Cloner.sol +0 -47
  519. package/contracts/experiment/errors/Require.sol +0 -38
  520. package/contracts/experiment/errors/Revert.sol +0 -44
  521. package/contracts/experiment/inheritance/A.sol +0 -53
  522. package/contracts/experiment/inheritance/B.sol +0 -28
  523. package/contracts/experiment/inheritance/C.sol +0 -34
  524. package/contracts/experiment/inheritance/IA.sol +0 -13
  525. package/contracts/experiment/inheritance/IB.sol +0 -10
  526. package/contracts/experiment/inheritance/IC.sol +0 -12
  527. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  528. package/contracts/experiment/statemachine/ISM.sol +0 -25
  529. package/contracts/experiment/statemachine/SM.sol +0 -57
  530. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  531. package/contracts/experiment/types/TypeA.sol +0 -47
  532. package/contracts/experiment/types/TypeB.sol +0 -29
  533. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -23
  534. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  535. package/contracts/instance/IInstanceBase.sol +0 -26
  536. package/contracts/instance/InstanceBase.sol +0 -41
  537. package/contracts/instance/base/ComponentServiceBase.sol +0 -72
  538. package/contracts/instance/base/IInstanceBase.sol +0 -23
  539. package/contracts/instance/base/KeyValueStore.sol +0 -172
  540. package/contracts/instance/module/ISetup.sol +0 -46
  541. package/contracts/instance/module/ITreasury.sol +0 -23
  542. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  543. package/contracts/instance/service/DistributionService.sol +0 -118
  544. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  545. package/contracts/instance/service/IDistributionService.sol +0 -12
  546. package/contracts/instance/service/IPolicyService.sol +0 -87
  547. package/contracts/instance/service/IPoolService.sol +0 -51
  548. package/contracts/instance/service/IProductService.sol +0 -40
  549. package/contracts/instance/service/PolicyService.sol +0 -513
  550. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  551. package/contracts/instance/service/PoolService.sol +0 -317
  552. package/contracts/instance/service/PoolServiceManager.sol +0 -54
  553. package/contracts/instance/service/ProductService.sol +0 -173
  554. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  555. package/contracts/shared/ContractDeployerLib.sol +0 -72
  556. package/contracts/shared/RegisterableUpgradable.sol +0 -16
  557. package/contracts/test/TestFee.sol +0 -25
  558. package/contracts/test/TestRegisterable.sol +0 -18
  559. package/contracts/test/TestRoleId.sol +0 -14
  560. package/contracts/test/TestService.sol +0 -24
  561. package/contracts/test/TestToken.sol +0 -26
  562. package/contracts/test/TestVersion.sol +0 -44
  563. package/contracts/test/TestVersionable.sol +0 -17
  564. package/contracts/types/ChainId.sol +0 -38
  565. package/contracts/types/NumberId.sol +0 -52
  566. package/contracts/types/RoleId.sol +0 -91
  567. /package/contracts/{types → type}/AddressSet.sol +0 -0
  568. /package/contracts/{types → type}/Key32.sol +0 -0
  569. /package/contracts/{types → type}/RiskId.sol +0 -0
@@ -45,233 +45,142 @@
45
45
  "inputs": [
46
46
  {
47
47
  "internalType": "address",
48
- "name": "registry",
48
+ "name": "instanceBundleManager",
49
49
  "type": "address"
50
- },
51
- {
52
- "internalType": "NftId",
53
- "name": "nftId",
54
- "type": "uint96"
55
50
  }
56
51
  ],
57
- "name": "ErrorAlreadyLinked",
52
+ "name": "ErrorInstanceBundleManagerAlreadySet",
58
53
  "type": "error"
59
54
  },
60
55
  {
61
56
  "inputs": [
62
57
  {
63
58
  "internalType": "address",
64
- "name": "contractAddress",
59
+ "name": "instanceAuthority",
65
60
  "type": "address"
66
61
  }
67
62
  ],
68
- "name": "ErrorContractNotRegistered",
69
- "type": "error"
70
- },
71
- {
72
- "inputs": [
73
- {
74
- "internalType": "RoleId",
75
- "name": "roleId",
76
- "type": "uint64"
77
- }
78
- ],
79
- "name": "ErrorGrantNonexstentRole",
80
- "type": "error"
81
- },
82
- {
83
- "inputs": [
84
- {
85
- "internalType": "ObjectType",
86
- "name": "objectType",
87
- "type": "uint8"
88
- },
89
- {
90
- "internalType": "StateId",
91
- "name": "fromStateId",
92
- "type": "uint8"
93
- },
94
- {
95
- "internalType": "StateId",
96
- "name": "toStateId",
97
- "type": "uint8"
98
- }
99
- ],
100
- "name": "ErrorInvalidStateTransition",
101
- "type": "error"
102
- },
103
- {
104
- "inputs": [
105
- {
106
- "internalType": "NftId",
107
- "name": "nftId",
108
- "type": "uint96"
109
- },
110
- {
111
- "internalType": "ObjectType",
112
- "name": "objectType",
113
- "type": "uint8"
114
- }
115
- ],
116
- "name": "ErrorNoLifecycle",
63
+ "name": "ErrorInstanceBundleManagerAuthorityMismatch",
117
64
  "type": "error"
118
65
  },
119
66
  {
120
67
  "inputs": [
121
68
  {
122
69
  "internalType": "address",
123
- "name": "account",
70
+ "name": "instance",
124
71
  "type": "address"
125
72
  }
126
73
  ],
127
- "name": "ErrorNotOwner",
74
+ "name": "ErrorInstanceBundleManagerInstanceMismatch",
128
75
  "type": "error"
129
76
  },
130
77
  {
131
78
  "inputs": [
132
79
  {
133
80
  "internalType": "address",
134
- "name": "registryAddress",
81
+ "name": "instanceAccessManager",
135
82
  "type": "address"
136
83
  }
137
84
  ],
138
- "name": "ErrorNotRegistry",
85
+ "name": "ErrorInstanceInstanceAccessManagerAlreadySet",
139
86
  "type": "error"
140
87
  },
141
88
  {
142
89
  "inputs": [
143
90
  {
144
91
  "internalType": "address",
145
- "name": "registryAddress",
92
+ "name": "instanceAuthority",
146
93
  "type": "address"
147
94
  }
148
95
  ],
149
- "name": "ErrorRegisterableNotRegistry",
96
+ "name": "ErrorInstanceInstanceAccessManagerAuthorityMismatch",
150
97
  "type": "error"
151
98
  },
152
99
  {
153
100
  "inputs": [],
154
- "name": "ErrorRegistryAddressZero",
101
+ "name": "ErrorInstanceInstanceAccessManagerZero",
155
102
  "type": "error"
156
103
  },
157
104
  {
158
105
  "inputs": [
159
106
  {
160
107
  "internalType": "address",
161
- "name": "registry",
108
+ "name": "instanceAuthority",
162
109
  "type": "address"
163
110
  }
164
111
  ],
165
- "name": "ErrorRegistryAlreadyInitialized",
166
- "type": "error"
167
- },
168
- {
169
- "inputs": [],
170
- "name": "ErrorRegistryNotInitialized",
171
- "type": "error"
172
- },
173
- {
174
- "inputs": [
175
- {
176
- "internalType": "RoleId",
177
- "name": "roleId",
178
- "type": "uint64"
179
- }
180
- ],
181
- "name": "ErrorRenounceNonexstentRole",
182
- "type": "error"
183
- },
184
- {
185
- "inputs": [
186
- {
187
- "internalType": "RoleId",
188
- "name": "roleId",
189
- "type": "uint64"
190
- }
191
- ],
192
- "name": "ErrorRevokeNonexstentRole",
112
+ "name": "ErrorInstanceInstanceReaderInstanceMismatch",
193
113
  "type": "error"
194
114
  },
195
115
  {
196
116
  "inputs": [
197
117
  {
198
- "internalType": "RoleId",
199
- "name": "roleId",
200
- "type": "uint64"
118
+ "internalType": "address",
119
+ "name": "instanceStore",
120
+ "type": "address"
201
121
  }
202
122
  ],
203
- "name": "ErrorRoleIdInvalid",
123
+ "name": "ErrorInstanceInstanceStoreAlreadySet",
204
124
  "type": "error"
205
125
  },
206
126
  {
207
127
  "inputs": [
208
128
  {
209
- "internalType": "RoleId",
210
- "name": "roleId",
211
- "type": "uint64"
129
+ "internalType": "address",
130
+ "name": "instanceAuthority",
131
+ "type": "address"
212
132
  }
213
133
  ],
214
- "name": "ErrorRoleIdNotActive",
134
+ "name": "ErrorInstanceInstanceStoreAuthorityMismatch",
215
135
  "type": "error"
216
136
  },
217
137
  {
218
138
  "inputs": [
219
139
  {
220
- "internalType": "RoleId",
221
- "name": "roleId",
222
- "type": "uint64"
140
+ "internalType": "NftId",
141
+ "name": "nftId",
142
+ "type": "uint96"
223
143
  }
224
144
  ],
225
- "name": "ErrorRoleIdTooBig",
145
+ "name": "ErrorNftOwnableAlreadyLinked",
226
146
  "type": "error"
227
147
  },
228
148
  {
229
149
  "inputs": [
230
150
  {
231
- "internalType": "RoleId",
232
- "name": "roleId",
233
- "type": "uint64"
151
+ "internalType": "address",
152
+ "name": "contractAddress",
153
+ "type": "address"
234
154
  }
235
155
  ],
236
- "name": "ErrorRoleIdTooSmall",
156
+ "name": "ErrorNftOwnableContractNotRegistered",
237
157
  "type": "error"
238
158
  },
239
159
  {
240
- "inputs": [
241
- {
242
- "internalType": "RoleId",
243
- "name": "roleId",
244
- "type": "uint64"
245
- }
246
- ],
247
- "name": "ErrorRoleNameEmpty",
160
+ "inputs": [],
161
+ "name": "ErrorNftOwnableInitialOwnerZero",
248
162
  "type": "error"
249
163
  },
250
164
  {
251
165
  "inputs": [
252
166
  {
253
- "internalType": "RoleId",
254
- "name": "roleId",
255
- "type": "uint64"
256
- },
257
- {
258
- "internalType": "ShortString",
259
- "name": "name",
260
- "type": "bytes32"
167
+ "internalType": "address",
168
+ "name": "account",
169
+ "type": "address"
261
170
  }
262
171
  ],
263
- "name": "ErrorRoleNameNotUnique",
172
+ "name": "ErrorNftOwnableNotOwner",
264
173
  "type": "error"
265
174
  },
266
175
  {
267
176
  "inputs": [
268
177
  {
269
178
  "internalType": "address",
270
- "name": "target",
179
+ "name": "registryAddress",
271
180
  "type": "address"
272
181
  }
273
182
  ],
274
- "name": "ErrorTargetDoesNotExist",
183
+ "name": "ErrorNotRegistry",
275
184
  "type": "error"
276
185
  },
277
186
  {
@@ -279,27 +188,11 @@
279
188
  "name": "InvalidInitialization",
280
189
  "type": "error"
281
190
  },
282
- {
283
- "inputs": [],
284
- "name": "InvalidShortString",
285
- "type": "error"
286
- },
287
191
  {
288
192
  "inputs": [],
289
193
  "name": "NotInitializing",
290
194
  "type": "error"
291
195
  },
292
- {
293
- "inputs": [
294
- {
295
- "internalType": "string",
296
- "name": "str",
297
- "type": "string"
298
- }
299
- ],
300
- "name": "StringTooLong",
301
- "type": "error"
302
- },
303
196
  {
304
197
  "anonymous": false,
305
198
  "inputs": [
@@ -326,143 +219,14 @@
326
219
  "name": "Initialized",
327
220
  "type": "event"
328
221
  },
329
- {
330
- "anonymous": false,
331
- "inputs": [
332
- {
333
- "indexed": false,
334
- "internalType": "ObjectType",
335
- "name": "objectType",
336
- "type": "uint8"
337
- },
338
- {
339
- "indexed": false,
340
- "internalType": "KeyId",
341
- "name": "keyId",
342
- "type": "bytes31"
343
- },
344
- {
345
- "indexed": false,
346
- "internalType": "StateId",
347
- "name": "state",
348
- "type": "uint8"
349
- },
350
- {
351
- "indexed": false,
352
- "internalType": "address",
353
- "name": "createdBy",
354
- "type": "address"
355
- },
356
- {
357
- "indexed": false,
358
- "internalType": "address",
359
- "name": "txOrigin",
360
- "type": "address"
361
- }
362
- ],
363
- "name": "LogInfoCreated",
364
- "type": "event"
365
- },
366
- {
367
- "anonymous": false,
368
- "inputs": [
369
- {
370
- "indexed": false,
371
- "internalType": "ObjectType",
372
- "name": "objectType",
373
- "type": "uint8"
374
- },
375
- {
376
- "indexed": false,
377
- "internalType": "KeyId",
378
- "name": "keyId",
379
- "type": "bytes31"
380
- },
381
- {
382
- "indexed": false,
383
- "internalType": "StateId",
384
- "name": "state",
385
- "type": "uint8"
386
- },
387
- {
388
- "indexed": false,
389
- "internalType": "address",
390
- "name": "updatedBy",
391
- "type": "address"
392
- },
393
- {
394
- "indexed": false,
395
- "internalType": "address",
396
- "name": "txOrigin",
397
- "type": "address"
398
- },
399
- {
400
- "indexed": false,
401
- "internalType": "Blocknumber",
402
- "name": "lastUpdatedIn",
403
- "type": "uint32"
404
- }
405
- ],
406
- "name": "LogInfoUpdated",
407
- "type": "event"
408
- },
409
- {
410
- "anonymous": false,
411
- "inputs": [
412
- {
413
- "indexed": false,
414
- "internalType": "ObjectType",
415
- "name": "objectType",
416
- "type": "uint8"
417
- },
418
- {
419
- "indexed": false,
420
- "internalType": "KeyId",
421
- "name": "keyId",
422
- "type": "bytes31"
423
- },
424
- {
425
- "indexed": false,
426
- "internalType": "StateId",
427
- "name": "stateOld",
428
- "type": "uint8"
429
- },
430
- {
431
- "indexed": false,
432
- "internalType": "StateId",
433
- "name": "stateNew",
434
- "type": "uint8"
435
- },
436
- {
437
- "indexed": false,
438
- "internalType": "address",
439
- "name": "updatedBy",
440
- "type": "address"
441
- },
442
- {
443
- "indexed": false,
444
- "internalType": "address",
445
- "name": "txOrigin",
446
- "type": "address"
447
- },
448
- {
449
- "indexed": false,
450
- "internalType": "Blocknumber",
451
- "name": "lastUpdatedIn",
452
- "type": "uint32"
453
- }
454
- ],
455
- "name": "LogStateUpdated",
456
- "type": "event"
457
- },
458
222
  {
459
223
  "inputs": [],
460
- "name": "ADMIN_ROLE",
224
+ "name": "GIF_MAJOR_VERSION",
461
225
  "outputs": [
462
226
  {
463
- "internalType": "uint64",
227
+ "internalType": "uint256",
464
228
  "name": "",
465
- "type": "uint64"
229
+ "type": "uint256"
466
230
  }
467
231
  ],
468
232
  "stateMutability": "view",
@@ -470,12 +234,12 @@
470
234
  },
471
235
  {
472
236
  "inputs": [],
473
- "name": "CUSTOM_ROLE_ID_MIN",
237
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
474
238
  "outputs": [
475
239
  {
476
- "internalType": "uint64",
240
+ "internalType": "bytes32",
477
241
  "name": "",
478
- "type": "uint64"
242
+ "type": "bytes32"
479
243
  }
480
244
  ],
481
245
  "stateMutability": "view",
@@ -483,12 +247,12 @@
483
247
  },
484
248
  {
485
249
  "inputs": [],
486
- "name": "EXECUTION_DELAY",
250
+ "name": "REGISTERABLE_LOCATION_V1",
487
251
  "outputs": [
488
252
  {
489
- "internalType": "uint32",
253
+ "internalType": "bytes32",
490
254
  "name": "",
491
- "type": "uint32"
255
+ "type": "bytes32"
492
256
  }
493
257
  ],
494
258
  "stateMutability": "view",
@@ -496,1978 +260,297 @@
496
260
  },
497
261
  {
498
262
  "inputs": [],
499
- "name": "PUBLIC_ROLE",
263
+ "name": "authority",
500
264
  "outputs": [
501
265
  {
502
- "internalType": "uint64",
266
+ "internalType": "address",
503
267
  "name": "",
504
- "type": "uint64"
268
+ "type": "address"
505
269
  }
506
270
  ],
507
271
  "stateMutability": "view",
508
272
  "type": "function"
509
273
  },
510
274
  {
511
- "inputs": [],
512
- "name": "REGISTERABLE_LOCATION_V1",
513
- "outputs": [
275
+ "inputs": [
514
276
  {
515
- "internalType": "bytes32",
516
- "name": "",
517
- "type": "bytes32"
518
- }
277
+ "internalType": "string",
278
+ "name": "roleName",
279
+ "type": "string"
280
+ },
281
+ {
282
+ "internalType": "string",
283
+ "name": "adminName",
284
+ "type": "string"
285
+ }
519
286
  ],
520
- "stateMutability": "view",
521
- "type": "function"
522
- },
523
- {
524
- "inputs": [],
525
- "name": "authority",
287
+ "name": "createRole",
526
288
  "outputs": [
527
289
  {
528
- "internalType": "address",
529
- "name": "",
530
- "type": "address"
290
+ "internalType": "RoleId",
291
+ "name": "roleId",
292
+ "type": "uint64"
293
+ },
294
+ {
295
+ "internalType": "RoleId",
296
+ "name": "admin",
297
+ "type": "uint64"
531
298
  }
532
299
  ],
533
- "stateMutability": "view",
300
+ "stateMutability": "nonpayable",
534
301
  "type": "function"
535
302
  },
536
303
  {
537
304
  "inputs": [
538
305
  {
539
- "internalType": "ObjectType",
540
- "name": "objectType",
541
- "type": "uint8"
542
- },
543
- {
544
- "internalType": "StateId",
545
- "name": "fromId",
546
- "type": "uint8"
306
+ "internalType": "address",
307
+ "name": "target",
308
+ "type": "address"
547
309
  },
548
310
  {
549
- "internalType": "StateId",
550
- "name": "toId",
551
- "type": "uint8"
311
+ "internalType": "string",
312
+ "name": "name",
313
+ "type": "string"
552
314
  }
553
315
  ],
554
- "name": "checkTransition",
316
+ "name": "createTarget",
555
317
  "outputs": [],
556
- "stateMutability": "view",
318
+ "stateMutability": "nonpayable",
557
319
  "type": "function"
558
320
  },
559
321
  {
560
- "inputs": [
561
- {
562
- "internalType": "NftId",
563
- "name": "bundleNftId",
564
- "type": "uint96"
565
- },
322
+ "inputs": [],
323
+ "name": "getBundleManager",
324
+ "outputs": [
566
325
  {
567
- "components": [
568
- {
569
- "internalType": "NftId",
570
- "name": "poolNftId",
571
- "type": "uint96"
572
- },
573
- {
574
- "components": [
575
- {
576
- "internalType": "UFixed",
577
- "name": "fractionalFee",
578
- "type": "uint256"
579
- },
580
- {
581
- "internalType": "uint256",
582
- "name": "fixedFee",
583
- "type": "uint256"
584
- }
585
- ],
586
- "internalType": "struct Fee",
587
- "name": "fee",
588
- "type": "tuple"
589
- },
590
- {
591
- "internalType": "bytes",
592
- "name": "filter",
593
- "type": "bytes"
594
- },
595
- {
596
- "internalType": "uint256",
597
- "name": "capitalAmount",
598
- "type": "uint256"
599
- },
600
- {
601
- "internalType": "uint256",
602
- "name": "lockedAmount",
603
- "type": "uint256"
604
- },
605
- {
606
- "internalType": "uint256",
607
- "name": "balanceAmount",
608
- "type": "uint256"
609
- },
610
- {
611
- "internalType": "uint256",
612
- "name": "lifetime",
613
- "type": "uint256"
614
- },
615
- {
616
- "internalType": "Timestamp",
617
- "name": "expiredAt",
618
- "type": "uint40"
619
- },
620
- {
621
- "internalType": "Timestamp",
622
- "name": "closedAt",
623
- "type": "uint40"
624
- }
625
- ],
626
- "internalType": "struct IBundle.BundleInfo",
627
- "name": "bundle",
628
- "type": "tuple"
326
+ "internalType": "contract BundleManager",
327
+ "name": "",
328
+ "type": "address"
629
329
  }
630
330
  ],
631
- "name": "createBundle",
632
- "outputs": [],
633
- "stateMutability": "nonpayable",
331
+ "stateMutability": "view",
634
332
  "type": "function"
635
333
  },
636
334
  {
637
- "inputs": [
638
- {
639
- "internalType": "NftId",
640
- "name": "policyNftId",
641
- "type": "uint96"
642
- },
643
- {
644
- "internalType": "NumberId",
645
- "name": "claimId",
646
- "type": "uint32"
647
- },
335
+ "inputs": [],
336
+ "name": "getBundleService",
337
+ "outputs": [
648
338
  {
649
- "components": [
650
- {
651
- "internalType": "uint256",
652
- "name": "claimAmount",
653
- "type": "uint256"
654
- },
655
- {
656
- "internalType": "uint256",
657
- "name": "paidAmount",
658
- "type": "uint256"
659
- },
660
- {
661
- "internalType": "bytes",
662
- "name": "data",
663
- "type": "bytes"
664
- },
665
- {
666
- "internalType": "Timestamp",
667
- "name": "closedAt",
668
- "type": "uint40"
669
- }
670
- ],
671
- "internalType": "struct IPolicy.ClaimInfo",
672
- "name": "claim",
673
- "type": "tuple"
339
+ "internalType": "contract IBundleService",
340
+ "name": "",
341
+ "type": "address"
674
342
  }
675
343
  ],
676
- "name": "createClaim",
677
- "outputs": [],
678
- "stateMutability": "nonpayable",
344
+ "stateMutability": "view",
679
345
  "type": "function"
680
346
  },
681
347
  {
682
- "inputs": [
683
- {
684
- "internalType": "RoleId",
685
- "name": "roleId",
686
- "type": "uint64"
687
- },
348
+ "inputs": [],
349
+ "name": "getDistributionService",
350
+ "outputs": [
688
351
  {
689
- "internalType": "string",
690
- "name": "name",
691
- "type": "string"
352
+ "internalType": "contract IDistributionService",
353
+ "name": "",
354
+ "type": "address"
692
355
  }
693
356
  ],
694
- "name": "createCustomRole",
695
- "outputs": [],
696
- "stateMutability": "nonpayable",
357
+ "stateMutability": "view",
697
358
  "type": "function"
698
359
  },
699
360
  {
700
- "inputs": [
701
- {
702
- "internalType": "NftId",
703
- "name": "distributionNftId",
704
- "type": "uint96"
705
- },
361
+ "inputs": [],
362
+ "name": "getInitialInfo",
363
+ "outputs": [
706
364
  {
707
365
  "components": [
708
366
  {
709
367
  "internalType": "NftId",
710
- "name": "productNftId",
368
+ "name": "nftId",
711
369
  "type": "uint96"
712
370
  },
713
371
  {
714
- "internalType": "contract TokenHandler",
715
- "name": "tokenHandler",
716
- "type": "address"
372
+ "internalType": "NftId",
373
+ "name": "parentNftId",
374
+ "type": "uint96"
717
375
  },
718
376
  {
719
- "components": [
720
- {
721
- "internalType": "UFixed",
722
- "name": "fractionalFee",
723
- "type": "uint256"
724
- },
725
- {
726
- "internalType": "uint256",
727
- "name": "fixedFee",
728
- "type": "uint256"
729
- }
730
- ],
731
- "internalType": "struct Fee",
732
- "name": "distributionFee",
733
- "type": "tuple"
377
+ "internalType": "ObjectType",
378
+ "name": "objectType",
379
+ "type": "uint8"
734
380
  },
735
381
  {
736
382
  "internalType": "bool",
737
- "name": "isIntercepting",
383
+ "name": "isInterceptor",
738
384
  "type": "bool"
739
385
  },
740
386
  {
741
387
  "internalType": "address",
742
- "name": "wallet",
388
+ "name": "objectAddress",
743
389
  "type": "address"
744
- }
745
- ],
746
- "internalType": "struct ISetup.DistributionSetupInfo",
747
- "name": "setup",
748
- "type": "tuple"
749
- }
750
- ],
751
- "name": "createDistributionSetup",
752
- "outputs": [],
753
- "stateMutability": "nonpayable",
754
- "type": "function"
755
- },
756
- {
757
- "inputs": [
758
- {
759
- "internalType": "NftId",
760
- "name": "policyNftId",
761
- "type": "uint96"
762
- },
763
- {
764
- "internalType": "NumberId",
765
- "name": "payoutId",
766
- "type": "uint32"
767
- },
768
- {
769
- "components": [
770
- {
771
- "internalType": "NumberId",
772
- "name": "claimId",
773
- "type": "uint32"
774
390
  },
775
391
  {
776
- "internalType": "uint256",
777
- "name": "amount",
778
- "type": "uint256"
392
+ "internalType": "address",
393
+ "name": "initialOwner",
394
+ "type": "address"
779
395
  },
780
396
  {
781
397
  "internalType": "bytes",
782
398
  "name": "data",
783
399
  "type": "bytes"
784
- },
785
- {
786
- "internalType": "Timestamp",
787
- "name": "paidAt",
788
- "type": "uint40"
789
400
  }
790
401
  ],
791
- "internalType": "struct IPolicy.PayoutInfo",
792
- "name": "payout",
402
+ "internalType": "struct IRegistry.ObjectInfo",
403
+ "name": "info",
793
404
  "type": "tuple"
794
405
  }
795
406
  ],
796
- "name": "createDistributor",
797
- "outputs": [],
798
- "stateMutability": "nonpayable",
407
+ "stateMutability": "view",
799
408
  "type": "function"
800
409
  },
801
410
  {
802
- "inputs": [
803
- {
804
- "internalType": "NftId",
805
- "name": "policyNftId",
806
- "type": "uint96"
807
- },
808
- {
809
- "internalType": "NumberId",
810
- "name": "payoutId",
811
- "type": "uint32"
812
- },
411
+ "inputs": [],
412
+ "name": "getInstanceAccessManager",
413
+ "outputs": [
813
414
  {
814
- "components": [
815
- {
816
- "internalType": "NumberId",
817
- "name": "claimId",
818
- "type": "uint32"
819
- },
820
- {
821
- "internalType": "uint256",
822
- "name": "amount",
823
- "type": "uint256"
824
- },
825
- {
826
- "internalType": "bytes",
827
- "name": "data",
828
- "type": "bytes"
829
- },
830
- {
831
- "internalType": "Timestamp",
832
- "name": "paidAt",
833
- "type": "uint40"
834
- }
835
- ],
836
- "internalType": "struct IPolicy.PayoutInfo",
837
- "name": "payout",
838
- "type": "tuple"
415
+ "internalType": "contract InstanceAccessManager",
416
+ "name": "",
417
+ "type": "address"
839
418
  }
840
419
  ],
841
- "name": "createDistributorType",
842
- "outputs": [],
843
- "stateMutability": "nonpayable",
420
+ "stateMutability": "view",
844
421
  "type": "function"
845
422
  },
846
423
  {
847
- "inputs": [
424
+ "inputs": [],
425
+ "name": "getInstanceReader",
426
+ "outputs": [
848
427
  {
849
- "internalType": "NftId",
850
- "name": "policyNftId",
851
- "type": "uint96"
852
- },
428
+ "internalType": "contract InstanceReader",
429
+ "name": "",
430
+ "type": "address"
431
+ }
432
+ ],
433
+ "stateMutability": "view",
434
+ "type": "function"
435
+ },
436
+ {
437
+ "inputs": [],
438
+ "name": "getInstanceStore",
439
+ "outputs": [
853
440
  {
854
- "internalType": "NumberId",
855
- "name": "payoutId",
856
- "type": "uint32"
857
- },
441
+ "internalType": "contract InstanceStore",
442
+ "name": "",
443
+ "type": "address"
444
+ }
445
+ ],
446
+ "stateMutability": "view",
447
+ "type": "function"
448
+ },
449
+ {
450
+ "inputs": [],
451
+ "name": "getMajorVersion",
452
+ "outputs": [
858
453
  {
859
- "components": [
860
- {
861
- "internalType": "NumberId",
862
- "name": "claimId",
863
- "type": "uint32"
864
- },
865
- {
866
- "internalType": "uint256",
867
- "name": "amount",
868
- "type": "uint256"
869
- },
870
- {
871
- "internalType": "bytes",
872
- "name": "data",
873
- "type": "bytes"
874
- },
875
- {
876
- "internalType": "Timestamp",
877
- "name": "paidAt",
878
- "type": "uint40"
879
- }
880
- ],
881
- "internalType": "struct IPolicy.PayoutInfo",
882
- "name": "payout",
883
- "type": "tuple"
454
+ "internalType": "VersionPart",
455
+ "name": "majorVersion",
456
+ "type": "uint8"
884
457
  }
885
458
  ],
886
- "name": "createPayout",
887
- "outputs": [],
888
- "stateMutability": "nonpayable",
459
+ "stateMutability": "pure",
889
460
  "type": "function"
890
461
  },
891
462
  {
892
- "inputs": [
463
+ "inputs": [],
464
+ "name": "getNftId",
465
+ "outputs": [
893
466
  {
894
467
  "internalType": "NftId",
895
- "name": "policyNftId",
896
- "type": "uint96"
897
- },
898
- {
899
- "components": [
900
- {
901
- "internalType": "NftId",
902
- "name": "productNftId",
903
- "type": "uint96"
904
- },
905
- {
906
- "internalType": "NftId",
907
- "name": "bundleNftId",
908
- "type": "uint96"
909
- },
910
- {
911
- "internalType": "ReferralId",
912
- "name": "referralId",
913
- "type": "bytes8"
914
- },
915
- {
916
- "internalType": "RiskId",
917
- "name": "riskId",
918
- "type": "bytes8"
919
- },
920
- {
921
- "internalType": "uint256",
922
- "name": "sumInsuredAmount",
923
- "type": "uint256"
924
- },
925
- {
926
- "internalType": "uint256",
927
- "name": "premiumAmount",
928
- "type": "uint256"
929
- },
930
- {
931
- "internalType": "uint256",
932
- "name": "premiumPaidAmount",
933
- "type": "uint256"
934
- },
935
- {
936
- "internalType": "uint256",
937
- "name": "lifetime",
938
- "type": "uint256"
939
- },
940
- {
941
- "internalType": "bytes",
942
- "name": "applicationData",
943
- "type": "bytes"
944
- },
945
- {
946
- "internalType": "bytes",
947
- "name": "policyData",
948
- "type": "bytes"
949
- },
950
- {
951
- "internalType": "uint16",
952
- "name": "claimsCount",
953
- "type": "uint16"
954
- },
955
- {
956
- "internalType": "uint16",
957
- "name": "openClaimsCount",
958
- "type": "uint16"
959
- },
960
- {
961
- "internalType": "uint256",
962
- "name": "payoutAmount",
963
- "type": "uint256"
964
- },
965
- {
966
- "internalType": "Timestamp",
967
- "name": "activatedAt",
968
- "type": "uint40"
969
- },
970
- {
971
- "internalType": "Timestamp",
972
- "name": "expiredAt",
973
- "type": "uint40"
974
- },
975
- {
976
- "internalType": "Timestamp",
977
- "name": "closedAt",
978
- "type": "uint40"
979
- }
980
- ],
981
- "internalType": "struct IPolicy.PolicyInfo",
982
- "name": "policy",
983
- "type": "tuple"
984
- }
985
- ],
986
- "name": "createPolicy",
987
- "outputs": [],
988
- "stateMutability": "nonpayable",
989
- "type": "function"
990
- },
991
- {
992
- "inputs": [
993
- {
994
- "internalType": "NftId",
995
- "name": "poolNftId",
996
- "type": "uint96"
997
- },
998
- {
999
- "components": [
1000
- {
1001
- "internalType": "NftId",
1002
- "name": "productNftId",
1003
- "type": "uint96"
1004
- },
1005
- {
1006
- "internalType": "contract TokenHandler",
1007
- "name": "tokenHandler",
1008
- "type": "address"
1009
- },
1010
- {
1011
- "internalType": "UFixed",
1012
- "name": "collateralizationLevel",
1013
- "type": "uint256"
1014
- },
1015
- {
1016
- "components": [
1017
- {
1018
- "internalType": "UFixed",
1019
- "name": "fractionalFee",
1020
- "type": "uint256"
1021
- },
1022
- {
1023
- "internalType": "uint256",
1024
- "name": "fixedFee",
1025
- "type": "uint256"
1026
- }
1027
- ],
1028
- "internalType": "struct Fee",
1029
- "name": "poolFee",
1030
- "type": "tuple"
1031
- },
1032
- {
1033
- "components": [
1034
- {
1035
- "internalType": "UFixed",
1036
- "name": "fractionalFee",
1037
- "type": "uint256"
1038
- },
1039
- {
1040
- "internalType": "uint256",
1041
- "name": "fixedFee",
1042
- "type": "uint256"
1043
- }
1044
- ],
1045
- "internalType": "struct Fee",
1046
- "name": "stakingFee",
1047
- "type": "tuple"
1048
- },
1049
- {
1050
- "components": [
1051
- {
1052
- "internalType": "UFixed",
1053
- "name": "fractionalFee",
1054
- "type": "uint256"
1055
- },
1056
- {
1057
- "internalType": "uint256",
1058
- "name": "fixedFee",
1059
- "type": "uint256"
1060
- }
1061
- ],
1062
- "internalType": "struct Fee",
1063
- "name": "performanceFee",
1064
- "type": "tuple"
1065
- },
1066
- {
1067
- "internalType": "bool",
1068
- "name": "isIntercepting",
1069
- "type": "bool"
1070
- },
1071
- {
1072
- "internalType": "bool",
1073
- "name": "isConfirmingApplication",
1074
- "type": "bool"
1075
- },
1076
- {
1077
- "internalType": "address",
1078
- "name": "wallet",
1079
- "type": "address"
1080
- }
1081
- ],
1082
- "internalType": "struct ISetup.PoolSetupInfo",
1083
- "name": "setup",
1084
- "type": "tuple"
1085
- }
1086
- ],
1087
- "name": "createPoolSetup",
1088
- "outputs": [],
1089
- "stateMutability": "nonpayable",
1090
- "type": "function"
1091
- },
1092
- {
1093
- "inputs": [
1094
- {
1095
- "internalType": "NftId",
1096
- "name": "productNftId",
1097
- "type": "uint96"
1098
- },
1099
- {
1100
- "components": [
1101
- {
1102
- "internalType": "contract IERC20Metadata",
1103
- "name": "token",
1104
- "type": "address"
1105
- },
1106
- {
1107
- "internalType": "contract TokenHandler",
1108
- "name": "tokenHandler",
1109
- "type": "address"
1110
- },
1111
- {
1112
- "internalType": "NftId",
1113
- "name": "distributionNftId",
1114
- "type": "uint96"
1115
- },
1116
- {
1117
- "internalType": "NftId",
1118
- "name": "poolNftId",
1119
- "type": "uint96"
1120
- },
1121
- {
1122
- "components": [
1123
- {
1124
- "internalType": "UFixed",
1125
- "name": "fractionalFee",
1126
- "type": "uint256"
1127
- },
1128
- {
1129
- "internalType": "uint256",
1130
- "name": "fixedFee",
1131
- "type": "uint256"
1132
- }
1133
- ],
1134
- "internalType": "struct Fee",
1135
- "name": "distributionFee",
1136
- "type": "tuple"
1137
- },
1138
- {
1139
- "components": [
1140
- {
1141
- "internalType": "UFixed",
1142
- "name": "fractionalFee",
1143
- "type": "uint256"
1144
- },
1145
- {
1146
- "internalType": "uint256",
1147
- "name": "fixedFee",
1148
- "type": "uint256"
1149
- }
1150
- ],
1151
- "internalType": "struct Fee",
1152
- "name": "productFee",
1153
- "type": "tuple"
1154
- },
1155
- {
1156
- "components": [
1157
- {
1158
- "internalType": "UFixed",
1159
- "name": "fractionalFee",
1160
- "type": "uint256"
1161
- },
1162
- {
1163
- "internalType": "uint256",
1164
- "name": "fixedFee",
1165
- "type": "uint256"
1166
- }
1167
- ],
1168
- "internalType": "struct Fee",
1169
- "name": "processingFee",
1170
- "type": "tuple"
1171
- },
1172
- {
1173
- "components": [
1174
- {
1175
- "internalType": "UFixed",
1176
- "name": "fractionalFee",
1177
- "type": "uint256"
1178
- },
1179
- {
1180
- "internalType": "uint256",
1181
- "name": "fixedFee",
1182
- "type": "uint256"
1183
- }
1184
- ],
1185
- "internalType": "struct Fee",
1186
- "name": "poolFee",
1187
- "type": "tuple"
1188
- },
1189
- {
1190
- "components": [
1191
- {
1192
- "internalType": "UFixed",
1193
- "name": "fractionalFee",
1194
- "type": "uint256"
1195
- },
1196
- {
1197
- "internalType": "uint256",
1198
- "name": "fixedFee",
1199
- "type": "uint256"
1200
- }
1201
- ],
1202
- "internalType": "struct Fee",
1203
- "name": "stakingFee",
1204
- "type": "tuple"
1205
- },
1206
- {
1207
- "components": [
1208
- {
1209
- "internalType": "UFixed",
1210
- "name": "fractionalFee",
1211
- "type": "uint256"
1212
- },
1213
- {
1214
- "internalType": "uint256",
1215
- "name": "fixedFee",
1216
- "type": "uint256"
1217
- }
1218
- ],
1219
- "internalType": "struct Fee",
1220
- "name": "performanceFee",
1221
- "type": "tuple"
1222
- },
1223
- {
1224
- "internalType": "bool",
1225
- "name": "isIntercepting",
1226
- "type": "bool"
1227
- },
1228
- {
1229
- "internalType": "address",
1230
- "name": "wallet",
1231
- "type": "address"
1232
- }
1233
- ],
1234
- "internalType": "struct ISetup.ProductSetupInfo",
1235
- "name": "setup",
1236
- "type": "tuple"
1237
- }
1238
- ],
1239
- "name": "createProductSetup",
1240
- "outputs": [],
1241
- "stateMutability": "nonpayable",
1242
- "type": "function"
1243
- },
1244
- {
1245
- "inputs": [
1246
- {
1247
- "internalType": "NftId",
1248
- "name": "policyNftId",
1249
- "type": "uint96"
1250
- },
1251
- {
1252
- "internalType": "NumberId",
1253
- "name": "payoutId",
1254
- "type": "uint32"
1255
- },
1256
- {
1257
- "components": [
1258
- {
1259
- "internalType": "NumberId",
1260
- "name": "claimId",
1261
- "type": "uint32"
1262
- },
1263
- {
1264
- "internalType": "uint256",
1265
- "name": "amount",
1266
- "type": "uint256"
1267
- },
1268
- {
1269
- "internalType": "bytes",
1270
- "name": "data",
1271
- "type": "bytes"
1272
- },
1273
- {
1274
- "internalType": "Timestamp",
1275
- "name": "paidAt",
1276
- "type": "uint40"
1277
- }
1278
- ],
1279
- "internalType": "struct IPolicy.PayoutInfo",
1280
- "name": "payout",
1281
- "type": "tuple"
1282
- }
1283
- ],
1284
- "name": "createReferral",
1285
- "outputs": [],
1286
- "stateMutability": "nonpayable",
1287
- "type": "function"
1288
- },
1289
- {
1290
- "inputs": [
1291
- {
1292
- "internalType": "RiskId",
1293
- "name": "riskId",
1294
- "type": "bytes8"
1295
- },
1296
- {
1297
- "components": [
1298
- {
1299
- "internalType": "NftId",
1300
- "name": "productNftId",
1301
- "type": "uint96"
1302
- },
1303
- {
1304
- "internalType": "bytes",
1305
- "name": "data",
1306
- "type": "bytes"
1307
- }
1308
- ],
1309
- "internalType": "struct IRisk.RiskInfo",
1310
- "name": "risk",
1311
- "type": "tuple"
1312
- }
1313
- ],
1314
- "name": "createRisk",
1315
- "outputs": [],
1316
- "stateMutability": "nonpayable",
1317
- "type": "function"
1318
- },
1319
- {
1320
- "inputs": [
1321
- {
1322
- "internalType": "RoleId",
1323
- "name": "roleId",
1324
- "type": "uint64"
1325
- },
1326
- {
1327
- "internalType": "string",
1328
- "name": "name",
1329
- "type": "string"
1330
- }
1331
- ],
1332
- "name": "createStandardRole",
1333
- "outputs": [],
1334
- "stateMutability": "nonpayable",
1335
- "type": "function"
1336
- },
1337
- {
1338
- "inputs": [
1339
- {
1340
- "internalType": "address",
1341
- "name": "target",
1342
- "type": "address"
1343
- },
1344
- {
1345
- "components": [
1346
- {
1347
- "internalType": "ShortString",
1348
- "name": "name",
1349
- "type": "bytes32"
1350
- },
1351
- {
1352
- "internalType": "bool",
1353
- "name": "isCustom",
1354
- "type": "bool"
1355
- }
1356
- ],
1357
- "internalType": "struct IAccess.TargetInfo",
1358
- "name": "targetInfo",
1359
- "type": "tuple"
1360
- }
1361
- ],
1362
- "name": "createTarget",
1363
- "outputs": [],
1364
- "stateMutability": "nonpayable",
1365
- "type": "function"
1366
- },
1367
- {
1368
- "inputs": [
1369
- {
1370
- "internalType": "Key32",
1371
- "name": "key32",
1372
- "type": "bytes32"
1373
- }
1374
- ],
1375
- "name": "exists",
1376
- "outputs": [
1377
- {
1378
- "internalType": "bool",
1379
- "name": "",
1380
- "type": "bool"
1381
- }
1382
- ],
1383
- "stateMutability": "view",
1384
- "type": "function"
1385
- },
1386
- {
1387
- "inputs": [
1388
- {
1389
- "internalType": "Key32",
1390
- "name": "key32",
1391
- "type": "bytes32"
1392
- }
1393
- ],
1394
- "name": "get",
1395
- "outputs": [
1396
- {
1397
- "components": [
1398
- {
1399
- "components": [
1400
- {
1401
- "internalType": "ObjectType",
1402
- "name": "objectType",
1403
- "type": "uint8"
1404
- },
1405
- {
1406
- "internalType": "StateId",
1407
- "name": "state",
1408
- "type": "uint8"
1409
- },
1410
- {
1411
- "internalType": "address",
1412
- "name": "updatedBy",
1413
- "type": "address"
1414
- },
1415
- {
1416
- "internalType": "Blocknumber",
1417
- "name": "updatedIn",
1418
- "type": "uint32"
1419
- },
1420
- {
1421
- "internalType": "Blocknumber",
1422
- "name": "createdIn",
1423
- "type": "uint32"
1424
- }
1425
- ],
1426
- "internalType": "struct IKeyValueStore.Metadata",
1427
- "name": "metadata",
1428
- "type": "tuple"
1429
- },
1430
- {
1431
- "internalType": "bytes",
1432
- "name": "data",
1433
- "type": "bytes"
1434
- }
1435
- ],
1436
- "internalType": "struct IKeyValueStore.Value",
1437
- "name": "value",
1438
- "type": "tuple"
1439
- }
1440
- ],
1441
- "stateMutability": "view",
1442
- "type": "function"
1443
- },
1444
- {
1445
- "inputs": [],
1446
- "name": "getBundleManager",
1447
- "outputs": [
1448
- {
1449
- "internalType": "contract BundleManager",
1450
- "name": "",
1451
- "type": "address"
1452
- }
1453
- ],
1454
- "stateMutability": "view",
1455
- "type": "function"
1456
- },
1457
- {
1458
- "inputs": [],
1459
- "name": "getComponentOwnerService",
1460
- "outputs": [
1461
- {
1462
- "internalType": "contract IComponentOwnerService",
1463
- "name": "",
1464
- "type": "address"
1465
- }
1466
- ],
1467
- "stateMutability": "view",
1468
- "type": "function"
1469
- },
1470
- {
1471
- "inputs": [
1472
- {
1473
- "internalType": "Key32",
1474
- "name": "key32",
1475
- "type": "bytes32"
1476
- }
1477
- ],
1478
- "name": "getData",
1479
- "outputs": [
1480
- {
1481
- "internalType": "bytes",
1482
- "name": "data",
1483
- "type": "bytes"
1484
- }
1485
- ],
1486
- "stateMutability": "view",
1487
- "type": "function"
1488
- },
1489
- {
1490
- "inputs": [],
1491
- "name": "getDistributionService",
1492
- "outputs": [
1493
- {
1494
- "internalType": "contract IDistributionService",
1495
- "name": "",
1496
- "type": "address"
1497
- }
1498
- ],
1499
- "stateMutability": "view",
1500
- "type": "function"
1501
- },
1502
- {
1503
- "inputs": [],
1504
- "name": "getInitialInfo",
1505
- "outputs": [
1506
- {
1507
- "components": [
1508
- {
1509
- "internalType": "NftId",
1510
- "name": "nftId",
1511
- "type": "uint96"
1512
- },
1513
- {
1514
- "internalType": "NftId",
1515
- "name": "parentNftId",
1516
- "type": "uint96"
1517
- },
1518
- {
1519
- "internalType": "ObjectType",
1520
- "name": "objectType",
1521
- "type": "uint8"
1522
- },
1523
- {
1524
- "internalType": "bool",
1525
- "name": "isInterceptor",
1526
- "type": "bool"
1527
- },
1528
- {
1529
- "internalType": "address",
1530
- "name": "objectAddress",
1531
- "type": "address"
1532
- },
1533
- {
1534
- "internalType": "address",
1535
- "name": "initialOwner",
1536
- "type": "address"
1537
- },
1538
- {
1539
- "internalType": "bytes",
1540
- "name": "data",
1541
- "type": "bytes"
1542
- }
1543
- ],
1544
- "internalType": "struct IRegistry.ObjectInfo",
1545
- "name": "",
1546
- "type": "tuple"
1547
- },
1548
- {
1549
- "internalType": "bytes",
1550
- "name": "data",
1551
- "type": "bytes"
1552
- }
1553
- ],
1554
- "stateMutability": "view",
1555
- "type": "function"
1556
- },
1557
- {
1558
- "inputs": [
1559
- {
1560
- "internalType": "ObjectType",
1561
- "name": "objectType",
1562
- "type": "uint8"
1563
- }
1564
- ],
1565
- "name": "getInitialState",
1566
- "outputs": [
1567
- {
1568
- "internalType": "StateId",
1569
- "name": "",
1570
- "type": "uint8"
1571
- }
1572
- ],
1573
- "stateMutability": "view",
1574
- "type": "function"
1575
- },
1576
- {
1577
- "inputs": [],
1578
- "name": "getInstanceReader",
1579
- "outputs": [
1580
- {
1581
- "internalType": "contract InstanceReader",
1582
- "name": "",
1583
- "type": "address"
1584
- }
1585
- ],
1586
- "stateMutability": "view",
1587
- "type": "function"
1588
- },
1589
- {
1590
- "inputs": [
1591
- {
1592
- "internalType": "Key32",
1593
- "name": "key32",
1594
- "type": "bytes32"
1595
- }
1596
- ],
1597
- "name": "getMetadata",
1598
- "outputs": [
1599
- {
1600
- "components": [
1601
- {
1602
- "internalType": "ObjectType",
1603
- "name": "objectType",
1604
- "type": "uint8"
1605
- },
1606
- {
1607
- "internalType": "StateId",
1608
- "name": "state",
1609
- "type": "uint8"
1610
- },
1611
- {
1612
- "internalType": "address",
1613
- "name": "updatedBy",
1614
- "type": "address"
1615
- },
1616
- {
1617
- "internalType": "Blocknumber",
1618
- "name": "updatedIn",
1619
- "type": "uint32"
1620
- },
1621
- {
1622
- "internalType": "Blocknumber",
1623
- "name": "createdIn",
1624
- "type": "uint32"
1625
- }
1626
- ],
1627
- "internalType": "struct IKeyValueStore.Metadata",
1628
- "name": "metadata",
1629
- "type": "tuple"
1630
- }
1631
- ],
1632
- "stateMutability": "view",
1633
- "type": "function"
1634
- },
1635
- {
1636
- "inputs": [],
1637
- "name": "getNftId",
1638
- "outputs": [
1639
- {
1640
- "internalType": "NftId",
1641
- "name": "",
1642
- "type": "uint96"
1643
- }
1644
- ],
1645
- "stateMutability": "view",
1646
- "type": "function"
1647
- },
1648
- {
1649
- "inputs": [],
1650
- "name": "getOwner",
1651
- "outputs": [
1652
- {
1653
- "internalType": "address",
1654
- "name": "",
1655
- "type": "address"
1656
- }
1657
- ],
1658
- "stateMutability": "view",
1659
- "type": "function"
1660
- },
1661
- {
1662
- "inputs": [],
1663
- "name": "getPolicyService",
1664
- "outputs": [
1665
- {
1666
- "internalType": "contract IPolicyService",
1667
- "name": "",
1668
- "type": "address"
1669
- }
1670
- ],
1671
- "stateMutability": "view",
1672
- "type": "function"
1673
- },
1674
- {
1675
- "inputs": [],
1676
- "name": "getPoolService",
1677
- "outputs": [
1678
- {
1679
- "internalType": "contract IPoolService",
1680
- "name": "",
1681
- "type": "address"
1682
- }
1683
- ],
1684
- "stateMutability": "view",
1685
- "type": "function"
1686
- },
1687
- {
1688
- "inputs": [],
1689
- "name": "getProductService",
1690
- "outputs": [
1691
- {
1692
- "internalType": "contract IProductService",
1693
- "name": "",
1694
- "type": "address"
1695
- }
1696
- ],
1697
- "stateMutability": "view",
1698
- "type": "function"
1699
- },
1700
- {
1701
- "inputs": [],
1702
- "name": "getRegistry",
1703
- "outputs": [
1704
- {
1705
- "internalType": "contract IRegistry",
1706
- "name": "",
1707
- "type": "address"
1708
- }
1709
- ],
1710
- "stateMutability": "view",
1711
- "type": "function"
1712
- },
1713
- {
1714
- "inputs": [
1715
- {
1716
- "internalType": "RoleId",
1717
- "name": "roleId",
1718
- "type": "uint64"
1719
- }
1720
- ],
1721
- "name": "getRole",
1722
- "outputs": [
1723
- {
1724
- "components": [
1725
- {
1726
- "internalType": "ShortString",
1727
- "name": "name",
1728
- "type": "bytes32"
1729
- },
1730
- {
1731
- "internalType": "bool",
1732
- "name": "isCustom",
1733
- "type": "bool"
1734
- }
1735
- ],
1736
- "internalType": "struct IAccess.RoleInfo",
1737
- "name": "role",
1738
- "type": "tuple"
1739
- }
1740
- ],
1741
- "stateMutability": "view",
1742
- "type": "function"
1743
- },
1744
- {
1745
- "inputs": [
1746
- {
1747
- "internalType": "uint256",
1748
- "name": "idx",
1749
- "type": "uint256"
1750
- }
1751
- ],
1752
- "name": "getRoleId",
1753
- "outputs": [
1754
- {
1755
- "internalType": "RoleId",
1756
- "name": "roleId",
1757
- "type": "uint64"
1758
- }
1759
- ],
1760
- "stateMutability": "view",
1761
- "type": "function"
1762
- },
1763
- {
1764
- "inputs": [
1765
- {
1766
- "internalType": "RoleId",
1767
- "name": "roleId",
1768
- "type": "uint64"
1769
- },
1770
- {
1771
- "internalType": "uint256",
1772
- "name": "idx",
1773
- "type": "uint256"
1774
- }
1775
- ],
1776
- "name": "getRoleMember",
1777
- "outputs": [
1778
- {
1779
- "internalType": "address",
1780
- "name": "roleMember",
1781
- "type": "address"
1782
- }
1783
- ],
1784
- "stateMutability": "view",
1785
- "type": "function"
1786
- },
1787
- {
1788
- "inputs": [
1789
- {
1790
- "internalType": "Key32",
1791
- "name": "key32",
1792
- "type": "bytes32"
1793
- }
1794
- ],
1795
- "name": "getState",
1796
- "outputs": [
1797
- {
1798
- "internalType": "StateId",
1799
- "name": "state",
1800
- "type": "uint8"
1801
- }
1802
- ],
1803
- "stateMutability": "view",
1804
- "type": "function"
1805
- },
1806
- {
1807
- "inputs": [
1808
- {
1809
- "internalType": "RoleId",
1810
- "name": "roleId",
1811
- "type": "uint64"
1812
- },
1813
- {
1814
- "internalType": "address",
1815
- "name": "member",
1816
- "type": "address"
1817
- }
1818
- ],
1819
- "name": "grantRole",
1820
- "outputs": [
1821
- {
1822
- "internalType": "bool",
1823
- "name": "granted",
1824
- "type": "bool"
1825
- }
1826
- ],
1827
- "stateMutability": "nonpayable",
1828
- "type": "function"
1829
- },
1830
- {
1831
- "inputs": [
1832
- {
1833
- "internalType": "ObjectType",
1834
- "name": "objectType",
1835
- "type": "uint8"
1836
- }
1837
- ],
1838
- "name": "hasLifecycle",
1839
- "outputs": [
1840
- {
1841
- "internalType": "bool",
1842
- "name": "",
1843
- "type": "bool"
1844
- }
1845
- ],
1846
- "stateMutability": "view",
1847
- "type": "function"
1848
- },
1849
- {
1850
- "inputs": [
1851
- {
1852
- "internalType": "address",
1853
- "name": "accessManagerAddress",
1854
- "type": "address"
1855
- },
1856
- {
1857
- "internalType": "address",
1858
- "name": "registryAddress",
1859
- "type": "address"
1860
- },
1861
- {
1862
- "internalType": "NftId",
1863
- "name": "registryNftId",
1864
- "type": "uint96"
1865
- },
1866
- {
1867
- "internalType": "address",
1868
- "name": "initialOwner",
1869
- "type": "address"
1870
- }
1871
- ],
1872
- "name": "initialize",
1873
- "outputs": [],
1874
- "stateMutability": "nonpayable",
1875
- "type": "function"
1876
- },
1877
- {
1878
- "inputs": [],
1879
- "name": "isConsumingScheduledOp",
1880
- "outputs": [
1881
- {
1882
- "internalType": "bytes4",
1883
- "name": "",
1884
- "type": "bytes4"
1885
- }
1886
- ],
1887
- "stateMutability": "view",
1888
- "type": "function"
1889
- },
1890
- {
1891
- "inputs": [
1892
- {
1893
- "internalType": "ObjectType",
1894
- "name": "objectType",
1895
- "type": "uint8"
1896
- },
1897
- {
1898
- "internalType": "StateId",
1899
- "name": "fromId",
1900
- "type": "uint8"
1901
- },
1902
- {
1903
- "internalType": "StateId",
1904
- "name": "toId",
1905
- "type": "uint8"
1906
- }
1907
- ],
1908
- "name": "isValidTransition",
1909
- "outputs": [
1910
- {
1911
- "internalType": "bool",
1912
- "name": "",
1913
- "type": "bool"
1914
- }
1915
- ],
1916
- "stateMutability": "view",
1917
- "type": "function"
1918
- },
1919
- {
1920
- "inputs": [],
1921
- "name": "linkToRegisteredNftId",
1922
- "outputs": [],
1923
- "stateMutability": "nonpayable",
1924
- "type": "function"
1925
- },
1926
- {
1927
- "inputs": [
1928
- {
1929
- "internalType": "RoleId",
1930
- "name": "roleId",
1931
- "type": "uint64"
1932
- }
1933
- ],
1934
- "name": "renounceRole",
1935
- "outputs": [
1936
- {
1937
- "internalType": "bool",
1938
- "name": "revoked",
1939
- "type": "bool"
1940
- }
1941
- ],
1942
- "stateMutability": "nonpayable",
1943
- "type": "function"
1944
- },
1945
- {
1946
- "inputs": [
1947
- {
1948
- "internalType": "RoleId",
1949
- "name": "roleId",
1950
- "type": "uint64"
1951
- },
1952
- {
1953
- "internalType": "address",
1954
- "name": "member",
1955
- "type": "address"
1956
- }
1957
- ],
1958
- "name": "revokeRole",
1959
- "outputs": [
1960
- {
1961
- "internalType": "bool",
1962
- "name": "revoked",
1963
- "type": "bool"
1964
- }
1965
- ],
1966
- "stateMutability": "nonpayable",
1967
- "type": "function"
1968
- },
1969
- {
1970
- "inputs": [
1971
- {
1972
- "internalType": "RoleId",
1973
- "name": "roleId",
1974
- "type": "uint64"
1975
- }
1976
- ],
1977
- "name": "roleMembers",
1978
- "outputs": [
1979
- {
1980
- "internalType": "uint256",
1981
- "name": "numberOfMembers",
1982
- "type": "uint256"
1983
- }
1984
- ],
1985
- "stateMutability": "view",
1986
- "type": "function"
1987
- },
1988
- {
1989
- "inputs": [],
1990
- "name": "roles",
1991
- "outputs": [
1992
- {
1993
- "internalType": "uint256",
1994
- "name": "numberOfRoles",
1995
- "type": "uint256"
1996
- }
1997
- ],
1998
- "stateMutability": "view",
1999
- "type": "function"
2000
- },
2001
- {
2002
- "inputs": [
2003
- {
2004
- "internalType": "address",
2005
- "name": "newAuthority",
2006
- "type": "address"
2007
- }
2008
- ],
2009
- "name": "setAuthority",
2010
- "outputs": [],
2011
- "stateMutability": "nonpayable",
2012
- "type": "function"
2013
- },
2014
- {
2015
- "inputs": [
2016
- {
2017
- "internalType": "contract BundleManager",
2018
- "name": "bundleManager",
2019
- "type": "address"
2020
- }
2021
- ],
2022
- "name": "setBundleManager",
2023
- "outputs": [],
2024
- "stateMutability": "nonpayable",
2025
- "type": "function"
2026
- },
2027
- {
2028
- "inputs": [
2029
- {
2030
- "internalType": "contract InstanceReader",
2031
- "name": "instanceReader",
2032
- "type": "address"
2033
- }
2034
- ],
2035
- "name": "setInstanceReader",
2036
- "outputs": [],
2037
- "stateMutability": "nonpayable",
2038
- "type": "function"
2039
- },
2040
- {
2041
- "inputs": [
2042
- {
2043
- "internalType": "address",
2044
- "name": "target",
2045
- "type": "address"
2046
- },
2047
- {
2048
- "internalType": "bool",
2049
- "name": "closed",
2050
- "type": "bool"
2051
- }
2052
- ],
2053
- "name": "setTargetClosed",
2054
- "outputs": [],
2055
- "stateMutability": "nonpayable",
2056
- "type": "function"
2057
- },
2058
- {
2059
- "inputs": [
2060
- {
2061
- "internalType": "bytes4",
2062
- "name": "interfaceId",
2063
- "type": "bytes4"
2064
- }
2065
- ],
2066
- "name": "supportsInterface",
2067
- "outputs": [
2068
- {
2069
- "internalType": "bool",
2070
- "name": "",
2071
- "type": "bool"
2072
- }
2073
- ],
2074
- "stateMutability": "view",
2075
- "type": "function"
2076
- },
2077
- {
2078
- "inputs": [
2079
- {
2080
- "internalType": "NftId",
2081
- "name": "bundleNftId",
2082
- "type": "uint96"
2083
- }
2084
- ],
2085
- "name": "toBundleKey32",
2086
- "outputs": [
2087
- {
2088
- "internalType": "Key32",
2089
- "name": "",
2090
- "type": "bytes32"
2091
- }
2092
- ],
2093
- "stateMutability": "pure",
2094
- "type": "function"
2095
- },
2096
- {
2097
- "inputs": [
2098
- {
2099
- "internalType": "ObjectType",
2100
- "name": "objectType",
2101
- "type": "uint8"
2102
- },
2103
- {
2104
- "internalType": "KeyId",
2105
- "name": "id",
2106
- "type": "bytes31"
2107
- }
2108
- ],
2109
- "name": "toKey32",
2110
- "outputs": [
2111
- {
2112
- "internalType": "Key32",
2113
- "name": "",
2114
- "type": "bytes32"
2115
- }
2116
- ],
2117
- "stateMutability": "pure",
2118
- "type": "function"
2119
- },
2120
- {
2121
- "inputs": [
2122
- {
2123
- "internalType": "NftId",
2124
- "name": "policyNftId",
2125
- "type": "uint96"
2126
- }
2127
- ],
2128
- "name": "toPolicyKey32",
2129
- "outputs": [
2130
- {
2131
- "internalType": "Key32",
2132
- "name": "",
2133
- "type": "bytes32"
2134
- }
2135
- ],
2136
- "stateMutability": "pure",
2137
- "type": "function"
2138
- },
2139
- {
2140
- "inputs": [
2141
- {
2142
- "internalType": "RoleId",
2143
- "name": "roleId",
2144
- "type": "uint64"
2145
- }
2146
- ],
2147
- "name": "toRoleKey32",
2148
- "outputs": [
2149
- {
2150
- "internalType": "Key32",
2151
- "name": "",
2152
- "type": "bytes32"
2153
- }
2154
- ],
2155
- "stateMutability": "pure",
2156
- "type": "function"
2157
- },
2158
- {
2159
- "inputs": [
2160
- {
2161
- "internalType": "address",
2162
- "name": "target",
2163
- "type": "address"
2164
- }
2165
- ],
2166
- "name": "toTargetKey32",
2167
- "outputs": [
2168
- {
2169
- "internalType": "Key32",
2170
468
  "name": "",
2171
- "type": "bytes32"
2172
- }
2173
- ],
2174
- "stateMutability": "pure",
2175
- "type": "function"
2176
- },
2177
- {
2178
- "inputs": [
2179
- {
2180
- "internalType": "NftId",
2181
- "name": "bundleNftId",
2182
469
  "type": "uint96"
2183
- },
2184
- {
2185
- "components": [
2186
- {
2187
- "internalType": "NftId",
2188
- "name": "poolNftId",
2189
- "type": "uint96"
2190
- },
2191
- {
2192
- "components": [
2193
- {
2194
- "internalType": "UFixed",
2195
- "name": "fractionalFee",
2196
- "type": "uint256"
2197
- },
2198
- {
2199
- "internalType": "uint256",
2200
- "name": "fixedFee",
2201
- "type": "uint256"
2202
- }
2203
- ],
2204
- "internalType": "struct Fee",
2205
- "name": "fee",
2206
- "type": "tuple"
2207
- },
2208
- {
2209
- "internalType": "bytes",
2210
- "name": "filter",
2211
- "type": "bytes"
2212
- },
2213
- {
2214
- "internalType": "uint256",
2215
- "name": "capitalAmount",
2216
- "type": "uint256"
2217
- },
2218
- {
2219
- "internalType": "uint256",
2220
- "name": "lockedAmount",
2221
- "type": "uint256"
2222
- },
2223
- {
2224
- "internalType": "uint256",
2225
- "name": "balanceAmount",
2226
- "type": "uint256"
2227
- },
2228
- {
2229
- "internalType": "uint256",
2230
- "name": "lifetime",
2231
- "type": "uint256"
2232
- },
2233
- {
2234
- "internalType": "Timestamp",
2235
- "name": "expiredAt",
2236
- "type": "uint40"
2237
- },
2238
- {
2239
- "internalType": "Timestamp",
2240
- "name": "closedAt",
2241
- "type": "uint40"
2242
- }
2243
- ],
2244
- "internalType": "struct IBundle.BundleInfo",
2245
- "name": "bundle",
2246
- "type": "tuple"
2247
- },
2248
- {
2249
- "internalType": "StateId",
2250
- "name": "newState",
2251
- "type": "uint8"
2252
470
  }
2253
471
  ],
2254
- "name": "updateBundle",
2255
- "outputs": [],
2256
- "stateMutability": "nonpayable",
472
+ "stateMutability": "view",
2257
473
  "type": "function"
2258
474
  },
2259
475
  {
2260
- "inputs": [
2261
- {
2262
- "internalType": "NftId",
2263
- "name": "bundleNftId",
2264
- "type": "uint96"
2265
- },
476
+ "inputs": [],
477
+ "name": "getOwner",
478
+ "outputs": [
2266
479
  {
2267
- "internalType": "StateId",
2268
- "name": "newState",
2269
- "type": "uint8"
480
+ "internalType": "address",
481
+ "name": "",
482
+ "type": "address"
2270
483
  }
2271
484
  ],
2272
- "name": "updateBundleState",
2273
- "outputs": [],
2274
- "stateMutability": "nonpayable",
485
+ "stateMutability": "view",
2275
486
  "type": "function"
2276
487
  },
2277
488
  {
2278
- "inputs": [
2279
- {
2280
- "internalType": "NftId",
2281
- "name": "policyNftId",
2282
- "type": "uint96"
2283
- },
2284
- {
2285
- "internalType": "NumberId",
2286
- "name": "claimId",
2287
- "type": "uint32"
2288
- },
2289
- {
2290
- "components": [
2291
- {
2292
- "internalType": "uint256",
2293
- "name": "claimAmount",
2294
- "type": "uint256"
2295
- },
2296
- {
2297
- "internalType": "uint256",
2298
- "name": "paidAmount",
2299
- "type": "uint256"
2300
- },
2301
- {
2302
- "internalType": "bytes",
2303
- "name": "data",
2304
- "type": "bytes"
2305
- },
2306
- {
2307
- "internalType": "Timestamp",
2308
- "name": "closedAt",
2309
- "type": "uint40"
2310
- }
2311
- ],
2312
- "internalType": "struct IPolicy.ClaimInfo",
2313
- "name": "claim",
2314
- "type": "tuple"
2315
- },
489
+ "inputs": [],
490
+ "name": "getPolicyService",
491
+ "outputs": [
2316
492
  {
2317
- "internalType": "StateId",
2318
- "name": "newState",
2319
- "type": "uint8"
493
+ "internalType": "contract IPolicyService",
494
+ "name": "",
495
+ "type": "address"
2320
496
  }
2321
497
  ],
2322
- "name": "updateClaim",
2323
- "outputs": [],
2324
- "stateMutability": "nonpayable",
498
+ "stateMutability": "view",
2325
499
  "type": "function"
2326
500
  },
2327
501
  {
2328
- "inputs": [
2329
- {
2330
- "internalType": "NftId",
2331
- "name": "policyNftId",
2332
- "type": "uint96"
2333
- },
2334
- {
2335
- "internalType": "NumberId",
2336
- "name": "payoutId",
2337
- "type": "uint32"
2338
- },
2339
- {
2340
- "components": [
2341
- {
2342
- "internalType": "NumberId",
2343
- "name": "claimId",
2344
- "type": "uint32"
2345
- },
2346
- {
2347
- "internalType": "uint256",
2348
- "name": "amount",
2349
- "type": "uint256"
2350
- },
2351
- {
2352
- "internalType": "bytes",
2353
- "name": "data",
2354
- "type": "bytes"
2355
- },
2356
- {
2357
- "internalType": "Timestamp",
2358
- "name": "paidAt",
2359
- "type": "uint40"
2360
- }
2361
- ],
2362
- "internalType": "struct IPolicy.PayoutInfo",
2363
- "name": "payout",
2364
- "type": "tuple"
2365
- },
502
+ "inputs": [],
503
+ "name": "getPoolService",
504
+ "outputs": [
2366
505
  {
2367
- "internalType": "StateId",
2368
- "name": "newState",
2369
- "type": "uint8"
506
+ "internalType": "contract IPoolService",
507
+ "name": "",
508
+ "type": "address"
2370
509
  }
2371
510
  ],
2372
- "name": "updateClaim",
2373
- "outputs": [],
2374
- "stateMutability": "nonpayable",
511
+ "stateMutability": "view",
2375
512
  "type": "function"
2376
513
  },
2377
514
  {
2378
- "inputs": [
2379
- {
2380
- "internalType": "NftId",
2381
- "name": "policyNftId",
2382
- "type": "uint96"
2383
- },
515
+ "inputs": [],
516
+ "name": "getProductService",
517
+ "outputs": [
2384
518
  {
2385
- "internalType": "StateId",
2386
- "name": "newState",
2387
- "type": "uint8"
519
+ "internalType": "contract IProductService",
520
+ "name": "",
521
+ "type": "address"
2388
522
  }
2389
523
  ],
2390
- "name": "updateClaimState",
2391
- "outputs": [],
2392
- "stateMutability": "nonpayable",
524
+ "stateMutability": "view",
2393
525
  "type": "function"
2394
526
  },
2395
527
  {
2396
- "inputs": [
2397
- {
2398
- "internalType": "NftId",
2399
- "name": "distributionNftId",
2400
- "type": "uint96"
2401
- },
2402
- {
2403
- "components": [
2404
- {
2405
- "internalType": "NftId",
2406
- "name": "productNftId",
2407
- "type": "uint96"
2408
- },
2409
- {
2410
- "internalType": "contract TokenHandler",
2411
- "name": "tokenHandler",
2412
- "type": "address"
2413
- },
2414
- {
2415
- "components": [
2416
- {
2417
- "internalType": "UFixed",
2418
- "name": "fractionalFee",
2419
- "type": "uint256"
2420
- },
2421
- {
2422
- "internalType": "uint256",
2423
- "name": "fixedFee",
2424
- "type": "uint256"
2425
- }
2426
- ],
2427
- "internalType": "struct Fee",
2428
- "name": "distributionFee",
2429
- "type": "tuple"
2430
- },
2431
- {
2432
- "internalType": "bool",
2433
- "name": "isIntercepting",
2434
- "type": "bool"
2435
- },
2436
- {
2437
- "internalType": "address",
2438
- "name": "wallet",
2439
- "type": "address"
2440
- }
2441
- ],
2442
- "internalType": "struct ISetup.DistributionSetupInfo",
2443
- "name": "setup",
2444
- "type": "tuple"
2445
- },
528
+ "inputs": [],
529
+ "name": "getRegistry",
530
+ "outputs": [
2446
531
  {
2447
- "internalType": "StateId",
2448
- "name": "newState",
2449
- "type": "uint8"
532
+ "internalType": "contract IRegistry",
533
+ "name": "",
534
+ "type": "address"
2450
535
  }
2451
536
  ],
2452
- "name": "updateDistributionSetup",
2453
- "outputs": [],
2454
- "stateMutability": "nonpayable",
537
+ "stateMutability": "view",
2455
538
  "type": "function"
2456
539
  },
2457
540
  {
2458
541
  "inputs": [
2459
542
  {
2460
- "internalType": "NftId",
2461
- "name": "distributionNftId",
2462
- "type": "uint96"
543
+ "internalType": "RoleId",
544
+ "name": "roleId",
545
+ "type": "uint64"
2463
546
  },
2464
547
  {
2465
- "internalType": "StateId",
2466
- "name": "newState",
2467
- "type": "uint8"
548
+ "internalType": "address",
549
+ "name": "account",
550
+ "type": "address"
2468
551
  }
2469
552
  ],
2470
- "name": "updateDistributionSetupState",
553
+ "name": "grantRole",
2471
554
  "outputs": [],
2472
555
  "stateMutability": "nonpayable",
2473
556
  "type": "function"
@@ -2475,135 +558,85 @@
2475
558
  {
2476
559
  "inputs": [
2477
560
  {
2478
- "internalType": "NftId",
2479
- "name": "policyNftId",
2480
- "type": "uint96"
2481
- },
2482
- {
2483
- "internalType": "NumberId",
2484
- "name": "payoutId",
2485
- "type": "uint32"
561
+ "internalType": "address",
562
+ "name": "authority",
563
+ "type": "address"
2486
564
  },
2487
565
  {
2488
- "components": [
2489
- {
2490
- "internalType": "NumberId",
2491
- "name": "claimId",
2492
- "type": "uint32"
2493
- },
2494
- {
2495
- "internalType": "uint256",
2496
- "name": "amount",
2497
- "type": "uint256"
2498
- },
2499
- {
2500
- "internalType": "bytes",
2501
- "name": "data",
2502
- "type": "bytes"
2503
- },
2504
- {
2505
- "internalType": "Timestamp",
2506
- "name": "paidAt",
2507
- "type": "uint40"
2508
- }
2509
- ],
2510
- "internalType": "struct IPolicy.PayoutInfo",
2511
- "name": "payout",
2512
- "type": "tuple"
566
+ "internalType": "address",
567
+ "name": "registryAddress",
568
+ "type": "address"
2513
569
  },
2514
570
  {
2515
- "internalType": "StateId",
2516
- "name": "newState",
2517
- "type": "uint8"
571
+ "internalType": "address",
572
+ "name": "initialOwner",
573
+ "type": "address"
2518
574
  }
2519
575
  ],
2520
- "name": "updateDistributor",
576
+ "name": "initialize",
2521
577
  "outputs": [],
2522
578
  "stateMutability": "nonpayable",
2523
579
  "type": "function"
2524
580
  },
2525
581
  {
2526
- "inputs": [
2527
- {
2528
- "internalType": "NftId",
2529
- "name": "policyNftId",
2530
- "type": "uint96"
2531
- },
2532
- {
2533
- "internalType": "StateId",
2534
- "name": "newState",
2535
- "type": "uint8"
2536
- }
2537
- ],
2538
- "name": "updateDistributorState",
582
+ "inputs": [],
583
+ "name": "initializeERC165",
2539
584
  "outputs": [],
2540
585
  "stateMutability": "nonpayable",
2541
586
  "type": "function"
2542
587
  },
2543
588
  {
2544
589
  "inputs": [
2545
- {
2546
- "internalType": "NftId",
2547
- "name": "policyNftId",
2548
- "type": "uint96"
2549
- },
2550
- {
2551
- "internalType": "NumberId",
2552
- "name": "payoutId",
2553
- "type": "uint32"
2554
- },
2555
- {
2556
- "components": [
2557
- {
2558
- "internalType": "NumberId",
2559
- "name": "claimId",
2560
- "type": "uint32"
2561
- },
2562
- {
2563
- "internalType": "uint256",
2564
- "name": "amount",
2565
- "type": "uint256"
2566
- },
2567
- {
2568
- "internalType": "bytes",
2569
- "name": "data",
2570
- "type": "bytes"
2571
- },
2572
- {
2573
- "internalType": "Timestamp",
2574
- "name": "paidAt",
2575
- "type": "uint40"
2576
- }
2577
- ],
2578
- "internalType": "struct IPolicy.PayoutInfo",
2579
- "name": "payout",
2580
- "type": "tuple"
590
+ {
591
+ "internalType": "address",
592
+ "name": "initialOwner",
593
+ "type": "address"
2581
594
  },
2582
595
  {
2583
- "internalType": "StateId",
2584
- "name": "newState",
2585
- "type": "uint8"
596
+ "internalType": "address",
597
+ "name": "registryAddress",
598
+ "type": "address"
2586
599
  }
2587
600
  ],
2588
- "name": "updateDistributorType",
601
+ "name": "initializeNftOwnable",
2589
602
  "outputs": [],
2590
603
  "stateMutability": "nonpayable",
2591
604
  "type": "function"
2592
605
  },
2593
606
  {
2594
607
  "inputs": [
608
+ {
609
+ "internalType": "address",
610
+ "name": "registryAddress",
611
+ "type": "address"
612
+ },
2595
613
  {
2596
614
  "internalType": "NftId",
2597
- "name": "policyNftId",
615
+ "name": "parentNftId",
2598
616
  "type": "uint96"
2599
617
  },
2600
618
  {
2601
- "internalType": "StateId",
2602
- "name": "newState",
619
+ "internalType": "ObjectType",
620
+ "name": "objectType",
2603
621
  "type": "uint8"
622
+ },
623
+ {
624
+ "internalType": "bool",
625
+ "name": "isInterceptor",
626
+ "type": "bool"
627
+ },
628
+ {
629
+ "internalType": "address",
630
+ "name": "initialOwner",
631
+ "type": "address"
632
+ },
633
+ {
634
+ "internalType": "bytes",
635
+ "name": "registryData",
636
+ "type": "bytes"
2604
637
  }
2605
638
  ],
2606
- "name": "updateDistributorTypeState",
639
+ "name": "initializeRegisterable",
2607
640
  "outputs": [],
2608
641
  "stateMutability": "nonpayable",
2609
642
  "type": "function"
@@ -2611,122 +644,32 @@
2611
644
  {
2612
645
  "inputs": [
2613
646
  {
2614
- "internalType": "NftId",
2615
- "name": "policyNftId",
2616
- "type": "uint96"
2617
- },
2618
- {
2619
- "internalType": "StateId",
2620
- "name": "newState",
2621
- "type": "uint8"
647
+ "internalType": "address",
648
+ "name": "registryAddress",
649
+ "type": "address"
2622
650
  }
2623
651
  ],
2624
- "name": "updatePayoutState",
652
+ "name": "initializeRegistryLinked",
2625
653
  "outputs": [],
2626
654
  "stateMutability": "nonpayable",
2627
655
  "type": "function"
2628
656
  },
2629
657
  {
2630
- "inputs": [
2631
- {
2632
- "internalType": "NftId",
2633
- "name": "policyNftId",
2634
- "type": "uint96"
2635
- },
2636
- {
2637
- "components": [
2638
- {
2639
- "internalType": "NftId",
2640
- "name": "productNftId",
2641
- "type": "uint96"
2642
- },
2643
- {
2644
- "internalType": "NftId",
2645
- "name": "bundleNftId",
2646
- "type": "uint96"
2647
- },
2648
- {
2649
- "internalType": "ReferralId",
2650
- "name": "referralId",
2651
- "type": "bytes8"
2652
- },
2653
- {
2654
- "internalType": "RiskId",
2655
- "name": "riskId",
2656
- "type": "bytes8"
2657
- },
2658
- {
2659
- "internalType": "uint256",
2660
- "name": "sumInsuredAmount",
2661
- "type": "uint256"
2662
- },
2663
- {
2664
- "internalType": "uint256",
2665
- "name": "premiumAmount",
2666
- "type": "uint256"
2667
- },
2668
- {
2669
- "internalType": "uint256",
2670
- "name": "premiumPaidAmount",
2671
- "type": "uint256"
2672
- },
2673
- {
2674
- "internalType": "uint256",
2675
- "name": "lifetime",
2676
- "type": "uint256"
2677
- },
2678
- {
2679
- "internalType": "bytes",
2680
- "name": "applicationData",
2681
- "type": "bytes"
2682
- },
2683
- {
2684
- "internalType": "bytes",
2685
- "name": "policyData",
2686
- "type": "bytes"
2687
- },
2688
- {
2689
- "internalType": "uint16",
2690
- "name": "claimsCount",
2691
- "type": "uint16"
2692
- },
2693
- {
2694
- "internalType": "uint16",
2695
- "name": "openClaimsCount",
2696
- "type": "uint16"
2697
- },
2698
- {
2699
- "internalType": "uint256",
2700
- "name": "payoutAmount",
2701
- "type": "uint256"
2702
- },
2703
- {
2704
- "internalType": "Timestamp",
2705
- "name": "activatedAt",
2706
- "type": "uint40"
2707
- },
2708
- {
2709
- "internalType": "Timestamp",
2710
- "name": "expiredAt",
2711
- "type": "uint40"
2712
- },
2713
- {
2714
- "internalType": "Timestamp",
2715
- "name": "closedAt",
2716
- "type": "uint40"
2717
- }
2718
- ],
2719
- "internalType": "struct IPolicy.PolicyInfo",
2720
- "name": "policy",
2721
- "type": "tuple"
2722
- },
658
+ "inputs": [],
659
+ "name": "isConsumingScheduledOp",
660
+ "outputs": [
2723
661
  {
2724
- "internalType": "StateId",
2725
- "name": "newState",
2726
- "type": "uint8"
662
+ "internalType": "bytes4",
663
+ "name": "",
664
+ "type": "bytes4"
2727
665
  }
2728
666
  ],
2729
- "name": "updatePolicy",
667
+ "stateMutability": "view",
668
+ "type": "function"
669
+ },
670
+ {
671
+ "inputs": [],
672
+ "name": "linkToRegisteredNftId",
2730
673
  "outputs": [],
2731
674
  "stateMutability": "nonpayable",
2732
675
  "type": "function"
@@ -2734,17 +677,17 @@
2734
677
  {
2735
678
  "inputs": [
2736
679
  {
2737
- "internalType": "NftId",
2738
- "name": "policyNftId",
2739
- "type": "uint96"
680
+ "internalType": "address",
681
+ "name": "to",
682
+ "type": "address"
2740
683
  },
2741
684
  {
2742
- "internalType": "StateId",
2743
- "name": "newState",
2744
- "type": "uint8"
685
+ "internalType": "uint256",
686
+ "name": "tokenId",
687
+ "type": "uint256"
2745
688
  }
2746
689
  ],
2747
- "name": "updatePolicyState",
690
+ "name": "nftMint",
2748
691
  "outputs": [],
2749
692
  "stateMutability": "nonpayable",
2750
693
  "type": "function"
@@ -2752,105 +695,22 @@
2752
695
  {
2753
696
  "inputs": [
2754
697
  {
2755
- "internalType": "NftId",
2756
- "name": "poolNftId",
2757
- "type": "uint96"
698
+ "internalType": "address",
699
+ "name": "from",
700
+ "type": "address"
2758
701
  },
2759
702
  {
2760
- "components": [
2761
- {
2762
- "internalType": "NftId",
2763
- "name": "productNftId",
2764
- "type": "uint96"
2765
- },
2766
- {
2767
- "internalType": "contract TokenHandler",
2768
- "name": "tokenHandler",
2769
- "type": "address"
2770
- },
2771
- {
2772
- "internalType": "UFixed",
2773
- "name": "collateralizationLevel",
2774
- "type": "uint256"
2775
- },
2776
- {
2777
- "components": [
2778
- {
2779
- "internalType": "UFixed",
2780
- "name": "fractionalFee",
2781
- "type": "uint256"
2782
- },
2783
- {
2784
- "internalType": "uint256",
2785
- "name": "fixedFee",
2786
- "type": "uint256"
2787
- }
2788
- ],
2789
- "internalType": "struct Fee",
2790
- "name": "poolFee",
2791
- "type": "tuple"
2792
- },
2793
- {
2794
- "components": [
2795
- {
2796
- "internalType": "UFixed",
2797
- "name": "fractionalFee",
2798
- "type": "uint256"
2799
- },
2800
- {
2801
- "internalType": "uint256",
2802
- "name": "fixedFee",
2803
- "type": "uint256"
2804
- }
2805
- ],
2806
- "internalType": "struct Fee",
2807
- "name": "stakingFee",
2808
- "type": "tuple"
2809
- },
2810
- {
2811
- "components": [
2812
- {
2813
- "internalType": "UFixed",
2814
- "name": "fractionalFee",
2815
- "type": "uint256"
2816
- },
2817
- {
2818
- "internalType": "uint256",
2819
- "name": "fixedFee",
2820
- "type": "uint256"
2821
- }
2822
- ],
2823
- "internalType": "struct Fee",
2824
- "name": "performanceFee",
2825
- "type": "tuple"
2826
- },
2827
- {
2828
- "internalType": "bool",
2829
- "name": "isIntercepting",
2830
- "type": "bool"
2831
- },
2832
- {
2833
- "internalType": "bool",
2834
- "name": "isConfirmingApplication",
2835
- "type": "bool"
2836
- },
2837
- {
2838
- "internalType": "address",
2839
- "name": "wallet",
2840
- "type": "address"
2841
- }
2842
- ],
2843
- "internalType": "struct ISetup.PoolSetupInfo",
2844
- "name": "setup",
2845
- "type": "tuple"
703
+ "internalType": "address",
704
+ "name": "to",
705
+ "type": "address"
2846
706
  },
2847
707
  {
2848
- "internalType": "StateId",
2849
- "name": "newState",
2850
- "type": "uint8"
708
+ "internalType": "uint256",
709
+ "name": "tokenId",
710
+ "type": "uint256"
2851
711
  }
2852
712
  ],
2853
- "name": "updatePoolSetup",
713
+ "name": "nftTransferFrom",
2854
714
  "outputs": [],
2855
715
  "stateMutability": "nonpayable",
2856
716
  "type": "function"
@@ -2858,17 +718,12 @@
2858
718
  {
2859
719
  "inputs": [
2860
720
  {
2861
- "internalType": "NftId",
2862
- "name": "poolNftId",
2863
- "type": "uint96"
2864
- },
2865
- {
2866
- "internalType": "StateId",
2867
- "name": "newState",
2868
- "type": "uint8"
721
+ "internalType": "bytes4",
722
+ "name": "interfaceId",
723
+ "type": "bytes4"
2869
724
  }
2870
725
  ],
2871
- "name": "updatePoolSetupState",
726
+ "name": "registerInterface",
2872
727
  "outputs": [],
2873
728
  "stateMutability": "nonpayable",
2874
729
  "type": "function"
@@ -2876,156 +731,17 @@
2876
731
  {
2877
732
  "inputs": [
2878
733
  {
2879
- "internalType": "NftId",
2880
- "name": "productNftId",
2881
- "type": "uint96"
2882
- },
2883
- {
2884
- "components": [
2885
- {
2886
- "internalType": "contract IERC20Metadata",
2887
- "name": "token",
2888
- "type": "address"
2889
- },
2890
- {
2891
- "internalType": "contract TokenHandler",
2892
- "name": "tokenHandler",
2893
- "type": "address"
2894
- },
2895
- {
2896
- "internalType": "NftId",
2897
- "name": "distributionNftId",
2898
- "type": "uint96"
2899
- },
2900
- {
2901
- "internalType": "NftId",
2902
- "name": "poolNftId",
2903
- "type": "uint96"
2904
- },
2905
- {
2906
- "components": [
2907
- {
2908
- "internalType": "UFixed",
2909
- "name": "fractionalFee",
2910
- "type": "uint256"
2911
- },
2912
- {
2913
- "internalType": "uint256",
2914
- "name": "fixedFee",
2915
- "type": "uint256"
2916
- }
2917
- ],
2918
- "internalType": "struct Fee",
2919
- "name": "distributionFee",
2920
- "type": "tuple"
2921
- },
2922
- {
2923
- "components": [
2924
- {
2925
- "internalType": "UFixed",
2926
- "name": "fractionalFee",
2927
- "type": "uint256"
2928
- },
2929
- {
2930
- "internalType": "uint256",
2931
- "name": "fixedFee",
2932
- "type": "uint256"
2933
- }
2934
- ],
2935
- "internalType": "struct Fee",
2936
- "name": "productFee",
2937
- "type": "tuple"
2938
- },
2939
- {
2940
- "components": [
2941
- {
2942
- "internalType": "UFixed",
2943
- "name": "fractionalFee",
2944
- "type": "uint256"
2945
- },
2946
- {
2947
- "internalType": "uint256",
2948
- "name": "fixedFee",
2949
- "type": "uint256"
2950
- }
2951
- ],
2952
- "internalType": "struct Fee",
2953
- "name": "processingFee",
2954
- "type": "tuple"
2955
- },
2956
- {
2957
- "components": [
2958
- {
2959
- "internalType": "UFixed",
2960
- "name": "fractionalFee",
2961
- "type": "uint256"
2962
- },
2963
- {
2964
- "internalType": "uint256",
2965
- "name": "fixedFee",
2966
- "type": "uint256"
2967
- }
2968
- ],
2969
- "internalType": "struct Fee",
2970
- "name": "poolFee",
2971
- "type": "tuple"
2972
- },
2973
- {
2974
- "components": [
2975
- {
2976
- "internalType": "UFixed",
2977
- "name": "fractionalFee",
2978
- "type": "uint256"
2979
- },
2980
- {
2981
- "internalType": "uint256",
2982
- "name": "fixedFee",
2983
- "type": "uint256"
2984
- }
2985
- ],
2986
- "internalType": "struct Fee",
2987
- "name": "stakingFee",
2988
- "type": "tuple"
2989
- },
2990
- {
2991
- "components": [
2992
- {
2993
- "internalType": "UFixed",
2994
- "name": "fractionalFee",
2995
- "type": "uint256"
2996
- },
2997
- {
2998
- "internalType": "uint256",
2999
- "name": "fixedFee",
3000
- "type": "uint256"
3001
- }
3002
- ],
3003
- "internalType": "struct Fee",
3004
- "name": "performanceFee",
3005
- "type": "tuple"
3006
- },
3007
- {
3008
- "internalType": "bool",
3009
- "name": "isIntercepting",
3010
- "type": "bool"
3011
- },
3012
- {
3013
- "internalType": "address",
3014
- "name": "wallet",
3015
- "type": "address"
3016
- }
3017
- ],
3018
- "internalType": "struct ISetup.ProductSetupInfo",
3019
- "name": "setup",
3020
- "type": "tuple"
734
+ "internalType": "RoleId",
735
+ "name": "roleId",
736
+ "type": "uint64"
3021
737
  },
3022
738
  {
3023
- "internalType": "StateId",
3024
- "name": "newState",
3025
- "type": "uint8"
739
+ "internalType": "address",
740
+ "name": "account",
741
+ "type": "address"
3026
742
  }
3027
743
  ],
3028
- "name": "updateProductSetup",
744
+ "name": "revokeRole",
3029
745
  "outputs": [],
3030
746
  "stateMutability": "nonpayable",
3031
747
  "type": "function"
@@ -3033,17 +749,12 @@
3033
749
  {
3034
750
  "inputs": [
3035
751
  {
3036
- "internalType": "NftId",
3037
- "name": "productNftId",
3038
- "type": "uint96"
3039
- },
3040
- {
3041
- "internalType": "StateId",
3042
- "name": "newState",
3043
- "type": "uint8"
752
+ "internalType": "address",
753
+ "name": "newAuthority",
754
+ "type": "address"
3044
755
  }
3045
756
  ],
3046
- "name": "updateProductSetupState",
757
+ "name": "setAuthority",
3047
758
  "outputs": [],
3048
759
  "stateMutability": "nonpayable",
3049
760
  "type": "function"
@@ -3051,49 +762,12 @@
3051
762
  {
3052
763
  "inputs": [
3053
764
  {
3054
- "internalType": "NftId",
3055
- "name": "policyNftId",
3056
- "type": "uint96"
3057
- },
3058
- {
3059
- "internalType": "NumberId",
3060
- "name": "payoutId",
3061
- "type": "uint32"
3062
- },
3063
- {
3064
- "components": [
3065
- {
3066
- "internalType": "NumberId",
3067
- "name": "claimId",
3068
- "type": "uint32"
3069
- },
3070
- {
3071
- "internalType": "uint256",
3072
- "name": "amount",
3073
- "type": "uint256"
3074
- },
3075
- {
3076
- "internalType": "bytes",
3077
- "name": "data",
3078
- "type": "bytes"
3079
- },
3080
- {
3081
- "internalType": "Timestamp",
3082
- "name": "paidAt",
3083
- "type": "uint40"
3084
- }
3085
- ],
3086
- "internalType": "struct IPolicy.PayoutInfo",
3087
- "name": "payout",
3088
- "type": "tuple"
3089
- },
3090
- {
3091
- "internalType": "StateId",
3092
- "name": "newState",
3093
- "type": "uint8"
765
+ "internalType": "contract BundleManager",
766
+ "name": "bundleManager",
767
+ "type": "address"
3094
768
  }
3095
769
  ],
3096
- "name": "updateReferral",
770
+ "name": "setBundleManager",
3097
771
  "outputs": [],
3098
772
  "stateMutability": "nonpayable",
3099
773
  "type": "function"
@@ -3101,17 +775,25 @@
3101
775
  {
3102
776
  "inputs": [
3103
777
  {
3104
- "internalType": "NftId",
3105
- "name": "policyNftId",
3106
- "type": "uint96"
3107
- },
778
+ "internalType": "contract InstanceAccessManager",
779
+ "name": "accessManager",
780
+ "type": "address"
781
+ }
782
+ ],
783
+ "name": "setInstanceAccessManager",
784
+ "outputs": [],
785
+ "stateMutability": "nonpayable",
786
+ "type": "function"
787
+ },
788
+ {
789
+ "inputs": [
3108
790
  {
3109
- "internalType": "StateId",
3110
- "name": "newState",
3111
- "type": "uint8"
791
+ "internalType": "contract InstanceReader",
792
+ "name": "instanceReader",
793
+ "type": "address"
3112
794
  }
3113
795
  ],
3114
- "name": "updateReferralState",
796
+ "name": "setInstanceReader",
3115
797
  "outputs": [],
3116
798
  "stateMutability": "nonpayable",
3117
799
  "type": "function"
@@ -3119,34 +801,12 @@
3119
801
  {
3120
802
  "inputs": [
3121
803
  {
3122
- "internalType": "RiskId",
3123
- "name": "riskId",
3124
- "type": "bytes8"
3125
- },
3126
- {
3127
- "components": [
3128
- {
3129
- "internalType": "NftId",
3130
- "name": "productNftId",
3131
- "type": "uint96"
3132
- },
3133
- {
3134
- "internalType": "bytes",
3135
- "name": "data",
3136
- "type": "bytes"
3137
- }
3138
- ],
3139
- "internalType": "struct IRisk.RiskInfo",
3140
- "name": "risk",
3141
- "type": "tuple"
3142
- },
3143
- {
3144
- "internalType": "StateId",
3145
- "name": "newState",
3146
- "type": "uint8"
804
+ "internalType": "contract InstanceStore",
805
+ "name": "instanceStore",
806
+ "type": "address"
3147
807
  }
3148
808
  ],
3149
- "name": "updateRisk",
809
+ "name": "setInstanceStore",
3150
810
  "outputs": [],
3151
811
  "stateMutability": "nonpayable",
3152
812
  "type": "function"
@@ -3154,17 +814,22 @@
3154
814
  {
3155
815
  "inputs": [
3156
816
  {
3157
- "internalType": "RiskId",
3158
- "name": "riskId",
3159
- "type": "bytes8"
817
+ "internalType": "string",
818
+ "name": "targetName",
819
+ "type": "string"
820
+ },
821
+ {
822
+ "internalType": "bytes4[]",
823
+ "name": "selectors",
824
+ "type": "bytes4[]"
3160
825
  },
3161
826
  {
3162
- "internalType": "StateId",
3163
- "name": "newState",
3164
- "type": "uint8"
827
+ "internalType": "RoleId",
828
+ "name": "roleId",
829
+ "type": "uint64"
3165
830
  }
3166
831
  ],
3167
- "name": "updateRiskState",
832
+ "name": "setTargetFunctionRole",
3168
833
  "outputs": [],
3169
834
  "stateMutability": "nonpayable",
3170
835
  "type": "function"
@@ -3172,22 +837,17 @@
3172
837
  {
3173
838
  "inputs": [
3174
839
  {
3175
- "internalType": "RoleId",
3176
- "name": "roleId",
3177
- "type": "uint64"
3178
- },
3179
- {
3180
- "internalType": "string",
3181
- "name": "name",
3182
- "type": "string"
840
+ "internalType": "address",
841
+ "name": "target",
842
+ "type": "address"
3183
843
  },
3184
844
  {
3185
- "internalType": "StateId",
3186
- "name": "newState",
3187
- "type": "uint8"
845
+ "internalType": "bool",
846
+ "name": "locked",
847
+ "type": "bool"
3188
848
  }
3189
849
  ],
3190
- "name": "updateRole",
850
+ "name": "setTargetLocked",
3191
851
  "outputs": [],
3192
852
  "stateMutability": "nonpayable",
3193
853
  "type": "function"
@@ -3195,360 +855,89 @@
3195
855
  {
3196
856
  "inputs": [
3197
857
  {
3198
- "internalType": "RoleId",
3199
- "name": "roleId",
3200
- "type": "uint64"
3201
- },
858
+ "internalType": "bytes4",
859
+ "name": "interfaceId",
860
+ "type": "bytes4"
861
+ }
862
+ ],
863
+ "name": "supportsInterface",
864
+ "outputs": [
3202
865
  {
3203
- "internalType": "StateId",
3204
- "name": "newState",
3205
- "type": "uint8"
866
+ "internalType": "bool",
867
+ "name": "",
868
+ "type": "bool"
3206
869
  }
3207
870
  ],
3208
- "name": "updateRoleState",
3209
- "outputs": [],
3210
- "stateMutability": "nonpayable",
871
+ "stateMutability": "view",
3211
872
  "type": "function"
3212
873
  }
3213
874
  ],
3214
- "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000094565b6200002662000248565b6200003062000381565b6200003a620005e9565b6200007c6301ffc9a760e01b60005260036020527f28b0ef64f7e82d3b26f3fd404bd0151552f792965f39c29ae82c0a78df67af9c805460ff19166001179055565b600580546001600160a01b031916331790556200075f565b60dc600090815260208190527f5bd290414b404036f9d63146803dd83b59a8e1905062a5bfed8b0154d20a390d805460ff191660641790556001908190620000da60dc90565b60ff1660ff1681526020019081526020016000206000620001006200072d60201b60201c565b60ff1660ff1681526020019081526020016000206000620001266200073760201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019081906200015960dc90565b60ff1660ff16815260200190815260200160002060006200017f6200073760201b60201c565b60ff1660ff1681526020019081526020016000206000620001a56200072d60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001908190620001d860dc90565b60ff1660ff1681526020019081526020016000206000620001fe6200073760201b60201c565b60ff1660ff1681526020019081526020016000206000620002246200073c60201b60201c565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f9db7038e59677010ca8f72fa448bad1b4f3c53346b666689163ccac31db467728054606460ff1991821681179092557f1a3062e9a24818c8281fcfb58ec4f3083a2f9a1314ac63f80d8d646661fdc5098054909116600190811790915560009182526020819052907f1bd07f61ef326b4de236f5b68f225f46ff76ee2c375ae31a06da201c49c70c1290620002dc606e90565b60ff1660ff1681526020019081526020016000206000620003026200072d60201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190819062000335606490565b60ff1660ff16815260200190815260200160002060006200035b6200073760201b60201c565b60ff1660ff1681526020019081526020016000206000620002246200074160201b60201c565b60d2600090815260208190527fc0d27dadfcf8ee0186a0f6fe9b5805a51e99869050491e4a3040efec012a214f805460ff1916600a1790556001908190620003c760d290565b60ff1660ff1681526020019081526020016000206000620003ed6200074660201b60201c565b60ff1660ff1681526020019081526020016000206000620004136200074b60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019081906200044660d290565b60ff1660ff16815260200190815260200160002060006200046c6200074660201b60201c565b60ff1660ff1681526020019081526020016000206000620004926200075060201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001908190620004c560d290565b60ff1660ff1681526020019081526020016000206000620004eb6200074660201b60201c565b60ff1660ff1681526020019081526020016000206000620005116200075560201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019081906200054460d290565b60ff1660ff16815260200190815260200160002060006200056a6200075560201b60201c565b60ff1660ff1681526020019081526020016000206000620005906200072d60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001908190620005c360d290565b60ff1660ff1681526020019081526020016000206000620001fe6200072d60201b60201c565b60c8600090815260208190527fc5f2c791ab4e0b1a0b6c600884b07e98575b00ebd7c3166c4272a53bebf71403805460ff1916606417905560019081906200062f60c890565b60ff1660ff1681526020019081526020016000206000620006556200072d60201b60201c565b60ff1660ff16815260200190815260200160002060006200067b6200073760201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001908190620006ae60c890565b60ff1660ff1681526020019081526020016000206000620006d46200073760201b60201c565b60ff1660ff1681526020019081526020016000206000620006fa6200072d60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019081906200033560c890565b606490565b905090565b606e90565b60c890565b60d290565b600a90565b601490565b601e90565b6000602862000732565b615cb2806200076f6000396000f3fe608060405234801561001057600080fd5b50600436106104b75760003560e01c80637a9e5e4b11610278578063b428b0b01161015c578063d5b221bd116100ce578063e8951ee611610092578063e8951ee6146105e2578063e9e96c7014610b1c578063f48016ce14610b5a578063f7bc431c14610b6d578063f8b648ac14610696578063fe1f18d614610b8057600080fd5b8063d5b221bd14610610578063d78a83b114610adb578063dee3262314610aee578063e1033e7d14610b01578063e7cd37d414610b0957600080fd5b8063bf1db3f911610120578063bf1db3f914610a92578063bf7e214f14610aa5578063c2f1a2d214610610578063ca600b1c14610aad578063cd50b97e14610ab5578063d2f21a2914610ac857600080fd5b8063b428b0b014610a46578063b68ec14614610696578063b7d2b16214610a59578063bc8d400014610a6c578063bd5947e314610a7f57600080fd5b806391ff6eaa116101f55780639df0280b116101b95780639df0280b146105e2578063a13df2ab14610949578063a5961b4c1461095c578063a76ee01814610a0d578063a898967514610a20578063a9cea14214610a3357600080fd5b806391ff6eaa146108ea578063950ad70b146108fd578063976b0a77146109105780639a960d52146109235780639d7421f41461093657600080fd5b80638793a9ac1161023c5780638793a9ac1461088e578063893d20e8146108a15780638dc77f42146105e25780638eaa6ac0146108a95780638fb36037146108c957600080fd5b80637a9e5e4b146108355780637cef48421461084857806382f65adb14610696578063835933c91461085b57806386f0c47b1461086e57600080fd5b8063392f5f641161039f5780635d4345cc1161031c578063644c45e0116102e0578063644c45e0146107df5780636b9bf08b1461080a5780636fa298531461081257806375b238fc1461081a57806375c82776146108225780637a4158021461061057600080fd5b80635d4345cc146105e25780635dfa73db1461079f5780636071a68e146107a857806360aa32aa146107bb57806361f5f420146107ce57600080fd5b8063422c9d0011610363578063422c9d00146107405780634288121d14610753578063468a18671461075b57806354f6127f1461076e5780635ab1bd531461078e57600080fd5b8063392f5f64146106ec5780633ca7c02a146106f45780633fc5ab981461071a5780633fd855611461072d57806340529b0f146105e257600080fd5b8063167bd395116104385780632f61088a116103fc5780632f61088a1461067057806331d311a71461068357806333bb0a971461069657806337f135d7146106a9578063384c9a57146106c657806338a699a4146106d957600080fd5b8063167bd395146105fd5780631c45fe7a146106105780631e23a2f5146106235780631eff4b221461063657806322f46b841461065d57600080fd5b80630d3581811161047f5780630d358181146105935780630f526f7d146105b95780630fec111c146105cc57806310203d2c146105e2578063138461e0146105f557600080fd5b806301ffc9a7146104bc57806302cd3071146104fe578063030149741461052357806309648a9d146105445780630b24cf5f1461057e575b600080fd5b6104e96104ca36600461421d565b6001600160e01b03191660009081526003602052604090205460ff1690565b60405190151581526020015b60405180910390f35b600b546001600160a01b03165b6040516001600160a01b0390911681526020016104f5565b61053661053136600461425c565b610b93565b6040519081526020016104f5565b61056c610552366004614279565b600090815260026020526040902054610100900460ff1690565b60405160ff90911681526020016104f5565b61059161058c366004614483565b610bba565b005b61056c6105a13660046144c8565b60ff9081166000908152602081905260409020541690565b6105916105c73660046144e5565b610bfe565b6105d4610c1b565b6040516104f592919061456e565b6105916105f03660046144e5565b610d9d565b610591610db2565b61059161060b366004614615565b610fdc565b61059161061e36600461476b565b611084565b6105916106313660046147df565b6110c5565b6105367f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b61059161066b366004614840565b6110eb565b61059161067e36600461490a565b611101565b61053661069136600461494f565b61119c565b6105916106a436600461496c565b61122d565b6106b1600081565b60405163ffffffff90911681526020016104f5565b6104e96106d436600461425c565b611258565b6104e96106e7366004614279565b6113ee565b600854610536565b6107026001600160401b0381565b6040516001600160401b0390911681526020016104f5565b610591610728366004614a84565b611479565b61070261073b366004614279565b61149f565b61059161074e36600461494f565b6114e4565b61050b611643565b610536610769366004614ae7565b6116dd565b61078161077c366004614279565b61173a565b6040516104f59190614b04565b6004546001600160a01b031661050b565b61070261271081565b6105916107b6366004614b17565b6117df565b6105916107c9366004614c12565b611805565b600c546001600160a01b031661050b565b600454600160a01b90046001600160601b03166040516001600160601b0390911681526020016104f5565b61050b61182d565b61050b611882565b610702600081565b610591610830366004614c96565b6118e1565b61059161084336600461494f565b611907565b610591610856366004614cee565b61198a565b61053661086936600461425c565b611a14565b61088161087c36600461425c565b611a57565b6040516104f59190614d0c565b61059161089c366004614d25565b611afc565b61050b611b11565b6108bc6108b7366004614279565b611bf2565b6040516104f59190614d8d565b6108d1611d33565b6040516001600160e01b031990911681526020016104f5565b6105916108f8366004614eb9565b611d6c565b61059161090b366004614ee7565b611d94565b61059161091e366004614f2e565b611df6565b6105916109313660046150cc565b612120565b610591610944366004615113565b612146565b610536610957366004614ae7565b61216c565b610a0061096a366004614279565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260026020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b6040516104f5919061516a565b610591610a1b366004615178565b612199565b610591610a2e3660046151bf565b612234565b610591610a413660046151ff565b612325565b6104e9610a54366004615240565b61234d565b6104e9610a67366004615240565b612541565b610591610a7a36600461526e565b6126cc565b610591610a8d3660046152b3565b6126f2565b6104e9610aa03660046144c8565b61271a565b61050b612767565b61050b612783565b610591610ac3366004614840565b6127e0565b610591610ad63660046144e5565b6127f7565b61050b610ae93660046152f3565b61280e565b610591610afc3660046144e5565b612837565b61050b61284e565b610591610b1736600461531f565b6128a5565b6104e9610b2a3660046151bf565b60ff9283166000908152600160209081526040808320948616835293815283822092851682529190915220541690565b610536610b6836600461535d565b6128cd565b610591610b7b36600461494f565b612951565b610591610b8e3660046144e5565b612a6a565b6001600160401b0381166000908152600760205260408120610bb490612a7f565b92915050565b610bc7335b600036612a89565b610bfa610bd5836078612b87565b82604051602001610be6919061538b565b604051602081830303815290604052612bd3565b5050565b610c0733610bbf565b610bfa610c1583608c612b87565b82612bdd565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610c9e6004546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610ce6611b11565b6001600160a01b03168152602001826001018054610d03906153eb565b80601f0160208091040260200160405190810160405280929190818152602001828054610d2f906153eb565b8015610d7c5780601f10610d5157610100808354040283529160200191610d7c565b820191906000526020600020905b815481529060010190602001808311610d5f57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b610da633610bbf565b610bfa610c15836116dd565b600480546040516330b8415f60e01b8152600160a01b9091046001600160601b03169181019190915273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610e17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3b9190615425565b15610e8457600480546040516316322c0f60e31b81526001600160a01b03821692810192909252600160a01b90046001600160601b031660248201526044015b60405180910390fd5b6004546001600160a01b0316610ead5760405163cf29926160e01b815260040160405180910390fd5b6004805460405163c3c5a54760e01b8152309281018390526001600160a01b039091169063c3c5a54790602401602060405180830381865afa158015610ef7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1b9190615425565b610f43576040516372657a5160e01b81526001600160a01b0382166004820152602401610e7b565b60048054604051636939560f60e11b81526001600160a01b038481169382019390935291169063d272ac1e90602401602060405180830381865afa158015610f8f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb39190615442565b600460146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b610fe533610bbf565b610ff16106e78361119c565b611019576040516325b6f39560e21b81526001600160a01b0383166004820152602401610e7b565b600a5460405163167bd39560e01b81526001600160a01b03848116600483015283151560248301529091169063167bd39590604401600060405180830381600087803b15801561106857600080fd5b505af115801561107c573d6000803e3d6000fd5b505050505050565b61108d33610bbf565b6110bf611099856116dd565b836040516020016110aa919061545f565b60405160208183030381529060405283612be7565b50505050565b6110ce33610bbf565b610bfa6110da8361119c565b82604051602001610be69190614d0c565b6110f433610bbf565b610bfa8282600180612bf2565b61110a33610bbf565b6040516355ee627560e01b81526001600160c01b031983166004820152610bfa9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611167573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061118b91906154b2565b82604051602001610be691906154cb565b604051637a400b6760e11b8152601e6004820152606082901b6bffffffffffffffffffffffff1916602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af4158015611209573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bb491906154b2565b61123633610bbf565b611253611242846116dd565b82604051602001610be6919061545f565b505050565b6000338161126584611a14565b9050611270816113ee565b61129757604051627a416f60e01b81526001600160401b0385166004820152602401610e7b565b6001600160401b03841660009081526007602052604090206112b99083612c9d565b156113e457600a54604051631517388760e21b81526001600160401b03861660048201526001600160a01b039091169063fe0776f59073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af415801561132b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061134f91906154f9565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b0385166024820152604401600060405180830381600087803b15801561139f57600080fd5b505af11580156113b3573d6000803e3d6000fd5b5050506001600160401b03851660009081526007602052604090206113d9915083612cbf565b506001949350505050565b5060009392505050565b60008181526002602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af4158015611455573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bb49190615425565b61148233610bbf565b61125361148e8461216c565b836040516020016110aa9190615516565b6000600882815481106114b4576114b46155ca565b90600052602060002090600491828204019190066008029054906101000a90046001600160401b03169050919050565b6114ed33610bbf565b600c546001600160a01b03161561153d5760405162461bcd60e51b8152602060048201526014602482015273109d5b991b1953585b9859d95c881a5cc81cd95d60621b6044820152606401610e7b565b6115c6816001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa15801561157e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115a29190615442565b600454600160a01b90046001600160601b03166001600160601b0390811691161490565b6116215760405162461bcd60e51b815260206004820152602660248201527f4e4654204944206f662042756e646c654d616e6167657220646f6573206e6f74604482015265040dac2e8c6d60d31b6064820152608401610e7b565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b600480546040805163a3bcd81d60e01b815292830152600e60448301526d50726f647563745365727669636560901b6064830152600360248301526000916001600160a01b039091169063a3bcd81d906084015b602060405180830381865afa1580156116b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116d891906155e0565b905090565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d25b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044016111ec565b600081815260026020526040902060010180546060919061175a906153eb565b80601f0160208091040260200160405190810160405280929190818152602001828054611786906153eb565b80156117d35780601f106117a8576101008083540402835291602001916117d3565b820191906000526020600020905b8154815290600101906020018083116117b657829003601f168201915b50505050509050919050565b6117e833610bbf565b610bfa6117f48361216c565b82604051602001610be69190615516565b61180e33610bbf565b61125361181c84608c612b87565b836040516020016110aa91906155fd565b600480546040805163a3bcd81d60e01b815292830152600b60448301526a506f6f6c5365727669636560a81b6064830152600360248301526000916001600160a01b039091169063a3bcd81d90608401611697565b600480546040805163a3bcd81d60e01b8152928301526015604483015274436f6d706f6e656e744f776e65725365727669636560581b6064830152600360248301526000916001600160a01b039091169063a3bcd81d90608401611697565b6118ea33610bbf565b6110bf6118f6856116dd565b836040516020016110aa91906156ba565b33611910612767565b6001600160a01b0316816001600160a01b03161461194b5760405162d1953b60e31b81526001600160a01b0382166004820152602401610e7b565b816001600160a01b03163b600003611981576040516361798f2f60e11b81526001600160a01b0383166004820152602401610e7b565b610bfa82612cd4565b61199333610bbf565b6040516355ee627560e01b81526001600160c01b031983166004820152610bfa9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af41580156119f0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c1591906154b2565b604051630f37f38f60e41b81526001600160401b038216600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063f37f38f0906024016111ec565b604080518082018252600080825260208201529051630f37f38f60e41b81526001600160401b0383166004820152611ae99073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063f37f38f090602401602060405180830381865af4158015611ac5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061077c91906154b2565b806020019051810190610bb491906156ea565b611b0533610bbf565b610bfa610c1583611a14565b600480546040516330b8415f60e01b8152600160a01b9091046001600160601b03169181019190915260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611b79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b9d9190615425565b15611be25760048054604051631c5da14d60e11b8152600160a01b82046001600160601b0316928101929092526001600160a01b0316906338bb429a90602401611697565b506005546001600160a01b031690565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260026020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c08201529283526001810180549192840191611caa906153eb565b80601f0160208091040260200160405190810160405280929190818152602001828054611cd6906153eb565b8015611d235780601f10611cf857610100808354040283529160200191611d23565b820191906000526020600020905b815481529060010190602001808311611d0657829003601f168201915b5050505050815250509050919050565b600080516020615c5d833981519152805460009190600160a01b900460ff16611d5d576000611d66565b638fb3603760e01b5b91505090565b611d7533610bbf565b610bfa611d8383606e612b87565b82604051602001610be69190615722565b611d9d33610bbf565b6000611dab84846000612d35565b5090506000611dbb858584612fa0565b9050611def611dc986611a14565b82604051602001611dda9190614d0c565b60405160208183030381529060405285612be7565b5050505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b0316600081158015611e3b5750825b90506000826001600160401b03166001148015611e575750303b155b905081158015611e65575080155b15611e835760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611ead57845460ff60401b1916600160401b1785555b600554600160a01b900460ff1615611f1e5760405162461bcd60e51b815260206004820152602e60248201527f436f6e747261637420696e7374616e63652068617320616c726561647920626560448201526d195b881a5b9a5d1a585b1a5e995960921b6064820152608401610e7b565b611f2789612fdc565b600a80546001600160a01b0319166001600160a01b038b161790556040516368aebf7b60e01b815260006004820152611fe49073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015611f96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fba91906154f9565b6040518060400160405280600981526020016841646d696e526f6c6560b81b815250600080612bf2565b6040516368aebf7b60e01b81526001600160401b03600482015261208d9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af415801561203e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061206291906154f9565b6040518060400160405280600a8152602001695075626c6963526f6c6560b01b815250600080612bf2565b6120ac8888604660008a60405180602001604052806000815250612ff0565b6120bc631548939360e11b6130c5565b6005805460ff60a01b1916600160a01b179055831561211557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050505050565b61212933610bbf565b611253612135846116dd565b836040516020016110aa919061584c565b61214f33610bbf565b61125361215b846116dd565b82604051602001610be691906156ba565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc611706565b6121a233610bbf565b6040516355ee627560e01b81526001600160c01b0319841660048201526112539073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af41580156121ff573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061222391906154b2565b836040516020016110aa91906154cb565b60ff8381166000908152602081905260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015612299573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122bd9190615425565b156122c757505050565b60ff80841660009081526001602090815260408083208685168452825280832085851684529091529020541661125357604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610e7b565b61232e33610bbf565b61125361233c84606e612b87565b836040516020016110aa9190615722565b600061235833610bbf565b600061236384611a14565b905061236e816113ee565b61239657604051636777365b60e01b81526001600160401b0385166004820152602401610e7b565b6000818152600260205260409020546123c590610100900460ff166123b9606490565b60ff9081169116141590565b156123ee5760405163fe229d5d60e01b81526001600160401b0385166004820152602401610e7b565b6001600160401b03841660009081526007602052604090206124109084612c9d565b6113e457600a54604051631517388760e21b81526001600160401b03861660048201526001600160a01b03909116906325c471a09073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612481573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124a591906154f9565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038616602482015260006044820152606401600060405180830381600087803b1580156124fc57600080fd5b505af1158015612510573d6000803e3d6000fd5b5050506001600160401b03851660009081526007602052604090206125369150846130ea565b506001915050610bb4565b600061254c33610bbf565b600061255784611a14565b9050612562816113ee565b61258a57604051634cee277360e11b81526001600160401b0385166004820152602401610e7b565b6001600160401b03841660009081526007602052604090206125ac9084612c9d565b156113e457600a54604051631517388760e21b81526001600160401b03861660048201526001600160a01b039091169063b7d2b1629073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af415801561261e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061264291906154f9565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b0386166024820152604401600060405180830381600087803b15801561269257600080fd5b505af11580156126a6573d6000803e3d6000fd5b5050506001600160401b0385166000908152600760205260409020612536915084612cbf565b6126d533610bbf565b610bfa6126e1836116dd565b82604051602001610be6919061584c565b6126fb33610bbf565b611253612709846078612b87565b836040516020016110aa919061538b565b60ff81811660009081526020819052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401611438565b600080516020615c5d833981519152546001600160a01b031690565b600480546040805163a3bcd81d60e01b8152928301526013604483015272446973747269627574696f6e5365727669636560681b6064830152600360248301526000916001600160a01b039091169063a3bcd81d90608401611697565b6127e933610bbf565b610bfa828260006001612bf2565b61280033610bbf565b610bfa610c15836078612b87565b6001600160401b038216600090815260076020526040812061283090836130ff565b9392505050565b61284033610bbf565b610bfa610c1583606e612b87565b600480546040805163a3bcd81d60e01b815292830152600d60448301526c506f6c6963795365727669636560981b6064830152600360248301526000916001600160a01b039091169063a3bcd81d90608401611697565b6128ae33610bbf565b610bfa6128bc83608c612b87565b82604051602001610be691906155fd565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af415801561292d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061283091906154b2565b61295a33610bbf565b600b546001600160a01b0316156129ab5760405162461bcd60e51b8152602060048201526015602482015274125b9cdd185b98d954995859195c881a5cc81cd95d605a1b6044820152606401610e7b565b6129ec816001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa15801561157e573d6000803e3d6000fd5b612a485760405162461bcd60e51b815260206004820152602760248201527f4e4654204944206f6620496e7374616e636552656164657220646f6573206e6f6044820152660e840dac2e8c6d60cb1b6064820152608401610e7b565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b612a7333610bbf565b610bfa610c158361216c565b6000610bb4825490565b600080516020615c5d833981519152600080612ac4612aa6612767565b8730612ab6600460008a8c61598d565b612abf916159b7565b61310b565b915091508161107c5763ffffffff811615612b6457825460ff60a01b1916600160a01b178355612af2612767565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612b21939291906159e7565b600060405180830381600087803b158015612b3b57600080fd5b505af1158015612b4f573d6000803e3d6000fd5b5050845460ff60a01b191685555061107c9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610e7b565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c890604401612910565b610bfa8282613217565b610bfa8282613639565b61125383838361396d565b8015612c0657612c03848484612d35565b50505b6000612c13858585612fa0565b80516000908152600660205260408120805467ffffffffffffffff19166001600160401b0389811691821790925560088054600181018255938190527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee36004850401805460039095169091026101000a9283021990931691021790559050611def6110da86611a14565b6001600160a01b03811660009081526001830160205260408120541515612830565b6000612830836001600160a01b038416613e08565b600080516020615c5d83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6000806000612d4386611a14565b9050612d4e816113ee565b92508215612d7d57612d5f8161173a565b806020019051810190612d7291906156ea565b602001519150612d81565b8391505b856001600160401b0381161580612da057506001600160401b03818116145b15612dc95760405163981bf42160e01b81526001600160401b0388166004820152602401610e7b565b828015612de057506127106001600160401b038216105b15612e0957604051633119b9df60e21b81526001600160401b0388166004820152602401610e7b565b828015612e2157506127106001600160401b03821610155b15612e4a5760405163094fb39160e01b81526001600160401b0388166004820152602401610e7b565b6000612e5587613f02565b9050612e6081613f40565b600003612e8b576040516321ab17ab60e01b81526001600160401b0389166004820152602401610e7b565b60008181526006602090815260409182902054825163bc1b392d60e01b81529251612f2e936001600160401b039092169273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9263bc1b392d92600480830193928290030181865af4158015612ef8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f1c91906154f9565b6001600160401b039081169116141590565b8015612f5457506000818152600660205260409020546001600160401b03898116911614155b15612f955760008181526006602052604090819020549051631660fb9360e21b81526001600160401b03909116600482015260248101829052604401610e7b565b505050935093915050565b60408051808201909152600080825260208201526040518060400160405280612fc885613f02565b815260200183151581525090509392505050565b612fe4613f68565b612fed81613fb3565b50565b6130316301ffc9a760e01b60005260036020527f28b0ef64f7e82d3b26f3fd404bd0151552f792965f39c29ae82c0a78df67af9c805460ff19166001179055565b61303b8287613fc4565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016130ab8382615a6d565b506130bc6303fb044760e21b6130c5565b50505050505050565b6001600160e01b0319166000908152600360205260409020805460ff19166001179055565b6000612830836001600160a01b03841661403e565b6000612830838361408d565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161317a9190615b2c565b600060405180830381855afa9150503d80600081146131b5576040519150601f19603f3d011682016040523d82523d6000602084013e6131ba565b606091505b5091509150811561320c5760408151106131ec57808060200190518101906131e29190615b48565b909450925061320c565b602081511061320c57808060200190518101906132099190615425565b93505b505094509492505050565b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af415801561326a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061328e9190615b77565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af41580156132e3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133079190615425565b6133535760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401610e7b565b600083815260026020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af41580156133bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133e09190615425565b61342c5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401610e7b565b334360006134398561271a565b61344457606461345a565b60ff808616600090815260208190526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b9190910217855560008881526002602052604090209091506001016134e48782615a6d565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613557573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061357b9190615b77565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156135cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135ef9190615b94565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a0015b60405180910390a150505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af415801561368b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136af9190615425565b6136fb5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3034303a53544154455f554e444546494e45440000006044820152606401610e7b565b600082815260026020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015613767573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061378b9190615425565b6137d75760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3034313a4e4f545f4558495354494e470000000000006044820152606401610e7b565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b9091041661381b4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156138ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138d19190615b77565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015613921573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139459190615b94565b878686328760405161395d9796959493929190615bb1565b60405180910390a1505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156139bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139e39190615425565b613a2f5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3032303a53544154455f554e444546494e45440000006044820152606401610e7b565b600083815260026020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015613a9b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613abf9190615425565b613b0b5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3032313a4e4f545f4558495354494e470000000000006044820152606401610e7b565b6000858152600260205260409020600101613b268582615a6d565b508154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b90910416613b6b4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613bfd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613c219190615b77565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015613c71573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613c959190615b94565b8786863287604051613cad9796959493929190615bb1565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613d27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613d4b9190615b77565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015613d9b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613dbf9190615b94565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c001613628565b60008181526001830160205260408120548015613ef1576000613e2c600183615c01565b8554909150600090613e4090600190615c01565b9050808214613ea5576000866000018281548110613e6057613e606155ca565b9060005260206000200154905080876000018481548110613e8357613e836155ca565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080613eb657613eb6615c22565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610bb4565b6000915050610bb4565b5092915050565b600080829050601f81511115613f2d578260405163305a27a960e01b8152600401610e7b9190614b04565b8051613f3882615c38565b179392505050565b600060ff8216601f811115610bb457604051632cd44ac360e21b815260040160405180910390fd5b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16613fb157604051631afcd79f60e31b815260040160405180910390fd5b565b613fbb613f68565b612fed81612cd4565b6001600160a01b03821661401a5760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e6572206973203000006044820152606401610e7b565b600580546001600160a01b0319166001600160a01b038416179055610bfa816140b7565b600081815260018301602052604081205461408557508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610bb4565b506000610bb4565b60008260000182815481106140a4576140a46155ca565b9060005260206000200154905092915050565b6004546001600160a01b0316156140f3576004805460405163fcdbf2d960e01b81526001600160a01b0390911691810191909152602401610e7b565b6001600160a01b03811661411a5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036141505760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610e7b565b600480546001600160a01b0319166001600160a01b03831690811782556040516301ffc9a760e01b8152632eaf856d60e11b92810192909252906301ffc9a790602401602060405180830381865afa9250505080156141cc575060408051601f3d908101601f191682019092526141c991810190615425565b60015b6141f45760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610e7b565b80610bfa5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610e7b565b60006020828403121561422f57600080fd5b81356001600160e01b03198116811461283057600080fd5b6001600160401b0381168114612fed57600080fd5b60006020828403121561426e57600080fd5b813561283081614247565b60006020828403121561428b57600080fd5b5035919050565b6001600160601b0381168114612fed57600080fd5b80356142b281614292565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b03811182821017156142ef576142ef6142b7565b60405290565b604051608081016001600160401b03811182821017156142ef576142ef6142b7565b60405161012081016001600160401b03811182821017156142ef576142ef6142b7565b60405161018081016001600160401b03811182821017156142ef576142ef6142b7565b60405161020081016001600160401b03811182821017156142ef576142ef6142b7565b6001600160a01b0381168114612fed57600080fd5b80356142b281614380565b6000604082840312156143b257600080fd5b6143ba6142cd565b9050813581526020820135602082015292915050565b8015158114612fed57600080fd5b80356142b2816143d0565b600060c082840312156143fb57600080fd5b60405160a081018181106001600160401b038211171561441d5761441d6142b7565b604052905080823561442e81614292565b8152602083013561443e81614380565b602082015261445084604085016143a0565b60408201526080830135614463816143d0565b606082015260a083013561447681614380565b6080919091015292915050565b60008060e0838503121561449657600080fd5b82356144a181614292565b91506144b084602085016143e9565b90509250929050565b60ff81168114612fed57600080fd5b6000602082840312156144da57600080fd5b8135612830816144b9565b600080604083850312156144f857600080fd5b823561450381614292565b91506020830135614513816144b9565b809150509250929050565b60005b83811015614539578181015183820152602001614521565b50506000910152565b6000815180845261455a81602086016020860161451e565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff604085015116608083015260608401516145b260a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e06101008401526145f8610120840182614542565b9050828103602084015261460c8185614542565b95945050505050565b6000806040838503121561462857600080fd5b823561463381614380565b91506020830135614513816143d0565b63ffffffff81168114612fed57600080fd5b600082601f83011261466657600080fd5b81356001600160401b0380821115614680576146806142b7565b604051601f8301601f19908116603f011681019082821181831017156146a8576146a86142b7565b816040528381528660208588010111156146c157600080fd5b836020870160208301376000602085830101528094505050505092915050565b803564ffffffffff811681146142b257600080fd5b60006080828403121561470857600080fd5b6147106142f5565b9050813561471d81614643565b81526020828101359082015260408201356001600160401b0381111561474257600080fd5b61474e84828501614655565b604083015250614760606083016146e1565b606082015292915050565b6000806000806080858703121561478157600080fd5b843561478c81614292565b9350602085013561479c81614643565b925060408501356001600160401b038111156147b757600080fd5b6147c3878288016146f6565b92505060608501356147d4816144b9565b939692955090935050565b60008082840360608112156147f357600080fd5b83356147fe81614380565b92506040601f198201121561481257600080fd5b5061481b6142cd565b602084013581526040840135614830816143d0565b6020820152919491935090915050565b6000806040838503121561485357600080fd5b823561485e81614247565b915060208301356001600160401b0381111561487957600080fd5b61488585828601614655565b9150509250929050565b6001600160c01b031981168114612fed57600080fd5b80356142b28161488f565b6000604082840312156148c257600080fd5b6148ca6142cd565b905081356148d781614292565b815260208201356001600160401b038111156148f257600080fd5b6148fe84828501614655565b60208301525092915050565b6000806040838503121561491d57600080fd5b82356149288161488f565b915060208301356001600160401b0381111561494357600080fd5b614885858286016148b0565b60006020828403121561496157600080fd5b813561283081614380565b60008060006060848603121561498157600080fd5b833561498c81614292565b9250602084013561499c81614643565b915060408401356001600160401b038111156149b757600080fd5b6149c3868287016146f6565b9150509250925092565b600061014082840312156149e057600080fd5b6149e8614317565b90506149f3826142a7565b8152614a0283602084016143a0565b602082015260608201356001600160401b03811115614a2057600080fd5b614a2c84828501614655565b6040830152506080820135606082015260a0820135608082015260c082013560a082015260e082013560c0820152610100614a688184016146e1565b60e0830152614a7a61012084016146e1565b9082015292915050565b600080600060608486031215614a9957600080fd5b8335614aa481614292565b925060208401356001600160401b03811115614abf57600080fd5b614acb868287016149cd565b9250506040840135614adc816144b9565b809150509250925092565b600060208284031215614af957600080fd5b813561283081614292565b6020815260006128306020830184614542565b60008060408385031215614b2a57600080fd5b8235614b3581614292565b915060208301356001600160401b03811115614b5057600080fd5b614885858286016149cd565b60006101808284031215614b6f57600080fd5b614b77614317565b9050614b82826142a7565b8152614b9060208301614395565b602082015260408201356040820152614bac83606084016143a0565b6060820152614bbe8360a084016143a0565b6080820152614bd08360e084016143a0565b60a0820152614be261012083016143de565b60c0820152614bf461014083016143de565b60e0820152614c066101608301614395565b61010082015292915050565b60008060006101c08486031215614c2857600080fd5b8335614c3381614292565b9250614c428560208601614b5c565b91506101a0840135614adc816144b9565b600060808284031215614c6557600080fd5b614c6d6142f5565b9050813581526020820135602082015260408201356001600160401b0381111561474257600080fd5b60008060008060808587031215614cac57600080fd5b8435614cb781614292565b93506020850135614cc781614643565b925060408501356001600160401b03811115614ce257600080fd5b6147c387828801614c53565b60008060408385031215614d0157600080fd5b82356145038161488f565b8151815260208083015115159082015260408101610bb4565b60008060408385031215614d3857600080fd5b823561450381614247565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b60208152614d9f602082018351614d43565b6000602083015160c080840152614db960e0840182614542565b949350505050565b60006102408284031215614dd457600080fd5b614ddc61433a565b9050614de782614395565b8152614df560208301614395565b6020820152614e06604083016142a7565b6040820152614e17606083016142a7565b6060820152614e2983608084016143a0565b6080820152614e3b8360c084016143a0565b60a0820152610100614e4f848285016143a0565b60c0830152610140614e63858286016143a0565b60e0840152614e768561018086016143a0565b82840152614e88856101c086016143a0565b610120840152614e9b61020085016143de565b9083015250614ead6102208301614395565b61016082015292915050565b6000806102608385031215614ecd57600080fd5b8235614ed881614292565b91506144b08460208501614dc1565b600080600060608486031215614efc57600080fd5b8335614f0781614247565b925060208401356001600160401b03811115614f2257600080fd5b614acb86828701614655565b60008060008060808587031215614f4457600080fd5b8435614f4f81614380565b93506020850135614f5f81614380565b92506040850135614f6f81614292565b915060608501356147d481614380565b803561ffff811681146142b257600080fd5b60006102008284031215614fa457600080fd5b614fac61435d565b9050614fb7826142a7565b8152614fc5602083016142a7565b6020820152614fd6604083016148a5565b6040820152614fe7606083016148a5565b60608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e0820152610100808301356001600160401b038082111561503057600080fd5b61503c86838701614655565b8385015261012092508285013591508082111561505857600080fd5b5061506585828601614655565b828401525050610140615079818401614f7f565b9082015261016061508b838201614f7f565b9082015261018082810135908201526101a06150a88184016146e1565b908201526101c06150ba8382016146e1565b908201526101e0614a7a8382016146e1565b6000806000606084860312156150e157600080fd5b83356150ec81614292565b925060208401356001600160401b0381111561510757600080fd5b614acb86828701614f91565b60008060006060848603121561512857600080fd5b833561513381614292565b9250602084013561514381614643565b915060408401356001600160401b0381111561515e57600080fd5b6149c386828701614c53565b60a08101610bb48284614d43565b60008060006060848603121561518d57600080fd5b83356151988161488f565b925060208401356001600160401b038111156151b357600080fd5b614acb868287016148b0565b6000806000606084860312156151d457600080fd5b83356151df816144b9565b925060208401356151ef816144b9565b91506040840135614adc816144b9565b6000806000610280848603121561521557600080fd5b833561522081614292565b925061522f8560208601614dc1565b9150610260840135614adc816144b9565b6000806040838503121561525357600080fd5b823561525e81614247565b9150602083013561451381614380565b6000806040838503121561528157600080fd5b823561528c81614292565b915060208301356001600160401b038111156152a757600080fd5b61488585828601614f91565b600080600061010084860312156152c957600080fd5b83356152d481614292565b92506152e385602086016143e9565b915060e0840135614adc816144b9565b6000806040838503121561530657600080fd5b823561531181614247565b946020939093013593505050565b6000806101a0838503121561533357600080fd5b823561533e81614292565b91506144b08460208501614b5c565b60ff1981168114612fed57600080fd5b6000806040838503121561537057600080fd5b823561537b816144b9565b915060208301356145138161534d565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015260c0830191906060850151151560808501528060808601511660a0850152505092915050565b600181811c908216806153ff57607f821691505b60208210810361541f57634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561543757600080fd5b8151612830816143d0565b60006020828403121561545457600080fd5b815161283081614292565b6020815263ffffffff825116602082015260208201516040820152600060408301516080606084015261549560a0840182614542565b905064ffffffffff60608501511660808401528091505092915050565b6000602082840312156154c457600080fd5b5051919050565b602081526001600160601b03825116602082015260006020830151604080840152614db96060840182614542565b60006020828403121561550b57600080fd5b815161283081614247565b602081526155306020820183516001600160601b03169052565b6000602083015161554e604084018280518252602090810151910152565b50604083015161014080608085015261556b610160850183614542565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100818187015260e087015191506155b361012087018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156155f257600080fd5b815161283081614380565b81516001600160601b0316815260208083015161018083019161562a908401826001600160a01b03169052565b50604083015160408301526060830151615651606084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c08301518015156101208401525060e0830151801515610140840152506101008301516001600160a01b038116610160840152613efb565b602081528151602082015260208201516040820152600060408301516080606084015261549560a0840182614542565b6000604082840312156156fc57600080fd5b6157046142cd565b825181526020830151615716816143d0565b60208201529392505050565b81516001600160a01b031681526102408101602083015161574e60208401826001600160a01b03169052565b50604083015161576960408401826001600160601b03169052565b50606083015161578460608401826001600160601b03169052565b5060808301516157a1608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301516101006157d78185018380518252602090810151910152565b60e085015191506101406157f78186018480518252602090810151910152565b9085015180516101808601526020908101516101a086015261012086015180516101c087015201516101e08501528401511515610200840152506101608301516001600160a01b038116610220840152613efb565b602081526158666020820183516001600160601b03169052565b6000602083015161588260408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e083015161010081818501528085015191505061020061012081818601526158fa610220860184614542565b9250808601519050610140601f19868503018187015261591a8483614542565b9350808701519150506101606159358187018361ffff169052565b860151905061018061594c8682018361ffff169052565b8601516101a08681019190915286015190506101c06159738187018364ffffffffff169052565b86015190506101e06155b38682018364ffffffffff169052565b6000808585111561599d57600080fd5b838611156159aa57600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156159df5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b601f82111561125357600081815260208120601f850160051c81016020861015615a4e5750805b601f850160051c820191505b8181101561107c57828155600101615a5a565b81516001600160401b03811115615a8657615a866142b7565b615a9a81615a9484546153eb565b84615a27565b602080601f831160018114615acf5760008415615ab75750858301515b600019600386901b1c1916600185901b17855561107c565b600085815260208120601f198616915b82811015615afe57888601518255948401946001909101908401615adf565b5085821015615b1c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008251615b3e81846020870161451e565b9190910192915050565b60008060408385031215615b5b57600080fd5b8251615b66816143d0565b602084015190925061451381614643565b600060208284031215615b8957600080fd5b8151612830816144b9565b600060208284031215615ba657600080fd5b81516128308161534d565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e00190565b81810381811115610bb457634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b8051602080830151919081101561541f5760001960209190910360031b1b1691905056fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212208dd4556a76ec653a6235791d937c35662217f3cbc2fe286ec333cb8a8a455bcd64736f6c63430008140033",
3215
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106104b75760003560e01c80637a9e5e4b11610278578063b428b0b01161015c578063d5b221bd116100ce578063e8951ee611610092578063e8951ee6146105e2578063e9e96c7014610b1c578063f48016ce14610b5a578063f7bc431c14610b6d578063f8b648ac14610696578063fe1f18d614610b8057600080fd5b8063d5b221bd14610610578063d78a83b114610adb578063dee3262314610aee578063e1033e7d14610b01578063e7cd37d414610b0957600080fd5b8063bf1db3f911610120578063bf1db3f914610a92578063bf7e214f14610aa5578063c2f1a2d214610610578063ca600b1c14610aad578063cd50b97e14610ab5578063d2f21a2914610ac857600080fd5b8063b428b0b014610a46578063b68ec14614610696578063b7d2b16214610a59578063bc8d400014610a6c578063bd5947e314610a7f57600080fd5b806391ff6eaa116101f55780639df0280b116101b95780639df0280b146105e2578063a13df2ab14610949578063a5961b4c1461095c578063a76ee01814610a0d578063a898967514610a20578063a9cea14214610a3357600080fd5b806391ff6eaa146108ea578063950ad70b146108fd578063976b0a77146109105780639a960d52146109235780639d7421f41461093657600080fd5b80638793a9ac1161023c5780638793a9ac1461088e578063893d20e8146108a15780638dc77f42146105e25780638eaa6ac0146108a95780638fb36037146108c957600080fd5b80637a9e5e4b146108355780637cef48421461084857806382f65adb14610696578063835933c91461085b57806386f0c47b1461086e57600080fd5b8063392f5f641161039f5780635d4345cc1161031c578063644c45e0116102e0578063644c45e0146107df5780636b9bf08b1461080a5780636fa298531461081257806375b238fc1461081a57806375c82776146108225780637a4158021461061057600080fd5b80635d4345cc146105e25780635dfa73db1461079f5780636071a68e146107a857806360aa32aa146107bb57806361f5f420146107ce57600080fd5b8063422c9d0011610363578063422c9d00146107405780634288121d14610753578063468a18671461075b57806354f6127f1461076e5780635ab1bd531461078e57600080fd5b8063392f5f64146106ec5780633ca7c02a146106f45780633fc5ab981461071a5780633fd855611461072d57806340529b0f146105e257600080fd5b8063167bd395116104385780632f61088a116103fc5780632f61088a1461067057806331d311a71461068357806333bb0a971461069657806337f135d7146106a9578063384c9a57146106c657806338a699a4146106d957600080fd5b8063167bd395146105fd5780631c45fe7a146106105780631e23a2f5146106235780631eff4b221461063657806322f46b841461065d57600080fd5b80630d3581811161047f5780630d358181146105935780630f526f7d146105b95780630fec111c146105cc57806310203d2c146105e2578063138461e0146105f557600080fd5b806301ffc9a7146104bc57806302cd3071146104fe578063030149741461052357806309648a9d146105445780630b24cf5f1461057e575b600080fd5b6104e96104ca36600461421d565b6001600160e01b03191660009081526003602052604090205460ff1690565b60405190151581526020015b60405180910390f35b600b546001600160a01b03165b6040516001600160a01b0390911681526020016104f5565b61053661053136600461425c565b610b93565b6040519081526020016104f5565b61056c610552366004614279565b600090815260026020526040902054610100900460ff1690565b60405160ff90911681526020016104f5565b61059161058c366004614483565b610bba565b005b61056c6105a13660046144c8565b60ff9081166000908152602081905260409020541690565b6105916105c73660046144e5565b610bfe565b6105d4610c1b565b6040516104f592919061456e565b6105916105f03660046144e5565b610d9d565b610591610db2565b61059161060b366004614615565b610fdc565b61059161061e36600461476b565b611084565b6105916106313660046147df565b6110c5565b6105367f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b61059161066b366004614840565b6110eb565b61059161067e36600461490a565b611101565b61053661069136600461494f565b61119c565b6105916106a436600461496c565b61122d565b6106b1600081565b60405163ffffffff90911681526020016104f5565b6104e96106d436600461425c565b611258565b6104e96106e7366004614279565b6113ee565b600854610536565b6107026001600160401b0381565b6040516001600160401b0390911681526020016104f5565b610591610728366004614a84565b611479565b61070261073b366004614279565b61149f565b61059161074e36600461494f565b6114e4565b61050b611643565b610536610769366004614ae7565b6116dd565b61078161077c366004614279565b61173a565b6040516104f59190614b04565b6004546001600160a01b031661050b565b61070261271081565b6105916107b6366004614b17565b6117df565b6105916107c9366004614c12565b611805565b600c546001600160a01b031661050b565b600454600160a01b90046001600160601b03166040516001600160601b0390911681526020016104f5565b61050b61182d565b61050b611882565b610702600081565b610591610830366004614c96565b6118e1565b61059161084336600461494f565b611907565b610591610856366004614cee565b61198a565b61053661086936600461425c565b611a14565b61088161087c36600461425c565b611a57565b6040516104f59190614d0c565b61059161089c366004614d25565b611afc565b61050b611b11565b6108bc6108b7366004614279565b611bf2565b6040516104f59190614d8d565b6108d1611d33565b6040516001600160e01b031990911681526020016104f5565b6105916108f8366004614eb9565b611d6c565b61059161090b366004614ee7565b611d94565b61059161091e366004614f2e565b611df6565b6105916109313660046150cc565b612120565b610591610944366004615113565b612146565b610536610957366004614ae7565b61216c565b610a0061096a366004614279565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260026020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b6040516104f5919061516a565b610591610a1b366004615178565b612199565b610591610a2e3660046151bf565b612234565b610591610a413660046151ff565b612325565b6104e9610a54366004615240565b61234d565b6104e9610a67366004615240565b612541565b610591610a7a36600461526e565b6126cc565b610591610a8d3660046152b3565b6126f2565b6104e9610aa03660046144c8565b61271a565b61050b612767565b61050b612783565b610591610ac3366004614840565b6127e0565b610591610ad63660046144e5565b6127f7565b61050b610ae93660046152f3565b61280e565b610591610afc3660046144e5565b612837565b61050b61284e565b610591610b1736600461531f565b6128a5565b6104e9610b2a3660046151bf565b60ff9283166000908152600160209081526040808320948616835293815283822092851682529190915220541690565b610536610b6836600461535d565b6128cd565b610591610b7b36600461494f565b612951565b610591610b8e3660046144e5565b612a6a565b6001600160401b0381166000908152600760205260408120610bb490612a7f565b92915050565b610bc7335b600036612a89565b610bfa610bd5836078612b87565b82604051602001610be6919061538b565b604051602081830303815290604052612bd3565b5050565b610c0733610bbf565b610bfa610c1583608c612b87565b82612bdd565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610c9e6004546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610ce6611b11565b6001600160a01b03168152602001826001018054610d03906153eb565b80601f0160208091040260200160405190810160405280929190818152602001828054610d2f906153eb565b8015610d7c5780601f10610d5157610100808354040283529160200191610d7c565b820191906000526020600020905b815481529060010190602001808311610d5f57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b610da633610bbf565b610bfa610c15836116dd565b600480546040516330b8415f60e01b8152600160a01b9091046001600160601b03169181019190915273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610e17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3b9190615425565b15610e8457600480546040516316322c0f60e31b81526001600160a01b03821692810192909252600160a01b90046001600160601b031660248201526044015b60405180910390fd5b6004546001600160a01b0316610ead5760405163cf29926160e01b815260040160405180910390fd5b6004805460405163c3c5a54760e01b8152309281018390526001600160a01b039091169063c3c5a54790602401602060405180830381865afa158015610ef7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1b9190615425565b610f43576040516372657a5160e01b81526001600160a01b0382166004820152602401610e7b565b60048054604051636939560f60e11b81526001600160a01b038481169382019390935291169063d272ac1e90602401602060405180830381865afa158015610f8f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb39190615442565b600460146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b610fe533610bbf565b610ff16106e78361119c565b611019576040516325b6f39560e21b81526001600160a01b0383166004820152602401610e7b565b600a5460405163167bd39560e01b81526001600160a01b03848116600483015283151560248301529091169063167bd39590604401600060405180830381600087803b15801561106857600080fd5b505af115801561107c573d6000803e3d6000fd5b505050505050565b61108d33610bbf565b6110bf611099856116dd565b836040516020016110aa919061545f565b60405160208183030381529060405283612be7565b50505050565b6110ce33610bbf565b610bfa6110da8361119c565b82604051602001610be69190614d0c565b6110f433610bbf565b610bfa8282600180612bf2565b61110a33610bbf565b6040516355ee627560e01b81526001600160c01b031983166004820152610bfa9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611167573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061118b91906154b2565b82604051602001610be691906154cb565b604051637a400b6760e11b8152601e6004820152606082901b6bffffffffffffffffffffffff1916602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af4158015611209573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bb491906154b2565b61123633610bbf565b611253611242846116dd565b82604051602001610be6919061545f565b505050565b6000338161126584611a14565b9050611270816113ee565b61129757604051627a416f60e01b81526001600160401b0385166004820152602401610e7b565b6001600160401b03841660009081526007602052604090206112b99083612c9d565b156113e457600a54604051631517388760e21b81526001600160401b03861660048201526001600160a01b039091169063fe0776f59073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af415801561132b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061134f91906154f9565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b0385166024820152604401600060405180830381600087803b15801561139f57600080fd5b505af11580156113b3573d6000803e3d6000fd5b5050506001600160401b03851660009081526007602052604090206113d9915083612cbf565b506001949350505050565b5060009392505050565b60008181526002602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af4158015611455573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bb49190615425565b61148233610bbf565b61125361148e8461216c565b836040516020016110aa9190615516565b6000600882815481106114b4576114b46155ca565b90600052602060002090600491828204019190066008029054906101000a90046001600160401b03169050919050565b6114ed33610bbf565b600c546001600160a01b03161561153d5760405162461bcd60e51b8152602060048201526014602482015273109d5b991b1953585b9859d95c881a5cc81cd95d60621b6044820152606401610e7b565b6115c6816001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa15801561157e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115a29190615442565b600454600160a01b90046001600160601b03166001600160601b0390811691161490565b6116215760405162461bcd60e51b815260206004820152602660248201527f4e4654204944206f662042756e646c654d616e6167657220646f6573206e6f74604482015265040dac2e8c6d60d31b6064820152608401610e7b565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b600480546040805163a3bcd81d60e01b815292830152600e60448301526d50726f647563745365727669636560901b6064830152600360248301526000916001600160a01b039091169063a3bcd81d906084015b602060405180830381865afa1580156116b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116d891906155e0565b905090565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d25b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044016111ec565b600081815260026020526040902060010180546060919061175a906153eb565b80601f0160208091040260200160405190810160405280929190818152602001828054611786906153eb565b80156117d35780601f106117a8576101008083540402835291602001916117d3565b820191906000526020600020905b8154815290600101906020018083116117b657829003601f168201915b50505050509050919050565b6117e833610bbf565b610bfa6117f48361216c565b82604051602001610be69190615516565b61180e33610bbf565b61125361181c84608c612b87565b836040516020016110aa91906155fd565b600480546040805163a3bcd81d60e01b815292830152600b60448301526a506f6f6c5365727669636560a81b6064830152600360248301526000916001600160a01b039091169063a3bcd81d90608401611697565b600480546040805163a3bcd81d60e01b8152928301526015604483015274436f6d706f6e656e744f776e65725365727669636560581b6064830152600360248301526000916001600160a01b039091169063a3bcd81d90608401611697565b6118ea33610bbf565b6110bf6118f6856116dd565b836040516020016110aa91906156ba565b33611910612767565b6001600160a01b0316816001600160a01b03161461194b5760405162d1953b60e31b81526001600160a01b0382166004820152602401610e7b565b816001600160a01b03163b600003611981576040516361798f2f60e11b81526001600160a01b0383166004820152602401610e7b565b610bfa82612cd4565b61199333610bbf565b6040516355ee627560e01b81526001600160c01b031983166004820152610bfa9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af41580156119f0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c1591906154b2565b604051630f37f38f60e41b81526001600160401b038216600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063f37f38f0906024016111ec565b604080518082018252600080825260208201529051630f37f38f60e41b81526001600160401b0383166004820152611ae99073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063f37f38f090602401602060405180830381865af4158015611ac5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061077c91906154b2565b806020019051810190610bb491906156ea565b611b0533610bbf565b610bfa610c1583611a14565b600480546040516330b8415f60e01b8152600160a01b9091046001600160601b03169181019190915260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611b79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b9d9190615425565b15611be25760048054604051631c5da14d60e11b8152600160a01b82046001600160601b0316928101929092526001600160a01b0316906338bb429a90602401611697565b506005546001600160a01b031690565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260026020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c08201529283526001810180549192840191611caa906153eb565b80601f0160208091040260200160405190810160405280929190818152602001828054611cd6906153eb565b8015611d235780601f10611cf857610100808354040283529160200191611d23565b820191906000526020600020905b815481529060010190602001808311611d0657829003601f168201915b5050505050815250509050919050565b600080516020615c5d833981519152805460009190600160a01b900460ff16611d5d576000611d66565b638fb3603760e01b5b91505090565b611d7533610bbf565b610bfa611d8383606e612b87565b82604051602001610be69190615722565b611d9d33610bbf565b6000611dab84846000612d35565b5090506000611dbb858584612fa0565b9050611def611dc986611a14565b82604051602001611dda9190614d0c565b60405160208183030381529060405285612be7565b5050505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b0316600081158015611e3b5750825b90506000826001600160401b03166001148015611e575750303b155b905081158015611e65575080155b15611e835760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611ead57845460ff60401b1916600160401b1785555b600554600160a01b900460ff1615611f1e5760405162461bcd60e51b815260206004820152602e60248201527f436f6e747261637420696e7374616e63652068617320616c726561647920626560448201526d195b881a5b9a5d1a585b1a5e995960921b6064820152608401610e7b565b611f2789612fdc565b600a80546001600160a01b0319166001600160a01b038b161790556040516368aebf7b60e01b815260006004820152611fe49073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015611f96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fba91906154f9565b6040518060400160405280600981526020016841646d696e526f6c6560b81b815250600080612bf2565b6040516368aebf7b60e01b81526001600160401b03600482015261208d9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af415801561203e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061206291906154f9565b6040518060400160405280600a8152602001695075626c6963526f6c6560b01b815250600080612bf2565b6120ac8888604660008a60405180602001604052806000815250612ff0565b6120bc631548939360e11b6130c5565b6005805460ff60a01b1916600160a01b179055831561211557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050505050565b61212933610bbf565b611253612135846116dd565b836040516020016110aa919061584c565b61214f33610bbf565b61125361215b846116dd565b82604051602001610be691906156ba565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc611706565b6121a233610bbf565b6040516355ee627560e01b81526001600160c01b0319841660048201526112539073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af41580156121ff573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061222391906154b2565b836040516020016110aa91906154cb565b60ff8381166000908152602081905260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015612299573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122bd9190615425565b156122c757505050565b60ff80841660009081526001602090815260408083208685168452825280832085851684529091529020541661125357604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610e7b565b61232e33610bbf565b61125361233c84606e612b87565b836040516020016110aa9190615722565b600061235833610bbf565b600061236384611a14565b905061236e816113ee565b61239657604051636777365b60e01b81526001600160401b0385166004820152602401610e7b565b6000818152600260205260409020546123c590610100900460ff166123b9606490565b60ff9081169116141590565b156123ee5760405163fe229d5d60e01b81526001600160401b0385166004820152602401610e7b565b6001600160401b03841660009081526007602052604090206124109084612c9d565b6113e457600a54604051631517388760e21b81526001600160401b03861660048201526001600160a01b03909116906325c471a09073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612481573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124a591906154f9565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038616602482015260006044820152606401600060405180830381600087803b1580156124fc57600080fd5b505af1158015612510573d6000803e3d6000fd5b5050506001600160401b03851660009081526007602052604090206125369150846130ea565b506001915050610bb4565b600061254c33610bbf565b600061255784611a14565b9050612562816113ee565b61258a57604051634cee277360e11b81526001600160401b0385166004820152602401610e7b565b6001600160401b03841660009081526007602052604090206125ac9084612c9d565b156113e457600a54604051631517388760e21b81526001600160401b03861660048201526001600160a01b039091169063b7d2b1629073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af415801561261e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061264291906154f9565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b0386166024820152604401600060405180830381600087803b15801561269257600080fd5b505af11580156126a6573d6000803e3d6000fd5b5050506001600160401b0385166000908152600760205260409020612536915084612cbf565b6126d533610bbf565b610bfa6126e1836116dd565b82604051602001610be6919061584c565b6126fb33610bbf565b611253612709846078612b87565b836040516020016110aa919061538b565b60ff81811660009081526020819052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401611438565b600080516020615c5d833981519152546001600160a01b031690565b600480546040805163a3bcd81d60e01b8152928301526013604483015272446973747269627574696f6e5365727669636560681b6064830152600360248301526000916001600160a01b039091169063a3bcd81d90608401611697565b6127e933610bbf565b610bfa828260006001612bf2565b61280033610bbf565b610bfa610c15836078612b87565b6001600160401b038216600090815260076020526040812061283090836130ff565b9392505050565b61284033610bbf565b610bfa610c1583606e612b87565b600480546040805163a3bcd81d60e01b815292830152600d60448301526c506f6c6963795365727669636560981b6064830152600360248301526000916001600160a01b039091169063a3bcd81d90608401611697565b6128ae33610bbf565b610bfa6128bc83608c612b87565b82604051602001610be691906155fd565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af415801561292d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061283091906154b2565b61295a33610bbf565b600b546001600160a01b0316156129ab5760405162461bcd60e51b8152602060048201526015602482015274125b9cdd185b98d954995859195c881a5cc81cd95d605a1b6044820152606401610e7b565b6129ec816001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa15801561157e573d6000803e3d6000fd5b612a485760405162461bcd60e51b815260206004820152602760248201527f4e4654204944206f6620496e7374616e636552656164657220646f6573206e6f6044820152660e840dac2e8c6d60cb1b6064820152608401610e7b565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b612a7333610bbf565b610bfa610c158361216c565b6000610bb4825490565b600080516020615c5d833981519152600080612ac4612aa6612767565b8730612ab6600460008a8c61598d565b612abf916159b7565b61310b565b915091508161107c5763ffffffff811615612b6457825460ff60a01b1916600160a01b178355612af2612767565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612b21939291906159e7565b600060405180830381600087803b158015612b3b57600080fd5b505af1158015612b4f573d6000803e3d6000fd5b5050845460ff60a01b191685555061107c9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610e7b565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c890604401612910565b610bfa8282613217565b610bfa8282613639565b61125383838361396d565b8015612c0657612c03848484612d35565b50505b6000612c13858585612fa0565b80516000908152600660205260408120805467ffffffffffffffff19166001600160401b0389811691821790925560088054600181018255938190527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee36004850401805460039095169091026101000a9283021990931691021790559050611def6110da86611a14565b6001600160a01b03811660009081526001830160205260408120541515612830565b6000612830836001600160a01b038416613e08565b600080516020615c5d83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6000806000612d4386611a14565b9050612d4e816113ee565b92508215612d7d57612d5f8161173a565b806020019051810190612d7291906156ea565b602001519150612d81565b8391505b856001600160401b0381161580612da057506001600160401b03818116145b15612dc95760405163981bf42160e01b81526001600160401b0388166004820152602401610e7b565b828015612de057506127106001600160401b038216105b15612e0957604051633119b9df60e21b81526001600160401b0388166004820152602401610e7b565b828015612e2157506127106001600160401b03821610155b15612e4a5760405163094fb39160e01b81526001600160401b0388166004820152602401610e7b565b6000612e5587613f02565b9050612e6081613f40565b600003612e8b576040516321ab17ab60e01b81526001600160401b0389166004820152602401610e7b565b60008181526006602090815260409182902054825163bc1b392d60e01b81529251612f2e936001600160401b039092169273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9263bc1b392d92600480830193928290030181865af4158015612ef8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f1c91906154f9565b6001600160401b039081169116141590565b8015612f5457506000818152600660205260409020546001600160401b03898116911614155b15612f955760008181526006602052604090819020549051631660fb9360e21b81526001600160401b03909116600482015260248101829052604401610e7b565b505050935093915050565b60408051808201909152600080825260208201526040518060400160405280612fc885613f02565b815260200183151581525090509392505050565b612fe4613f68565b612fed81613fb3565b50565b6130316301ffc9a760e01b60005260036020527f28b0ef64f7e82d3b26f3fd404bd0151552f792965f39c29ae82c0a78df67af9c805460ff19166001179055565b61303b8287613fc4565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016130ab8382615a6d565b506130bc6303fb044760e21b6130c5565b50505050505050565b6001600160e01b0319166000908152600360205260409020805460ff19166001179055565b6000612830836001600160a01b03841661403e565b6000612830838361408d565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161317a9190615b2c565b600060405180830381855afa9150503d80600081146131b5576040519150601f19603f3d011682016040523d82523d6000602084013e6131ba565b606091505b5091509150811561320c5760408151106131ec57808060200190518101906131e29190615b48565b909450925061320c565b602081511061320c57808060200190518101906132099190615425565b93505b505094509492505050565b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af415801561326a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061328e9190615b77565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af41580156132e3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133079190615425565b6133535760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401610e7b565b600083815260026020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af41580156133bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133e09190615425565b61342c5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401610e7b565b334360006134398561271a565b61344457606461345a565b60ff808616600090815260208190526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b9190910217855560008881526002602052604090209091506001016134e48782615a6d565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613557573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061357b9190615b77565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156135cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135ef9190615b94565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a0015b60405180910390a150505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af415801561368b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136af9190615425565b6136fb5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3034303a53544154455f554e444546494e45440000006044820152606401610e7b565b600082815260026020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015613767573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061378b9190615425565b6137d75760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3034313a4e4f545f4558495354494e470000000000006044820152606401610e7b565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b9091041661381b4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156138ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138d19190615b77565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015613921573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139459190615b94565b878686328760405161395d9796959493929190615bb1565b60405180910390a1505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156139bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139e39190615425565b613a2f5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3032303a53544154455f554e444546494e45440000006044820152606401610e7b565b600083815260026020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015613a9b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613abf9190615425565b613b0b5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3032313a4e4f545f4558495354494e470000000000006044820152606401610e7b565b6000858152600260205260409020600101613b268582615a6d565b508154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b90910416613b6b4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613bfd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613c219190615b77565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015613c71573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613c959190615b94565b8786863287604051613cad9796959493929190615bb1565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613d27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613d4b9190615b77565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015613d9b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613dbf9190615b94565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c001613628565b60008181526001830160205260408120548015613ef1576000613e2c600183615c01565b8554909150600090613e4090600190615c01565b9050808214613ea5576000866000018281548110613e6057613e606155ca565b9060005260206000200154905080876000018481548110613e8357613e836155ca565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080613eb657613eb6615c22565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610bb4565b6000915050610bb4565b5092915050565b600080829050601f81511115613f2d578260405163305a27a960e01b8152600401610e7b9190614b04565b8051613f3882615c38565b179392505050565b600060ff8216601f811115610bb457604051632cd44ac360e21b815260040160405180910390fd5b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16613fb157604051631afcd79f60e31b815260040160405180910390fd5b565b613fbb613f68565b612fed81612cd4565b6001600160a01b03821661401a5760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e6572206973203000006044820152606401610e7b565b600580546001600160a01b0319166001600160a01b038416179055610bfa816140b7565b600081815260018301602052604081205461408557508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610bb4565b506000610bb4565b60008260000182815481106140a4576140a46155ca565b9060005260206000200154905092915050565b6004546001600160a01b0316156140f3576004805460405163fcdbf2d960e01b81526001600160a01b0390911691810191909152602401610e7b565b6001600160a01b03811661411a5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036141505760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610e7b565b600480546001600160a01b0319166001600160a01b03831690811782556040516301ffc9a760e01b8152632eaf856d60e11b92810192909252906301ffc9a790602401602060405180830381865afa9250505080156141cc575060408051601f3d908101601f191682019092526141c991810190615425565b60015b6141f45760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610e7b565b80610bfa5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610e7b565b60006020828403121561422f57600080fd5b81356001600160e01b03198116811461283057600080fd5b6001600160401b0381168114612fed57600080fd5b60006020828403121561426e57600080fd5b813561283081614247565b60006020828403121561428b57600080fd5b5035919050565b6001600160601b0381168114612fed57600080fd5b80356142b281614292565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b03811182821017156142ef576142ef6142b7565b60405290565b604051608081016001600160401b03811182821017156142ef576142ef6142b7565b60405161012081016001600160401b03811182821017156142ef576142ef6142b7565b60405161018081016001600160401b03811182821017156142ef576142ef6142b7565b60405161020081016001600160401b03811182821017156142ef576142ef6142b7565b6001600160a01b0381168114612fed57600080fd5b80356142b281614380565b6000604082840312156143b257600080fd5b6143ba6142cd565b9050813581526020820135602082015292915050565b8015158114612fed57600080fd5b80356142b2816143d0565b600060c082840312156143fb57600080fd5b60405160a081018181106001600160401b038211171561441d5761441d6142b7565b604052905080823561442e81614292565b8152602083013561443e81614380565b602082015261445084604085016143a0565b60408201526080830135614463816143d0565b606082015260a083013561447681614380565b6080919091015292915050565b60008060e0838503121561449657600080fd5b82356144a181614292565b91506144b084602085016143e9565b90509250929050565b60ff81168114612fed57600080fd5b6000602082840312156144da57600080fd5b8135612830816144b9565b600080604083850312156144f857600080fd5b823561450381614292565b91506020830135614513816144b9565b809150509250929050565b60005b83811015614539578181015183820152602001614521565b50506000910152565b6000815180845261455a81602086016020860161451e565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff604085015116608083015260608401516145b260a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e06101008401526145f8610120840182614542565b9050828103602084015261460c8185614542565b95945050505050565b6000806040838503121561462857600080fd5b823561463381614380565b91506020830135614513816143d0565b63ffffffff81168114612fed57600080fd5b600082601f83011261466657600080fd5b81356001600160401b0380821115614680576146806142b7565b604051601f8301601f19908116603f011681019082821181831017156146a8576146a86142b7565b816040528381528660208588010111156146c157600080fd5b836020870160208301376000602085830101528094505050505092915050565b803564ffffffffff811681146142b257600080fd5b60006080828403121561470857600080fd5b6147106142f5565b9050813561471d81614643565b81526020828101359082015260408201356001600160401b0381111561474257600080fd5b61474e84828501614655565b604083015250614760606083016146e1565b606082015292915050565b6000806000806080858703121561478157600080fd5b843561478c81614292565b9350602085013561479c81614643565b925060408501356001600160401b038111156147b757600080fd5b6147c3878288016146f6565b92505060608501356147d4816144b9565b939692955090935050565b60008082840360608112156147f357600080fd5b83356147fe81614380565b92506040601f198201121561481257600080fd5b5061481b6142cd565b602084013581526040840135614830816143d0565b6020820152919491935090915050565b6000806040838503121561485357600080fd5b823561485e81614247565b915060208301356001600160401b0381111561487957600080fd5b61488585828601614655565b9150509250929050565b6001600160c01b031981168114612fed57600080fd5b80356142b28161488f565b6000604082840312156148c257600080fd5b6148ca6142cd565b905081356148d781614292565b815260208201356001600160401b038111156148f257600080fd5b6148fe84828501614655565b60208301525092915050565b6000806040838503121561491d57600080fd5b82356149288161488f565b915060208301356001600160401b0381111561494357600080fd5b614885858286016148b0565b60006020828403121561496157600080fd5b813561283081614380565b60008060006060848603121561498157600080fd5b833561498c81614292565b9250602084013561499c81614643565b915060408401356001600160401b038111156149b757600080fd5b6149c3868287016146f6565b9150509250925092565b600061014082840312156149e057600080fd5b6149e8614317565b90506149f3826142a7565b8152614a0283602084016143a0565b602082015260608201356001600160401b03811115614a2057600080fd5b614a2c84828501614655565b6040830152506080820135606082015260a0820135608082015260c082013560a082015260e082013560c0820152610100614a688184016146e1565b60e0830152614a7a61012084016146e1565b9082015292915050565b600080600060608486031215614a9957600080fd5b8335614aa481614292565b925060208401356001600160401b03811115614abf57600080fd5b614acb868287016149cd565b9250506040840135614adc816144b9565b809150509250925092565b600060208284031215614af957600080fd5b813561283081614292565b6020815260006128306020830184614542565b60008060408385031215614b2a57600080fd5b8235614b3581614292565b915060208301356001600160401b03811115614b5057600080fd5b614885858286016149cd565b60006101808284031215614b6f57600080fd5b614b77614317565b9050614b82826142a7565b8152614b9060208301614395565b602082015260408201356040820152614bac83606084016143a0565b6060820152614bbe8360a084016143a0565b6080820152614bd08360e084016143a0565b60a0820152614be261012083016143de565b60c0820152614bf461014083016143de565b60e0820152614c066101608301614395565b61010082015292915050565b60008060006101c08486031215614c2857600080fd5b8335614c3381614292565b9250614c428560208601614b5c565b91506101a0840135614adc816144b9565b600060808284031215614c6557600080fd5b614c6d6142f5565b9050813581526020820135602082015260408201356001600160401b0381111561474257600080fd5b60008060008060808587031215614cac57600080fd5b8435614cb781614292565b93506020850135614cc781614643565b925060408501356001600160401b03811115614ce257600080fd5b6147c387828801614c53565b60008060408385031215614d0157600080fd5b82356145038161488f565b8151815260208083015115159082015260408101610bb4565b60008060408385031215614d3857600080fd5b823561450381614247565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b60208152614d9f602082018351614d43565b6000602083015160c080840152614db960e0840182614542565b949350505050565b60006102408284031215614dd457600080fd5b614ddc61433a565b9050614de782614395565b8152614df560208301614395565b6020820152614e06604083016142a7565b6040820152614e17606083016142a7565b6060820152614e2983608084016143a0565b6080820152614e3b8360c084016143a0565b60a0820152610100614e4f848285016143a0565b60c0830152610140614e63858286016143a0565b60e0840152614e768561018086016143a0565b82840152614e88856101c086016143a0565b610120840152614e9b61020085016143de565b9083015250614ead6102208301614395565b61016082015292915050565b6000806102608385031215614ecd57600080fd5b8235614ed881614292565b91506144b08460208501614dc1565b600080600060608486031215614efc57600080fd5b8335614f0781614247565b925060208401356001600160401b03811115614f2257600080fd5b614acb86828701614655565b60008060008060808587031215614f4457600080fd5b8435614f4f81614380565b93506020850135614f5f81614380565b92506040850135614f6f81614292565b915060608501356147d481614380565b803561ffff811681146142b257600080fd5b60006102008284031215614fa457600080fd5b614fac61435d565b9050614fb7826142a7565b8152614fc5602083016142a7565b6020820152614fd6604083016148a5565b6040820152614fe7606083016148a5565b60608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e0820152610100808301356001600160401b038082111561503057600080fd5b61503c86838701614655565b8385015261012092508285013591508082111561505857600080fd5b5061506585828601614655565b828401525050610140615079818401614f7f565b9082015261016061508b838201614f7f565b9082015261018082810135908201526101a06150a88184016146e1565b908201526101c06150ba8382016146e1565b908201526101e0614a7a8382016146e1565b6000806000606084860312156150e157600080fd5b83356150ec81614292565b925060208401356001600160401b0381111561510757600080fd5b614acb86828701614f91565b60008060006060848603121561512857600080fd5b833561513381614292565b9250602084013561514381614643565b915060408401356001600160401b0381111561515e57600080fd5b6149c386828701614c53565b60a08101610bb48284614d43565b60008060006060848603121561518d57600080fd5b83356151988161488f565b925060208401356001600160401b038111156151b357600080fd5b614acb868287016148b0565b6000806000606084860312156151d457600080fd5b83356151df816144b9565b925060208401356151ef816144b9565b91506040840135614adc816144b9565b6000806000610280848603121561521557600080fd5b833561522081614292565b925061522f8560208601614dc1565b9150610260840135614adc816144b9565b6000806040838503121561525357600080fd5b823561525e81614247565b9150602083013561451381614380565b6000806040838503121561528157600080fd5b823561528c81614292565b915060208301356001600160401b038111156152a757600080fd5b61488585828601614f91565b600080600061010084860312156152c957600080fd5b83356152d481614292565b92506152e385602086016143e9565b915060e0840135614adc816144b9565b6000806040838503121561530657600080fd5b823561531181614247565b946020939093013593505050565b6000806101a0838503121561533357600080fd5b823561533e81614292565b91506144b08460208501614b5c565b60ff1981168114612fed57600080fd5b6000806040838503121561537057600080fd5b823561537b816144b9565b915060208301356145138161534d565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015260c0830191906060850151151560808501528060808601511660a0850152505092915050565b600181811c908216806153ff57607f821691505b60208210810361541f57634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561543757600080fd5b8151612830816143d0565b60006020828403121561545457600080fd5b815161283081614292565b6020815263ffffffff825116602082015260208201516040820152600060408301516080606084015261549560a0840182614542565b905064ffffffffff60608501511660808401528091505092915050565b6000602082840312156154c457600080fd5b5051919050565b602081526001600160601b03825116602082015260006020830151604080840152614db96060840182614542565b60006020828403121561550b57600080fd5b815161283081614247565b602081526155306020820183516001600160601b03169052565b6000602083015161554e604084018280518252602090810151910152565b50604083015161014080608085015261556b610160850183614542565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100818187015260e087015191506155b361012087018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156155f257600080fd5b815161283081614380565b81516001600160601b0316815260208083015161018083019161562a908401826001600160a01b03169052565b50604083015160408301526060830151615651606084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c08301518015156101208401525060e0830151801515610140840152506101008301516001600160a01b038116610160840152613efb565b602081528151602082015260208201516040820152600060408301516080606084015261549560a0840182614542565b6000604082840312156156fc57600080fd5b6157046142cd565b825181526020830151615716816143d0565b60208201529392505050565b81516001600160a01b031681526102408101602083015161574e60208401826001600160a01b03169052565b50604083015161576960408401826001600160601b03169052565b50606083015161578460608401826001600160601b03169052565b5060808301516157a1608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301516101006157d78185018380518252602090810151910152565b60e085015191506101406157f78186018480518252602090810151910152565b9085015180516101808601526020908101516101a086015261012086015180516101c087015201516101e08501528401511515610200840152506101608301516001600160a01b038116610220840152613efb565b602081526158666020820183516001600160601b03169052565b6000602083015161588260408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e083015161010081818501528085015191505061020061012081818601526158fa610220860184614542565b9250808601519050610140601f19868503018187015261591a8483614542565b9350808701519150506101606159358187018361ffff169052565b860151905061018061594c8682018361ffff169052565b8601516101a08681019190915286015190506101c06159738187018364ffffffffff169052565b86015190506101e06155b38682018364ffffffffff169052565b6000808585111561599d57600080fd5b838611156159aa57600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156159df5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b601f82111561125357600081815260208120601f850160051c81016020861015615a4e5750805b601f850160051c820191505b8181101561107c57828155600101615a5a565b81516001600160401b03811115615a8657615a866142b7565b615a9a81615a9484546153eb565b84615a27565b602080601f831160018114615acf5760008415615ab75750858301515b600019600386901b1c1916600185901b17855561107c565b600085815260208120601f198616915b82811015615afe57888601518255948401946001909101908401615adf565b5085821015615b1c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008251615b3e81846020870161451e565b9190910192915050565b60008060408385031215615b5b57600080fd5b8251615b66816143d0565b602084015190925061451381614643565b600060208284031215615b8957600080fd5b8151612830816144b9565b600060208284031215615ba657600080fd5b81516128308161534d565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e00190565b81810381811115610bb457634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b8051602080830151919081101561541f5760001960209190910360031b1b1691905056fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212208dd4556a76ec653a6235791d937c35662217f3cbc2fe286ec333cb8a8a455bcd64736f6c63430008140033",
875
+ "bytecode": "0x608060405234801561001057600080fd5b50612900806100206000396000f3fe608060405234801561001057600080fd5b50600436106102485760003560e01c80637a9e5e4b1161013b578063ca600b1c116100b8578063e5f6cd271161007c578063e5f6cd2714610530578063e7f7fb8614610541578063f7bc431c14610554578063f7c34ee014610567578063fed3d63f1461057a57600080fd5b8063ca600b1c146104c2578063cde749f4146104ca578063d2192dbf146104e4578063d4cda0d814610517578063e1033e7d1461052857600080fd5b8063b428b0b0116100ff578063b428b0b01461046e578063b7d2b16214610481578063bb1e0e5914610494578063bf7e214f146104a7578063c0c53b8b146104af57600080fd5b80637a9e5e4b1461040a578063868923131461041d578063893d20e8146104305780638fb3603714610438578063ada9652e1461045957600080fd5b806329db8c3d116101c95780635fa8aad41161018d5780635fa8aad4146103a357806361f5f420146103b6578063644c45e0146103c7578063675393bf146103ef5780636b9bf08b1461040257600080fd5b806329db8c3d1461035c57806336fc697e1461036f578063422c9d00146103775780634288121d1461038a5780635ab1bd531461039257600080fd5b80631eff4b22116102105780631eff4b22146102e6578063214cdb801461031b5780632449aea81461032e5780632781d4431461034157806327bb7a331461034957600080fd5b806301ffc9a71461024d57806302cd30711461028f5780630f749a89146102b45780630fec111c146102c9578063138461e0146102de575b600080fd5b61027a61025b366004611f1e565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6003546001600160a01b03165b6040516001600160a01b039091168152602001610286565b6102c76102c2366004611f55565b610582565b005b6102d161069d565b6040516102869190611fc2565b6102c7610861565b61030d7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610286565b6102c7610329366004611f1e565b610a63565b6102c761033c366004611f55565b610a90565b61030d600381565b6102c761035736600461210a565b610ba2565b6102c761036a3660046121f6565b610c47565b6102c7610cb4565b6102c7610385366004611f55565b610cfa565b61029c610ea4565b6001546001600160a01b031661029c565b6102c76103b13660046122a0565b610f37565b6004546001600160a01b031661029c565b60008051602061288b833981519152546040516001600160601b039091168152602001610286565b6102c76103fd366004611f55565b610fa8565b61029c6110b6565b6102c7610418366004611f55565b6110df565b6102c761042b3660046122ef565b611162565b61029c6111a5565b6104406112dc565b6040516001600160e01b03199091168152602001610286565b61030d60008051602061288b83398151915281565b6102c761047c366004612328565b611314565b6102c761048f366004612328565b611397565b6102c76104a2366004612356565b6113d2565b61029c611575565b6102c76104bd366004612382565b611591565b61029c61175d565b6104d2611786565b60405160ff9091168152602001610286565b6104f76104f23660046123cd565b6117fd565b604080516001600160401b03938416815292909116602083015201610286565b6005546001600160a01b031661029c565b61029c611888565b6002546001600160a01b031661029c565b6102c761054f366004612426565b6118b1565b6102c7610562366004611f55565b611a51565b6102c7610575366004612467565b611b11565b61029c611b88565b61058f335b600036611bb1565b6002546001600160a01b0316156105cd5760025460405163e02ca03360e01b81526001600160a01b0390911660048201526024015b60405180910390fd5b6105d5611575565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561061c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106409190612485565b6001600160a01b03161461067b57610656611575565b6040516374150f9560e11b81526001600160a01b0390911660048201526024016105c4565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610751573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061077591906124a2565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016107bd6111a5565b6001600160a01b031681526020018260010180546107da906124bf565b80601f0160208091040260200160405190810160405280929190818152602001828054610806906124bf565b80156108535780601f1061082857610100808354040283529160200191610853565b820191906000526020600020905b81548152906001019060200180831161083657829003601f168201915b505050505081525091505090565b600060008051602061288b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156108d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108f491906124f9565b156109205780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016105c4565b306109336001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561097b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061099f91906124f9565b6109c75760405163b9304b0d60e01b81526001600160a01b03821660048201526024016105c4565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610a1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a3f91906124a2565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b610a6b611caf565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610a9933610587565b6005546001600160a01b031615610ad257600554604051632e67e2ab60e21b81526001600160a01b0390911660048201526024016105c4565b610ada611575565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b21573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b459190612485565b6001600160a01b031614610b8057610b5b611575565b6040516348263eef60e01b81526001600160a01b0390911660048201526024016105c4565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b610baa611caf565b610bb48287611b11565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301610c3d838261255c565b5050505050505050565b610c5033610587565b6002546040516329db8c3d60e01b81526001600160a01b03909116906329db8c3d90610c8690879087908790879060040161261b565b600060405180830381600087803b158015610ca057600080fd5b505af1158015610c3d573d6000803e3d6000fd5b610cbc611caf565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b610d0333610587565b6004546001600160a01b031615610d3f576004805460405163384c2dbd60e11b81526001600160a01b03909116918101919091526024016105c4565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dab9190612485565b6001600160a01b031614610dd45760405163decb98c560e01b81523060048201526024016105c4565b610ddc611575565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e479190612485565b6001600160a01b031614610e8257610e5d611575565b604051630312205960e41b81526001600160a01b0390911660048201526024016105c4565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6000610eb86001546001600160a01b031690565b6001600160a01b031663d39e6043606e5b6040516001600160e01b031960e084901b16815260ff909116600482015260036024820152604401602060405180830381865afa158015610f0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f329190612485565b905090565b610f4033610587565b6002546040516317ea2ab560e21b81526001600160a01b0390911690635fa8aad490610f729085908590600401612690565b600060405180830381600087803b158015610f8c57600080fd5b505af1158015610fa0573d6000803e3d6000fd5b505050505050565b610fb0611caf565b806001600160a01b03163b600003610fe65760405163fdeac91f60e01b81526001600160a01b03821660048201526024016105c4565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152634ecea1f160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015611060575060408051601f3d908101601f1916820190925261105d918101906124f9565b60015b6110885760405163fdeac91f60e01b81526001600160a01b03821660048201526024016105c4565b806110b15760405163fdeac91f60e01b81526001600160a01b03831660048201526024016105c4565b505b50565b60006110ca6001546001600160a01b031690565b6001600160a01b031663d39e6043608c610ec9565b336110e8611575565b6001600160a01b0316816001600160a01b0316146111235760405162d1953b60e31b81526001600160a01b03821660048201526024016105c4565b816001600160a01b03163b600003611159576040516361798f2f60e11b81526001600160a01b03831660048201526024016105c4565b6110b182611cfa565b61116b33610587565b6002546040516308b6d1c760e21b81526001600160a01b0384811660048301528315156024830152909116906322db471c90604401610f72565b60008060008051602061288b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611215573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061123991906124f9565b156112c6576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561129c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112c09190612485565b91505090565b54600160601b90046001600160a01b0316919050565b6000805160206128ab833981519152805460009190600160a01b900460ff166113065760006112c0565b638fb3603760e01b91505090565b61131d33610587565b600254604051630b428b0b60e41b81526001600160a01b039091169063b428b0b09061134f90859085906004016126b4565b6020604051808303816000875af115801561136e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061139291906124f9565b505050565b6113a033610587565b600254604051635be958b160e11b81526001600160a01b039091169063b7d2b1629061134f90859085906004016126b4565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa15801561141b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061143f9190612485565b6001600160a01b0316336001600160a01b03161461145c57600080fd5b6002546001600160a01b03166303014974611475611d5b565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865afa1580156114b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114dd91906126d6565b156114ea576114ea6126ef565b6002546001600160a01b031663b428b0b0611503611d5b565b846040518363ffffffff1660e01b81526004016115219291906126b4565b6020604051808303816000875af1158015611540573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061156491906124f9565b15156001146110b1576110b16126ef565b6000805160206128ab833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03166000811580156115d65750825b90506000826001600160401b031660011480156115f25750303b155b905081158015611600575080155b1561161e5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561164857845460ff60401b1916600160401b1785555b6001600160a01b03881661166f5760405163da1db49160e01b815260040160405180910390fd5b61167888611dd3565b60008790506116fd88826001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116e391906124a2565b604660018b60405180602001604052806000815250610ba2565b61170d63425ec80560e01b610a63565b508315610c3d57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15050505050505050565b60006117716001546001600160a01b031690565b6001600160a01b031663d39e60436078610ec9565b604051632392b61b60e21b81526003600482015260009073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156117d9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f329190612705565b60008061180933610587565b60025460405163d2192dbf60e01b81526001600160a01b039091169063d2192dbf9061183b9087908790600401612722565b60408051808303816000875af1158015611859573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061187d9190612750565b909590945092505050565b600061189c6001546001600160a01b031690565b6001600160a01b031663d39e604360d3610ec9565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061191e9190612485565b6001600160a01b0316336001600160a01b03161461193b57600080fd5b6002546001600160a01b031663b7d2b162611954611d5b565b856040518363ffffffff1660e01b81526004016119729291906126b4565b6020604051808303816000875af1158015611991573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119b591906124f9565b15156001146119c6576119c66126ef565b6002546001600160a01b031663b428b0b06119df611d5b565b846040518363ffffffff1660e01b81526004016119fd9291906126b4565b6020604051808303816000875af1158015611a1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a4091906124f9565b1515600114611392576113926126ef565b611a5a33610587565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611aa2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ac69190612485565b6001600160a01b031614611aef576040516345789cf560e01b81523060048201526024016105c4565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b611b19611caf565b611b2281610fa8565b611b2a610cb4565b6001600160a01b038216611b515760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061288b83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6000611b9c6001546001600160a01b031690565b6001600160a01b031663d39e604360dc610ec9565b6000805160206128ab833981519152600080611bec611bce611575565b8730611bde600460008a8c61277f565b611be7916127a9565b611de4565b9150915081610fa05763ffffffff811615611c8c57825460ff60a01b1916600160a01b178355611c1a611575565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611c49939291906127d9565b600060405180830381600087803b158015611c6357600080fd5b505af1158015611c77573d6000803e3d6000fd5b5050845460ff60a01b1916855550610fa09050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016105c4565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16611cf857604051631afcd79f60e31b815260040160405180910390fd5b565b6000805160206128ab83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516368aebf7b60e01b815261076c600482015260009073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af4158015611daf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f329190612819565b611ddb611caf565b6110b381611ef0565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611e539190612836565b600060405180830381855afa9150503d8060008114611e8e576040519150601f19603f3d011682016040523d82523d6000602084013e611e93565b606091505b50915091508115611ee5576040815110611ec55780806020019051810190611ebb9190612852565b9094509250611ee5565b6020815110611ee55780806020019051810190611ee291906124f9565b93505b505094509492505050565b611ef8611caf565b6110b381611cfa565b80356001600160e01b031981168114611f1957600080fd5b919050565b600060208284031215611f3057600080fd5b611f3982611f01565b9392505050565b6001600160a01b03811681146110b357600080fd5b600060208284031215611f6757600080fd5b8135611f3981611f40565b60005b83811015611f8d578181015183820152602001611f75565b50506000910152565b60008151808452611fae816020860160208601611f72565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161202b60c08401826001600160a01b03169052565b5060c083015160e080840152612045610100840182611f96565b949350505050565b6001600160601b03811681146110b357600080fd5b60ff811681146110b357600080fd5b80151581146110b357600080fd5b634e487b7160e01b600052604160045260246000fd5b60006001600160401b03808411156120af576120af61207f565b604051601f8501601f19908116603f011681019082821181831017156120d7576120d761207f565b816040528093508581528686860111156120f057600080fd5b858560208301376000602087830101525050509392505050565b60008060008060008060c0878903121561212357600080fd5b863561212e81611f40565b9550602087013561213e8161204d565b9450604087013561214e81612062565b9350606087013561215e81612071565b9250608087013561216e81611f40565b915060a08701356001600160401b0381111561218957600080fd5b8701601f8101891361219a57600080fd5b6121a989823560208401612095565b9150509295509295509295565b600082601f8301126121c757600080fd5b611f3983833560208501612095565b6001600160401b03811681146110b357600080fd5b8035611f19816121d6565b6000806000806060858703121561220c57600080fd5b84356001600160401b038082111561222357600080fd5b61222f888389016121b6565b9550602087013591508082111561224557600080fd5b818701915087601f83011261225957600080fd5b81358181111561226857600080fd5b8860208260051b850101111561227d57600080fd5b602083019550809450505050612295604086016121eb565b905092959194509250565b600080604083850312156122b357600080fd5b82356122be81611f40565b915060208301356001600160401b038111156122d957600080fd5b6122e5858286016121b6565b9150509250929050565b6000806040838503121561230257600080fd5b823561230d81611f40565b9150602083013561231d81612071565b809150509250929050565b6000806040838503121561233b57600080fd5b8235612346816121d6565b9150602083013561231d81611f40565b6000806040838503121561236957600080fd5b823561237481611f40565b946020939093013593505050565b60008060006060848603121561239757600080fd5b83356123a281611f40565b925060208401356123b281611f40565b915060408401356123c281611f40565b809150509250925092565b600080604083850312156123e057600080fd5b82356001600160401b03808211156123f757600080fd5b612403868387016121b6565b9350602085013591508082111561241957600080fd5b506122e5858286016121b6565b60008060006060848603121561243b57600080fd5b833561244681611f40565b9250602084013561245681611f40565b929592945050506040919091013590565b6000806040838503121561247a57600080fd5b823561234681611f40565b60006020828403121561249757600080fd5b8151611f3981611f40565b6000602082840312156124b457600080fd5b8151611f398161204d565b600181811c908216806124d357607f821691505b6020821081036124f357634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561250b57600080fd5b8151611f3981612071565b601f82111561139257600081815260208120601f850160051c8101602086101561253d5750805b601f850160051c820191505b81811015610fa057828155600101612549565b81516001600160401b038111156125755761257561207f565b6125898161258384546124bf565b84612516565b602080601f8311600181146125be57600084156125a65750858301515b600019600386901b1c1916600185901b178555610fa0565b600085815260208120601f198616915b828110156125ed578886015182559484019460019091019084016125ce565b508582101561260b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60608152600061262e6060830187611f96565b8281036020848101919091528582528691810160005b87811015612671576001600160e01b031961265e85611f01565b1682529282019290820190600101612644565b508093505050506001600160401b038316604083015295945050505050565b6001600160a01b038316815260406020820181905260009061204590830184611f96565b6001600160401b039290921682526001600160a01b0316602082015260400190565b6000602082840312156126e857600080fd5b5051919050565b634e487b7160e01b600052600160045260246000fd5b60006020828403121561271757600080fd5b8151611f3981612062565b6040815260006127356040830185611f96565b82810360208401526127478185611f96565b95945050505050565b6000806040838503121561276357600080fd5b825161276e816121d6565b602084015190925061231d816121d6565b6000808585111561278f57600080fd5b8386111561279c57600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156127d15780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b60006020828403121561282b57600080fd5b8151611f39816121d6565b60008251612848818460208701611f72565b9190910192915050565b6000806040838503121561286557600080fd5b825161287081612071565b602084015190925063ffffffff8116811461231d57600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a264697066735822122047ccc7cd229048d963e6c38cc86b71c2eb54390186640cde08575b589e559e7464736f6c63430008140033",
876
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106102485760003560e01c80637a9e5e4b1161013b578063ca600b1c116100b8578063e5f6cd271161007c578063e5f6cd2714610530578063e7f7fb8614610541578063f7bc431c14610554578063f7c34ee014610567578063fed3d63f1461057a57600080fd5b8063ca600b1c146104c2578063cde749f4146104ca578063d2192dbf146104e4578063d4cda0d814610517578063e1033e7d1461052857600080fd5b8063b428b0b0116100ff578063b428b0b01461046e578063b7d2b16214610481578063bb1e0e5914610494578063bf7e214f146104a7578063c0c53b8b146104af57600080fd5b80637a9e5e4b1461040a578063868923131461041d578063893d20e8146104305780638fb3603714610438578063ada9652e1461045957600080fd5b806329db8c3d116101c95780635fa8aad41161018d5780635fa8aad4146103a357806361f5f420146103b6578063644c45e0146103c7578063675393bf146103ef5780636b9bf08b1461040257600080fd5b806329db8c3d1461035c57806336fc697e1461036f578063422c9d00146103775780634288121d1461038a5780635ab1bd531461039257600080fd5b80631eff4b22116102105780631eff4b22146102e6578063214cdb801461031b5780632449aea81461032e5780632781d4431461034157806327bb7a331461034957600080fd5b806301ffc9a71461024d57806302cd30711461028f5780630f749a89146102b45780630fec111c146102c9578063138461e0146102de575b600080fd5b61027a61025b366004611f1e565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6003546001600160a01b03165b6040516001600160a01b039091168152602001610286565b6102c76102c2366004611f55565b610582565b005b6102d161069d565b6040516102869190611fc2565b6102c7610861565b61030d7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610286565b6102c7610329366004611f1e565b610a63565b6102c761033c366004611f55565b610a90565b61030d600381565b6102c761035736600461210a565b610ba2565b6102c761036a3660046121f6565b610c47565b6102c7610cb4565b6102c7610385366004611f55565b610cfa565b61029c610ea4565b6001546001600160a01b031661029c565b6102c76103b13660046122a0565b610f37565b6004546001600160a01b031661029c565b60008051602061288b833981519152546040516001600160601b039091168152602001610286565b6102c76103fd366004611f55565b610fa8565b61029c6110b6565b6102c7610418366004611f55565b6110df565b6102c761042b3660046122ef565b611162565b61029c6111a5565b6104406112dc565b6040516001600160e01b03199091168152602001610286565b61030d60008051602061288b83398151915281565b6102c761047c366004612328565b611314565b6102c761048f366004612328565b611397565b6102c76104a2366004612356565b6113d2565b61029c611575565b6102c76104bd366004612382565b611591565b61029c61175d565b6104d2611786565b60405160ff9091168152602001610286565b6104f76104f23660046123cd565b6117fd565b604080516001600160401b03938416815292909116602083015201610286565b6005546001600160a01b031661029c565b61029c611888565b6002546001600160a01b031661029c565b6102c761054f366004612426565b6118b1565b6102c7610562366004611f55565b611a51565b6102c7610575366004612467565b611b11565b61029c611b88565b61058f335b600036611bb1565b6002546001600160a01b0316156105cd5760025460405163e02ca03360e01b81526001600160a01b0390911660048201526024015b60405180910390fd5b6105d5611575565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561061c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106409190612485565b6001600160a01b03161461067b57610656611575565b6040516374150f9560e11b81526001600160a01b0390911660048201526024016105c4565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610751573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061077591906124a2565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016107bd6111a5565b6001600160a01b031681526020018260010180546107da906124bf565b80601f0160208091040260200160405190810160405280929190818152602001828054610806906124bf565b80156108535780601f1061082857610100808354040283529160200191610853565b820191906000526020600020905b81548152906001019060200180831161083657829003601f168201915b505050505081525091505090565b600060008051602061288b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156108d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108f491906124f9565b156109205780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016105c4565b306109336001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561097b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061099f91906124f9565b6109c75760405163b9304b0d60e01b81526001600160a01b03821660048201526024016105c4565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610a1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a3f91906124a2565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b610a6b611caf565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610a9933610587565b6005546001600160a01b031615610ad257600554604051632e67e2ab60e21b81526001600160a01b0390911660048201526024016105c4565b610ada611575565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b21573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b459190612485565b6001600160a01b031614610b8057610b5b611575565b6040516348263eef60e01b81526001600160a01b0390911660048201526024016105c4565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b610baa611caf565b610bb48287611b11565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301610c3d838261255c565b5050505050505050565b610c5033610587565b6002546040516329db8c3d60e01b81526001600160a01b03909116906329db8c3d90610c8690879087908790879060040161261b565b600060405180830381600087803b158015610ca057600080fd5b505af1158015610c3d573d6000803e3d6000fd5b610cbc611caf565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b610d0333610587565b6004546001600160a01b031615610d3f576004805460405163384c2dbd60e11b81526001600160a01b03909116918101919091526024016105c4565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dab9190612485565b6001600160a01b031614610dd45760405163decb98c560e01b81523060048201526024016105c4565b610ddc611575565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e479190612485565b6001600160a01b031614610e8257610e5d611575565b604051630312205960e41b81526001600160a01b0390911660048201526024016105c4565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6000610eb86001546001600160a01b031690565b6001600160a01b031663d39e6043606e5b6040516001600160e01b031960e084901b16815260ff909116600482015260036024820152604401602060405180830381865afa158015610f0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f329190612485565b905090565b610f4033610587565b6002546040516317ea2ab560e21b81526001600160a01b0390911690635fa8aad490610f729085908590600401612690565b600060405180830381600087803b158015610f8c57600080fd5b505af1158015610fa0573d6000803e3d6000fd5b505050505050565b610fb0611caf565b806001600160a01b03163b600003610fe65760405163fdeac91f60e01b81526001600160a01b03821660048201526024016105c4565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152634ecea1f160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015611060575060408051601f3d908101601f1916820190925261105d918101906124f9565b60015b6110885760405163fdeac91f60e01b81526001600160a01b03821660048201526024016105c4565b806110b15760405163fdeac91f60e01b81526001600160a01b03831660048201526024016105c4565b505b50565b60006110ca6001546001600160a01b031690565b6001600160a01b031663d39e6043608c610ec9565b336110e8611575565b6001600160a01b0316816001600160a01b0316146111235760405162d1953b60e31b81526001600160a01b03821660048201526024016105c4565b816001600160a01b03163b600003611159576040516361798f2f60e11b81526001600160a01b03831660048201526024016105c4565b6110b182611cfa565b61116b33610587565b6002546040516308b6d1c760e21b81526001600160a01b0384811660048301528315156024830152909116906322db471c90604401610f72565b60008060008051602061288b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611215573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061123991906124f9565b156112c6576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561129c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112c09190612485565b91505090565b54600160601b90046001600160a01b0316919050565b6000805160206128ab833981519152805460009190600160a01b900460ff166113065760006112c0565b638fb3603760e01b91505090565b61131d33610587565b600254604051630b428b0b60e41b81526001600160a01b039091169063b428b0b09061134f90859085906004016126b4565b6020604051808303816000875af115801561136e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061139291906124f9565b505050565b6113a033610587565b600254604051635be958b160e11b81526001600160a01b039091169063b7d2b1629061134f90859085906004016126b4565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa15801561141b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061143f9190612485565b6001600160a01b0316336001600160a01b03161461145c57600080fd5b6002546001600160a01b03166303014974611475611d5b565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865afa1580156114b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114dd91906126d6565b156114ea576114ea6126ef565b6002546001600160a01b031663b428b0b0611503611d5b565b846040518363ffffffff1660e01b81526004016115219291906126b4565b6020604051808303816000875af1158015611540573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061156491906124f9565b15156001146110b1576110b16126ef565b6000805160206128ab833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03166000811580156115d65750825b90506000826001600160401b031660011480156115f25750303b155b905081158015611600575080155b1561161e5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561164857845460ff60401b1916600160401b1785555b6001600160a01b03881661166f5760405163da1db49160e01b815260040160405180910390fd5b61167888611dd3565b60008790506116fd88826001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116e391906124a2565b604660018b60405180602001604052806000815250610ba2565b61170d63425ec80560e01b610a63565b508315610c3d57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15050505050505050565b60006117716001546001600160a01b031690565b6001600160a01b031663d39e60436078610ec9565b604051632392b61b60e21b81526003600482015260009073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156117d9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f329190612705565b60008061180933610587565b60025460405163d2192dbf60e01b81526001600160a01b039091169063d2192dbf9061183b9087908790600401612722565b60408051808303816000875af1158015611859573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061187d9190612750565b909590945092505050565b600061189c6001546001600160a01b031690565b6001600160a01b031663d39e604360d3610ec9565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061191e9190612485565b6001600160a01b0316336001600160a01b03161461193b57600080fd5b6002546001600160a01b031663b7d2b162611954611d5b565b856040518363ffffffff1660e01b81526004016119729291906126b4565b6020604051808303816000875af1158015611991573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119b591906124f9565b15156001146119c6576119c66126ef565b6002546001600160a01b031663b428b0b06119df611d5b565b846040518363ffffffff1660e01b81526004016119fd9291906126b4565b6020604051808303816000875af1158015611a1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a4091906124f9565b1515600114611392576113926126ef565b611a5a33610587565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611aa2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ac69190612485565b6001600160a01b031614611aef576040516345789cf560e01b81523060048201526024016105c4565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b611b19611caf565b611b2281610fa8565b611b2a610cb4565b6001600160a01b038216611b515760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061288b83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6000611b9c6001546001600160a01b031690565b6001600160a01b031663d39e604360dc610ec9565b6000805160206128ab833981519152600080611bec611bce611575565b8730611bde600460008a8c61277f565b611be7916127a9565b611de4565b9150915081610fa05763ffffffff811615611c8c57825460ff60a01b1916600160a01b178355611c1a611575565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611c49939291906127d9565b600060405180830381600087803b158015611c6357600080fd5b505af1158015611c77573d6000803e3d6000fd5b5050845460ff60a01b1916855550610fa09050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016105c4565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16611cf857604051631afcd79f60e31b815260040160405180910390fd5b565b6000805160206128ab83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516368aebf7b60e01b815261076c600482015260009073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af4158015611daf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f329190612819565b611ddb611caf565b6110b381611ef0565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611e539190612836565b600060405180830381855afa9150503d8060008114611e8e576040519150601f19603f3d011682016040523d82523d6000602084013e611e93565b606091505b50915091508115611ee5576040815110611ec55780806020019051810190611ebb9190612852565b9094509250611ee5565b6020815110611ee55780806020019051810190611ee291906124f9565b93505b505094509492505050565b611ef8611caf565b6110b381611cfa565b80356001600160e01b031981168114611f1957600080fd5b919050565b600060208284031215611f3057600080fd5b611f3982611f01565b9392505050565b6001600160a01b03811681146110b357600080fd5b600060208284031215611f6757600080fd5b8135611f3981611f40565b60005b83811015611f8d578181015183820152602001611f75565b50506000910152565b60008151808452611fae816020860160208601611f72565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161202b60c08401826001600160a01b03169052565b5060c083015160e080840152612045610100840182611f96565b949350505050565b6001600160601b03811681146110b357600080fd5b60ff811681146110b357600080fd5b80151581146110b357600080fd5b634e487b7160e01b600052604160045260246000fd5b60006001600160401b03808411156120af576120af61207f565b604051601f8501601f19908116603f011681019082821181831017156120d7576120d761207f565b816040528093508581528686860111156120f057600080fd5b858560208301376000602087830101525050509392505050565b60008060008060008060c0878903121561212357600080fd5b863561212e81611f40565b9550602087013561213e8161204d565b9450604087013561214e81612062565b9350606087013561215e81612071565b9250608087013561216e81611f40565b915060a08701356001600160401b0381111561218957600080fd5b8701601f8101891361219a57600080fd5b6121a989823560208401612095565b9150509295509295509295565b600082601f8301126121c757600080fd5b611f3983833560208501612095565b6001600160401b03811681146110b357600080fd5b8035611f19816121d6565b6000806000806060858703121561220c57600080fd5b84356001600160401b038082111561222357600080fd5b61222f888389016121b6565b9550602087013591508082111561224557600080fd5b818701915087601f83011261225957600080fd5b81358181111561226857600080fd5b8860208260051b850101111561227d57600080fd5b602083019550809450505050612295604086016121eb565b905092959194509250565b600080604083850312156122b357600080fd5b82356122be81611f40565b915060208301356001600160401b038111156122d957600080fd5b6122e5858286016121b6565b9150509250929050565b6000806040838503121561230257600080fd5b823561230d81611f40565b9150602083013561231d81612071565b809150509250929050565b6000806040838503121561233b57600080fd5b8235612346816121d6565b9150602083013561231d81611f40565b6000806040838503121561236957600080fd5b823561237481611f40565b946020939093013593505050565b60008060006060848603121561239757600080fd5b83356123a281611f40565b925060208401356123b281611f40565b915060408401356123c281611f40565b809150509250925092565b600080604083850312156123e057600080fd5b82356001600160401b03808211156123f757600080fd5b612403868387016121b6565b9350602085013591508082111561241957600080fd5b506122e5858286016121b6565b60008060006060848603121561243b57600080fd5b833561244681611f40565b9250602084013561245681611f40565b929592945050506040919091013590565b6000806040838503121561247a57600080fd5b823561234681611f40565b60006020828403121561249757600080fd5b8151611f3981611f40565b6000602082840312156124b457600080fd5b8151611f398161204d565b600181811c908216806124d357607f821691505b6020821081036124f357634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561250b57600080fd5b8151611f3981612071565b601f82111561139257600081815260208120601f850160051c8101602086101561253d5750805b601f850160051c820191505b81811015610fa057828155600101612549565b81516001600160401b038111156125755761257561207f565b6125898161258384546124bf565b84612516565b602080601f8311600181146125be57600084156125a65750858301515b600019600386901b1c1916600185901b178555610fa0565b600085815260208120601f198616915b828110156125ed578886015182559484019460019091019084016125ce565b508582101561260b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60608152600061262e6060830187611f96565b8281036020848101919091528582528691810160005b87811015612671576001600160e01b031961265e85611f01565b1682529282019290820190600101612644565b508093505050506001600160401b038316604083015295945050505050565b6001600160a01b038316815260406020820181905260009061204590830184611f96565b6001600160401b039290921682526001600160a01b0316602082015260400190565b6000602082840312156126e857600080fd5b5051919050565b634e487b7160e01b600052600160045260246000fd5b60006020828403121561271757600080fd5b8151611f3981612062565b6040815260006127356040830185611f96565b82810360208401526127478185611f96565b95945050505050565b6000806040838503121561276357600080fd5b825161276e816121d6565b602084015190925061231d816121d6565b6000808585111561278f57600080fd5b8386111561279c57600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156127d15780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b60006020828403121561282b57600080fd5b8151611f39816121d6565b60008251612848818460208701611f72565b9190910192915050565b6000806040838503121561286557600080fd5b825161287081612071565b602084015190925063ffffffff8116811461231d57600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a264697066735822122047ccc7cd229048d963e6c38cc86b71c2eb54390186640cde08575b589e559e7464736f6c63430008140033",
3216
877
  "linkReferences": {
3217
- "contracts/types/Key32.sol": {
3218
- "Key32Lib": [
3219
- {
3220
- "length": 20,
3221
- "start": 6461
3222
- },
3223
- {
3224
- "length": 20,
3225
- "start": 12385
3226
- },
3227
- {
3228
- "length": 20,
3229
- "start": 14751
3230
- },
3231
- {
3232
- "length": 20,
3233
- "start": 15500
3234
- },
3235
- {
3236
- "length": 20,
3237
- "start": 15616
3238
- },
3239
- {
3240
- "length": 20,
3241
- "start": 16354
3242
- },
3243
- {
3244
- "length": 20,
3245
- "start": 16470
3246
- },
3247
- {
3248
- "length": 20,
3249
- "start": 17202
3250
- },
3251
- {
3252
- "length": 20,
3253
- "start": 17318
3254
- },
3255
- {
3256
- "length": 20,
3257
- "start": 17500
3258
- },
3259
- {
3260
- "length": 20,
3261
- "start": 17616
3262
- }
3263
- ]
3264
- },
3265
- "contracts/types/NftId.sol": {
878
+ "contracts/type/NftId.sol": {
3266
879
  "NftIdLib": [
3267
880
  {
3268
881
  "length": 20,
3269
- "start": 5452
3270
- },
3271
- {
3272
- "length": 20,
3273
- "start": 7760
882
+ "start": 1834
3274
883
  },
3275
884
  {
3276
885
  "length": 20,
3277
- "start": 8878
886
+ "start": 2230
3278
887
  },
3279
888
  {
3280
889
  "length": 20,
3281
- "start": 10463
3282
- },
3283
- {
3284
- "length": 20,
3285
- "start": 13088
3286
- }
3287
- ]
3288
- },
3289
- "contracts/types/ObjectType.sol": {
3290
- "ObjectTypeLib": [
3291
- {
3292
- "length": 20,
3293
- "start": 14872
3294
- }
3295
- ]
3296
- },
3297
- "contracts/types/RiskId.sol": {
3298
- "RiskIdLib": [
3299
- {
3300
- "length": 20,
3301
- "start": 6300
3302
- },
3303
- {
3304
- "length": 20,
3305
- "start": 8485
3306
- },
3307
- {
3308
- "length": 20,
3309
- "start": 10548
890
+ "start": 4603
3310
891
  }
3311
892
  ]
3312
893
  },
3313
- "contracts/types/RoleId.sol": {
894
+ "contracts/type/RoleId.sol": {
3314
895
  "RoleIdLib": [
3315
896
  {
3316
897
  "length": 20,
3317
- "start": 6752
3318
- },
3319
- {
3320
- "length": 20,
3321
- "start": 8612
3322
- },
3323
- {
3324
- "length": 20,
3325
- "start": 8698
3326
- },
3327
- {
3328
- "length": 20,
3329
- "start": 9931
3330
- },
3331
- {
3332
- "length": 20,
3333
- "start": 10099
3334
- },
3335
- {
3336
- "length": 20,
3337
- "start": 11190
3338
- },
3339
- {
3340
- "length": 20,
3341
- "start": 11603
3342
- },
3343
- {
3344
- "length": 20,
3345
- "start": 13869
898
+ "start": 7573
3346
899
  }
3347
900
  ]
3348
901
  },
3349
- "contracts/types/StateId.sol": {
3350
- "StateIdLib": [
3351
- {
3352
- "length": 20,
3353
- "start": 7049
3354
- },
3355
- {
3356
- "length": 20,
3357
- "start": 10702
3358
- },
3359
- {
3360
- "length": 20,
3361
- "start": 11956
3362
- },
3363
- {
3364
- "length": 20,
3365
- "start": 15089
3366
- },
3367
- {
3368
- "length": 20,
3369
- "start": 15808
3370
- },
3371
- {
3372
- "length": 20,
3373
- "start": 16028
3374
- },
3375
- {
3376
- "length": 20,
3377
- "start": 16628
3378
- },
902
+ "contracts/type/Version.sol": {
903
+ "VersionPartLib": [
3379
904
  {
3380
905
  "length": 20,
3381
- "start": 16848
906
+ "start": 6079
3382
907
  }
3383
908
  ]
3384
909
  }
3385
910
  },
3386
911
  "deployedLinkReferences": {
3387
- "contracts/types/Key32.sol": {
3388
- "Key32Lib": [
3389
- {
3390
- "length": 20,
3391
- "start": 4558
3392
- },
3393
- {
3394
- "length": 20,
3395
- "start": 10482
3396
- },
3397
- {
3398
- "length": 20,
3399
- "start": 12848
3400
- },
3401
- {
3402
- "length": 20,
3403
- "start": 13597
3404
- },
3405
- {
3406
- "length": 20,
3407
- "start": 13713
3408
- },
3409
- {
3410
- "length": 20,
3411
- "start": 14451
3412
- },
3413
- {
3414
- "length": 20,
3415
- "start": 14567
3416
- },
3417
- {
3418
- "length": 20,
3419
- "start": 15299
3420
- },
3421
- {
3422
- "length": 20,
3423
- "start": 15415
3424
- },
3425
- {
3426
- "length": 20,
3427
- "start": 15597
3428
- },
3429
- {
3430
- "length": 20,
3431
- "start": 15713
3432
- }
3433
- ]
3434
- },
3435
- "contracts/types/NftId.sol": {
912
+ "contracts/type/NftId.sol": {
3436
913
  "NftIdLib": [
3437
914
  {
3438
915
  "length": 20,
3439
- "start": 3549
916
+ "start": 1802
3440
917
  },
3441
918
  {
3442
919
  "length": 20,
3443
- "start": 5857
920
+ "start": 2198
3444
921
  },
3445
922
  {
3446
923
  "length": 20,
3447
- "start": 6975
3448
- },
3449
- {
3450
- "length": 20,
3451
- "start": 8560
3452
- },
3453
- {
3454
- "length": 20,
3455
- "start": 11185
3456
- }
3457
- ]
3458
- },
3459
- "contracts/types/ObjectType.sol": {
3460
- "ObjectTypeLib": [
3461
- {
3462
- "length": 20,
3463
- "start": 12969
3464
- }
3465
- ]
3466
- },
3467
- "contracts/types/RiskId.sol": {
3468
- "RiskIdLib": [
3469
- {
3470
- "length": 20,
3471
- "start": 4397
3472
- },
3473
- {
3474
- "length": 20,
3475
- "start": 6582
3476
- },
3477
- {
3478
- "length": 20,
3479
- "start": 8645
924
+ "start": 4571
3480
925
  }
3481
926
  ]
3482
927
  },
3483
- "contracts/types/RoleId.sol": {
928
+ "contracts/type/RoleId.sol": {
3484
929
  "RoleIdLib": [
3485
930
  {
3486
931
  "length": 20,
3487
- "start": 4849
3488
- },
3489
- {
3490
- "length": 20,
3491
- "start": 6709
3492
- },
3493
- {
3494
- "length": 20,
3495
- "start": 6795
3496
- },
3497
- {
3498
- "length": 20,
3499
- "start": 8028
3500
- },
3501
- {
3502
- "length": 20,
3503
- "start": 8196
3504
- },
3505
- {
3506
- "length": 20,
3507
- "start": 9287
3508
- },
3509
- {
3510
- "length": 20,
3511
- "start": 9700
3512
- },
3513
- {
3514
- "length": 20,
3515
- "start": 11966
932
+ "start": 7541
3516
933
  }
3517
934
  ]
3518
935
  },
3519
- "contracts/types/StateId.sol": {
3520
- "StateIdLib": [
3521
- {
3522
- "length": 20,
3523
- "start": 5146
3524
- },
3525
- {
3526
- "length": 20,
3527
- "start": 8799
3528
- },
3529
- {
3530
- "length": 20,
3531
- "start": 10053
3532
- },
3533
- {
3534
- "length": 20,
3535
- "start": 13186
3536
- },
3537
- {
3538
- "length": 20,
3539
- "start": 13905
3540
- },
3541
- {
3542
- "length": 20,
3543
- "start": 14125
3544
- },
3545
- {
3546
- "length": 20,
3547
- "start": 14725
3548
- },
936
+ "contracts/type/Version.sol": {
937
+ "VersionPartLib": [
3549
938
  {
3550
939
  "length": 20,
3551
- "start": 14945
940
+ "start": 6047
3552
941
  }
3553
942
  ]
3554
943
  }