smart-contracts icon indicating copy to clipboard operation
smart-contracts copied to clipboard

enable to unlist permission less order book reserve when it has 0 rate (no orders)

Open ilanDoron opened this issue 5 years ago • 1 comments

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.

ilanDoron avatar Oct 28 '19 08:10 ilanDoron

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

manhlx3006 avatar Nov 06 '19 10:11 manhlx3006