IProtocolERC20Pricing.sol
IProtocolERC20Pricing
Author: @ShaneDuncan602, @oscarsernarosero, @TJ-Everett
This contract is a simple pricing mechanism only. Its main purpose is to store prices.
This contract doesn’t allow any marketplace operations.
Functions
getTokenPrice
Gets the price of a Token. It will return the Token’s specific price.
Parameters
Name | Type | Description |
---|---|---|
tokenContract | address | is the address of the Token contract |
Returns
Name | Type | Description |
---|---|---|
price | uint256 | of the Token in weis of dollars. 10^18 => $ 1.00 USD |