@etherisc/gif-next 0.0.2-d5522f6-712 → 0.0.2-d59d51e-694

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