@etherisc/gif-next 0.0.2-e6a90b9 → 0.0.2-e769e2e-077

Sign up to get free protection for your applications and to get access to all the features.
Files changed (466) hide show
  1. package/README.md +359 -8
  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 +760 -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 +4 -0
  13. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +778 -0
  14. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  15. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +284 -523
  16. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  17. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +660 -0
  18. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  19. package/artifacts/contracts/instance/Instance.sol/Instance.json +537 -601
  20. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  21. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +1348 -0
  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 +4 -0
  25. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1570 -0
  26. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  27. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1039 -0
  28. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  29. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +664 -0
  30. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3500 -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/base/Cloneable.sol/Cloneable.json +190 -0
  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 +4 -0
  39. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +237 -0
  40. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  41. package/artifacts/contracts/instance/{access/IAccess.sol/IAccess.json → module/IBundle.sol/IBundle.json} +2 -2
  42. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  43. package/artifacts/contracts/instance/{component/IComponent.sol/IComponent.json → module/IComponents.sol/IComponents.json} +2 -2
  44. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  45. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.json +10 -0
  46. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  47. package/artifacts/contracts/instance/{policy → module}/IPolicy.sol/IPolicy.json +1 -1
  48. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  49. package/artifacts/contracts/instance/{pool/IPoolModule.sol/IPool.json → module/IRisk.sol/IRisk.json} +2 -2
  50. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  51. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1091 -0
  52. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  53. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +684 -0
  54. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  55. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +684 -0
  56. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  57. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +1148 -0
  58. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  59. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1044 -0
  60. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  61. package/artifacts/contracts/pool/Pool.sol/Pool.json +1559 -0
  62. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  63. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1411 -0
  64. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  65. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +680 -0
  66. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  67. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +820 -0
  68. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  69. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +660 -0
  70. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  71. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1264 -0
  72. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  73. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +748 -0
  74. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  75. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +493 -0
  76. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  77. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +753 -0
  78. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  79. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +701 -0
  80. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  81. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +530 -0
  82. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  83. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +989 -0
  84. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
  85. package/artifacts/contracts/product/IProductService.sol/IProductService.json +381 -0
  86. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  87. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1132 -0
  88. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  89. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +692 -0
  90. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  91. package/artifacts/contracts/product/PricingService.sol/PricingService.json +969 -0
  92. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  93. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +716 -0
  94. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  95. package/artifacts/contracts/product/Product.sol/Product.json +1391 -0
  96. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
  97. package/artifacts/contracts/product/ProductService.sol/ProductService.json +673 -0
  98. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  99. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +636 -0
  100. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  101. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +252 -2
  102. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  103. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +600 -70
  104. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  105. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +990 -0
  106. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  107. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +52 -0
  108. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  109. package/artifacts/contracts/registry/Registry.sol/Registry.json +777 -77
  110. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  111. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +308 -0
  112. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  113. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1290 -0
  114. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  115. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +661 -0
  116. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  117. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +688 -0
  118. package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.dbg.json +4 -0
  119. package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.json +137 -0
  120. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  121. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +611 -0
  122. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  123. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  124. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  125. package/artifacts/contracts/shared/Component.sol/Component.json +890 -0
  126. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  127. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1461 -0
  128. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  129. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +736 -0
  130. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  131. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +520 -0
  132. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +4 -0
  133. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +73 -0
  134. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  135. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +625 -0
  136. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  137. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +854 -0
  138. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  139. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +699 -0
  140. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  141. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +478 -0
  142. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  143. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +115 -0
  144. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  145. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +125 -0
  146. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  147. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +189 -0
  148. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +4 -0
  149. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +175 -0
  150. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  151. package/artifacts/contracts/{instance/access/IAccess.sol/IAccessCheckRole.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +11 -11
  152. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  153. package/artifacts/contracts/shared/IService.sol/IService.json +327 -0
  154. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +4 -0
  155. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +55 -0
  156. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  157. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +1030 -0
  158. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  159. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +581 -0
  160. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  161. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +194 -0
  162. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  163. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +238 -0
  164. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  165. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +302 -0
  166. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  167. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +569 -0
  168. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +4 -0
  169. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +347 -0
  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 +4 -0
  173. package/artifacts/contracts/{registry/IChainNft.sol/IChainNft.json → shared/Service.sol/Service.json} +256 -220
  174. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  175. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +150 -0
  176. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  177. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  178. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +4 -0
  179. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +78 -0
  180. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  181. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1607 -0
  182. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  183. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +545 -0
  184. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  185. package/artifacts/contracts/staking/Staking.sol/Staking.json +2074 -0
  186. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  187. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +676 -0
  188. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  189. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +805 -0
  190. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  191. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +636 -0
  192. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  193. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  194. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  195. package/artifacts/contracts/type/Amount.sol/AmountLib.json +281 -0
  196. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  197. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +187 -0
  198. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  199. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  200. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  201. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  202. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  203. package/artifacts/contracts/type/Fee.sol/FeeLib.json +312 -0
  204. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  205. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  206. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  207. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +185 -0
  208. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  209. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  210. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  211. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +92 -0
  212. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  213. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  214. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  215. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  216. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  217. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +86 -0
  218. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  219. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +156 -0
  220. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  221. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +124 -0
  222. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  223. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +92 -0
  224. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  225. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +280 -0
  226. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  227. package/artifacts/contracts/type/UFixed.sol/MathLib.json +10 -0
  228. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  229. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +479 -0
  230. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  231. package/artifacts/contracts/type/Version.sol/VersionLib.json +177 -0
  232. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  233. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +49 -0
  234. package/contracts/distribution/Distribution.sol +263 -0
  235. package/contracts/distribution/DistributionService.sol +297 -0
  236. package/contracts/distribution/DistributionServiceManager.sol +51 -0
  237. package/contracts/distribution/IDistributionComponent.sol +66 -0
  238. package/contracts/distribution/IDistributionService.sol +81 -0
  239. package/contracts/instance/BundleManager.sol +126 -0
  240. package/contracts/instance/IInstance.sol +72 -15
  241. package/contracts/instance/IInstanceService.sol +83 -0
  242. package/contracts/instance/Instance.sol +209 -44
  243. package/contracts/instance/InstanceAccessManager.sol +543 -0
  244. package/contracts/instance/InstanceAuthorizationsLib.sol +336 -0
  245. package/contracts/instance/InstanceReader.sol +366 -0
  246. package/contracts/instance/InstanceService.sol +348 -0
  247. package/contracts/instance/InstanceServiceManager.sol +54 -0
  248. package/contracts/instance/InstanceStore.sol +259 -0
  249. package/contracts/instance/base/BalanceStore.sol +118 -0
  250. package/contracts/instance/base/Cloneable.sol +51 -0
  251. package/contracts/instance/base/ObjectManager.sol +82 -0
  252. package/contracts/instance/module/IAccess.sol +54 -0
  253. package/contracts/instance/module/IBundle.sol +20 -0
  254. package/contracts/instance/module/IComponents.sol +52 -0
  255. package/contracts/instance/module/IDistribution.sol +42 -0
  256. package/contracts/instance/module/IPolicy.sol +84 -0
  257. package/contracts/instance/module/IRisk.sol +11 -0
  258. package/contracts/pool/BundleService.sol +313 -0
  259. package/contracts/pool/BundleServiceManager.sol +51 -0
  260. package/contracts/pool/IBundleService.sol +106 -0
  261. package/contracts/pool/IPoolComponent.sol +112 -0
  262. package/contracts/pool/IPoolService.sol +147 -0
  263. package/contracts/pool/Pool.sol +299 -0
  264. package/contracts/pool/PoolService.sol +421 -0
  265. package/contracts/pool/PoolServiceManager.sol +51 -0
  266. package/contracts/product/ApplicationService.sol +253 -0
  267. package/contracts/product/ApplicationServiceManager.sol +35 -0
  268. package/contracts/product/ClaimService.sol +436 -0
  269. package/contracts/product/ClaimServiceManager.sol +35 -0
  270. package/contracts/product/IApplicationService.sol +62 -0
  271. package/contracts/product/IClaimService.sol +93 -0
  272. package/contracts/product/IPolicyService.sol +78 -0
  273. package/contracts/product/IPricingService.sol +39 -0
  274. package/contracts/product/IProductComponent.sol +42 -0
  275. package/contracts/product/IProductService.sol +33 -0
  276. package/contracts/product/PolicyService.sol +471 -0
  277. package/contracts/product/PolicyServiceManager.sol +54 -0
  278. package/contracts/product/PricingService.sol +300 -0
  279. package/contracts/product/PricingServiceManager.sol +51 -0
  280. package/contracts/product/Product.sol +377 -0
  281. package/contracts/product/ProductService.sol +122 -0
  282. package/contracts/product/ProductServiceManager.sol +54 -0
  283. package/contracts/registry/ChainNft.sol +151 -108
  284. package/contracts/registry/IRegistry.sol +91 -48
  285. package/contracts/registry/IRegistryService.sol +79 -0
  286. package/contracts/registry/ITransferInterceptor.sol +7 -0
  287. package/contracts/registry/Registry.sol +465 -112
  288. package/contracts/registry/RegistryAccessManager.sol +213 -0
  289. package/contracts/registry/RegistryService.sol +327 -0
  290. package/contracts/registry/RegistryServiceManager.sol +60 -0
  291. package/contracts/registry/ReleaseManager.sol +375 -0
  292. package/contracts/registry/ServiceAuthorizationsLib.sol +173 -0
  293. package/contracts/registry/TokenRegistry.sol +187 -0
  294. package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +13 -0
  295. package/contracts/shared/Component.sol +286 -0
  296. package/contracts/shared/ComponentService.sol +596 -0
  297. package/contracts/shared/ComponentServiceManager.sol +35 -0
  298. package/contracts/shared/ComponentVerifyingService.sol +111 -0
  299. package/contracts/shared/ERC165.sol +27 -0
  300. package/contracts/shared/IComponent.sol +74 -0
  301. package/contracts/shared/IComponentService.sol +91 -0
  302. package/contracts/shared/IInstanceLinkedComponent.sol +46 -0
  303. package/contracts/shared/IKeyValueStore.sol +53 -0
  304. package/contracts/shared/ILifecycle.sol +30 -0
  305. package/contracts/shared/INftOwnable.sol +23 -0
  306. package/contracts/shared/IPolicyHolder.sol +40 -0
  307. package/contracts/shared/IRegisterable.sol +15 -0
  308. package/contracts/shared/IRegistryLinked.sol +11 -0
  309. package/contracts/shared/IService.sol +18 -0
  310. package/contracts/shared/IVersionable.sol +53 -0
  311. package/contracts/shared/InstanceLinkedComponent.sol +145 -0
  312. package/contracts/shared/KeyValueStore.sol +169 -0
  313. package/contracts/shared/Lifecycle.sol +121 -0
  314. package/contracts/shared/NftOwnable.sol +118 -0
  315. package/contracts/shared/PolicyHolder.sol +94 -0
  316. package/contracts/shared/ProxyManager.sol +169 -0
  317. package/contracts/shared/Registerable.sol +75 -0
  318. package/contracts/shared/RegistryLinked.sol +43 -0
  319. package/contracts/shared/Service.sol +77 -0
  320. package/contracts/shared/TokenHandler.sol +58 -0
  321. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  322. package/contracts/shared/Versionable.sol +59 -0
  323. package/contracts/staking/IStaking.sol +77 -0
  324. package/contracts/staking/IStakingService.sol +105 -0
  325. package/contracts/staking/Staking.sol +212 -0
  326. package/contracts/staking/StakingManager.sol +46 -0
  327. package/contracts/staking/StakingService.sol +200 -0
  328. package/contracts/staking/StakingServiceManager.sol +41 -0
  329. package/contracts/type/AddressSet.sol +58 -0
  330. package/contracts/type/Amount.sol +114 -0
  331. package/contracts/type/Blocknumber.sol +124 -0
  332. package/contracts/type/ClaimId.sol +75 -0
  333. package/contracts/type/DistributorType.sol +55 -0
  334. package/contracts/type/Fee.sol +66 -0
  335. package/contracts/type/Key32.sol +50 -0
  336. package/contracts/type/NftId.sol +73 -0
  337. package/contracts/type/NftIdSet.sol +62 -0
  338. package/contracts/type/ObjectType.sol +165 -0
  339. package/contracts/type/PayoutId.sol +82 -0
  340. package/contracts/type/Referral.sol +89 -0
  341. package/contracts/type/RiskId.sol +43 -0
  342. package/contracts/type/RoleId.sol +138 -0
  343. package/contracts/type/Seconds.sol +54 -0
  344. package/contracts/type/StateId.sol +110 -0
  345. package/contracts/type/Timestamp.sol +132 -0
  346. package/contracts/type/UFixed.sol +326 -0
  347. package/contracts/type/Version.sol +108 -0
  348. package/package.json +21 -6
  349. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  350. package/artifacts/contracts/components/Component.sol/Component.json +0 -179
  351. package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +0 -4
  352. package/artifacts/contracts/components/Component.sol/InstanceLinked.json +0 -35
  353. package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +0 -4
  354. package/artifacts/contracts/components/IPool.sol/IPoolComponent.json +0 -179
  355. package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +0 -4
  356. package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +0 -192
  357. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  358. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -195
  359. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  360. package/artifacts/contracts/components/Product.sol/Product.json +0 -213
  361. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  362. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  363. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  364. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  365. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  366. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  367. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  368. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  369. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  370. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  371. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  372. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  373. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  374. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  375. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  376. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  377. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  378. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  379. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  380. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  381. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  382. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  383. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  384. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  385. package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +0 -4
  386. package/artifacts/contracts/instance/access/Access.sol/AccessModule.json +0 -400
  387. package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +0 -4
  388. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +0 -4
  389. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +0 -4
  390. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.json +0 -50
  391. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  392. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.json +0 -336
  393. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  394. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.json +0 -327
  395. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +0 -4
  396. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +0 -105
  397. package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +0 -4
  398. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +0 -4
  399. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +0 -179
  400. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  401. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +0 -245
  402. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +0 -4
  403. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +0 -94
  404. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +0 -4
  405. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.json +0 -24
  406. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  407. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  408. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.json +0 -231
  409. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  410. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.json +0 -231
  411. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  412. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  413. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.json +0 -149
  414. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  415. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.json +0 -162
  416. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +0 -4
  417. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.json +0 -75
  418. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +0 -4
  419. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.json +0 -114
  420. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +0 -4
  421. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.json +0 -75
  422. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +0 -4
  423. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +0 -125
  424. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  425. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +0 -4
  426. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.json +0 -24
  427. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +0 -4
  428. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +0 -166
  429. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +0 -4
  430. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.json +0 -49
  431. package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +0 -4
  432. package/artifacts/contracts/registry/Registry.sol/Registerable.json +0 -166
  433. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +0 -4
  434. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +0 -60
  435. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  436. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  437. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  438. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -10
  439. package/contracts/components/Component.sol +0 -62
  440. package/contracts/components/IPool.sol +0 -9
  441. package/contracts/components/IProduct.sol +0 -11
  442. package/contracts/components/Pool.sol +0 -29
  443. package/contracts/components/Product.sol +0 -65
  444. package/contracts/experiment/errors/Require.sol +0 -33
  445. package/contracts/experiment/errors/Revert.sol +0 -39
  446. package/contracts/experiment/inheritance/A.sol +0 -56
  447. package/contracts/experiment/inheritance/B.sol +0 -23
  448. package/contracts/experiment/inheritance/C.sol +0 -28
  449. package/contracts/experiment/inheritance/IA.sol +0 -18
  450. package/contracts/experiment/inheritance/IB.sol +0 -9
  451. package/contracts/experiment/inheritance/IC.sol +0 -11
  452. package/contracts/experiment/types/TypeA.sol +0 -42
  453. package/contracts/experiment/types/TypeB.sol +0 -24
  454. package/contracts/instance/access/Access.sol +0 -218
  455. package/contracts/instance/access/IAccess.sol +0 -83
  456. package/contracts/instance/component/ComponentModule.sol +0 -246
  457. package/contracts/instance/component/IComponent.sol +0 -94
  458. package/contracts/instance/policy/IPolicy.sol +0 -66
  459. package/contracts/instance/policy/PolicyModule.sol +0 -106
  460. package/contracts/instance/pool/IPoolModule.sol +0 -40
  461. package/contracts/instance/pool/PoolModule.sol +0 -83
  462. package/contracts/instance/product/IProductService.sol +0 -45
  463. package/contracts/instance/product/ProductService.sol +0 -105
  464. package/contracts/registry/IChainNft.sol +0 -18
  465. package/contracts/types/ChainId.sol +0 -24
  466. package/contracts/types/NftId.sol +0 -25
@@ -0,0 +1,1411 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "PoolService",
4
+ "sourceName": "contracts/pool/PoolService.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "caller",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "NftId",
48
+ "name": "componentNftId",
49
+ "type": "uint96"
50
+ }
51
+ ],
52
+ "name": "ErrorComponentVerifyingServiceComponentIsLocked",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "NftId",
59
+ "name": "componentNftId",
60
+ "type": "uint96"
61
+ },
62
+ {
63
+ "internalType": "ObjectType",
64
+ "name": "expectedType",
65
+ "type": "uint8"
66
+ },
67
+ {
68
+ "internalType": "ObjectType",
69
+ "name": "actualType",
70
+ "type": "uint8"
71
+ }
72
+ ],
73
+ "name": "ErrorComponentVerifyingServiceComponentTypeInvalid",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [
78
+ {
79
+ "internalType": "NftId",
80
+ "name": "nftId",
81
+ "type": "uint96"
82
+ }
83
+ ],
84
+ "name": "ErrorNftOwnableAlreadyLinked",
85
+ "type": "error"
86
+ },
87
+ {
88
+ "inputs": [
89
+ {
90
+ "internalType": "address",
91
+ "name": "contractAddress",
92
+ "type": "address"
93
+ }
94
+ ],
95
+ "name": "ErrorNftOwnableContractNotRegistered",
96
+ "type": "error"
97
+ },
98
+ {
99
+ "inputs": [],
100
+ "name": "ErrorNftOwnableInitialOwnerZero",
101
+ "type": "error"
102
+ },
103
+ {
104
+ "inputs": [
105
+ {
106
+ "internalType": "address",
107
+ "name": "account",
108
+ "type": "address"
109
+ }
110
+ ],
111
+ "name": "ErrorNftOwnableNotOwner",
112
+ "type": "error"
113
+ },
114
+ {
115
+ "inputs": [
116
+ {
117
+ "internalType": "address",
118
+ "name": "registryAddress",
119
+ "type": "address"
120
+ }
121
+ ],
122
+ "name": "ErrorNotRegistry",
123
+ "type": "error"
124
+ },
125
+ {
126
+ "inputs": [
127
+ {
128
+ "internalType": "NftId",
129
+ "name": "poolNftId",
130
+ "type": "uint96"
131
+ }
132
+ ],
133
+ "name": "ErrorPoolServiceBundleOwnerRoleAlreadySet",
134
+ "type": "error"
135
+ },
136
+ {
137
+ "inputs": [
138
+ {
139
+ "internalType": "Amount",
140
+ "name": "expectedAmount",
141
+ "type": "uint96"
142
+ },
143
+ {
144
+ "internalType": "Amount",
145
+ "name": "actualAmount",
146
+ "type": "uint96"
147
+ }
148
+ ],
149
+ "name": "ErrorPoolServiceInvalidTransferAmount",
150
+ "type": "error"
151
+ },
152
+ {
153
+ "inputs": [],
154
+ "name": "ErrorServiceNotImplemented",
155
+ "type": "error"
156
+ },
157
+ {
158
+ "inputs": [],
159
+ "name": "InvalidInitialization",
160
+ "type": "error"
161
+ },
162
+ {
163
+ "inputs": [],
164
+ "name": "NotInitializing",
165
+ "type": "error"
166
+ },
167
+ {
168
+ "anonymous": false,
169
+ "inputs": [
170
+ {
171
+ "indexed": false,
172
+ "internalType": "address",
173
+ "name": "authority",
174
+ "type": "address"
175
+ }
176
+ ],
177
+ "name": "AuthorityUpdated",
178
+ "type": "event"
179
+ },
180
+ {
181
+ "anonymous": false,
182
+ "inputs": [
183
+ {
184
+ "indexed": false,
185
+ "internalType": "uint64",
186
+ "name": "version",
187
+ "type": "uint64"
188
+ }
189
+ ],
190
+ "name": "Initialized",
191
+ "type": "event"
192
+ },
193
+ {
194
+ "anonymous": false,
195
+ "inputs": [
196
+ {
197
+ "indexed": false,
198
+ "internalType": "NftId",
199
+ "name": "instanceNftId",
200
+ "type": "uint96"
201
+ },
202
+ {
203
+ "indexed": false,
204
+ "internalType": "NftId",
205
+ "name": "poolNftId",
206
+ "type": "uint96"
207
+ },
208
+ {
209
+ "indexed": false,
210
+ "internalType": "NftId",
211
+ "name": "bundleNftId",
212
+ "type": "uint96"
213
+ }
214
+ ],
215
+ "name": "LogPoolServiceBundleClosed",
216
+ "type": "event"
217
+ },
218
+ {
219
+ "anonymous": false,
220
+ "inputs": [
221
+ {
222
+ "indexed": false,
223
+ "internalType": "NftId",
224
+ "name": "instanceNftId",
225
+ "type": "uint96"
226
+ },
227
+ {
228
+ "indexed": false,
229
+ "internalType": "NftId",
230
+ "name": "poolNftId",
231
+ "type": "uint96"
232
+ },
233
+ {
234
+ "indexed": false,
235
+ "internalType": "NftId",
236
+ "name": "bundleNftId",
237
+ "type": "uint96"
238
+ }
239
+ ],
240
+ "name": "LogPoolServiceBundleCreated",
241
+ "type": "event"
242
+ },
243
+ {
244
+ "anonymous": false,
245
+ "inputs": [
246
+ {
247
+ "indexed": false,
248
+ "internalType": "NftId",
249
+ "name": "poolNftId",
250
+ "type": "uint96"
251
+ },
252
+ {
253
+ "indexed": false,
254
+ "internalType": "RoleId",
255
+ "name": "bundleOwnerRole",
256
+ "type": "uint64"
257
+ }
258
+ ],
259
+ "name": "LogPoolServiceBundleOwnerRoleSet",
260
+ "type": "event"
261
+ },
262
+ {
263
+ "anonymous": false,
264
+ "inputs": [
265
+ {
266
+ "indexed": false,
267
+ "internalType": "NftId",
268
+ "name": "poolNftId",
269
+ "type": "uint96"
270
+ },
271
+ {
272
+ "indexed": false,
273
+ "internalType": "Amount",
274
+ "name": "previousMaxCapitalAmount",
275
+ "type": "uint96"
276
+ },
277
+ {
278
+ "indexed": false,
279
+ "internalType": "Amount",
280
+ "name": "currentMaxCapitalAmount",
281
+ "type": "uint96"
282
+ }
283
+ ],
284
+ "name": "LogPoolServiceMaxCapitalAmountUpdated",
285
+ "type": "event"
286
+ },
287
+ {
288
+ "inputs": [],
289
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
290
+ "outputs": [
291
+ {
292
+ "internalType": "bytes32",
293
+ "name": "",
294
+ "type": "bytes32"
295
+ }
296
+ ],
297
+ "stateMutability": "view",
298
+ "type": "function"
299
+ },
300
+ {
301
+ "inputs": [],
302
+ "name": "REGISTERABLE_LOCATION_V1",
303
+ "outputs": [
304
+ {
305
+ "internalType": "bytes32",
306
+ "name": "",
307
+ "type": "bytes32"
308
+ }
309
+ ],
310
+ "stateMutability": "view",
311
+ "type": "function"
312
+ },
313
+ {
314
+ "inputs": [],
315
+ "name": "authority",
316
+ "outputs": [
317
+ {
318
+ "internalType": "address",
319
+ "name": "",
320
+ "type": "address"
321
+ }
322
+ ],
323
+ "stateMutability": "view",
324
+ "type": "function"
325
+ },
326
+ {
327
+ "inputs": [
328
+ {
329
+ "internalType": "UFixed",
330
+ "name": "collateralizationLevel",
331
+ "type": "uint256"
332
+ },
333
+ {
334
+ "internalType": "UFixed",
335
+ "name": "retentionLevel",
336
+ "type": "uint256"
337
+ },
338
+ {
339
+ "internalType": "Amount",
340
+ "name": "sumInsuredAmount",
341
+ "type": "uint96"
342
+ }
343
+ ],
344
+ "name": "calculateRequiredCollateral",
345
+ "outputs": [
346
+ {
347
+ "internalType": "Amount",
348
+ "name": "localCollateralAmount",
349
+ "type": "uint96"
350
+ },
351
+ {
352
+ "internalType": "Amount",
353
+ "name": "totalCollateralAmount",
354
+ "type": "uint96"
355
+ }
356
+ ],
357
+ "stateMutability": "pure",
358
+ "type": "function"
359
+ },
360
+ {
361
+ "inputs": [
362
+ {
363
+ "internalType": "contract InstanceReader",
364
+ "name": "instanceReader",
365
+ "type": "address"
366
+ },
367
+ {
368
+ "internalType": "NftId",
369
+ "name": "productNftId",
370
+ "type": "uint96"
371
+ },
372
+ {
373
+ "internalType": "Amount",
374
+ "name": "sumInsuredAmount",
375
+ "type": "uint96"
376
+ }
377
+ ],
378
+ "name": "calculateRequiredCollateral",
379
+ "outputs": [
380
+ {
381
+ "internalType": "Amount",
382
+ "name": "localCollateralAmount",
383
+ "type": "uint96"
384
+ },
385
+ {
386
+ "internalType": "Amount",
387
+ "name": "totalCollateralAmount",
388
+ "type": "uint96"
389
+ }
390
+ ],
391
+ "stateMutability": "view",
392
+ "type": "function"
393
+ },
394
+ {
395
+ "inputs": [
396
+ {
397
+ "internalType": "NftId",
398
+ "name": "bundleNftId",
399
+ "type": "uint96"
400
+ }
401
+ ],
402
+ "name": "closeBundle",
403
+ "outputs": [],
404
+ "stateMutability": "nonpayable",
405
+ "type": "function"
406
+ },
407
+ {
408
+ "inputs": [
409
+ {
410
+ "internalType": "address",
411
+ "name": "bundleOwner",
412
+ "type": "address"
413
+ },
414
+ {
415
+ "components": [
416
+ {
417
+ "internalType": "UFixed",
418
+ "name": "fractionalFee",
419
+ "type": "uint256"
420
+ },
421
+ {
422
+ "internalType": "uint256",
423
+ "name": "fixedFee",
424
+ "type": "uint256"
425
+ }
426
+ ],
427
+ "internalType": "struct Fee",
428
+ "name": "fee",
429
+ "type": "tuple"
430
+ },
431
+ {
432
+ "internalType": "Amount",
433
+ "name": "stakingAmount",
434
+ "type": "uint96"
435
+ },
436
+ {
437
+ "internalType": "Seconds",
438
+ "name": "lifetime",
439
+ "type": "uint40"
440
+ },
441
+ {
442
+ "internalType": "bytes",
443
+ "name": "filter",
444
+ "type": "bytes"
445
+ }
446
+ ],
447
+ "name": "createBundle",
448
+ "outputs": [
449
+ {
450
+ "internalType": "NftId",
451
+ "name": "bundleNftId",
452
+ "type": "uint96"
453
+ }
454
+ ],
455
+ "stateMutability": "nonpayable",
456
+ "type": "function"
457
+ },
458
+ {
459
+ "inputs": [],
460
+ "name": "getDomain",
461
+ "outputs": [
462
+ {
463
+ "internalType": "ObjectType",
464
+ "name": "",
465
+ "type": "uint8"
466
+ }
467
+ ],
468
+ "stateMutability": "pure",
469
+ "type": "function"
470
+ },
471
+ {
472
+ "inputs": [],
473
+ "name": "getInitialInfo",
474
+ "outputs": [
475
+ {
476
+ "components": [
477
+ {
478
+ "internalType": "NftId",
479
+ "name": "nftId",
480
+ "type": "uint96"
481
+ },
482
+ {
483
+ "internalType": "NftId",
484
+ "name": "parentNftId",
485
+ "type": "uint96"
486
+ },
487
+ {
488
+ "internalType": "ObjectType",
489
+ "name": "objectType",
490
+ "type": "uint8"
491
+ },
492
+ {
493
+ "internalType": "bool",
494
+ "name": "isInterceptor",
495
+ "type": "bool"
496
+ },
497
+ {
498
+ "internalType": "address",
499
+ "name": "objectAddress",
500
+ "type": "address"
501
+ },
502
+ {
503
+ "internalType": "address",
504
+ "name": "initialOwner",
505
+ "type": "address"
506
+ },
507
+ {
508
+ "internalType": "bytes",
509
+ "name": "data",
510
+ "type": "bytes"
511
+ }
512
+ ],
513
+ "internalType": "struct IRegistry.ObjectInfo",
514
+ "name": "info",
515
+ "type": "tuple"
516
+ }
517
+ ],
518
+ "stateMutability": "view",
519
+ "type": "function"
520
+ },
521
+ {
522
+ "inputs": [],
523
+ "name": "getNftId",
524
+ "outputs": [
525
+ {
526
+ "internalType": "NftId",
527
+ "name": "",
528
+ "type": "uint96"
529
+ }
530
+ ],
531
+ "stateMutability": "view",
532
+ "type": "function"
533
+ },
534
+ {
535
+ "inputs": [],
536
+ "name": "getOwner",
537
+ "outputs": [
538
+ {
539
+ "internalType": "address",
540
+ "name": "",
541
+ "type": "address"
542
+ }
543
+ ],
544
+ "stateMutability": "view",
545
+ "type": "function"
546
+ },
547
+ {
548
+ "inputs": [],
549
+ "name": "getRegistry",
550
+ "outputs": [
551
+ {
552
+ "internalType": "contract IRegistry",
553
+ "name": "",
554
+ "type": "address"
555
+ }
556
+ ],
557
+ "stateMutability": "view",
558
+ "type": "function"
559
+ },
560
+ {
561
+ "inputs": [],
562
+ "name": "getVersion",
563
+ "outputs": [
564
+ {
565
+ "internalType": "Version",
566
+ "name": "",
567
+ "type": "uint24"
568
+ }
569
+ ],
570
+ "stateMutability": "pure",
571
+ "type": "function"
572
+ },
573
+ {
574
+ "inputs": [],
575
+ "name": "initializeERC165",
576
+ "outputs": [],
577
+ "stateMutability": "nonpayable",
578
+ "type": "function"
579
+ },
580
+ {
581
+ "inputs": [
582
+ {
583
+ "internalType": "address",
584
+ "name": "initialOwner",
585
+ "type": "address"
586
+ },
587
+ {
588
+ "internalType": "address",
589
+ "name": "registryAddress",
590
+ "type": "address"
591
+ }
592
+ ],
593
+ "name": "initializeNftOwnable",
594
+ "outputs": [],
595
+ "stateMutability": "nonpayable",
596
+ "type": "function"
597
+ },
598
+ {
599
+ "inputs": [
600
+ {
601
+ "internalType": "address",
602
+ "name": "registryAddress",
603
+ "type": "address"
604
+ },
605
+ {
606
+ "internalType": "NftId",
607
+ "name": "parentNftId",
608
+ "type": "uint96"
609
+ },
610
+ {
611
+ "internalType": "ObjectType",
612
+ "name": "objectType",
613
+ "type": "uint8"
614
+ },
615
+ {
616
+ "internalType": "bool",
617
+ "name": "isInterceptor",
618
+ "type": "bool"
619
+ },
620
+ {
621
+ "internalType": "address",
622
+ "name": "initialOwner",
623
+ "type": "address"
624
+ },
625
+ {
626
+ "internalType": "bytes",
627
+ "name": "registryData",
628
+ "type": "bytes"
629
+ }
630
+ ],
631
+ "name": "initializeRegisterable",
632
+ "outputs": [],
633
+ "stateMutability": "nonpayable",
634
+ "type": "function"
635
+ },
636
+ {
637
+ "inputs": [
638
+ {
639
+ "internalType": "address",
640
+ "name": "registryAddress",
641
+ "type": "address"
642
+ }
643
+ ],
644
+ "name": "initializeRegistryLinked",
645
+ "outputs": [],
646
+ "stateMutability": "nonpayable",
647
+ "type": "function"
648
+ },
649
+ {
650
+ "inputs": [
651
+ {
652
+ "internalType": "address",
653
+ "name": "registry",
654
+ "type": "address"
655
+ },
656
+ {
657
+ "internalType": "address",
658
+ "name": "authority",
659
+ "type": "address"
660
+ },
661
+ {
662
+ "internalType": "address",
663
+ "name": "initialOwner",
664
+ "type": "address"
665
+ }
666
+ ],
667
+ "name": "initializeService",
668
+ "outputs": [],
669
+ "stateMutability": "nonpayable",
670
+ "type": "function"
671
+ },
672
+ {
673
+ "inputs": [
674
+ {
675
+ "internalType": "address",
676
+ "name": "activatedBy",
677
+ "type": "address"
678
+ },
679
+ {
680
+ "internalType": "bytes",
681
+ "name": "data",
682
+ "type": "bytes"
683
+ }
684
+ ],
685
+ "name": "initializeVersionable",
686
+ "outputs": [],
687
+ "stateMutability": "nonpayable",
688
+ "type": "function"
689
+ },
690
+ {
691
+ "inputs": [],
692
+ "name": "isConsumingScheduledOp",
693
+ "outputs": [
694
+ {
695
+ "internalType": "bytes4",
696
+ "name": "",
697
+ "type": "bytes4"
698
+ }
699
+ ],
700
+ "stateMutability": "view",
701
+ "type": "function"
702
+ },
703
+ {
704
+ "inputs": [],
705
+ "name": "linkToRegisteredNftId",
706
+ "outputs": [],
707
+ "stateMutability": "nonpayable",
708
+ "type": "function"
709
+ },
710
+ {
711
+ "inputs": [
712
+ {
713
+ "internalType": "contract IInstance",
714
+ "name": "instance",
715
+ "type": "address"
716
+ },
717
+ {
718
+ "internalType": "NftId",
719
+ "name": "productNftId",
720
+ "type": "uint96"
721
+ },
722
+ {
723
+ "internalType": "NftId",
724
+ "name": "applicationNftId",
725
+ "type": "uint96"
726
+ },
727
+ {
728
+ "internalType": "NftId",
729
+ "name": "bundleNftId",
730
+ "type": "uint96"
731
+ },
732
+ {
733
+ "internalType": "Amount",
734
+ "name": "sumInsuredAmount",
735
+ "type": "uint96"
736
+ }
737
+ ],
738
+ "name": "lockCollateral",
739
+ "outputs": [
740
+ {
741
+ "internalType": "Amount",
742
+ "name": "localCollateralAmount",
743
+ "type": "uint96"
744
+ },
745
+ {
746
+ "internalType": "Amount",
747
+ "name": "totalCollateralAmount",
748
+ "type": "uint96"
749
+ }
750
+ ],
751
+ "stateMutability": "nonpayable",
752
+ "type": "function"
753
+ },
754
+ {
755
+ "inputs": [
756
+ {
757
+ "internalType": "NftId",
758
+ "name": "bundleNftId",
759
+ "type": "uint96"
760
+ },
761
+ {
762
+ "components": [
763
+ {
764
+ "internalType": "Amount",
765
+ "name": "productFeeAmount",
766
+ "type": "uint96"
767
+ },
768
+ {
769
+ "internalType": "Amount",
770
+ "name": "distributionFeeAndCommissionAmount",
771
+ "type": "uint96"
772
+ },
773
+ {
774
+ "internalType": "Amount",
775
+ "name": "poolPremiumAndFeeAmount",
776
+ "type": "uint96"
777
+ },
778
+ {
779
+ "internalType": "uint256",
780
+ "name": "netPremiumAmount",
781
+ "type": "uint256"
782
+ },
783
+ {
784
+ "internalType": "uint256",
785
+ "name": "fullPremiumAmount",
786
+ "type": "uint256"
787
+ },
788
+ {
789
+ "internalType": "uint256",
790
+ "name": "premiumAmount",
791
+ "type": "uint256"
792
+ },
793
+ {
794
+ "internalType": "uint256",
795
+ "name": "productFeeFixAmount",
796
+ "type": "uint256"
797
+ },
798
+ {
799
+ "internalType": "uint256",
800
+ "name": "poolFeeFixAmount",
801
+ "type": "uint256"
802
+ },
803
+ {
804
+ "internalType": "uint256",
805
+ "name": "bundleFeeFixAmount",
806
+ "type": "uint256"
807
+ },
808
+ {
809
+ "internalType": "uint256",
810
+ "name": "distributionFeeFixAmount",
811
+ "type": "uint256"
812
+ },
813
+ {
814
+ "internalType": "uint256",
815
+ "name": "productFeeVarAmount",
816
+ "type": "uint256"
817
+ },
818
+ {
819
+ "internalType": "uint256",
820
+ "name": "poolFeeVarAmount",
821
+ "type": "uint256"
822
+ },
823
+ {
824
+ "internalType": "uint256",
825
+ "name": "bundleFeeVarAmount",
826
+ "type": "uint256"
827
+ },
828
+ {
829
+ "internalType": "uint256",
830
+ "name": "distributionFeeVarAmount",
831
+ "type": "uint256"
832
+ },
833
+ {
834
+ "internalType": "uint256",
835
+ "name": "distributionOwnerFeeFixAmount",
836
+ "type": "uint256"
837
+ },
838
+ {
839
+ "internalType": "uint256",
840
+ "name": "distributionOwnerFeeVarAmount",
841
+ "type": "uint256"
842
+ },
843
+ {
844
+ "internalType": "uint256",
845
+ "name": "commissionAmount",
846
+ "type": "uint256"
847
+ },
848
+ {
849
+ "internalType": "uint256",
850
+ "name": "discountAmount",
851
+ "type": "uint256"
852
+ }
853
+ ],
854
+ "internalType": "struct IPolicy.Premium",
855
+ "name": "premium",
856
+ "type": "tuple"
857
+ }
858
+ ],
859
+ "name": "processSale",
860
+ "outputs": [],
861
+ "stateMutability": "nonpayable",
862
+ "type": "function"
863
+ },
864
+ {
865
+ "inputs": [
866
+ {
867
+ "internalType": "contract IInstance",
868
+ "name": "instance",
869
+ "type": "address"
870
+ },
871
+ {
872
+ "internalType": "NftId",
873
+ "name": "policyNftId",
874
+ "type": "uint96"
875
+ },
876
+ {
877
+ "components": [
878
+ {
879
+ "internalType": "NftId",
880
+ "name": "productNftId",
881
+ "type": "uint96"
882
+ },
883
+ {
884
+ "internalType": "NftId",
885
+ "name": "bundleNftId",
886
+ "type": "uint96"
887
+ },
888
+ {
889
+ "internalType": "ReferralId",
890
+ "name": "referralId",
891
+ "type": "bytes8"
892
+ },
893
+ {
894
+ "internalType": "RiskId",
895
+ "name": "riskId",
896
+ "type": "bytes8"
897
+ },
898
+ {
899
+ "internalType": "Amount",
900
+ "name": "sumInsuredAmount",
901
+ "type": "uint96"
902
+ },
903
+ {
904
+ "internalType": "Amount",
905
+ "name": "premiumAmount",
906
+ "type": "uint96"
907
+ },
908
+ {
909
+ "internalType": "Amount",
910
+ "name": "premiumPaidAmount",
911
+ "type": "uint96"
912
+ },
913
+ {
914
+ "internalType": "Seconds",
915
+ "name": "lifetime",
916
+ "type": "uint40"
917
+ },
918
+ {
919
+ "internalType": "bytes",
920
+ "name": "applicationData",
921
+ "type": "bytes"
922
+ },
923
+ {
924
+ "internalType": "bytes",
925
+ "name": "processData",
926
+ "type": "bytes"
927
+ },
928
+ {
929
+ "internalType": "uint16",
930
+ "name": "claimsCount",
931
+ "type": "uint16"
932
+ },
933
+ {
934
+ "internalType": "uint16",
935
+ "name": "openClaimsCount",
936
+ "type": "uint16"
937
+ },
938
+ {
939
+ "internalType": "Amount",
940
+ "name": "claimAmount",
941
+ "type": "uint96"
942
+ },
943
+ {
944
+ "internalType": "Amount",
945
+ "name": "payoutAmount",
946
+ "type": "uint96"
947
+ },
948
+ {
949
+ "internalType": "Timestamp",
950
+ "name": "activatedAt",
951
+ "type": "uint40"
952
+ },
953
+ {
954
+ "internalType": "Timestamp",
955
+ "name": "expiredAt",
956
+ "type": "uint40"
957
+ },
958
+ {
959
+ "internalType": "Timestamp",
960
+ "name": "closedAt",
961
+ "type": "uint40"
962
+ }
963
+ ],
964
+ "internalType": "struct IPolicy.PolicyInfo",
965
+ "name": "policyInfo",
966
+ "type": "tuple"
967
+ },
968
+ {
969
+ "internalType": "Amount",
970
+ "name": "payoutAmount",
971
+ "type": "uint96"
972
+ }
973
+ ],
974
+ "name": "reduceCollateral",
975
+ "outputs": [],
976
+ "stateMutability": "nonpayable",
977
+ "type": "function"
978
+ },
979
+ {
980
+ "inputs": [
981
+ {
982
+ "internalType": "bytes4",
983
+ "name": "interfaceId",
984
+ "type": "bytes4"
985
+ }
986
+ ],
987
+ "name": "registerInterface",
988
+ "outputs": [],
989
+ "stateMutability": "nonpayable",
990
+ "type": "function"
991
+ },
992
+ {
993
+ "inputs": [
994
+ {
995
+ "internalType": "contract IInstance",
996
+ "name": "instance",
997
+ "type": "address"
998
+ },
999
+ {
1000
+ "internalType": "NftId",
1001
+ "name": "policyNftId",
1002
+ "type": "uint96"
1003
+ },
1004
+ {
1005
+ "components": [
1006
+ {
1007
+ "internalType": "NftId",
1008
+ "name": "productNftId",
1009
+ "type": "uint96"
1010
+ },
1011
+ {
1012
+ "internalType": "NftId",
1013
+ "name": "bundleNftId",
1014
+ "type": "uint96"
1015
+ },
1016
+ {
1017
+ "internalType": "ReferralId",
1018
+ "name": "referralId",
1019
+ "type": "bytes8"
1020
+ },
1021
+ {
1022
+ "internalType": "RiskId",
1023
+ "name": "riskId",
1024
+ "type": "bytes8"
1025
+ },
1026
+ {
1027
+ "internalType": "Amount",
1028
+ "name": "sumInsuredAmount",
1029
+ "type": "uint96"
1030
+ },
1031
+ {
1032
+ "internalType": "Amount",
1033
+ "name": "premiumAmount",
1034
+ "type": "uint96"
1035
+ },
1036
+ {
1037
+ "internalType": "Amount",
1038
+ "name": "premiumPaidAmount",
1039
+ "type": "uint96"
1040
+ },
1041
+ {
1042
+ "internalType": "Seconds",
1043
+ "name": "lifetime",
1044
+ "type": "uint40"
1045
+ },
1046
+ {
1047
+ "internalType": "bytes",
1048
+ "name": "applicationData",
1049
+ "type": "bytes"
1050
+ },
1051
+ {
1052
+ "internalType": "bytes",
1053
+ "name": "processData",
1054
+ "type": "bytes"
1055
+ },
1056
+ {
1057
+ "internalType": "uint16",
1058
+ "name": "claimsCount",
1059
+ "type": "uint16"
1060
+ },
1061
+ {
1062
+ "internalType": "uint16",
1063
+ "name": "openClaimsCount",
1064
+ "type": "uint16"
1065
+ },
1066
+ {
1067
+ "internalType": "Amount",
1068
+ "name": "claimAmount",
1069
+ "type": "uint96"
1070
+ },
1071
+ {
1072
+ "internalType": "Amount",
1073
+ "name": "payoutAmount",
1074
+ "type": "uint96"
1075
+ },
1076
+ {
1077
+ "internalType": "Timestamp",
1078
+ "name": "activatedAt",
1079
+ "type": "uint40"
1080
+ },
1081
+ {
1082
+ "internalType": "Timestamp",
1083
+ "name": "expiredAt",
1084
+ "type": "uint40"
1085
+ },
1086
+ {
1087
+ "internalType": "Timestamp",
1088
+ "name": "closedAt",
1089
+ "type": "uint40"
1090
+ }
1091
+ ],
1092
+ "internalType": "struct IPolicy.PolicyInfo",
1093
+ "name": "policyInfo",
1094
+ "type": "tuple"
1095
+ }
1096
+ ],
1097
+ "name": "releaseCollateral",
1098
+ "outputs": [],
1099
+ "stateMutability": "nonpayable",
1100
+ "type": "function"
1101
+ },
1102
+ {
1103
+ "inputs": [
1104
+ {
1105
+ "internalType": "address",
1106
+ "name": "newAuthority",
1107
+ "type": "address"
1108
+ }
1109
+ ],
1110
+ "name": "setAuthority",
1111
+ "outputs": [],
1112
+ "stateMutability": "nonpayable",
1113
+ "type": "function"
1114
+ },
1115
+ {
1116
+ "inputs": [
1117
+ {
1118
+ "internalType": "RoleId",
1119
+ "name": "bundleOwnerRole",
1120
+ "type": "uint64"
1121
+ }
1122
+ ],
1123
+ "name": "setBundleOwnerRole",
1124
+ "outputs": [],
1125
+ "stateMutability": "nonpayable",
1126
+ "type": "function"
1127
+ },
1128
+ {
1129
+ "inputs": [
1130
+ {
1131
+ "components": [
1132
+ {
1133
+ "internalType": "UFixed",
1134
+ "name": "fractionalFee",
1135
+ "type": "uint256"
1136
+ },
1137
+ {
1138
+ "internalType": "uint256",
1139
+ "name": "fixedFee",
1140
+ "type": "uint256"
1141
+ }
1142
+ ],
1143
+ "internalType": "struct Fee",
1144
+ "name": "poolFee",
1145
+ "type": "tuple"
1146
+ },
1147
+ {
1148
+ "components": [
1149
+ {
1150
+ "internalType": "UFixed",
1151
+ "name": "fractionalFee",
1152
+ "type": "uint256"
1153
+ },
1154
+ {
1155
+ "internalType": "uint256",
1156
+ "name": "fixedFee",
1157
+ "type": "uint256"
1158
+ }
1159
+ ],
1160
+ "internalType": "struct Fee",
1161
+ "name": "stakingFee",
1162
+ "type": "tuple"
1163
+ },
1164
+ {
1165
+ "components": [
1166
+ {
1167
+ "internalType": "UFixed",
1168
+ "name": "fractionalFee",
1169
+ "type": "uint256"
1170
+ },
1171
+ {
1172
+ "internalType": "uint256",
1173
+ "name": "fixedFee",
1174
+ "type": "uint256"
1175
+ }
1176
+ ],
1177
+ "internalType": "struct Fee",
1178
+ "name": "performanceFee",
1179
+ "type": "tuple"
1180
+ }
1181
+ ],
1182
+ "name": "setFees",
1183
+ "outputs": [],
1184
+ "stateMutability": "nonpayable",
1185
+ "type": "function"
1186
+ },
1187
+ {
1188
+ "inputs": [
1189
+ {
1190
+ "internalType": "Amount",
1191
+ "name": "maxCapitalAmount",
1192
+ "type": "uint96"
1193
+ }
1194
+ ],
1195
+ "name": "setMaxCapitalAmount",
1196
+ "outputs": [],
1197
+ "stateMutability": "nonpayable",
1198
+ "type": "function"
1199
+ },
1200
+ {
1201
+ "inputs": [
1202
+ {
1203
+ "internalType": "bytes4",
1204
+ "name": "interfaceId",
1205
+ "type": "bytes4"
1206
+ }
1207
+ ],
1208
+ "name": "supportsInterface",
1209
+ "outputs": [
1210
+ {
1211
+ "internalType": "bool",
1212
+ "name": "",
1213
+ "type": "bool"
1214
+ }
1215
+ ],
1216
+ "stateMutability": "view",
1217
+ "type": "function"
1218
+ },
1219
+ {
1220
+ "inputs": [
1221
+ {
1222
+ "internalType": "bytes",
1223
+ "name": "data",
1224
+ "type": "bytes"
1225
+ }
1226
+ ],
1227
+ "name": "upgradeVersionable",
1228
+ "outputs": [],
1229
+ "stateMutability": "nonpayable",
1230
+ "type": "function"
1231
+ }
1232
+ ],
1233
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6144df80620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101f05760003560e01c80637738eb861161010f578063a3c26052116100a2578063bf7e214f11610071578063bf7e214f146104a6578063d0d63b09146104c4578063f7c34ee0146104d7578063fce06ca8146104ea57600080fd5b8063a3c260521461045c578063a8de51171461046f578063ada9652e14610482578063b68d18091461049757600080fd5b806384a710fa116100de57806384a710fa1461040d578063893d20e8146104205780638e32e979146104285780638fb360371461043b57600080fd5b80637738eb86146103c15780637a9e5e4b146103d45780637d42d397146103e757806382678766146103fa57600080fd5b806336fc697e11610187578063644c45e011610156578063644c45e014610353578063673ad94f14610385578063675393bf146103985780637225ed01146103ab57600080fd5b806336fc697e146102e0578063377a6db7146102e857806349bb9e4b1461031b5780635ab1bd531461032e57600080fd5b80631eff4b22116101c35780631eff4b2214610272578063214cdb80146102a757806327bb7a33146102ba578063329d6e74146102cd57600080fd5b806301ffc9a7146101f55780630d8e6e2c146102375780630fec111c14610253578063138461e014610268575b600080fd5b610222610203366004613164565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023f6104fd565b60405162ffffff909116815260200161022e565b61025b610587565b60405161022e91906131e5565b610270610718565b005b6102997f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161022e565b6102706102b5366004613164565b61091f565b6102706102c8366004613482565b61094c565b6102706102db36600461351a565b6109f1565b610270610b3f565b6102fb6102f636600461354e565b610b85565b604080516001600160601b0393841681529290911660208301520161022e565b6102706103293660046135bf565b610c75565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161022e565b60008051602061444a833981519152546001600160601b03165b6040516001600160601b03909116815260200161022e565b610270610393366004613604565b610d74565b6102706103a6366004613621565b610faf565b6102fb6103b936600461363e565b928392509050565b61036d6103cf3660046136c5565b6110bd565b6102706103e2366004613621565b611410565b6102706103f536600461377f565b6114aa565b6102706104083660046138a8565b61193d565b6102fb61041b3660046138ee565b611b13565b61033b611c16565b61027061043636600461392e565b611d4d565b610443611f86565b6040516001600160e01b0319909116815260200161022e565b61027061046a366004613983565b611fbe565b61027061047d366004613b44565b612245565b61029960008051602061444a83398151915281565b604051608c815260200161022e565b60008051602061446a833981519152546001600160a01b031661033b565b6102706104d2366004613604565b612333565b6102706104e5366004613ba5565b612461565b6102706104f8366004613bde565b6124d8565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af415801561055e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105829190613c52565b905090565b61058f613126565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610608573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061062c9190613c82565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610674611c16565b6001600160a01b0316815260200182600101805461069190613c9f565b80601f01602080910402602001604051908101604052809291908181526020018280546106bd90613c9f565b801561070a5780601f106106df5761010080835404028352916020019161070a565b820191906000526020600020905b8154815290600101906020018083116106ed57829003601f168201915b505050505081525091505090565b600060008051602061444a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610787573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ab9190613ce4565b156107dc5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306107ef6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610837573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061085b9190613ce4565b6108835760405163b9304b0d60e01b81526001600160a01b03821660048201526024016107d3565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa1580156108d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108fb9190613c82565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b61092761253f565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61095461253f565b61095e8287612461565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016109e78382613d4f565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610a136104fd565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610a53573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a779190613e19565b60008051602061448a8339815191528054600160401b900460ff1680610aaa575080546001600160401b03808416911610155b15610ac85760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610af283612578565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a1505050565b610b4761253f565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080610bf4876001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bc9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bed9190613e36565b8785611b13565b600254604051634adcf90960e01b81529294509092506001600160a01b031690634adcf90990610c2e908a90899089908890600401613e53565b600060405180830381600087803b158015610c4857600080fd5b505af1158015610c5c573d6000803e3d6000fd5b50505050610c6a8183612580565b509550959350505050565b60008051602061448a8339815191528054600160401b810460ff1615906001600160401b0316600081158015610ca85750825b90506000826001600160401b03166001148015610cc45750303b155b905081158015610cd2575080155b15610cf05760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610d1a57845460ff60401b1916600160401b1785555b610d248787612610565b8315610d6b57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b600080610d81608c6127e0565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610dc6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dea9190613e36565b60405163f0ea17c360e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa158015610e3d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e659190810190613ed5565b905060008160a00151806020019051810190610e819190613fd9565b604080820180516001600160601b038a169091528151631a99b41b60e31b81529151929350916001600160a01b0387169163d4cda0d89160048083019260209291908290030181865afa158015610edc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f009190613e36565b6001600160a01b031663763bb754878460ff6040518463ffffffff1660e01b8152600401610f30939291906140a9565b600060405180830381600087803b158015610f4a57600080fd5b505af1158015610f5e573d6000803e3d6000fd5b5050604080516001600160601b03808b16825280861660208301528b16918101919091527f15f0f748447bed1cb913d60c17d7d4a527d11df02aae753d4c2e07c88f2ec21592506060019050610d62565b610fb761253f565b806001600160a01b03163b600003610fed5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107d3565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263256dc24d60e21b60048201526301ffc9a790602401602060405180830381865afa925050508015611067575060408051601f3d908101601f1916820190925261106491810190613ce4565b60015b61108f5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107d3565b806110b85760405163fdeac91f60e01b81526001600160a01b03831660048201526024016107d3565b505b50565b600080806110cb608c6127e0565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611110573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111349190613e36565b905060008073__$58e11c6004c5796aaa8c56e718245e69a2$__639ed246ea61115d858861297c565b6040516001600160e01b031960e084901b1681528151600482015260209091015160248201526001600160601b038d1660448201526064016040805180830381865af41580156111b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d5919061418b565b91509150600260009054906101000a90046001600160a01b03166001600160a01b031663e283b4a985878f8f868f8f8f6040518963ffffffff1660e01b81526004016112289897969594939291906141ba565b6020604051808303816000875af1158015611247573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061126b9190613c82565b9550600360009054906101000a90046001600160a01b03166001600160a01b031663d56cd3d5856001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112f39190613e36565b878d866040518563ffffffff1660e01b81526004016113159493929190613e53565b600060405180830381600087803b15801561132f57600080fd5b505af1158015611343573d6000803e3d6000fd5b5050505061135383868e8d612a88565b7f0dcadf661b8b2888423f78a848a77785b4dc0138395b12584835f6a65dfcea79846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113d69190613c82565b604080516001600160601b03928316815282891660208201529189169082015260600160405180910390a150505050509695505050505050565b3361143060008051602061446a833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b03161461146b5760405162d1953b60e31b81526001600160a01b03821660048201526024016107d3565b816001600160a01b03163b6000036114a1576040516361798f2f60e11b81526001600160a01b03831660048201526024016107d3565b6110b882612c0b565b60006114be6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611511573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115399190810190614255565b60208101516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0384169063a48f42e090602401600060405180830381865afa158015611592573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115ba9190810190614255565b60208101516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0385169063a48f42e090602401600060405180830381865afa158015611613573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261163b9190810190614255565b9050600081608001519050600073__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd968861016001518960e001516116779190614327565b6040518263ffffffff1660e01b815260040161169591815260200190565b602060405180830381865af41580156116b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116d69190613c82565b9050600073__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd968961018001518a610100015161170a9190614327565b6040518263ffffffff1660e01b815260040161172891815260200190565b602060405180830381865af4158015611745573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117699190613c82565b9050600073__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd968a606001516040518263ffffffff1660e01b81526004016117aa91815260200190565b602060405180830381865af41580156117c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117eb9190613c82565b90506000846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561182d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118519190613e36565b60035488519192506001600160a01b03169063d56cd3d59083906118758688612c6c565b886040518563ffffffff1660e01b81526004016118959493929190613e53565b600060405180830381600087803b1580156118af57600080fd5b505af11580156118c3573d6000803e3d6000fd5b50506003548a516040516325e451d360e01b81526001600160a01b0390921693506325e451d392506118fe9185919087908990600401613e53565b600060405180830381600087803b15801561191857600080fd5b505af115801561192c573d6000803e3d6000fd5b505050505050505050505050505050565b60008061194a608c6127e0565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561198f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119b39190613e36565b6040516357f80bbf60e01b81526001600160601b03851660048201526001600160a01b0391909116906357f80bbf906024016101c060405180830381865afa158015611a03573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a279190613fd9565b9050858161010001819052508481610120018190525083816101400181905250816001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a85573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aa99190613e36565b6001600160a01b031663763bb754848360ff6040518463ffffffff1660e01b8152600401611ad9939291906140a9565b600060405180830381600087803b158015611af357600080fd5b505af1158015611b07573d6000803e3d6000fd5b50505050505050505050565b6040516302d764c760e21b81526001600160601b0383166004820152600090819081906001600160a01b03871690630b5d931c9060240161020060405180830381865afa158015611b68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b8c9190614348565b602001516040516357f80bbf60e01b81526001600160601b03821660048201529091506000906001600160a01b038816906357f80bbf906024016101c060405180830381865afa158015611be4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c089190613fd9565b509396879650945050505050565b60008060008051602061444a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611c86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611caa9190613ce4565b15611d37576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611d0d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d319190613e36565b91505090565b54600160601b90046001600160a01b0316919050565b611d5561253f565b611dd583846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dbb9190613c82565b603c6000856040518060200160405280600081525061094c565b6001600160a01b03821615611df257611ded82612cf4565b611f61565b6000611e066001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611e66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e8a91906143fd565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611ecf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ef39190613e36565b9050611f5f816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f5a9190613e36565b612cf4565b505b611f71634a531f3360e01b61091f565b611f8163b68d180960e01b61091f565b505050565b60008051602061446a833981519152805460009190600160a01b900460ff16611fb0576000611d31565b638fb3603760e01b91505090565b600080611fcb608c6127e0565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612010573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120349190613e36565b60405163f0ea17c360e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa158015612087573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526120af9190810190613ed5565b905060008160a001518060200190518101906120cb9190613fd9565b90506120ef81602001516120dd612d05565b6001600160401b039081169116141590565b156121185760405163eff765ff60e01b81526001600160601b03861660048201526024016107d3565b6001600160401b03861660208083019190915260408051631a99b41b60e31b815290516001600160a01b0387169263d4cda0d892600480820193918290030181865afa15801561216c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121909190613e36565b6001600160a01b031663763bb754868360ff6040518463ffffffff1660e01b81526004016121c0939291906140a9565b600060405180830381600087803b1580156121da57600080fd5b505af11580156121ee573d6000803e3d6000fd5b5050604080516001600160601b03891681526001600160401b038a1660208201527fe7e6a7a42cbdb2d274dfaaac06073a09d6095ca3745ce71fe5a137f8247ea23e935001905060405180910390a1505050505050565b600254602082015160808301516101808401516001600160a01b039093169263ad328d9f92879287926122789190612d82565b6040518563ffffffff1660e01b81526004016122979493929190613e53565b600060405180830381600087803b1580156122b157600080fd5b505af11580156122c5573d6000803e3d6000fd5b50506002546040516301d90a6f60e61b81526001600160a01b0387811660048301526001600160601b038716602483015290911692506376429bc09150604401600060405180830381600087803b15801561231f57600080fd5b505af1158015610d6b573d6000803e3d6000fd5b600080612340608c6127e0565b600254604051632aa6b2cb60e21b81526001600160a01b0380841660048301526001600160601b0389166024830152949650919450929092169163aa9acb2c9150604401600060405180830381600087803b15801561239e57600080fd5b505af11580156123b2573d6000803e3d6000fd5b505050507f64c75a4392ba38fee1b5a44b61e3dd0cae424d2d43eb2b0c99772efe31e1c042816001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612415573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124399190613c82565b604080516001600160601b039283168152828616602082015291861690820152606001610b32565b61246961253f565b61247281610faf565b61247a610b3f565b6001600160a01b0382166124a15760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061444a83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600254602083015160405163ad328d9f60e01b81526001600160a01b039092169163ad328d9f9161251191889188918790600401613e53565b600060405180830381600087803b15801561252b57600080fd5b505af11580156109e7573d6000803e3d6000fd5b60008051602061448a83398151915254600160401b900460ff1661257657604051631afcd79f60e31b815260040160405180910390fd5b565b6101f061253f565b604051632601631360e21b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__906398058c4c90604401602060405180830381865af41580156125e3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126079190613ce4565b90505b92915050565b60008051602061448a8339815191528054600160401b810460ff1615906001600160401b03166000811580156126435750825b90506000826001600160401b0316600114801561265f5750303b155b90508115801561266d575080155b1561268b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156126b557845460ff60401b1916600160401b1785555b600080878060200190518101906126cc919061441a565b90925090506126dd8260008b611d4d565b6126ec6028612dcd565b612dcd565b600580546001600160a01b0319166001600160a01b03929092169190911790556127176126e760dc90565b600280546001600160a01b0319166001600160a01b03929092169190911790556127426126e7604690565b600480546001600160a01b0319166001600160a01b039290921691909117905561276d6126e7606490565b600380546001600160a01b0319166001600160a01b039290921691909117905561279c629f590960e41b61091f565b50508315610d6b57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610d62565b60006127ea613126565b60006127fe6001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa158015612844573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128689190613c82565b92506128748385612eda565b8092508193505050806001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156128ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128de9190613e36565b6080830151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015612928573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061294c9190613ce4565b1561297557604051637d71120960e11b81526001600160601b03841660048201526024016107d3565b9193909250565b60408051808201909152600080825260208201526040516357f80bbf60e01b81526001600160601b03831660048201526000906001600160a01b038516906357f80bbf906024016101c060405180830381865afa1580156129e1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a059190613fd9565b516040516357f80bbf60e01b81526001600160601b03821660048201529091506001600160a01b038516906357f80bbf906024016101c060405180830381865afa158015612a57573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a7b9190613fd9565b6101200151949350505050565b60405163f0ea17c360e01b81526001600160601b03841660048201526000906001600160a01b0386169063f0ea17c390602401600060405180830381865afa158015612ad8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612b009190810190613ed5565b606081015160808201516040516330b8415f60e01b81526001600160601b0386166004820152929350909173__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af4158015612b67573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b8b9190613ce4565b15610d6b5760405163c661667d60e01b81526001600160a01b03868116600483015282811660248301526001600160601b038616604483015283169063c661667d90606401600060405180830381600087803b158015612bea57600080fd5b505af1158015612bfe573d6000803e3d6000fd5b5050505050505050505050565b60008051602061446a83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b60405163274acb3560e01b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb35906044015b602060405180830381865af4158015612cd0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126079190613c82565b612cfc61253f565b6110ba81613080565b6040516368aebf7b60e01b81526001600160401b03600482015260009073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af4158015612d5e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105829190613e19565b6040516363cf551160e11b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401612cb3565b6000612de16001546001600160a01b031690565b6001600160a01b031663d39e604383612df86104fd565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015612e4d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e7191906143fd565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612eb6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061260a9190613e36565b612ee2613126565b600080612ef76001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03871660048201529091506001600160a01b0382169063a48f42e090602401600060405180830381865afa158015612f47573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612f6f9190810190614255565b925060ff8416606414612fcd57604083015160ff858116911614612fc857604080840151905163b83d92cb60e01b81526001600160601b038716600482015260ff808716602483015290911660448201526064016107d3565b613069565b612fe88360400151612fdd606e90565b60ff90811691161490565b80612ffe5750612ffe8360400151612fdd608c90565b8061301457506130148360400151612fdd607890565b8061302a575061302a8360400151612fdd608290565b61306957604080840151905163b83d92cb60e01b81526001600160601b038716600482015260ff808716602483015290911660448201526064016107d3565b6130768360200151613091565b9150509250929050565b61308861253f565b6110ba81612c0b565b60006130a56001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156130f4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261311c9190810190614255565b6080015192915050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60006020828403121561317657600080fd5b81356001600160e01b03198116811461318e57600080fd5b9392505050565b60005b838110156131b0578181015183820152602001613198565b50506000910152565b600081518084526131d1816020860160208601613195565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161324e60c08401826001600160a01b03169052565b5060c083015160e0808401526132686101008401826131b9565b949350505050565b6001600160a01b03811681146110ba57600080fd5b6001600160601b03811681146110ba57600080fd5b80356132a581613285565b919050565b60ff811681146110ba57600080fd5b80151581146110ba57600080fd5b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b03811182821017156132ff576132ff6132c7565b60405290565b60405161024081016001600160401b03811182821017156132ff576132ff6132c7565b60405161022081016001600160401b03811182821017156132ff576132ff6132c7565b60405160c081016001600160401b03811182821017156132ff576132ff6132c7565b60405161016081016001600160401b03811182821017156132ff576132ff6132c7565b60405160e081016001600160401b03811182821017156132ff576132ff6132c7565b60405161012081016001600160401b03811182821017156132ff576132ff6132c7565b604051601f8201601f191681016001600160401b03811182821017156133fd576133fd6132c7565b604052919050565b60006001600160401b0382111561341e5761341e6132c7565b50601f01601f191660200190565b600082601f83011261343d57600080fd5b813561345061344b82613405565b6133d5565b81815284602083860101111561346557600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c0878903121561349b57600080fd5b86356134a681613270565b955060208701356134b681613285565b945060408701356134c6816132aa565b935060608701356134d6816132b9565b925060808701356134e681613270565b915060a08701356001600160401b0381111561350157600080fd5b61350d89828a0161342c565b9150509295509295509295565b60006020828403121561352c57600080fd5b81356001600160401b0381111561354257600080fd5b6132688482850161342c565b600080600080600060a0868803121561356657600080fd5b853561357181613270565b9450602086013561358181613285565b9350604086013561359181613285565b925060608601356135a181613285565b915060808601356135b181613285565b809150509295509295909350565b600080604083850312156135d257600080fd5b82356135dd81613270565b915060208301356001600160401b038111156135f857600080fd5b6130768582860161342c565b60006020828403121561361657600080fd5b813561318e81613285565b60006020828403121561363357600080fd5b813561318e81613270565b60008060006060848603121561365357600080fd5b8335925060208401359150604084013561366c81613285565b809150509250925092565b60006040828403121561368957600080fd5b6136916132dd565b9050813581526020820135602082015292915050565b64ffffffffff811681146110ba57600080fd5b80356132a5816136a7565b60008060008060008060c087890312156136de57600080fd5b86356136e981613270565b95506136f88860208901613677565b9450606087013561370881613285565b93506080870135613718816136a7565b925060a08701356001600160401b038082111561373457600080fd5b818901915089601f83011261374857600080fd5b81358181111561375757600080fd5b8a602082850101111561376957600080fd5b6020830194508093505050509295509295509295565b60008082840361026081121561379457600080fd5b833561379f81613285565b9250610240601f1982018113156137b557600080fd5b6137bd613305565b91506137cb6020860161329a565b82526137d96040860161329a565b60208301526137ea6060860161329a565b60408301526080850135606083015260a0850135608083015260c085013560a083015260e085013560c08301526101008086013560e084015261012080870135828501526101409150818701358185015250610160808701358285015261018091508187013581850152506101a080870135828501526101c091508187013581850152506101e08087013582850152610200915081870135818501525061022080870135828501528287013581850152505050809150509250929050565b600080600060c084860312156138bd57600080fd5b6138c78585613677565b92506138d68560408601613677565b91506138e58560808601613677565b90509250925092565b60008060006060848603121561390357600080fd5b833561390e81613270565b9250602084013561391e81613285565b9150604084013561366c81613285565b60008060006060848603121561394357600080fd5b833561394e81613270565b9250602084013561395e81613270565b9150604084013561366c81613270565b6001600160401b03811681146110ba57600080fd5b60006020828403121561399557600080fd5b813561318e8161396e565b80356001600160c01b0319811681146132a557600080fd5b803561ffff811681146132a557600080fd5b600061022082840312156139dd57600080fd5b6139e5613328565b90506139f08261329a565b81526139fe6020830161329a565b6020820152613a0f604083016139a0565b6040820152613a20606083016139a0565b6060820152613a316080830161329a565b6080820152613a4260a0830161329a565b60a0820152613a5360c0830161329a565b60c0820152613a6460e083016136ba565b60e0820152610100808301356001600160401b0380821115613a8557600080fd5b613a918683870161342c565b83850152610120925082850135915080821115613aad57600080fd5b50613aba8582860161342c565b828401525050610140613ace8184016139b8565b90820152610160613ae08382016139b8565b90820152610180613af283820161329a565b908201526101a0613b0483820161329a565b908201526101c0613b168382016136ba565b908201526101e0613b288382016136ba565b90820152610200613b3a8382016136ba565b9082015292915050565b600080600060608486031215613b5957600080fd5b8335613b6481613270565b92506020840135613b7481613285565b915060408401356001600160401b03811115613b8f57600080fd5b613b9b868287016139ca565b9150509250925092565b60008060408385031215613bb857600080fd5b8235613bc381613270565b91506020830135613bd381613270565b809150509250929050565b60008060008060808587031215613bf457600080fd5b8435613bff81613270565b93506020850135613c0f81613285565b925060408501356001600160401b03811115613c2a57600080fd5b613c36878288016139ca565b9250506060850135613c4781613285565b939692955090935050565b600060208284031215613c6457600080fd5b815162ffffff8116811461318e57600080fd5b80516132a581613285565b600060208284031215613c9457600080fd5b815161318e81613285565b600181811c90821680613cb357607f821691505b602082108103613cd357634e487b7160e01b600052602260045260246000fd5b50919050565b80516132a5816132b9565b600060208284031215613cf657600080fd5b815161318e816132b9565b601f821115611f8157600081815260208120601f850160051c81016020861015613d285750805b601f850160051c820191505b81811015613d4757828155600101613d34565b505050505050565b81516001600160401b03811115613d6857613d686132c7565b613d7c81613d768454613c9f565b84613d01565b602080601f831160018114613db15760008415613d995750858301515b600019600386901b1c1916600185901b178555613d47565b600085815260208120601f198616915b82811015613de057888601518255948401946001909101908401613dc1565b5085821015613dfe5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80516132a58161396e565b600060208284031215613e2b57600080fd5b815161318e8161396e565b600060208284031215613e4857600080fd5b815161318e81613270565b6001600160a01b039490941684526001600160601b039283166020850152908216604084015216606082015260800190565b600082601f830112613e9657600080fd5b8151613ea461344b82613405565b818152846020838601011115613eb957600080fd5b613268826020830160208701613195565b80516132a581613270565b600060208284031215613ee757600080fd5b81516001600160401b0380821115613efe57600080fd5b9083019060c08286031215613f1257600080fd5b613f1a61334b565b825182811115613f2957600080fd5b613f3587828601613e85565b825250613f4460208401613c77565b6020820152613f5560408401613eca565b6040820152613f6660608401613eca565b6060820152613f7760808401613eca565b608082015260a083015182811115613f8e57600080fd5b613f9a87828601613e85565b60a08301525095945050505050565b600060408284031215613fbb57600080fd5b613fc36132dd565b9050815181526020820151602082015292915050565b60006101c08284031215613fec57600080fd5b613ff461336d565b613ffd83613c77565b815261400b60208401613e0e565b602082015261401c60408401613c77565b604082015261402d60608401613cd9565b606082015261403e60808401613cd9565b608082015261404f60a08401613cd9565b60a082015260c083015160c082015260e083015160e082015261010061407785828601613fa9565b9082015261014061408a85858301613fa9565b61012083015261409e856101808601613fa9565b908201529392505050565b6001600160601b0384811682528351166020820152610200810160208401516001600160401b03811660408401525060408401516001600160601b0381166060840152506060840151801515608084015250608084015180151560a08401525060a084015180151560c08401525060c084015160e083015260e084015161010081818501528086015191505061012061414e8185018380518252602090810151910152565b850151805161016085015260209081015161018085015261014086015180516101a086015201516101c08401525060ff83166101e0830152613268565b6000806040838503121561419e57600080fd5b82516141a981613285565b6020840151909250613bd381613285565b6001600160a01b0389811682526001600160601b0389811660208401528882166040840152600091610100916141fd606086018b80518252602090810151910152565b881660a08501525064ffffffffff861660c084015260e0830181905282018390526101208385828501376000838501820152601f909301601f191690910190910198975050505050505050565b80516132a5816132aa565b60006020828403121561426757600080fd5b81516001600160401b038082111561427e57600080fd5b9083019060e0828603121561429257600080fd5b61429a613390565b6142a383613c77565b81526142b160208401613c77565b60208201526142c26040840161424a565b60408201526142d360608401613cd9565b60608201526142e460808401613eca565b60808201526142f560a08401613eca565b60a082015260c08301518281111561430c57600080fd5b61431887828601613e85565b60c08301525095945050505050565b8082018082111561260a57634e487b7160e01b600052601160045260246000fd5b6000610200828403121561435b57600080fd5b6143636133b2565b61436c83613c77565b815261437a60208401613c77565b602082015261438c8460408501613fa9565b604082015261439e8460808501613fa9565b60608201526143b08460c08501613fa9565b60808201526101006143c485828601613fa9565b60a08301526143d7856101408601613fa9565b60c08301526143ea856101808601613fa9565b60e083015261409e856101c08601613fa9565b60006020828403121561440f57600080fd5b815161318e816132aa565b6000806040838503121561442d57600080fd5b825161443881613270565b6020840151909250613bd38161327056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220cff45dac08615c0464e3797b0b00c00e04196b0f6e9c797dfe8e32cc1795076364736f6c63430008140033",
1234
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101f05760003560e01c80637738eb861161010f578063a3c26052116100a2578063bf7e214f11610071578063bf7e214f146104a6578063d0d63b09146104c4578063f7c34ee0146104d7578063fce06ca8146104ea57600080fd5b8063a3c260521461045c578063a8de51171461046f578063ada9652e14610482578063b68d18091461049757600080fd5b806384a710fa116100de57806384a710fa1461040d578063893d20e8146104205780638e32e979146104285780638fb360371461043b57600080fd5b80637738eb86146103c15780637a9e5e4b146103d45780637d42d397146103e757806382678766146103fa57600080fd5b806336fc697e11610187578063644c45e011610156578063644c45e014610353578063673ad94f14610385578063675393bf146103985780637225ed01146103ab57600080fd5b806336fc697e146102e0578063377a6db7146102e857806349bb9e4b1461031b5780635ab1bd531461032e57600080fd5b80631eff4b22116101c35780631eff4b2214610272578063214cdb80146102a757806327bb7a33146102ba578063329d6e74146102cd57600080fd5b806301ffc9a7146101f55780630d8e6e2c146102375780630fec111c14610253578063138461e014610268575b600080fd5b610222610203366004613164565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023f6104fd565b60405162ffffff909116815260200161022e565b61025b610587565b60405161022e91906131e5565b610270610718565b005b6102997f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161022e565b6102706102b5366004613164565b61091f565b6102706102c8366004613482565b61094c565b6102706102db36600461351a565b6109f1565b610270610b3f565b6102fb6102f636600461354e565b610b85565b604080516001600160601b0393841681529290911660208301520161022e565b6102706103293660046135bf565b610c75565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161022e565b60008051602061444a833981519152546001600160601b03165b6040516001600160601b03909116815260200161022e565b610270610393366004613604565b610d74565b6102706103a6366004613621565b610faf565b6102fb6103b936600461363e565b928392509050565b61036d6103cf3660046136c5565b6110bd565b6102706103e2366004613621565b611410565b6102706103f536600461377f565b6114aa565b6102706104083660046138a8565b61193d565b6102fb61041b3660046138ee565b611b13565b61033b611c16565b61027061043636600461392e565b611d4d565b610443611f86565b6040516001600160e01b0319909116815260200161022e565b61027061046a366004613983565b611fbe565b61027061047d366004613b44565b612245565b61029960008051602061444a83398151915281565b604051608c815260200161022e565b60008051602061446a833981519152546001600160a01b031661033b565b6102706104d2366004613604565b612333565b6102706104e5366004613ba5565b612461565b6102706104f8366004613bde565b6124d8565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af415801561055e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105829190613c52565b905090565b61058f613126565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610608573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061062c9190613c82565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610674611c16565b6001600160a01b0316815260200182600101805461069190613c9f565b80601f01602080910402602001604051908101604052809291908181526020018280546106bd90613c9f565b801561070a5780601f106106df5761010080835404028352916020019161070a565b820191906000526020600020905b8154815290600101906020018083116106ed57829003601f168201915b505050505081525091505090565b600060008051602061444a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610787573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ab9190613ce4565b156107dc5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306107ef6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610837573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061085b9190613ce4565b6108835760405163b9304b0d60e01b81526001600160a01b03821660048201526024016107d3565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa1580156108d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108fb9190613c82565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b61092761253f565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61095461253f565b61095e8287612461565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016109e78382613d4f565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610a136104fd565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610a53573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a779190613e19565b60008051602061448a8339815191528054600160401b900460ff1680610aaa575080546001600160401b03808416911610155b15610ac85760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610af283612578565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a1505050565b610b4761253f565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080610bf4876001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bc9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bed9190613e36565b8785611b13565b600254604051634adcf90960e01b81529294509092506001600160a01b031690634adcf90990610c2e908a90899089908890600401613e53565b600060405180830381600087803b158015610c4857600080fd5b505af1158015610c5c573d6000803e3d6000fd5b50505050610c6a8183612580565b509550959350505050565b60008051602061448a8339815191528054600160401b810460ff1615906001600160401b0316600081158015610ca85750825b90506000826001600160401b03166001148015610cc45750303b155b905081158015610cd2575080155b15610cf05760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610d1a57845460ff60401b1916600160401b1785555b610d248787612610565b8315610d6b57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b600080610d81608c6127e0565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610dc6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dea9190613e36565b60405163f0ea17c360e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa158015610e3d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e659190810190613ed5565b905060008160a00151806020019051810190610e819190613fd9565b604080820180516001600160601b038a169091528151631a99b41b60e31b81529151929350916001600160a01b0387169163d4cda0d89160048083019260209291908290030181865afa158015610edc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f009190613e36565b6001600160a01b031663763bb754878460ff6040518463ffffffff1660e01b8152600401610f30939291906140a9565b600060405180830381600087803b158015610f4a57600080fd5b505af1158015610f5e573d6000803e3d6000fd5b5050604080516001600160601b03808b16825280861660208301528b16918101919091527f15f0f748447bed1cb913d60c17d7d4a527d11df02aae753d4c2e07c88f2ec21592506060019050610d62565b610fb761253f565b806001600160a01b03163b600003610fed5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107d3565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263256dc24d60e21b60048201526301ffc9a790602401602060405180830381865afa925050508015611067575060408051601f3d908101601f1916820190925261106491810190613ce4565b60015b61108f5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107d3565b806110b85760405163fdeac91f60e01b81526001600160a01b03831660048201526024016107d3565b505b50565b600080806110cb608c6127e0565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611110573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111349190613e36565b905060008073__$58e11c6004c5796aaa8c56e718245e69a2$__639ed246ea61115d858861297c565b6040516001600160e01b031960e084901b1681528151600482015260209091015160248201526001600160601b038d1660448201526064016040805180830381865af41580156111b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d5919061418b565b91509150600260009054906101000a90046001600160a01b03166001600160a01b031663e283b4a985878f8f868f8f8f6040518963ffffffff1660e01b81526004016112289897969594939291906141ba565b6020604051808303816000875af1158015611247573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061126b9190613c82565b9550600360009054906101000a90046001600160a01b03166001600160a01b031663d56cd3d5856001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112f39190613e36565b878d866040518563ffffffff1660e01b81526004016113159493929190613e53565b600060405180830381600087803b15801561132f57600080fd5b505af1158015611343573d6000803e3d6000fd5b5050505061135383868e8d612a88565b7f0dcadf661b8b2888423f78a848a77785b4dc0138395b12584835f6a65dfcea79846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113d69190613c82565b604080516001600160601b03928316815282891660208201529189169082015260600160405180910390a150505050509695505050505050565b3361143060008051602061446a833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b03161461146b5760405162d1953b60e31b81526001600160a01b03821660048201526024016107d3565b816001600160a01b03163b6000036114a1576040516361798f2f60e11b81526001600160a01b03831660048201526024016107d3565b6110b882612c0b565b60006114be6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611511573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115399190810190614255565b60208101516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0384169063a48f42e090602401600060405180830381865afa158015611592573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115ba9190810190614255565b60208101516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0385169063a48f42e090602401600060405180830381865afa158015611613573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261163b9190810190614255565b9050600081608001519050600073__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd968861016001518960e001516116779190614327565b6040518263ffffffff1660e01b815260040161169591815260200190565b602060405180830381865af41580156116b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116d69190613c82565b9050600073__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd968961018001518a610100015161170a9190614327565b6040518263ffffffff1660e01b815260040161172891815260200190565b602060405180830381865af4158015611745573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117699190613c82565b9050600073__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd968a606001516040518263ffffffff1660e01b81526004016117aa91815260200190565b602060405180830381865af41580156117c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117eb9190613c82565b90506000846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561182d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118519190613e36565b60035488519192506001600160a01b03169063d56cd3d59083906118758688612c6c565b886040518563ffffffff1660e01b81526004016118959493929190613e53565b600060405180830381600087803b1580156118af57600080fd5b505af11580156118c3573d6000803e3d6000fd5b50506003548a516040516325e451d360e01b81526001600160a01b0390921693506325e451d392506118fe9185919087908990600401613e53565b600060405180830381600087803b15801561191857600080fd5b505af115801561192c573d6000803e3d6000fd5b505050505050505050505050505050565b60008061194a608c6127e0565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561198f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119b39190613e36565b6040516357f80bbf60e01b81526001600160601b03851660048201526001600160a01b0391909116906357f80bbf906024016101c060405180830381865afa158015611a03573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a279190613fd9565b9050858161010001819052508481610120018190525083816101400181905250816001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a85573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aa99190613e36565b6001600160a01b031663763bb754848360ff6040518463ffffffff1660e01b8152600401611ad9939291906140a9565b600060405180830381600087803b158015611af357600080fd5b505af1158015611b07573d6000803e3d6000fd5b50505050505050505050565b6040516302d764c760e21b81526001600160601b0383166004820152600090819081906001600160a01b03871690630b5d931c9060240161020060405180830381865afa158015611b68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b8c9190614348565b602001516040516357f80bbf60e01b81526001600160601b03821660048201529091506000906001600160a01b038816906357f80bbf906024016101c060405180830381865afa158015611be4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c089190613fd9565b509396879650945050505050565b60008060008051602061444a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611c86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611caa9190613ce4565b15611d37576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611d0d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d319190613e36565b91505090565b54600160601b90046001600160a01b0316919050565b611d5561253f565b611dd583846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dbb9190613c82565b603c6000856040518060200160405280600081525061094c565b6001600160a01b03821615611df257611ded82612cf4565b611f61565b6000611e066001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611e66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e8a91906143fd565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611ecf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ef39190613e36565b9050611f5f816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f5a9190613e36565b612cf4565b505b611f71634a531f3360e01b61091f565b611f8163b68d180960e01b61091f565b505050565b60008051602061446a833981519152805460009190600160a01b900460ff16611fb0576000611d31565b638fb3603760e01b91505090565b600080611fcb608c6127e0565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612010573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120349190613e36565b60405163f0ea17c360e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa158015612087573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526120af9190810190613ed5565b905060008160a001518060200190518101906120cb9190613fd9565b90506120ef81602001516120dd612d05565b6001600160401b039081169116141590565b156121185760405163eff765ff60e01b81526001600160601b03861660048201526024016107d3565b6001600160401b03861660208083019190915260408051631a99b41b60e31b815290516001600160a01b0387169263d4cda0d892600480820193918290030181865afa15801561216c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121909190613e36565b6001600160a01b031663763bb754868360ff6040518463ffffffff1660e01b81526004016121c0939291906140a9565b600060405180830381600087803b1580156121da57600080fd5b505af11580156121ee573d6000803e3d6000fd5b5050604080516001600160601b03891681526001600160401b038a1660208201527fe7e6a7a42cbdb2d274dfaaac06073a09d6095ca3745ce71fe5a137f8247ea23e935001905060405180910390a1505050505050565b600254602082015160808301516101808401516001600160a01b039093169263ad328d9f92879287926122789190612d82565b6040518563ffffffff1660e01b81526004016122979493929190613e53565b600060405180830381600087803b1580156122b157600080fd5b505af11580156122c5573d6000803e3d6000fd5b50506002546040516301d90a6f60e61b81526001600160a01b0387811660048301526001600160601b038716602483015290911692506376429bc09150604401600060405180830381600087803b15801561231f57600080fd5b505af1158015610d6b573d6000803e3d6000fd5b600080612340608c6127e0565b600254604051632aa6b2cb60e21b81526001600160a01b0380841660048301526001600160601b0389166024830152949650919450929092169163aa9acb2c9150604401600060405180830381600087803b15801561239e57600080fd5b505af11580156123b2573d6000803e3d6000fd5b505050507f64c75a4392ba38fee1b5a44b61e3dd0cae424d2d43eb2b0c99772efe31e1c042816001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612415573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124399190613c82565b604080516001600160601b039283168152828616602082015291861690820152606001610b32565b61246961253f565b61247281610faf565b61247a610b3f565b6001600160a01b0382166124a15760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061444a83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600254602083015160405163ad328d9f60e01b81526001600160a01b039092169163ad328d9f9161251191889188918790600401613e53565b600060405180830381600087803b15801561252b57600080fd5b505af11580156109e7573d6000803e3d6000fd5b60008051602061448a83398151915254600160401b900460ff1661257657604051631afcd79f60e31b815260040160405180910390fd5b565b6101f061253f565b604051632601631360e21b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__906398058c4c90604401602060405180830381865af41580156125e3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126079190613ce4565b90505b92915050565b60008051602061448a8339815191528054600160401b810460ff1615906001600160401b03166000811580156126435750825b90506000826001600160401b0316600114801561265f5750303b155b90508115801561266d575080155b1561268b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156126b557845460ff60401b1916600160401b1785555b600080878060200190518101906126cc919061441a565b90925090506126dd8260008b611d4d565b6126ec6028612dcd565b612dcd565b600580546001600160a01b0319166001600160a01b03929092169190911790556127176126e760dc90565b600280546001600160a01b0319166001600160a01b03929092169190911790556127426126e7604690565b600480546001600160a01b0319166001600160a01b039290921691909117905561276d6126e7606490565b600380546001600160a01b0319166001600160a01b039290921691909117905561279c629f590960e41b61091f565b50508315610d6b57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610d62565b60006127ea613126565b60006127fe6001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa158015612844573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128689190613c82565b92506128748385612eda565b8092508193505050806001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156128ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128de9190613e36565b6080830151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015612928573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061294c9190613ce4565b1561297557604051637d71120960e11b81526001600160601b03841660048201526024016107d3565b9193909250565b60408051808201909152600080825260208201526040516357f80bbf60e01b81526001600160601b03831660048201526000906001600160a01b038516906357f80bbf906024016101c060405180830381865afa1580156129e1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a059190613fd9565b516040516357f80bbf60e01b81526001600160601b03821660048201529091506001600160a01b038516906357f80bbf906024016101c060405180830381865afa158015612a57573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a7b9190613fd9565b6101200151949350505050565b60405163f0ea17c360e01b81526001600160601b03841660048201526000906001600160a01b0386169063f0ea17c390602401600060405180830381865afa158015612ad8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612b009190810190613ed5565b606081015160808201516040516330b8415f60e01b81526001600160601b0386166004820152929350909173__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af4158015612b67573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b8b9190613ce4565b15610d6b5760405163c661667d60e01b81526001600160a01b03868116600483015282811660248301526001600160601b038616604483015283169063c661667d90606401600060405180830381600087803b158015612bea57600080fd5b505af1158015612bfe573d6000803e3d6000fd5b5050505050505050505050565b60008051602061446a83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b60405163274acb3560e01b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb35906044015b602060405180830381865af4158015612cd0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126079190613c82565b612cfc61253f565b6110ba81613080565b6040516368aebf7b60e01b81526001600160401b03600482015260009073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af4158015612d5e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105829190613e19565b6040516363cf551160e11b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401612cb3565b6000612de16001546001600160a01b031690565b6001600160a01b031663d39e604383612df86104fd565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015612e4d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e7191906143fd565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612eb6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061260a9190613e36565b612ee2613126565b600080612ef76001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03871660048201529091506001600160a01b0382169063a48f42e090602401600060405180830381865afa158015612f47573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612f6f9190810190614255565b925060ff8416606414612fcd57604083015160ff858116911614612fc857604080840151905163b83d92cb60e01b81526001600160601b038716600482015260ff808716602483015290911660448201526064016107d3565b613069565b612fe88360400151612fdd606e90565b60ff90811691161490565b80612ffe5750612ffe8360400151612fdd608c90565b8061301457506130148360400151612fdd607890565b8061302a575061302a8360400151612fdd608290565b61306957604080840151905163b83d92cb60e01b81526001600160601b038716600482015260ff808716602483015290911660448201526064016107d3565b6130768360200151613091565b9150509250929050565b61308861253f565b6110ba81612c0b565b60006130a56001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156130f4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261311c9190810190614255565b6080015192915050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60006020828403121561317657600080fd5b81356001600160e01b03198116811461318e57600080fd5b9392505050565b60005b838110156131b0578181015183820152602001613198565b50506000910152565b600081518084526131d1816020860160208601613195565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161324e60c08401826001600160a01b03169052565b5060c083015160e0808401526132686101008401826131b9565b949350505050565b6001600160a01b03811681146110ba57600080fd5b6001600160601b03811681146110ba57600080fd5b80356132a581613285565b919050565b60ff811681146110ba57600080fd5b80151581146110ba57600080fd5b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b03811182821017156132ff576132ff6132c7565b60405290565b60405161024081016001600160401b03811182821017156132ff576132ff6132c7565b60405161022081016001600160401b03811182821017156132ff576132ff6132c7565b60405160c081016001600160401b03811182821017156132ff576132ff6132c7565b60405161016081016001600160401b03811182821017156132ff576132ff6132c7565b60405160e081016001600160401b03811182821017156132ff576132ff6132c7565b60405161012081016001600160401b03811182821017156132ff576132ff6132c7565b604051601f8201601f191681016001600160401b03811182821017156133fd576133fd6132c7565b604052919050565b60006001600160401b0382111561341e5761341e6132c7565b50601f01601f191660200190565b600082601f83011261343d57600080fd5b813561345061344b82613405565b6133d5565b81815284602083860101111561346557600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c0878903121561349b57600080fd5b86356134a681613270565b955060208701356134b681613285565b945060408701356134c6816132aa565b935060608701356134d6816132b9565b925060808701356134e681613270565b915060a08701356001600160401b0381111561350157600080fd5b61350d89828a0161342c565b9150509295509295509295565b60006020828403121561352c57600080fd5b81356001600160401b0381111561354257600080fd5b6132688482850161342c565b600080600080600060a0868803121561356657600080fd5b853561357181613270565b9450602086013561358181613285565b9350604086013561359181613285565b925060608601356135a181613285565b915060808601356135b181613285565b809150509295509295909350565b600080604083850312156135d257600080fd5b82356135dd81613270565b915060208301356001600160401b038111156135f857600080fd5b6130768582860161342c565b60006020828403121561361657600080fd5b813561318e81613285565b60006020828403121561363357600080fd5b813561318e81613270565b60008060006060848603121561365357600080fd5b8335925060208401359150604084013561366c81613285565b809150509250925092565b60006040828403121561368957600080fd5b6136916132dd565b9050813581526020820135602082015292915050565b64ffffffffff811681146110ba57600080fd5b80356132a5816136a7565b60008060008060008060c087890312156136de57600080fd5b86356136e981613270565b95506136f88860208901613677565b9450606087013561370881613285565b93506080870135613718816136a7565b925060a08701356001600160401b038082111561373457600080fd5b818901915089601f83011261374857600080fd5b81358181111561375757600080fd5b8a602082850101111561376957600080fd5b6020830194508093505050509295509295509295565b60008082840361026081121561379457600080fd5b833561379f81613285565b9250610240601f1982018113156137b557600080fd5b6137bd613305565b91506137cb6020860161329a565b82526137d96040860161329a565b60208301526137ea6060860161329a565b60408301526080850135606083015260a0850135608083015260c085013560a083015260e085013560c08301526101008086013560e084015261012080870135828501526101409150818701358185015250610160808701358285015261018091508187013581850152506101a080870135828501526101c091508187013581850152506101e08087013582850152610200915081870135818501525061022080870135828501528287013581850152505050809150509250929050565b600080600060c084860312156138bd57600080fd5b6138c78585613677565b92506138d68560408601613677565b91506138e58560808601613677565b90509250925092565b60008060006060848603121561390357600080fd5b833561390e81613270565b9250602084013561391e81613285565b9150604084013561366c81613285565b60008060006060848603121561394357600080fd5b833561394e81613270565b9250602084013561395e81613270565b9150604084013561366c81613270565b6001600160401b03811681146110ba57600080fd5b60006020828403121561399557600080fd5b813561318e8161396e565b80356001600160c01b0319811681146132a557600080fd5b803561ffff811681146132a557600080fd5b600061022082840312156139dd57600080fd5b6139e5613328565b90506139f08261329a565b81526139fe6020830161329a565b6020820152613a0f604083016139a0565b6040820152613a20606083016139a0565b6060820152613a316080830161329a565b6080820152613a4260a0830161329a565b60a0820152613a5360c0830161329a565b60c0820152613a6460e083016136ba565b60e0820152610100808301356001600160401b0380821115613a8557600080fd5b613a918683870161342c565b83850152610120925082850135915080821115613aad57600080fd5b50613aba8582860161342c565b828401525050610140613ace8184016139b8565b90820152610160613ae08382016139b8565b90820152610180613af283820161329a565b908201526101a0613b0483820161329a565b908201526101c0613b168382016136ba565b908201526101e0613b288382016136ba565b90820152610200613b3a8382016136ba565b9082015292915050565b600080600060608486031215613b5957600080fd5b8335613b6481613270565b92506020840135613b7481613285565b915060408401356001600160401b03811115613b8f57600080fd5b613b9b868287016139ca565b9150509250925092565b60008060408385031215613bb857600080fd5b8235613bc381613270565b91506020830135613bd381613270565b809150509250929050565b60008060008060808587031215613bf457600080fd5b8435613bff81613270565b93506020850135613c0f81613285565b925060408501356001600160401b03811115613c2a57600080fd5b613c36878288016139ca565b9250506060850135613c4781613285565b939692955090935050565b600060208284031215613c6457600080fd5b815162ffffff8116811461318e57600080fd5b80516132a581613285565b600060208284031215613c9457600080fd5b815161318e81613285565b600181811c90821680613cb357607f821691505b602082108103613cd357634e487b7160e01b600052602260045260246000fd5b50919050565b80516132a5816132b9565b600060208284031215613cf657600080fd5b815161318e816132b9565b601f821115611f8157600081815260208120601f850160051c81016020861015613d285750805b601f850160051c820191505b81811015613d4757828155600101613d34565b505050505050565b81516001600160401b03811115613d6857613d686132c7565b613d7c81613d768454613c9f565b84613d01565b602080601f831160018114613db15760008415613d995750858301515b600019600386901b1c1916600185901b178555613d47565b600085815260208120601f198616915b82811015613de057888601518255948401946001909101908401613dc1565b5085821015613dfe5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80516132a58161396e565b600060208284031215613e2b57600080fd5b815161318e8161396e565b600060208284031215613e4857600080fd5b815161318e81613270565b6001600160a01b039490941684526001600160601b039283166020850152908216604084015216606082015260800190565b600082601f830112613e9657600080fd5b8151613ea461344b82613405565b818152846020838601011115613eb957600080fd5b613268826020830160208701613195565b80516132a581613270565b600060208284031215613ee757600080fd5b81516001600160401b0380821115613efe57600080fd5b9083019060c08286031215613f1257600080fd5b613f1a61334b565b825182811115613f2957600080fd5b613f3587828601613e85565b825250613f4460208401613c77565b6020820152613f5560408401613eca565b6040820152613f6660608401613eca565b6060820152613f7760808401613eca565b608082015260a083015182811115613f8e57600080fd5b613f9a87828601613e85565b60a08301525095945050505050565b600060408284031215613fbb57600080fd5b613fc36132dd565b9050815181526020820151602082015292915050565b60006101c08284031215613fec57600080fd5b613ff461336d565b613ffd83613c77565b815261400b60208401613e0e565b602082015261401c60408401613c77565b604082015261402d60608401613cd9565b606082015261403e60808401613cd9565b608082015261404f60a08401613cd9565b60a082015260c083015160c082015260e083015160e082015261010061407785828601613fa9565b9082015261014061408a85858301613fa9565b61012083015261409e856101808601613fa9565b908201529392505050565b6001600160601b0384811682528351166020820152610200810160208401516001600160401b03811660408401525060408401516001600160601b0381166060840152506060840151801515608084015250608084015180151560a08401525060a084015180151560c08401525060c084015160e083015260e084015161010081818501528086015191505061012061414e8185018380518252602090810151910152565b850151805161016085015260209081015161018085015261014086015180516101a086015201516101c08401525060ff83166101e0830152613268565b6000806040838503121561419e57600080fd5b82516141a981613285565b6020840151909250613bd381613285565b6001600160a01b0389811682526001600160601b0389811660208401528882166040840152600091610100916141fd606086018b80518252602090810151910152565b881660a08501525064ffffffffff861660c084015260e0830181905282018390526101208385828501376000838501820152601f909301601f191690910190910198975050505050505050565b80516132a5816132aa565b60006020828403121561426757600080fd5b81516001600160401b038082111561427e57600080fd5b9083019060e0828603121561429257600080fd5b61429a613390565b6142a383613c77565b81526142b160208401613c77565b60208201526142c26040840161424a565b60408201526142d360608401613cd9565b60608201526142e460808401613eca565b60808201526142f560a08401613eca565b60a082015260c08301518281111561430c57600080fd5b61431887828601613e85565b60c08301525095945050505050565b8082018082111561260a57634e487b7160e01b600052601160045260246000fd5b6000610200828403121561435b57600080fd5b6143636133b2565b61436c83613c77565b815261437a60208401613c77565b602082015261438c8460408501613fa9565b604082015261439e8460808501613fa9565b60608201526143b08460c08501613fa9565b60808201526101006143c485828601613fa9565b60a08301526143d7856101408601613fa9565b60c08301526143ea856101808601613fa9565b60e083015261409e856101c08601613fa9565b60006020828403121561440f57600080fd5b815161318e816132aa565b6000806040838503121561442d57600080fd5b825161443881613270565b6020840151909250613bd38161327056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220cff45dac08615c0464e3797b0b00c00e04196b0f6e9c797dfe8e32cc1795076364736f6c63430008140033",
1235
+ "linkReferences": {
1236
+ "contracts/type/Amount.sol": {
1237
+ "AmountLib": [
1238
+ {
1239
+ "length": 20,
1240
+ "start": 5936
1241
+ },
1242
+ {
1243
+ "length": 20,
1244
+ "start": 6082
1245
+ },
1246
+ {
1247
+ "length": 20,
1248
+ "start": 6229
1249
+ },
1250
+ {
1251
+ "length": 20,
1252
+ "start": 9871
1253
+ },
1254
+ {
1255
+ "length": 20,
1256
+ "start": 11283
1257
+ },
1258
+ {
1259
+ "length": 20,
1260
+ "start": 11643
1261
+ },
1262
+ {
1263
+ "length": 20,
1264
+ "start": 11921
1265
+ }
1266
+ ]
1267
+ },
1268
+ "contracts/type/Fee.sol": {
1269
+ "FeeLib": [
1270
+ {
1271
+ "length": 20,
1272
+ "start": 4641
1273
+ }
1274
+ ]
1275
+ },
1276
+ "contracts/type/NftId.sol": {
1277
+ "NftIdLib": [
1278
+ {
1279
+ "length": 20,
1280
+ "start": 1703
1281
+ },
1282
+ {
1283
+ "length": 20,
1284
+ "start": 2099
1285
+ },
1286
+ {
1287
+ "length": 20,
1288
+ "start": 7474
1289
+ }
1290
+ ]
1291
+ },
1292
+ "contracts/type/RoleId.sol": {
1293
+ "RoleIdLib": [
1294
+ {
1295
+ "length": 20,
1296
+ "start": 11786
1297
+ }
1298
+ ]
1299
+ },
1300
+ "contracts/type/Version.sol": {
1301
+ "VersionLib": [
1302
+ {
1303
+ "length": 20,
1304
+ "start": 1546
1305
+ },
1306
+ {
1307
+ "length": 20,
1308
+ "start": 2777
1309
+ },
1310
+ {
1311
+ "length": 20,
1312
+ "start": 12025
1313
+ }
1314
+ ],
1315
+ "VersionPartLib": [
1316
+ {
1317
+ "length": 20,
1318
+ "start": 7954
1319
+ }
1320
+ ]
1321
+ }
1322
+ },
1323
+ "deployedLinkReferences": {
1324
+ "contracts/type/Amount.sol": {
1325
+ "AmountLib": [
1326
+ {
1327
+ "length": 20,
1328
+ "start": 5706
1329
+ },
1330
+ {
1331
+ "length": 20,
1332
+ "start": 5852
1333
+ },
1334
+ {
1335
+ "length": 20,
1336
+ "start": 5999
1337
+ },
1338
+ {
1339
+ "length": 20,
1340
+ "start": 9641
1341
+ },
1342
+ {
1343
+ "length": 20,
1344
+ "start": 11053
1345
+ },
1346
+ {
1347
+ "length": 20,
1348
+ "start": 11413
1349
+ },
1350
+ {
1351
+ "length": 20,
1352
+ "start": 11691
1353
+ }
1354
+ ]
1355
+ },
1356
+ "contracts/type/Fee.sol": {
1357
+ "FeeLib": [
1358
+ {
1359
+ "length": 20,
1360
+ "start": 4411
1361
+ }
1362
+ ]
1363
+ },
1364
+ "contracts/type/NftId.sol": {
1365
+ "NftIdLib": [
1366
+ {
1367
+ "length": 20,
1368
+ "start": 1473
1369
+ },
1370
+ {
1371
+ "length": 20,
1372
+ "start": 1869
1373
+ },
1374
+ {
1375
+ "length": 20,
1376
+ "start": 7244
1377
+ }
1378
+ ]
1379
+ },
1380
+ "contracts/type/RoleId.sol": {
1381
+ "RoleIdLib": [
1382
+ {
1383
+ "length": 20,
1384
+ "start": 11556
1385
+ }
1386
+ ]
1387
+ },
1388
+ "contracts/type/Version.sol": {
1389
+ "VersionLib": [
1390
+ {
1391
+ "length": 20,
1392
+ "start": 1316
1393
+ },
1394
+ {
1395
+ "length": 20,
1396
+ "start": 2547
1397
+ },
1398
+ {
1399
+ "length": 20,
1400
+ "start": 11795
1401
+ }
1402
+ ],
1403
+ "VersionPartLib": [
1404
+ {
1405
+ "length": 20,
1406
+ "start": 7724
1407
+ }
1408
+ ]
1409
+ }
1410
+ }
1411
+ }