_currencyWhitelisted(address) :
This function checks if a given address is whitelisted as a currency. It does this by calling the isCurrencyWhitelisted() function from the IModuleGlobals contract, which is passed in as the MODULE_GLOBALS parameter. The function returns a boolean value indicating whether or not the address is whitelisted. (autogenerated documentation)
_treasuryData() :
This function is an internal view function that returns the address and uint16 value of the treasury data stored in the IModuleGlobals contract. It works by retrieving the treasury data from the IModuleGlobals contract and returning it as a tuple of address and uint16. (autogenerated documentation)
_validateDataIsExpected(address,uint256) :
This function is used to validate that the data passed into a function is the expected data. It does this by decoding the calldata using the ABI and comparing the decoded values to the expected currency and amount. If the values do not match, the function will revert with an error. (autogenerated documentation)