Skip to content

Don't assume decimals for pDAI conversion #246

@vrde

Description

@vrde

The amount of decimals for an ERC20 token depends on the value stored in the smart contract. In the burner wallet we just assume that any ERC20 token has the same amount of decimals as Ether.

xdaiBalance = this.state.xdaiweb3.utils.fromWei(""+xdaiBalance,'ether')

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions