CBChickenIn
Description
Chickens in a bond and gets back bLUSD.
Action ID
0x56185a2d
SDK Action
const cBChickenInAction = new dfs.actions.chickenBonds.CBChickenInAction(
bondId,
to
);
Action Type
STANDARD_ACTION
Input Parameters
/// @param bondID NFT token id of the bond
/// @param to Address where to send bLUSD returned
struct Params {
uint256 bondID;
address to;
}
Return Value
return bytes32(bLusdAmountReceived);
Events and Logs
emit ActionEvent("CBChickenIn", logData);
logger.logActionDirectEvent("CBChickenIn", logData);
bytes memory logData = abi.encode(params);
Last updated
Was this helpful?