h-agent-swap 3.0.1 → 3.0.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
|
@@ -434,7 +434,8 @@ ${JSON.stringify(data,null,2)}`)
|
|
|
434
434
|
|
|
435
435
|
async getConfig({ tokenIn,tokenOut }) {
|
|
436
436
|
let result = await this.SC.methods.runConfig(tokenIn,tokenOut).call()
|
|
437
|
-
|
|
437
|
+
result.feeRate = multiplication(division(result.feeRate,this.pointMax),100)
|
|
438
|
+
result.burnRate = multiplication(division(result.burnRate,this.pointMax),100)
|
|
438
439
|
|
|
439
440
|
return result
|
|
440
441
|
}
|