show soldout bonds as part of liveMarkets
Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
This commit is contained in:
parent
6a47e18b35
commit
5e09c9d417
@ -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) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user