@etherisc/gif-next 0.0.2-f30e0eb-805 → 0.0.2-f347f00-614

Sign up to get free protection for your applications and to get access to all the features.
Files changed (573) hide show
  1. package/README.md +8 -84
  2. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  3. package/artifacts/contracts/{components → distribution}/Distribution.sol/Distribution.json +254 -157
  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 +202 -96
  10. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  11. package/artifacts/contracts/{instance/service → distribution}/IDistributionService.sol/IDistributionService.json +126 -312
  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 +279 -1961
  16. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  17. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +257 -55
  18. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  19. package/artifacts/contracts/instance/Instance.sol/Instance.json +431 -2735
  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 +762 -340
  26. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +358 -171
  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/{components/IProductComponent.sol/IProductComponent.json → oracle/IOracleComponent.sol/IOracleComponent.json} +221 -192
  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 -266
  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 +218 -145
  67. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  68. package/artifacts/contracts/{components → pool}/IPoolComponent.sol/IPoolComponent.json +288 -88
  69. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  70. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1078 -0
  71. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  72. package/artifacts/contracts/{components → pool}/Pool.sol/Pool.json +298 -89
  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/IPolicyService.sol/IPolicyService.json → product/IApplicationService.sol/IApplicationService.json} +174 -202
  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/product/IPolicyService.sol/IPolicyService.json +720 -0
  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} +146 -153
  93. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  94. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +995 -0
  95. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
  96. package/artifacts/contracts/{instance/service → product}/IProductService.sol/IProductService.json +80 -64
  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 +124 -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 +1896 -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 +166 -0
  132. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  133. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +182 -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 +1554 -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 +144 -80
  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} +100 -113
  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 +1184 -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 +180 -54
  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 +96 -19
  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 +103 -21
  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 -55
  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 +8 -9
  303. package/contracts/instance/module/IComponents.sol +22 -5
  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/pool/IBundleService.sol +106 -0
  317. package/contracts/{components → pool}/IPoolComponent.sol +17 -18
  318. package/contracts/pool/IPoolService.sol +150 -0
  319. package/contracts/{components → pool}/Pool.sol +57 -57
  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 +39 -37
  342. package/contracts/registry/IServiceAuthorization.sol +35 -0
  343. package/contracts/registry/Registry.sol +192 -83
  344. package/contracts/registry/RegistryAdmin.sol +333 -0
  345. package/contracts/registry/RegistryService.sol +73 -90
  346. package/contracts/registry/RegistryServiceManager.sol +21 -30
  347. package/contracts/registry/ReleaseManager.sol +394 -195
  348. package/contracts/registry/ServiceAuthorization.sol +83 -0
  349. package/contracts/registry/ServiceAuthorizationV3.sol +200 -0
  350. package/contracts/registry/TokenRegistry.sol +261 -62
  351. package/contracts/shared/AccessAdmin.sol +750 -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 +162 -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 -27
  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 +14 -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 +47 -22
  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 +33 -24
  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 +3 -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 -968
  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 -1093
  449. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  450. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -661
  451. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +0 -4
  452. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +0 -754
  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 -1732
  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/IClaimService.sol/IClaimService.json +0 -409
  463. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  464. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  465. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  466. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +0 -428
  467. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  468. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  469. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1021
  470. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  471. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -689
  472. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  473. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -824
  474. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  475. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -657
  476. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  477. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -777
  478. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  479. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -649
  480. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  481. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  482. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  483. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  484. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  485. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  486. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  487. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -383
  488. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  489. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  490. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  491. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -521
  492. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  493. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  494. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  495. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  496. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  497. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -104
  498. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  499. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  500. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  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 -257
  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 -251
  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 -134
  539. package/contracts/instance/base/KeyValueStore.sol +0 -175
  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 -336
  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 -467
  547. package/contracts/instance/service/DistributionServiceManager.sol +0 -51
  548. package/contracts/instance/service/IBundleService.sol +0 -62
  549. package/contracts/instance/service/IClaimService.sol +0 -61
  550. package/contracts/instance/service/IPoolService.sol +0 -35
  551. package/contracts/instance/service/IProductService.sol +0 -40
  552. package/contracts/instance/service/PolicyService.sol +0 -403
  553. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  554. package/contracts/instance/service/PoolService.sol +0 -220
  555. package/contracts/instance/service/PoolServiceManager.sol +0 -51
  556. package/contracts/instance/service/ProductService.sol +0 -241
  557. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  558. package/contracts/registry/RegistryAccessManager.sol +0 -216
  559. package/contracts/shared/ContractDeployerLib.sol +0 -72
  560. package/contracts/test/TestFee.sol +0 -25
  561. package/contracts/test/TestRegisterable.sol +0 -18
  562. package/contracts/test/TestRoleId.sol +0 -14
  563. package/contracts/test/TestService.sol +0 -25
  564. package/contracts/test/TestVersion.sol +0 -44
  565. package/contracts/test/TestVersionable.sol +0 -17
  566. package/contracts/test/Usdc.sol +0 -26
  567. package/contracts/types/ChainId.sol +0 -38
  568. package/contracts/types/NumberId.sol +0 -52
  569. package/contracts/types/ObjectType.sol +0 -157
  570. package/contracts/types/RoleId.sol +0 -97
  571. /package/contracts/{types → type}/DistributorType.sol +0 -0
  572. /package/contracts/{types → type}/Key32.sol +0 -0
  573. /package/contracts/{types → type}/UFixed.sol +0 -0
@@ -0,0 +1,1134 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "BundleService",
4
+ "sourceName": "contracts/pool/BundleService.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "caller",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "NftId",
48
+ "name": "policyNftId",
49
+ "type": "uint96"
50
+ }
51
+ ],
52
+ "name": "ErrorBundleManagerPolicyAlreadyActivated",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "NftId",
59
+ "name": "bundleNftId",
60
+ "type": "uint96"
61
+ },
62
+ {
63
+ "internalType": "StateId",
64
+ "name": "state",
65
+ "type": "uint8"
66
+ },
67
+ {
68
+ "internalType": "Timestamp",
69
+ "name": "expiredAt",
70
+ "type": "uint40"
71
+ }
72
+ ],
73
+ "name": "ErrorBundleServiceBundleNotOpen",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [
78
+ {
79
+ "internalType": "NftId",
80
+ "name": "bundleNftId",
81
+ "type": "uint96"
82
+ },
83
+ {
84
+ "internalType": "NftId",
85
+ "name": "expectedPool",
86
+ "type": "uint96"
87
+ },
88
+ {
89
+ "internalType": "NftId",
90
+ "name": "actualPool",
91
+ "type": "uint96"
92
+ }
93
+ ],
94
+ "name": "ErrorBundleServiceBundlePoolMismatch",
95
+ "type": "error"
96
+ },
97
+ {
98
+ "inputs": [
99
+ {
100
+ "internalType": "NftId",
101
+ "name": "bundleNftId",
102
+ "type": "uint96"
103
+ }
104
+ ],
105
+ "name": "ErrorBundleServiceBundleUnknown",
106
+ "type": "error"
107
+ },
108
+ {
109
+ "inputs": [
110
+ {
111
+ "internalType": "NftId",
112
+ "name": "bundleNftId",
113
+ "type": "uint96"
114
+ },
115
+ {
116
+ "internalType": "uint256",
117
+ "name": "openPoliciesCount",
118
+ "type": "uint256"
119
+ }
120
+ ],
121
+ "name": "ErrorBundleServiceBundleWithOpenPolicies",
122
+ "type": "error"
123
+ },
124
+ {
125
+ "inputs": [
126
+ {
127
+ "internalType": "NftId",
128
+ "name": "bundleNftId",
129
+ "type": "uint96"
130
+ },
131
+ {
132
+ "internalType": "Amount",
133
+ "name": "capacityAmount",
134
+ "type": "uint96"
135
+ },
136
+ {
137
+ "internalType": "Amount",
138
+ "name": "collateralAmount",
139
+ "type": "uint96"
140
+ }
141
+ ],
142
+ "name": "ErrorBundleServiceCapacityInsufficient",
143
+ "type": "error"
144
+ },
145
+ {
146
+ "inputs": [
147
+ {
148
+ "internalType": "address",
149
+ "name": "bundleOwner",
150
+ "type": "address"
151
+ },
152
+ {
153
+ "internalType": "address",
154
+ "name": "tokenHandlerAddress",
155
+ "type": "address"
156
+ },
157
+ {
158
+ "internalType": "Amount",
159
+ "name": "amount",
160
+ "type": "uint96"
161
+ }
162
+ ],
163
+ "name": "ErrorBundleServiceInsufficientAllowance",
164
+ "type": "error"
165
+ },
166
+ {
167
+ "inputs": [
168
+ {
169
+ "internalType": "NftId",
170
+ "name": "policyNftId",
171
+ "type": "uint96"
172
+ }
173
+ ],
174
+ "name": "ErrorBundleServicePolicyNotCloseable",
175
+ "type": "error"
176
+ },
177
+ {
178
+ "inputs": [
179
+ {
180
+ "internalType": "NftId",
181
+ "name": "componentNftId",
182
+ "type": "uint96"
183
+ }
184
+ ],
185
+ "name": "ErrorComponentVerifyingServiceComponentIsLocked",
186
+ "type": "error"
187
+ },
188
+ {
189
+ "inputs": [
190
+ {
191
+ "internalType": "NftId",
192
+ "name": "componentNftId",
193
+ "type": "uint96"
194
+ },
195
+ {
196
+ "internalType": "ObjectType",
197
+ "name": "expectedType",
198
+ "type": "uint8"
199
+ },
200
+ {
201
+ "internalType": "ObjectType",
202
+ "name": "actualType",
203
+ "type": "uint8"
204
+ }
205
+ ],
206
+ "name": "ErrorComponentVerifyingServiceComponentTypeInvalid",
207
+ "type": "error"
208
+ },
209
+ {
210
+ "inputs": [
211
+ {
212
+ "internalType": "NftId",
213
+ "name": "nftId",
214
+ "type": "uint96"
215
+ }
216
+ ],
217
+ "name": "ErrorNftOwnableAlreadyLinked",
218
+ "type": "error"
219
+ },
220
+ {
221
+ "inputs": [
222
+ {
223
+ "internalType": "address",
224
+ "name": "contractAddress",
225
+ "type": "address"
226
+ }
227
+ ],
228
+ "name": "ErrorNftOwnableContractNotRegistered",
229
+ "type": "error"
230
+ },
231
+ {
232
+ "inputs": [],
233
+ "name": "ErrorNftOwnableInitialOwnerZero",
234
+ "type": "error"
235
+ },
236
+ {
237
+ "inputs": [
238
+ {
239
+ "internalType": "address",
240
+ "name": "account",
241
+ "type": "address"
242
+ }
243
+ ],
244
+ "name": "ErrorNftOwnableNotOwner",
245
+ "type": "error"
246
+ },
247
+ {
248
+ "inputs": [
249
+ {
250
+ "internalType": "address",
251
+ "name": "registryAddress",
252
+ "type": "address"
253
+ }
254
+ ],
255
+ "name": "ErrorNotRegistry",
256
+ "type": "error"
257
+ },
258
+ {
259
+ "inputs": [],
260
+ "name": "ErrorServiceNotImplemented",
261
+ "type": "error"
262
+ },
263
+ {
264
+ "inputs": [],
265
+ "name": "InvalidInitialization",
266
+ "type": "error"
267
+ },
268
+ {
269
+ "inputs": [],
270
+ "name": "NotInitializing",
271
+ "type": "error"
272
+ },
273
+ {
274
+ "anonymous": false,
275
+ "inputs": [
276
+ {
277
+ "indexed": false,
278
+ "internalType": "address",
279
+ "name": "authority",
280
+ "type": "address"
281
+ }
282
+ ],
283
+ "name": "AuthorityUpdated",
284
+ "type": "event"
285
+ },
286
+ {
287
+ "anonymous": false,
288
+ "inputs": [
289
+ {
290
+ "indexed": false,
291
+ "internalType": "uint64",
292
+ "name": "version",
293
+ "type": "uint64"
294
+ }
295
+ ],
296
+ "name": "Initialized",
297
+ "type": "event"
298
+ },
299
+ {
300
+ "anonymous": false,
301
+ "inputs": [
302
+ {
303
+ "indexed": false,
304
+ "internalType": "NftId",
305
+ "name": "bundleNftId",
306
+ "type": "uint96"
307
+ }
308
+ ],
309
+ "name": "LogBundleServiceBundleActivated",
310
+ "type": "event"
311
+ },
312
+ {
313
+ "anonymous": false,
314
+ "inputs": [
315
+ {
316
+ "indexed": false,
317
+ "internalType": "NftId",
318
+ "name": "bundleNftId",
319
+ "type": "uint96"
320
+ }
321
+ ],
322
+ "name": "LogBundleServiceBundleLocked",
323
+ "type": "event"
324
+ },
325
+ {
326
+ "inputs": [],
327
+ "name": "NAME",
328
+ "outputs": [
329
+ {
330
+ "internalType": "string",
331
+ "name": "",
332
+ "type": "string"
333
+ }
334
+ ],
335
+ "stateMutability": "view",
336
+ "type": "function"
337
+ },
338
+ {
339
+ "inputs": [],
340
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
341
+ "outputs": [
342
+ {
343
+ "internalType": "bytes32",
344
+ "name": "",
345
+ "type": "bytes32"
346
+ }
347
+ ],
348
+ "stateMutability": "view",
349
+ "type": "function"
350
+ },
351
+ {
352
+ "inputs": [],
353
+ "name": "REGISTERABLE_LOCATION_V1",
354
+ "outputs": [
355
+ {
356
+ "internalType": "bytes32",
357
+ "name": "",
358
+ "type": "bytes32"
359
+ }
360
+ ],
361
+ "stateMutability": "view",
362
+ "type": "function"
363
+ },
364
+ {
365
+ "inputs": [],
366
+ "name": "authority",
367
+ "outputs": [
368
+ {
369
+ "internalType": "address",
370
+ "name": "",
371
+ "type": "address"
372
+ }
373
+ ],
374
+ "stateMutability": "view",
375
+ "type": "function"
376
+ },
377
+ {
378
+ "inputs": [
379
+ {
380
+ "internalType": "contract IInstance",
381
+ "name": "instance",
382
+ "type": "address"
383
+ },
384
+ {
385
+ "internalType": "NftId",
386
+ "name": "bundleNftId",
387
+ "type": "uint96"
388
+ }
389
+ ],
390
+ "name": "close",
391
+ "outputs": [],
392
+ "stateMutability": "nonpayable",
393
+ "type": "function"
394
+ },
395
+ {
396
+ "inputs": [
397
+ {
398
+ "internalType": "contract IInstance",
399
+ "name": "instance",
400
+ "type": "address"
401
+ },
402
+ {
403
+ "internalType": "NftId",
404
+ "name": "poolNftId",
405
+ "type": "uint96"
406
+ },
407
+ {
408
+ "internalType": "address",
409
+ "name": "owner",
410
+ "type": "address"
411
+ },
412
+ {
413
+ "components": [
414
+ {
415
+ "internalType": "UFixed",
416
+ "name": "fractionalFee",
417
+ "type": "uint256"
418
+ },
419
+ {
420
+ "internalType": "uint256",
421
+ "name": "fixedFee",
422
+ "type": "uint256"
423
+ }
424
+ ],
425
+ "internalType": "struct Fee",
426
+ "name": "bundleFee",
427
+ "type": "tuple"
428
+ },
429
+ {
430
+ "internalType": "Amount",
431
+ "name": "stakingAmount",
432
+ "type": "uint96"
433
+ },
434
+ {
435
+ "internalType": "Seconds",
436
+ "name": "lifetime",
437
+ "type": "uint40"
438
+ },
439
+ {
440
+ "internalType": "bytes",
441
+ "name": "filter",
442
+ "type": "bytes"
443
+ }
444
+ ],
445
+ "name": "create",
446
+ "outputs": [
447
+ {
448
+ "internalType": "NftId",
449
+ "name": "bundleNftId",
450
+ "type": "uint96"
451
+ }
452
+ ],
453
+ "stateMutability": "nonpayable",
454
+ "type": "function"
455
+ },
456
+ {
457
+ "inputs": [],
458
+ "name": "getDomain",
459
+ "outputs": [
460
+ {
461
+ "internalType": "ObjectType",
462
+ "name": "serviceDomain",
463
+ "type": "uint8"
464
+ }
465
+ ],
466
+ "stateMutability": "pure",
467
+ "type": "function"
468
+ },
469
+ {
470
+ "inputs": [],
471
+ "name": "getInitialInfo",
472
+ "outputs": [
473
+ {
474
+ "components": [
475
+ {
476
+ "internalType": "NftId",
477
+ "name": "nftId",
478
+ "type": "uint96"
479
+ },
480
+ {
481
+ "internalType": "NftId",
482
+ "name": "parentNftId",
483
+ "type": "uint96"
484
+ },
485
+ {
486
+ "internalType": "ObjectType",
487
+ "name": "objectType",
488
+ "type": "uint8"
489
+ },
490
+ {
491
+ "internalType": "bool",
492
+ "name": "isInterceptor",
493
+ "type": "bool"
494
+ },
495
+ {
496
+ "internalType": "address",
497
+ "name": "objectAddress",
498
+ "type": "address"
499
+ },
500
+ {
501
+ "internalType": "address",
502
+ "name": "initialOwner",
503
+ "type": "address"
504
+ },
505
+ {
506
+ "internalType": "bytes",
507
+ "name": "data",
508
+ "type": "bytes"
509
+ }
510
+ ],
511
+ "internalType": "struct IRegistry.ObjectInfo",
512
+ "name": "info",
513
+ "type": "tuple"
514
+ }
515
+ ],
516
+ "stateMutability": "view",
517
+ "type": "function"
518
+ },
519
+ {
520
+ "inputs": [],
521
+ "name": "getNftId",
522
+ "outputs": [
523
+ {
524
+ "internalType": "NftId",
525
+ "name": "",
526
+ "type": "uint96"
527
+ }
528
+ ],
529
+ "stateMutability": "view",
530
+ "type": "function"
531
+ },
532
+ {
533
+ "inputs": [],
534
+ "name": "getOwner",
535
+ "outputs": [
536
+ {
537
+ "internalType": "address",
538
+ "name": "",
539
+ "type": "address"
540
+ }
541
+ ],
542
+ "stateMutability": "view",
543
+ "type": "function"
544
+ },
545
+ {
546
+ "inputs": [],
547
+ "name": "getRegistry",
548
+ "outputs": [
549
+ {
550
+ "internalType": "contract IRegistry",
551
+ "name": "",
552
+ "type": "address"
553
+ }
554
+ ],
555
+ "stateMutability": "view",
556
+ "type": "function"
557
+ },
558
+ {
559
+ "inputs": [],
560
+ "name": "getRoleId",
561
+ "outputs": [
562
+ {
563
+ "internalType": "RoleId",
564
+ "name": "serviceRoleId",
565
+ "type": "uint64"
566
+ }
567
+ ],
568
+ "stateMutability": "pure",
569
+ "type": "function"
570
+ },
571
+ {
572
+ "inputs": [],
573
+ "name": "getVersion",
574
+ "outputs": [
575
+ {
576
+ "internalType": "Version",
577
+ "name": "",
578
+ "type": "uint24"
579
+ }
580
+ ],
581
+ "stateMutability": "pure",
582
+ "type": "function"
583
+ },
584
+ {
585
+ "inputs": [],
586
+ "name": "initializeERC165",
587
+ "outputs": [],
588
+ "stateMutability": "nonpayable",
589
+ "type": "function"
590
+ },
591
+ {
592
+ "inputs": [
593
+ {
594
+ "internalType": "address",
595
+ "name": "initialOwner",
596
+ "type": "address"
597
+ },
598
+ {
599
+ "internalType": "address",
600
+ "name": "registryAddress",
601
+ "type": "address"
602
+ }
603
+ ],
604
+ "name": "initializeNftOwnable",
605
+ "outputs": [],
606
+ "stateMutability": "nonpayable",
607
+ "type": "function"
608
+ },
609
+ {
610
+ "inputs": [
611
+ {
612
+ "internalType": "address",
613
+ "name": "registryAddress",
614
+ "type": "address"
615
+ },
616
+ {
617
+ "internalType": "NftId",
618
+ "name": "parentNftId",
619
+ "type": "uint96"
620
+ },
621
+ {
622
+ "internalType": "ObjectType",
623
+ "name": "objectType",
624
+ "type": "uint8"
625
+ },
626
+ {
627
+ "internalType": "bool",
628
+ "name": "isInterceptor",
629
+ "type": "bool"
630
+ },
631
+ {
632
+ "internalType": "address",
633
+ "name": "initialOwner",
634
+ "type": "address"
635
+ },
636
+ {
637
+ "internalType": "bytes",
638
+ "name": "registryData",
639
+ "type": "bytes"
640
+ }
641
+ ],
642
+ "name": "initializeRegisterable",
643
+ "outputs": [],
644
+ "stateMutability": "nonpayable",
645
+ "type": "function"
646
+ },
647
+ {
648
+ "inputs": [
649
+ {
650
+ "internalType": "address",
651
+ "name": "registryAddress",
652
+ "type": "address"
653
+ }
654
+ ],
655
+ "name": "initializeRegistryLinked",
656
+ "outputs": [],
657
+ "stateMutability": "nonpayable",
658
+ "type": "function"
659
+ },
660
+ {
661
+ "inputs": [
662
+ {
663
+ "internalType": "address",
664
+ "name": "registry",
665
+ "type": "address"
666
+ },
667
+ {
668
+ "internalType": "address",
669
+ "name": "authority",
670
+ "type": "address"
671
+ },
672
+ {
673
+ "internalType": "address",
674
+ "name": "initialOwner",
675
+ "type": "address"
676
+ }
677
+ ],
678
+ "name": "initializeService",
679
+ "outputs": [],
680
+ "stateMutability": "nonpayable",
681
+ "type": "function"
682
+ },
683
+ {
684
+ "inputs": [
685
+ {
686
+ "internalType": "address",
687
+ "name": "activatedBy",
688
+ "type": "address"
689
+ },
690
+ {
691
+ "internalType": "bytes",
692
+ "name": "data",
693
+ "type": "bytes"
694
+ }
695
+ ],
696
+ "name": "initializeVersionable",
697
+ "outputs": [],
698
+ "stateMutability": "nonpayable",
699
+ "type": "function"
700
+ },
701
+ {
702
+ "inputs": [],
703
+ "name": "isConsumingScheduledOp",
704
+ "outputs": [
705
+ {
706
+ "internalType": "bytes4",
707
+ "name": "",
708
+ "type": "bytes4"
709
+ }
710
+ ],
711
+ "stateMutability": "view",
712
+ "type": "function"
713
+ },
714
+ {
715
+ "inputs": [],
716
+ "name": "linkToRegisteredNftId",
717
+ "outputs": [
718
+ {
719
+ "internalType": "NftId",
720
+ "name": "nftId",
721
+ "type": "uint96"
722
+ }
723
+ ],
724
+ "stateMutability": "nonpayable",
725
+ "type": "function"
726
+ },
727
+ {
728
+ "inputs": [
729
+ {
730
+ "internalType": "NftId",
731
+ "name": "bundleNftId",
732
+ "type": "uint96"
733
+ }
734
+ ],
735
+ "name": "lock",
736
+ "outputs": [],
737
+ "stateMutability": "nonpayable",
738
+ "type": "function"
739
+ },
740
+ {
741
+ "inputs": [
742
+ {
743
+ "internalType": "contract IInstance",
744
+ "name": "instance",
745
+ "type": "address"
746
+ },
747
+ {
748
+ "internalType": "NftId",
749
+ "name": "policyNftId",
750
+ "type": "uint96"
751
+ },
752
+ {
753
+ "internalType": "NftId",
754
+ "name": "bundleNftId",
755
+ "type": "uint96"
756
+ },
757
+ {
758
+ "internalType": "Amount",
759
+ "name": "collateralAmount",
760
+ "type": "uint96"
761
+ }
762
+ ],
763
+ "name": "lockCollateral",
764
+ "outputs": [],
765
+ "stateMutability": "nonpayable",
766
+ "type": "function"
767
+ },
768
+ {
769
+ "inputs": [
770
+ {
771
+ "internalType": "bytes4",
772
+ "name": "interfaceId",
773
+ "type": "bytes4"
774
+ }
775
+ ],
776
+ "name": "registerInterface",
777
+ "outputs": [],
778
+ "stateMutability": "nonpayable",
779
+ "type": "function"
780
+ },
781
+ {
782
+ "inputs": [
783
+ {
784
+ "internalType": "contract IInstance",
785
+ "name": "instance",
786
+ "type": "address"
787
+ },
788
+ {
789
+ "internalType": "NftId",
790
+ "name": "policyNftId",
791
+ "type": "uint96"
792
+ },
793
+ {
794
+ "internalType": "NftId",
795
+ "name": "bundleNftId",
796
+ "type": "uint96"
797
+ },
798
+ {
799
+ "internalType": "Amount",
800
+ "name": "collateralAmount",
801
+ "type": "uint96"
802
+ }
803
+ ],
804
+ "name": "releaseCollateral",
805
+ "outputs": [],
806
+ "stateMutability": "nonpayable",
807
+ "type": "function"
808
+ },
809
+ {
810
+ "inputs": [
811
+ {
812
+ "internalType": "address",
813
+ "name": "newAuthority",
814
+ "type": "address"
815
+ }
816
+ ],
817
+ "name": "setAuthority",
818
+ "outputs": [],
819
+ "stateMutability": "nonpayable",
820
+ "type": "function"
821
+ },
822
+ {
823
+ "inputs": [
824
+ {
825
+ "internalType": "NftId",
826
+ "name": "bundleNftId",
827
+ "type": "uint96"
828
+ },
829
+ {
830
+ "components": [
831
+ {
832
+ "internalType": "UFixed",
833
+ "name": "fractionalFee",
834
+ "type": "uint256"
835
+ },
836
+ {
837
+ "internalType": "uint256",
838
+ "name": "fixedFee",
839
+ "type": "uint256"
840
+ }
841
+ ],
842
+ "internalType": "struct Fee",
843
+ "name": "fee",
844
+ "type": "tuple"
845
+ }
846
+ ],
847
+ "name": "setFee",
848
+ "outputs": [],
849
+ "stateMutability": "nonpayable",
850
+ "type": "function"
851
+ },
852
+ {
853
+ "inputs": [
854
+ {
855
+ "internalType": "bytes4",
856
+ "name": "interfaceId",
857
+ "type": "bytes4"
858
+ }
859
+ ],
860
+ "name": "supportsInterface",
861
+ "outputs": [
862
+ {
863
+ "internalType": "bool",
864
+ "name": "",
865
+ "type": "bool"
866
+ }
867
+ ],
868
+ "stateMutability": "view",
869
+ "type": "function"
870
+ },
871
+ {
872
+ "inputs": [
873
+ {
874
+ "internalType": "contract IInstance",
875
+ "name": "instance",
876
+ "type": "address"
877
+ },
878
+ {
879
+ "internalType": "NftId",
880
+ "name": "policyNftId",
881
+ "type": "uint96"
882
+ }
883
+ ],
884
+ "name": "unlinkPolicy",
885
+ "outputs": [],
886
+ "stateMutability": "nonpayable",
887
+ "type": "function"
888
+ },
889
+ {
890
+ "inputs": [
891
+ {
892
+ "internalType": "NftId",
893
+ "name": "bundleNftId",
894
+ "type": "uint96"
895
+ }
896
+ ],
897
+ "name": "unlock",
898
+ "outputs": [],
899
+ "stateMutability": "nonpayable",
900
+ "type": "function"
901
+ },
902
+ {
903
+ "inputs": [
904
+ {
905
+ "internalType": "bytes",
906
+ "name": "data",
907
+ "type": "bytes"
908
+ }
909
+ ],
910
+ "name": "upgradeVersionable",
911
+ "outputs": [],
912
+ "stateMutability": "nonpayable",
913
+ "type": "function"
914
+ }
915
+ ],
916
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6145e680620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c8063675393bf1161010f578063aa9acb2c116100a2578063b68d180911610071578063b68d1809146104a0578063bf7e214f146104af578063e283b4a9146104b7578063f7c34ee0146104ca57600080fd5b8063aa9acb2c14610452578063ad328d9f14610465578063ada9652e14610478578063b5346af51461048d57600080fd5b8063893d20e8116100de578063893d20e8146103dd5780638e32e979146103e55780638fb36037146103f8578063a3f4df7e1461041957600080fd5b8063675393bf146103845780636c741e781461039757806376429bc0146103b75780637a9e5e4b146103ca57600080fd5b8063214cdb801161018757806349bb9e4b1161015657806349bb9e4b1461031b5780634adcf9091461032e5780635ab1bd5314610341578063644c45e01461036657600080fd5b8063214cdb80146102da57806327bb7a33146102ed578063329d6e741461030057806336fc697e1461031357600080fd5b80630fec111c116101c35780630fec111c1461025d578063138461e0146102725780631eff4b22146102925780631f8e8f36146102c757600080fd5b806301ffc9a7146101ea57806306fa45651461022c5780630d8e6e2c14610241575b600080fd5b6102176101f83660046135dc565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023f61023a36600461361b565b6104dd565b005b6102496106cd565b60405162ffffff9091168152602001610223565b610265610757565b6040516102239190613688565b61027a6108e8565b6040516001600160601b039091168152602001610223565b6102b97f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b61023f6102d5366004613818565b6108f3565b61023f6102e83660046135dc565b610bb1565b61023f6102fb3660046138fd565b610bde565b61023f61030e366004613995565b610c83565b61023f610dc8565b61023f6103293660046139c9565b610e0e565b61023f61033c366004613a18565b610f0d565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b600080516020614551833981519152546001600160601b031661027a565b61023f610392366004613a74565b6113bc565b61039f6114ca565b6040516001600160401b039091168152602001610223565b61023f6103c5366004613a91565b6115c5565b61023f6103d8366004613a74565b611795565b61034e611818565b61023f6103f3366004613aca565b61194f565b610400611a93565b6040516001600160e01b03199091168152602001610223565b6104456040518060400160405280600d81526020016c42756e646c655365727669636560981b81525081565b6040516102239190613b15565b61023f610460366004613a91565b611acb565b61023f610473366004613a18565b611d14565b6102b960008051602061455183398151915281565b61023f61049b36600461361b565b611e03565b604051601e8152602001610223565b61034e611fea565b61027a6104c5366004613b3b565b612006565b61023f6104d8366004613c1c565b612594565b60006104e9600f61260b565b92505050806001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561052b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054f9190613c4a565b6001600160a01b031663fe1f18d68360046040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b1580156105a957600080fd5b505af11580156105bd573d6000803e3d6000fd5b505050506000816001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015610601573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106259190613c4a565b6040516306fa456560e01b81526001600160601b03851660048201529091506001600160a01b038216906306fa456590602401600060405180830381600087803b15801561067257600080fd5b505af1158015610686573d6000803e3d6000fd5b50506040516001600160601b03861681527f87cfb697b5d649751f13ba6e2e51778a1fd0a1f260df7281952986c453708e71925060200190505b60405180910390a1505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af415801561072e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107529190613c67565b905090565b61075f61359e565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156107d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107fc9190613c9c565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610844611818565b6001600160a01b0316815260200182600101805461086190613cb9565b80601f016020809104026020016040519081016040528092919081815260200182805461088d90613cb9565b80156108da5780601f106108af576101008083540402835291602001916108da565b820191906000526020600020905b8154815290600101906020018083116108bd57829003601f168201915b505050505081525091505090565b6000610752306126ab565b600080610900600f61260b565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610945573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109699190613c4a565b604051634793b4ab60e01b81526001600160601b03871660048201529091506000906001600160a01b03831690634793b4ab90602401600060405180830381865afa1580156109bc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109e49190810190613d43565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015610a42573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a669190613e31565b15610a94576040516349e9f38360e01b81526001600160601b03871660048201526024015b60405180910390fd5b8051610aa090856128ac565b15610adc57805160405163dab86e4560e01b81526001600160601b03808916600483015291821660248201529085166044820152606401610a8b565b848160200181905250826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b479190613c4a565b6001600160a01b03166351dd844b878360ff6040518463ffffffff1660e01b8152600401610b7793929190613ec6565b600060405180830381600087803b158015610b9157600080fd5b505af1158015610ba5573d6000803e3d6000fd5b50505050505050505050565b610bb961293b565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610be661293b565b610bf08287612594565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301610c798382613f41565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610ca56106cd565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610ce5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d099190614015565b6000805160206145918339815191528054600160401b900460ff1680610d3c575080546001600160401b03808416911610155b15610d5a5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610d8483612974565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020016106c0565b610dd061293b565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000805160206145918339815191528054600160401b810460ff1615906001600160401b0316600081158015610e415750825b90506000826001600160401b03166001148015610e5d5750303b155b905081158015610e6b575080155b15610e895760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610eb357845460ff60401b1916600160401b1785555b610ebd878761297c565b8315610f0457845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610f1a335b600036612af1565b6000846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f7e9190613c4a565b905060006001600160a01b03821663a5961b4c73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038816601e6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af4158015611003573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110279190614032565b6040518263ffffffff1660e01b815260040161104591815260200190565b608060405180830381865afa158015611062573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110869190614068565b60200151604051634793b4ab60e01b81526001600160601b03861660048201529091506000906001600160a01b03841690634793b4ab90602401600060405180830381865afa1580156110dd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111059190810190613d43565b905061111a8260045b60ff9081169116141590565b806111a457506111a4816080015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611171573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061119591906140ec565b64ffffffffff90811691161090565b156111e957608081015160405163bf5b8f0960e01b81526001600160601b038716600482015260ff8416602482015264ffffffffff9091166044820152606401610a8b565b6000876001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611229573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061124d9190613c4a565b6040516317bb785d60e21b81526001600160601b0388166004820152909150600090819081906001600160a01b03851690635eede17490602401606060405180830381865afa1580156112a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112c89190614109565b92509250925060006112e3846112de8585612bef565b612c77565b90506112ef818a612cc2565b156113285760405163826a5ff960e01b81526001600160601b03808c16600483015280831660248301528a166044820152606401610a8b565b60405163248a77dd60e01b81526001600160601b03808c1660048301528a1660248201526001600160a01b0386169063248a77dd906044016020604051808303816000875af115801561137f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113a39190613c9c565b506113ae8c8c612d0d565b505050505050505050505050565b6113c461293b565b806001600160a01b03163b6000036113fa5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a8b565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263e607072160e01b60048201526301ffc9a790602401602060405180830381865afa925050508015611474575060408051601f3d908101601f1916820190925261147191810190613e31565b60015b61149c5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a8b565b806114c55760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610a8b565b505b50565b600073__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3601e604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611538573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061155c919061414b565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af41580156115a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107529190614015565b6115ce33610f12565b816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561160c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116309190613c4a565b6040516375d357df60e01b81526001600160601b03831660048201526001600160a01b0391909116906375d357df90602401602060405180830381865afa15801561167f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116a39190613e31565b6116cb576040516392bb4dff60e01b81526001600160601b0382166004820152602401610a8b565b816001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015611709573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061172d9190613c4a565b604051631351fccf60e31b81526001600160601b03831660048201526001600160a01b039190911690639a8fe67890602401600060405180830381600087803b15801561177957600080fd5b505af115801561178d573d6000803e3d6000fd5b505050505050565b3361179e611fea565b6001600160a01b0316816001600160a01b0316146117d95760405162d1953b60e31b81526001600160a01b0382166004820152602401610a8b565b816001600160a01b03163b60000361180f576040516361798f2f60e11b81526001600160a01b0383166004820152602401610a8b565b6114c582612fc2565b60008060008051602061455183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611888573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118ac9190613e31565b15611939576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561190f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119339190613c4a565b91505090565b54600160601b90046001600160a01b0316919050565b61195761293b565b6119d783846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611999573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119bd9190613c9c565b600960008560405180602001604052806000815250610bde565b6001600160a01b038216156119f4576119ef82613023565b611a6e565b6000611a006002613034565b9050611a6c816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a679190613c4a565b613023565b505b611a7e634a531f3360e01b610bb1565b611a8e63daf9067160e01b610bb1565b505050565b600080516020614571833981519152805460009190600160a01b900460ff16611abd576000611933565b638fb3603760e01b91505090565b611ad433610f12565b816001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b12573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b369190613c4a565b6001600160a01b031663fe1f18d68260c86040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b158015611b9057600080fd5b505af1158015611ba4573d6000803e3d6000fd5b505050506000826001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015611be8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c0c9190613c4a565b6040516322cc1d4560e11b81526001600160601b03841660048201529091506000906001600160a01b038316906345983a8a90602401602060405180830381865afa158015611c5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c839190614032565b90508015611cb6576040516356a410b760e01b81526001600160601b038416600482015260248101829052604401610a8b565b60405163b5346af560e01b81526001600160601b03841660048201526001600160a01b0383169063b5346af590602401600060405180830381600087803b158015611d0057600080fd5b505af1158015610c79573d6000803e3d6000fd5b611d1d33610f12565b836001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d5b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d7f9190613c4a565b6040516353ebe12960e01b81526001600160601b038085166004830152831660248201526001600160a01b0391909116906353ebe129906044016020604051808303816000875af1158015611dd8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dfc9190613c9c565b5050505050565b6000611e0f600f61260b565b92505050806001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e51573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e759190613c4a565b6001600160a01b031663fe1f18d683606e6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b158015611ecf57600080fd5b505af1158015611ee3573d6000803e3d6000fd5b505050506000816001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f4b9190613c4a565b60405163b5346af560e01b81526001600160601b03851660048201529091506001600160a01b0382169063b5346af590602401600060405180830381600087803b158015611f9857600080fd5b505af1158015611fac573d6000803e3d6000fd5b50506040516001600160601b03861681527f6764112d27879e5bb12f07fde08a48629ec22e603c75c9942ba62a06c95a55f4925060200190506106c0565b600080516020614571833981519152546001600160a01b031690565b600061201133610f12565b600360009054906101000a90046001600160a01b03166001600160a01b031663c2bf08c86040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612089573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120ad9190613c9c565b6001600160601b031681526020018b6001600160601b031681526020016120d2601e90565b60ff16815260200160001515815260200160006001600160a01b031681526020018a6001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b81526004016121319190613688565b6020604051808303816000875af1158015612150573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121749190613c9c565b90506000896001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156121b6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121da9190613c4a565b9050806001600160a01b031663a46eb8dc836040518060c001604052808d6001600160601b031681526020018b815260200188888080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050509082525064ffffffffff8a16602080830191909152604080516356db0c1960e11b81528151919093019273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9263adb61832926004808401938290030181865af41580156122a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122ca91906140ec565b6040516352bcc5a760e11b815264ffffffffff9182166004820152908b16602482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063a5798b4e90604401602060405180830381865af4158015612329573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061234d91906140ec565b64ffffffffff16815260006020909101526040516001600160e01b031960e085901b168152612380929190600401614173565b600060405180830381600087803b15801561239a57600080fd5b505af11580156123ae573d6000803e3d6000fd5b50505050600460009054906101000a90046001600160a01b03166001600160a01b03166325e451d382848973__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612422573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124469190613c9c565b6040516001600160e01b031960e087901b1681526001600160a01b0390941660048501526001600160601b0392831660248501529082166044840152166064820152608401600060405180830381600087803b1580156124a557600080fd5b505af11580156124b9573d6000803e3d6000fd5b5050505060008a6001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa1580156124fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125219190613c4a565b6040516346f0e8a760e11b81526001600160601b03851660048201529091506001600160a01b03821690638de1d14e90602401600060405180830381600087803b15801561256e57600080fd5b505af1158015612582573d6000803e3d6000fd5b50505050505098975050505050505050565b61259c61293b565b6125a5816113bc565b6125ad610dc8565b6001600160a01b0382166125d45760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061455183398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600061261561359e565b60006126296001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa15801561266f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126939190613c9c565b92506126a183856001613140565b9395909450915050565b60008060008051602061455183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561271b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061273f9190613e31565b1561276b5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610a8b565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156127bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127e39190613e31565b61280b5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610a8b565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa15801561285f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128839190613c9c565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b6040516399009c5160e01b81526001600160601b0380841660048301528216602482015260009073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c51906044015b602060405180830381865af4158015612910573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129349190613e31565b9392505050565b60008051602061459183398151915254600160401b900460ff1661297257604051631afcd79f60e31b815260040160405180910390fd5b565b6101e561293b565b6000805160206145918339815191528054600160401b810460ff1615906001600160401b03166000811580156129af5750825b90506000826001600160401b031660011480156129cb5750303b155b9050811580156129d9575080155b156129f75760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315612a2157845460ff60401b1916600160401b1785555b60008087806020019051810190612a389190614195565b9092509050612a498260008b61194f565b612a536002613034565b600380546001600160a01b0319166001600160a01b0392909216919091179055612a7d600b613034565b600480546001600160a01b0319166001600160a01b0392909216919091179055612aad6375f5307560e01b610bb1565b50508315610f0457845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610efb565b600080516020614571833981519152600080612b2c612b0e611fea565b8730612b1e600460008a8c6141c4565b612b27916141ee565b6133ec565b915091508161178d5763ffffffff811615612bcc57825460ff60a01b1916600160a01b178355612b5a611fea565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612b899392919061421e565b600060405180830381600087803b158015612ba357600080fd5b505af1158015612bb7573d6000803e3d6000fd5b5050845460ff60a01b191685555061178d9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610a8b565b60405163274acb3560e01b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb35906044015b602060405180830381865af4158015612c53573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129349190613c9c565b6040516363cf551160e11b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401612c36565b6040516304d40eb160e11b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__906309a81d62906044016128f3565b6000826001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612d4d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d719190613c4a565b60405163bd7d9d8560e01b81526001600160601b03841660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015612dc4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612dec9190810190614288565b6101c0810151604051638d38cd4b60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af4158015612e4c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e709190613e31565b8015612ec95750612ec9816101c0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611171573d6000803e3d6000fd5b15612ef257604051630cd0c0b560e31b81526001600160601b0384166004820152602401610a8b565b6000846001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015612f32573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f569190613c4a565b604051630331f98560e21b81526001600160601b03861660048201529091506001600160a01b03821690630cc7e61490602401600060405180830381600087803b158015612fa357600080fd5b505af1158015612fb7573d6000803e3d6000fd5b505050505050505050565b60008051602061457183398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b61302b61293b565b6114c7816134f8565b60006130486001546001600160a01b031690565b604051632392b61b60e21b8152600360048201526001600160a01b03919091169063d39e604390849073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156130ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130d1919061414b565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613116573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061313a9190613c4a565b92915050565b61314861359e565b60008061315d6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201529091506001600160a01b0382169063a48f42e090602401600060405180830381865afa1580156131ad573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526131d59190810190614433565b92506131e285600b61110e565b1561323857604083015160ff86811691161461323357604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff80881660248301529091166044820152606401610a8b565b6132d4565b6132538360400151613248600c90565b60ff90811691161490565b8061326957506132698360400151613248600f90565b8061327f575061327f8360400151613248600e90565b8061329557506132958360400151613248600d90565b6132d457604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff80881660248301529091166044820152606401610a8b565b6132e18360200151613509565b915083156133e357816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015613327573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061334b9190613c4a565b608084015160405163a166aa8960e01b81526001600160a01b03918216600482015291169063a166aa8990602401602060405180830381865afa158015613396573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133ba9190613e31565b156133e357604051637d71120960e11b81526001600160601b0387166004820152602401610a8b565b50935093915050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161345b9190614505565b600060405180830381855afa9150503d8060008114613496576040519150601f19603f3d011682016040523d82523d6000602084013e61349b565b606091505b509150915081156134ed5760408151106134cd57808060200190518101906134c39190614521565b90945092506134ed565b60208151106134ed57808060200190518101906134ea9190613e31565b93505b505094509492505050565b61350061293b565b6114c781612fc2565b600061351d6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801561356c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526135949190810190614433565b6080015192915050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6000602082840312156135ee57600080fd5b81356001600160e01b03198116811461293457600080fd5b6001600160601b03811681146114c757600080fd5b60006020828403121561362d57600080fd5b813561293481613606565b60005b8381101561365357818101518382015260200161363b565b50506000910152565b60008151808452613674816020860160208601613638565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516136f160c08401826001600160a01b03169052565b5060c083015160e08084015261370b61010084018261365c565b949350505050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b038111828210171561374b5761374b613713565b60405290565b60405160c081016001600160401b038111828210171561374b5761374b613713565b60405161022081016001600160401b038111828210171561374b5761374b613713565b60405160e081016001600160401b038111828210171561374b5761374b613713565b604051601f8201601f191681016001600160401b03811182821017156137e0576137e0613713565b604052919050565b6000604082840312156137fa57600080fd5b613802613729565b9050813581526020820135602082015292915050565b6000806060838503121561382b57600080fd5b823561383681613606565b915061384584602085016137e8565b90509250929050565b6001600160a01b03811681146114c757600080fd5b60ff811681146114c757600080fd5b80151581146114c757600080fd5b60006001600160401b0382111561389957613899613713565b50601f01601f191660200190565b600082601f8301126138b857600080fd5b81356138cb6138c682613880565b6137b8565b8181528460208386010111156138e057600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c0878903121561391657600080fd5b86356139218161384e565b9550602087013561393181613606565b9450604087013561394181613863565b9350606087013561395181613872565b925060808701356139618161384e565b915060a08701356001600160401b0381111561397c57600080fd5b61398889828a016138a7565b9150509295509295509295565b6000602082840312156139a757600080fd5b81356001600160401b038111156139bd57600080fd5b61370b848285016138a7565b600080604083850312156139dc57600080fd5b82356139e78161384e565b915060208301356001600160401b03811115613a0257600080fd5b613a0e858286016138a7565b9150509250929050565b60008060008060808587031215613a2e57600080fd5b8435613a398161384e565b93506020850135613a4981613606565b92506040850135613a5981613606565b91506060850135613a6981613606565b939692955090935050565b600060208284031215613a8657600080fd5b81356129348161384e565b60008060408385031215613aa457600080fd5b8235613aaf8161384e565b91506020830135613abf81613606565b809150509250929050565b600080600060608486031215613adf57600080fd5b8335613aea8161384e565b92506020840135613afa8161384e565b91506040840135613b0a8161384e565b809150509250925092565b602081526000612934602083018461365c565b64ffffffffff811681146114c757600080fd5b600080600080600080600080610100898b031215613b5857600080fd5b8835613b638161384e565b97506020890135613b7381613606565b96506040890135613b838161384e565b9550613b928a60608b016137e8565b945060a0890135613ba281613606565b935060c0890135613bb281613b28565b925060e08901356001600160401b0380821115613bce57600080fd5b818b0191508b601f830112613be257600080fd5b813581811115613bf157600080fd5b8c6020828501011115613c0357600080fd5b6020830194508093505050509295985092959890939650565b60008060408385031215613c2f57600080fd5b8235613c3a8161384e565b91506020830135613abf8161384e565b600060208284031215613c5c57600080fd5b81516129348161384e565b600060208284031215613c7957600080fd5b815162ffffff8116811461293457600080fd5b8051613c9781613606565b919050565b600060208284031215613cae57600080fd5b815161293481613606565b600181811c90821680613ccd57607f821691505b602082108103613ced57634e487b7160e01b600052602260045260246000fd5b50919050565b600082601f830112613d0457600080fd5b8151613d126138c682613880565b818152846020838601011115613d2757600080fd5b61370b826020830160208701613638565b8051613c9781613b28565b600060208284031215613d5557600080fd5b81516001600160401b0380821115613d6c57600080fd5b9083019081850360e0811215613d8157600080fd5b613d89613751565b8351613d9481613606565b81526040601f1983011215613da857600080fd5b613db0613729565b60208581015182526040860151818301528201526060840151915082821115613dd857600080fd5b613de487838601613cf3565b6040820152613df560808501613d38565b6060820152613e0660a08501613d38565b6080820152613e1760c08501613d38565b60a08201529695505050505050565b8051613c9781613872565b600060208284031215613e4357600080fd5b815161293481613872565b6001600160601b03815116825260006020820151805160208501526020810151604085015250604082015160e06060850152613e8d60e085018261365c565b9050606083015164ffffffffff80821660808701528060808601511660a08701528060a08601511660c087015250508091505092915050565b6001600160601b0384168152606060208201526000613ee86060830185613e4e565b905060ff83166040830152949350505050565b601f821115611a8e57600081815260208120601f850160051c81016020861015613f225750805b601f850160051c820191505b8181101561178d57828155600101613f2e565b81516001600160401b03811115613f5a57613f5a613713565b613f6e81613f688454613cb9565b84613efb565b602080601f831160018114613fa35760008415613f8b5750858301515b600019600386901b1c1916600185901b17855561178d565b600085815260208120601f198616915b82811015613fd257888601518255948401946001909101908401613fb3565b5085821015613ff05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160401b03811681146114c757600080fd5b60006020828403121561402757600080fd5b815161293481614000565b60006020828403121561404457600080fd5b5051919050565b8051613c9781613863565b63ffffffff811681146114c757600080fd5b60006080828403121561407a57600080fd5b604051608081018181106001600160401b038211171561409c5761409c613713565b60405282516140aa81613863565b815260208301516140ba81613863565b602082015260408301516140cd81614056565b604082015260608301516140e081614056565b60608201529392505050565b6000602082840312156140fe57600080fd5b815161293481613b28565b60008060006060848603121561411e57600080fd5b835161412981613606565b602085015190935061413a81613606565b6040850151909250613b0a81613606565b60006020828403121561415d57600080fd5b815161293481613863565b8051613c978161384e565b6001600160601b038316815260406020820152600061370b6040830184613e4e565b600080604083850312156141a857600080fd5b82516141b38161384e565b6020840151909250613abf8161384e565b600080858511156141d457600080fd5b838611156141e157600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156142165780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b80516001600160c01b031981168114613c9757600080fd5b805161ffff81168114613c9757600080fd5b60006020828403121561429a57600080fd5b81516001600160401b03808211156142b157600080fd5b9083019061022082860312156142c657600080fd5b6142ce613773565b6142d783613c8c565b81526142e560208401613c8c565b60208201526142f66040840161425e565b60408201526143076060840161425e565b606082015261431860808401613c8c565b608082015261432960a08401613c8c565b60a082015261433a60c08401613c8c565b60c082015261434b60e08401613d38565b60e0820152610100808401518381111561436457600080fd5b61437088828701613cf3565b828401525050610120808401518381111561438a57600080fd5b61439688828701613cf3565b82840152505061014091506143ac828401614276565b8282015261016091506143c0828401614276565b8282015261018091506143d4828401613c8c565b828201526101a091506143e8828401613c8c565b828201526101c091506143fc828401613d38565b828201526101e09150614410828401613d38565b828201526102009150614424828401613d38565b91810191909152949350505050565b60006020828403121561444557600080fd5b81516001600160401b038082111561445c57600080fd5b9083019060e0828603121561447057600080fd5b614478613796565b61448183613c8c565b815261448f60208401613c8c565b60208201526144a06040840161404b565b60408201526144b160608401613e26565b60608201526144c260808401614168565b60808201526144d360a08401614168565b60a082015260c0830151828111156144ea57600080fd5b6144f687828601613cf3565b60c08301525095945050505050565b60008251614517818460208701613638565b9190910192915050565b6000806040838503121561453457600080fd5b825161453f81613872565b6020840151909250613abf8161405656fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a264697066735822122021216c90f207238f5ac18b869fd1c41eef5dd8397b90c2a42762c491c6dc3d0564736f6c63430008140033",
917
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101e55760003560e01c8063675393bf1161010f578063aa9acb2c116100a2578063b68d180911610071578063b68d1809146104a0578063bf7e214f146104af578063e283b4a9146104b7578063f7c34ee0146104ca57600080fd5b8063aa9acb2c14610452578063ad328d9f14610465578063ada9652e14610478578063b5346af51461048d57600080fd5b8063893d20e8116100de578063893d20e8146103dd5780638e32e979146103e55780638fb36037146103f8578063a3f4df7e1461041957600080fd5b8063675393bf146103845780636c741e781461039757806376429bc0146103b75780637a9e5e4b146103ca57600080fd5b8063214cdb801161018757806349bb9e4b1161015657806349bb9e4b1461031b5780634adcf9091461032e5780635ab1bd5314610341578063644c45e01461036657600080fd5b8063214cdb80146102da57806327bb7a33146102ed578063329d6e741461030057806336fc697e1461031357600080fd5b80630fec111c116101c35780630fec111c1461025d578063138461e0146102725780631eff4b22146102925780631f8e8f36146102c757600080fd5b806301ffc9a7146101ea57806306fa45651461022c5780630d8e6e2c14610241575b600080fd5b6102176101f83660046135dc565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023f61023a36600461361b565b6104dd565b005b6102496106cd565b60405162ffffff9091168152602001610223565b610265610757565b6040516102239190613688565b61027a6108e8565b6040516001600160601b039091168152602001610223565b6102b97f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b61023f6102d5366004613818565b6108f3565b61023f6102e83660046135dc565b610bb1565b61023f6102fb3660046138fd565b610bde565b61023f61030e366004613995565b610c83565b61023f610dc8565b61023f6103293660046139c9565b610e0e565b61023f61033c366004613a18565b610f0d565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b600080516020614551833981519152546001600160601b031661027a565b61023f610392366004613a74565b6113bc565b61039f6114ca565b6040516001600160401b039091168152602001610223565b61023f6103c5366004613a91565b6115c5565b61023f6103d8366004613a74565b611795565b61034e611818565b61023f6103f3366004613aca565b61194f565b610400611a93565b6040516001600160e01b03199091168152602001610223565b6104456040518060400160405280600d81526020016c42756e646c655365727669636560981b81525081565b6040516102239190613b15565b61023f610460366004613a91565b611acb565b61023f610473366004613a18565b611d14565b6102b960008051602061455183398151915281565b61023f61049b36600461361b565b611e03565b604051601e8152602001610223565b61034e611fea565b61027a6104c5366004613b3b565b612006565b61023f6104d8366004613c1c565b612594565b60006104e9600f61260b565b92505050806001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561052b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054f9190613c4a565b6001600160a01b031663fe1f18d68360046040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b1580156105a957600080fd5b505af11580156105bd573d6000803e3d6000fd5b505050506000816001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015610601573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106259190613c4a565b6040516306fa456560e01b81526001600160601b03851660048201529091506001600160a01b038216906306fa456590602401600060405180830381600087803b15801561067257600080fd5b505af1158015610686573d6000803e3d6000fd5b50506040516001600160601b03861681527f87cfb697b5d649751f13ba6e2e51778a1fd0a1f260df7281952986c453708e71925060200190505b60405180910390a1505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af415801561072e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107529190613c67565b905090565b61075f61359e565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156107d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107fc9190613c9c565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610844611818565b6001600160a01b0316815260200182600101805461086190613cb9565b80601f016020809104026020016040519081016040528092919081815260200182805461088d90613cb9565b80156108da5780601f106108af576101008083540402835291602001916108da565b820191906000526020600020905b8154815290600101906020018083116108bd57829003601f168201915b505050505081525091505090565b6000610752306126ab565b600080610900600f61260b565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610945573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109699190613c4a565b604051634793b4ab60e01b81526001600160601b03871660048201529091506000906001600160a01b03831690634793b4ab90602401600060405180830381865afa1580156109bc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109e49190810190613d43565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015610a42573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a669190613e31565b15610a94576040516349e9f38360e01b81526001600160601b03871660048201526024015b60405180910390fd5b8051610aa090856128ac565b15610adc57805160405163dab86e4560e01b81526001600160601b03808916600483015291821660248201529085166044820152606401610a8b565b848160200181905250826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b479190613c4a565b6001600160a01b03166351dd844b878360ff6040518463ffffffff1660e01b8152600401610b7793929190613ec6565b600060405180830381600087803b158015610b9157600080fd5b505af1158015610ba5573d6000803e3d6000fd5b50505050505050505050565b610bb961293b565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610be661293b565b610bf08287612594565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301610c798382613f41565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610ca56106cd565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610ce5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d099190614015565b6000805160206145918339815191528054600160401b900460ff1680610d3c575080546001600160401b03808416911610155b15610d5a5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610d8483612974565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020016106c0565b610dd061293b565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000805160206145918339815191528054600160401b810460ff1615906001600160401b0316600081158015610e415750825b90506000826001600160401b03166001148015610e5d5750303b155b905081158015610e6b575080155b15610e895760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610eb357845460ff60401b1916600160401b1785555b610ebd878761297c565b8315610f0457845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610f1a335b600036612af1565b6000846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f7e9190613c4a565b905060006001600160a01b03821663a5961b4c73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038816601e6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af4158015611003573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110279190614032565b6040518263ffffffff1660e01b815260040161104591815260200190565b608060405180830381865afa158015611062573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110869190614068565b60200151604051634793b4ab60e01b81526001600160601b03861660048201529091506000906001600160a01b03841690634793b4ab90602401600060405180830381865afa1580156110dd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111059190810190613d43565b905061111a8260045b60ff9081169116141590565b806111a457506111a4816080015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611171573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061119591906140ec565b64ffffffffff90811691161090565b156111e957608081015160405163bf5b8f0960e01b81526001600160601b038716600482015260ff8416602482015264ffffffffff9091166044820152606401610a8b565b6000876001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611229573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061124d9190613c4a565b6040516317bb785d60e21b81526001600160601b0388166004820152909150600090819081906001600160a01b03851690635eede17490602401606060405180830381865afa1580156112a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112c89190614109565b92509250925060006112e3846112de8585612bef565b612c77565b90506112ef818a612cc2565b156113285760405163826a5ff960e01b81526001600160601b03808c16600483015280831660248301528a166044820152606401610a8b565b60405163248a77dd60e01b81526001600160601b03808c1660048301528a1660248201526001600160a01b0386169063248a77dd906044016020604051808303816000875af115801561137f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113a39190613c9c565b506113ae8c8c612d0d565b505050505050505050505050565b6113c461293b565b806001600160a01b03163b6000036113fa5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a8b565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263e607072160e01b60048201526301ffc9a790602401602060405180830381865afa925050508015611474575060408051601f3d908101601f1916820190925261147191810190613e31565b60015b61149c5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a8b565b806114c55760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610a8b565b505b50565b600073__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3601e604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611538573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061155c919061414b565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af41580156115a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107529190614015565b6115ce33610f12565b816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561160c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116309190613c4a565b6040516375d357df60e01b81526001600160601b03831660048201526001600160a01b0391909116906375d357df90602401602060405180830381865afa15801561167f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116a39190613e31565b6116cb576040516392bb4dff60e01b81526001600160601b0382166004820152602401610a8b565b816001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015611709573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061172d9190613c4a565b604051631351fccf60e31b81526001600160601b03831660048201526001600160a01b039190911690639a8fe67890602401600060405180830381600087803b15801561177957600080fd5b505af115801561178d573d6000803e3d6000fd5b505050505050565b3361179e611fea565b6001600160a01b0316816001600160a01b0316146117d95760405162d1953b60e31b81526001600160a01b0382166004820152602401610a8b565b816001600160a01b03163b60000361180f576040516361798f2f60e11b81526001600160a01b0383166004820152602401610a8b565b6114c582612fc2565b60008060008051602061455183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611888573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118ac9190613e31565b15611939576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561190f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119339190613c4a565b91505090565b54600160601b90046001600160a01b0316919050565b61195761293b565b6119d783846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611999573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119bd9190613c9c565b600960008560405180602001604052806000815250610bde565b6001600160a01b038216156119f4576119ef82613023565b611a6e565b6000611a006002613034565b9050611a6c816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a679190613c4a565b613023565b505b611a7e634a531f3360e01b610bb1565b611a8e63daf9067160e01b610bb1565b505050565b600080516020614571833981519152805460009190600160a01b900460ff16611abd576000611933565b638fb3603760e01b91505090565b611ad433610f12565b816001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b12573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b369190613c4a565b6001600160a01b031663fe1f18d68260c86040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b158015611b9057600080fd5b505af1158015611ba4573d6000803e3d6000fd5b505050506000826001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015611be8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c0c9190613c4a565b6040516322cc1d4560e11b81526001600160601b03841660048201529091506000906001600160a01b038316906345983a8a90602401602060405180830381865afa158015611c5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c839190614032565b90508015611cb6576040516356a410b760e01b81526001600160601b038416600482015260248101829052604401610a8b565b60405163b5346af560e01b81526001600160601b03841660048201526001600160a01b0383169063b5346af590602401600060405180830381600087803b158015611d0057600080fd5b505af1158015610c79573d6000803e3d6000fd5b611d1d33610f12565b836001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d5b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d7f9190613c4a565b6040516353ebe12960e01b81526001600160601b038085166004830152831660248201526001600160a01b0391909116906353ebe129906044016020604051808303816000875af1158015611dd8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dfc9190613c9c565b5050505050565b6000611e0f600f61260b565b92505050806001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e51573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e759190613c4a565b6001600160a01b031663fe1f18d683606e6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b158015611ecf57600080fd5b505af1158015611ee3573d6000803e3d6000fd5b505050506000816001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f4b9190613c4a565b60405163b5346af560e01b81526001600160601b03851660048201529091506001600160a01b0382169063b5346af590602401600060405180830381600087803b158015611f9857600080fd5b505af1158015611fac573d6000803e3d6000fd5b50506040516001600160601b03861681527f6764112d27879e5bb12f07fde08a48629ec22e603c75c9942ba62a06c95a55f4925060200190506106c0565b600080516020614571833981519152546001600160a01b031690565b600061201133610f12565b600360009054906101000a90046001600160a01b03166001600160a01b031663c2bf08c86040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612089573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120ad9190613c9c565b6001600160601b031681526020018b6001600160601b031681526020016120d2601e90565b60ff16815260200160001515815260200160006001600160a01b031681526020018a6001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b81526004016121319190613688565b6020604051808303816000875af1158015612150573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121749190613c9c565b90506000896001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156121b6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121da9190613c4a565b9050806001600160a01b031663a46eb8dc836040518060c001604052808d6001600160601b031681526020018b815260200188888080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050509082525064ffffffffff8a16602080830191909152604080516356db0c1960e11b81528151919093019273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9263adb61832926004808401938290030181865af41580156122a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122ca91906140ec565b6040516352bcc5a760e11b815264ffffffffff9182166004820152908b16602482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063a5798b4e90604401602060405180830381865af4158015612329573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061234d91906140ec565b64ffffffffff16815260006020909101526040516001600160e01b031960e085901b168152612380929190600401614173565b600060405180830381600087803b15801561239a57600080fd5b505af11580156123ae573d6000803e3d6000fd5b50505050600460009054906101000a90046001600160a01b03166001600160a01b03166325e451d382848973__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612422573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124469190613c9c565b6040516001600160e01b031960e087901b1681526001600160a01b0390941660048501526001600160601b0392831660248501529082166044840152166064820152608401600060405180830381600087803b1580156124a557600080fd5b505af11580156124b9573d6000803e3d6000fd5b5050505060008a6001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa1580156124fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125219190613c4a565b6040516346f0e8a760e11b81526001600160601b03851660048201529091506001600160a01b03821690638de1d14e90602401600060405180830381600087803b15801561256e57600080fd5b505af1158015612582573d6000803e3d6000fd5b50505050505098975050505050505050565b61259c61293b565b6125a5816113bc565b6125ad610dc8565b6001600160a01b0382166125d45760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061455183398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600061261561359e565b60006126296001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa15801561266f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126939190613c9c565b92506126a183856001613140565b9395909450915050565b60008060008051602061455183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561271b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061273f9190613e31565b1561276b5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610a8b565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156127bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127e39190613e31565b61280b5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610a8b565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa15801561285f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128839190613c9c565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b6040516399009c5160e01b81526001600160601b0380841660048301528216602482015260009073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c51906044015b602060405180830381865af4158015612910573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129349190613e31565b9392505050565b60008051602061459183398151915254600160401b900460ff1661297257604051631afcd79f60e31b815260040160405180910390fd5b565b6101e561293b565b6000805160206145918339815191528054600160401b810460ff1615906001600160401b03166000811580156129af5750825b90506000826001600160401b031660011480156129cb5750303b155b9050811580156129d9575080155b156129f75760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315612a2157845460ff60401b1916600160401b1785555b60008087806020019051810190612a389190614195565b9092509050612a498260008b61194f565b612a536002613034565b600380546001600160a01b0319166001600160a01b0392909216919091179055612a7d600b613034565b600480546001600160a01b0319166001600160a01b0392909216919091179055612aad6375f5307560e01b610bb1565b50508315610f0457845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610efb565b600080516020614571833981519152600080612b2c612b0e611fea565b8730612b1e600460008a8c6141c4565b612b27916141ee565b6133ec565b915091508161178d5763ffffffff811615612bcc57825460ff60a01b1916600160a01b178355612b5a611fea565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612b899392919061421e565b600060405180830381600087803b158015612ba357600080fd5b505af1158015612bb7573d6000803e3d6000fd5b5050845460ff60a01b191685555061178d9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610a8b565b60405163274acb3560e01b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb35906044015b602060405180830381865af4158015612c53573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129349190613c9c565b6040516363cf551160e11b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401612c36565b6040516304d40eb160e11b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__906309a81d62906044016128f3565b6000826001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612d4d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d719190613c4a565b60405163bd7d9d8560e01b81526001600160601b03841660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015612dc4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612dec9190810190614288565b6101c0810151604051638d38cd4b60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af4158015612e4c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e709190613e31565b8015612ec95750612ec9816101c0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611171573d6000803e3d6000fd5b15612ef257604051630cd0c0b560e31b81526001600160601b0384166004820152602401610a8b565b6000846001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015612f32573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f569190613c4a565b604051630331f98560e21b81526001600160601b03861660048201529091506001600160a01b03821690630cc7e61490602401600060405180830381600087803b158015612fa357600080fd5b505af1158015612fb7573d6000803e3d6000fd5b505050505050505050565b60008051602061457183398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b61302b61293b565b6114c7816134f8565b60006130486001546001600160a01b031690565b604051632392b61b60e21b8152600360048201526001600160a01b03919091169063d39e604390849073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156130ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130d1919061414b565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613116573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061313a9190613c4a565b92915050565b61314861359e565b60008061315d6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201529091506001600160a01b0382169063a48f42e090602401600060405180830381865afa1580156131ad573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526131d59190810190614433565b92506131e285600b61110e565b1561323857604083015160ff86811691161461323357604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff80881660248301529091166044820152606401610a8b565b6132d4565b6132538360400151613248600c90565b60ff90811691161490565b8061326957506132698360400151613248600f90565b8061327f575061327f8360400151613248600e90565b8061329557506132958360400151613248600d90565b6132d457604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff80881660248301529091166044820152606401610a8b565b6132e18360200151613509565b915083156133e357816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015613327573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061334b9190613c4a565b608084015160405163a166aa8960e01b81526001600160a01b03918216600482015291169063a166aa8990602401602060405180830381865afa158015613396573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133ba9190613e31565b156133e357604051637d71120960e11b81526001600160601b0387166004820152602401610a8b565b50935093915050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161345b9190614505565b600060405180830381855afa9150503d8060008114613496576040519150601f19603f3d011682016040523d82523d6000602084013e61349b565b606091505b509150915081156134ed5760408151106134cd57808060200190518101906134c39190614521565b90945092506134ed565b60208151106134ed57808060200190518101906134ea9190613e31565b93505b505094509492505050565b61350061293b565b6114c781612fc2565b600061351d6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801561356c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526135949190810190614433565b6080015192915050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6000602082840312156135ee57600080fd5b81356001600160e01b03198116811461293457600080fd5b6001600160601b03811681146114c757600080fd5b60006020828403121561362d57600080fd5b813561293481613606565b60005b8381101561365357818101518382015260200161363b565b50506000910152565b60008151808452613674816020860160208601613638565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516136f160c08401826001600160a01b03169052565b5060c083015160e08084015261370b61010084018261365c565b949350505050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b038111828210171561374b5761374b613713565b60405290565b60405160c081016001600160401b038111828210171561374b5761374b613713565b60405161022081016001600160401b038111828210171561374b5761374b613713565b60405160e081016001600160401b038111828210171561374b5761374b613713565b604051601f8201601f191681016001600160401b03811182821017156137e0576137e0613713565b604052919050565b6000604082840312156137fa57600080fd5b613802613729565b9050813581526020820135602082015292915050565b6000806060838503121561382b57600080fd5b823561383681613606565b915061384584602085016137e8565b90509250929050565b6001600160a01b03811681146114c757600080fd5b60ff811681146114c757600080fd5b80151581146114c757600080fd5b60006001600160401b0382111561389957613899613713565b50601f01601f191660200190565b600082601f8301126138b857600080fd5b81356138cb6138c682613880565b6137b8565b8181528460208386010111156138e057600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c0878903121561391657600080fd5b86356139218161384e565b9550602087013561393181613606565b9450604087013561394181613863565b9350606087013561395181613872565b925060808701356139618161384e565b915060a08701356001600160401b0381111561397c57600080fd5b61398889828a016138a7565b9150509295509295509295565b6000602082840312156139a757600080fd5b81356001600160401b038111156139bd57600080fd5b61370b848285016138a7565b600080604083850312156139dc57600080fd5b82356139e78161384e565b915060208301356001600160401b03811115613a0257600080fd5b613a0e858286016138a7565b9150509250929050565b60008060008060808587031215613a2e57600080fd5b8435613a398161384e565b93506020850135613a4981613606565b92506040850135613a5981613606565b91506060850135613a6981613606565b939692955090935050565b600060208284031215613a8657600080fd5b81356129348161384e565b60008060408385031215613aa457600080fd5b8235613aaf8161384e565b91506020830135613abf81613606565b809150509250929050565b600080600060608486031215613adf57600080fd5b8335613aea8161384e565b92506020840135613afa8161384e565b91506040840135613b0a8161384e565b809150509250925092565b602081526000612934602083018461365c565b64ffffffffff811681146114c757600080fd5b600080600080600080600080610100898b031215613b5857600080fd5b8835613b638161384e565b97506020890135613b7381613606565b96506040890135613b838161384e565b9550613b928a60608b016137e8565b945060a0890135613ba281613606565b935060c0890135613bb281613b28565b925060e08901356001600160401b0380821115613bce57600080fd5b818b0191508b601f830112613be257600080fd5b813581811115613bf157600080fd5b8c6020828501011115613c0357600080fd5b6020830194508093505050509295985092959890939650565b60008060408385031215613c2f57600080fd5b8235613c3a8161384e565b91506020830135613abf8161384e565b600060208284031215613c5c57600080fd5b81516129348161384e565b600060208284031215613c7957600080fd5b815162ffffff8116811461293457600080fd5b8051613c9781613606565b919050565b600060208284031215613cae57600080fd5b815161293481613606565b600181811c90821680613ccd57607f821691505b602082108103613ced57634e487b7160e01b600052602260045260246000fd5b50919050565b600082601f830112613d0457600080fd5b8151613d126138c682613880565b818152846020838601011115613d2757600080fd5b61370b826020830160208701613638565b8051613c9781613b28565b600060208284031215613d5557600080fd5b81516001600160401b0380821115613d6c57600080fd5b9083019081850360e0811215613d8157600080fd5b613d89613751565b8351613d9481613606565b81526040601f1983011215613da857600080fd5b613db0613729565b60208581015182526040860151818301528201526060840151915082821115613dd857600080fd5b613de487838601613cf3565b6040820152613df560808501613d38565b6060820152613e0660a08501613d38565b6080820152613e1760c08501613d38565b60a08201529695505050505050565b8051613c9781613872565b600060208284031215613e4357600080fd5b815161293481613872565b6001600160601b03815116825260006020820151805160208501526020810151604085015250604082015160e06060850152613e8d60e085018261365c565b9050606083015164ffffffffff80821660808701528060808601511660a08701528060a08601511660c087015250508091505092915050565b6001600160601b0384168152606060208201526000613ee86060830185613e4e565b905060ff83166040830152949350505050565b601f821115611a8e57600081815260208120601f850160051c81016020861015613f225750805b601f850160051c820191505b8181101561178d57828155600101613f2e565b81516001600160401b03811115613f5a57613f5a613713565b613f6e81613f688454613cb9565b84613efb565b602080601f831160018114613fa35760008415613f8b5750858301515b600019600386901b1c1916600185901b17855561178d565b600085815260208120601f198616915b82811015613fd257888601518255948401946001909101908401613fb3565b5085821015613ff05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160401b03811681146114c757600080fd5b60006020828403121561402757600080fd5b815161293481614000565b60006020828403121561404457600080fd5b5051919050565b8051613c9781613863565b63ffffffff811681146114c757600080fd5b60006080828403121561407a57600080fd5b604051608081018181106001600160401b038211171561409c5761409c613713565b60405282516140aa81613863565b815260208301516140ba81613863565b602082015260408301516140cd81614056565b604082015260608301516140e081614056565b60608201529392505050565b6000602082840312156140fe57600080fd5b815161293481613b28565b60008060006060848603121561411e57600080fd5b835161412981613606565b602085015190935061413a81613606565b6040850151909250613b0a81613606565b60006020828403121561415d57600080fd5b815161293481613863565b8051613c978161384e565b6001600160601b038316815260406020820152600061370b6040830184613e4e565b600080604083850312156141a857600080fd5b82516141b38161384e565b6020840151909250613abf8161384e565b600080858511156141d457600080fd5b838611156141e157600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156142165780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b80516001600160c01b031981168114613c9757600080fd5b805161ffff81168114613c9757600080fd5b60006020828403121561429a57600080fd5b81516001600160401b03808211156142b157600080fd5b9083019061022082860312156142c657600080fd5b6142ce613773565b6142d783613c8c565b81526142e560208401613c8c565b60208201526142f66040840161425e565b60408201526143076060840161425e565b606082015261431860808401613c8c565b608082015261432960a08401613c8c565b60a082015261433a60c08401613c8c565b60c082015261434b60e08401613d38565b60e0820152610100808401518381111561436457600080fd5b61437088828701613cf3565b828401525050610120808401518381111561438a57600080fd5b61439688828701613cf3565b82840152505061014091506143ac828401614276565b8282015261016091506143c0828401614276565b8282015261018091506143d4828401613c8c565b828201526101a091506143e8828401613c8c565b828201526101c091506143fc828401613d38565b828201526101e09150614410828401613d38565b828201526102009150614424828401613d38565b91810191909152949350505050565b60006020828403121561444557600080fd5b81516001600160401b038082111561445c57600080fd5b9083019060e0828603121561447057600080fd5b614478613796565b61448183613c8c565b815261448f60208401613c8c565b60208201526144a06040840161404b565b60408201526144b160608401613e26565b60608201526144c260808401614168565b60808201526144d360a08401614168565b60a082015260c0830151828111156144ea57600080fd5b6144f687828601613cf3565b60c08301525095945050505050565b60008251614517818460208701613638565b9190910192915050565b6000806040838503121561453457600080fd5b825161453f81613872565b6020840151909250613abf8161405656fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a264697066735822122021216c90f207238f5ac18b869fd1c41eef5dd8397b90c2a42762c491c6dc3d0564736f6c63430008140033",
918
+ "linkReferences": {
919
+ "contracts/type/Amount.sol": {
920
+ "AmountLib": [
921
+ {
922
+ "length": 20,
923
+ "start": 9409
924
+ },
925
+ {
926
+ "length": 20,
927
+ "start": 11518
928
+ },
929
+ {
930
+ "length": 20,
931
+ "start": 11654
932
+ },
933
+ {
934
+ "length": 20,
935
+ "start": 11729
936
+ }
937
+ ]
938
+ },
939
+ "contracts/type/NftId.sol": {
940
+ "NftIdLib": [
941
+ {
942
+ "length": 20,
943
+ "start": 2167
944
+ },
945
+ {
946
+ "length": 20,
947
+ "start": 2798
948
+ },
949
+ {
950
+ "length": 20,
951
+ "start": 4217
952
+ },
953
+ {
954
+ "length": 20,
955
+ "start": 6452
956
+ },
957
+ {
958
+ "length": 20,
959
+ "start": 8488
960
+ },
961
+ {
962
+ "length": 20,
963
+ "start": 10183
964
+ },
965
+ {
966
+ "length": 20,
967
+ "start": 10683
968
+ }
969
+ ]
970
+ },
971
+ "contracts/type/RoleId.sol": {
972
+ "RoleIdLib": [
973
+ {
974
+ "length": 20,
975
+ "start": 5556
976
+ }
977
+ ]
978
+ },
979
+ "contracts/type/Timestamp.sol": {
980
+ "TimestampLib": [
981
+ {
982
+ "length": 20,
983
+ "start": 4624
984
+ },
985
+ {
986
+ "length": 20,
987
+ "start": 9043
988
+ },
989
+ {
990
+ "length": 20,
991
+ "start": 9173
992
+ },
993
+ {
994
+ "length": 20,
995
+ "start": 12024
996
+ },
997
+ {
998
+ "length": 20,
999
+ "start": 12136
1000
+ }
1001
+ ]
1002
+ },
1003
+ "contracts/type/Version.sol": {
1004
+ "VersionLib": [
1005
+ {
1006
+ "length": 20,
1007
+ "start": 2010
1008
+ },
1009
+ {
1010
+ "length": 20,
1011
+ "start": 3435
1012
+ }
1013
+ ],
1014
+ "VersionPartLib": [
1015
+ {
1016
+ "length": 20,
1017
+ "start": 5604
1018
+ },
1019
+ {
1020
+ "length": 20,
1021
+ "start": 12633
1022
+ }
1023
+ ]
1024
+ }
1025
+ },
1026
+ "deployedLinkReferences": {
1027
+ "contracts/type/Amount.sol": {
1028
+ "AmountLib": [
1029
+ {
1030
+ "length": 20,
1031
+ "start": 9179
1032
+ },
1033
+ {
1034
+ "length": 20,
1035
+ "start": 11288
1036
+ },
1037
+ {
1038
+ "length": 20,
1039
+ "start": 11424
1040
+ },
1041
+ {
1042
+ "length": 20,
1043
+ "start": 11499
1044
+ }
1045
+ ]
1046
+ },
1047
+ "contracts/type/NftId.sol": {
1048
+ "NftIdLib": [
1049
+ {
1050
+ "length": 20,
1051
+ "start": 1937
1052
+ },
1053
+ {
1054
+ "length": 20,
1055
+ "start": 2568
1056
+ },
1057
+ {
1058
+ "length": 20,
1059
+ "start": 3987
1060
+ },
1061
+ {
1062
+ "length": 20,
1063
+ "start": 6222
1064
+ },
1065
+ {
1066
+ "length": 20,
1067
+ "start": 8258
1068
+ },
1069
+ {
1070
+ "length": 20,
1071
+ "start": 9953
1072
+ },
1073
+ {
1074
+ "length": 20,
1075
+ "start": 10453
1076
+ }
1077
+ ]
1078
+ },
1079
+ "contracts/type/RoleId.sol": {
1080
+ "RoleIdLib": [
1081
+ {
1082
+ "length": 20,
1083
+ "start": 5326
1084
+ }
1085
+ ]
1086
+ },
1087
+ "contracts/type/Timestamp.sol": {
1088
+ "TimestampLib": [
1089
+ {
1090
+ "length": 20,
1091
+ "start": 4394
1092
+ },
1093
+ {
1094
+ "length": 20,
1095
+ "start": 8813
1096
+ },
1097
+ {
1098
+ "length": 20,
1099
+ "start": 8943
1100
+ },
1101
+ {
1102
+ "length": 20,
1103
+ "start": 11794
1104
+ },
1105
+ {
1106
+ "length": 20,
1107
+ "start": 11906
1108
+ }
1109
+ ]
1110
+ },
1111
+ "contracts/type/Version.sol": {
1112
+ "VersionLib": [
1113
+ {
1114
+ "length": 20,
1115
+ "start": 1780
1116
+ },
1117
+ {
1118
+ "length": 20,
1119
+ "start": 3205
1120
+ }
1121
+ ],
1122
+ "VersionPartLib": [
1123
+ {
1124
+ "length": 20,
1125
+ "start": 5374
1126
+ },
1127
+ {
1128
+ "length": 20,
1129
+ "start": 12403
1130
+ }
1131
+ ]
1132
+ }
1133
+ }
1134
+ }