minor update

This commit is contained in:
Shriya Tyagi 2023-05-22 19:53:11 +04:00
parent 31ad826f9a
commit 819c2b6d30
2 changed files with 0 additions and 3 deletions

View File

@ -11,7 +11,6 @@ import {IDSA} from "./interfaces/IDSA.sol";
/// @notice This contract is inherited by InstadappTarget, it includes the logic to verify signatures /// @notice This contract is inherited by InstadappTarget, it includes the logic to verify signatures
/// and execute the calls. /// and execute the calls.
/// @dev This contract is not meant to be used directly, it is meant to be inherited by other contracts. /// @dev This contract is not meant to be used directly, it is meant to be inherited by other contracts.
/// @custom:experimental This is an experimental contract.
contract InstadappAdapter is EIP712 { contract InstadappAdapter is EIP712 {
/// Structs /// Structs
/// @dev This struct is used to encode the data for InstadappTarget.cast function. /// @dev This struct is used to encode the data for InstadappTarget.cast function.
@ -123,5 +122,4 @@ contract InstadappAdapter is EIP712 {
function getHash(CastData memory castData) internal pure returns (bytes32) { function getHash(CastData memory castData) internal pure returns (bytes32) {
return keccak256(abi.encode(CASTDATA_TYPEHASH, castData.targetNames, castData.datas, castData.origin)); return keccak256(abi.encode(CASTDATA_TYPEHASH, castData.targetNames, castData.datas, castData.origin));
} }
} }

View File

@ -13,7 +13,6 @@ import {InstadappAdapter} from "./InstadappAdapter.sol";
/// @dev This contract is used to receive funds from Connext /// @dev This contract is used to receive funds from Connext
/// and forward them to Instadapp DSA via authCast function, In case of failure, /// and forward them to Instadapp DSA via authCast function, In case of failure,
/// funds are forwarded to fallback address defined by the user under callData. /// funds are forwarded to fallback address defined by the user under callData.
/// @custom:experimental This is an experimental contract.
contract InstadappTarget is IXReceiver, InstadappAdapter { contract InstadappTarget is IXReceiver, InstadappAdapter {
using SafeERC20 for IERC20; using SafeERC20 for IERC20;
/// Storage /// Storage