@etherisc/gif-next 0.0.2-d086e6d-456 → 0.0.2-d16f92c-416

Sign up to get free protection for your applications and to get access to all the features.
Files changed (572) hide show
  1. package/README.md +17 -91
  2. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  3. package/artifacts/contracts/{components → distribution}/Distribution.sol/Distribution.json +254 -167
  4. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  5. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1378 -0
  6. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  7. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +826 -0
  8. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/{components → distribution}/IDistributionComponent.sol/IDistributionComponent.json +117 -111
  10. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  11. package/artifacts/contracts/{instance/service → distribution}/IDistributionService.sol/IDistributionService.json +60 -336
  12. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  13. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +36 -105
  14. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  15. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +303 -2005
  16. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  17. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +177 -65
  18. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  19. package/artifacts/contracts/instance/Instance.sol/Instance.json +429 -2753
  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 +228 -0
  24. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  25. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +801 -389
  26. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +274 -177
  28. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  29. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +128 -71
  30. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3598 -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 -54
  36. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  37. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  38. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  39. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +187 -0
  40. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  41. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +10 -118
  42. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  43. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  44. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  45. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  46. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  47. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  48. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  49. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  50. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → oracle/IOracle.sol/IOracle.json} +2 -2
  51. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  52. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +759 -0
  53. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  54. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +675 -0
  55. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  56. package/artifacts/contracts/{components/Product.sol/Product.json → oracle/Oracle.sol/Oracle.json} +255 -276
  57. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  58. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1034 -0
  59. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  60. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +730 -0
  61. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  62. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1134 -0
  63. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  64. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +754 -0
  65. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  66. package/artifacts/contracts/{instance/service → pool}/IBundleService.sol/IBundleService.json +83 -63
  67. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  68. package/artifacts/contracts/{components → pool}/IPoolComponent.sol/IPoolComponent.json +193 -103
  69. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  70. package/artifacts/contracts/{instance/service → pool}/IPoolService.sol/IPoolService.json +294 -84
  71. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  72. package/artifacts/contracts/{components → pool}/Pool.sol/Pool.json +298 -109
  73. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  74. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1453 -0
  75. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  76. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +742 -0
  77. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  78. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +863 -0
  79. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  80. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +730 -0
  81. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  82. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1315 -0
  83. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  84. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +822 -0
  85. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  86. package/artifacts/contracts/{instance/service/IClaimService.sol/IClaimService.json → product/IApplicationService.sol/IApplicationService.json} +124 -111
  87. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  88. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +772 -0
  89. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  90. package/artifacts/contracts/{instance/service → product}/IPolicyService.sol/IPolicyService.json +187 -97
  91. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  92. package/artifacts/contracts/{instance/service/IApplicationService.sol/IApplicationService.json → product/IPricingService.sol/IPricingService.json} +79 -176
  93. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  94. package/artifacts/contracts/{components → product}/IProductComponent.sol/IProductComponent.json +283 -118
  95. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
  96. package/artifacts/contracts/{instance/service → product}/IProductService.sol/IProductService.json +11 -85
  97. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  98. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1183 -0
  99. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  100. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +766 -0
  101. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  102. package/artifacts/contracts/product/PricingService.sol/PricingService.json +1012 -0
  103. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  104. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +786 -0
  105. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  106. package/artifacts/contracts/product/Product.sol/Product.json +1397 -0
  107. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
  108. package/artifacts/contracts/product/ProductService.sol/ProductService.json +708 -0
  109. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  110. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +702 -0
  111. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  112. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
  113. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  114. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +179 -29
  115. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  116. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +310 -77
  117. package/artifacts/contracts/registry/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  118. package/artifacts/contracts/registry/IServiceAuthorization.sol/IServiceAuthorization.json +129 -0
  119. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  120. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  121. package/artifacts/contracts/registry/Registry.sol/Registry.json +415 -43
  122. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  123. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1901 -0
  124. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  125. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +372 -97
  126. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  127. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +105 -54
  128. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
  129. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +769 -98
  130. package/artifacts/contracts/registry/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  131. package/artifacts/contracts/registry/ServiceAuthorization.sol/ServiceAuthorization.json +171 -0
  132. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  133. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +187 -0
  134. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  135. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +316 -153
  136. package/artifacts/contracts/shared/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  137. package/artifacts/contracts/shared/AccessAdmin.sol/AccessAdmin.json +1559 -0
  138. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.dbg.json +4 -0
  139. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.json +1193 -0
  140. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.dbg.json +4 -0
  141. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.json +1747 -0
  142. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.dbg.json +4 -0
  143. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.json +1760 -0
  144. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.dbg.json +4 -0
  145. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.json +1838 -0
  146. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.dbg.json +4 -0
  147. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.json +1856 -0
  148. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  149. package/artifacts/contracts/{components → shared}/Component.sol/Component.json +139 -85
  150. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  151. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1511 -0
  152. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  153. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +796 -0
  154. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  155. package/artifacts/contracts/{instance/base/ComponentService.sol/ComponentService.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +31 -134
  156. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  157. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
  158. package/artifacts/contracts/shared/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  159. package/artifacts/contracts/shared/IAccessAdmin.sol/IAccessAdmin.json +1189 -0
  160. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.dbg.json +4 -0
  161. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.json +1562 -0
  162. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.dbg.json +4 -0
  163. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.json +1600 -0
  164. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  165. package/artifacts/contracts/{components → shared}/IComponent.sol/IComponent.json +110 -84
  166. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  167. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +880 -0
  168. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  169. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +705 -0
  170. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  171. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +50 -11
  172. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  173. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +1 -1
  174. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  175. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +3 -10
  176. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  177. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +87 -9
  178. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  179. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +3 -10
  180. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  181. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +0 -13
  182. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  183. package/artifacts/contracts/shared/IService.sol/IService.json +17 -30
  184. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  185. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +4 -0
  186. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +39 -0
  187. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  188. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +1036 -0
  189. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  190. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +571 -0
  191. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  192. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +194 -0
  193. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.dbg.json +4 -0
  194. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.json +306 -0
  195. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  196. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +15 -22
  197. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  198. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +98 -26
  199. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  200. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +70 -35
  201. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  202. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +23 -22
  203. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  204. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  205. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  206. package/artifacts/contracts/shared/Service.sol/Service.json +23 -31
  207. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  208. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +60 -6
  209. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  210. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  211. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  212. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  213. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1438 -0
  214. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  215. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1035 -0
  216. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  217. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +460 -0
  218. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  219. package/artifacts/contracts/staking/Staking.sol/Staking.json +2005 -0
  220. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  221. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +761 -0
  222. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  223. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +592 -0
  224. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  225. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1343 -0
  226. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  227. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +718 -0
  228. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  229. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2261 -0
  230. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  231. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +571 -0
  232. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  233. package/artifacts/contracts/{types → type}/AddressSet.sol/LibAddressSet.json +3 -3
  234. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  235. package/artifacts/contracts/type/Amount.sol/AmountLib.json +345 -0
  236. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  237. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  238. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  239. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  240. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  241. package/artifacts/contracts/{types → type}/DistributorType.sol/DistributorTypeLib.json +5 -5
  242. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  243. package/artifacts/contracts/type/Fee.sol/FeeLib.json +312 -0
  244. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  245. package/artifacts/contracts/{types → type}/Key32.sol/Key32Lib.json +3 -3
  246. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  247. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +209 -0
  248. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  249. package/artifacts/contracts/{types → type}/NftIdSet.sol/LibNftIdSet.json +3 -3
  250. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  251. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +186 -0
  252. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  253. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  254. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  255. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  256. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  257. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  258. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  259. package/artifacts/contracts/{types → type}/RiskId.sol/RiskIdLib.json +5 -5
  260. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  261. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +266 -0
  262. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  263. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +198 -0
  264. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  265. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
  266. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  267. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  268. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  269. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  270. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  271. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  272. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  273. package/artifacts/contracts/{types → type}/Timestamp.sol/TimestampLib.json +33 -7
  274. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  275. package/artifacts/contracts/{types → type}/UFixed.sol/MathLib.json +3 -3
  276. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  277. package/artifacts/contracts/{types → type}/UFixed.sol/UFixedLib.json +3 -3
  278. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  279. package/artifacts/contracts/{types → type}/Version.sol/VersionLib.json +3 -3
  280. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  281. package/artifacts/contracts/{types → type}/Version.sol/VersionPartLib.json +3 -3
  282. package/contracts/{components → distribution}/Distribution.sol +47 -66
  283. package/contracts/distribution/DistributionService.sol +297 -0
  284. package/contracts/distribution/DistributionServiceManager.sol +42 -0
  285. package/contracts/{components → distribution}/IDistributionComponent.sol +11 -16
  286. package/contracts/{instance/service → distribution}/IDistributionService.sol +20 -37
  287. package/contracts/instance/BundleManager.sol +8 -9
  288. package/contracts/instance/IInstance.sol +55 -66
  289. package/contracts/instance/IInstanceService.sol +50 -25
  290. package/contracts/instance/Instance.sol +160 -224
  291. package/contracts/instance/InstanceAdmin.sol +331 -0
  292. package/contracts/instance/InstanceAuthorizationsLib.sol +377 -0
  293. package/contracts/instance/InstanceReader.sol +157 -56
  294. package/contracts/instance/InstanceService.sol +259 -315
  295. package/contracts/instance/InstanceServiceManager.sol +11 -21
  296. package/contracts/instance/InstanceStore.sol +269 -0
  297. package/contracts/instance/base/BalanceStore.sol +123 -0
  298. package/contracts/instance/base/Cloneable.sol +28 -0
  299. package/contracts/instance/base/ObjectCounter.sol +21 -0
  300. package/contracts/instance/{ObjectManager.sol → base/ObjectManager.sol} +7 -9
  301. package/contracts/instance/module/IAccess.sol +5 -13
  302. package/contracts/instance/module/IBundle.sol +6 -9
  303. package/contracts/instance/module/IComponents.sol +21 -10
  304. package/contracts/instance/module/IDistribution.sol +7 -6
  305. package/contracts/instance/module/IPolicy.sol +28 -16
  306. package/contracts/instance/module/IRisk.sol +1 -1
  307. package/contracts/{test/TestToken.sol → mock/Dip.sol} +5 -5
  308. package/contracts/oracle/IOracle.sol +20 -0
  309. package/contracts/oracle/IOracleComponent.sol +32 -0
  310. package/contracts/oracle/IOracleService.sol +65 -0
  311. package/contracts/oracle/Oracle.sol +145 -0
  312. package/contracts/oracle/OracleService.sol +278 -0
  313. package/contracts/oracle/OracleServiceManager.sol +42 -0
  314. package/contracts/pool/BundleService.sol +296 -0
  315. package/contracts/pool/BundleServiceManager.sol +42 -0
  316. package/contracts/{instance/service → pool}/IBundleService.sol +35 -22
  317. package/contracts/{components → pool}/IPoolComponent.sol +17 -18
  318. package/contracts/{instance/service → pool}/IPoolService.sol +72 -21
  319. package/contracts/{components → pool}/Pool.sol +54 -58
  320. package/contracts/pool/PoolService.sol +452 -0
  321. package/contracts/pool/PoolServiceManager.sol +42 -0
  322. package/contracts/product/ApplicationService.sol +254 -0
  323. package/contracts/{instance/service → product}/ApplicationServiceManager.sol +11 -8
  324. package/contracts/product/ClaimService.sol +442 -0
  325. package/contracts/{instance/service → product}/ClaimServiceManager.sol +11 -8
  326. package/contracts/{instance/service → product}/IApplicationService.sol +15 -35
  327. package/contracts/product/IClaimService.sol +99 -0
  328. package/contracts/{instance/service → product}/IPolicyService.sol +37 -31
  329. package/contracts/product/IPricingService.sol +39 -0
  330. package/contracts/product/IProductComponent.sol +42 -0
  331. package/contracts/product/IProductService.sol +33 -0
  332. package/contracts/product/PolicyService.sol +475 -0
  333. package/contracts/product/PolicyServiceManager.sol +42 -0
  334. package/contracts/product/PricingService.sol +300 -0
  335. package/contracts/product/PricingServiceManager.sol +42 -0
  336. package/contracts/{components → product}/Product.sol +191 -107
  337. package/contracts/product/ProductService.sol +124 -0
  338. package/contracts/product/ProductServiceManager.sol +42 -0
  339. package/contracts/registry/ChainNft.sol +8 -1
  340. package/contracts/registry/IRegistry.sol +44 -21
  341. package/contracts/registry/IRegistryService.sol +37 -36
  342. package/contracts/registry/IServiceAuthorization.sol +35 -0
  343. package/contracts/registry/Registry.sol +198 -83
  344. package/contracts/registry/RegistryAdmin.sol +333 -0
  345. package/contracts/registry/RegistryService.sol +72 -91
  346. package/contracts/registry/RegistryServiceManager.sol +21 -30
  347. package/contracts/registry/ReleaseManager.sol +400 -195
  348. package/contracts/registry/ServiceAuthorization.sol +86 -0
  349. package/contracts/registry/ServiceAuthorizationV3.sol +200 -0
  350. package/contracts/registry/TokenRegistry.sol +261 -62
  351. package/contracts/shared/AccessAdmin.sol +759 -0
  352. package/contracts/shared/AccessManagerCustom.sol +741 -0
  353. package/contracts/shared/AccessManagerExtended.sol +481 -0
  354. package/contracts/shared/AccessManagerExtendedInitializeable.sol +13 -0
  355. package/contracts/shared/AccessManagerExtendedWithDisable.sol +137 -0
  356. package/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol +14 -0
  357. package/contracts/shared/Component.sol +281 -0
  358. package/contracts/shared/ComponentService.sol +617 -0
  359. package/contracts/shared/ComponentServiceManager.sol +35 -0
  360. package/contracts/shared/ComponentVerifyingService.sol +117 -0
  361. package/contracts/shared/ERC165.sol +1 -1
  362. package/contracts/shared/IAccessAdmin.sol +168 -0
  363. package/contracts/shared/IAccessManagerExtended.sol +74 -0
  364. package/contracts/shared/IAccessManagerExtendedWithDisable.sol +18 -0
  365. package/contracts/{components → shared}/IComponent.sol +23 -29
  366. package/contracts/shared/IComponentService.sol +102 -0
  367. package/contracts/shared/IInstanceLinkedComponent.sol +46 -0
  368. package/contracts/{instance/base → shared}/IKeyValueStore.sol +15 -11
  369. package/contracts/{instance/base → shared}/ILifecycle.sol +3 -3
  370. package/contracts/shared/INftOwnable.sol +2 -2
  371. package/contracts/shared/IPolicyHolder.sol +29 -10
  372. package/contracts/shared/IRegistryLinked.sol +0 -1
  373. package/contracts/shared/IService.sol +11 -7
  374. package/contracts/shared/IVersionable.sol +1 -1
  375. package/contracts/shared/InitializableCustom.sol +177 -0
  376. package/contracts/shared/InstanceLinkedComponent.sol +144 -0
  377. package/contracts/shared/KeyValueStore.sol +127 -0
  378. package/contracts/{instance/base → shared}/Lifecycle.sol +26 -5
  379. package/contracts/shared/NftIdSetManager.sol +65 -0
  380. package/contracts/shared/NftOwnable.sol +3 -16
  381. package/contracts/shared/PolicyHolder.sol +40 -19
  382. package/contracts/shared/ProxyManager.sol +34 -4
  383. package/contracts/shared/Registerable.sol +13 -12
  384. package/contracts/shared/RegistryLinked.sol +0 -5
  385. package/contracts/shared/Service.sol +43 -23
  386. package/contracts/shared/TokenHandler.sol +27 -2
  387. package/contracts/shared/Versionable.sol +1 -1
  388. package/contracts/staking/IStaking.sol +168 -0
  389. package/contracts/staking/IStakingService.sol +153 -0
  390. package/contracts/staking/StakeManagerLib.sol +231 -0
  391. package/contracts/staking/Staking.sol +513 -0
  392. package/contracts/staking/StakingManager.sol +54 -0
  393. package/contracts/staking/StakingReader.sol +187 -0
  394. package/contracts/staking/StakingService.sol +411 -0
  395. package/contracts/staking/StakingServiceManager.sol +44 -0
  396. package/contracts/staking/StakingStore.sol +613 -0
  397. package/contracts/staking/TargetManagerLib.sol +207 -0
  398. package/contracts/{types → type}/AddressSet.sol +1 -1
  399. package/contracts/type/Amount.sol +128 -0
  400. package/contracts/{types → type}/Blocknumber.sol +20 -3
  401. package/contracts/{types → type}/ClaimId.sol +25 -2
  402. package/contracts/{types → type}/Fee.sol +24 -22
  403. package/contracts/{types → type}/NftId.sol +14 -16
  404. package/contracts/{types → type}/NftIdSet.sol +2 -2
  405. package/contracts/type/ObjectType.sol +241 -0
  406. package/contracts/{types → type}/PayoutId.sol +33 -5
  407. package/contracts/{types → type}/Referral.sol +1 -1
  408. package/contracts/type/RequestId.sol +75 -0
  409. package/contracts/{types → type}/RiskId.sol +1 -1
  410. package/contracts/type/RoleId.sol +201 -0
  411. package/contracts/{types → type}/Seconds.sol +27 -0
  412. package/contracts/type/Selector.sol +102 -0
  413. package/contracts/{types → type}/StateId.sol +33 -4
  414. package/contracts/type/String.sol +53 -0
  415. package/contracts/{types → type}/Timestamp.sol +10 -1
  416. package/contracts/{types → type}/Version.sol +1 -1
  417. package/package.json +4 -3
  418. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  419. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  420. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
  421. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  422. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  423. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  424. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  425. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  426. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  427. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  428. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  429. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  430. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1311
  431. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  432. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -256
  433. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
  434. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  435. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  436. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  437. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -532
  438. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  439. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -194
  440. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  441. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  442. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
  443. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +0 -4
  444. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +0 -1058
  445. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +0 -4
  446. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +0 -665
  447. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  448. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1258
  449. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  450. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -717
  451. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +0 -4
  452. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +0 -844
  453. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +0 -4
  454. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +0 -637
  455. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  456. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -1822
  457. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  458. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -805
  459. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +0 -4
  460. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  461. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +0 -4
  462. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  463. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  464. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  465. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  466. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  467. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1111
  468. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  469. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -689
  470. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  471. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -1264
  472. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  473. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -657
  474. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  475. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -867
  476. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  477. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -649
  478. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  479. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  480. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  481. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  482. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  483. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  484. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  485. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -383
  486. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  487. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  488. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  489. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -611
  490. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  491. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  492. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  493. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  494. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  495. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -104
  496. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  497. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  498. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  499. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +0 -4
  500. package/artifacts/contracts/types/Amount.sol/AmountLib.json +0 -161
  501. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  502. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  503. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  504. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  505. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +0 -4
  506. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +0 -100
  507. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  508. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  509. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -288
  510. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  511. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  512. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -166
  513. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  514. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  515. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  516. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  517. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  518. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +0 -4
  519. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +0 -100
  520. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  521. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -142
  522. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  523. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  524. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  525. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +0 -4
  526. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +0 -124
  527. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  528. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  529. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  530. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  531. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  532. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  533. package/contracts/components/Component.sol +0 -253
  534. package/contracts/components/IProductComponent.sol +0 -40
  535. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -13
  536. package/contracts/instance/Cloneable.sol +0 -51
  537. package/contracts/instance/InstanceAccessManager.sol +0 -522
  538. package/contracts/instance/base/ComponentService.sol +0 -136
  539. package/contracts/instance/base/KeyValueStore.sol +0 -180
  540. package/contracts/instance/module/ISetup.sol +0 -33
  541. package/contracts/instance/module/ITreasury.sol +0 -23
  542. package/contracts/instance/service/ApplicationService.sol +0 -350
  543. package/contracts/instance/service/BundleService.sol +0 -431
  544. package/contracts/instance/service/BundleServiceManager.sol +0 -51
  545. package/contracts/instance/service/ClaimService.sol +0 -151
  546. package/contracts/instance/service/DistributionService.sol +0 -435
  547. package/contracts/instance/service/DistributionServiceManager.sol +0 -51
  548. package/contracts/instance/service/IClaimService.sol +0 -61
  549. package/contracts/instance/service/IProductService.sol +0 -40
  550. package/contracts/instance/service/PolicyService.sol +0 -360
  551. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  552. package/contracts/instance/service/PoolService.sol +0 -343
  553. package/contracts/instance/service/PoolServiceManager.sol +0 -51
  554. package/contracts/instance/service/ProductService.sol +0 -210
  555. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  556. package/contracts/registry/RegistryAccessManager.sol +0 -216
  557. package/contracts/shared/ContractDeployerLib.sol +0 -72
  558. package/contracts/test/TestFee.sol +0 -25
  559. package/contracts/test/TestRegisterable.sol +0 -18
  560. package/contracts/test/TestRoleId.sol +0 -14
  561. package/contracts/test/TestService.sol +0 -25
  562. package/contracts/test/TestVersion.sol +0 -44
  563. package/contracts/test/TestVersionable.sol +0 -17
  564. package/contracts/test/Usdc.sol +0 -26
  565. package/contracts/types/Amount.sol +0 -60
  566. package/contracts/types/ChainId.sol +0 -38
  567. package/contracts/types/NumberId.sol +0 -52
  568. package/contracts/types/ObjectType.sol +0 -157
  569. package/contracts/types/RoleId.sol +0 -97
  570. /package/contracts/{types → type}/DistributorType.sol +0 -0
  571. /package/contracts/{types → type}/Key32.sol +0 -0
  572. /package/contracts/{types → type}/UFixed.sol +0 -0
@@ -1,1264 +0,0 @@
1
- {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "PoolService",
4
- "sourceName": "contracts/instance/service/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": "address",
48
- "name": "component",
49
- "type": "address"
50
- },
51
- {
52
- "internalType": "NftId",
53
- "name": "nftId",
54
- "type": "uint96"
55
- }
56
- ],
57
- "name": "ErrorComponentServiceAlreadyRegistered",
58
- "type": "error"
59
- },
60
- {
61
- "inputs": [
62
- {
63
- "internalType": "address",
64
- "name": "component",
65
- "type": "address"
66
- }
67
- ],
68
- "name": "ErrorComponentServiceComponentLocked",
69
- "type": "error"
70
- },
71
- {
72
- "inputs": [
73
- {
74
- "internalType": "NftId",
75
- "name": "instanceNftId",
76
- "type": "uint96"
77
- },
78
- {
79
- "internalType": "RoleId",
80
- "name": "requiredRole",
81
- "type": "uint64"
82
- },
83
- {
84
- "internalType": "address",
85
- "name": "sender",
86
- "type": "address"
87
- }
88
- ],
89
- "name": "ErrorComponentServiceExpectedRoleMissing",
90
- "type": "error"
91
- },
92
- {
93
- "inputs": [
94
- {
95
- "internalType": "address",
96
- "name": "component",
97
- "type": "address"
98
- },
99
- {
100
- "internalType": "ObjectType",
101
- "name": "requiredType",
102
- "type": "uint8"
103
- },
104
- {
105
- "internalType": "ObjectType",
106
- "name": "componentType",
107
- "type": "uint8"
108
- }
109
- ],
110
- "name": "ErrorComponentServiceInvalidType",
111
- "type": "error"
112
- },
113
- {
114
- "inputs": [
115
- {
116
- "internalType": "address",
117
- "name": "component",
118
- "type": "address"
119
- }
120
- ],
121
- "name": "ErrorComponentServiceNotComponent",
122
- "type": "error"
123
- },
124
- {
125
- "inputs": [
126
- {
127
- "internalType": "address",
128
- "name": "component",
129
- "type": "address"
130
- },
131
- {
132
- "internalType": "address",
133
- "name": "initialOwner",
134
- "type": "address"
135
- },
136
- {
137
- "internalType": "address",
138
- "name": "sender",
139
- "type": "address"
140
- }
141
- ],
142
- "name": "ErrorComponentServiceSenderNotOwner",
143
- "type": "error"
144
- },
145
- {
146
- "inputs": [
147
- {
148
- "internalType": "address",
149
- "name": "target",
150
- "type": "address"
151
- }
152
- ],
153
- "name": "ErrorIAccessTargetLocked",
154
- "type": "error"
155
- },
156
- {
157
- "inputs": [
158
- {
159
- "internalType": "address",
160
- "name": "caller",
161
- "type": "address"
162
- }
163
- ],
164
- "name": "ErrorIServiceCallerUnknown",
165
- "type": "error"
166
- },
167
- {
168
- "inputs": [
169
- {
170
- "internalType": "NftId",
171
- "name": "nftId",
172
- "type": "uint96"
173
- }
174
- ],
175
- "name": "ErrorNftOwnableAlreadyLinked",
176
- "type": "error"
177
- },
178
- {
179
- "inputs": [
180
- {
181
- "internalType": "address",
182
- "name": "contractAddress",
183
- "type": "address"
184
- }
185
- ],
186
- "name": "ErrorNftOwnableContractNotRegistered",
187
- "type": "error"
188
- },
189
- {
190
- "inputs": [],
191
- "name": "ErrorNftOwnableInitialOwnerZero",
192
- "type": "error"
193
- },
194
- {
195
- "inputs": [
196
- {
197
- "internalType": "address",
198
- "name": "account",
199
- "type": "address"
200
- }
201
- ],
202
- "name": "ErrorNftOwnableNotOwner",
203
- "type": "error"
204
- },
205
- {
206
- "inputs": [
207
- {
208
- "internalType": "address",
209
- "name": "registryAddress",
210
- "type": "address"
211
- }
212
- ],
213
- "name": "ErrorNotRegistry",
214
- "type": "error"
215
- },
216
- {
217
- "inputs": [
218
- {
219
- "internalType": "NftId",
220
- "name": "poolNftId",
221
- "type": "uint96"
222
- }
223
- ],
224
- "name": "ErrorPoolServiceBundleOwnerRoleAlreadySet",
225
- "type": "error"
226
- },
227
- {
228
- "inputs": [
229
- {
230
- "internalType": "NftId",
231
- "name": "bundlePoolNftId",
232
- "type": "uint96"
233
- },
234
- {
235
- "internalType": "NftId",
236
- "name": "productPoolNftId",
237
- "type": "uint96"
238
- }
239
- ],
240
- "name": "ErrorPoolServiceBundlePoolMismatch",
241
- "type": "error"
242
- },
243
- {
244
- "inputs": [],
245
- "name": "InvalidInitialization",
246
- "type": "error"
247
- },
248
- {
249
- "inputs": [],
250
- "name": "NotInitializing",
251
- "type": "error"
252
- },
253
- {
254
- "anonymous": false,
255
- "inputs": [
256
- {
257
- "indexed": false,
258
- "internalType": "address",
259
- "name": "authority",
260
- "type": "address"
261
- }
262
- ],
263
- "name": "AuthorityUpdated",
264
- "type": "event"
265
- },
266
- {
267
- "anonymous": false,
268
- "inputs": [
269
- {
270
- "indexed": false,
271
- "internalType": "uint64",
272
- "name": "version",
273
- "type": "uint64"
274
- }
275
- ],
276
- "name": "Initialized",
277
- "type": "event"
278
- },
279
- {
280
- "anonymous": false,
281
- "inputs": [
282
- {
283
- "indexed": false,
284
- "internalType": "NftId",
285
- "name": "instanceNftId",
286
- "type": "uint96"
287
- },
288
- {
289
- "indexed": false,
290
- "internalType": "NftId",
291
- "name": "poolNftId",
292
- "type": "uint96"
293
- },
294
- {
295
- "indexed": false,
296
- "internalType": "NftId",
297
- "name": "bundleNftId",
298
- "type": "uint96"
299
- }
300
- ],
301
- "name": "LogPoolServiceBundleClosed",
302
- "type": "event"
303
- },
304
- {
305
- "anonymous": false,
306
- "inputs": [
307
- {
308
- "indexed": false,
309
- "internalType": "NftId",
310
- "name": "instanceNftId",
311
- "type": "uint96"
312
- },
313
- {
314
- "indexed": false,
315
- "internalType": "NftId",
316
- "name": "poolNftId",
317
- "type": "uint96"
318
- },
319
- {
320
- "indexed": false,
321
- "internalType": "NftId",
322
- "name": "bundleNftId",
323
- "type": "uint96"
324
- }
325
- ],
326
- "name": "LogPoolServiceBundleCreated",
327
- "type": "event"
328
- },
329
- {
330
- "anonymous": false,
331
- "inputs": [
332
- {
333
- "indexed": false,
334
- "internalType": "NftId",
335
- "name": "poolNftId",
336
- "type": "uint96"
337
- },
338
- {
339
- "indexed": false,
340
- "internalType": "RoleId",
341
- "name": "bundleOwnerRole",
342
- "type": "uint64"
343
- }
344
- ],
345
- "name": "LogPoolServiceBundleOwnerRoleSet",
346
- "type": "event"
347
- },
348
- {
349
- "anonymous": false,
350
- "inputs": [
351
- {
352
- "indexed": false,
353
- "internalType": "NftId",
354
- "name": "poolNftId",
355
- "type": "uint96"
356
- },
357
- {
358
- "indexed": false,
359
- "internalType": "uint256",
360
- "name": "previousMaxCapitalAmount",
361
- "type": "uint256"
362
- },
363
- {
364
- "indexed": false,
365
- "internalType": "uint256",
366
- "name": "currentMaxCapitalAmount",
367
- "type": "uint256"
368
- }
369
- ],
370
- "name": "LogPoolServiceMaxCapitalAmountUpdated",
371
- "type": "event"
372
- },
373
- {
374
- "inputs": [],
375
- "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
376
- "outputs": [
377
- {
378
- "internalType": "bytes32",
379
- "name": "",
380
- "type": "bytes32"
381
- }
382
- ],
383
- "stateMutability": "view",
384
- "type": "function"
385
- },
386
- {
387
- "inputs": [],
388
- "name": "REGISTERABLE_LOCATION_V1",
389
- "outputs": [
390
- {
391
- "internalType": "bytes32",
392
- "name": "",
393
- "type": "bytes32"
394
- }
395
- ],
396
- "stateMutability": "view",
397
- "type": "function"
398
- },
399
- {
400
- "inputs": [],
401
- "name": "authority",
402
- "outputs": [
403
- {
404
- "internalType": "address",
405
- "name": "",
406
- "type": "address"
407
- }
408
- ],
409
- "stateMutability": "view",
410
- "type": "function"
411
- },
412
- {
413
- "inputs": [
414
- {
415
- "internalType": "NftId",
416
- "name": "bundleNftId",
417
- "type": "uint96"
418
- }
419
- ],
420
- "name": "closeBundle",
421
- "outputs": [],
422
- "stateMutability": "nonpayable",
423
- "type": "function"
424
- },
425
- {
426
- "inputs": [
427
- {
428
- "internalType": "address",
429
- "name": "owner",
430
- "type": "address"
431
- },
432
- {
433
- "components": [
434
- {
435
- "internalType": "UFixed",
436
- "name": "fractionalFee",
437
- "type": "uint256"
438
- },
439
- {
440
- "internalType": "uint256",
441
- "name": "fixedFee",
442
- "type": "uint256"
443
- }
444
- ],
445
- "internalType": "struct Fee",
446
- "name": "fee",
447
- "type": "tuple"
448
- },
449
- {
450
- "internalType": "Amount",
451
- "name": "stakingAmount",
452
- "type": "uint96"
453
- },
454
- {
455
- "internalType": "Seconds",
456
- "name": "lifetime",
457
- "type": "uint40"
458
- },
459
- {
460
- "internalType": "bytes",
461
- "name": "filter",
462
- "type": "bytes"
463
- }
464
- ],
465
- "name": "createBundle",
466
- "outputs": [
467
- {
468
- "internalType": "NftId",
469
- "name": "bundleNftId",
470
- "type": "uint96"
471
- }
472
- ],
473
- "stateMutability": "nonpayable",
474
- "type": "function"
475
- },
476
- {
477
- "inputs": [],
478
- "name": "getDomain",
479
- "outputs": [
480
- {
481
- "internalType": "ObjectType",
482
- "name": "",
483
- "type": "uint8"
484
- }
485
- ],
486
- "stateMutability": "pure",
487
- "type": "function"
488
- },
489
- {
490
- "inputs": [],
491
- "name": "getInitialInfo",
492
- "outputs": [
493
- {
494
- "components": [
495
- {
496
- "internalType": "NftId",
497
- "name": "nftId",
498
- "type": "uint96"
499
- },
500
- {
501
- "internalType": "NftId",
502
- "name": "parentNftId",
503
- "type": "uint96"
504
- },
505
- {
506
- "internalType": "ObjectType",
507
- "name": "objectType",
508
- "type": "uint8"
509
- },
510
- {
511
- "internalType": "bool",
512
- "name": "isInterceptor",
513
- "type": "bool"
514
- },
515
- {
516
- "internalType": "address",
517
- "name": "objectAddress",
518
- "type": "address"
519
- },
520
- {
521
- "internalType": "address",
522
- "name": "initialOwner",
523
- "type": "address"
524
- },
525
- {
526
- "internalType": "bytes",
527
- "name": "data",
528
- "type": "bytes"
529
- }
530
- ],
531
- "internalType": "struct IRegistry.ObjectInfo",
532
- "name": "info",
533
- "type": "tuple"
534
- }
535
- ],
536
- "stateMutability": "view",
537
- "type": "function"
538
- },
539
- {
540
- "inputs": [],
541
- "name": "getInstanceService",
542
- "outputs": [
543
- {
544
- "internalType": "contract InstanceService",
545
- "name": "",
546
- "type": "address"
547
- }
548
- ],
549
- "stateMutability": "view",
550
- "type": "function"
551
- },
552
- {
553
- "inputs": [],
554
- "name": "getMajorVersion",
555
- "outputs": [
556
- {
557
- "internalType": "VersionPart",
558
- "name": "majorVersion",
559
- "type": "uint8"
560
- }
561
- ],
562
- "stateMutability": "view",
563
- "type": "function"
564
- },
565
- {
566
- "inputs": [],
567
- "name": "getNftId",
568
- "outputs": [
569
- {
570
- "internalType": "NftId",
571
- "name": "",
572
- "type": "uint96"
573
- }
574
- ],
575
- "stateMutability": "view",
576
- "type": "function"
577
- },
578
- {
579
- "inputs": [],
580
- "name": "getOwner",
581
- "outputs": [
582
- {
583
- "internalType": "address",
584
- "name": "",
585
- "type": "address"
586
- }
587
- ],
588
- "stateMutability": "view",
589
- "type": "function"
590
- },
591
- {
592
- "inputs": [],
593
- "name": "getRegistry",
594
- "outputs": [
595
- {
596
- "internalType": "contract IRegistry",
597
- "name": "",
598
- "type": "address"
599
- }
600
- ],
601
- "stateMutability": "view",
602
- "type": "function"
603
- },
604
- {
605
- "inputs": [],
606
- "name": "getRegistryAddress",
607
- "outputs": [
608
- {
609
- "internalType": "address",
610
- "name": "",
611
- "type": "address"
612
- }
613
- ],
614
- "stateMutability": "view",
615
- "type": "function"
616
- },
617
- {
618
- "inputs": [],
619
- "name": "getRegistryService",
620
- "outputs": [
621
- {
622
- "internalType": "contract IRegistryService",
623
- "name": "",
624
- "type": "address"
625
- }
626
- ],
627
- "stateMutability": "view",
628
- "type": "function"
629
- },
630
- {
631
- "inputs": [],
632
- "name": "getVersion",
633
- "outputs": [
634
- {
635
- "internalType": "Version",
636
- "name": "",
637
- "type": "uint24"
638
- }
639
- ],
640
- "stateMutability": "pure",
641
- "type": "function"
642
- },
643
- {
644
- "inputs": [],
645
- "name": "initializeERC165",
646
- "outputs": [],
647
- "stateMutability": "nonpayable",
648
- "type": "function"
649
- },
650
- {
651
- "inputs": [
652
- {
653
- "internalType": "address",
654
- "name": "initialOwner",
655
- "type": "address"
656
- },
657
- {
658
- "internalType": "address",
659
- "name": "registryAddress",
660
- "type": "address"
661
- }
662
- ],
663
- "name": "initializeNftOwnable",
664
- "outputs": [],
665
- "stateMutability": "nonpayable",
666
- "type": "function"
667
- },
668
- {
669
- "inputs": [
670
- {
671
- "internalType": "address",
672
- "name": "registryAddress",
673
- "type": "address"
674
- },
675
- {
676
- "internalType": "NftId",
677
- "name": "parentNftId",
678
- "type": "uint96"
679
- },
680
- {
681
- "internalType": "ObjectType",
682
- "name": "objectType",
683
- "type": "uint8"
684
- },
685
- {
686
- "internalType": "bool",
687
- "name": "isInterceptor",
688
- "type": "bool"
689
- },
690
- {
691
- "internalType": "address",
692
- "name": "initialOwner",
693
- "type": "address"
694
- },
695
- {
696
- "internalType": "bytes",
697
- "name": "registryData",
698
- "type": "bytes"
699
- }
700
- ],
701
- "name": "initializeRegisterable",
702
- "outputs": [],
703
- "stateMutability": "nonpayable",
704
- "type": "function"
705
- },
706
- {
707
- "inputs": [
708
- {
709
- "internalType": "address",
710
- "name": "registryAddress",
711
- "type": "address"
712
- }
713
- ],
714
- "name": "initializeRegistryLinked",
715
- "outputs": [],
716
- "stateMutability": "nonpayable",
717
- "type": "function"
718
- },
719
- {
720
- "inputs": [
721
- {
722
- "internalType": "address",
723
- "name": "registry",
724
- "type": "address"
725
- },
726
- {
727
- "internalType": "address",
728
- "name": "initialOwner",
729
- "type": "address"
730
- }
731
- ],
732
- "name": "initializeService",
733
- "outputs": [],
734
- "stateMutability": "nonpayable",
735
- "type": "function"
736
- },
737
- {
738
- "inputs": [
739
- {
740
- "internalType": "address",
741
- "name": "activatedBy",
742
- "type": "address"
743
- },
744
- {
745
- "internalType": "bytes",
746
- "name": "data",
747
- "type": "bytes"
748
- }
749
- ],
750
- "name": "initializeVersionable",
751
- "outputs": [],
752
- "stateMutability": "nonpayable",
753
- "type": "function"
754
- },
755
- {
756
- "inputs": [],
757
- "name": "isConsumingScheduledOp",
758
- "outputs": [
759
- {
760
- "internalType": "bytes4",
761
- "name": "",
762
- "type": "bytes4"
763
- }
764
- ],
765
- "stateMutability": "view",
766
- "type": "function"
767
- },
768
- {
769
- "inputs": [],
770
- "name": "linkToRegisteredNftId",
771
- "outputs": [],
772
- "stateMutability": "nonpayable",
773
- "type": "function"
774
- },
775
- {
776
- "inputs": [
777
- {
778
- "internalType": "contract IInstance",
779
- "name": "instance",
780
- "type": "address"
781
- },
782
- {
783
- "internalType": "NftId",
784
- "name": "productNftId",
785
- "type": "uint96"
786
- },
787
- {
788
- "internalType": "NftId",
789
- "name": "applicationNftId",
790
- "type": "uint96"
791
- },
792
- {
793
- "components": [
794
- {
795
- "internalType": "NftId",
796
- "name": "productNftId",
797
- "type": "uint96"
798
- },
799
- {
800
- "internalType": "NftId",
801
- "name": "bundleNftId",
802
- "type": "uint96"
803
- },
804
- {
805
- "internalType": "ReferralId",
806
- "name": "referralId",
807
- "type": "bytes8"
808
- },
809
- {
810
- "internalType": "RiskId",
811
- "name": "riskId",
812
- "type": "bytes8"
813
- },
814
- {
815
- "internalType": "uint256",
816
- "name": "sumInsuredAmount",
817
- "type": "uint256"
818
- },
819
- {
820
- "internalType": "uint256",
821
- "name": "premiumAmount",
822
- "type": "uint256"
823
- },
824
- {
825
- "internalType": "uint256",
826
- "name": "premiumPaidAmount",
827
- "type": "uint256"
828
- },
829
- {
830
- "internalType": "Seconds",
831
- "name": "lifetime",
832
- "type": "uint40"
833
- },
834
- {
835
- "internalType": "bytes",
836
- "name": "applicationData",
837
- "type": "bytes"
838
- },
839
- {
840
- "internalType": "bytes",
841
- "name": "policyData",
842
- "type": "bytes"
843
- },
844
- {
845
- "internalType": "uint16",
846
- "name": "claimsCount",
847
- "type": "uint16"
848
- },
849
- {
850
- "internalType": "uint16",
851
- "name": "openClaimsCount",
852
- "type": "uint16"
853
- },
854
- {
855
- "internalType": "uint256",
856
- "name": "payoutAmount",
857
- "type": "uint256"
858
- },
859
- {
860
- "internalType": "Timestamp",
861
- "name": "activatedAt",
862
- "type": "uint40"
863
- },
864
- {
865
- "internalType": "Timestamp",
866
- "name": "expiredAt",
867
- "type": "uint40"
868
- },
869
- {
870
- "internalType": "Timestamp",
871
- "name": "closedAt",
872
- "type": "uint40"
873
- }
874
- ],
875
- "internalType": "struct IPolicy.PolicyInfo",
876
- "name": "applicationInfo",
877
- "type": "tuple"
878
- },
879
- {
880
- "internalType": "uint256",
881
- "name": "premiumAmount",
882
- "type": "uint256"
883
- }
884
- ],
885
- "name": "lockCollateral",
886
- "outputs": [],
887
- "stateMutability": "nonpayable",
888
- "type": "function"
889
- },
890
- {
891
- "inputs": [
892
- {
893
- "internalType": "address",
894
- "name": "poolAddress",
895
- "type": "address"
896
- }
897
- ],
898
- "name": "register",
899
- "outputs": [
900
- {
901
- "internalType": "NftId",
902
- "name": "poolNftId",
903
- "type": "uint96"
904
- }
905
- ],
906
- "stateMutability": "nonpayable",
907
- "type": "function"
908
- },
909
- {
910
- "inputs": [
911
- {
912
- "internalType": "bytes4",
913
- "name": "interfaceId",
914
- "type": "bytes4"
915
- }
916
- ],
917
- "name": "registerInterface",
918
- "outputs": [],
919
- "stateMutability": "nonpayable",
920
- "type": "function"
921
- },
922
- {
923
- "inputs": [
924
- {
925
- "internalType": "contract IInstance",
926
- "name": "instance",
927
- "type": "address"
928
- },
929
- {
930
- "internalType": "NftId",
931
- "name": "policyNftId",
932
- "type": "uint96"
933
- },
934
- {
935
- "components": [
936
- {
937
- "internalType": "NftId",
938
- "name": "productNftId",
939
- "type": "uint96"
940
- },
941
- {
942
- "internalType": "NftId",
943
- "name": "bundleNftId",
944
- "type": "uint96"
945
- },
946
- {
947
- "internalType": "ReferralId",
948
- "name": "referralId",
949
- "type": "bytes8"
950
- },
951
- {
952
- "internalType": "RiskId",
953
- "name": "riskId",
954
- "type": "bytes8"
955
- },
956
- {
957
- "internalType": "uint256",
958
- "name": "sumInsuredAmount",
959
- "type": "uint256"
960
- },
961
- {
962
- "internalType": "uint256",
963
- "name": "premiumAmount",
964
- "type": "uint256"
965
- },
966
- {
967
- "internalType": "uint256",
968
- "name": "premiumPaidAmount",
969
- "type": "uint256"
970
- },
971
- {
972
- "internalType": "Seconds",
973
- "name": "lifetime",
974
- "type": "uint40"
975
- },
976
- {
977
- "internalType": "bytes",
978
- "name": "applicationData",
979
- "type": "bytes"
980
- },
981
- {
982
- "internalType": "bytes",
983
- "name": "policyData",
984
- "type": "bytes"
985
- },
986
- {
987
- "internalType": "uint16",
988
- "name": "claimsCount",
989
- "type": "uint16"
990
- },
991
- {
992
- "internalType": "uint16",
993
- "name": "openClaimsCount",
994
- "type": "uint16"
995
- },
996
- {
997
- "internalType": "uint256",
998
- "name": "payoutAmount",
999
- "type": "uint256"
1000
- },
1001
- {
1002
- "internalType": "Timestamp",
1003
- "name": "activatedAt",
1004
- "type": "uint40"
1005
- },
1006
- {
1007
- "internalType": "Timestamp",
1008
- "name": "expiredAt",
1009
- "type": "uint40"
1010
- },
1011
- {
1012
- "internalType": "Timestamp",
1013
- "name": "closedAt",
1014
- "type": "uint40"
1015
- }
1016
- ],
1017
- "internalType": "struct IPolicy.PolicyInfo",
1018
- "name": "policyInfo",
1019
- "type": "tuple"
1020
- }
1021
- ],
1022
- "name": "releaseCollateral",
1023
- "outputs": [],
1024
- "stateMutability": "nonpayable",
1025
- "type": "function"
1026
- },
1027
- {
1028
- "inputs": [
1029
- {
1030
- "internalType": "address",
1031
- "name": "newAuthority",
1032
- "type": "address"
1033
- }
1034
- ],
1035
- "name": "setAuthority",
1036
- "outputs": [],
1037
- "stateMutability": "nonpayable",
1038
- "type": "function"
1039
- },
1040
- {
1041
- "inputs": [
1042
- {
1043
- "internalType": "RoleId",
1044
- "name": "bundleOwnerRole",
1045
- "type": "uint64"
1046
- }
1047
- ],
1048
- "name": "setBundleOwnerRole",
1049
- "outputs": [],
1050
- "stateMutability": "nonpayable",
1051
- "type": "function"
1052
- },
1053
- {
1054
- "inputs": [
1055
- {
1056
- "components": [
1057
- {
1058
- "internalType": "UFixed",
1059
- "name": "fractionalFee",
1060
- "type": "uint256"
1061
- },
1062
- {
1063
- "internalType": "uint256",
1064
- "name": "fixedFee",
1065
- "type": "uint256"
1066
- }
1067
- ],
1068
- "internalType": "struct Fee",
1069
- "name": "poolFee",
1070
- "type": "tuple"
1071
- },
1072
- {
1073
- "components": [
1074
- {
1075
- "internalType": "UFixed",
1076
- "name": "fractionalFee",
1077
- "type": "uint256"
1078
- },
1079
- {
1080
- "internalType": "uint256",
1081
- "name": "fixedFee",
1082
- "type": "uint256"
1083
- }
1084
- ],
1085
- "internalType": "struct Fee",
1086
- "name": "stakingFee",
1087
- "type": "tuple"
1088
- },
1089
- {
1090
- "components": [
1091
- {
1092
- "internalType": "UFixed",
1093
- "name": "fractionalFee",
1094
- "type": "uint256"
1095
- },
1096
- {
1097
- "internalType": "uint256",
1098
- "name": "fixedFee",
1099
- "type": "uint256"
1100
- }
1101
- ],
1102
- "internalType": "struct Fee",
1103
- "name": "performanceFee",
1104
- "type": "tuple"
1105
- }
1106
- ],
1107
- "name": "setFees",
1108
- "outputs": [],
1109
- "stateMutability": "nonpayable",
1110
- "type": "function"
1111
- },
1112
- {
1113
- "inputs": [
1114
- {
1115
- "internalType": "uint256",
1116
- "name": "maxCapitalAmount",
1117
- "type": "uint256"
1118
- }
1119
- ],
1120
- "name": "setMaxCapitalAmount",
1121
- "outputs": [],
1122
- "stateMutability": "nonpayable",
1123
- "type": "function"
1124
- },
1125
- {
1126
- "inputs": [
1127
- {
1128
- "internalType": "bytes4",
1129
- "name": "interfaceId",
1130
- "type": "bytes4"
1131
- }
1132
- ],
1133
- "name": "supportsInterface",
1134
- "outputs": [
1135
- {
1136
- "internalType": "bool",
1137
- "name": "",
1138
- "type": "bool"
1139
- }
1140
- ],
1141
- "stateMutability": "view",
1142
- "type": "function"
1143
- },
1144
- {
1145
- "inputs": [
1146
- {
1147
- "internalType": "bytes",
1148
- "name": "data",
1149
- "type": "bytes"
1150
- }
1151
- ],
1152
- "name": "upgradeVersionable",
1153
- "outputs": [],
1154
- "stateMutability": "nonpayable",
1155
- "type": "function"
1156
- }
1157
- ],
1158
- "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b614a4a80620000e66000396000f3fe60806040523480156200001157600080fd5b5060043610620002255760003560e01c80637738eb861162000131578063b68d180911620000bb578063cde749f41162000086578063cde749f4146200050d578063d0d63b091462000517578063ea866572146200052e578063f21de1e814620003ae578063f7c34ee0146200054557600080fd5b8063b68d180914620004c3578063bf7e214f14620004d9578063caf4e3d414620004f9578063cc9fc59a146200050357600080fd5b80638fb3603711620000fc5780638fb36037146200045a578063a3c26052146200047e578063ada9652e1462000495578063b135d5d414620004ac57600080fd5b80637738eb86146200040b5780637a9e5e4b1462000422578063826787661462000439578063893d20e8146200045057600080fd5b8063329d6e7411620001b357806359eaa43e116200017e57806359eaa43e14620003975780635ab1bd5314620003ae578063644c45e014620003d4578063675393bf14620003f457600080fd5b8063329d6e74146200032f57806336fc697e14620003465780634420e486146200035057806349bb9e4b146200038057600080fd5b806313f3bc2f11620001f457806313f3bc2f14620002b35780631eff4b2214620002ca578063214cdb80146200030157806327bb7a33146200031857600080fd5b806301ffc9a7146200022a5780630d8e6e2c146200026f5780630fec111c146200028e578063138461e014620002a7575b600080fd5b6200025a6200023b366004620030db565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b620002796200055c565b60405162ffffff909116815260200162000266565b62000298620005e9565b60405162000266919062003162565b620002b1620007a8565b005b620002b1620002c43660046200359b565b620009bd565b620002f27f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200162000266565b620002b162000312366004620030db565b62000dbd565b620002b16200032936600462003640565b62000dec565b620002b162000340366004620036e6565b62000e7e565b620002b162000fd6565b62000367620003613660046200371e565b6200101e565b6040516001600160601b03909116815260200162000266565b620002b1620003913660046200373e565b62001546565b620002b1620003a836600462003793565b6200164e565b6001546001600160a01b03165b6040516001600160a01b03909116815260200162000266565b600080516020620049b5833981519152546001600160601b031662000367565b620002b1620004053660046200371e565b620016d4565b620003676200041c3660046200382f565b620017ed565b620002b1620004333660046200371e565b620019c8565b620002b16200044a366004620038f6565b62001a6a565b620003bb62001c29565b6200046462001d68565b6040516001600160e01b0319909116815260200162000266565b620002b16200048f36600462003959565b62001da3565b620002f2600080516020620049b583398151915281565b620002b1620004bd36600462003979565b62001ff7565b608c5b60405160ff909116815260200162000266565b600080516020620049d5833981519152546001600160a01b0316620003bb565b620003bb62002202565b620003bb620022a5565b620004c6620022d1565b620002b16200052836600462003993565b6200234b565b620002b16200053f366004620039b3565b62002481565b620002b162000556366004620039b3565b62002534565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015620005be573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005e49190620039f1565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b909104161515918101919091526001820180549192916060840191906200069b9062003a18565b80601f0160208091040260200160405190810160405280929190818152602001828054620006c99062003a18565b80156200071a5780601f10620006ee576101008083540402835291602001916200071a565b820191906000526020600020905b815481529060010190602001808311620006fc57829003601f168201915b50505050508152505090506040518060e0016040528062000739600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016200078c62001c29565b6001600160a01b03168152602001826060015181525091505090565b6000600080516020620049b583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562000819573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200083f919062003a61565b15620008715780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b30620008856001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015620008ce573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620008f4919062003a61565b6200091e5760405163b9304b0d60e01b81526001600160a01b038216600482015260240162000868565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa15801562000973573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000999919062003a8e565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6000856001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015620009fe573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000a24919062003aae565b60405163242bdc1960e21b81526001600160601b03871660048201529091506000906001600160a01b038316906390af70649060240161014060405180830381865afa15801562000a79573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000a9f919062003b0e565b606001516020850151604051634793b4ab60e01b81526001600160601b0382166004820152919250906000906001600160a01b03851690634793b4ab90602401600060405180830381865afa15801562000afd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000b27919081019062003c22565b80519091506001600160601b0384811691161462000b6f578051604051630a49ea2360e01b81526001600160601b039182166004820152908416602482015260440162000868565b60405163f0ea17c360e01b81526001600160601b03841660048201526000906001600160a01b0386169063f0ea17c390602401600060405180830381865afa15801562000bc0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000bea919081019062003d36565b905060008160c0015180602001905181019062000c08919062003e3d565b608089015160025460405163a7e0dea760e01b81526001600160a01b038f811660048301526001600160601b03808f1660248401528916604483015260648201849052608482018c905293945091928a9291169063a7e0dea79060a401600060405180830381600087803b15801562000c8057600080fd5b505af115801562000c95573d6000803e3d6000fd5b505050508260e001511562000dae57600062000cb96001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b038a1660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562000d09573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000d33919081019062003f3c565b608001519050806001600160a01b031663da65659d8d8d61010001518a8a60400151886040518663ffffffff1660e01b815260040162000d7895949392919062003fed565b600060405180830381600087803b15801562000d9357600080fd5b505af115801562000da8573d6000803e3d6000fd5b50505050505b50505050505050505050505050565b62000dc7620025b3565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b62000df6620025b3565b62000e02828762002534565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b8615150217815590506001810162000e74838262004095565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c62000ea26200055c565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af415801562000ee3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000f09919062004161565b600080516020620049f58339815191528054600160401b900460ff168062000f3e575080546001600160401b03808416911610155b1562000f5d5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815562000f8983620025ee565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a1505050565b62000fe0620025b3565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000808080806200103b86608c62001035620025f8565b62002672565b929650909450925090508560006200105262002202565b604051637286e5e560e01b81526001600160a01b03848116600483015287811660248301529190911690637286e5e5906044016000604051808303816000875af1158015620010a5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620010cf919081019062003f3c565b9050816001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156200110d57600080fd5b505af115801562001122573d6000803e3d6000fd5b50505050806000015196506000826001600160a01b03166390edbd356040518163ffffffff1660e01b8152600401600060405180830381865afa1580156200116e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001198919081019062003d36565b90508060200151604051620011ad90620030cd565b6001600160a01b039091168152602001604051809103906000f080158015620011da573d6000803e3d6000fd5b506001600160a01b039081166040808401919091525163d5c9d77d60e01b81529086169063d5c9d77d9062001216908b9085906004016200420d565b600060405180830381600087803b1580156200123157600080fd5b505af115801562001246573d6000803e3d6000fd5b506000925060029150620012579050565b6040519080825280602002602001820160405280156200128c57816020015b6060815260200190600190039081620012765790505b50604080516001808252818301909252919250602080830190803683370190505081600081518110620012c357620012c362004231565b602090810291909101015260408051600180825281830190925290816020016020820280368337019050508160018151811062001304576200130462004231565b6020026020010181905250638267876660e01b816000815181106200132d576200132d62004231565b60200260200101516000815181106200134a576200134a62004231565b6001600160e01b031990921660209283029190910190910152805163da65659d60e01b908290600190811062001384576200138462004231565b6020026020010151600081518110620013a157620013a162004231565b6001600160e01b0319929092166020928302919091018201526040805160028082526060820183526000939192909183019080368337019050509050620013e7620025f8565b81600081518110620013fd57620013fd62004231565b60200260200101906001600160401b031690816001600160401b0316815250506200142762002ac3565b816001815181106200143d576200143d62004231565b60200260200101906001600160401b031690816001600160401b03168152505062001467620022a5565b6001600160a01b0316636c6fbb28878d886001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015620014b6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620014e0919081019062004247565b86866040518663ffffffff1660e01b815260040162001504959493929190620042c5565b600060405180830381600087803b1580156200151f57600080fd5b505af115801562001534573d6000803e3d6000fd5b50505050505050505050505050919050565b600080516020620049f58339815191528054600160401b810460ff1615906001600160401b03166000811580156200157b5750825b90506000826001600160401b03166001148015620015985750303b155b905081158015620015a7575080155b15620015c65760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315620015f157845460ff60401b1916600160401b1785555b620015fd878762002b00565b83156200164557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b60025460208201516080830151604051632a4cd36960e21b81526001600160a01b0387811660048301526001600160601b0380881660248401529093166044820152606481019190915291169063a9334da490608401600060405180830381600087803b158015620016bf57600080fd5b505af115801562001645573d6000803e3d6000fd5b620016de620025b3565b806001600160a01b03163b600003620017165760405163fdeac91f60e01b81526001600160a01b038216600482015260240162000868565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa92505050801562001793575060408051601f3d908101601f19168201909252620017909181019062003a61565b60015b620017bd5760405163fdeac91f60e01b81526001600160a01b038216600482015260240162000868565b80620017e85760405163fdeac91f60e01b81526001600160a01b038316600482015260240162000868565b505b50565b60008080620017fd608c62002cd6565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001843573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001869919062003aae565b90506000889050600260009054906101000a90046001600160a01b03166001600160a01b031663e283b4a984868e8e868e8e8e6040518963ffffffff1660e01b8152600401620018c1989796959493929190620043a1565b6020604051808303816000875af1158015620018e1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001907919062003a8e565b94507f0dcadf661b8b2888423f78a848a77785b4dc0138395b12584835f6a65dfcea79836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001969573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200198f919062003a8e565b604080516001600160601b03928316815282881660208201529188169082015260600160405180910390a1505050509695505050505050565b33620019ea600080516020620049d5833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b03161462001a275760405162d1953b60e31b81526001600160a01b038216600482015260240162000868565b816001600160a01b03163b60000362001a5f576040516361798f2f60e11b81526001600160a01b038316600482015260240162000868565b620017e88262002f8e565b6000808062001a7a608c62002cd6565b9250925092506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001ac1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001ae7919062003aae565b60405163f0ea17c360e01b81526001600160601b03861660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa15801562001b3b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001b65919081019062003d36565b905060008160c0015180602001905181019062001b83919062003e3d565b61014081018a90526101608101899052610180810188905260405190915062001bb190829060200162004432565b60408051808303601f1901815291905260c08301526001600160a01b03841663a4eeee59878460ff6040518463ffffffff1660e01b815260040162001bf9939291906200452c565b600060405180830381600087803b15801562001c1457600080fd5b505af115801562000dae573d6000803e3d6000fd5b600080600080516020620049b583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562001c9b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001cc1919062003a61565b1562001d52576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801562001d26573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001d4c919062003aae565b91505090565b54600160601b90046001600160a01b0316919050565b600080516020620049d5833981519152805460009190600160a01b900460ff1662001d9557600062001d4c565b638fb3603760e01b91505090565b6000808062001db3608c62002cd6565b9250925092506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001dfa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001e20919062003aae565b60405163f0ea17c360e01b81526001600160601b03861660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa15801562001e74573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001e9e919081019062003d36565b905060008160c0015180602001905181019062001ebc919062003e3d565b905062001ee3816020015162001ed162002ff0565b6001600160401b039081169116141590565b1562001f0e5760405163eff765ff60e01b81526001600160601b038716600482015260240162000868565b6001600160401b03871660208083019190915260405162001f329183910162004432565b60408051808303601f1901815291905260c08301526001600160a01b03841663a4eeee59878460ff6040518463ffffffff1660e01b815260040162001f7a939291906200452c565b600060405180830381600087803b15801562001f9557600080fd5b505af115801562001faa573d6000803e3d6000fd5b5050604080516001600160601b038a1681526001600160401b038b1660208201527fe7e6a7a42cbdb2d274dfaaac06073a09d6095ca3745ce71fe5a137f8247ea23e93500190506200163c565b6000808062002007608c62002cd6565b9250925092506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200204e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002074919062003aae565b60405163f0ea17c360e01b81526001600160601b03861660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa158015620020c8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620020f2919081019062003d36565b905060008160c0015180602001905181019062002110919062003e3d565b60408082018051908a90529051919250906200213190839060200162004432565b60408051808303601f1901815291905260c08401526001600160a01b03851663a4eeee59888560ff6040518463ffffffff1660e01b815260040162002179939291906200452c565b600060405180830381600087803b1580156200219457600080fd5b505af1158015620021a9573d6000803e3d6000fd5b5050604080516001600160601b038b168152602081018590529081018b90527f3d3c927c97d357afd5a7d8406e5040fdd068b171cc4ea3cfd3f41c5500d596379250606001905060405180910390a15050505050505050565b600080620022186001546001600160a01b031690565b6001600160a01b031663d39e604360285b62002233620022d1565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801562002279573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200229f919062003aae565b92915050565b600080620022bb6001546001600160a01b031690565b6001600160a01b031663d39e6043604662002229565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af415801562002325573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005e4919062004563565b6000806200235a608c62002cd6565b600254604051632aa6b2cb60e21b81526001600160a01b0380841660048301526001600160601b0389166024830152949650919450929092169163aa9acb2c9150604401600060405180830381600087803b158015620023b957600080fd5b505af1158015620023ce573d6000803e3d6000fd5b505050507f64c75a4392ba38fee1b5a44b61e3dd0cae424d2d43eb2b0c99772efe31e1c042816001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002432573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002458919062003a8e565b604080516001600160601b03928316815282861660208201529186169082015260600162000fc9565b6200248b620025b3565b6200251082836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015620024cf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620024f5919062003a8e565b603c6000856040518060200160405280600081525062000dec565b62002522634a531f3360e01b62000dbd565b620017e8637b6a51fd60e01b62000dbd565b6200253e620025b3565b6200254981620016d4565b6200255362000fd6565b6001600160a01b0382166200257b5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020620049b583398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020620049f583398151915254600160401b900460ff16620025ec57604051631afcd79f60e31b815260040160405180910390fd5b565b62000225620025b3565b6040516368aebf7b60e01b815260048082015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af41580156200264c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005e4919062004161565b6000338180806200268b6001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b038a81166004830152919091169063d272ac1e90602401602060405180830381865afa158015620026d4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620026fa919062003a8e565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562002756573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200277c919062003a61565b15620027b55760405162b8422b60e71b81526001600160a01b03891660048201526001600160601b038216602482015260440162000868565b6040516301ffc9a760e01b81526396c8ab0560e01b60048201528895506001600160a01b038616906301ffc9a790602401602060405180830381865afa15801562002804573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200282a919062003a61565b62002854576040516359bff0e360e11b81526001600160a01b038916600482015260240162000868565b6000856001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801562002895573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620028bf919081019062003f3c565b9050620028d781604001518960ff9081169116141590565b1562002919576040808201519051634a2e948760e11b81526001600160a01b038b16600482015260ff808b166024830152909116604482015260640162000868565b60a08101516001600160a01b03868116908216146200296d5760a0820151604051632b50a20960e21b81526001600160a01b03808d1660048301529182166024820152908716604482015260640162000868565b816020015193506200297f8462003032565b94506000856001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015620029c2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620029e8919062003aae565b6040516368fc2b7760e11b81526001600160401b038b1660048201526001600160a01b03898116602483015291925060009183169063d1f856ee90604401602060405180830381865afa15801562002a44573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002a6a919062003a61565b90508062002ab557604051636af540d960e01b81526001600160601b03871660048201526001600160401b038b1660248201526001600160a01b038916604482015260640162000868565b505050505093509350935093565b6040516368aebf7b60e01b815261096a600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016200262e565b600080516020620049f58339815191528054600160401b810460ff1615906001600160401b031660008115801562002b355750825b90506000826001600160401b0316600114801562002b525750303b155b90508115801562002b61575080155b1562002b805760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831562002bab57845460ff60401b1916600160401b1785555b6000808780602001905181019062002bc4919062004583565b909250905062002bd5828a62002481565b6001546001600160a01b031663d39e604360dc62002bf2620022d1565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801562002c38573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002c5e919062003aae565b600280546001600160a01b0319166001600160a01b039290921691909117905562002c90630728e3df60e31b62000dbd565b505083156200164557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020016200163c565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082015260008062002d236001546001600160a01b031690565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa15801562002d6b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262002d95919081019062003f3c565b8051604082015190955090935060ff86811691161462002dee5760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b604482015260640162000868565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa15801562002e45573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262002e6f919081019062003f3c565b6080015190508092506000836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002eb9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002edf919062003aae565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa15801562002f2d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002f53919062003a61565b1562002f8457608085015160405163d53987e560e01b81526001600160a01b03909116600482015260240162000868565b5050509193909250565b600080516020620049d583398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516368aebf7b60e01b81526001600160401b03600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016200262e565b600080620030486001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562003098573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620030c2919081019062003f3c565b608001519392505050565b6103fd80620045b883390190565b600060208284031215620030ee57600080fd5b81356001600160e01b0319811681146200310757600080fd5b9392505050565b60005b838110156200312b57818101518382015260200162003111565b50506000910152565b600081518084526200314e8160208601602086016200310e565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151620031cc60c08401826001600160a01b03169052565b5060c083015160e080840152620031e861010084018262003134565b949350505050565b6001600160a01b0381168114620017ea57600080fd5b6001600160601b0381168114620017ea57600080fd5b8035620032298162003206565b919050565b634e487b7160e01b600052604160045260246000fd5b60405161020081016001600160401b03811182821017156200326a576200326a6200322e565b60405290565b604080519081016001600160401b03811182821017156200326a576200326a6200322e565b60405161010081016001600160401b03811182821017156200326a576200326a6200322e565b60405161012081016001600160401b03811182821017156200326a576200326a6200322e565b60405160e081016001600160401b03811182821017156200326a576200326a6200322e565b6040516101a081016001600160401b03811182821017156200326a576200326a6200322e565b604051601f8201601f191681016001600160401b03811182821017156200335757620033576200322e565b604052919050565b80356001600160c01b0319811681146200322957600080fd5b64ffffffffff81168114620017ea57600080fd5b8035620032298162003378565b60006001600160401b03821115620033b557620033b56200322e565b50601f01601f191660200190565b600082601f830112620033d557600080fd5b8135620033ec620033e68262003399565b6200332c565b8181528460208386010111156200340257600080fd5b816020850160208301376000918101602001919091529392505050565b803561ffff811681146200322957600080fd5b600061020082840312156200344657600080fd5b6200345062003244565b90506200345d826200321c565b81526200346d602083016200321c565b602082015262003480604083016200335f565b604082015262003493606083016200335f565b60608201526080820135608082015260a082013560a082015260c082013560c0820152620034c460e083016200338c565b60e0820152610100808301356001600160401b0380821115620034e657600080fd5b620034f486838701620033c3565b838501526101209250828501359150808211156200351157600080fd5b506200352085828601620033c3565b828401525050610140620035368184016200341f565b908201526101606200354a8382016200341f565b9082015261018082810135908201526101a0620035698184016200338c565b908201526101c06200357d8382016200338c565b908201526101e0620035918382016200338c565b9082015292915050565b600080600080600060a08688031215620035b457600080fd5b8535620035c181620031f0565b94506020860135620035d38162003206565b93506040860135620035e58162003206565b925060608601356001600160401b038111156200360157600080fd5b6200360f8882890162003432565b95989497509295608001359392505050565b60ff81168114620017ea57600080fd5b8015158114620017ea57600080fd5b60008060008060008060c087890312156200365a57600080fd5b86356200366781620031f0565b95506020870135620036798162003206565b945060408701356200368b8162003621565b935060608701356200369d8162003631565b92506080870135620036af81620031f0565b915060a08701356001600160401b03811115620036cb57600080fd5b620036d989828a01620033c3565b9150509295509295509295565b600060208284031215620036f957600080fd5b81356001600160401b038111156200371057600080fd5b620031e884828501620033c3565b6000602082840312156200373157600080fd5b81356200310781620031f0565b600080604083850312156200375257600080fd5b82356200375f81620031f0565b915060208301356001600160401b038111156200377b57600080fd5b6200378985828601620033c3565b9150509250929050565b600080600060608486031215620037a957600080fd5b8335620037b681620031f0565b92506020840135620037c88162003206565b915060408401356001600160401b03811115620037e457600080fd5b620037f28682870162003432565b9150509250925092565b6000604082840312156200380f57600080fd5b6200381962003270565b9050813581526020820135602082015292915050565b60008060008060008060c087890312156200384957600080fd5b86356200385681620031f0565b9550620038678860208901620037fc565b94506060870135620038798162003206565b935060808701356200388b8162003378565b925060a08701356001600160401b0380821115620038a857600080fd5b818901915089601f830112620038bd57600080fd5b813581811115620038cd57600080fd5b8a6020828501011115620038e057600080fd5b6020830194508093505050509295509295509295565b600080600060c084860312156200390c57600080fd5b620039188585620037fc565b9250620039298560408601620037fc565b91506200393a8560808601620037fc565b90509250925092565b6001600160401b0381168114620017ea57600080fd5b6000602082840312156200396c57600080fd5b8135620031078162003943565b6000602082840312156200398c57600080fd5b5035919050565b600060208284031215620039a657600080fd5b8135620031078162003206565b60008060408385031215620039c757600080fd5b8235620039d481620031f0565b91506020830135620039e681620031f0565b809150509250929050565b60006020828403121562003a0457600080fd5b815162ffffff811681146200310757600080fd5b600181811c9082168062003a2d57607f821691505b60208210810362003a4e57634e487b7160e01b600052602260045260246000fd5b50919050565b8051620032298162003631565b60006020828403121562003a7457600080fd5b8151620031078162003631565b8051620032298162003206565b60006020828403121562003aa157600080fd5b8151620031078162003206565b60006020828403121562003ac157600080fd5b81516200310781620031f0565b80516200322981620031f0565b60006040828403121562003aee57600080fd5b62003af862003270565b9050815181526020820151602082015292915050565b6000610140828403121562003b2257600080fd5b62003b2c62003295565b62003b378362003ace565b815262003b476020840162003ace565b602082015262003b5a6040840162003a81565b604082015262003b6d6060840162003a81565b606082015262003b81846080850162003adb565b608082015262003b958460c0850162003adb565b60a082015262003ba9610100840162003a54565b60c082015262003bbd610120840162003ace565b60e08201529392505050565b600082601f83011262003bdb57600080fd5b815162003bec620033e68262003399565b81815284602083860101111562003c0257600080fd5b620031e88260208301602087016200310e565b8051620032298162003378565b60006020828403121562003c3557600080fd5b81516001600160401b038082111562003c4d57600080fd5b90830190610140828603121562003c6357600080fd5b62003c6d620032bb565b62003c788362003a81565b815262003c89866020850162003adb565b602082015260608301518281111562003ca157600080fd5b62003caf8782860162003bc9565b60408301525062003cc36080840162003a81565b606082015262003cd660a0840162003a81565b608082015262003ce960c0840162003a81565b60a082015262003cfc60e0840162003c15565b60c0820152610100915062003d1382840162003c15565b60e082015262003d27610120840162003c15565b91810191909152949350505050565b60006020828403121562003d4957600080fd5b81516001600160401b038082111562003d6157600080fd5b9083019060e0828603121562003d7657600080fd5b62003d80620032e1565b82518281111562003d9057600080fd5b62003d9e8782860162003bc9565b82525062003daf6020840162003ace565b602082015262003dc26040840162003ace565b604082015262003dd56060840162003ace565b606082015262003de86080840162003a81565b608082015262003dfb60a0840162003a81565b60a082015260c08301518281111562003e1357600080fd5b62003e218782860162003bc9565b60c08301525095945050505050565b8051620032298162003943565b6000610200828403121562003e5157600080fd5b62003e5b62003306565b62003e668362003a81565b815262003e766020840162003e30565b602082015260408301516040820152606083015160608201526080830151608082015262003ea760a0840162003a54565b60a082015262003eba60c0840162003a54565b60c082015262003ecd60e0840162003a54565b60e08201526101008381015190820152610120808401519082015261014062003ef98582860162003adb565b9082015261018062003f0e8585830162003adb565b61016083015262003f24856101c0860162003adb565b908201529392505050565b8051620032298162003621565b60006020828403121562003f4f57600080fd5b81516001600160401b038082111562003f6757600080fd5b9083019060e0828603121562003f7c57600080fd5b62003f86620032e1565b62003f918362003a81565b815262003fa16020840162003a81565b602082015262003fb46040840162003f2f565b604082015262003fc76060840162003a54565b606082015262003fda6080840162003ace565b608082015262003dfb60a0840162003ace565b60006001600160601b03808816835260a060208401526200401260a084018862003134565b818716604085015283810360608501526200402e818762003134565b925050508260808301529695505050505050565b601f8211156200409057600081815260208120601f850160051c810160208610156200406b5750805b601f850160051c820191505b818110156200408c5782815560010162004077565b5050505b505050565b81516001600160401b03811115620040b157620040b16200322e565b620040c981620040c2845462003a18565b8462004042565b602080601f831160018114620041015760008415620040e85750858301515b600019600386901b1c1916600185901b1785556200408c565b600085815260208120601f198616915b82811015620041325788860151825594840194600190910190840162004111565b5085821015620041515787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200417457600080fd5b8151620031078162003943565b6000815160e084526200419860e085018262003134565b9050602083015160018060a01b038082166020870152806040860151166040870152806060860151166060870152505060808301516001600160601b0380821660808701528060a08601511660a0870152505060c083015184820360c086015262004204828262003134565b95945050505050565b6001600160601b0383168152604060208201526000620031e8604083018462004181565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156200425a57600080fd5b81516001600160401b038111156200427157600080fd5b620031e88482850162003bc9565b600081518084526020808501945080840160005b83811015620042ba5781516001600160401b03168752958201959082019060010162004293565b509495945050505050565b6001600160601b03861681526000602060018060a01b0387168184015260a06040840152620042f860a084018762003134565b8381036060850152855180825282820190600581901b830184018489016000805b848110156200437a57868403601f19018652825180518086529089019089860190845b81811015620043645783516001600160e01b0319168352928b0192918b01916001016200433c565b5050968901969450509187019160010162004319565b50505086810360808801526200439181896200427f565b9c9b505050505050505050505050565b6001600160a01b0389811682526001600160601b038981166020840152888216604084015260009161010091620043e5606086018b80518252602090810151910152565b881660a08501525064ffffffffff861660c084015260e0830181905282018390526101208385828501376000838501820152601f909301601f191690910190910198975050505050505050565b81516001600160601b03168152610200810160208301516200445f60208401826001600160401b03169052565b5060408301516040830152606083015160608301526080830151608083015260a08301516200449260a084018215159052565b5060c0830151620044a760c084018215159052565b5060e0830151620044bc60e084018215159052565b506101008381015190830152610120808401519083015261014080840151805182850152602081015161016085015250506101608301516101806200450d8185018380518252602090810151910152565b84015180516101c085015260208101516101e085015290505092915050565b6001600160601b038416815260606020820152600062004550606083018562004181565b905060ff83166040830152949350505050565b6000602082840312156200457657600080fd5b8151620031078162003621565b600080604083850312156200459757600080fd5b8251620045a481620031f0565b6020840151909250620039e681620031f056fe608060405234801561001057600080fd5b506040516103fd3803806103fd83398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b61036a806100936000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806321df0da71461003b578063beabacc81461005a575b600080fd5b600054604080516001600160a01b039092168252519081900360200190f35b61006d6100683660046102a7565b61006f565b005b600054610087906001600160a01b031684848461008c565b505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526100e69085906100ec565b50505050565b60006101016001600160a01b03841683610154565b9050805160001415801561012657508080602001905181019061012491906102e3565b155b1561008757604051635274afe760e01b81526001600160a01b03841660048201526024015b60405180910390fd5b606061016283836000610169565b9392505050565b60608147101561018e5760405163cd78605960e01b815230600482015260240161014b565b600080856001600160a01b031684866040516101aa9190610305565b60006040518083038185875af1925050503d80600081146101e7576040519150601f19603f3d011682016040523d82523d6000602084013e6101ec565b606091505b50915091506101fc868383610206565b9695505050505050565b60608261021b5761021682610262565b610162565b815115801561023257506001600160a01b0384163b155b1561025b57604051639996b31560e01b81526001600160a01b038516600482015260240161014b565b5080610162565b8051156102725780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b80356001600160a01b03811681146102a257600080fd5b919050565b6000806000606084860312156102bc57600080fd5b6102c58461028b565b92506102d36020850161028b565b9150604084013590509250925092565b6000602082840312156102f557600080fd5b8151801515811461016257600080fd5b6000825160005b81811015610326576020818601810151858301520161030c565b50600092019182525091905056fea2646970667358221220f3141585df36c5ff1a5cbb09bfe8edba43afb8f272b7a3dabda004da27f24fc464736f6c6343000814003307ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220c72fa2c7448f19c8ad84536a81b37aabc33b2d3d05f6251143a7a396aa22ab6c64736f6c63430008140033",
1159
- "deployedBytecode": "0x60806040523480156200001157600080fd5b5060043610620002255760003560e01c80637738eb861162000131578063b68d180911620000bb578063cde749f41162000086578063cde749f4146200050d578063d0d63b091462000517578063ea866572146200052e578063f21de1e814620003ae578063f7c34ee0146200054557600080fd5b8063b68d180914620004c3578063bf7e214f14620004d9578063caf4e3d414620004f9578063cc9fc59a146200050357600080fd5b80638fb3603711620000fc5780638fb36037146200045a578063a3c26052146200047e578063ada9652e1462000495578063b135d5d414620004ac57600080fd5b80637738eb86146200040b5780637a9e5e4b1462000422578063826787661462000439578063893d20e8146200045057600080fd5b8063329d6e7411620001b357806359eaa43e116200017e57806359eaa43e14620003975780635ab1bd5314620003ae578063644c45e014620003d4578063675393bf14620003f457600080fd5b8063329d6e74146200032f57806336fc697e14620003465780634420e486146200035057806349bb9e4b146200038057600080fd5b806313f3bc2f11620001f457806313f3bc2f14620002b35780631eff4b2214620002ca578063214cdb80146200030157806327bb7a33146200031857600080fd5b806301ffc9a7146200022a5780630d8e6e2c146200026f5780630fec111c146200028e578063138461e014620002a7575b600080fd5b6200025a6200023b366004620030db565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b620002796200055c565b60405162ffffff909116815260200162000266565b62000298620005e9565b60405162000266919062003162565b620002b1620007a8565b005b620002b1620002c43660046200359b565b620009bd565b620002f27f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200162000266565b620002b162000312366004620030db565b62000dbd565b620002b16200032936600462003640565b62000dec565b620002b162000340366004620036e6565b62000e7e565b620002b162000fd6565b62000367620003613660046200371e565b6200101e565b6040516001600160601b03909116815260200162000266565b620002b1620003913660046200373e565b62001546565b620002b1620003a836600462003793565b6200164e565b6001546001600160a01b03165b6040516001600160a01b03909116815260200162000266565b600080516020620049b5833981519152546001600160601b031662000367565b620002b1620004053660046200371e565b620016d4565b620003676200041c3660046200382f565b620017ed565b620002b1620004333660046200371e565b620019c8565b620002b16200044a366004620038f6565b62001a6a565b620003bb62001c29565b6200046462001d68565b6040516001600160e01b0319909116815260200162000266565b620002b16200048f36600462003959565b62001da3565b620002f2600080516020620049b583398151915281565b620002b1620004bd36600462003979565b62001ff7565b608c5b60405160ff909116815260200162000266565b600080516020620049d5833981519152546001600160a01b0316620003bb565b620003bb62002202565b620003bb620022a5565b620004c6620022d1565b620002b16200052836600462003993565b6200234b565b620002b16200053f366004620039b3565b62002481565b620002b162000556366004620039b3565b62002534565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015620005be573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005e49190620039f1565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b909104161515918101919091526001820180549192916060840191906200069b9062003a18565b80601f0160208091040260200160405190810160405280929190818152602001828054620006c99062003a18565b80156200071a5780601f10620006ee576101008083540402835291602001916200071a565b820191906000526020600020905b815481529060010190602001808311620006fc57829003601f168201915b50505050508152505090506040518060e0016040528062000739600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016200078c62001c29565b6001600160a01b03168152602001826060015181525091505090565b6000600080516020620049b583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562000819573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200083f919062003a61565b15620008715780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b30620008856001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015620008ce573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620008f4919062003a61565b6200091e5760405163b9304b0d60e01b81526001600160a01b038216600482015260240162000868565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa15801562000973573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000999919062003a8e565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6000856001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015620009fe573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000a24919062003aae565b60405163242bdc1960e21b81526001600160601b03871660048201529091506000906001600160a01b038316906390af70649060240161014060405180830381865afa15801562000a79573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000a9f919062003b0e565b606001516020850151604051634793b4ab60e01b81526001600160601b0382166004820152919250906000906001600160a01b03851690634793b4ab90602401600060405180830381865afa15801562000afd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000b27919081019062003c22565b80519091506001600160601b0384811691161462000b6f578051604051630a49ea2360e01b81526001600160601b039182166004820152908416602482015260440162000868565b60405163f0ea17c360e01b81526001600160601b03841660048201526000906001600160a01b0386169063f0ea17c390602401600060405180830381865afa15801562000bc0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000bea919081019062003d36565b905060008160c0015180602001905181019062000c08919062003e3d565b608089015160025460405163a7e0dea760e01b81526001600160a01b038f811660048301526001600160601b03808f1660248401528916604483015260648201849052608482018c905293945091928a9291169063a7e0dea79060a401600060405180830381600087803b15801562000c8057600080fd5b505af115801562000c95573d6000803e3d6000fd5b505050508260e001511562000dae57600062000cb96001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b038a1660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562000d09573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000d33919081019062003f3c565b608001519050806001600160a01b031663da65659d8d8d61010001518a8a60400151886040518663ffffffff1660e01b815260040162000d7895949392919062003fed565b600060405180830381600087803b15801562000d9357600080fd5b505af115801562000da8573d6000803e3d6000fd5b50505050505b50505050505050505050505050565b62000dc7620025b3565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b62000df6620025b3565b62000e02828762002534565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b8615150217815590506001810162000e74838262004095565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c62000ea26200055c565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af415801562000ee3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000f09919062004161565b600080516020620049f58339815191528054600160401b900460ff168062000f3e575080546001600160401b03808416911610155b1562000f5d5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815562000f8983620025ee565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a1505050565b62000fe0620025b3565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000808080806200103b86608c62001035620025f8565b62002672565b929650909450925090508560006200105262002202565b604051637286e5e560e01b81526001600160a01b03848116600483015287811660248301529190911690637286e5e5906044016000604051808303816000875af1158015620010a5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620010cf919081019062003f3c565b9050816001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156200110d57600080fd5b505af115801562001122573d6000803e3d6000fd5b50505050806000015196506000826001600160a01b03166390edbd356040518163ffffffff1660e01b8152600401600060405180830381865afa1580156200116e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001198919081019062003d36565b90508060200151604051620011ad90620030cd565b6001600160a01b039091168152602001604051809103906000f080158015620011da573d6000803e3d6000fd5b506001600160a01b039081166040808401919091525163d5c9d77d60e01b81529086169063d5c9d77d9062001216908b9085906004016200420d565b600060405180830381600087803b1580156200123157600080fd5b505af115801562001246573d6000803e3d6000fd5b506000925060029150620012579050565b6040519080825280602002602001820160405280156200128c57816020015b6060815260200190600190039081620012765790505b50604080516001808252818301909252919250602080830190803683370190505081600081518110620012c357620012c362004231565b602090810291909101015260408051600180825281830190925290816020016020820280368337019050508160018151811062001304576200130462004231565b6020026020010181905250638267876660e01b816000815181106200132d576200132d62004231565b60200260200101516000815181106200134a576200134a62004231565b6001600160e01b031990921660209283029190910190910152805163da65659d60e01b908290600190811062001384576200138462004231565b6020026020010151600081518110620013a157620013a162004231565b6001600160e01b0319929092166020928302919091018201526040805160028082526060820183526000939192909183019080368337019050509050620013e7620025f8565b81600081518110620013fd57620013fd62004231565b60200260200101906001600160401b031690816001600160401b0316815250506200142762002ac3565b816001815181106200143d576200143d62004231565b60200260200101906001600160401b031690816001600160401b03168152505062001467620022a5565b6001600160a01b0316636c6fbb28878d886001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015620014b6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620014e0919081019062004247565b86866040518663ffffffff1660e01b815260040162001504959493929190620042c5565b600060405180830381600087803b1580156200151f57600080fd5b505af115801562001534573d6000803e3d6000fd5b50505050505050505050505050919050565b600080516020620049f58339815191528054600160401b810460ff1615906001600160401b03166000811580156200157b5750825b90506000826001600160401b03166001148015620015985750303b155b905081158015620015a7575080155b15620015c65760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315620015f157845460ff60401b1916600160401b1785555b620015fd878762002b00565b83156200164557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b60025460208201516080830151604051632a4cd36960e21b81526001600160a01b0387811660048301526001600160601b0380881660248401529093166044820152606481019190915291169063a9334da490608401600060405180830381600087803b158015620016bf57600080fd5b505af115801562001645573d6000803e3d6000fd5b620016de620025b3565b806001600160a01b03163b600003620017165760405163fdeac91f60e01b81526001600160a01b038216600482015260240162000868565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa92505050801562001793575060408051601f3d908101601f19168201909252620017909181019062003a61565b60015b620017bd5760405163fdeac91f60e01b81526001600160a01b038216600482015260240162000868565b80620017e85760405163fdeac91f60e01b81526001600160a01b038316600482015260240162000868565b505b50565b60008080620017fd608c62002cd6565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001843573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001869919062003aae565b90506000889050600260009054906101000a90046001600160a01b03166001600160a01b031663e283b4a984868e8e868e8e8e6040518963ffffffff1660e01b8152600401620018c1989796959493929190620043a1565b6020604051808303816000875af1158015620018e1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001907919062003a8e565b94507f0dcadf661b8b2888423f78a848a77785b4dc0138395b12584835f6a65dfcea79836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001969573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200198f919062003a8e565b604080516001600160601b03928316815282881660208201529188169082015260600160405180910390a1505050509695505050505050565b33620019ea600080516020620049d5833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b03161462001a275760405162d1953b60e31b81526001600160a01b038216600482015260240162000868565b816001600160a01b03163b60000362001a5f576040516361798f2f60e11b81526001600160a01b038316600482015260240162000868565b620017e88262002f8e565b6000808062001a7a608c62002cd6565b9250925092506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001ac1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001ae7919062003aae565b60405163f0ea17c360e01b81526001600160601b03861660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa15801562001b3b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001b65919081019062003d36565b905060008160c0015180602001905181019062001b83919062003e3d565b61014081018a90526101608101899052610180810188905260405190915062001bb190829060200162004432565b60408051808303601f1901815291905260c08301526001600160a01b03841663a4eeee59878460ff6040518463ffffffff1660e01b815260040162001bf9939291906200452c565b600060405180830381600087803b15801562001c1457600080fd5b505af115801562000dae573d6000803e3d6000fd5b600080600080516020620049b583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562001c9b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001cc1919062003a61565b1562001d52576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801562001d26573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001d4c919062003aae565b91505090565b54600160601b90046001600160a01b0316919050565b600080516020620049d5833981519152805460009190600160a01b900460ff1662001d9557600062001d4c565b638fb3603760e01b91505090565b6000808062001db3608c62002cd6565b9250925092506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001dfa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001e20919062003aae565b60405163f0ea17c360e01b81526001600160601b03861660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa15801562001e74573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001e9e919081019062003d36565b905060008160c0015180602001905181019062001ebc919062003e3d565b905062001ee3816020015162001ed162002ff0565b6001600160401b039081169116141590565b1562001f0e5760405163eff765ff60e01b81526001600160601b038716600482015260240162000868565b6001600160401b03871660208083019190915260405162001f329183910162004432565b60408051808303601f1901815291905260c08301526001600160a01b03841663a4eeee59878460ff6040518463ffffffff1660e01b815260040162001f7a939291906200452c565b600060405180830381600087803b15801562001f9557600080fd5b505af115801562001faa573d6000803e3d6000fd5b5050604080516001600160601b038a1681526001600160401b038b1660208201527fe7e6a7a42cbdb2d274dfaaac06073a09d6095ca3745ce71fe5a137f8247ea23e93500190506200163c565b6000808062002007608c62002cd6565b9250925092506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200204e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002074919062003aae565b60405163f0ea17c360e01b81526001600160601b03861660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa158015620020c8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620020f2919081019062003d36565b905060008160c0015180602001905181019062002110919062003e3d565b60408082018051908a90529051919250906200213190839060200162004432565b60408051808303601f1901815291905260c08401526001600160a01b03851663a4eeee59888560ff6040518463ffffffff1660e01b815260040162002179939291906200452c565b600060405180830381600087803b1580156200219457600080fd5b505af1158015620021a9573d6000803e3d6000fd5b5050604080516001600160601b038b168152602081018590529081018b90527f3d3c927c97d357afd5a7d8406e5040fdd068b171cc4ea3cfd3f41c5500d596379250606001905060405180910390a15050505050505050565b600080620022186001546001600160a01b031690565b6001600160a01b031663d39e604360285b62002233620022d1565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801562002279573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200229f919062003aae565b92915050565b600080620022bb6001546001600160a01b031690565b6001600160a01b031663d39e6043604662002229565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af415801562002325573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005e4919062004563565b6000806200235a608c62002cd6565b600254604051632aa6b2cb60e21b81526001600160a01b0380841660048301526001600160601b0389166024830152949650919450929092169163aa9acb2c9150604401600060405180830381600087803b158015620023b957600080fd5b505af1158015620023ce573d6000803e3d6000fd5b505050507f64c75a4392ba38fee1b5a44b61e3dd0cae424d2d43eb2b0c99772efe31e1c042816001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002432573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002458919062003a8e565b604080516001600160601b03928316815282861660208201529186169082015260600162000fc9565b6200248b620025b3565b6200251082836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015620024cf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620024f5919062003a8e565b603c6000856040518060200160405280600081525062000dec565b62002522634a531f3360e01b62000dbd565b620017e8637b6a51fd60e01b62000dbd565b6200253e620025b3565b6200254981620016d4565b6200255362000fd6565b6001600160a01b0382166200257b5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020620049b583398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020620049f583398151915254600160401b900460ff16620025ec57604051631afcd79f60e31b815260040160405180910390fd5b565b62000225620025b3565b6040516368aebf7b60e01b815260048082015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af41580156200264c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005e4919062004161565b6000338180806200268b6001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b038a81166004830152919091169063d272ac1e90602401602060405180830381865afa158015620026d4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620026fa919062003a8e565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562002756573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200277c919062003a61565b15620027b55760405162b8422b60e71b81526001600160a01b03891660048201526001600160601b038216602482015260440162000868565b6040516301ffc9a760e01b81526396c8ab0560e01b60048201528895506001600160a01b038616906301ffc9a790602401602060405180830381865afa15801562002804573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200282a919062003a61565b62002854576040516359bff0e360e11b81526001600160a01b038916600482015260240162000868565b6000856001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801562002895573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620028bf919081019062003f3c565b9050620028d781604001518960ff9081169116141590565b1562002919576040808201519051634a2e948760e11b81526001600160a01b038b16600482015260ff808b166024830152909116604482015260640162000868565b60a08101516001600160a01b03868116908216146200296d5760a0820151604051632b50a20960e21b81526001600160a01b03808d1660048301529182166024820152908716604482015260640162000868565b816020015193506200297f8462003032565b94506000856001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015620029c2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620029e8919062003aae565b6040516368fc2b7760e11b81526001600160401b038b1660048201526001600160a01b03898116602483015291925060009183169063d1f856ee90604401602060405180830381865afa15801562002a44573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002a6a919062003a61565b90508062002ab557604051636af540d960e01b81526001600160601b03871660048201526001600160401b038b1660248201526001600160a01b038916604482015260640162000868565b505050505093509350935093565b6040516368aebf7b60e01b815261096a600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016200262e565b600080516020620049f58339815191528054600160401b810460ff1615906001600160401b031660008115801562002b355750825b90506000826001600160401b0316600114801562002b525750303b155b90508115801562002b61575080155b1562002b805760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831562002bab57845460ff60401b1916600160401b1785555b6000808780602001905181019062002bc4919062004583565b909250905062002bd5828a62002481565b6001546001600160a01b031663d39e604360dc62002bf2620022d1565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801562002c38573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002c5e919062003aae565b600280546001600160a01b0319166001600160a01b039290921691909117905562002c90630728e3df60e31b62000dbd565b505083156200164557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020016200163c565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082015260008062002d236001546001600160a01b031690565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa15801562002d6b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262002d95919081019062003f3c565b8051604082015190955090935060ff86811691161462002dee5760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b604482015260640162000868565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa15801562002e45573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262002e6f919081019062003f3c565b6080015190508092506000836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002eb9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002edf919062003aae565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa15801562002f2d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002f53919062003a61565b1562002f8457608085015160405163d53987e560e01b81526001600160a01b03909116600482015260240162000868565b5050509193909250565b600080516020620049d583398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516368aebf7b60e01b81526001600160401b03600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016200262e565b600080620030486001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562003098573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620030c2919081019062003f3c565b608001519392505050565b6103fd80620045b883390190565b600060208284031215620030ee57600080fd5b81356001600160e01b0319811681146200310757600080fd5b9392505050565b60005b838110156200312b57818101518382015260200162003111565b50506000910152565b600081518084526200314e8160208601602086016200310e565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151620031cc60c08401826001600160a01b03169052565b5060c083015160e080840152620031e861010084018262003134565b949350505050565b6001600160a01b0381168114620017ea57600080fd5b6001600160601b0381168114620017ea57600080fd5b8035620032298162003206565b919050565b634e487b7160e01b600052604160045260246000fd5b60405161020081016001600160401b03811182821017156200326a576200326a6200322e565b60405290565b604080519081016001600160401b03811182821017156200326a576200326a6200322e565b60405161010081016001600160401b03811182821017156200326a576200326a6200322e565b60405161012081016001600160401b03811182821017156200326a576200326a6200322e565b60405160e081016001600160401b03811182821017156200326a576200326a6200322e565b6040516101a081016001600160401b03811182821017156200326a576200326a6200322e565b604051601f8201601f191681016001600160401b03811182821017156200335757620033576200322e565b604052919050565b80356001600160c01b0319811681146200322957600080fd5b64ffffffffff81168114620017ea57600080fd5b8035620032298162003378565b60006001600160401b03821115620033b557620033b56200322e565b50601f01601f191660200190565b600082601f830112620033d557600080fd5b8135620033ec620033e68262003399565b6200332c565b8181528460208386010111156200340257600080fd5b816020850160208301376000918101602001919091529392505050565b803561ffff811681146200322957600080fd5b600061020082840312156200344657600080fd5b6200345062003244565b90506200345d826200321c565b81526200346d602083016200321c565b602082015262003480604083016200335f565b604082015262003493606083016200335f565b60608201526080820135608082015260a082013560a082015260c082013560c0820152620034c460e083016200338c565b60e0820152610100808301356001600160401b0380821115620034e657600080fd5b620034f486838701620033c3565b838501526101209250828501359150808211156200351157600080fd5b506200352085828601620033c3565b828401525050610140620035368184016200341f565b908201526101606200354a8382016200341f565b9082015261018082810135908201526101a0620035698184016200338c565b908201526101c06200357d8382016200338c565b908201526101e0620035918382016200338c565b9082015292915050565b600080600080600060a08688031215620035b457600080fd5b8535620035c181620031f0565b94506020860135620035d38162003206565b93506040860135620035e58162003206565b925060608601356001600160401b038111156200360157600080fd5b6200360f8882890162003432565b95989497509295608001359392505050565b60ff81168114620017ea57600080fd5b8015158114620017ea57600080fd5b60008060008060008060c087890312156200365a57600080fd5b86356200366781620031f0565b95506020870135620036798162003206565b945060408701356200368b8162003621565b935060608701356200369d8162003631565b92506080870135620036af81620031f0565b915060a08701356001600160401b03811115620036cb57600080fd5b620036d989828a01620033c3565b9150509295509295509295565b600060208284031215620036f957600080fd5b81356001600160401b038111156200371057600080fd5b620031e884828501620033c3565b6000602082840312156200373157600080fd5b81356200310781620031f0565b600080604083850312156200375257600080fd5b82356200375f81620031f0565b915060208301356001600160401b038111156200377b57600080fd5b6200378985828601620033c3565b9150509250929050565b600080600060608486031215620037a957600080fd5b8335620037b681620031f0565b92506020840135620037c88162003206565b915060408401356001600160401b03811115620037e457600080fd5b620037f28682870162003432565b9150509250925092565b6000604082840312156200380f57600080fd5b6200381962003270565b9050813581526020820135602082015292915050565b60008060008060008060c087890312156200384957600080fd5b86356200385681620031f0565b9550620038678860208901620037fc565b94506060870135620038798162003206565b935060808701356200388b8162003378565b925060a08701356001600160401b0380821115620038a857600080fd5b818901915089601f830112620038bd57600080fd5b813581811115620038cd57600080fd5b8a6020828501011115620038e057600080fd5b6020830194508093505050509295509295509295565b600080600060c084860312156200390c57600080fd5b620039188585620037fc565b9250620039298560408601620037fc565b91506200393a8560808601620037fc565b90509250925092565b6001600160401b0381168114620017ea57600080fd5b6000602082840312156200396c57600080fd5b8135620031078162003943565b6000602082840312156200398c57600080fd5b5035919050565b600060208284031215620039a657600080fd5b8135620031078162003206565b60008060408385031215620039c757600080fd5b8235620039d481620031f0565b91506020830135620039e681620031f0565b809150509250929050565b60006020828403121562003a0457600080fd5b815162ffffff811681146200310757600080fd5b600181811c9082168062003a2d57607f821691505b60208210810362003a4e57634e487b7160e01b600052602260045260246000fd5b50919050565b8051620032298162003631565b60006020828403121562003a7457600080fd5b8151620031078162003631565b8051620032298162003206565b60006020828403121562003aa157600080fd5b8151620031078162003206565b60006020828403121562003ac157600080fd5b81516200310781620031f0565b80516200322981620031f0565b60006040828403121562003aee57600080fd5b62003af862003270565b9050815181526020820151602082015292915050565b6000610140828403121562003b2257600080fd5b62003b2c62003295565b62003b378362003ace565b815262003b476020840162003ace565b602082015262003b5a6040840162003a81565b604082015262003b6d6060840162003a81565b606082015262003b81846080850162003adb565b608082015262003b958460c0850162003adb565b60a082015262003ba9610100840162003a54565b60c082015262003bbd610120840162003ace565b60e08201529392505050565b600082601f83011262003bdb57600080fd5b815162003bec620033e68262003399565b81815284602083860101111562003c0257600080fd5b620031e88260208301602087016200310e565b8051620032298162003378565b60006020828403121562003c3557600080fd5b81516001600160401b038082111562003c4d57600080fd5b90830190610140828603121562003c6357600080fd5b62003c6d620032bb565b62003c788362003a81565b815262003c89866020850162003adb565b602082015260608301518281111562003ca157600080fd5b62003caf8782860162003bc9565b60408301525062003cc36080840162003a81565b606082015262003cd660a0840162003a81565b608082015262003ce960c0840162003a81565b60a082015262003cfc60e0840162003c15565b60c0820152610100915062003d1382840162003c15565b60e082015262003d27610120840162003c15565b91810191909152949350505050565b60006020828403121562003d4957600080fd5b81516001600160401b038082111562003d6157600080fd5b9083019060e0828603121562003d7657600080fd5b62003d80620032e1565b82518281111562003d9057600080fd5b62003d9e8782860162003bc9565b82525062003daf6020840162003ace565b602082015262003dc26040840162003ace565b604082015262003dd56060840162003ace565b606082015262003de86080840162003a81565b608082015262003dfb60a0840162003a81565b60a082015260c08301518281111562003e1357600080fd5b62003e218782860162003bc9565b60c08301525095945050505050565b8051620032298162003943565b6000610200828403121562003e5157600080fd5b62003e5b62003306565b62003e668362003a81565b815262003e766020840162003e30565b602082015260408301516040820152606083015160608201526080830151608082015262003ea760a0840162003a54565b60a082015262003eba60c0840162003a54565b60c082015262003ecd60e0840162003a54565b60e08201526101008381015190820152610120808401519082015261014062003ef98582860162003adb565b9082015261018062003f0e8585830162003adb565b61016083015262003f24856101c0860162003adb565b908201529392505050565b8051620032298162003621565b60006020828403121562003f4f57600080fd5b81516001600160401b038082111562003f6757600080fd5b9083019060e0828603121562003f7c57600080fd5b62003f86620032e1565b62003f918362003a81565b815262003fa16020840162003a81565b602082015262003fb46040840162003f2f565b604082015262003fc76060840162003a54565b606082015262003fda6080840162003ace565b608082015262003dfb60a0840162003ace565b60006001600160601b03808816835260a060208401526200401260a084018862003134565b818716604085015283810360608501526200402e818762003134565b925050508260808301529695505050505050565b601f8211156200409057600081815260208120601f850160051c810160208610156200406b5750805b601f850160051c820191505b818110156200408c5782815560010162004077565b5050505b505050565b81516001600160401b03811115620040b157620040b16200322e565b620040c981620040c2845462003a18565b8462004042565b602080601f831160018114620041015760008415620040e85750858301515b600019600386901b1c1916600185901b1785556200408c565b600085815260208120601f198616915b82811015620041325788860151825594840194600190910190840162004111565b5085821015620041515787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200417457600080fd5b8151620031078162003943565b6000815160e084526200419860e085018262003134565b9050602083015160018060a01b038082166020870152806040860151166040870152806060860151166060870152505060808301516001600160601b0380821660808701528060a08601511660a0870152505060c083015184820360c086015262004204828262003134565b95945050505050565b6001600160601b0383168152604060208201526000620031e8604083018462004181565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156200425a57600080fd5b81516001600160401b038111156200427157600080fd5b620031e88482850162003bc9565b600081518084526020808501945080840160005b83811015620042ba5781516001600160401b03168752958201959082019060010162004293565b509495945050505050565b6001600160601b03861681526000602060018060a01b0387168184015260a06040840152620042f860a084018762003134565b8381036060850152855180825282820190600581901b830184018489016000805b848110156200437a57868403601f19018652825180518086529089019089860190845b81811015620043645783516001600160e01b0319168352928b0192918b01916001016200433c565b5050968901969450509187019160010162004319565b50505086810360808801526200439181896200427f565b9c9b505050505050505050505050565b6001600160a01b0389811682526001600160601b038981166020840152888216604084015260009161010091620043e5606086018b80518252602090810151910152565b881660a08501525064ffffffffff861660c084015260e0830181905282018390526101208385828501376000838501820152601f909301601f191690910190910198975050505050505050565b81516001600160601b03168152610200810160208301516200445f60208401826001600160401b03169052565b5060408301516040830152606083015160608301526080830151608083015260a08301516200449260a084018215159052565b5060c0830151620044a760c084018215159052565b5060e0830151620044bc60e084018215159052565b506101008381015190830152610120808401519083015261014080840151805182850152602081015161016085015250506101608301516101806200450d8185018380518252602090810151910152565b84015180516101c085015260208101516101e085015290505092915050565b6001600160601b038416815260606020820152600062004550606083018562004181565b905060ff83166040830152949350505050565b6000602082840312156200457657600080fd5b8151620031078162003621565b600080604083850312156200459757600080fd5b8251620045a481620031f0565b6020840151909250620039e681620031f056fe608060405234801561001057600080fd5b506040516103fd3803806103fd83398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b61036a806100936000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806321df0da71461003b578063beabacc81461005a575b600080fd5b600054604080516001600160a01b039092168252519081900360200190f35b61006d6100683660046102a7565b61006f565b005b600054610087906001600160a01b031684848461008c565b505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526100e69085906100ec565b50505050565b60006101016001600160a01b03841683610154565b9050805160001415801561012657508080602001905181019061012491906102e3565b155b1561008757604051635274afe760e01b81526001600160a01b03841660048201526024015b60405180910390fd5b606061016283836000610169565b9392505050565b60608147101561018e5760405163cd78605960e01b815230600482015260240161014b565b600080856001600160a01b031684866040516101aa9190610305565b60006040518083038185875af1925050503d80600081146101e7576040519150601f19603f3d011682016040523d82523d6000602084013e6101ec565b606091505b50915091506101fc868383610206565b9695505050505050565b60608261021b5761021682610262565b610162565b815115801561023257506001600160a01b0384163b155b1561025b57604051639996b31560e01b81526001600160a01b038516600482015260240161014b565b5080610162565b8051156102725780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b80356001600160a01b03811681146102a257600080fd5b919050565b6000806000606084860312156102bc57600080fd5b6102c58461028b565b92506102d36020850161028b565b9150604084013590509250925092565b6000602082840312156102f557600080fd5b8151801515811461016257600080fd5b6000825160005b81811015610326576020818601810151858301520161030c565b50600092019182525091905056fea2646970667358221220f3141585df36c5ff1a5cbb09bfe8edba43afb8f272b7a3dabda004da27f24fc464736f6c6343000814003307ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220c72fa2c7448f19c8ad84536a81b37aabc33b2d3d05f6251143a7a396aa22ab6c64736f6c63430008140033",
1160
- "linkReferences": {
1161
- "contracts/types/NftId.sol": {
1162
- "NftIdLib": [
1163
- {
1164
- "length": 20,
1165
- "start": 2244
1166
- },
1167
- {
1168
- "length": 20,
1169
- "start": 7494
1170
- },
1171
- {
1172
- "length": 20,
1173
- "start": 10241
1174
- }
1175
- ]
1176
- },
1177
- "contracts/types/RoleId.sol": {
1178
- "RoleIdLib": [
1179
- {
1180
- "length": 20,
1181
- "start": 9974
1182
- },
1183
- {
1184
- "length": 20,
1185
- "start": 11203
1186
- },
1187
- {
1188
- "length": 20,
1189
- "start": 12533
1190
- }
1191
- ]
1192
- },
1193
- "contracts/types/Version.sol": {
1194
- "VersionLib": [
1195
- {
1196
- "length": 20,
1197
- "start": 1641
1198
- },
1199
- {
1200
- "length": 20,
1201
- "start": 3942
1202
- }
1203
- ],
1204
- "VersionPartLib": [
1205
- {
1206
- "length": 20,
1207
- "start": 9168
1208
- }
1209
- ]
1210
- }
1211
- },
1212
- "deployedLinkReferences": {
1213
- "contracts/types/NftId.sol": {
1214
- "NftIdLib": [
1215
- {
1216
- "length": 20,
1217
- "start": 2014
1218
- },
1219
- {
1220
- "length": 20,
1221
- "start": 7264
1222
- },
1223
- {
1224
- "length": 20,
1225
- "start": 10011
1226
- }
1227
- ]
1228
- },
1229
- "contracts/types/RoleId.sol": {
1230
- "RoleIdLib": [
1231
- {
1232
- "length": 20,
1233
- "start": 9744
1234
- },
1235
- {
1236
- "length": 20,
1237
- "start": 10973
1238
- },
1239
- {
1240
- "length": 20,
1241
- "start": 12303
1242
- }
1243
- ]
1244
- },
1245
- "contracts/types/Version.sol": {
1246
- "VersionLib": [
1247
- {
1248
- "length": 20,
1249
- "start": 1411
1250
- },
1251
- {
1252
- "length": 20,
1253
- "start": 3712
1254
- }
1255
- ],
1256
- "VersionPartLib": [
1257
- {
1258
- "length": 20,
1259
- "start": 8938
1260
- }
1261
- ]
1262
- }
1263
- }
1264
- }