> For the complete documentation index, see [llms.txt](https://developers.polymath.network/polymath/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.polymath.network/polymath/api/mockstgetter.md).

# Security Token contract (mock) (MockSTGetter.sol)

View Source: [contracts/mocks/MockSTGetter.sol](https://github.com/PolymathNetwork/polymath-core/tree/096ba240a927c98e1f1a182d2efee7c4c4c1dfc5/contracts/mocks/MockSTGetter.sol)

**↗ Extends:** [**STGetter**](https://github.com/PolymathNetwork/polymath-core/tree/096ba240a927c98e1f1a182d2efee7c4c4c1dfc5/docs/api/STGetter.md)

**MockSTGetter**

SecurityToken is an ERC1400 token with added capabilities:

**Events**

```javascript
event UpgradeEvent(uint256  _upgrade);
```

## Functions

* [newGetter(uint256 \_upgrade)](/polymath/api/mockstgetter.md#newgetter)

### newGetter

```javascript
function newGetter(uint256 _upgrade) public nonpayable
```

**Arguments**

| Name      | Type    | Description |
| --------- | ------- | ----------- |
| \_upgrade | uint256 |             |
