h-agent-swap 1.8.0 → 1.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/agent-swap.js +2 -1
package/package.json
CHANGED
package/src/agent-swap.js
CHANGED
|
@@ -295,10 +295,11 @@ class AgentSwap extends HI {
|
|
|
295
295
|
let result = await this.SC.methods.limitBuy().call()
|
|
296
296
|
let token = new ERC20({ ...this.network,contract:pricing })
|
|
297
297
|
let precision = await token.decimals()
|
|
298
|
-
|
|
298
|
+
|
|
299
299
|
result.buyMin = toSmall(result.buyMin,precision)
|
|
300
300
|
result.buyMax = toSmall(result.buyMax,precision)
|
|
301
301
|
result.holdMax = toSmall(result.holdMax,precision)
|
|
302
|
+
return result
|
|
302
303
|
}
|
|
303
304
|
|
|
304
305
|
async onlyRate(path) {
|