
REXState#value():
public get value() { return ( (Number(this.total_lent.units) + Number(this.total_unlent.units)) / Number(this.total_rex.units) ) }
According to the screenshot above, If the value of total_rex is very large, Number(total_rex.units) will cause an exception, resulting in an exception in the REXState#value() method.
responase json:
{
"rows": [
{
"version": 0,
"total_lent": "6925421.9746 EOS",
"total_unlent": "124587204.5398 EOS",
"total_rent": "3698.4341 EOS",
"total_lendable": "131512626.5144 EOS",
"total_rex": "1181188743903.2468 REX",
"namebid_proceeds": "0.0000 EOS",
"loan_num": 504605
}
],
"more": false,
"next_key": ""
}
REXState#value():
public get value() { return ( (Number(this.total_lent.units) + Number(this.total_unlent.units)) / Number(this.total_rex.units) ) }According to the screenshot above, If the value of total_rex is very large, Number(total_rex.units) will cause an exception, resulting in an exception in the REXState#value() method.
responase json:
{
"rows": [
{
"version": 0,
"total_lent": "6925421.9746 EOS",
"total_unlent": "124587204.5398 EOS",
"total_rent": "3698.4341 EOS",
"total_lendable": "131512626.5144 EOS",
"total_rex": "1181188743903.2468 REX",
"namebid_proceeds": "0.0000 EOS",
"loan_num": 504605
}
],
"more": false,
"next_key": ""
}