@etherisc/gif-next 0.0.2-ceb30b2-601 → 0.0.2-cf22d7b-845

Sign up to get free protection for your applications and to get access to all the features.
Files changed (514) hide show
  1. package/README.md +2 -1
  2. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  3. package/artifacts/contracts/{components → distribution}/Distribution.sol/Distribution.json +239 -155
  4. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  5. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1349 -0
  6. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  7. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +818 -0
  8. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/{components → distribution}/IDistributionComponent.sol/IDistributionComponent.json +118 -99
  10. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  11. package/artifacts/contracts/{instance/service → distribution}/IDistributionService.sol/IDistributionService.json +39 -307
  12. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  13. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +6 -6
  14. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  15. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +254 -2310
  16. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  17. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +72 -22
  18. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  19. package/artifacts/contracts/instance/Instance.sol/Instance.json +397 -2818
  20. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  21. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +708 -0
  22. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
  23. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +204 -0
  24. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  25. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +507 -350
  26. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +147 -193
  28. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  29. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +113 -103
  30. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3458 -0
  32. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  33. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  34. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  35. package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +1 -1
  36. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  37. package/artifacts/contracts/instance/{ObjectManager.sol → base/ObjectManager.sol}/ObjectManager.json +3 -3
  38. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  39. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +8 -116
  40. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  41. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  42. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  43. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  44. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  45. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  46. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  47. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  48. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1105 -0
  49. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  50. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +746 -0
  51. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  52. package/artifacts/contracts/{instance/service → pool}/IBundleService.sol/IBundleService.json +45 -56
  53. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  54. package/artifacts/contracts/{components → pool}/IPoolComponent.sol/IPoolComponent.json +200 -97
  55. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  56. package/artifacts/contracts/{instance/service → pool}/IPoolService.sol/IPoolService.json +144 -156
  57. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  58. package/artifacts/contracts/{components → pool}/Pool.sol/Pool.json +305 -103
  59. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  60. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1432 -0
  61. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  62. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +738 -0
  63. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  64. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +834 -0
  65. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  66. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +722 -0
  67. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  68. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1278 -0
  69. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  70. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +810 -0
  71. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  72. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +499 -0
  73. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  74. package/artifacts/contracts/{instance/service → product}/IClaimService.sol/IClaimService.json +30 -2
  75. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  76. package/artifacts/contracts/{instance/service → product}/IPolicyService.sol/IPolicyService.json +127 -71
  77. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  78. package/artifacts/contracts/{instance/service/IApplicationService.sol/IApplicationService.json → product/IPricingService.sol/IPricingService.json} +53 -136
  79. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  80. package/artifacts/contracts/{components → product}/IProductComponent.sol/IProductComponent.json +284 -106
  81. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
  82. package/artifacts/contracts/{instance/service → product}/IProductService.sol/IProductService.json +1 -56
  83. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  84. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1146 -0
  85. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  86. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +754 -0
  87. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  88. package/artifacts/contracts/product/PricingService.sol/PricingService.json +983 -0
  89. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  90. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +778 -0
  91. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  92. package/artifacts/contracts/product/Product.sol/Product.json +1397 -0
  93. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
  94. package/artifacts/contracts/product/ProductService.sol/ProductService.json +679 -0
  95. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  96. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +694 -0
  97. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  98. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
  99. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  100. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +179 -29
  101. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  102. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +304 -52
  103. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  104. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  105. package/artifacts/contracts/registry/Registry.sol/Registry.json +415 -43
  106. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  107. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +407 -0
  108. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  109. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +337 -72
  110. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  111. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +93 -41
  112. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
  113. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +824 -91
  114. package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.dbg.json +4 -0
  115. package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.json +137 -0
  116. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  117. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +316 -140
  118. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.dbg.json +4 -0
  119. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.json +1193 -0
  120. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.dbg.json +4 -0
  121. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.json +1715 -0
  122. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.dbg.json +4 -0
  123. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.json +1728 -0
  124. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.dbg.json +4 -0
  125. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.json +1806 -0
  126. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.dbg.json +4 -0
  127. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.json +1824 -0
  128. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  129. package/artifacts/contracts/{components → shared}/Component.sol/Component.json +143 -76
  130. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  131. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1475 -0
  132. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  133. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +788 -0
  134. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  135. package/artifacts/contracts/{instance/base/ComponentService.sol/ComponentService.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +17 -122
  136. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  137. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
  138. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.dbg.json +4 -0
  139. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.json +1562 -0
  140. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.dbg.json +4 -0
  141. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.json +1600 -0
  142. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  143. package/artifacts/contracts/{components → shared}/IComponent.sol/IComponent.json +114 -75
  144. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  145. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +860 -0
  146. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  147. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +705 -0
  148. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  149. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +50 -11
  150. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  151. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +1 -1
  152. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  153. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +7 -1
  154. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  155. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +45 -3
  156. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  157. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +7 -1
  158. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  159. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  160. package/artifacts/contracts/shared/IService.sol/IService.json +7 -1
  161. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  162. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +4 -0
  163. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +39 -0
  164. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  165. package/artifacts/contracts/{components/Product.sol/Product.json → shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json} +170 -288
  166. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  167. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +571 -0
  168. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  169. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +194 -0
  170. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.dbg.json +4 -0
  171. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.json +306 -0
  172. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  173. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +15 -9
  174. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  175. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +56 -7
  176. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  177. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +70 -22
  178. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  179. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +23 -9
  180. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  181. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
  182. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  183. package/artifacts/contracts/shared/Service.sol/Service.json +7 -1
  184. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  185. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +60 -6
  186. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  187. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  188. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  189. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  190. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1438 -0
  191. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  192. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +993 -0
  193. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  194. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +444 -0
  195. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  196. package/artifacts/contracts/staking/Staking.sol/Staking.json +2045 -0
  197. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  198. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +777 -0
  199. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  200. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +592 -0
  201. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  202. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1324 -0
  203. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  204. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +726 -0
  205. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  206. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2189 -0
  207. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  208. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +571 -0
  209. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  210. package/artifacts/contracts/{types → type}/AddressSet.sol/LibAddressSet.json +3 -3
  211. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  212. package/artifacts/contracts/type/Amount.sol/AmountLib.json +345 -0
  213. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  214. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  215. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  216. package/artifacts/contracts/{types → type}/ClaimId.sol/ClaimIdLib.json +5 -5
  217. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  218. package/artifacts/contracts/{types → type}/DistributorType.sol/DistributorTypeLib.json +5 -5
  219. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  220. package/artifacts/contracts/type/Fee.sol/FeeLib.json +312 -0
  221. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  222. package/artifacts/contracts/{types → type}/Key32.sol/Key32Lib.json +3 -3
  223. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  224. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +209 -0
  225. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  226. package/artifacts/contracts/{types → type}/NftIdSet.sol/LibNftIdSet.json +3 -3
  227. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  228. package/artifacts/contracts/{types → type}/ObjectType.sol/ObjectTypeLib.json +3 -3
  229. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  230. package/artifacts/contracts/{types → type}/PayoutId.sol/PayoutIdLib.json +5 -5
  231. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  232. package/artifacts/contracts/{types → type}/Referral.sol/ReferralLib.json +5 -5
  233. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  234. package/artifacts/contracts/{types → type}/RiskId.sol/RiskIdLib.json +5 -5
  235. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  236. package/artifacts/contracts/{types → type}/RoleId.sol/RoleIdLib.json +5 -5
  237. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  238. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +198 -0
  239. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  240. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  241. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  242. package/artifacts/contracts/{types → type}/Timestamp.sol/TimestampLib.json +5 -5
  243. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  244. package/artifacts/contracts/{types → type}/UFixed.sol/MathLib.json +3 -3
  245. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  246. package/artifacts/contracts/{types → type}/UFixed.sol/UFixedLib.json +3 -3
  247. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  248. package/artifacts/contracts/{types → type}/Version.sol/VersionLib.json +3 -3
  249. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  250. package/artifacts/contracts/{types → type}/Version.sol/VersionPartLib.json +3 -3
  251. package/contracts/{components → distribution}/Distribution.sol +41 -64
  252. package/contracts/distribution/DistributionService.sol +298 -0
  253. package/contracts/distribution/DistributionServiceManager.sol +42 -0
  254. package/contracts/{components → distribution}/IDistributionComponent.sol +11 -16
  255. package/contracts/{instance/service → distribution}/IDistributionService.sol +19 -37
  256. package/contracts/instance/BundleManager.sol +5 -5
  257. package/contracts/instance/IInstance.sol +45 -70
  258. package/contracts/instance/IInstanceService.sol +29 -11
  259. package/contracts/instance/Instance.sol +112 -195
  260. package/contracts/instance/InstanceAdmin.sol +331 -0
  261. package/contracts/instance/InstanceAuthorizationsLib.sol +349 -0
  262. package/contracts/instance/InstanceReader.sol +106 -58
  263. package/contracts/instance/InstanceService.sol +166 -288
  264. package/contracts/instance/InstanceServiceManager.sol +11 -21
  265. package/contracts/instance/InstanceStore.sol +260 -0
  266. package/contracts/instance/base/BalanceStore.sol +118 -0
  267. package/contracts/instance/{Cloneable.sol → base/Cloneable.sol} +1 -1
  268. package/contracts/instance/{ObjectManager.sol → base/ObjectManager.sol} +6 -6
  269. package/contracts/instance/module/IAccess.sol +4 -12
  270. package/contracts/instance/module/IBundle.sol +6 -9
  271. package/contracts/instance/module/IComponents.sol +21 -10
  272. package/contracts/instance/module/IDistribution.sol +7 -6
  273. package/contracts/instance/module/IPolicy.sol +20 -14
  274. package/contracts/instance/module/IRisk.sol +1 -1
  275. package/contracts/{test/TestToken.sol → mock/Dip.sol} +5 -5
  276. package/contracts/pool/BundleService.sol +296 -0
  277. package/contracts/pool/BundleServiceManager.sol +42 -0
  278. package/contracts/{instance/service → pool}/IBundleService.sol +33 -29
  279. package/contracts/{components → pool}/IPoolComponent.sol +16 -17
  280. package/contracts/{instance/service → pool}/IPoolService.sol +57 -51
  281. package/contracts/{components → pool}/Pool.sol +52 -55
  282. package/contracts/pool/PoolService.sol +453 -0
  283. package/contracts/pool/PoolServiceManager.sol +42 -0
  284. package/contracts/product/ApplicationService.sol +254 -0
  285. package/contracts/{instance/service → product}/ApplicationServiceManager.sol +11 -8
  286. package/contracts/{instance/service → product}/ClaimService.sol +167 -86
  287. package/contracts/{instance/service → product}/ClaimServiceManager.sol +11 -8
  288. package/contracts/{instance/service → product}/IApplicationService.sol +13 -29
  289. package/contracts/{instance/service → product}/IClaimService.sol +18 -15
  290. package/contracts/{instance/service → product}/IPolicyService.sol +24 -26
  291. package/contracts/product/IPricingService.sol +39 -0
  292. package/contracts/product/IProductComponent.sol +42 -0
  293. package/contracts/product/IProductService.sol +33 -0
  294. package/contracts/product/PolicyService.sol +475 -0
  295. package/contracts/product/PolicyServiceManager.sol +42 -0
  296. package/contracts/product/PricingService.sol +301 -0
  297. package/contracts/product/PricingServiceManager.sol +42 -0
  298. package/contracts/{components → product}/Product.sol +83 -77
  299. package/contracts/product/ProductService.sol +124 -0
  300. package/contracts/product/ProductServiceManager.sol +42 -0
  301. package/contracts/registry/ChainNft.sol +8 -1
  302. package/contracts/registry/IRegistry.sol +44 -21
  303. package/contracts/registry/IRegistryService.sol +37 -34
  304. package/contracts/registry/Registry.sol +191 -82
  305. package/contracts/registry/RegistryAdmin.sol +237 -0
  306. package/contracts/registry/RegistryService.sol +66 -82
  307. package/contracts/registry/RegistryServiceManager.sol +21 -25
  308. package/contracts/registry/ReleaseManager.sol +458 -183
  309. package/contracts/registry/ServiceAuthorizationsLib.sol +173 -0
  310. package/contracts/registry/TokenRegistry.sol +261 -62
  311. package/contracts/shared/AccessManagerCustom.sol +736 -0
  312. package/contracts/shared/AccessManagerExtended.sol +470 -0
  313. package/contracts/shared/AccessManagerExtendedInitializeable.sol +13 -0
  314. package/contracts/shared/AccessManagerExtendedWithDisable.sol +137 -0
  315. package/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol +14 -0
  316. package/contracts/shared/Component.sol +278 -0
  317. package/contracts/shared/ComponentService.sol +596 -0
  318. package/contracts/shared/ComponentServiceManager.sol +35 -0
  319. package/contracts/shared/ComponentVerifyingService.sol +111 -0
  320. package/contracts/shared/ERC165.sol +1 -1
  321. package/contracts/shared/IAccessManagerExtended.sol +74 -0
  322. package/contracts/shared/IAccessManagerExtendedWithDisable.sol +18 -0
  323. package/contracts/{components → shared}/IComponent.sol +23 -29
  324. package/contracts/shared/IComponentService.sol +91 -0
  325. package/contracts/shared/IInstanceLinkedComponent.sol +46 -0
  326. package/contracts/{instance/base → shared}/IKeyValueStore.sol +15 -11
  327. package/contracts/{instance/base → shared}/ILifecycle.sol +3 -3
  328. package/contracts/shared/INftOwnable.sol +2 -2
  329. package/contracts/shared/IPolicyHolder.sol +14 -7
  330. package/contracts/shared/IService.sol +2 -2
  331. package/contracts/shared/IVersionable.sol +1 -1
  332. package/contracts/shared/InitializableCustom.sol +177 -0
  333. package/contracts/shared/InstanceLinkedComponent.sol +144 -0
  334. package/contracts/shared/KeyValueStore.sol +127 -0
  335. package/contracts/{instance/base → shared}/Lifecycle.sol +9 -5
  336. package/contracts/shared/NftIdSetManager.sol +65 -0
  337. package/contracts/shared/NftOwnable.sol +3 -14
  338. package/contracts/shared/PolicyHolder.sol +32 -17
  339. package/contracts/shared/ProxyManager.sol +34 -4
  340. package/contracts/shared/Registerable.sol +3 -3
  341. package/contracts/shared/Service.sol +9 -4
  342. package/contracts/shared/TokenHandler.sol +27 -2
  343. package/contracts/shared/Versionable.sol +1 -1
  344. package/contracts/staking/IStaking.sol +168 -0
  345. package/contracts/staking/IStakingService.sol +149 -0
  346. package/contracts/staking/StakeManagerLib.sol +179 -0
  347. package/contracts/staking/Staking.sol +551 -0
  348. package/contracts/staking/StakingManager.sol +54 -0
  349. package/contracts/staking/StakingReader.sol +187 -0
  350. package/contracts/staking/StakingService.sol +406 -0
  351. package/contracts/staking/StakingServiceManager.sol +45 -0
  352. package/contracts/staking/StakingStore.sol +572 -0
  353. package/contracts/staking/TargetManagerLib.sol +207 -0
  354. package/contracts/{types → type}/AddressSet.sol +1 -1
  355. package/contracts/{types → type}/Amount.sol +59 -1
  356. package/contracts/{types → type}/Blocknumber.sol +20 -3
  357. package/contracts/{types → type}/Fee.sol +24 -22
  358. package/contracts/{types → type}/NftId.sol +14 -16
  359. package/contracts/{types → type}/NftIdSet.sol +2 -2
  360. package/contracts/{types → type}/ObjectType.sol +15 -3
  361. package/contracts/{types → type}/Referral.sol +1 -1
  362. package/contracts/{types → type}/RiskId.sol +1 -1
  363. package/contracts/{types → type}/RoleId.sol +55 -9
  364. package/contracts/{types → type}/Seconds.sol +27 -0
  365. package/contracts/{types → type}/StateId.sol +17 -4
  366. package/contracts/{types → type}/Version.sol +1 -1
  367. package/package.json +3 -3
  368. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  369. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  370. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
  371. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  372. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  373. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  374. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  375. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  376. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  377. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  378. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  379. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  380. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1330
  381. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  382. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
  383. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  384. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  385. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  386. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -532
  387. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  388. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -194
  389. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  390. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.json +0 -10
  391. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  392. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
  393. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +0 -4
  394. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +0 -1092
  395. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +0 -4
  396. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +0 -672
  397. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  398. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1313
  399. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  400. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -712
  401. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +0 -4
  402. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +0 -1316
  403. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +0 -4
  404. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +0 -724
  405. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  406. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -1798
  407. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  408. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -780
  409. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +0 -4
  410. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  411. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +0 -4
  412. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  413. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  414. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  415. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  416. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  417. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1153
  418. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  419. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -676
  420. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  421. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -1598
  422. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  423. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -696
  424. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  425. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -864
  426. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  427. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -640
  428. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  429. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  430. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  431. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  432. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  433. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  434. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  435. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -370
  436. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  437. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  438. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  439. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -588
  440. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  441. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  442. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  443. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  444. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  445. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -104
  446. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  447. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  448. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  449. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +0 -4
  450. package/artifacts/contracts/types/Amount.sol/AmountLib.json +0 -209
  451. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  452. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  453. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  454. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  455. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +0 -4
  456. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  457. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  458. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -288
  459. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  460. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  461. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -166
  462. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  463. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  464. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  465. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  466. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +0 -4
  467. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  468. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  469. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  470. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +0 -4
  471. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +0 -124
  472. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  473. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  474. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  475. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  476. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  477. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  478. package/contracts/components/Component.sol +0 -253
  479. package/contracts/components/IProductComponent.sol +0 -40
  480. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -13
  481. package/contracts/instance/InstanceAccessManager.sol +0 -527
  482. package/contracts/instance/base/ComponentService.sol +0 -130
  483. package/contracts/instance/base/KeyValueStore.sol +0 -149
  484. package/contracts/instance/module/ISetup.sol +0 -33
  485. package/contracts/instance/module/ITreasury.sol +0 -23
  486. package/contracts/instance/service/ApplicationService.sol +0 -356
  487. package/contracts/instance/service/BundleService.sol +0 -443
  488. package/contracts/instance/service/BundleServiceManager.sol +0 -51
  489. package/contracts/instance/service/DistributionService.sol +0 -431
  490. package/contracts/instance/service/DistributionServiceManager.sol +0 -51
  491. package/contracts/instance/service/IProductService.sol +0 -40
  492. package/contracts/instance/service/PolicyService.sol +0 -358
  493. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  494. package/contracts/instance/service/PoolService.sol +0 -349
  495. package/contracts/instance/service/PoolServiceManager.sol +0 -51
  496. package/contracts/instance/service/ProductService.sol +0 -210
  497. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  498. package/contracts/registry/RegistryAccessManager.sol +0 -216
  499. package/contracts/shared/ContractDeployerLib.sol +0 -72
  500. package/contracts/test/TestFee.sol +0 -25
  501. package/contracts/test/TestRegisterable.sol +0 -18
  502. package/contracts/test/TestRoleId.sol +0 -14
  503. package/contracts/test/TestService.sol +0 -25
  504. package/contracts/test/TestVersion.sol +0 -44
  505. package/contracts/test/TestVersionable.sol +0 -17
  506. package/contracts/test/Usdc.sol +0 -26
  507. package/contracts/types/ChainId.sol +0 -38
  508. package/contracts/types/NumberId.sol +0 -52
  509. /package/contracts/{types → type}/ClaimId.sol +0 -0
  510. /package/contracts/{types → type}/DistributorType.sol +0 -0
  511. /package/contracts/{types → type}/Key32.sol +0 -0
  512. /package/contracts/{types → type}/PayoutId.sol +0 -0
  513. /package/contracts/{types → type}/Timestamp.sol +0 -0
  514. /package/contracts/{types → type}/UFixed.sol +0 -0
@@ -0,0 +1,1432 @@
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
+ {
708
+ "internalType": "NftId",
709
+ "name": "nftId",
710
+ "type": "uint96"
711
+ }
712
+ ],
713
+ "stateMutability": "nonpayable",
714
+ "type": "function"
715
+ },
716
+ {
717
+ "inputs": [
718
+ {
719
+ "internalType": "contract IInstance",
720
+ "name": "instance",
721
+ "type": "address"
722
+ },
723
+ {
724
+ "internalType": "address",
725
+ "name": "token",
726
+ "type": "address"
727
+ },
728
+ {
729
+ "internalType": "NftId",
730
+ "name": "productNftId",
731
+ "type": "uint96"
732
+ },
733
+ {
734
+ "internalType": "NftId",
735
+ "name": "applicationNftId",
736
+ "type": "uint96"
737
+ },
738
+ {
739
+ "internalType": "NftId",
740
+ "name": "bundleNftId",
741
+ "type": "uint96"
742
+ },
743
+ {
744
+ "internalType": "Amount",
745
+ "name": "sumInsuredAmount",
746
+ "type": "uint96"
747
+ }
748
+ ],
749
+ "name": "lockCollateral",
750
+ "outputs": [
751
+ {
752
+ "internalType": "Amount",
753
+ "name": "localCollateralAmount",
754
+ "type": "uint96"
755
+ },
756
+ {
757
+ "internalType": "Amount",
758
+ "name": "totalCollateralAmount",
759
+ "type": "uint96"
760
+ }
761
+ ],
762
+ "stateMutability": "nonpayable",
763
+ "type": "function"
764
+ },
765
+ {
766
+ "inputs": [
767
+ {
768
+ "internalType": "NftId",
769
+ "name": "bundleNftId",
770
+ "type": "uint96"
771
+ },
772
+ {
773
+ "components": [
774
+ {
775
+ "internalType": "Amount",
776
+ "name": "productFeeAmount",
777
+ "type": "uint96"
778
+ },
779
+ {
780
+ "internalType": "Amount",
781
+ "name": "distributionFeeAndCommissionAmount",
782
+ "type": "uint96"
783
+ },
784
+ {
785
+ "internalType": "Amount",
786
+ "name": "poolPremiumAndFeeAmount",
787
+ "type": "uint96"
788
+ },
789
+ {
790
+ "internalType": "uint256",
791
+ "name": "netPremiumAmount",
792
+ "type": "uint256"
793
+ },
794
+ {
795
+ "internalType": "uint256",
796
+ "name": "fullPremiumAmount",
797
+ "type": "uint256"
798
+ },
799
+ {
800
+ "internalType": "uint256",
801
+ "name": "premiumAmount",
802
+ "type": "uint256"
803
+ },
804
+ {
805
+ "internalType": "uint256",
806
+ "name": "productFeeFixAmount",
807
+ "type": "uint256"
808
+ },
809
+ {
810
+ "internalType": "uint256",
811
+ "name": "poolFeeFixAmount",
812
+ "type": "uint256"
813
+ },
814
+ {
815
+ "internalType": "uint256",
816
+ "name": "bundleFeeFixAmount",
817
+ "type": "uint256"
818
+ },
819
+ {
820
+ "internalType": "uint256",
821
+ "name": "distributionFeeFixAmount",
822
+ "type": "uint256"
823
+ },
824
+ {
825
+ "internalType": "uint256",
826
+ "name": "productFeeVarAmount",
827
+ "type": "uint256"
828
+ },
829
+ {
830
+ "internalType": "uint256",
831
+ "name": "poolFeeVarAmount",
832
+ "type": "uint256"
833
+ },
834
+ {
835
+ "internalType": "uint256",
836
+ "name": "bundleFeeVarAmount",
837
+ "type": "uint256"
838
+ },
839
+ {
840
+ "internalType": "uint256",
841
+ "name": "distributionFeeVarAmount",
842
+ "type": "uint256"
843
+ },
844
+ {
845
+ "internalType": "uint256",
846
+ "name": "distributionOwnerFeeFixAmount",
847
+ "type": "uint256"
848
+ },
849
+ {
850
+ "internalType": "uint256",
851
+ "name": "distributionOwnerFeeVarAmount",
852
+ "type": "uint256"
853
+ },
854
+ {
855
+ "internalType": "uint256",
856
+ "name": "commissionAmount",
857
+ "type": "uint256"
858
+ },
859
+ {
860
+ "internalType": "uint256",
861
+ "name": "discountAmount",
862
+ "type": "uint256"
863
+ }
864
+ ],
865
+ "internalType": "struct IPolicy.Premium",
866
+ "name": "premium",
867
+ "type": "tuple"
868
+ }
869
+ ],
870
+ "name": "processSale",
871
+ "outputs": [],
872
+ "stateMutability": "nonpayable",
873
+ "type": "function"
874
+ },
875
+ {
876
+ "inputs": [
877
+ {
878
+ "internalType": "contract IInstance",
879
+ "name": "instance",
880
+ "type": "address"
881
+ },
882
+ {
883
+ "internalType": "address",
884
+ "name": "token",
885
+ "type": "address"
886
+ },
887
+ {
888
+ "internalType": "NftId",
889
+ "name": "policyNftId",
890
+ "type": "uint96"
891
+ },
892
+ {
893
+ "components": [
894
+ {
895
+ "internalType": "NftId",
896
+ "name": "productNftId",
897
+ "type": "uint96"
898
+ },
899
+ {
900
+ "internalType": "NftId",
901
+ "name": "bundleNftId",
902
+ "type": "uint96"
903
+ },
904
+ {
905
+ "internalType": "ReferralId",
906
+ "name": "referralId",
907
+ "type": "bytes8"
908
+ },
909
+ {
910
+ "internalType": "RiskId",
911
+ "name": "riskId",
912
+ "type": "bytes8"
913
+ },
914
+ {
915
+ "internalType": "Amount",
916
+ "name": "sumInsuredAmount",
917
+ "type": "uint96"
918
+ },
919
+ {
920
+ "internalType": "Amount",
921
+ "name": "premiumAmount",
922
+ "type": "uint96"
923
+ },
924
+ {
925
+ "internalType": "Amount",
926
+ "name": "premiumPaidAmount",
927
+ "type": "uint96"
928
+ },
929
+ {
930
+ "internalType": "Seconds",
931
+ "name": "lifetime",
932
+ "type": "uint40"
933
+ },
934
+ {
935
+ "internalType": "bytes",
936
+ "name": "applicationData",
937
+ "type": "bytes"
938
+ },
939
+ {
940
+ "internalType": "bytes",
941
+ "name": "processData",
942
+ "type": "bytes"
943
+ },
944
+ {
945
+ "internalType": "uint16",
946
+ "name": "claimsCount",
947
+ "type": "uint16"
948
+ },
949
+ {
950
+ "internalType": "uint16",
951
+ "name": "openClaimsCount",
952
+ "type": "uint16"
953
+ },
954
+ {
955
+ "internalType": "Amount",
956
+ "name": "claimAmount",
957
+ "type": "uint96"
958
+ },
959
+ {
960
+ "internalType": "Amount",
961
+ "name": "payoutAmount",
962
+ "type": "uint96"
963
+ },
964
+ {
965
+ "internalType": "Timestamp",
966
+ "name": "activatedAt",
967
+ "type": "uint40"
968
+ },
969
+ {
970
+ "internalType": "Timestamp",
971
+ "name": "expiredAt",
972
+ "type": "uint40"
973
+ },
974
+ {
975
+ "internalType": "Timestamp",
976
+ "name": "closedAt",
977
+ "type": "uint40"
978
+ }
979
+ ],
980
+ "internalType": "struct IPolicy.PolicyInfo",
981
+ "name": "policyInfo",
982
+ "type": "tuple"
983
+ },
984
+ {
985
+ "internalType": "Amount",
986
+ "name": "payoutAmount",
987
+ "type": "uint96"
988
+ }
989
+ ],
990
+ "name": "reduceCollateral",
991
+ "outputs": [],
992
+ "stateMutability": "nonpayable",
993
+ "type": "function"
994
+ },
995
+ {
996
+ "inputs": [
997
+ {
998
+ "internalType": "bytes4",
999
+ "name": "interfaceId",
1000
+ "type": "bytes4"
1001
+ }
1002
+ ],
1003
+ "name": "registerInterface",
1004
+ "outputs": [],
1005
+ "stateMutability": "nonpayable",
1006
+ "type": "function"
1007
+ },
1008
+ {
1009
+ "inputs": [
1010
+ {
1011
+ "internalType": "contract IInstance",
1012
+ "name": "instance",
1013
+ "type": "address"
1014
+ },
1015
+ {
1016
+ "internalType": "address",
1017
+ "name": "token",
1018
+ "type": "address"
1019
+ },
1020
+ {
1021
+ "internalType": "NftId",
1022
+ "name": "policyNftId",
1023
+ "type": "uint96"
1024
+ },
1025
+ {
1026
+ "components": [
1027
+ {
1028
+ "internalType": "NftId",
1029
+ "name": "productNftId",
1030
+ "type": "uint96"
1031
+ },
1032
+ {
1033
+ "internalType": "NftId",
1034
+ "name": "bundleNftId",
1035
+ "type": "uint96"
1036
+ },
1037
+ {
1038
+ "internalType": "ReferralId",
1039
+ "name": "referralId",
1040
+ "type": "bytes8"
1041
+ },
1042
+ {
1043
+ "internalType": "RiskId",
1044
+ "name": "riskId",
1045
+ "type": "bytes8"
1046
+ },
1047
+ {
1048
+ "internalType": "Amount",
1049
+ "name": "sumInsuredAmount",
1050
+ "type": "uint96"
1051
+ },
1052
+ {
1053
+ "internalType": "Amount",
1054
+ "name": "premiumAmount",
1055
+ "type": "uint96"
1056
+ },
1057
+ {
1058
+ "internalType": "Amount",
1059
+ "name": "premiumPaidAmount",
1060
+ "type": "uint96"
1061
+ },
1062
+ {
1063
+ "internalType": "Seconds",
1064
+ "name": "lifetime",
1065
+ "type": "uint40"
1066
+ },
1067
+ {
1068
+ "internalType": "bytes",
1069
+ "name": "applicationData",
1070
+ "type": "bytes"
1071
+ },
1072
+ {
1073
+ "internalType": "bytes",
1074
+ "name": "processData",
1075
+ "type": "bytes"
1076
+ },
1077
+ {
1078
+ "internalType": "uint16",
1079
+ "name": "claimsCount",
1080
+ "type": "uint16"
1081
+ },
1082
+ {
1083
+ "internalType": "uint16",
1084
+ "name": "openClaimsCount",
1085
+ "type": "uint16"
1086
+ },
1087
+ {
1088
+ "internalType": "Amount",
1089
+ "name": "claimAmount",
1090
+ "type": "uint96"
1091
+ },
1092
+ {
1093
+ "internalType": "Amount",
1094
+ "name": "payoutAmount",
1095
+ "type": "uint96"
1096
+ },
1097
+ {
1098
+ "internalType": "Timestamp",
1099
+ "name": "activatedAt",
1100
+ "type": "uint40"
1101
+ },
1102
+ {
1103
+ "internalType": "Timestamp",
1104
+ "name": "expiredAt",
1105
+ "type": "uint40"
1106
+ },
1107
+ {
1108
+ "internalType": "Timestamp",
1109
+ "name": "closedAt",
1110
+ "type": "uint40"
1111
+ }
1112
+ ],
1113
+ "internalType": "struct IPolicy.PolicyInfo",
1114
+ "name": "policyInfo",
1115
+ "type": "tuple"
1116
+ }
1117
+ ],
1118
+ "name": "releaseCollateral",
1119
+ "outputs": [],
1120
+ "stateMutability": "nonpayable",
1121
+ "type": "function"
1122
+ },
1123
+ {
1124
+ "inputs": [
1125
+ {
1126
+ "internalType": "address",
1127
+ "name": "newAuthority",
1128
+ "type": "address"
1129
+ }
1130
+ ],
1131
+ "name": "setAuthority",
1132
+ "outputs": [],
1133
+ "stateMutability": "nonpayable",
1134
+ "type": "function"
1135
+ },
1136
+ {
1137
+ "inputs": [
1138
+ {
1139
+ "internalType": "RoleId",
1140
+ "name": "bundleOwnerRole",
1141
+ "type": "uint64"
1142
+ }
1143
+ ],
1144
+ "name": "setBundleOwnerRole",
1145
+ "outputs": [],
1146
+ "stateMutability": "nonpayable",
1147
+ "type": "function"
1148
+ },
1149
+ {
1150
+ "inputs": [
1151
+ {
1152
+ "components": [
1153
+ {
1154
+ "internalType": "UFixed",
1155
+ "name": "fractionalFee",
1156
+ "type": "uint256"
1157
+ },
1158
+ {
1159
+ "internalType": "uint256",
1160
+ "name": "fixedFee",
1161
+ "type": "uint256"
1162
+ }
1163
+ ],
1164
+ "internalType": "struct Fee",
1165
+ "name": "poolFee",
1166
+ "type": "tuple"
1167
+ },
1168
+ {
1169
+ "components": [
1170
+ {
1171
+ "internalType": "UFixed",
1172
+ "name": "fractionalFee",
1173
+ "type": "uint256"
1174
+ },
1175
+ {
1176
+ "internalType": "uint256",
1177
+ "name": "fixedFee",
1178
+ "type": "uint256"
1179
+ }
1180
+ ],
1181
+ "internalType": "struct Fee",
1182
+ "name": "stakingFee",
1183
+ "type": "tuple"
1184
+ },
1185
+ {
1186
+ "components": [
1187
+ {
1188
+ "internalType": "UFixed",
1189
+ "name": "fractionalFee",
1190
+ "type": "uint256"
1191
+ },
1192
+ {
1193
+ "internalType": "uint256",
1194
+ "name": "fixedFee",
1195
+ "type": "uint256"
1196
+ }
1197
+ ],
1198
+ "internalType": "struct Fee",
1199
+ "name": "performanceFee",
1200
+ "type": "tuple"
1201
+ }
1202
+ ],
1203
+ "name": "setFees",
1204
+ "outputs": [],
1205
+ "stateMutability": "nonpayable",
1206
+ "type": "function"
1207
+ },
1208
+ {
1209
+ "inputs": [
1210
+ {
1211
+ "internalType": "Amount",
1212
+ "name": "maxCapitalAmount",
1213
+ "type": "uint96"
1214
+ }
1215
+ ],
1216
+ "name": "setMaxCapitalAmount",
1217
+ "outputs": [],
1218
+ "stateMutability": "nonpayable",
1219
+ "type": "function"
1220
+ },
1221
+ {
1222
+ "inputs": [
1223
+ {
1224
+ "internalType": "bytes4",
1225
+ "name": "interfaceId",
1226
+ "type": "bytes4"
1227
+ }
1228
+ ],
1229
+ "name": "supportsInterface",
1230
+ "outputs": [
1231
+ {
1232
+ "internalType": "bool",
1233
+ "name": "",
1234
+ "type": "bool"
1235
+ }
1236
+ ],
1237
+ "stateMutability": "view",
1238
+ "type": "function"
1239
+ },
1240
+ {
1241
+ "inputs": [
1242
+ {
1243
+ "internalType": "bytes",
1244
+ "name": "data",
1245
+ "type": "bytes"
1246
+ }
1247
+ ],
1248
+ "name": "upgradeVersionable",
1249
+ "outputs": [],
1250
+ "stateMutability": "nonpayable",
1251
+ "type": "function"
1252
+ }
1253
+ ],
1254
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b61487180620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101f05760003560e01c80637738eb861161010f5780638fb36037116100a2578063b68d180911610071578063b68d1809146104ac578063bf7e214f146104bb578063d0d63b09146104c3578063f7c34ee0146104d657600080fd5b80638fb3603714610450578063a3c2605214610471578063a5f4c73114610484578063ada9652e1461049757600080fd5b806384a710fa116100de57806384a710fa1461040f57806384d1f7cf14610422578063893d20e8146104355780638e32e9791461043d57600080fd5b80637738eb86146103c35780637a9e5e4b146103d65780637d42d397146103e957806382678766146103fc57600080fd5b8063329d6e7411610187578063644c45e011610156578063644c45e01461034b578063673ad94f14610369578063675393bf1461037a5780637225ed011461038d57600080fd5b8063329d6e74146102f857806336fc697e1461030b57806349bb9e4b146103135780635ab1bd531461032657600080fd5b80631ddb9757116101c35780631ddb9757146102885780631eff4b221461029d578063214cdb80146102d257806327bb7a33146102e557600080fd5b806301ffc9a7146101f55780630d8e6e2c146102375780630fec111c14610253578063138461e014610268575b600080fd5b6102226102033660046133c9565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023f6104e9565b60405162ffffff909116815260200161022e565b61025b610573565b60405161022e9190613443565b610270610704565b6040516001600160601b03909116815260200161022e565b61029b610296366004613885565b61070f565b005b6102c47f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161022e565b61029b6102e03660046133c9565b610896565b61029b6102f336600461392b565b6108c3565b61029b6103063660046139c3565b610968565b61029b610ab6565b61029b6103213660046139f7565b610afc565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161022e565b6000805160206147dc833981519152546001600160601b0316610270565b61029b610377366004613a3c565b50565b61029b610388366004613a59565b610bfb565b6103a361039b366004613a76565b928392509050565b604080516001600160601b0393841681529290911660208301520161022e565b6102706103d1366004613adf565b610d0d565b61029b6103e4366004613a59565b611060565b61029b6103f7366004613b99565b6110e3565b61029b61040a366004613cc2565b61157f565b6103a361041d366004613d08565b611755565b6103a3610430366004613d48565b611858565b610333611a5a565b61029b61044b366004613dca565b611b91565b610458611dca565b6040516001600160e01b0319909116815260200161022e565b61029b61047f366004613e1f565b611e02565b61029b610492366004613e3c565b612089565b6102c46000805160206147dc83398151915281565b604051608c815260200161022e565b610333612156565b61029b6104d1366004613a3c565b612172565b61029b6104e4366004613eb0565b6122a0565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af415801561054a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061056e9190613ee9565b905090565b61057b61338b565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156105f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106189190613f19565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610660611a5a565b6001600160a01b0316815260200182600101805461067d90613f36565b80601f01602080910402602001604051908101604052809291908181526020018280546106a990613f36565b80156106f65780601f106106cb576101008083540402835291602001916106f6565b820191906000526020600020905b8154815290600101906020018083116106d957829003601f168201915b505050505081525091505090565b600061056e30612317565b61071c335b600036612518565b600254602083015160405163ad328d9f60e01b81526001600160a01b039092169163ad328d9f9161075591899188918790600401613f70565b600060405180830381600087803b15801561076f57600080fd5b505af1158015610783573d6000803e3d6000fd5b50505050600660009054906101000a90046001600160a01b03166001600160a01b031663d44f8a4b866001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080d9190613f19565b6040516001600160e01b031960e084901b1681526001600160601b0391821660048201526001600160a01b038816602482015290841660448201526064016020604051808303816000875af115801561086a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061088e9190613f19565b505050505050565b61089e612616565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6108cb612616565b6108d582876122a0565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30161095e8382613fe8565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c61098a6104e9565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156109ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ee91906140b2565b60008051602061481c8339815191528054600160401b900460ff1680610a21575080546001600160401b03808416911610155b15610a3f5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610a698361264f565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a1505050565b610abe612616565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b60008051602061481c8339815191528054600160401b810460ff1615906001600160401b0316600081158015610b2f5750825b90506000826001600160401b03166001148015610b4b5750303b155b905081158015610b59575080155b15610b775760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610ba157845460ff60401b1916600160401b1785555b610bab8787612657565b8315610bf257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610c03612616565b806001600160a01b03163b600003610c3e5760405163fdeac91f60e01b81526001600160a01b03821660048201526024015b60405180910390fd5b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263e607072160e01b60048201526301ffc9a790602401602060405180830381865afa925050508015610cb8575060408051601f3d908101601f19168201909252610cb5918101906140da565b60015b610ce05760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610c35565b80610d095760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610c35565b5050565b60008080610d1b608c6128a8565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d8491906140f7565b905060008073__$58e11c6004c5796aaa8c56e718245e69a2$__639ed246ea610dad8588612a45565b6040516001600160e01b031960e084901b1681528151600482015260209091015160248201526001600160601b038d1660448201526064016040805180830381865af4158015610e01573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e259190614114565b91509150600260009054906101000a90046001600160a01b03166001600160a01b031663e283b4a985878f8f868f8f8f6040518963ffffffff1660e01b8152600401610e7898979695949392919061416c565b6020604051808303816000875af1158015610e97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ebb9190613f19565b9550600360009054906101000a90046001600160a01b03166001600160a01b031663d56cd3d5856001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f1f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f4391906140f7565b878d866040518563ffffffff1660e01b8152600401610f659493929190613f70565b600060405180830381600087803b158015610f7f57600080fd5b505af1158015610f93573d6000803e3d6000fd5b50505050610fa383868e8d612b53565b7f0dcadf661b8b2888423f78a848a77785b4dc0138395b12584835f6a65dfcea79846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611002573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110269190613f19565b604080516001600160601b03928316815282891660208201529189169082015260600160405180910390a150505050509695505050505050565b33611069612156565b6001600160a01b0316816001600160a01b0316146110a45760405162d1953b60e31b81526001600160a01b0382166004820152602401610c35565b816001600160a01b03163b6000036110da576040516361798f2f60e11b81526001600160a01b0383166004820152602401610c35565b610d0982612cd6565b6110ec33610714565b60006111006001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611153573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261117b9190810190614242565b60208101516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0384169063a48f42e090602401600060405180830381865afa1580156111d4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111fc9190810190614242565b60208101516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0385169063a48f42e090602401600060405180830381865afa158015611255573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261127d9190810190614242565b9050600081608001519050600073__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd968861016001518960e001516112b99190614314565b6040518263ffffffff1660e01b81526004016112d791815260200190565b602060405180830381865af41580156112f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113189190613f19565b9050600073__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd968961018001518a610100015161134c9190614314565b6040518263ffffffff1660e01b815260040161136a91815260200190565b602060405180830381865af4158015611387573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ab9190613f19565b9050600073__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd968a606001516040518263ffffffff1660e01b81526004016113ec91815260200190565b602060405180830381865af4158015611409573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061142d9190613f19565b90506000846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561146f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061149391906140f7565b60035488519192506001600160a01b03169063d56cd3d59083906114b78688612d37565b886040518563ffffffff1660e01b81526004016114d79493929190613f70565b600060405180830381600087803b1580156114f157600080fd5b505af1158015611505573d6000803e3d6000fd5b50506003548a516040516325e451d360e01b81526001600160a01b0390921693506325e451d392506115409185919087908990600401613f70565b600060405180830381600087803b15801561155a57600080fd5b505af115801561156e573d6000803e3d6000fd5b505050505050505050505050505050565b60008061158c608c6128a8565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115f591906140f7565b6040516357f80bbf60e01b81526001600160601b03851660048201526001600160a01b0391909116906357f80bbf906024016101c060405180830381865afa158015611645573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116699190614365565b9050858161010001819052508481610120018190525083816101400181905250816001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116eb91906140f7565b6001600160a01b031663763bb754848360ff6040518463ffffffff1660e01b815260040161171b93929190614435565b600060405180830381600087803b15801561173557600080fd5b505af1158015611749573d6000803e3d6000fd5b50505050505050505050565b6040516302d764c760e21b81526001600160601b0383166004820152600090819081906001600160a01b03871690630b5d931c9060240161020060405180830381865afa1580156117aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117ce9190614517565b602001516040516357f80bbf60e01b81526001600160601b03821660048201529091506000906001600160a01b038816906357f80bbf906024016101c060405180830381865afa158015611826573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061184a9190614365565b509396879650945050505050565b60008061186433610714565b6118d0886001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118c991906140f7565b8785611755565b600254604051634adcf90960e01b81529294509092506001600160a01b031690634adcf9099061190a908b90899089908890600401613f70565b600060405180830381600087803b15801561192457600080fd5b505af1158015611938573d6000803e3d6000fd5b50505050600660009054906101000a90046001600160a01b03166001600160a01b031663ea48ce9b896001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561199e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119c29190613f19565b6040516001600160e01b031960e084901b1681526001600160601b0391821660048201526001600160a01b038b16602482015290841660448201526064016020604051808303816000875af1158015611a1f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a439190613f19565b50611a4e8183612dc6565b50965096945050505050565b6000806000805160206147dc83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611aca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aee91906140da565b15611b7b576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611b51573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b7591906140f7565b91505090565b54600160601b90046001600160a01b0316919050565b611b99612616565b611c1983846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611bdb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bff9190613f19565b603c600085604051806020016040528060008152506108c3565b6001600160a01b03821615611c3657611c3182612e4d565b611da5565b6000611c4a6001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611caa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cce91906145cc565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611d13573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d3791906140f7565b9050611da3816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d7a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d9e91906140f7565b612e4d565b505b611db5634a531f3360e01b610896565b611dc563b68d180960e01b610896565b505050565b6000805160206147fc833981519152805460009190600160a01b900460ff16611df4576000611b75565b638fb3603760e01b91505090565b600080611e0f608c6128a8565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e7891906140f7565b60405163f0ea17c360e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa158015611ecb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ef391908101906145e9565b905060008160a00151806020019051810190611f0f9190614365565b9050611f338160200151611f21612e5e565b6001600160401b039081169116141590565b15611f5c5760405163eff765ff60e01b81526001600160601b0386166004820152602401610c35565b6001600160401b03861660208083019190915260408051631a99b41b60e31b815290516001600160a01b0387169263d4cda0d892600480820193918290030181865afa158015611fb0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fd491906140f7565b6001600160a01b031663763bb754868360ff6040518463ffffffff1660e01b815260040161200493929190614435565b600060405180830381600087803b15801561201e57600080fd5b505af1158015612032573d6000803e3d6000fd5b5050604080516001600160601b03891681526001600160401b038a1660208201527fe7e6a7a42cbdb2d274dfaaac06073a09d6095ca3745ce71fe5a137f8247ea23e935001905060405180910390a1505050505050565b61209233610714565b60006120a78260800151836101800151612edb565b600254602084015160405163ad328d9f60e01b81529293506001600160a01b039091169163ad328d9f916120e391899188918790600401613f70565b600060405180830381600087803b1580156120fd57600080fd5b505af1158015612111573d6000803e3d6000fd5b50506002546040516301d90a6f60e61b81526001600160a01b0389811660048301526001600160601b038816602483015290911692506376429bc09150604401610755565b6000805160206147fc833981519152546001600160a01b031690565b60008061217f608c6128a8565b600254604051632aa6b2cb60e21b81526001600160a01b0380841660048301526001600160601b0389166024830152949650919450929092169163aa9acb2c9150604401600060405180830381600087803b1580156121dd57600080fd5b505af11580156121f1573d6000803e3d6000fd5b505050507f64c75a4392ba38fee1b5a44b61e3dd0cae424d2d43eb2b0c99772efe31e1c042816001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612254573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122789190613f19565b604080516001600160601b039283168152828616602082015291861690820152606001610aa9565b6122a8612616565b6122b181610bfb565b6122b9610ab6565b6001600160a01b0382166122e05760405163f17ef42d60e01b815260040160405180910390fd5b506000805160206147dc83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6000806000805160206147dc83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612387573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123ab91906140da565b156123d75780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610c35565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561242b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061244f91906140da565b6124775760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610c35565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa1580156124cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124ef9190613f19565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b6000805160206147fc833981519152600080612553612535612156565b8730612545600460008a8c6146bd565b61254e916146e7565b612f26565b915091508161088e5763ffffffff8116156125f357825460ff60a01b1916600160a01b178355612581612156565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016125b093929190614717565b600060405180830381600087803b1580156125ca57600080fd5b505af11580156125de573d6000803e3d6000fd5b5050845460ff60a01b191685555061088e9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610c35565b60008051602061481c83398151915254600160401b900460ff1661264d57604051631afcd79f60e31b815260040160405180910390fd5b565b6101f0612616565b60008051602061481c8339815191528054600160401b810460ff1615906001600160401b031660008115801561268a5750825b90506000826001600160401b031660011480156126a65750303b155b9050811580156126b4575080155b156126d25760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156126fc57845460ff60401b1916600160401b1785555b600080878060200190518101906127139190614745565b925050915061272382828b611b91565b6127326028613032565b613032565b600580546001600160a01b0319166001600160a01b039290921691909117905561275d61272d60dc90565b600280546001600160a01b0319166001600160a01b039290921691909117905561278861272d604690565b600480546001600160a01b0319166001600160a01b03929092169190911790556127b361272d606490565b600380546001600160a01b0319166001600160a01b03928316179055600154166001600160a01b0316630e9ed68b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612810573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061283491906140f7565b600680546001600160a01b0319166001600160a01b039290921691909117905561286463564f673160e01b610896565b50508315610bf257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610be9565b60006128b261338b565b60006128c66001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa15801561290c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129309190613f19565b925061293c838561313f565b8092508193505050806001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015612982573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129a691906140f7565b608083015160405163a166aa8960e01b81526001600160a01b03918216600482015291169063a166aa8990602401602060405180830381865afa1580156129f1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a1591906140da565b15612a3e57604051637d71120960e11b81526001600160601b0384166004820152602401610c35565b9193909250565b60408051808201909152600080825260208201526040516357f80bbf60e01b81526001600160601b03831660048201526000906001600160a01b038516906357f80bbf906024016101c060405180830381865afa158015612aaa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ace9190614365565b516040516357f80bbf60e01b81526001600160601b03821660048201529091506001600160a01b038516906357f80bbf906024016101c060405180830381865afa158015612b20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b449190614365565b61012001519150505b92915050565b60405163f0ea17c360e01b81526001600160601b03841660048201526000906001600160a01b0386169063f0ea17c390602401600060405180830381865afa158015612ba3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612bcb91908101906145e9565b606081015160808201516040516330b8415f60e01b81526001600160601b0386166004820152929350909173__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af4158015612c32573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c5691906140da565b15610bf25760405163c661667d60e01b81526001600160a01b03868116600483015282811660248301526001600160601b038616604483015283169063c661667d90606401600060405180830381600087803b158015612cb557600080fd5b505af1158015612cc9573d6000803e3d6000fd5b5050505050505050505050565b6000805160206147fc83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b60405163274acb3560e01b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb35906044015b602060405180830381865af4158015612d9b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dbf9190613f19565b9392505050565b604051632601631360e21b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__906398058c4c90604401602060405180830381865af4158015612e29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dbf91906140da565b612e55612616565b610377816132e5565b6040516368aebf7b60e01b81526001600160401b03600482015260009073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af4158015612eb7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061056e91906140b2565b6040516363cf551160e11b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401612d7e565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251612f959190614787565b600060405180830381855afa9150503d8060008114612fd0576040519150601f19603f3d011682016040523d82523d6000602084013e612fd5565b606091505b509150915081156130275760408151106130075780806020019051810190612ffd91906147a3565b9094509250613027565b6020815110613027578080602001905181019061302491906140da565b93505b505094509492505050565b60006130466001546001600160a01b031690565b6001600160a01b031663d39e60438361305d6104e9565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af41580156130b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130d691906145cc565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561311b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b4d91906140f7565b61314761338b565b60008061315c6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03871660048201529091506001600160a01b0382169063a48f42e090602401600060405180830381865afa1580156131ac573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526131d49190810190614242565b925060ff841660641461323257604083015160ff85811691161461322d57604080840151905163b83d92cb60e01b81526001600160601b038716600482015260ff80871660248301529091166044820152606401610c35565b6132ce565b61324d8360400151613242606e90565b60ff90811691161490565b8061326357506132638360400151613242608c90565b8061327957506132798360400151613242607890565b8061328f575061328f8360400151613242608290565b6132ce57604080840151905163b83d92cb60e01b81526001600160601b038716600482015260ff80871660248301529091166044820152606401610c35565b6132db83602001516132f6565b9150509250929050565b6132ed612616565b61037781612cd6565b600061330a6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613359573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526133819190810190614242565b6080015192915050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6000602082840312156133db57600080fd5b81356001600160e01b031981168114612dbf57600080fd5b60005b8381101561340e5781810151838201526020016133f6565b50506000910152565b6000815180845261342f8160208601602086016133f3565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516134ac60c08401826001600160a01b03169052565b5060c083015160e0808401526134c6610100840182613417565b949350505050565b6001600160a01b038116811461037757600080fd5b6001600160601b038116811461037757600080fd5b8035613503816134e3565b919050565b634e487b7160e01b600052604160045260246000fd5b60405161022081016001600160401b038111828210171561354157613541613508565b60405290565b604080519081016001600160401b038111828210171561354157613541613508565b60405161024081016001600160401b038111828210171561354157613541613508565b60405160e081016001600160401b038111828210171561354157613541613508565b60405161016081016001600160401b038111828210171561354157613541613508565b60405161012081016001600160401b038111828210171561354157613541613508565b60405160c081016001600160401b038111828210171561354157613541613508565b604051601f8201601f191681016001600160401b038111828210171561363e5761363e613508565b604052919050565b80356001600160c01b03198116811461350357600080fd5b64ffffffffff8116811461037757600080fd5b80356135038161365e565b60006001600160401b0382111561369557613695613508565b50601f01601f191660200190565b600082601f8301126136b457600080fd5b81356136c76136c28261367c565b613616565b8181528460208386010111156136dc57600080fd5b816020850160208301376000918101602001919091529392505050565b803561ffff8116811461350357600080fd5b6000610220828403121561371e57600080fd5b61372661351e565b9050613731826134f8565b815261373f602083016134f8565b602082015261375060408301613646565b604082015261376160608301613646565b6060820152613772608083016134f8565b608082015261378360a083016134f8565b60a082015261379460c083016134f8565b60c08201526137a560e08301613671565b60e0820152610100808301356001600160401b03808211156137c657600080fd5b6137d2868387016136a3565b838501526101209250828501359150808211156137ee57600080fd5b506137fb858286016136a3565b82840152505061014061380f8184016136f9565b908201526101606138218382016136f9565b908201526101806138338382016134f8565b908201526101a06138458382016134f8565b908201526101c0613857838201613671565b908201526101e0613869838201613671565b9082015261020061387b838201613671565b9082015292915050565b600080600080600060a0868803121561389d57600080fd5b85356138a8816134ce565b945060208601356138b8816134ce565b935060408601356138c8816134e3565b925060608601356001600160401b038111156138e357600080fd5b6138ef8882890161370b565b9250506080860135613900816134e3565b809150509295509295909350565b60ff8116811461037757600080fd5b801515811461037757600080fd5b60008060008060008060c0878903121561394457600080fd5b863561394f816134ce565b9550602087013561395f816134e3565b9450604087013561396f8161390e565b9350606087013561397f8161391d565b9250608087013561398f816134ce565b915060a08701356001600160401b038111156139aa57600080fd5b6139b689828a016136a3565b9150509295509295509295565b6000602082840312156139d557600080fd5b81356001600160401b038111156139eb57600080fd5b6134c6848285016136a3565b60008060408385031215613a0a57600080fd5b8235613a15816134ce565b915060208301356001600160401b03811115613a3057600080fd5b6132db858286016136a3565b600060208284031215613a4e57600080fd5b8135612dbf816134e3565b600060208284031215613a6b57600080fd5b8135612dbf816134ce565b600080600060608486031215613a8b57600080fd5b83359250602084013591506040840135613aa4816134e3565b809150509250925092565b600060408284031215613ac157600080fd5b613ac9613547565b9050813581526020820135602082015292915050565b60008060008060008060c08789031215613af857600080fd5b8635613b03816134ce565b9550613b128860208901613aaf565b94506060870135613b22816134e3565b93506080870135613b328161365e565b925060a08701356001600160401b0380821115613b4e57600080fd5b818901915089601f830112613b6257600080fd5b813581811115613b7157600080fd5b8a6020828501011115613b8357600080fd5b6020830194508093505050509295509295509295565b600080828403610260811215613bae57600080fd5b8335613bb9816134e3565b9250610240601f198201811315613bcf57600080fd5b613bd7613569565b9150613be5602086016134f8565b8252613bf3604086016134f8565b6020830152613c04606086016134f8565b60408301526080850135606083015260a0850135608083015260c085013560a083015260e085013560c08301526101008086013560e084015261012080870135828501526101409150818701358185015250610160808701358285015261018091508187013581850152506101a080870135828501526101c091508187013581850152506101e08087013582850152610200915081870135818501525061022080870135828501528287013581850152505050809150509250929050565b600080600060c08486031215613cd757600080fd5b613ce18585613aaf565b9250613cf08560408601613aaf565b9150613cff8560808601613aaf565b90509250925092565b600080600060608486031215613d1d57600080fd5b8335613d28816134ce565b92506020840135613d38816134e3565b91506040840135613aa4816134e3565b60008060008060008060c08789031215613d6157600080fd5b8635613d6c816134ce565b95506020870135613d7c816134ce565b94506040870135613d8c816134e3565b93506060870135613d9c816134e3565b92506080870135613dac816134e3565b915060a0870135613dbc816134e3565b809150509295509295509295565b600080600060608486031215613ddf57600080fd5b8335613dea816134ce565b92506020840135613dfa816134ce565b91506040840135613aa4816134ce565b6001600160401b038116811461037757600080fd5b600060208284031215613e3157600080fd5b8135612dbf81613e0a565b60008060008060808587031215613e5257600080fd5b8435613e5d816134ce565b93506020850135613e6d816134ce565b92506040850135613e7d816134e3565b915060608501356001600160401b03811115613e9857600080fd5b613ea48782880161370b565b91505092959194509250565b60008060408385031215613ec357600080fd5b8235613ece816134ce565b91506020830135613ede816134ce565b809150509250929050565b600060208284031215613efb57600080fd5b815162ffffff81168114612dbf57600080fd5b8051613503816134e3565b600060208284031215613f2b57600080fd5b8151612dbf816134e3565b600181811c90821680613f4a57607f821691505b602082108103613f6a57634e487b7160e01b600052602260045260246000fd5b50919050565b6001600160a01b039490941684526001600160601b039283166020850152908216604084015216606082015260800190565b601f821115611dc557600081815260208120601f850160051c81016020861015613fc95750805b601f850160051c820191505b8181101561088e57828155600101613fd5565b81516001600160401b0381111561400157614001613508565b6140158161400f8454613f36565b84613fa2565b602080601f83116001811461404a57600084156140325750858301515b600019600386901b1c1916600185901b17855561088e565b600085815260208120601f198616915b828110156140795788860151825594840194600190910190840161405a565b50858210156140975787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b805161350381613e0a565b6000602082840312156140c457600080fd5b8151612dbf81613e0a565b80516135038161391d565b6000602082840312156140ec57600080fd5b8151612dbf8161391d565b60006020828403121561410957600080fd5b8151612dbf816134ce565b6000806040838503121561412757600080fd5b8251614132816134e3565b6020840151909250613ede816134e3565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b6001600160a01b0389811682526001600160601b0389811660208401528882166040840152600091610100916141af606086018b80518252602090810151910152565b881660a08501525064ffffffffff861660c084015260e083018190526141d88184018587614143565b9b9a5050505050505050505050565b80516135038161390e565b8051613503816134ce565b600082601f83011261420e57600080fd5b815161421c6136c28261367c565b81815284602083860101111561423157600080fd5b6134c68260208301602087016133f3565b60006020828403121561425457600080fd5b81516001600160401b038082111561426b57600080fd5b9083019060e0828603121561427f57600080fd5b61428761358c565b61429083613f0e565b815261429e60208401613f0e565b60208201526142af604084016141e7565b60408201526142c0606084016140cf565b60608201526142d1608084016141f2565b60808201526142e260a084016141f2565b60a082015260c0830151828111156142f957600080fd5b614305878286016141fd565b60c08301525095945050505050565b80820180821115612b4d57634e487b7160e01b600052601160045260246000fd5b60006040828403121561434757600080fd5b61434f613547565b9050815181526020820151602082015292915050565b60006101c0828403121561437857600080fd5b6143806135ae565b61438983613f0e565b8152614397602084016140a7565b60208201526143a860408401613f0e565b60408201526143b9606084016140cf565b60608201526143ca608084016140cf565b60808201526143db60a084016140cf565b60a082015260c083015160c082015260e083015160e082015261010061440385828601614335565b9082015261014061441685858301614335565b61012083015261442a856101808601614335565b908201529392505050565b6001600160601b0384811682528351166020820152610200810160208401516001600160401b03811660408401525060408401516001600160601b0381166060840152506060840151801515608084015250608084015180151560a08401525060a084015180151560c08401525060c084015160e083015260e08401516101008181850152808601519150506101206144da8185018380518252602090810151910152565b850151805161016085015260209081015161018085015261014086015180516101a086015201516101c08401525060ff83166101e08301526134c6565b6000610200828403121561452a57600080fd5b6145326135d1565b61453b83613f0e565b815261454960208401613f0e565b602082015261455b8460408501614335565b604082015261456d8460808501614335565b606082015261457f8460c08501614335565b608082015261010061459385828601614335565b60a08301526145a6856101408601614335565b60c08301526145b9856101808601614335565b60e083015261442a856101c08601614335565b6000602082840312156145de57600080fd5b8151612dbf8161390e565b6000602082840312156145fb57600080fd5b81516001600160401b038082111561461257600080fd5b9083019060c0828603121561462657600080fd5b61462e6135f4565b82518281111561463d57600080fd5b614649878286016141fd565b82525061465860208401613f0e565b6020820152614669604084016141f2565b604082015261467a606084016141f2565b606082015261468b608084016141f2565b608082015260a0830151828111156146a257600080fd5b6146ae878286016141fd565b60a08301525095945050505050565b600080858511156146cd57600080fd5b838611156146da57600080fd5b5050820193919092039150565b6001600160e01b0319813581811691600485101561470f5780818660040360031b1b83161692505b505092915050565b6001600160a01b038416815260406020820181905260009061473c9083018486614143565b95945050505050565b60008060006060848603121561475a57600080fd5b8351614765816134ce565b6020850151909350614776816134ce565b6040850151909250613aa4816134ce565b600082516147998184602087016133f3565b9190910192915050565b600080604083850312156147b657600080fd5b82516147c18161391d565b602084015190925063ffffffff81168114613ede57600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220a8c43110d473addac1231ea590a16aa79679a95d2873245b481aad7b8af6ff9264736f6c63430008140033",
1255
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101f05760003560e01c80637738eb861161010f5780638fb36037116100a2578063b68d180911610071578063b68d1809146104ac578063bf7e214f146104bb578063d0d63b09146104c3578063f7c34ee0146104d657600080fd5b80638fb3603714610450578063a3c2605214610471578063a5f4c73114610484578063ada9652e1461049757600080fd5b806384a710fa116100de57806384a710fa1461040f57806384d1f7cf14610422578063893d20e8146104355780638e32e9791461043d57600080fd5b80637738eb86146103c35780637a9e5e4b146103d65780637d42d397146103e957806382678766146103fc57600080fd5b8063329d6e7411610187578063644c45e011610156578063644c45e01461034b578063673ad94f14610369578063675393bf1461037a5780637225ed011461038d57600080fd5b8063329d6e74146102f857806336fc697e1461030b57806349bb9e4b146103135780635ab1bd531461032657600080fd5b80631ddb9757116101c35780631ddb9757146102885780631eff4b221461029d578063214cdb80146102d257806327bb7a33146102e557600080fd5b806301ffc9a7146101f55780630d8e6e2c146102375780630fec111c14610253578063138461e014610268575b600080fd5b6102226102033660046133c9565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023f6104e9565b60405162ffffff909116815260200161022e565b61025b610573565b60405161022e9190613443565b610270610704565b6040516001600160601b03909116815260200161022e565b61029b610296366004613885565b61070f565b005b6102c47f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161022e565b61029b6102e03660046133c9565b610896565b61029b6102f336600461392b565b6108c3565b61029b6103063660046139c3565b610968565b61029b610ab6565b61029b6103213660046139f7565b610afc565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161022e565b6000805160206147dc833981519152546001600160601b0316610270565b61029b610377366004613a3c565b50565b61029b610388366004613a59565b610bfb565b6103a361039b366004613a76565b928392509050565b604080516001600160601b0393841681529290911660208301520161022e565b6102706103d1366004613adf565b610d0d565b61029b6103e4366004613a59565b611060565b61029b6103f7366004613b99565b6110e3565b61029b61040a366004613cc2565b61157f565b6103a361041d366004613d08565b611755565b6103a3610430366004613d48565b611858565b610333611a5a565b61029b61044b366004613dca565b611b91565b610458611dca565b6040516001600160e01b0319909116815260200161022e565b61029b61047f366004613e1f565b611e02565b61029b610492366004613e3c565b612089565b6102c46000805160206147dc83398151915281565b604051608c815260200161022e565b610333612156565b61029b6104d1366004613a3c565b612172565b61029b6104e4366004613eb0565b6122a0565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af415801561054a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061056e9190613ee9565b905090565b61057b61338b565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156105f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106189190613f19565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610660611a5a565b6001600160a01b0316815260200182600101805461067d90613f36565b80601f01602080910402602001604051908101604052809291908181526020018280546106a990613f36565b80156106f65780601f106106cb576101008083540402835291602001916106f6565b820191906000526020600020905b8154815290600101906020018083116106d957829003601f168201915b505050505081525091505090565b600061056e30612317565b61071c335b600036612518565b600254602083015160405163ad328d9f60e01b81526001600160a01b039092169163ad328d9f9161075591899188918790600401613f70565b600060405180830381600087803b15801561076f57600080fd5b505af1158015610783573d6000803e3d6000fd5b50505050600660009054906101000a90046001600160a01b03166001600160a01b031663d44f8a4b866001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080d9190613f19565b6040516001600160e01b031960e084901b1681526001600160601b0391821660048201526001600160a01b038816602482015290841660448201526064016020604051808303816000875af115801561086a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061088e9190613f19565b505050505050565b61089e612616565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6108cb612616565b6108d582876122a0565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30161095e8382613fe8565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c61098a6104e9565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156109ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ee91906140b2565b60008051602061481c8339815191528054600160401b900460ff1680610a21575080546001600160401b03808416911610155b15610a3f5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610a698361264f565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a1505050565b610abe612616565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b60008051602061481c8339815191528054600160401b810460ff1615906001600160401b0316600081158015610b2f5750825b90506000826001600160401b03166001148015610b4b5750303b155b905081158015610b59575080155b15610b775760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610ba157845460ff60401b1916600160401b1785555b610bab8787612657565b8315610bf257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610c03612616565b806001600160a01b03163b600003610c3e5760405163fdeac91f60e01b81526001600160a01b03821660048201526024015b60405180910390fd5b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263e607072160e01b60048201526301ffc9a790602401602060405180830381865afa925050508015610cb8575060408051601f3d908101601f19168201909252610cb5918101906140da565b60015b610ce05760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610c35565b80610d095760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610c35565b5050565b60008080610d1b608c6128a8565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d8491906140f7565b905060008073__$58e11c6004c5796aaa8c56e718245e69a2$__639ed246ea610dad8588612a45565b6040516001600160e01b031960e084901b1681528151600482015260209091015160248201526001600160601b038d1660448201526064016040805180830381865af4158015610e01573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e259190614114565b91509150600260009054906101000a90046001600160a01b03166001600160a01b031663e283b4a985878f8f868f8f8f6040518963ffffffff1660e01b8152600401610e7898979695949392919061416c565b6020604051808303816000875af1158015610e97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ebb9190613f19565b9550600360009054906101000a90046001600160a01b03166001600160a01b031663d56cd3d5856001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f1f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f4391906140f7565b878d866040518563ffffffff1660e01b8152600401610f659493929190613f70565b600060405180830381600087803b158015610f7f57600080fd5b505af1158015610f93573d6000803e3d6000fd5b50505050610fa383868e8d612b53565b7f0dcadf661b8b2888423f78a848a77785b4dc0138395b12584835f6a65dfcea79846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611002573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110269190613f19565b604080516001600160601b03928316815282891660208201529189169082015260600160405180910390a150505050509695505050505050565b33611069612156565b6001600160a01b0316816001600160a01b0316146110a45760405162d1953b60e31b81526001600160a01b0382166004820152602401610c35565b816001600160a01b03163b6000036110da576040516361798f2f60e11b81526001600160a01b0383166004820152602401610c35565b610d0982612cd6565b6110ec33610714565b60006111006001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611153573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261117b9190810190614242565b60208101516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0384169063a48f42e090602401600060405180830381865afa1580156111d4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111fc9190810190614242565b60208101516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0385169063a48f42e090602401600060405180830381865afa158015611255573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261127d9190810190614242565b9050600081608001519050600073__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd968861016001518960e001516112b99190614314565b6040518263ffffffff1660e01b81526004016112d791815260200190565b602060405180830381865af41580156112f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113189190613f19565b9050600073__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd968961018001518a610100015161134c9190614314565b6040518263ffffffff1660e01b815260040161136a91815260200190565b602060405180830381865af4158015611387573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ab9190613f19565b9050600073__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd968a606001516040518263ffffffff1660e01b81526004016113ec91815260200190565b602060405180830381865af4158015611409573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061142d9190613f19565b90506000846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561146f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061149391906140f7565b60035488519192506001600160a01b03169063d56cd3d59083906114b78688612d37565b886040518563ffffffff1660e01b81526004016114d79493929190613f70565b600060405180830381600087803b1580156114f157600080fd5b505af1158015611505573d6000803e3d6000fd5b50506003548a516040516325e451d360e01b81526001600160a01b0390921693506325e451d392506115409185919087908990600401613f70565b600060405180830381600087803b15801561155a57600080fd5b505af115801561156e573d6000803e3d6000fd5b505050505050505050505050505050565b60008061158c608c6128a8565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115f591906140f7565b6040516357f80bbf60e01b81526001600160601b03851660048201526001600160a01b0391909116906357f80bbf906024016101c060405180830381865afa158015611645573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116699190614365565b9050858161010001819052508481610120018190525083816101400181905250816001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116eb91906140f7565b6001600160a01b031663763bb754848360ff6040518463ffffffff1660e01b815260040161171b93929190614435565b600060405180830381600087803b15801561173557600080fd5b505af1158015611749573d6000803e3d6000fd5b50505050505050505050565b6040516302d764c760e21b81526001600160601b0383166004820152600090819081906001600160a01b03871690630b5d931c9060240161020060405180830381865afa1580156117aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117ce9190614517565b602001516040516357f80bbf60e01b81526001600160601b03821660048201529091506000906001600160a01b038816906357f80bbf906024016101c060405180830381865afa158015611826573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061184a9190614365565b509396879650945050505050565b60008061186433610714565b6118d0886001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118c991906140f7565b8785611755565b600254604051634adcf90960e01b81529294509092506001600160a01b031690634adcf9099061190a908b90899089908890600401613f70565b600060405180830381600087803b15801561192457600080fd5b505af1158015611938573d6000803e3d6000fd5b50505050600660009054906101000a90046001600160a01b03166001600160a01b031663ea48ce9b896001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561199e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119c29190613f19565b6040516001600160e01b031960e084901b1681526001600160601b0391821660048201526001600160a01b038b16602482015290841660448201526064016020604051808303816000875af1158015611a1f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a439190613f19565b50611a4e8183612dc6565b50965096945050505050565b6000806000805160206147dc83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611aca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aee91906140da565b15611b7b576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611b51573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b7591906140f7565b91505090565b54600160601b90046001600160a01b0316919050565b611b99612616565b611c1983846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611bdb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bff9190613f19565b603c600085604051806020016040528060008152506108c3565b6001600160a01b03821615611c3657611c3182612e4d565b611da5565b6000611c4a6001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611caa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cce91906145cc565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611d13573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d3791906140f7565b9050611da3816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d7a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d9e91906140f7565b612e4d565b505b611db5634a531f3360e01b610896565b611dc563b68d180960e01b610896565b505050565b6000805160206147fc833981519152805460009190600160a01b900460ff16611df4576000611b75565b638fb3603760e01b91505090565b600080611e0f608c6128a8565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e7891906140f7565b60405163f0ea17c360e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa158015611ecb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ef391908101906145e9565b905060008160a00151806020019051810190611f0f9190614365565b9050611f338160200151611f21612e5e565b6001600160401b039081169116141590565b15611f5c5760405163eff765ff60e01b81526001600160601b0386166004820152602401610c35565b6001600160401b03861660208083019190915260408051631a99b41b60e31b815290516001600160a01b0387169263d4cda0d892600480820193918290030181865afa158015611fb0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fd491906140f7565b6001600160a01b031663763bb754868360ff6040518463ffffffff1660e01b815260040161200493929190614435565b600060405180830381600087803b15801561201e57600080fd5b505af1158015612032573d6000803e3d6000fd5b5050604080516001600160601b03891681526001600160401b038a1660208201527fe7e6a7a42cbdb2d274dfaaac06073a09d6095ca3745ce71fe5a137f8247ea23e935001905060405180910390a1505050505050565b61209233610714565b60006120a78260800151836101800151612edb565b600254602084015160405163ad328d9f60e01b81529293506001600160a01b039091169163ad328d9f916120e391899188918790600401613f70565b600060405180830381600087803b1580156120fd57600080fd5b505af1158015612111573d6000803e3d6000fd5b50506002546040516301d90a6f60e61b81526001600160a01b0389811660048301526001600160601b038816602483015290911692506376429bc09150604401610755565b6000805160206147fc833981519152546001600160a01b031690565b60008061217f608c6128a8565b600254604051632aa6b2cb60e21b81526001600160a01b0380841660048301526001600160601b0389166024830152949650919450929092169163aa9acb2c9150604401600060405180830381600087803b1580156121dd57600080fd5b505af11580156121f1573d6000803e3d6000fd5b505050507f64c75a4392ba38fee1b5a44b61e3dd0cae424d2d43eb2b0c99772efe31e1c042816001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612254573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122789190613f19565b604080516001600160601b039283168152828616602082015291861690820152606001610aa9565b6122a8612616565b6122b181610bfb565b6122b9610ab6565b6001600160a01b0382166122e05760405163f17ef42d60e01b815260040160405180910390fd5b506000805160206147dc83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6000806000805160206147dc83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612387573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123ab91906140da565b156123d75780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610c35565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561242b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061244f91906140da565b6124775760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610c35565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa1580156124cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124ef9190613f19565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b6000805160206147fc833981519152600080612553612535612156565b8730612545600460008a8c6146bd565b61254e916146e7565b612f26565b915091508161088e5763ffffffff8116156125f357825460ff60a01b1916600160a01b178355612581612156565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016125b093929190614717565b600060405180830381600087803b1580156125ca57600080fd5b505af11580156125de573d6000803e3d6000fd5b5050845460ff60a01b191685555061088e9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610c35565b60008051602061481c83398151915254600160401b900460ff1661264d57604051631afcd79f60e31b815260040160405180910390fd5b565b6101f0612616565b60008051602061481c8339815191528054600160401b810460ff1615906001600160401b031660008115801561268a5750825b90506000826001600160401b031660011480156126a65750303b155b9050811580156126b4575080155b156126d25760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156126fc57845460ff60401b1916600160401b1785555b600080878060200190518101906127139190614745565b925050915061272382828b611b91565b6127326028613032565b613032565b600580546001600160a01b0319166001600160a01b039290921691909117905561275d61272d60dc90565b600280546001600160a01b0319166001600160a01b039290921691909117905561278861272d604690565b600480546001600160a01b0319166001600160a01b03929092169190911790556127b361272d606490565b600380546001600160a01b0319166001600160a01b03928316179055600154166001600160a01b0316630e9ed68b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612810573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061283491906140f7565b600680546001600160a01b0319166001600160a01b039290921691909117905561286463564f673160e01b610896565b50508315610bf257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610be9565b60006128b261338b565b60006128c66001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa15801561290c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129309190613f19565b925061293c838561313f565b8092508193505050806001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015612982573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129a691906140f7565b608083015160405163a166aa8960e01b81526001600160a01b03918216600482015291169063a166aa8990602401602060405180830381865afa1580156129f1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a1591906140da565b15612a3e57604051637d71120960e11b81526001600160601b0384166004820152602401610c35565b9193909250565b60408051808201909152600080825260208201526040516357f80bbf60e01b81526001600160601b03831660048201526000906001600160a01b038516906357f80bbf906024016101c060405180830381865afa158015612aaa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ace9190614365565b516040516357f80bbf60e01b81526001600160601b03821660048201529091506001600160a01b038516906357f80bbf906024016101c060405180830381865afa158015612b20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b449190614365565b61012001519150505b92915050565b60405163f0ea17c360e01b81526001600160601b03841660048201526000906001600160a01b0386169063f0ea17c390602401600060405180830381865afa158015612ba3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612bcb91908101906145e9565b606081015160808201516040516330b8415f60e01b81526001600160601b0386166004820152929350909173__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af4158015612c32573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c5691906140da565b15610bf25760405163c661667d60e01b81526001600160a01b03868116600483015282811660248301526001600160601b038616604483015283169063c661667d90606401600060405180830381600087803b158015612cb557600080fd5b505af1158015612cc9573d6000803e3d6000fd5b5050505050505050505050565b6000805160206147fc83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b60405163274acb3560e01b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb35906044015b602060405180830381865af4158015612d9b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dbf9190613f19565b9392505050565b604051632601631360e21b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__906398058c4c90604401602060405180830381865af4158015612e29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dbf91906140da565b612e55612616565b610377816132e5565b6040516368aebf7b60e01b81526001600160401b03600482015260009073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af4158015612eb7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061056e91906140b2565b6040516363cf551160e11b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401612d7e565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251612f959190614787565b600060405180830381855afa9150503d8060008114612fd0576040519150601f19603f3d011682016040523d82523d6000602084013e612fd5565b606091505b509150915081156130275760408151106130075780806020019051810190612ffd91906147a3565b9094509250613027565b6020815110613027578080602001905181019061302491906140da565b93505b505094509492505050565b60006130466001546001600160a01b031690565b6001600160a01b031663d39e60438361305d6104e9565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af41580156130b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130d691906145cc565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561311b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b4d91906140f7565b61314761338b565b60008061315c6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03871660048201529091506001600160a01b0382169063a48f42e090602401600060405180830381865afa1580156131ac573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526131d49190810190614242565b925060ff841660641461323257604083015160ff85811691161461322d57604080840151905163b83d92cb60e01b81526001600160601b038716600482015260ff80871660248301529091166044820152606401610c35565b6132ce565b61324d8360400151613242606e90565b60ff90811691161490565b8061326357506132638360400151613242608c90565b8061327957506132798360400151613242607890565b8061328f575061328f8360400151613242608290565b6132ce57604080840151905163b83d92cb60e01b81526001600160601b038716600482015260ff80871660248301529091166044820152606401610c35565b6132db83602001516132f6565b9150509250929050565b6132ed612616565b61037781612cd6565b600061330a6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613359573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526133819190810190614242565b6080015192915050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6000602082840312156133db57600080fd5b81356001600160e01b031981168114612dbf57600080fd5b60005b8381101561340e5781810151838201526020016133f6565b50506000910152565b6000815180845261342f8160208601602086016133f3565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516134ac60c08401826001600160a01b03169052565b5060c083015160e0808401526134c6610100840182613417565b949350505050565b6001600160a01b038116811461037757600080fd5b6001600160601b038116811461037757600080fd5b8035613503816134e3565b919050565b634e487b7160e01b600052604160045260246000fd5b60405161022081016001600160401b038111828210171561354157613541613508565b60405290565b604080519081016001600160401b038111828210171561354157613541613508565b60405161024081016001600160401b038111828210171561354157613541613508565b60405160e081016001600160401b038111828210171561354157613541613508565b60405161016081016001600160401b038111828210171561354157613541613508565b60405161012081016001600160401b038111828210171561354157613541613508565b60405160c081016001600160401b038111828210171561354157613541613508565b604051601f8201601f191681016001600160401b038111828210171561363e5761363e613508565b604052919050565b80356001600160c01b03198116811461350357600080fd5b64ffffffffff8116811461037757600080fd5b80356135038161365e565b60006001600160401b0382111561369557613695613508565b50601f01601f191660200190565b600082601f8301126136b457600080fd5b81356136c76136c28261367c565b613616565b8181528460208386010111156136dc57600080fd5b816020850160208301376000918101602001919091529392505050565b803561ffff8116811461350357600080fd5b6000610220828403121561371e57600080fd5b61372661351e565b9050613731826134f8565b815261373f602083016134f8565b602082015261375060408301613646565b604082015261376160608301613646565b6060820152613772608083016134f8565b608082015261378360a083016134f8565b60a082015261379460c083016134f8565b60c08201526137a560e08301613671565b60e0820152610100808301356001600160401b03808211156137c657600080fd5b6137d2868387016136a3565b838501526101209250828501359150808211156137ee57600080fd5b506137fb858286016136a3565b82840152505061014061380f8184016136f9565b908201526101606138218382016136f9565b908201526101806138338382016134f8565b908201526101a06138458382016134f8565b908201526101c0613857838201613671565b908201526101e0613869838201613671565b9082015261020061387b838201613671565b9082015292915050565b600080600080600060a0868803121561389d57600080fd5b85356138a8816134ce565b945060208601356138b8816134ce565b935060408601356138c8816134e3565b925060608601356001600160401b038111156138e357600080fd5b6138ef8882890161370b565b9250506080860135613900816134e3565b809150509295509295909350565b60ff8116811461037757600080fd5b801515811461037757600080fd5b60008060008060008060c0878903121561394457600080fd5b863561394f816134ce565b9550602087013561395f816134e3565b9450604087013561396f8161390e565b9350606087013561397f8161391d565b9250608087013561398f816134ce565b915060a08701356001600160401b038111156139aa57600080fd5b6139b689828a016136a3565b9150509295509295509295565b6000602082840312156139d557600080fd5b81356001600160401b038111156139eb57600080fd5b6134c6848285016136a3565b60008060408385031215613a0a57600080fd5b8235613a15816134ce565b915060208301356001600160401b03811115613a3057600080fd5b6132db858286016136a3565b600060208284031215613a4e57600080fd5b8135612dbf816134e3565b600060208284031215613a6b57600080fd5b8135612dbf816134ce565b600080600060608486031215613a8b57600080fd5b83359250602084013591506040840135613aa4816134e3565b809150509250925092565b600060408284031215613ac157600080fd5b613ac9613547565b9050813581526020820135602082015292915050565b60008060008060008060c08789031215613af857600080fd5b8635613b03816134ce565b9550613b128860208901613aaf565b94506060870135613b22816134e3565b93506080870135613b328161365e565b925060a08701356001600160401b0380821115613b4e57600080fd5b818901915089601f830112613b6257600080fd5b813581811115613b7157600080fd5b8a6020828501011115613b8357600080fd5b6020830194508093505050509295509295509295565b600080828403610260811215613bae57600080fd5b8335613bb9816134e3565b9250610240601f198201811315613bcf57600080fd5b613bd7613569565b9150613be5602086016134f8565b8252613bf3604086016134f8565b6020830152613c04606086016134f8565b60408301526080850135606083015260a0850135608083015260c085013560a083015260e085013560c08301526101008086013560e084015261012080870135828501526101409150818701358185015250610160808701358285015261018091508187013581850152506101a080870135828501526101c091508187013581850152506101e08087013582850152610200915081870135818501525061022080870135828501528287013581850152505050809150509250929050565b600080600060c08486031215613cd757600080fd5b613ce18585613aaf565b9250613cf08560408601613aaf565b9150613cff8560808601613aaf565b90509250925092565b600080600060608486031215613d1d57600080fd5b8335613d28816134ce565b92506020840135613d38816134e3565b91506040840135613aa4816134e3565b60008060008060008060c08789031215613d6157600080fd5b8635613d6c816134ce565b95506020870135613d7c816134ce565b94506040870135613d8c816134e3565b93506060870135613d9c816134e3565b92506080870135613dac816134e3565b915060a0870135613dbc816134e3565b809150509295509295509295565b600080600060608486031215613ddf57600080fd5b8335613dea816134ce565b92506020840135613dfa816134ce565b91506040840135613aa4816134ce565b6001600160401b038116811461037757600080fd5b600060208284031215613e3157600080fd5b8135612dbf81613e0a565b60008060008060808587031215613e5257600080fd5b8435613e5d816134ce565b93506020850135613e6d816134ce565b92506040850135613e7d816134e3565b915060608501356001600160401b03811115613e9857600080fd5b613ea48782880161370b565b91505092959194509250565b60008060408385031215613ec357600080fd5b8235613ece816134ce565b91506020830135613ede816134ce565b809150509250929050565b600060208284031215613efb57600080fd5b815162ffffff81168114612dbf57600080fd5b8051613503816134e3565b600060208284031215613f2b57600080fd5b8151612dbf816134e3565b600181811c90821680613f4a57607f821691505b602082108103613f6a57634e487b7160e01b600052602260045260246000fd5b50919050565b6001600160a01b039490941684526001600160601b039283166020850152908216604084015216606082015260800190565b601f821115611dc557600081815260208120601f850160051c81016020861015613fc95750805b601f850160051c820191505b8181101561088e57828155600101613fd5565b81516001600160401b0381111561400157614001613508565b6140158161400f8454613f36565b84613fa2565b602080601f83116001811461404a57600084156140325750858301515b600019600386901b1c1916600185901b17855561088e565b600085815260208120601f198616915b828110156140795788860151825594840194600190910190840161405a565b50858210156140975787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b805161350381613e0a565b6000602082840312156140c457600080fd5b8151612dbf81613e0a565b80516135038161391d565b6000602082840312156140ec57600080fd5b8151612dbf8161391d565b60006020828403121561410957600080fd5b8151612dbf816134ce565b6000806040838503121561412757600080fd5b8251614132816134e3565b6020840151909250613ede816134e3565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b6001600160a01b0389811682526001600160601b0389811660208401528882166040840152600091610100916141af606086018b80518252602090810151910152565b881660a08501525064ffffffffff861660c084015260e083018190526141d88184018587614143565b9b9a5050505050505050505050565b80516135038161390e565b8051613503816134ce565b600082601f83011261420e57600080fd5b815161421c6136c28261367c565b81815284602083860101111561423157600080fd5b6134c68260208301602087016133f3565b60006020828403121561425457600080fd5b81516001600160401b038082111561426b57600080fd5b9083019060e0828603121561427f57600080fd5b61428761358c565b61429083613f0e565b815261429e60208401613f0e565b60208201526142af604084016141e7565b60408201526142c0606084016140cf565b60608201526142d1608084016141f2565b60808201526142e260a084016141f2565b60a082015260c0830151828111156142f957600080fd5b614305878286016141fd565b60c08301525095945050505050565b80820180821115612b4d57634e487b7160e01b600052601160045260246000fd5b60006040828403121561434757600080fd5b61434f613547565b9050815181526020820151602082015292915050565b60006101c0828403121561437857600080fd5b6143806135ae565b61438983613f0e565b8152614397602084016140a7565b60208201526143a860408401613f0e565b60408201526143b9606084016140cf565b60608201526143ca608084016140cf565b60808201526143db60a084016140cf565b60a082015260c083015160c082015260e083015160e082015261010061440385828601614335565b9082015261014061441685858301614335565b61012083015261442a856101808601614335565b908201529392505050565b6001600160601b0384811682528351166020820152610200810160208401516001600160401b03811660408401525060408401516001600160601b0381166060840152506060840151801515608084015250608084015180151560a08401525060a084015180151560c08401525060c084015160e083015260e08401516101008181850152808601519150506101206144da8185018380518252602090810151910152565b850151805161016085015260209081015161018085015261014086015180516101a086015201516101c08401525060ff83166101e08301526134c6565b6000610200828403121561452a57600080fd5b6145326135d1565b61453b83613f0e565b815261454960208401613f0e565b602082015261455b8460408501614335565b604082015261456d8460808501614335565b606082015261457f8460c08501614335565b608082015261010061459385828601614335565b60a08301526145a6856101408601614335565b60c08301526145b9856101808601614335565b60e083015261442a856101c08601614335565b6000602082840312156145de57600080fd5b8151612dbf8161390e565b6000602082840312156145fb57600080fd5b81516001600160401b038082111561461257600080fd5b9083019060c0828603121561462657600080fd5b61462e6135f4565b82518281111561463d57600080fd5b614649878286016141fd565b82525061465860208401613f0e565b6020820152614669604084016141f2565b604082015261467a606084016141f2565b606082015261468b608084016141f2565b608082015260a0830151828111156146a257600080fd5b6146ae878286016141fd565b60a08301525095945050505050565b600080858511156146cd57600080fd5b838611156146da57600080fd5b5050820193919092039150565b6001600160e01b0319813581811691600485101561470f5780818660040360031b1b83161692505b505092915050565b6001600160a01b038416815260406020820181905260009061473c9083018486614143565b95945050505050565b60008060006060848603121561475a57600080fd5b8351614765816134ce565b6020850151909350614776816134ce565b6040850151909250613aa4816134ce565b600082516147998184602087016133f3565b9190910192915050565b600080604083850312156147b657600080fd5b82516147c18161391d565b602084015190925063ffffffff81168114613ede57600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220a8c43110d473addac1231ea590a16aa79679a95d2873245b481aad7b8af6ff9264736f6c63430008140033",
1256
+ "linkReferences": {
1257
+ "contracts/type/Amount.sol": {
1258
+ "AmountLib": [
1259
+ {
1260
+ "length": 20,
1261
+ "start": 4978
1262
+ },
1263
+ {
1264
+ "length": 20,
1265
+ "start": 5124
1266
+ },
1267
+ {
1268
+ "length": 20,
1269
+ "start": 5271
1270
+ },
1271
+ {
1272
+ "length": 20,
1273
+ "start": 11486
1274
+ },
1275
+ {
1276
+ "length": 20,
1277
+ "start": 11846
1278
+ },
1279
+ {
1280
+ "length": 20,
1281
+ "start": 11989
1282
+ },
1283
+ {
1284
+ "length": 20,
1285
+ "start": 12266
1286
+ }
1287
+ ]
1288
+ },
1289
+ "contracts/type/Fee.sol": {
1290
+ "FeeLib": [
1291
+ {
1292
+ "length": 20,
1293
+ "start": 3697
1294
+ }
1295
+ ]
1296
+ },
1297
+ "contracts/type/NftId.sol": {
1298
+ "NftIdLib": [
1299
+ {
1300
+ "length": 20,
1301
+ "start": 1683
1302
+ },
1303
+ {
1304
+ "length": 20,
1305
+ "start": 7030
1306
+ },
1307
+ {
1308
+ "length": 20,
1309
+ "start": 9267
1310
+ }
1311
+ ]
1312
+ },
1313
+ "contracts/type/RoleId.sol": {
1314
+ "RoleIdLib": [
1315
+ {
1316
+ "length": 20,
1317
+ "start": 12131
1318
+ }
1319
+ ]
1320
+ },
1321
+ "contracts/type/Version.sol": {
1322
+ "VersionLib": [
1323
+ {
1324
+ "length": 20,
1325
+ "start": 1526
1326
+ },
1327
+ {
1328
+ "length": 20,
1329
+ "start": 2640
1330
+ },
1331
+ {
1332
+ "length": 20,
1333
+ "start": 12638
1334
+ }
1335
+ ],
1336
+ "VersionPartLib": [
1337
+ {
1338
+ "length": 20,
1339
+ "start": 7510
1340
+ }
1341
+ ]
1342
+ }
1343
+ },
1344
+ "deployedLinkReferences": {
1345
+ "contracts/type/Amount.sol": {
1346
+ "AmountLib": [
1347
+ {
1348
+ "length": 20,
1349
+ "start": 4748
1350
+ },
1351
+ {
1352
+ "length": 20,
1353
+ "start": 4894
1354
+ },
1355
+ {
1356
+ "length": 20,
1357
+ "start": 5041
1358
+ },
1359
+ {
1360
+ "length": 20,
1361
+ "start": 11256
1362
+ },
1363
+ {
1364
+ "length": 20,
1365
+ "start": 11616
1366
+ },
1367
+ {
1368
+ "length": 20,
1369
+ "start": 11759
1370
+ },
1371
+ {
1372
+ "length": 20,
1373
+ "start": 12036
1374
+ }
1375
+ ]
1376
+ },
1377
+ "contracts/type/Fee.sol": {
1378
+ "FeeLib": [
1379
+ {
1380
+ "length": 20,
1381
+ "start": 3467
1382
+ }
1383
+ ]
1384
+ },
1385
+ "contracts/type/NftId.sol": {
1386
+ "NftIdLib": [
1387
+ {
1388
+ "length": 20,
1389
+ "start": 1453
1390
+ },
1391
+ {
1392
+ "length": 20,
1393
+ "start": 6800
1394
+ },
1395
+ {
1396
+ "length": 20,
1397
+ "start": 9037
1398
+ }
1399
+ ]
1400
+ },
1401
+ "contracts/type/RoleId.sol": {
1402
+ "RoleIdLib": [
1403
+ {
1404
+ "length": 20,
1405
+ "start": 11901
1406
+ }
1407
+ ]
1408
+ },
1409
+ "contracts/type/Version.sol": {
1410
+ "VersionLib": [
1411
+ {
1412
+ "length": 20,
1413
+ "start": 1296
1414
+ },
1415
+ {
1416
+ "length": 20,
1417
+ "start": 2410
1418
+ },
1419
+ {
1420
+ "length": 20,
1421
+ "start": 12408
1422
+ }
1423
+ ],
1424
+ "VersionPartLib": [
1425
+ {
1426
+ "length": 20,
1427
+ "start": 7280
1428
+ }
1429
+ ]
1430
+ }
1431
+ }
1432
+ }