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

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