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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "h-agent-swap",
3
- "version": "3.0.1",
3
+ "version": "3.0.2",
4
4
  "description": "agent-swap",
5
5
  "main": "src/index.js",
6
6
  "files": [
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
  }