Skip to main content

Function: getExtensionLowestCompatibleColonyVersion()

getExtensionLowestCompatibleColonyVersion(extension, extensionVersion): 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17

Calculates and returns the lowest compatible colony version for a given version of an extension

Parameters

extension

Extension

A valid Extension contract name

extensionVersion

ExtensionVersion

The version of the extension to check

Returns

1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17

the lowest compatible colony version for a given version of an extension