From 59fb3ac4f6861c4b010909b39732a24e02464c80 Mon Sep 17 00:00:00 2001 From: zev Date: Mon, 12 Aug 2024 12:11:01 -0400 Subject: [PATCH] add decimalConversionRate public getter to IOFT --- .../layerzero-v2/evm/oapp/contracts/oft/interfaces/IOFT.sol | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/layerzero-v2/evm/oapp/contracts/oft/interfaces/IOFT.sol b/packages/layerzero-v2/evm/oapp/contracts/oft/interfaces/IOFT.sol index e075419..d3546b0 100644 --- a/packages/layerzero-v2/evm/oapp/contracts/oft/interfaces/IOFT.sol +++ b/packages/layerzero-v2/evm/oapp/contracts/oft/interfaces/IOFT.sol @@ -103,6 +103,12 @@ interface IOFT { */ function sharedDecimals() external view returns (uint8); + /** + * @notice Retrieves the decimal conversion rate of the OFT. + * @return decimalConversionRate The decimal conversion rate of the OFT. + */ + function decimalConversionRate() external view returns (uint256); + /** * @notice Provides a quote for OFT-related operations. * @param _sendParam The parameters for the send operation.