FluidVaultT1Payback
Description
Payback debt to Fluid Vault T1 (1_col:1_debt)
Action ID
0x101b4845
SDK Action
const fluidVaultT1PaybackAction = new dfs.actions.fluid.FluidVaultT1PaybackAction(
vault,
nftId,
amount,
from,
debtToken
);
Action Type
STANDARD_ACTION
Input Parameters
/// @param vault The address of the Fluid Vault T1
/// @param nftId ID of the NFT representing the position
/// @param amount Amount to payback
/// @param from Address to pull the tokens from
struct Params {
address vault;
uint256 nftId;
uint256 amount;
address from;
}
Return Value
return bytes32(amount);
Events and Logs
emit ActionEvent("FluidVaultT1Payback", logData);
logger.logActionDirectEvent("FluidVaultT1Payback", logData);
bytes memory logData = abi.encode(params);
Last updated
Was this helpful?