IOceanPrimitive.sol
computeOutputAmount()
function computeOutputAmount(
uint256 inputToken,
uint256 outputToken,
uint256 inputAmount,
address userAddress,
bytes32 metadata
) external returns (
uint256 outputAmount
);Parameter Name
Type
Description
computeInputAmount()
Parameter Name
Type
Description
getTokenSupply()
Parameter Name
Type
Description
Last updated

