show soldout bonds as part of liveMarkets

Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
This commit is contained in:
Uncle Fatso 2026-03-26 14:06:26 +03:00
parent 6a47e18b35
commit 5e09c9d417
Signed by: f4ts0
GPG Key ID: 565F4F2860226EBB

View File

@ -251,7 +251,7 @@ contract GhostBondDepository is IBondDepository, NoteKeeper {
} }
function isLive(uint256 id) public view override returns (bool) { function isLive(uint256 id) public view override returns (bool) {
return (markets[id].capacity > 0 && terms[id].conclusion > block.timestamp); return terms[id].conclusion > block.timestamp;
} }
function liveMarkets() external view override returns (uint256[] memory) { function liveMarkets() external view override returns (uint256[] memory) {