> ## Documentation Index
> Fetch the complete documentation index at: https://thrackle.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# IProtocolERC20Pricing

[Git Source](https://github.com/forte-service-company-ltd/forte-rules-engine/blob/6b9ac124d2cb0fe47a8b5c261a1dd458067f45ea/src/common/IProtocolERC20Pricing.sol)

**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.*

```solidity
function getTokenPrice(address tokenContract) external view returns (uint256 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 |
