# IKyberHistory

{% hint style="warning" %}
You are referring to the **`Legacy`** version of KyberSwap docs.

For the most updated information, please refer to:

* [**`Classic`**](https://docs.kyberswap.com/~/changes/jCLW7swnDOrPvgw5PHY3/liquidity-solutions/kyberswap-classic)
* [**`Elastic`**](https://docs.kyberswap.com/~/changes/jCLW7swnDOrPvgw5PHY3/liquidity-solutions/kyberswap-elastic)
* [**`Limit Order`**](https://docs.kyberswap.com/~/changes/jCLW7swnDOrPvgw5PHY3/kyberswap-solutions/limit-order)
* [**`Aggregator`**](https://docs.kyberswap.com/~/changes/jCLW7swnDOrPvgw5PHY3/kyberswap-solutions/kyberswap-aggregator)
  {% endhint %}

## interface IKyberHistory

*Source*: [IKyberHistory.sol](https://github.com/KyberNetwork/smart-contracts/blob/master/contracts/sol6/IKyberHistory.sol)

***

### INDEX[​](https://docs.kyberswap.com/Legacy/api-abi/core-smart-contracts/api_abi-ikyberhistory#index) <a href="#index" id="index"></a>

\<AUTOGENERATED\_TABLE\_OF\_CONTENTS>

### REFERENCE[​](https://docs.kyberswap.com/Legacy/api-abi/core-smart-contracts/api_abi-ikyberhistory#reference) <a href="#reference" id="reference"></a>

#### Functions[​](https://docs.kyberswap.com/Legacy/api-abi/core-smart-contracts/api_abi-ikyberhistory#functions) <a href="#functions" id="functions"></a>

#### `getContracts`[​](https://docs.kyberswap.com/Legacy/api-abi/core-smart-contracts/api_abi-ikyberhistory#getcontracts) <a href="#getcontracts" id="getcontracts"></a>

Returns list of historic addresses, where index 0 is the currently used contract address and indexes > 0 are older versions.

***

function **getContracts**() external view returns (address\[])\ **Returns:**\ List of history addresses
