Functions
getTokenPrice
Gets the price of a Token. It will return the Token’s specific price.Name | Type | Description |
---|---|---|
tokenContract | address | is the address of the Token contract |
Name | Type | Description |
---|---|---|
price | uint256 | of the Token in weis of dollars. 10^18 => $ 1.00 USD |