smart-contracts
smart-contracts copied to clipboard
enable to unlist permission less order book reserve when it has 0 rate (no orders)
currently lister can lisit any new token for a reserve. many reserves were listed but currently don't support any orders. should add an option for lister to unlist reserve that has zero rate. and to list it again if it does have rate.
the no rate reserve cause unwanted extra gas consumption for some tokens where calling the getRate method.
In PermissionlessOrderbookReserveLister
there is func unlistOrderbookContract
to unlist reserve. It has stricter checks like knc rate to be higher than a certain value. So we want to create a similar func but without some checks? i.e just unlist reserve