@etherisc/gif-next 0.0.2-e6ad61d-739 → 0.0.2-e802d97-713

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