@etherisc/gif-next 0.0.2-d679de9-140 → 0.0.2-d7cec72-860

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