AaveV4DelegateSetUsingAsCollateralWithSig
Description
Action ID
SDK Action
const aaveV4DelegateSetUsingAsCollateralWithSigAction = new dfs.actions.aavev4.AaveV4DelegateSetUsingAsCollateralWithSigAction(
permit,
signature
);Action Type
Input Parameters
/// @notice Structured parameters for using as collateral permission permit intent.
/// @dev spoke The address of the Spoke.
/// @dev delegator The address of the delegator.
/// @dev delegatee The address of the delegatee.
/// @dev permission The new permission status.
/// @dev nonce The key-prefixed nonce for the signature.
/// @dev deadline The deadline for the intent.
struct SetCanSetUsingAsCollateralPermissionPermit {
address spoke;
address delegator;
address delegatee;
bool permission;
uint256 nonce;
uint256 deadline;
}
/// @param permit The structured SetCanSetUsingAsCollateralPermissionPermit parameters.
/// @param signature The EIP712-compliant signature bytes.
struct Params {
IConfigPositionManager.SetCanSetUsingAsCollateralPermissionPermit permit;
bytes signature;
}Return Value
Events and Logs
Last updated