@etherisc/gif-next 0.0.2-d408403-475 → 0.0.2-d442a8c-073

Sign up to get free protection for your applications and to get access to all the features.
Files changed (641) hide show
  1. package/README.md +239 -39
  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 +304 -1639
  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 +469 -1882
  20. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  21. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +708 -0
  22. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
  23. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +204 -0
  24. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  25. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1565 -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 +3458 -0
  32. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  33. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  34. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  35. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +190 -0
  36. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  37. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +256 -0
  38. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  39. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +129 -0
  40. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  41. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  42. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  43. package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/IComponents.sol/IComponents.json} +2 -2
  44. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  45. package/artifacts/contracts/instance/module/{distribution/IDistribution.sol → IDistribution.sol}/IDistribution.json +1 -1
  46. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  47. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  48. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  49. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  50. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  51. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  52. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  53. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1105 -0
  54. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  55. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +746 -0
  56. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  57. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → pool/IBundleService.sol/IBundleService.json} +376 -316
  58. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  59. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +1154 -0
  60. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  61. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1065 -0
  62. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  63. package/artifacts/contracts/pool/Pool.sol/Pool.json +1565 -0
  64. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  65. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1432 -0
  66. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  67. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +738 -0
  68. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  69. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +834 -0
  70. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  71. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +722 -0
  72. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  73. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1278 -0
  74. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  75. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +810 -0
  76. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  77. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +499 -0
  78. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  79. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +759 -0
  80. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  81. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +707 -0
  82. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  83. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +536 -0
  84. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  85. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +995 -0
  86. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
  87. package/artifacts/contracts/{instance/base/InstanceBase.sol/InstanceBase.json → product/IProductService.sol/IProductService.json} +188 -177
  88. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  89. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1146 -0
  90. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  91. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +754 -0
  92. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  93. package/artifacts/contracts/product/PricingService.sol/PricingService.json +983 -0
  94. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  95. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +778 -0
  96. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  97. package/artifacts/contracts/product/Product.sol/Product.json +1397 -0
  98. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
  99. package/artifacts/contracts/product/ProductService.sol/ProductService.json +679 -0
  100. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  101. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +694 -0
  102. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  103. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +199 -12
  104. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  105. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +678 -77
  106. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  107. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +1110 -0
  108. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  109. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +52 -0
  110. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  111. package/artifacts/contracts/registry/Registry.sol/Registry.json +865 -107
  112. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  113. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +407 -0
  114. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  115. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1415 -0
  116. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  117. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +709 -0
  118. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  119. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +1292 -0
  120. package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.dbg.json +4 -0
  121. package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.json +137 -0
  122. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  123. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +661 -0
  124. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.dbg.json +4 -0
  125. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.json +1193 -0
  126. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.dbg.json +4 -0
  127. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.json +1715 -0
  128. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.dbg.json +4 -0
  129. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.json +1728 -0
  130. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.dbg.json +4 -0
  131. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.json +1806 -0
  132. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.dbg.json +4 -0
  133. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.json +1824 -0
  134. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  135. package/artifacts/contracts/shared/Component.sol/Component.json +896 -0
  136. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  137. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1475 -0
  138. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  139. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +788 -0
  140. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  141. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +526 -0
  142. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  143. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  144. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.dbg.json +4 -0
  145. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.json +1562 -0
  146. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.dbg.json +4 -0
  147. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.json +1600 -0
  148. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  149. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +631 -0
  150. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  151. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +860 -0
  152. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  153. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +705 -0
  154. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  155. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +77 -169
  156. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  157. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +1 -1
  158. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  159. package/artifacts/contracts/{instance/module/component/IComponent.sol/IComponentModule.json → shared/INftOwnable.sol/INftOwnable.json} +66 -52
  160. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  161. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +207 -0
  162. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  163. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +91 -31
  164. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  165. package/artifacts/contracts/{registry → shared}/IRegistryLinked.sol/IRegistryLinked.json +13 -2
  166. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  167. package/artifacts/contracts/{instance/service/IDistributionService.sol/IDistributionService.json → shared/IService.sol/IService.json} +162 -154
  168. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  169. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +16 -125
  170. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +4 -0
  171. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +39 -0
  172. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  173. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +1036 -0
  174. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  175. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +571 -0
  176. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  177. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +194 -0
  178. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.dbg.json +4 -0
  179. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.json +306 -0
  180. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  181. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +244 -0
  182. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  183. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +320 -0
  184. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  185. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +617 -0
  186. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  187. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +255 -23
  188. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  189. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
  190. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  191. package/artifacts/contracts/{registry/IChainNft.sol/IChainNft.json → shared/Service.sol/Service.json} +260 -218
  192. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  193. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +150 -0
  194. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  195. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  196. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  197. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +29 -115
  198. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  199. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1438 -0
  200. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  201. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +993 -0
  202. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  203. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +444 -0
  204. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  205. package/artifacts/contracts/staking/Staking.sol/Staking.json +2045 -0
  206. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  207. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +777 -0
  208. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  209. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +592 -0
  210. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  211. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1324 -0
  212. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  213. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +726 -0
  214. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  215. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2189 -0
  216. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  217. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +571 -0
  218. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  219. package/artifacts/contracts/{types → type}/AddressSet.sol/LibAddressSet.json +3 -3
  220. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  221. package/artifacts/contracts/type/Amount.sol/AmountLib.json +345 -0
  222. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  223. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  224. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  225. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  226. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  227. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  228. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  229. package/artifacts/contracts/type/Fee.sol/FeeLib.json +312 -0
  230. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  231. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  232. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  233. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +209 -0
  234. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  235. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  236. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  237. package/artifacts/contracts/{types → type}/ObjectType.sol/ObjectTypeLib.json +3 -3
  238. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  239. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  240. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  241. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  242. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  243. package/artifacts/contracts/{types → type}/RiskId.sol/RiskIdLib.json +5 -5
  244. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  245. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +156 -0
  246. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  247. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +198 -0
  248. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  249. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  250. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  251. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +280 -0
  252. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  253. package/artifacts/contracts/{types/ChainId.sol/ChainIdLib.json → type/UFixed.sol/MathLib.json} +4 -4
  254. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  255. package/artifacts/contracts/{types/UFixed.sol/UFixedMathLib.json → type/UFixed.sol/UFixedLib.json} +4 -4
  256. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  257. package/artifacts/contracts/type/Version.sol/VersionLib.json +177 -0
  258. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  259. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +49 -0
  260. package/contracts/distribution/Distribution.sol +261 -0
  261. package/contracts/distribution/DistributionService.sol +298 -0
  262. package/contracts/distribution/DistributionServiceManager.sol +42 -0
  263. package/contracts/distribution/IDistributionComponent.sol +66 -0
  264. package/contracts/distribution/IDistributionService.sol +81 -0
  265. package/contracts/instance/BundleManager.sol +126 -0
  266. package/contracts/instance/IInstance.sol +72 -46
  267. package/contracts/instance/IInstanceService.sol +81 -0
  268. package/contracts/instance/Instance.sol +220 -59
  269. package/contracts/instance/InstanceAdmin.sol +331 -0
  270. package/contracts/instance/InstanceAuthorizationsLib.sol +349 -0
  271. package/contracts/instance/InstanceReader.sol +365 -0
  272. package/contracts/instance/InstanceService.sol +362 -0
  273. package/contracts/instance/InstanceServiceManager.sol +44 -0
  274. package/contracts/instance/InstanceStore.sol +260 -0
  275. package/contracts/instance/base/BalanceStore.sol +118 -0
  276. package/contracts/instance/base/Cloneable.sol +51 -0
  277. package/contracts/instance/base/ObjectManager.sol +82 -0
  278. package/contracts/instance/module/IAccess.sol +46 -0
  279. package/contracts/instance/module/IBundle.sol +20 -0
  280. package/contracts/instance/module/IComponents.sol +52 -0
  281. package/contracts/instance/module/IDistribution.sol +42 -0
  282. package/contracts/instance/module/IPolicy.sol +84 -0
  283. package/contracts/instance/module/IRisk.sol +11 -0
  284. package/contracts/{test/Usdc.sol → mock/Dip.sol} +5 -5
  285. package/contracts/pool/BundleService.sol +296 -0
  286. package/contracts/pool/BundleServiceManager.sol +42 -0
  287. package/contracts/pool/IBundleService.sol +106 -0
  288. package/contracts/pool/IPoolComponent.sol +112 -0
  289. package/contracts/pool/IPoolService.sol +150 -0
  290. package/contracts/pool/Pool.sol +299 -0
  291. package/contracts/pool/PoolService.sol +453 -0
  292. package/contracts/pool/PoolServiceManager.sol +42 -0
  293. package/contracts/product/ApplicationService.sol +254 -0
  294. package/contracts/product/ApplicationServiceManager.sol +38 -0
  295. package/contracts/product/ClaimService.sol +442 -0
  296. package/contracts/product/ClaimServiceManager.sol +38 -0
  297. package/contracts/product/IApplicationService.sol +62 -0
  298. package/contracts/product/IClaimService.sol +93 -0
  299. package/contracts/product/IPolicyService.sol +78 -0
  300. package/contracts/product/IPricingService.sol +39 -0
  301. package/contracts/product/IProductComponent.sol +42 -0
  302. package/contracts/product/IProductService.sol +33 -0
  303. package/contracts/product/PolicyService.sol +475 -0
  304. package/contracts/product/PolicyServiceManager.sol +42 -0
  305. package/contracts/product/PricingService.sol +301 -0
  306. package/contracts/product/PricingServiceManager.sol +42 -0
  307. package/contracts/product/Product.sol +377 -0
  308. package/contracts/product/ProductService.sol +124 -0
  309. package/contracts/product/ProductServiceManager.sol +42 -0
  310. package/contracts/registry/ChainNft.sol +95 -37
  311. package/contracts/registry/IRegistry.sol +95 -28
  312. package/contracts/registry/IRegistryService.sol +69 -0
  313. package/contracts/registry/ITransferInterceptor.sol +7 -0
  314. package/contracts/registry/Registry.sol +476 -282
  315. package/contracts/registry/RegistryAdmin.sol +237 -0
  316. package/contracts/registry/RegistryService.sol +266 -0
  317. package/contracts/registry/RegistryServiceManager.sol +58 -0
  318. package/contracts/registry/ReleaseManager.sol +599 -0
  319. package/contracts/registry/ServiceAuthorizationsLib.sol +173 -0
  320. package/contracts/registry/TokenRegistry.sol +315 -0
  321. package/contracts/shared/AccessManagerCustom.sol +736 -0
  322. package/contracts/shared/AccessManagerExtended.sol +470 -0
  323. package/contracts/shared/AccessManagerExtendedInitializeable.sol +13 -0
  324. package/contracts/shared/AccessManagerExtendedWithDisable.sol +137 -0
  325. package/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol +14 -0
  326. package/contracts/shared/Component.sol +278 -0
  327. package/contracts/shared/ComponentService.sol +596 -0
  328. package/contracts/shared/ComponentServiceManager.sol +35 -0
  329. package/contracts/shared/ComponentVerifyingService.sol +111 -0
  330. package/contracts/shared/ERC165.sol +15 -9
  331. package/contracts/shared/IAccessManagerExtended.sol +74 -0
  332. package/contracts/shared/IAccessManagerExtendedWithDisable.sol +18 -0
  333. package/contracts/shared/IComponent.sol +70 -0
  334. package/contracts/shared/IComponentService.sol +91 -0
  335. package/contracts/shared/IInstanceLinkedComponent.sol +46 -0
  336. package/contracts/shared/IKeyValueStore.sol +53 -0
  337. package/contracts/{instance/base → shared}/ILifecycle.sol +4 -4
  338. package/contracts/shared/INftOwnable.sol +23 -0
  339. package/contracts/shared/IPolicyHolder.sol +45 -0
  340. package/contracts/shared/IRegisterable.sol +10 -19
  341. package/contracts/shared/IRegistryLinked.sol +11 -0
  342. package/contracts/shared/IService.sol +18 -0
  343. package/contracts/shared/IVersionable.sol +38 -37
  344. package/contracts/shared/InitializableCustom.sol +177 -0
  345. package/contracts/shared/InstanceLinkedComponent.sol +144 -0
  346. package/contracts/shared/KeyValueStore.sol +127 -0
  347. package/contracts/{instance/base → shared}/Lifecycle.sol +29 -8
  348. package/contracts/shared/NftIdSetManager.sol +65 -0
  349. package/contracts/shared/NftOwnable.sol +107 -0
  350. package/contracts/shared/PolicyHolder.sol +102 -0
  351. package/contracts/shared/ProxyManager.sol +199 -0
  352. package/contracts/shared/Registerable.sol +54 -65
  353. package/contracts/shared/RegistryLinked.sol +43 -0
  354. package/contracts/shared/Service.sol +77 -0
  355. package/contracts/shared/TokenHandler.sol +58 -0
  356. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  357. package/contracts/shared/Versionable.sol +38 -68
  358. package/contracts/staking/IStaking.sol +168 -0
  359. package/contracts/staking/IStakingService.sol +149 -0
  360. package/contracts/staking/StakeManagerLib.sol +179 -0
  361. package/contracts/staking/Staking.sol +551 -0
  362. package/contracts/staking/StakingManager.sol +54 -0
  363. package/contracts/staking/StakingReader.sol +187 -0
  364. package/contracts/staking/StakingService.sol +406 -0
  365. package/contracts/staking/StakingServiceManager.sol +45 -0
  366. package/contracts/staking/StakingStore.sol +572 -0
  367. package/contracts/staking/TargetManagerLib.sol +207 -0
  368. package/contracts/{types → type}/AddressSet.sol +1 -1
  369. package/contracts/type/Amount.sol +128 -0
  370. package/contracts/{types → type}/Blocknumber.sol +21 -3
  371. package/contracts/type/ClaimId.sol +75 -0
  372. package/contracts/type/DistributorType.sol +55 -0
  373. package/contracts/type/Fee.sol +66 -0
  374. package/contracts/{types → type}/Key32.sol +8 -3
  375. package/contracts/{types → type}/NftId.sol +21 -15
  376. package/contracts/type/NftIdSet.sol +62 -0
  377. package/contracts/{types → type}/ObjectType.sol +53 -15
  378. package/contracts/type/PayoutId.sol +82 -0
  379. package/contracts/type/Referral.sol +89 -0
  380. package/contracts/{types → type}/RiskId.sol +1 -1
  381. package/contracts/type/RoleId.sol +143 -0
  382. package/contracts/type/Seconds.sol +81 -0
  383. package/contracts/{types → type}/StateId.sol +29 -7
  384. package/contracts/{types → type}/Timestamp.sol +22 -13
  385. package/contracts/{types → type}/UFixed.sol +129 -12
  386. package/contracts/{types → type}/Version.sol +15 -2
  387. package/package.json +6 -5
  388. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  389. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -174
  390. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  391. package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -405
  392. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  393. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -174
  394. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  395. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -340
  396. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  397. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -487
  398. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  399. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -370
  400. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  401. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -578
  402. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  403. package/artifacts/contracts/components/Product.sol/Product.json +0 -444
  404. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  405. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  406. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  407. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  408. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  409. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  410. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  411. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  412. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  413. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  414. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  415. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  416. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  417. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  418. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  419. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  420. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  421. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  422. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  423. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  424. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  425. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  426. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  427. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  428. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  429. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  430. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  431. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  432. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  433. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  434. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  435. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  436. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  437. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  438. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  439. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  440. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  441. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +0 -300
  442. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  443. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  444. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  445. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  446. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  447. package/artifacts/contracts/instance/base/IService.sol/IService.json +0 -300
  448. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  449. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  450. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -710
  451. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  452. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  453. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  454. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  455. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +0 -300
  456. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  457. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  458. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  459. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.json +0 -10
  460. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  461. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  462. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  463. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -297
  464. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  465. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  466. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -297
  467. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  468. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -117
  469. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  470. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  471. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  472. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +0 -4
  473. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +0 -10
  474. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +0 -4
  475. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +0 -4
  476. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.json +0 -10
  477. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  478. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  479. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -284
  480. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  481. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -284
  482. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  483. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  484. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  485. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -144
  486. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  487. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -144
  488. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  489. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  490. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -113
  491. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  492. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -131
  493. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  494. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.json +0 -10
  495. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  496. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -511
  497. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  498. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  499. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  500. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -511
  501. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  502. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -531
  503. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  504. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -420
  505. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  506. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +0 -364
  507. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  508. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  509. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +0 -440
  510. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  511. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  512. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -543
  513. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  514. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -858
  515. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  516. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  517. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  518. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
  519. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +0 -4
  520. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +0 -405
  521. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  522. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  523. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  524. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -578
  525. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  526. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -575
  527. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  528. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -137
  529. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  530. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  531. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  532. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -379
  533. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  534. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -338
  535. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  536. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  537. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  538. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -206
  539. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  540. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -338
  541. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  542. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  543. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  544. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  545. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  546. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  547. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  548. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -111
  549. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  550. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  551. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  552. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  553. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  554. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +0 -4
  555. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.json +0 -99
  556. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  557. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  558. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -30
  559. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  560. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  561. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -236
  562. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  563. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  564. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -139
  565. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  566. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -30
  567. package/contracts/components/BaseComponent.sol +0 -94
  568. package/contracts/components/Distribution.sol +0 -132
  569. package/contracts/components/IBaseComponent.sol +0 -19
  570. package/contracts/components/IDistributionComponent.sol +0 -48
  571. package/contracts/components/IPoolComponent.sol +0 -71
  572. package/contracts/components/IProductComponent.sol +0 -38
  573. package/contracts/components/Pool.sol +0 -235
  574. package/contracts/components/Product.sol +0 -227
  575. package/contracts/experiment/errors/Require.sol +0 -38
  576. package/contracts/experiment/errors/Revert.sol +0 -44
  577. package/contracts/experiment/inheritance/A.sol +0 -53
  578. package/contracts/experiment/inheritance/B.sol +0 -28
  579. package/contracts/experiment/inheritance/C.sol +0 -34
  580. package/contracts/experiment/inheritance/IA.sol +0 -13
  581. package/contracts/experiment/inheritance/IB.sol +0 -10
  582. package/contracts/experiment/inheritance/IC.sol +0 -12
  583. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  584. package/contracts/experiment/statemachine/ISM.sol +0 -25
  585. package/contracts/experiment/statemachine/README.md +0 -112
  586. package/contracts/experiment/statemachine/SM.sol +0 -57
  587. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  588. package/contracts/experiment/types/TypeA.sol +0 -47
  589. package/contracts/experiment/types/TypeB.sol +0 -29
  590. package/contracts/instance/IInstanceLinked.sol +0 -8
  591. package/contracts/instance/base/ComponentServiceBase.sol +0 -42
  592. package/contracts/instance/base/IInstanceBase.sol +0 -22
  593. package/contracts/instance/base/IKeyValueStore.sol +0 -50
  594. package/contracts/instance/base/IService.sol +0 -15
  595. package/contracts/instance/base/InstanceBase.sol +0 -91
  596. package/contracts/instance/base/KeyValueStore.sol +0 -161
  597. package/contracts/instance/base/ModuleBase.sol +0 -57
  598. package/contracts/instance/base/ServiceBase.sol +0 -37
  599. package/contracts/instance/module/access/Access.sol +0 -149
  600. package/contracts/instance/module/access/IAccess.sol +0 -53
  601. package/contracts/instance/module/bundle/BundleModule.sol +0 -134
  602. package/contracts/instance/module/bundle/IBundle.sol +0 -53
  603. package/contracts/instance/module/component/ComponentModule.sol +0 -70
  604. package/contracts/instance/module/component/IComponent.sol +0 -28
  605. package/contracts/instance/module/distribution/DistributionModule.sol +0 -17
  606. package/contracts/instance/module/distribution/IDistribution.sol +0 -10
  607. package/contracts/instance/module/policy/IPolicy.sol +0 -63
  608. package/contracts/instance/module/policy/PolicyModule.sol +0 -91
  609. package/contracts/instance/module/pool/IPoolModule.sol +0 -40
  610. package/contracts/instance/module/pool/PoolModule.sol +0 -90
  611. package/contracts/instance/module/risk/IRisk.sol +0 -26
  612. package/contracts/instance/module/risk/RiskModule.sol +0 -62
  613. package/contracts/instance/module/treasury/ITreasury.sol +0 -82
  614. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  615. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -138
  616. package/contracts/instance/service/ComponentOwnerService.sol +0 -157
  617. package/contracts/instance/service/DistributionService.sol +0 -59
  618. package/contracts/instance/service/IComponentOwnerService.sol +0 -22
  619. package/contracts/instance/service/IDistributionService.sol +0 -12
  620. package/contracts/instance/service/IPoolService.sol +0 -37
  621. package/contracts/instance/service/IProductService.sol +0 -107
  622. package/contracts/instance/service/PoolService.sol +0 -149
  623. package/contracts/instance/service/ProductService.sol +0 -509
  624. package/contracts/registry/IChainNft.sol +0 -21
  625. package/contracts/registry/IRegistryLinked.sol +0 -8
  626. package/contracts/shared/IOwnable.sol +0 -6
  627. package/contracts/test/TestDistribution.sol +0 -21
  628. package/contracts/test/TestFee.sol +0 -25
  629. package/contracts/test/TestPool.sol +0 -25
  630. package/contracts/test/TestProduct.sol +0 -72
  631. package/contracts/test/TestRegisterable.sol +0 -19
  632. package/contracts/test/TestRoleId.sol +0 -14
  633. package/contracts/test/TestService.sol +0 -32
  634. package/contracts/test/TestToken.sol +0 -26
  635. package/contracts/test/TestVersion.sol +0 -44
  636. package/contracts/test/TestVersionable.sol +0 -17
  637. package/contracts/types/ChainId.sol +0 -38
  638. package/contracts/types/Fee.sol +0 -56
  639. package/contracts/types/NftIdSet.sol +0 -60
  640. package/contracts/types/ReferralId.sol +0 -48
  641. package/contracts/types/RoleId.sol +0 -38
@@ -0,0 +1,1105 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "BundleService",
4
+ "sourceName": "contracts/pool/BundleService.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": "policyNftId",
49
+ "type": "uint96"
50
+ }
51
+ ],
52
+ "name": "ErrorBundleManagerPolicyAlreadyActivated",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "NftId",
59
+ "name": "bundleNftId",
60
+ "type": "uint96"
61
+ },
62
+ {
63
+ "internalType": "StateId",
64
+ "name": "state",
65
+ "type": "uint8"
66
+ },
67
+ {
68
+ "internalType": "Timestamp",
69
+ "name": "expiredAt",
70
+ "type": "uint40"
71
+ }
72
+ ],
73
+ "name": "ErrorBundleServiceBundleNotOpen",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [
78
+ {
79
+ "internalType": "NftId",
80
+ "name": "bundleNftId",
81
+ "type": "uint96"
82
+ },
83
+ {
84
+ "internalType": "NftId",
85
+ "name": "expectedPool",
86
+ "type": "uint96"
87
+ },
88
+ {
89
+ "internalType": "NftId",
90
+ "name": "actualPool",
91
+ "type": "uint96"
92
+ }
93
+ ],
94
+ "name": "ErrorBundleServiceBundlePoolMismatch",
95
+ "type": "error"
96
+ },
97
+ {
98
+ "inputs": [
99
+ {
100
+ "internalType": "NftId",
101
+ "name": "bundleNftId",
102
+ "type": "uint96"
103
+ }
104
+ ],
105
+ "name": "ErrorBundleServiceBundleUnknown",
106
+ "type": "error"
107
+ },
108
+ {
109
+ "inputs": [
110
+ {
111
+ "internalType": "NftId",
112
+ "name": "bundleNftId",
113
+ "type": "uint96"
114
+ },
115
+ {
116
+ "internalType": "uint256",
117
+ "name": "openPoliciesCount",
118
+ "type": "uint256"
119
+ }
120
+ ],
121
+ "name": "ErrorBundleServiceBundleWithOpenPolicies",
122
+ "type": "error"
123
+ },
124
+ {
125
+ "inputs": [
126
+ {
127
+ "internalType": "NftId",
128
+ "name": "bundleNftId",
129
+ "type": "uint96"
130
+ },
131
+ {
132
+ "internalType": "Amount",
133
+ "name": "capacityAmount",
134
+ "type": "uint96"
135
+ },
136
+ {
137
+ "internalType": "Amount",
138
+ "name": "collateralAmount",
139
+ "type": "uint96"
140
+ }
141
+ ],
142
+ "name": "ErrorBundleServiceCapacityInsufficient",
143
+ "type": "error"
144
+ },
145
+ {
146
+ "inputs": [
147
+ {
148
+ "internalType": "address",
149
+ "name": "bundleOwner",
150
+ "type": "address"
151
+ },
152
+ {
153
+ "internalType": "address",
154
+ "name": "tokenHandlerAddress",
155
+ "type": "address"
156
+ },
157
+ {
158
+ "internalType": "Amount",
159
+ "name": "amount",
160
+ "type": "uint96"
161
+ }
162
+ ],
163
+ "name": "ErrorBundleServiceInsufficientAllowance",
164
+ "type": "error"
165
+ },
166
+ {
167
+ "inputs": [
168
+ {
169
+ "internalType": "NftId",
170
+ "name": "policyNftId",
171
+ "type": "uint96"
172
+ }
173
+ ],
174
+ "name": "ErrorBundleServicePolicyNotCloseable",
175
+ "type": "error"
176
+ },
177
+ {
178
+ "inputs": [
179
+ {
180
+ "internalType": "NftId",
181
+ "name": "componentNftId",
182
+ "type": "uint96"
183
+ }
184
+ ],
185
+ "name": "ErrorComponentVerifyingServiceComponentIsLocked",
186
+ "type": "error"
187
+ },
188
+ {
189
+ "inputs": [
190
+ {
191
+ "internalType": "NftId",
192
+ "name": "componentNftId",
193
+ "type": "uint96"
194
+ },
195
+ {
196
+ "internalType": "ObjectType",
197
+ "name": "expectedType",
198
+ "type": "uint8"
199
+ },
200
+ {
201
+ "internalType": "ObjectType",
202
+ "name": "actualType",
203
+ "type": "uint8"
204
+ }
205
+ ],
206
+ "name": "ErrorComponentVerifyingServiceComponentTypeInvalid",
207
+ "type": "error"
208
+ },
209
+ {
210
+ "inputs": [
211
+ {
212
+ "internalType": "NftId",
213
+ "name": "nftId",
214
+ "type": "uint96"
215
+ }
216
+ ],
217
+ "name": "ErrorNftOwnableAlreadyLinked",
218
+ "type": "error"
219
+ },
220
+ {
221
+ "inputs": [
222
+ {
223
+ "internalType": "address",
224
+ "name": "contractAddress",
225
+ "type": "address"
226
+ }
227
+ ],
228
+ "name": "ErrorNftOwnableContractNotRegistered",
229
+ "type": "error"
230
+ },
231
+ {
232
+ "inputs": [],
233
+ "name": "ErrorNftOwnableInitialOwnerZero",
234
+ "type": "error"
235
+ },
236
+ {
237
+ "inputs": [
238
+ {
239
+ "internalType": "address",
240
+ "name": "account",
241
+ "type": "address"
242
+ }
243
+ ],
244
+ "name": "ErrorNftOwnableNotOwner",
245
+ "type": "error"
246
+ },
247
+ {
248
+ "inputs": [
249
+ {
250
+ "internalType": "address",
251
+ "name": "registryAddress",
252
+ "type": "address"
253
+ }
254
+ ],
255
+ "name": "ErrorNotRegistry",
256
+ "type": "error"
257
+ },
258
+ {
259
+ "inputs": [],
260
+ "name": "ErrorServiceNotImplemented",
261
+ "type": "error"
262
+ },
263
+ {
264
+ "inputs": [],
265
+ "name": "InvalidInitialization",
266
+ "type": "error"
267
+ },
268
+ {
269
+ "inputs": [],
270
+ "name": "NotInitializing",
271
+ "type": "error"
272
+ },
273
+ {
274
+ "anonymous": false,
275
+ "inputs": [
276
+ {
277
+ "indexed": false,
278
+ "internalType": "address",
279
+ "name": "authority",
280
+ "type": "address"
281
+ }
282
+ ],
283
+ "name": "AuthorityUpdated",
284
+ "type": "event"
285
+ },
286
+ {
287
+ "anonymous": false,
288
+ "inputs": [
289
+ {
290
+ "indexed": false,
291
+ "internalType": "uint64",
292
+ "name": "version",
293
+ "type": "uint64"
294
+ }
295
+ ],
296
+ "name": "Initialized",
297
+ "type": "event"
298
+ },
299
+ {
300
+ "anonymous": false,
301
+ "inputs": [
302
+ {
303
+ "indexed": false,
304
+ "internalType": "NftId",
305
+ "name": "bundleNftId",
306
+ "type": "uint96"
307
+ }
308
+ ],
309
+ "name": "LogBundleServiceBundleActivated",
310
+ "type": "event"
311
+ },
312
+ {
313
+ "anonymous": false,
314
+ "inputs": [
315
+ {
316
+ "indexed": false,
317
+ "internalType": "NftId",
318
+ "name": "bundleNftId",
319
+ "type": "uint96"
320
+ }
321
+ ],
322
+ "name": "LogBundleServiceBundleLocked",
323
+ "type": "event"
324
+ },
325
+ {
326
+ "inputs": [],
327
+ "name": "NAME",
328
+ "outputs": [
329
+ {
330
+ "internalType": "string",
331
+ "name": "",
332
+ "type": "string"
333
+ }
334
+ ],
335
+ "stateMutability": "view",
336
+ "type": "function"
337
+ },
338
+ {
339
+ "inputs": [],
340
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
341
+ "outputs": [
342
+ {
343
+ "internalType": "bytes32",
344
+ "name": "",
345
+ "type": "bytes32"
346
+ }
347
+ ],
348
+ "stateMutability": "view",
349
+ "type": "function"
350
+ },
351
+ {
352
+ "inputs": [],
353
+ "name": "REGISTERABLE_LOCATION_V1",
354
+ "outputs": [
355
+ {
356
+ "internalType": "bytes32",
357
+ "name": "",
358
+ "type": "bytes32"
359
+ }
360
+ ],
361
+ "stateMutability": "view",
362
+ "type": "function"
363
+ },
364
+ {
365
+ "inputs": [],
366
+ "name": "authority",
367
+ "outputs": [
368
+ {
369
+ "internalType": "address",
370
+ "name": "",
371
+ "type": "address"
372
+ }
373
+ ],
374
+ "stateMutability": "view",
375
+ "type": "function"
376
+ },
377
+ {
378
+ "inputs": [
379
+ {
380
+ "internalType": "contract IInstance",
381
+ "name": "instance",
382
+ "type": "address"
383
+ },
384
+ {
385
+ "internalType": "NftId",
386
+ "name": "bundleNftId",
387
+ "type": "uint96"
388
+ }
389
+ ],
390
+ "name": "close",
391
+ "outputs": [],
392
+ "stateMutability": "nonpayable",
393
+ "type": "function"
394
+ },
395
+ {
396
+ "inputs": [
397
+ {
398
+ "internalType": "contract IInstance",
399
+ "name": "instance",
400
+ "type": "address"
401
+ },
402
+ {
403
+ "internalType": "NftId",
404
+ "name": "poolNftId",
405
+ "type": "uint96"
406
+ },
407
+ {
408
+ "internalType": "address",
409
+ "name": "owner",
410
+ "type": "address"
411
+ },
412
+ {
413
+ "components": [
414
+ {
415
+ "internalType": "UFixed",
416
+ "name": "fractionalFee",
417
+ "type": "uint256"
418
+ },
419
+ {
420
+ "internalType": "uint256",
421
+ "name": "fixedFee",
422
+ "type": "uint256"
423
+ }
424
+ ],
425
+ "internalType": "struct Fee",
426
+ "name": "bundleFee",
427
+ "type": "tuple"
428
+ },
429
+ {
430
+ "internalType": "Amount",
431
+ "name": "stakingAmount",
432
+ "type": "uint96"
433
+ },
434
+ {
435
+ "internalType": "Seconds",
436
+ "name": "lifetime",
437
+ "type": "uint40"
438
+ },
439
+ {
440
+ "internalType": "bytes",
441
+ "name": "filter",
442
+ "type": "bytes"
443
+ }
444
+ ],
445
+ "name": "create",
446
+ "outputs": [
447
+ {
448
+ "internalType": "NftId",
449
+ "name": "bundleNftId",
450
+ "type": "uint96"
451
+ }
452
+ ],
453
+ "stateMutability": "nonpayable",
454
+ "type": "function"
455
+ },
456
+ {
457
+ "inputs": [],
458
+ "name": "getDomain",
459
+ "outputs": [
460
+ {
461
+ "internalType": "ObjectType",
462
+ "name": "",
463
+ "type": "uint8"
464
+ }
465
+ ],
466
+ "stateMutability": "pure",
467
+ "type": "function"
468
+ },
469
+ {
470
+ "inputs": [],
471
+ "name": "getInitialInfo",
472
+ "outputs": [
473
+ {
474
+ "components": [
475
+ {
476
+ "internalType": "NftId",
477
+ "name": "nftId",
478
+ "type": "uint96"
479
+ },
480
+ {
481
+ "internalType": "NftId",
482
+ "name": "parentNftId",
483
+ "type": "uint96"
484
+ },
485
+ {
486
+ "internalType": "ObjectType",
487
+ "name": "objectType",
488
+ "type": "uint8"
489
+ },
490
+ {
491
+ "internalType": "bool",
492
+ "name": "isInterceptor",
493
+ "type": "bool"
494
+ },
495
+ {
496
+ "internalType": "address",
497
+ "name": "objectAddress",
498
+ "type": "address"
499
+ },
500
+ {
501
+ "internalType": "address",
502
+ "name": "initialOwner",
503
+ "type": "address"
504
+ },
505
+ {
506
+ "internalType": "bytes",
507
+ "name": "data",
508
+ "type": "bytes"
509
+ }
510
+ ],
511
+ "internalType": "struct IRegistry.ObjectInfo",
512
+ "name": "info",
513
+ "type": "tuple"
514
+ }
515
+ ],
516
+ "stateMutability": "view",
517
+ "type": "function"
518
+ },
519
+ {
520
+ "inputs": [],
521
+ "name": "getNftId",
522
+ "outputs": [
523
+ {
524
+ "internalType": "NftId",
525
+ "name": "",
526
+ "type": "uint96"
527
+ }
528
+ ],
529
+ "stateMutability": "view",
530
+ "type": "function"
531
+ },
532
+ {
533
+ "inputs": [],
534
+ "name": "getOwner",
535
+ "outputs": [
536
+ {
537
+ "internalType": "address",
538
+ "name": "",
539
+ "type": "address"
540
+ }
541
+ ],
542
+ "stateMutability": "view",
543
+ "type": "function"
544
+ },
545
+ {
546
+ "inputs": [],
547
+ "name": "getRegistry",
548
+ "outputs": [
549
+ {
550
+ "internalType": "contract IRegistry",
551
+ "name": "",
552
+ "type": "address"
553
+ }
554
+ ],
555
+ "stateMutability": "view",
556
+ "type": "function"
557
+ },
558
+ {
559
+ "inputs": [],
560
+ "name": "getVersion",
561
+ "outputs": [
562
+ {
563
+ "internalType": "Version",
564
+ "name": "",
565
+ "type": "uint24"
566
+ }
567
+ ],
568
+ "stateMutability": "pure",
569
+ "type": "function"
570
+ },
571
+ {
572
+ "inputs": [],
573
+ "name": "initializeERC165",
574
+ "outputs": [],
575
+ "stateMutability": "nonpayable",
576
+ "type": "function"
577
+ },
578
+ {
579
+ "inputs": [
580
+ {
581
+ "internalType": "address",
582
+ "name": "initialOwner",
583
+ "type": "address"
584
+ },
585
+ {
586
+ "internalType": "address",
587
+ "name": "registryAddress",
588
+ "type": "address"
589
+ }
590
+ ],
591
+ "name": "initializeNftOwnable",
592
+ "outputs": [],
593
+ "stateMutability": "nonpayable",
594
+ "type": "function"
595
+ },
596
+ {
597
+ "inputs": [
598
+ {
599
+ "internalType": "address",
600
+ "name": "registryAddress",
601
+ "type": "address"
602
+ },
603
+ {
604
+ "internalType": "NftId",
605
+ "name": "parentNftId",
606
+ "type": "uint96"
607
+ },
608
+ {
609
+ "internalType": "ObjectType",
610
+ "name": "objectType",
611
+ "type": "uint8"
612
+ },
613
+ {
614
+ "internalType": "bool",
615
+ "name": "isInterceptor",
616
+ "type": "bool"
617
+ },
618
+ {
619
+ "internalType": "address",
620
+ "name": "initialOwner",
621
+ "type": "address"
622
+ },
623
+ {
624
+ "internalType": "bytes",
625
+ "name": "registryData",
626
+ "type": "bytes"
627
+ }
628
+ ],
629
+ "name": "initializeRegisterable",
630
+ "outputs": [],
631
+ "stateMutability": "nonpayable",
632
+ "type": "function"
633
+ },
634
+ {
635
+ "inputs": [
636
+ {
637
+ "internalType": "address",
638
+ "name": "registryAddress",
639
+ "type": "address"
640
+ }
641
+ ],
642
+ "name": "initializeRegistryLinked",
643
+ "outputs": [],
644
+ "stateMutability": "nonpayable",
645
+ "type": "function"
646
+ },
647
+ {
648
+ "inputs": [
649
+ {
650
+ "internalType": "address",
651
+ "name": "registry",
652
+ "type": "address"
653
+ },
654
+ {
655
+ "internalType": "address",
656
+ "name": "authority",
657
+ "type": "address"
658
+ },
659
+ {
660
+ "internalType": "address",
661
+ "name": "initialOwner",
662
+ "type": "address"
663
+ }
664
+ ],
665
+ "name": "initializeService",
666
+ "outputs": [],
667
+ "stateMutability": "nonpayable",
668
+ "type": "function"
669
+ },
670
+ {
671
+ "inputs": [
672
+ {
673
+ "internalType": "address",
674
+ "name": "activatedBy",
675
+ "type": "address"
676
+ },
677
+ {
678
+ "internalType": "bytes",
679
+ "name": "data",
680
+ "type": "bytes"
681
+ }
682
+ ],
683
+ "name": "initializeVersionable",
684
+ "outputs": [],
685
+ "stateMutability": "nonpayable",
686
+ "type": "function"
687
+ },
688
+ {
689
+ "inputs": [],
690
+ "name": "isConsumingScheduledOp",
691
+ "outputs": [
692
+ {
693
+ "internalType": "bytes4",
694
+ "name": "",
695
+ "type": "bytes4"
696
+ }
697
+ ],
698
+ "stateMutability": "view",
699
+ "type": "function"
700
+ },
701
+ {
702
+ "inputs": [],
703
+ "name": "linkToRegisteredNftId",
704
+ "outputs": [
705
+ {
706
+ "internalType": "NftId",
707
+ "name": "nftId",
708
+ "type": "uint96"
709
+ }
710
+ ],
711
+ "stateMutability": "nonpayable",
712
+ "type": "function"
713
+ },
714
+ {
715
+ "inputs": [
716
+ {
717
+ "internalType": "NftId",
718
+ "name": "bundleNftId",
719
+ "type": "uint96"
720
+ }
721
+ ],
722
+ "name": "lock",
723
+ "outputs": [],
724
+ "stateMutability": "nonpayable",
725
+ "type": "function"
726
+ },
727
+ {
728
+ "inputs": [
729
+ {
730
+ "internalType": "contract IInstance",
731
+ "name": "instance",
732
+ "type": "address"
733
+ },
734
+ {
735
+ "internalType": "NftId",
736
+ "name": "policyNftId",
737
+ "type": "uint96"
738
+ },
739
+ {
740
+ "internalType": "NftId",
741
+ "name": "bundleNftId",
742
+ "type": "uint96"
743
+ },
744
+ {
745
+ "internalType": "Amount",
746
+ "name": "collateralAmount",
747
+ "type": "uint96"
748
+ }
749
+ ],
750
+ "name": "lockCollateral",
751
+ "outputs": [],
752
+ "stateMutability": "nonpayable",
753
+ "type": "function"
754
+ },
755
+ {
756
+ "inputs": [
757
+ {
758
+ "internalType": "bytes4",
759
+ "name": "interfaceId",
760
+ "type": "bytes4"
761
+ }
762
+ ],
763
+ "name": "registerInterface",
764
+ "outputs": [],
765
+ "stateMutability": "nonpayable",
766
+ "type": "function"
767
+ },
768
+ {
769
+ "inputs": [
770
+ {
771
+ "internalType": "contract IInstance",
772
+ "name": "instance",
773
+ "type": "address"
774
+ },
775
+ {
776
+ "internalType": "NftId",
777
+ "name": "policyNftId",
778
+ "type": "uint96"
779
+ },
780
+ {
781
+ "internalType": "NftId",
782
+ "name": "bundleNftId",
783
+ "type": "uint96"
784
+ },
785
+ {
786
+ "internalType": "Amount",
787
+ "name": "collateralAmount",
788
+ "type": "uint96"
789
+ }
790
+ ],
791
+ "name": "releaseCollateral",
792
+ "outputs": [],
793
+ "stateMutability": "nonpayable",
794
+ "type": "function"
795
+ },
796
+ {
797
+ "inputs": [
798
+ {
799
+ "internalType": "address",
800
+ "name": "newAuthority",
801
+ "type": "address"
802
+ }
803
+ ],
804
+ "name": "setAuthority",
805
+ "outputs": [],
806
+ "stateMutability": "nonpayable",
807
+ "type": "function"
808
+ },
809
+ {
810
+ "inputs": [
811
+ {
812
+ "internalType": "NftId",
813
+ "name": "bundleNftId",
814
+ "type": "uint96"
815
+ },
816
+ {
817
+ "components": [
818
+ {
819
+ "internalType": "UFixed",
820
+ "name": "fractionalFee",
821
+ "type": "uint256"
822
+ },
823
+ {
824
+ "internalType": "uint256",
825
+ "name": "fixedFee",
826
+ "type": "uint256"
827
+ }
828
+ ],
829
+ "internalType": "struct Fee",
830
+ "name": "fee",
831
+ "type": "tuple"
832
+ }
833
+ ],
834
+ "name": "setFee",
835
+ "outputs": [],
836
+ "stateMutability": "nonpayable",
837
+ "type": "function"
838
+ },
839
+ {
840
+ "inputs": [
841
+ {
842
+ "internalType": "bytes4",
843
+ "name": "interfaceId",
844
+ "type": "bytes4"
845
+ }
846
+ ],
847
+ "name": "supportsInterface",
848
+ "outputs": [
849
+ {
850
+ "internalType": "bool",
851
+ "name": "",
852
+ "type": "bool"
853
+ }
854
+ ],
855
+ "stateMutability": "view",
856
+ "type": "function"
857
+ },
858
+ {
859
+ "inputs": [
860
+ {
861
+ "internalType": "contract IInstance",
862
+ "name": "instance",
863
+ "type": "address"
864
+ },
865
+ {
866
+ "internalType": "NftId",
867
+ "name": "policyNftId",
868
+ "type": "uint96"
869
+ }
870
+ ],
871
+ "name": "unlinkPolicy",
872
+ "outputs": [],
873
+ "stateMutability": "nonpayable",
874
+ "type": "function"
875
+ },
876
+ {
877
+ "inputs": [
878
+ {
879
+ "internalType": "NftId",
880
+ "name": "bundleNftId",
881
+ "type": "uint96"
882
+ }
883
+ ],
884
+ "name": "unlock",
885
+ "outputs": [],
886
+ "stateMutability": "nonpayable",
887
+ "type": "function"
888
+ },
889
+ {
890
+ "inputs": [
891
+ {
892
+ "internalType": "bytes",
893
+ "name": "data",
894
+ "type": "bytes"
895
+ }
896
+ ],
897
+ "name": "upgradeVersionable",
898
+ "outputs": [],
899
+ "stateMutability": "nonpayable",
900
+ "type": "function"
901
+ }
902
+ ],
903
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6145ab80620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c8063675393bf11610104578063aa9acb2c116100a2578063b68d180911610071578063b68d180914610475578063bf7e214f14610484578063e283b4a91461048c578063f7c34ee01461049f57600080fd5b8063aa9acb2c14610427578063ad328d9f1461043a578063ada9652e1461044d578063b5346af51461046257600080fd5b8063893d20e8116100de578063893d20e8146103b25780638e32e979146103ba5780638fb36037146103cd578063a3f4df7e146103ee57600080fd5b8063675393bf1461037957806376429bc01461038c5780637a9e5e4b1461039f57600080fd5b8063214cdb801161017c57806349bb9e4b1161014b57806349bb9e4b146103105780634adcf909146103235780635ab1bd5314610336578063644c45e01461035b57600080fd5b8063214cdb80146102cf57806327bb7a33146102e2578063329d6e74146102f557806336fc697e1461030857600080fd5b80630fec111c116101b85780630fec111c14610252578063138461e0146102675780631eff4b22146102875780631f8e8f36146102bc57600080fd5b806301ffc9a7146101df57806306fa4565146102215780630d8e6e2c14610236575b600080fd5b61020c6101ed3660046135b4565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023461022f3660046135f3565b6104b2565b005b61023e6106a2565b60405162ffffff9091168152602001610218565b61025a61072c565b6040516102189190613660565b61026f6108bd565b6040516001600160601b039091168152602001610218565b6102ae7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610218565b6102346102ca3660046137f0565b6108c8565b6102346102dd3660046135b4565b610b86565b6102346102f03660046138d5565b610bb3565b61023461030336600461396d565b610c58565b610234610d9d565b61023461031e3660046139a1565b610de3565b6102346103313660046139e6565b610ee2565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610218565b600080516020614516833981519152546001600160601b031661026f565b610234610387366004613a42565b611391565b61023461039a366004613a5f565b61149f565b6102346103ad366004613a42565b61166f565b6103436116f2565b6102346103c8366004613a98565b611829565b6103d5611a62565b6040516001600160e01b03199091168152602001610218565b61041a6040518060400160405280600d81526020016c42756e646c655365727669636560981b81525081565b6040516102189190613ae3565b610234610435366004613a5f565b611a9a565b6102346104483660046139e6565b611ce3565b6102ae60008051602061451683398151915281565b6102346104703660046135f3565b611dd2565b60405160dc8152602001610218565b610343611fb9565b61026f61049a366004613b09565b611fd5565b6102346104ad366004613bea565b612563565b60006104be608c6125da565b92505050806001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610500573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105249190613c18565b6001600160a01b031663fe1f18d68360046040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b15801561057e57600080fd5b505af1158015610592573d6000803e3d6000fd5b505050506000816001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105fa9190613c18565b6040516306fa456560e01b81526001600160601b03851660048201529091506001600160a01b038216906306fa456590602401600060405180830381600087803b15801561064757600080fd5b505af115801561065b573d6000803e3d6000fd5b50506040516001600160601b03861681527f87cfb697b5d649751f13ba6e2e51778a1fd0a1f260df7281952986c453708e71925060200190505b60405180910390a1505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610703573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107279190613c35565b905090565b610734613576565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156107ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107d19190613c6a565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016108196116f2565b6001600160a01b0316815260200182600101805461083690613c87565b80601f016020809104026020016040519081016040528092919081815260200182805461086290613c87565b80156108af5780601f10610884576101008083540402835291602001916108af565b820191906000526020600020905b81548152906001019060200180831161089257829003601f168201915b505050505081525091505090565b600061072730612777565b6000806108d5608c6125da565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561091a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061093e9190613c18565b604051634793b4ab60e01b81526001600160601b03871660048201529091506000906001600160a01b03831690634793b4ab90602401600060405180830381865afa158015610991573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109b99190810190613d11565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015610a17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a3b9190613dff565b15610a69576040516349e9f38360e01b81526001600160601b03871660048201526024015b60405180910390fd5b8051610a759085612978565b15610ab157805160405163dab86e4560e01b81526001600160601b03808916600483015291821660248201529085166044820152606401610a60565b848160200181905250826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610af8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b1c9190613c18565b6001600160a01b03166351dd844b878360ff6040518463ffffffff1660e01b8152600401610b4c93929190613e94565b600060405180830381600087803b158015610b6657600080fd5b505af1158015610b7a573d6000803e3d6000fd5b50505050505050505050565b610b8e612a07565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610bbb612a07565b610bc58287612563565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301610c4e8382613f0f565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610c7a6106a2565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610cba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cde9190613fce565b6000805160206145568339815191528054600160401b900460ff1680610d11575080546001600160401b03808416911610155b15610d2f5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610d5983612a40565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610695565b610da5612a07565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000805160206145568339815191528054600160401b810460ff1615906001600160401b0316600081158015610e165750825b90506000826001600160401b03166001148015610e325750303b155b905081158015610e40575080155b15610e5e5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610e8857845460ff60401b1916600160401b1785555b610e928787612a48565b8315610ed957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610eef335b600036612bc3565b6000846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f2f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f539190613c18565b905060006001600160a01b03821663a5961b4c73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03881660dc6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af4158015610fd8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ffc9190613ff7565b6040518263ffffffff1660e01b815260040161101a91815260200190565b608060405180830381865afa158015611037573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061105b919061402d565b60200151604051634793b4ab60e01b81526001600160601b03861660048201529091506000906001600160a01b03841690634793b4ab90602401600060405180830381865afa1580156110b2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526110da9190810190613d11565b90506110ef8260045b60ff9081169116141590565b806111795750611179816080015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611146573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061116a91906140b1565b64ffffffffff90811691161090565b156111be57608081015160405163bf5b8f0960e01b81526001600160601b038716600482015260ff8416602482015264ffffffffff9091166044820152606401610a60565b6000876001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112229190613c18565b6040516317bb785d60e21b81526001600160601b0388166004820152909150600090819081906001600160a01b03851690635eede17490602401606060405180830381865afa158015611279573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061129d91906140ce565b92509250925060006112b8846112b38585612cc1565b612d49565b90506112c4818a612d94565b156112fd5760405163826a5ff960e01b81526001600160601b03808c16600483015280831660248301528a166044820152606401610a60565b60405163248a77dd60e01b81526001600160601b03808c1660048301528a1660248201526001600160a01b0386169063248a77dd906044016020604051808303816000875af1158015611354573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113789190613c6a565b506113838c8c612ddf565b505050505050505050505050565b611399612a07565b806001600160a01b03163b6000036113cf5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a60565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263e607072160e01b60048201526301ffc9a790602401602060405180830381865afa925050508015611449575060408051601f3d908101601f1916820190925261144691810190613dff565b60015b6114715760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a60565b8061149a5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610a60565b505b50565b6114a833610ee7565b816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061150a9190613c18565b6040516375d357df60e01b81526001600160601b03831660048201526001600160a01b0391909116906375d357df90602401602060405180830381865afa158015611559573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061157d9190613dff565b6115a5576040516392bb4dff60e01b81526001600160601b0382166004820152602401610a60565b816001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115e3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116079190613c18565b604051631351fccf60e31b81526001600160601b03831660048201526001600160a01b039190911690639a8fe67890602401600060405180830381600087803b15801561165357600080fd5b505af1158015611667573d6000803e3d6000fd5b505050505050565b33611678611fb9565b6001600160a01b0316816001600160a01b0316146116b35760405162d1953b60e31b81526001600160a01b0382166004820152602401610a60565b816001600160a01b03163b6000036116e9576040516361798f2f60e11b81526001600160a01b0383166004820152602401610a60565b61149a82613094565b60008060008051602061451683398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611762573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117869190613dff565b15611813576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156117e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061180d9190613c18565b91505090565b54600160601b90046001600160a01b0316919050565b611831612a07565b6118b183846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611873573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118979190613c6a565b603c60008560405180602001604052806000815250610bb3565b6001600160a01b038216156118ce576118c9826130f5565b611a3d565b60006118e26001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611942573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611966919061411b565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156119ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119cf9190613c18565b9050611a3b816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a12573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a369190613c18565b6130f5565b505b611a4d634a531f3360e01b610b86565b611a5d63b68d180960e01b610b86565b505050565b600080516020614536833981519152805460009190600160a01b900460ff16611a8c57600061180d565b638fb3603760e01b91505090565b611aa333610ee7565b816001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ae1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b059190613c18565b6001600160a01b031663fe1f18d68260c86040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b158015611b5f57600080fd5b505af1158015611b73573d6000803e3d6000fd5b505050506000826001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015611bb7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bdb9190613c18565b6040516322cc1d4560e11b81526001600160601b03841660048201529091506000906001600160a01b038316906345983a8a90602401602060405180830381865afa158015611c2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c529190613ff7565b90508015611c85576040516356a410b760e01b81526001600160601b038416600482015260248101829052604401610a60565b60405163b5346af560e01b81526001600160601b03841660048201526001600160a01b0383169063b5346af590602401600060405180830381600087803b158015611ccf57600080fd5b505af1158015610c4e573d6000803e3d6000fd5b611cec33610ee7565b836001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d4e9190613c18565b6040516353ebe12960e01b81526001600160601b038085166004830152831660248201526001600160a01b0391909116906353ebe129906044016020604051808303816000875af1158015611da7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dcb9190613c6a565b5050505050565b6000611dde608c6125da565b92505050806001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e449190613c18565b6001600160a01b031663fe1f18d683606e6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b158015611e9e57600080fd5b505af1158015611eb2573d6000803e3d6000fd5b505050506000816001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ef6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f1a9190613c18565b60405163b5346af560e01b81526001600160601b03851660048201529091506001600160a01b0382169063b5346af590602401600060405180830381600087803b158015611f6757600080fd5b505af1158015611f7b573d6000803e3d6000fd5b50506040516001600160601b03861681527f6764112d27879e5bb12f07fde08a48629ec22e603c75c9942ba62a06c95a55f492506020019050610695565b600080516020614536833981519152546001600160a01b031690565b6000611fe033610ee7565b600360009054906101000a90046001600160a01b03166001600160a01b031663c2bf08c86040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612058573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061207c9190613c6a565b6001600160601b031681526020018b6001600160601b031681526020016120a160dc90565b60ff16815260200160001515815260200160006001600160a01b031681526020018a6001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b81526004016121009190613660565b6020604051808303816000875af115801561211f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121439190613c6a565b90506000896001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015612185573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121a99190613c18565b9050806001600160a01b031663a46eb8dc836040518060c001604052808d6001600160601b031681526020018b815260200188888080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050509082525064ffffffffff8a16602080830191909152604080516356db0c1960e11b81528151919093019273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9263adb61832926004808401938290030181865af4158015612275573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061229991906140b1565b6040516352bcc5a760e11b815264ffffffffff9182166004820152908b16602482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063a5798b4e90604401602060405180830381865af41580156122f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061231c91906140b1565b64ffffffffff16815260006020909101526040516001600160e01b031960e085901b16815261234f929190600401614138565b600060405180830381600087803b15801561236957600080fd5b505af115801561237d573d6000803e3d6000fd5b50505050600460009054906101000a90046001600160a01b03166001600160a01b03166325e451d382848973__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156123f1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124159190613c6a565b6040516001600160e01b031960e087901b1681526001600160a01b0390941660048501526001600160601b0392831660248501529082166044840152166064820152608401600060405180830381600087803b15801561247457600080fd5b505af1158015612488573d6000803e3d6000fd5b5050505060008a6001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa1580156124cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124f09190613c18565b6040516346f0e8a760e11b81526001600160601b03851660048201529091506001600160a01b03821690638de1d14e90602401600060405180830381600087803b15801561253d57600080fd5b505af1158015612551573d6000803e3d6000fd5b50505050505098975050505050505050565b61256b612a07565b61257481611391565b61257c610d9d565b6001600160a01b0382166125a35760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061451683398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b60006125e4613576565b60006125f86001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa15801561263e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126629190613c6a565b925061266e8385613106565b8092508193505050806001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156126b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126d89190613c18565b608083015160405163a166aa8960e01b81526001600160a01b03918216600482015291169063a166aa8990602401602060405180830381865afa158015612723573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127479190613dff565b1561277057604051637d71120960e11b81526001600160601b0384166004820152602401610a60565b9193909250565b60008060008051602061451683398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156127e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061280b9190613dff565b156128375780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610a60565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561288b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128af9190613dff565b6128d75760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610a60565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa15801561292b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061294f9190613c6a565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b6040516399009c5160e01b81526001600160601b0380841660048301528216602482015260009073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c51906044015b602060405180830381865af41580156129dc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a009190613dff565b9392505050565b60008051602061455683398151915254600160401b900460ff16612a3e57604051631afcd79f60e31b815260040160405180910390fd5b565b6101da612a07565b6000805160206145568339815191528054600160401b810460ff1615906001600160401b0316600081158015612a7b5750825b90506000826001600160401b03166001148015612a975750303b155b905081158015612aa5575080155b15612ac35760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315612aed57845460ff60401b1916600160401b1785555b60008087806020019051810190612b04919061415a565b9092509050612b158260008b611829565b612b2460286132b1565b6132b1565b600380546001600160a01b0319166001600160a01b0392909216919091179055612b4f612b1f606490565b600480546001600160a01b0319166001600160a01b0392909216919091179055612b7f6375f5307560e01b610b86565b50508315610ed957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610ed0565b600080516020614536833981519152600080612bfe612be0611fb9565b8730612bf0600460008a8c614189565b612bf9916141b3565b6133c4565b91509150816116675763ffffffff811615612c9e57825460ff60a01b1916600160a01b178355612c2c611fb9565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612c5b939291906141e3565b600060405180830381600087803b158015612c7557600080fd5b505af1158015612c89573d6000803e3d6000fd5b5050845460ff60a01b19168555506116679050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610a60565b60405163274acb3560e01b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb35906044015b602060405180830381865af4158015612d25573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a009190613c6a565b6040516363cf551160e11b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401612d08565b6040516304d40eb160e11b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__906309a81d62906044016129bf565b6000826001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612e1f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e439190613c18565b60405163bd7d9d8560e01b81526001600160601b03841660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015612e96573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612ebe919081019061424d565b6101c0810151604051638d38cd4b60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af4158015612f1e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f429190613dff565b8015612f9b5750612f9b816101c0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611146573d6000803e3d6000fd5b15612fc457604051630cd0c0b560e31b81526001600160601b0384166004820152602401610a60565b6000846001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015613004573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130289190613c18565b604051630331f98560e21b81526001600160601b03861660048201529091506001600160a01b03821690630cc7e61490602401600060405180830381600087803b15801561307557600080fd5b505af1158015613089573d6000803e3d6000fd5b505050505050505050565b60008051602061453683398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6130fd612a07565b61149c816134d0565b61310e613576565b6000806131236001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03871660048201529091506001600160a01b0382169063a48f42e090602401600060405180830381865afa158015613173573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261319b91908101906143f8565b92506131a88460646110e3565b156131fe57604083015160ff8581169116146131f957604080840151905163b83d92cb60e01b81526001600160601b038716600482015260ff80871660248301529091166044820152606401610a60565b61329a565b613219836040015161320e606e90565b60ff90811691161490565b8061322f575061322f836040015161320e608c90565b806132455750613245836040015161320e607890565b8061325b575061325b836040015161320e608290565b61329a57604080840151905163b83d92cb60e01b81526001600160601b038716600482015260ff80871660248301529091166044820152606401610a60565b6132a783602001516134e1565b9150509250929050565b60006132c56001546001600160a01b031690565b6001600160a01b031663d39e6043836132dc6106a2565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015613331573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613355919061411b565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561339a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133be9190613c18565b92915050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161343391906144ca565b600060405180830381855afa9150503d806000811461346e576040519150601f19603f3d011682016040523d82523d6000602084013e613473565b606091505b509150915081156134c55760408151106134a5578080602001905181019061349b91906144e6565b90945092506134c5565b60208151106134c557808060200190518101906134c29190613dff565b93505b505094509492505050565b6134d8612a07565b61149c81613094565b60006134f56001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613544573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261356c91908101906143f8565b6080015192915050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6000602082840312156135c657600080fd5b81356001600160e01b031981168114612a0057600080fd5b6001600160601b038116811461149c57600080fd5b60006020828403121561360557600080fd5b8135612a00816135de565b60005b8381101561362b578181015183820152602001613613565b50506000910152565b6000815180845261364c816020860160208601613610565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516136c960c08401826001600160a01b03169052565b5060c083015160e0808401526136e3610100840182613634565b949350505050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715613723576137236136eb565b60405290565b60405160c081016001600160401b0381118282101715613723576137236136eb565b60405161022081016001600160401b0381118282101715613723576137236136eb565b60405160e081016001600160401b0381118282101715613723576137236136eb565b604051601f8201601f191681016001600160401b03811182821017156137b8576137b86136eb565b604052919050565b6000604082840312156137d257600080fd5b6137da613701565b9050813581526020820135602082015292915050565b6000806060838503121561380357600080fd5b823561380e816135de565b915061381d84602085016137c0565b90509250929050565b6001600160a01b038116811461149c57600080fd5b60ff8116811461149c57600080fd5b801515811461149c57600080fd5b60006001600160401b03821115613871576138716136eb565b50601f01601f191660200190565b600082601f83011261389057600080fd5b81356138a361389e82613858565b613790565b8181528460208386010111156138b857600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c087890312156138ee57600080fd5b86356138f981613826565b95506020870135613909816135de565b945060408701356139198161383b565b935060608701356139298161384a565b9250608087013561393981613826565b915060a08701356001600160401b0381111561395457600080fd5b61396089828a0161387f565b9150509295509295509295565b60006020828403121561397f57600080fd5b81356001600160401b0381111561399557600080fd5b6136e38482850161387f565b600080604083850312156139b457600080fd5b82356139bf81613826565b915060208301356001600160401b038111156139da57600080fd5b6132a78582860161387f565b600080600080608085870312156139fc57600080fd5b8435613a0781613826565b93506020850135613a17816135de565b92506040850135613a27816135de565b91506060850135613a37816135de565b939692955090935050565b600060208284031215613a5457600080fd5b8135612a0081613826565b60008060408385031215613a7257600080fd5b8235613a7d81613826565b91506020830135613a8d816135de565b809150509250929050565b600080600060608486031215613aad57600080fd5b8335613ab881613826565b92506020840135613ac881613826565b91506040840135613ad881613826565b809150509250925092565b602081526000612a006020830184613634565b64ffffffffff8116811461149c57600080fd5b600080600080600080600080610100898b031215613b2657600080fd5b8835613b3181613826565b97506020890135613b41816135de565b96506040890135613b5181613826565b9550613b608a60608b016137c0565b945060a0890135613b70816135de565b935060c0890135613b8081613af6565b925060e08901356001600160401b0380821115613b9c57600080fd5b818b0191508b601f830112613bb057600080fd5b813581811115613bbf57600080fd5b8c6020828501011115613bd157600080fd5b6020830194508093505050509295985092959890939650565b60008060408385031215613bfd57600080fd5b8235613c0881613826565b91506020830135613a8d81613826565b600060208284031215613c2a57600080fd5b8151612a0081613826565b600060208284031215613c4757600080fd5b815162ffffff81168114612a0057600080fd5b8051613c65816135de565b919050565b600060208284031215613c7c57600080fd5b8151612a00816135de565b600181811c90821680613c9b57607f821691505b602082108103613cbb57634e487b7160e01b600052602260045260246000fd5b50919050565b600082601f830112613cd257600080fd5b8151613ce061389e82613858565b818152846020838601011115613cf557600080fd5b6136e3826020830160208701613610565b8051613c6581613af6565b600060208284031215613d2357600080fd5b81516001600160401b0380821115613d3a57600080fd5b9083019081850360e0811215613d4f57600080fd5b613d57613729565b8351613d62816135de565b81526040601f1983011215613d7657600080fd5b613d7e613701565b60208581015182526040860151818301528201526060840151915082821115613da657600080fd5b613db287838601613cc1565b6040820152613dc360808501613d06565b6060820152613dd460a08501613d06565b6080820152613de560c08501613d06565b60a08201529695505050505050565b8051613c658161384a565b600060208284031215613e1157600080fd5b8151612a008161384a565b6001600160601b03815116825260006020820151805160208501526020810151604085015250604082015160e06060850152613e5b60e0850182613634565b9050606083015164ffffffffff80821660808701528060808601511660a08701528060a08601511660c087015250508091505092915050565b6001600160601b0384168152606060208201526000613eb66060830185613e1c565b905060ff83166040830152949350505050565b601f821115611a5d57600081815260208120601f850160051c81016020861015613ef05750805b601f850160051c820191505b8181101561166757828155600101613efc565b81516001600160401b03811115613f2857613f286136eb565b613f3c81613f368454613c87565b84613ec9565b602080601f831160018114613f715760008415613f595750858301515b600019600386901b1c1916600185901b178555611667565b600085815260208120601f198616915b82811015613fa057888601518255948401946001909101908401613f81565b5085821015613fbe5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215613fe057600080fd5b81516001600160401b0381168114612a0057600080fd5b60006020828403121561400957600080fd5b5051919050565b8051613c658161383b565b63ffffffff8116811461149c57600080fd5b60006080828403121561403f57600080fd5b604051608081018181106001600160401b0382111715614061576140616136eb565b604052825161406f8161383b565b8152602083015161407f8161383b565b602082015260408301516140928161401b565b604082015260608301516140a58161401b565b60608201529392505050565b6000602082840312156140c357600080fd5b8151612a0081613af6565b6000806000606084860312156140e357600080fd5b83516140ee816135de565b60208501519093506140ff816135de565b6040850151909250613ad8816135de565b8051613c6581613826565b60006020828403121561412d57600080fd5b8151612a008161383b565b6001600160601b03831681526040602082015260006136e36040830184613e1c565b6000806040838503121561416d57600080fd5b825161417881613826565b6020840151909250613a8d81613826565b6000808585111561419957600080fd5b838611156141a657600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156141db5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b80516001600160c01b031981168114613c6557600080fd5b805161ffff81168114613c6557600080fd5b60006020828403121561425f57600080fd5b81516001600160401b038082111561427657600080fd5b90830190610220828603121561428b57600080fd5b61429361374b565b61429c83613c5a565b81526142aa60208401613c5a565b60208201526142bb60408401614223565b60408201526142cc60608401614223565b60608201526142dd60808401613c5a565b60808201526142ee60a08401613c5a565b60a08201526142ff60c08401613c5a565b60c082015261431060e08401613d06565b60e0820152610100808401518381111561432957600080fd5b61433588828701613cc1565b828401525050610120808401518381111561434f57600080fd5b61435b88828701613cc1565b828401525050610140915061437182840161423b565b82820152610160915061438582840161423b565b828201526101809150614399828401613c5a565b828201526101a091506143ad828401613c5a565b828201526101c091506143c1828401613d06565b828201526101e091506143d5828401613d06565b8282015261020091506143e9828401613d06565b91810191909152949350505050565b60006020828403121561440a57600080fd5b81516001600160401b038082111561442157600080fd5b9083019060e0828603121561443557600080fd5b61443d61376e565b61444683613c5a565b815261445460208401613c5a565b602082015261446560408401614010565b604082015261447660608401613df4565b606082015261448760808401614110565b608082015261449860a08401614110565b60a082015260c0830151828111156144af57600080fd5b6144bb87828601613cc1565b60c08301525095945050505050565b600082516144dc818460208701613610565b9190910192915050565b600080604083850312156144f957600080fd5b82516145048161384a565b6020840151909250613a8d8161401b56fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220edc6eda41f64c333a6da512955dfb6ba7c36c7200c323b7ab017632c6a390c2764736f6c63430008140033",
904
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101da5760003560e01c8063675393bf11610104578063aa9acb2c116100a2578063b68d180911610071578063b68d180914610475578063bf7e214f14610484578063e283b4a91461048c578063f7c34ee01461049f57600080fd5b8063aa9acb2c14610427578063ad328d9f1461043a578063ada9652e1461044d578063b5346af51461046257600080fd5b8063893d20e8116100de578063893d20e8146103b25780638e32e979146103ba5780638fb36037146103cd578063a3f4df7e146103ee57600080fd5b8063675393bf1461037957806376429bc01461038c5780637a9e5e4b1461039f57600080fd5b8063214cdb801161017c57806349bb9e4b1161014b57806349bb9e4b146103105780634adcf909146103235780635ab1bd5314610336578063644c45e01461035b57600080fd5b8063214cdb80146102cf57806327bb7a33146102e2578063329d6e74146102f557806336fc697e1461030857600080fd5b80630fec111c116101b85780630fec111c14610252578063138461e0146102675780631eff4b22146102875780631f8e8f36146102bc57600080fd5b806301ffc9a7146101df57806306fa4565146102215780630d8e6e2c14610236575b600080fd5b61020c6101ed3660046135b4565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023461022f3660046135f3565b6104b2565b005b61023e6106a2565b60405162ffffff9091168152602001610218565b61025a61072c565b6040516102189190613660565b61026f6108bd565b6040516001600160601b039091168152602001610218565b6102ae7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610218565b6102346102ca3660046137f0565b6108c8565b6102346102dd3660046135b4565b610b86565b6102346102f03660046138d5565b610bb3565b61023461030336600461396d565b610c58565b610234610d9d565b61023461031e3660046139a1565b610de3565b6102346103313660046139e6565b610ee2565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610218565b600080516020614516833981519152546001600160601b031661026f565b610234610387366004613a42565b611391565b61023461039a366004613a5f565b61149f565b6102346103ad366004613a42565b61166f565b6103436116f2565b6102346103c8366004613a98565b611829565b6103d5611a62565b6040516001600160e01b03199091168152602001610218565b61041a6040518060400160405280600d81526020016c42756e646c655365727669636560981b81525081565b6040516102189190613ae3565b610234610435366004613a5f565b611a9a565b6102346104483660046139e6565b611ce3565b6102ae60008051602061451683398151915281565b6102346104703660046135f3565b611dd2565b60405160dc8152602001610218565b610343611fb9565b61026f61049a366004613b09565b611fd5565b6102346104ad366004613bea565b612563565b60006104be608c6125da565b92505050806001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610500573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105249190613c18565b6001600160a01b031663fe1f18d68360046040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b15801561057e57600080fd5b505af1158015610592573d6000803e3d6000fd5b505050506000816001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105fa9190613c18565b6040516306fa456560e01b81526001600160601b03851660048201529091506001600160a01b038216906306fa456590602401600060405180830381600087803b15801561064757600080fd5b505af115801561065b573d6000803e3d6000fd5b50506040516001600160601b03861681527f87cfb697b5d649751f13ba6e2e51778a1fd0a1f260df7281952986c453708e71925060200190505b60405180910390a1505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610703573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107279190613c35565b905090565b610734613576565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156107ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107d19190613c6a565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016108196116f2565b6001600160a01b0316815260200182600101805461083690613c87565b80601f016020809104026020016040519081016040528092919081815260200182805461086290613c87565b80156108af5780601f10610884576101008083540402835291602001916108af565b820191906000526020600020905b81548152906001019060200180831161089257829003601f168201915b505050505081525091505090565b600061072730612777565b6000806108d5608c6125da565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561091a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061093e9190613c18565b604051634793b4ab60e01b81526001600160601b03871660048201529091506000906001600160a01b03831690634793b4ab90602401600060405180830381865afa158015610991573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109b99190810190613d11565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015610a17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a3b9190613dff565b15610a69576040516349e9f38360e01b81526001600160601b03871660048201526024015b60405180910390fd5b8051610a759085612978565b15610ab157805160405163dab86e4560e01b81526001600160601b03808916600483015291821660248201529085166044820152606401610a60565b848160200181905250826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610af8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b1c9190613c18565b6001600160a01b03166351dd844b878360ff6040518463ffffffff1660e01b8152600401610b4c93929190613e94565b600060405180830381600087803b158015610b6657600080fd5b505af1158015610b7a573d6000803e3d6000fd5b50505050505050505050565b610b8e612a07565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610bbb612a07565b610bc58287612563565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301610c4e8382613f0f565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610c7a6106a2565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610cba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cde9190613fce565b6000805160206145568339815191528054600160401b900460ff1680610d11575080546001600160401b03808416911610155b15610d2f5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610d5983612a40565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610695565b610da5612a07565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000805160206145568339815191528054600160401b810460ff1615906001600160401b0316600081158015610e165750825b90506000826001600160401b03166001148015610e325750303b155b905081158015610e40575080155b15610e5e5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610e8857845460ff60401b1916600160401b1785555b610e928787612a48565b8315610ed957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610eef335b600036612bc3565b6000846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f2f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f539190613c18565b905060006001600160a01b03821663a5961b4c73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03881660dc6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af4158015610fd8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ffc9190613ff7565b6040518263ffffffff1660e01b815260040161101a91815260200190565b608060405180830381865afa158015611037573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061105b919061402d565b60200151604051634793b4ab60e01b81526001600160601b03861660048201529091506000906001600160a01b03841690634793b4ab90602401600060405180830381865afa1580156110b2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526110da9190810190613d11565b90506110ef8260045b60ff9081169116141590565b806111795750611179816080015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611146573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061116a91906140b1565b64ffffffffff90811691161090565b156111be57608081015160405163bf5b8f0960e01b81526001600160601b038716600482015260ff8416602482015264ffffffffff9091166044820152606401610a60565b6000876001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112229190613c18565b6040516317bb785d60e21b81526001600160601b0388166004820152909150600090819081906001600160a01b03851690635eede17490602401606060405180830381865afa158015611279573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061129d91906140ce565b92509250925060006112b8846112b38585612cc1565b612d49565b90506112c4818a612d94565b156112fd5760405163826a5ff960e01b81526001600160601b03808c16600483015280831660248301528a166044820152606401610a60565b60405163248a77dd60e01b81526001600160601b03808c1660048301528a1660248201526001600160a01b0386169063248a77dd906044016020604051808303816000875af1158015611354573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113789190613c6a565b506113838c8c612ddf565b505050505050505050505050565b611399612a07565b806001600160a01b03163b6000036113cf5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a60565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263e607072160e01b60048201526301ffc9a790602401602060405180830381865afa925050508015611449575060408051601f3d908101601f1916820190925261144691810190613dff565b60015b6114715760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a60565b8061149a5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610a60565b505b50565b6114a833610ee7565b816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061150a9190613c18565b6040516375d357df60e01b81526001600160601b03831660048201526001600160a01b0391909116906375d357df90602401602060405180830381865afa158015611559573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061157d9190613dff565b6115a5576040516392bb4dff60e01b81526001600160601b0382166004820152602401610a60565b816001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115e3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116079190613c18565b604051631351fccf60e31b81526001600160601b03831660048201526001600160a01b039190911690639a8fe67890602401600060405180830381600087803b15801561165357600080fd5b505af1158015611667573d6000803e3d6000fd5b505050505050565b33611678611fb9565b6001600160a01b0316816001600160a01b0316146116b35760405162d1953b60e31b81526001600160a01b0382166004820152602401610a60565b816001600160a01b03163b6000036116e9576040516361798f2f60e11b81526001600160a01b0383166004820152602401610a60565b61149a82613094565b60008060008051602061451683398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611762573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117869190613dff565b15611813576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156117e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061180d9190613c18565b91505090565b54600160601b90046001600160a01b0316919050565b611831612a07565b6118b183846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611873573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118979190613c6a565b603c60008560405180602001604052806000815250610bb3565b6001600160a01b038216156118ce576118c9826130f5565b611a3d565b60006118e26001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611942573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611966919061411b565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156119ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119cf9190613c18565b9050611a3b816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a12573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a369190613c18565b6130f5565b505b611a4d634a531f3360e01b610b86565b611a5d63b68d180960e01b610b86565b505050565b600080516020614536833981519152805460009190600160a01b900460ff16611a8c57600061180d565b638fb3603760e01b91505090565b611aa333610ee7565b816001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ae1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b059190613c18565b6001600160a01b031663fe1f18d68260c86040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b158015611b5f57600080fd5b505af1158015611b73573d6000803e3d6000fd5b505050506000826001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015611bb7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bdb9190613c18565b6040516322cc1d4560e11b81526001600160601b03841660048201529091506000906001600160a01b038316906345983a8a90602401602060405180830381865afa158015611c2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c529190613ff7565b90508015611c85576040516356a410b760e01b81526001600160601b038416600482015260248101829052604401610a60565b60405163b5346af560e01b81526001600160601b03841660048201526001600160a01b0383169063b5346af590602401600060405180830381600087803b158015611ccf57600080fd5b505af1158015610c4e573d6000803e3d6000fd5b611cec33610ee7565b836001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d4e9190613c18565b6040516353ebe12960e01b81526001600160601b038085166004830152831660248201526001600160a01b0391909116906353ebe129906044016020604051808303816000875af1158015611da7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dcb9190613c6a565b5050505050565b6000611dde608c6125da565b92505050806001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e449190613c18565b6001600160a01b031663fe1f18d683606e6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b158015611e9e57600080fd5b505af1158015611eb2573d6000803e3d6000fd5b505050506000816001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ef6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f1a9190613c18565b60405163b5346af560e01b81526001600160601b03851660048201529091506001600160a01b0382169063b5346af590602401600060405180830381600087803b158015611f6757600080fd5b505af1158015611f7b573d6000803e3d6000fd5b50506040516001600160601b03861681527f6764112d27879e5bb12f07fde08a48629ec22e603c75c9942ba62a06c95a55f492506020019050610695565b600080516020614536833981519152546001600160a01b031690565b6000611fe033610ee7565b600360009054906101000a90046001600160a01b03166001600160a01b031663c2bf08c86040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612058573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061207c9190613c6a565b6001600160601b031681526020018b6001600160601b031681526020016120a160dc90565b60ff16815260200160001515815260200160006001600160a01b031681526020018a6001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b81526004016121009190613660565b6020604051808303816000875af115801561211f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121439190613c6a565b90506000896001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015612185573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121a99190613c18565b9050806001600160a01b031663a46eb8dc836040518060c001604052808d6001600160601b031681526020018b815260200188888080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050509082525064ffffffffff8a16602080830191909152604080516356db0c1960e11b81528151919093019273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9263adb61832926004808401938290030181865af4158015612275573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061229991906140b1565b6040516352bcc5a760e11b815264ffffffffff9182166004820152908b16602482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063a5798b4e90604401602060405180830381865af41580156122f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061231c91906140b1565b64ffffffffff16815260006020909101526040516001600160e01b031960e085901b16815261234f929190600401614138565b600060405180830381600087803b15801561236957600080fd5b505af115801561237d573d6000803e3d6000fd5b50505050600460009054906101000a90046001600160a01b03166001600160a01b03166325e451d382848973__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156123f1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124159190613c6a565b6040516001600160e01b031960e087901b1681526001600160a01b0390941660048501526001600160601b0392831660248501529082166044840152166064820152608401600060405180830381600087803b15801561247457600080fd5b505af1158015612488573d6000803e3d6000fd5b5050505060008a6001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa1580156124cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124f09190613c18565b6040516346f0e8a760e11b81526001600160601b03851660048201529091506001600160a01b03821690638de1d14e90602401600060405180830381600087803b15801561253d57600080fd5b505af1158015612551573d6000803e3d6000fd5b50505050505098975050505050505050565b61256b612a07565b61257481611391565b61257c610d9d565b6001600160a01b0382166125a35760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061451683398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b60006125e4613576565b60006125f86001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa15801561263e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126629190613c6a565b925061266e8385613106565b8092508193505050806001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156126b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126d89190613c18565b608083015160405163a166aa8960e01b81526001600160a01b03918216600482015291169063a166aa8990602401602060405180830381865afa158015612723573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127479190613dff565b1561277057604051637d71120960e11b81526001600160601b0384166004820152602401610a60565b9193909250565b60008060008051602061451683398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156127e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061280b9190613dff565b156128375780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610a60565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561288b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128af9190613dff565b6128d75760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610a60565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa15801561292b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061294f9190613c6a565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b6040516399009c5160e01b81526001600160601b0380841660048301528216602482015260009073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c51906044015b602060405180830381865af41580156129dc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a009190613dff565b9392505050565b60008051602061455683398151915254600160401b900460ff16612a3e57604051631afcd79f60e31b815260040160405180910390fd5b565b6101da612a07565b6000805160206145568339815191528054600160401b810460ff1615906001600160401b0316600081158015612a7b5750825b90506000826001600160401b03166001148015612a975750303b155b905081158015612aa5575080155b15612ac35760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315612aed57845460ff60401b1916600160401b1785555b60008087806020019051810190612b04919061415a565b9092509050612b158260008b611829565b612b2460286132b1565b6132b1565b600380546001600160a01b0319166001600160a01b0392909216919091179055612b4f612b1f606490565b600480546001600160a01b0319166001600160a01b0392909216919091179055612b7f6375f5307560e01b610b86565b50508315610ed957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610ed0565b600080516020614536833981519152600080612bfe612be0611fb9565b8730612bf0600460008a8c614189565b612bf9916141b3565b6133c4565b91509150816116675763ffffffff811615612c9e57825460ff60a01b1916600160a01b178355612c2c611fb9565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612c5b939291906141e3565b600060405180830381600087803b158015612c7557600080fd5b505af1158015612c89573d6000803e3d6000fd5b5050845460ff60a01b19168555506116679050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610a60565b60405163274acb3560e01b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb35906044015b602060405180830381865af4158015612d25573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a009190613c6a565b6040516363cf551160e11b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401612d08565b6040516304d40eb160e11b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__906309a81d62906044016129bf565b6000826001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612e1f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e439190613c18565b60405163bd7d9d8560e01b81526001600160601b03841660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015612e96573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612ebe919081019061424d565b6101c0810151604051638d38cd4b60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af4158015612f1e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f429190613dff565b8015612f9b5750612f9b816101c0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611146573d6000803e3d6000fd5b15612fc457604051630cd0c0b560e31b81526001600160601b0384166004820152602401610a60565b6000846001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015613004573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130289190613c18565b604051630331f98560e21b81526001600160601b03861660048201529091506001600160a01b03821690630cc7e61490602401600060405180830381600087803b15801561307557600080fd5b505af1158015613089573d6000803e3d6000fd5b505050505050505050565b60008051602061453683398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6130fd612a07565b61149c816134d0565b61310e613576565b6000806131236001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03871660048201529091506001600160a01b0382169063a48f42e090602401600060405180830381865afa158015613173573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261319b91908101906143f8565b92506131a88460646110e3565b156131fe57604083015160ff8581169116146131f957604080840151905163b83d92cb60e01b81526001600160601b038716600482015260ff80871660248301529091166044820152606401610a60565b61329a565b613219836040015161320e606e90565b60ff90811691161490565b8061322f575061322f836040015161320e608c90565b806132455750613245836040015161320e607890565b8061325b575061325b836040015161320e608290565b61329a57604080840151905163b83d92cb60e01b81526001600160601b038716600482015260ff80871660248301529091166044820152606401610a60565b6132a783602001516134e1565b9150509250929050565b60006132c56001546001600160a01b031690565b6001600160a01b031663d39e6043836132dc6106a2565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015613331573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613355919061411b565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561339a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133be9190613c18565b92915050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161343391906144ca565b600060405180830381855afa9150503d806000811461346e576040519150601f19603f3d011682016040523d82523d6000602084013e613473565b606091505b509150915081156134c55760408151106134a5578080602001905181019061349b91906144e6565b90945092506134c5565b60208151106134c557808060200190518101906134c29190613dff565b93505b505094509492505050565b6134d8612a07565b61149c81613094565b60006134f56001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613544573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261356c91908101906143f8565b6080015192915050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6000602082840312156135c657600080fd5b81356001600160e01b031981168114612a0057600080fd5b6001600160601b038116811461149c57600080fd5b60006020828403121561360557600080fd5b8135612a00816135de565b60005b8381101561362b578181015183820152602001613613565b50506000910152565b6000815180845261364c816020860160208601613610565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516136c960c08401826001600160a01b03169052565b5060c083015160e0808401526136e3610100840182613634565b949350505050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715613723576137236136eb565b60405290565b60405160c081016001600160401b0381118282101715613723576137236136eb565b60405161022081016001600160401b0381118282101715613723576137236136eb565b60405160e081016001600160401b0381118282101715613723576137236136eb565b604051601f8201601f191681016001600160401b03811182821017156137b8576137b86136eb565b604052919050565b6000604082840312156137d257600080fd5b6137da613701565b9050813581526020820135602082015292915050565b6000806060838503121561380357600080fd5b823561380e816135de565b915061381d84602085016137c0565b90509250929050565b6001600160a01b038116811461149c57600080fd5b60ff8116811461149c57600080fd5b801515811461149c57600080fd5b60006001600160401b03821115613871576138716136eb565b50601f01601f191660200190565b600082601f83011261389057600080fd5b81356138a361389e82613858565b613790565b8181528460208386010111156138b857600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c087890312156138ee57600080fd5b86356138f981613826565b95506020870135613909816135de565b945060408701356139198161383b565b935060608701356139298161384a565b9250608087013561393981613826565b915060a08701356001600160401b0381111561395457600080fd5b61396089828a0161387f565b9150509295509295509295565b60006020828403121561397f57600080fd5b81356001600160401b0381111561399557600080fd5b6136e38482850161387f565b600080604083850312156139b457600080fd5b82356139bf81613826565b915060208301356001600160401b038111156139da57600080fd5b6132a78582860161387f565b600080600080608085870312156139fc57600080fd5b8435613a0781613826565b93506020850135613a17816135de565b92506040850135613a27816135de565b91506060850135613a37816135de565b939692955090935050565b600060208284031215613a5457600080fd5b8135612a0081613826565b60008060408385031215613a7257600080fd5b8235613a7d81613826565b91506020830135613a8d816135de565b809150509250929050565b600080600060608486031215613aad57600080fd5b8335613ab881613826565b92506020840135613ac881613826565b91506040840135613ad881613826565b809150509250925092565b602081526000612a006020830184613634565b64ffffffffff8116811461149c57600080fd5b600080600080600080600080610100898b031215613b2657600080fd5b8835613b3181613826565b97506020890135613b41816135de565b96506040890135613b5181613826565b9550613b608a60608b016137c0565b945060a0890135613b70816135de565b935060c0890135613b8081613af6565b925060e08901356001600160401b0380821115613b9c57600080fd5b818b0191508b601f830112613bb057600080fd5b813581811115613bbf57600080fd5b8c6020828501011115613bd157600080fd5b6020830194508093505050509295985092959890939650565b60008060408385031215613bfd57600080fd5b8235613c0881613826565b91506020830135613a8d81613826565b600060208284031215613c2a57600080fd5b8151612a0081613826565b600060208284031215613c4757600080fd5b815162ffffff81168114612a0057600080fd5b8051613c65816135de565b919050565b600060208284031215613c7c57600080fd5b8151612a00816135de565b600181811c90821680613c9b57607f821691505b602082108103613cbb57634e487b7160e01b600052602260045260246000fd5b50919050565b600082601f830112613cd257600080fd5b8151613ce061389e82613858565b818152846020838601011115613cf557600080fd5b6136e3826020830160208701613610565b8051613c6581613af6565b600060208284031215613d2357600080fd5b81516001600160401b0380821115613d3a57600080fd5b9083019081850360e0811215613d4f57600080fd5b613d57613729565b8351613d62816135de565b81526040601f1983011215613d7657600080fd5b613d7e613701565b60208581015182526040860151818301528201526060840151915082821115613da657600080fd5b613db287838601613cc1565b6040820152613dc360808501613d06565b6060820152613dd460a08501613d06565b6080820152613de560c08501613d06565b60a08201529695505050505050565b8051613c658161384a565b600060208284031215613e1157600080fd5b8151612a008161384a565b6001600160601b03815116825260006020820151805160208501526020810151604085015250604082015160e06060850152613e5b60e0850182613634565b9050606083015164ffffffffff80821660808701528060808601511660a08701528060a08601511660c087015250508091505092915050565b6001600160601b0384168152606060208201526000613eb66060830185613e1c565b905060ff83166040830152949350505050565b601f821115611a5d57600081815260208120601f850160051c81016020861015613ef05750805b601f850160051c820191505b8181101561166757828155600101613efc565b81516001600160401b03811115613f2857613f286136eb565b613f3c81613f368454613c87565b84613ec9565b602080601f831160018114613f715760008415613f595750858301515b600019600386901b1c1916600185901b178555611667565b600085815260208120601f198616915b82811015613fa057888601518255948401946001909101908401613f81565b5085821015613fbe5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215613fe057600080fd5b81516001600160401b0381168114612a0057600080fd5b60006020828403121561400957600080fd5b5051919050565b8051613c658161383b565b63ffffffff8116811461149c57600080fd5b60006080828403121561403f57600080fd5b604051608081018181106001600160401b0382111715614061576140616136eb565b604052825161406f8161383b565b8152602083015161407f8161383b565b602082015260408301516140928161401b565b604082015260608301516140a58161401b565b60608201529392505050565b6000602082840312156140c357600080fd5b8151612a0081613af6565b6000806000606084860312156140e357600080fd5b83516140ee816135de565b60208501519093506140ff816135de565b6040850151909250613ad8816135de565b8051613c6581613826565b60006020828403121561412d57600080fd5b8151612a008161383b565b6001600160601b03831681526040602082015260006136e36040830184613e1c565b6000806040838503121561416d57600080fd5b825161417881613826565b6020840151909250613a8d81613826565b6000808585111561419957600080fd5b838611156141a657600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156141db5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b80516001600160c01b031981168114613c6557600080fd5b805161ffff81168114613c6557600080fd5b60006020828403121561425f57600080fd5b81516001600160401b038082111561427657600080fd5b90830190610220828603121561428b57600080fd5b61429361374b565b61429c83613c5a565b81526142aa60208401613c5a565b60208201526142bb60408401614223565b60408201526142cc60608401614223565b60608201526142dd60808401613c5a565b60808201526142ee60a08401613c5a565b60a08201526142ff60c08401613c5a565b60c082015261431060e08401613d06565b60e0820152610100808401518381111561432957600080fd5b61433588828701613cc1565b828401525050610120808401518381111561434f57600080fd5b61435b88828701613cc1565b828401525050610140915061437182840161423b565b82820152610160915061438582840161423b565b828201526101809150614399828401613c5a565b828201526101a091506143ad828401613c5a565b828201526101c091506143c1828401613d06565b828201526101e091506143d5828401613d06565b8282015261020091506143e9828401613d06565b91810191909152949350505050565b60006020828403121561440a57600080fd5b81516001600160401b038082111561442157600080fd5b9083019060e0828603121561443557600080fd5b61443d61376e565b61444683613c5a565b815261445460208401613c5a565b602082015261446560408401614010565b604082015261447660608401613df4565b606082015261448760808401614110565b608082015261449860a08401614110565b60a082015260c0830151828111156144af57600080fd5b6144bb87828601613cc1565b60c08301525095945050505050565b600082516144dc818460208701613610565b9190910192915050565b600080604083850312156144f957600080fd5b82516145048161384a565b6020840151909250613a8d8161401b56fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220edc6eda41f64c333a6da512955dfb6ba7c36c7200c323b7ab017632c6a390c2764736f6c63430008140033",
905
+ "linkReferences": {
906
+ "contracts/type/Amount.sol": {
907
+ "AmountLib": [
908
+ {
909
+ "length": 20,
910
+ "start": 9360
911
+ },
912
+ {
913
+ "length": 20,
914
+ "start": 11728
915
+ },
916
+ {
917
+ "length": 20,
918
+ "start": 11864
919
+ },
920
+ {
921
+ "length": 20,
922
+ "start": 11939
923
+ }
924
+ ]
925
+ },
926
+ "contracts/type/NftId.sol": {
927
+ "NftIdLib": [
928
+ {
929
+ "length": 20,
930
+ "start": 2124
931
+ },
932
+ {
933
+ "length": 20,
934
+ "start": 2755
935
+ },
936
+ {
937
+ "length": 20,
938
+ "start": 4174
939
+ },
940
+ {
941
+ "length": 20,
942
+ "start": 6158
943
+ },
944
+ {
945
+ "length": 20,
946
+ "start": 8439
947
+ },
948
+ {
949
+ "length": 20,
950
+ "start": 10387
951
+ },
952
+ {
953
+ "length": 20,
954
+ "start": 10887
955
+ }
956
+ ]
957
+ },
958
+ "contracts/type/Timestamp.sol": {
959
+ "TimestampLib": [
960
+ {
961
+ "length": 20,
962
+ "start": 4581
963
+ },
964
+ {
965
+ "length": 20,
966
+ "start": 8994
967
+ },
968
+ {
969
+ "length": 20,
970
+ "start": 9124
971
+ },
972
+ {
973
+ "length": 20,
974
+ "start": 12234
975
+ },
976
+ {
977
+ "length": 20,
978
+ "start": 12346
979
+ }
980
+ ]
981
+ },
982
+ "contracts/type/Version.sol": {
983
+ "VersionLib": [
984
+ {
985
+ "length": 20,
986
+ "start": 1967
987
+ },
988
+ {
989
+ "length": 20,
990
+ "start": 3392
991
+ },
992
+ {
993
+ "length": 20,
994
+ "start": 13277
995
+ }
996
+ ],
997
+ "VersionPartLib": [
998
+ {
999
+ "length": 20,
1000
+ "start": 6638
1001
+ }
1002
+ ]
1003
+ }
1004
+ },
1005
+ "deployedLinkReferences": {
1006
+ "contracts/type/Amount.sol": {
1007
+ "AmountLib": [
1008
+ {
1009
+ "length": 20,
1010
+ "start": 9130
1011
+ },
1012
+ {
1013
+ "length": 20,
1014
+ "start": 11498
1015
+ },
1016
+ {
1017
+ "length": 20,
1018
+ "start": 11634
1019
+ },
1020
+ {
1021
+ "length": 20,
1022
+ "start": 11709
1023
+ }
1024
+ ]
1025
+ },
1026
+ "contracts/type/NftId.sol": {
1027
+ "NftIdLib": [
1028
+ {
1029
+ "length": 20,
1030
+ "start": 1894
1031
+ },
1032
+ {
1033
+ "length": 20,
1034
+ "start": 2525
1035
+ },
1036
+ {
1037
+ "length": 20,
1038
+ "start": 3944
1039
+ },
1040
+ {
1041
+ "length": 20,
1042
+ "start": 5928
1043
+ },
1044
+ {
1045
+ "length": 20,
1046
+ "start": 8209
1047
+ },
1048
+ {
1049
+ "length": 20,
1050
+ "start": 10157
1051
+ },
1052
+ {
1053
+ "length": 20,
1054
+ "start": 10657
1055
+ }
1056
+ ]
1057
+ },
1058
+ "contracts/type/Timestamp.sol": {
1059
+ "TimestampLib": [
1060
+ {
1061
+ "length": 20,
1062
+ "start": 4351
1063
+ },
1064
+ {
1065
+ "length": 20,
1066
+ "start": 8764
1067
+ },
1068
+ {
1069
+ "length": 20,
1070
+ "start": 8894
1071
+ },
1072
+ {
1073
+ "length": 20,
1074
+ "start": 12004
1075
+ },
1076
+ {
1077
+ "length": 20,
1078
+ "start": 12116
1079
+ }
1080
+ ]
1081
+ },
1082
+ "contracts/type/Version.sol": {
1083
+ "VersionLib": [
1084
+ {
1085
+ "length": 20,
1086
+ "start": 1737
1087
+ },
1088
+ {
1089
+ "length": 20,
1090
+ "start": 3162
1091
+ },
1092
+ {
1093
+ "length": 20,
1094
+ "start": 13047
1095
+ }
1096
+ ],
1097
+ "VersionPartLib": [
1098
+ {
1099
+ "length": 20,
1100
+ "start": 6408
1101
+ }
1102
+ ]
1103
+ }
1104
+ }
1105
+ }