@@ -5,11 +5,11 @@ import {IInterval} from "../schedules/interfaces/IInterval.sol";
55import {IOtimFee} from "../fee-models/interfaces/IOtimFee.sol " ;
66
77bytes32 constant INSTRUCTION_TYPEHASH = keccak256 (
8- "Instruction(uint256 salt,uint256 maxExecutions,address action,TransferCCTPV2 transferCCTPV2)Fee(address token,uint256 maxBaseFeePerGas,uint256 maxPriorityFeePerGas,uint256 executionFee)Schedule(uint256 startAt,uint256 startBy,uint256 interval,uint256 timeout)TransferCCTPV2(address token,uint256 amount,uint32 destinationDomain,bytes32 destinationMintRecipient,bytes32 destinationCaller,uint256 maxFee ,uint32 minFinalityThreshold,Schedule schedule,Fee fee) "
8+ "Instruction(uint256 salt,uint256 maxExecutions,address action,TransferCCTPV2 transferCCTPV2)Fee(address token,uint256 maxBaseFeePerGas,uint256 maxPriorityFeePerGas,uint256 executionFee)Schedule(uint256 startAt,uint256 startBy,uint256 interval,uint256 timeout)TransferCCTPV2(address token,uint256 amount,uint32 destinationDomain,bytes32 destinationMintRecipient,bytes32 destinationCaller,uint32 maxFeeThouBPS ,uint32 minFinalityThreshold,Schedule schedule,Fee fee) "
99);
1010
1111bytes32 constant ARGUMENTS_TYPEHASH = keccak256 (
12- "TransferCCTPV2(address token,uint256 amount,uint32 destinationDomain,bytes32 destinationMintRecipient,bytes32 destinationCaller,uint256 maxFee ,uint32 minFinalityThreshold,Schedule schedule,Fee fee)Fee(address token,uint256 maxBaseFeePerGas,uint256 maxPriorityFeePerGas,uint256 executionFee)Schedule(uint256 startAt,uint256 startBy,uint256 interval,uint256 timeout) "
12+ "TransferCCTPV2(address token,uint256 amount,uint32 destinationDomain,bytes32 destinationMintRecipient,bytes32 destinationCaller,uint32 maxFeeThouBPS ,uint32 minFinalityThreshold,Schedule schedule,Fee fee)Fee(address token,uint256 maxBaseFeePerGas,uint256 maxPriorityFeePerGas,uint256 executionFee)Schedule(uint256 startAt,uint256 startBy,uint256 interval,uint256 timeout) "
1313);
1414
1515/// @title ITransferCCTPV2Action
@@ -22,7 +22,7 @@ interface ITransferCCTPV2Action is IInterval, IOtimFee {
2222 /// @param destinationDomain - the destination domain for the CCTP transfer
2323 /// @param destinationMintRecipient - the address of the mint recipient for the CCTP transfer (in bytes32 format)
2424 /// @param destinationCaller - the address allowed to call receiveMessage on destination (bytes32(0) for anyone)
25- /// @param maxFee - the maximum fee for the transfer in burn token units
25+ /// @param maxFeeThouBPS - max fee in 1/1000 BPS (e.g., 10 = 0.01%, 100 = 0.1%)
2626 /// @param minFinalityThreshold - minimum finality threshold (e.g., 1000=fast, 2000=standard)
2727 /// @param schedule - the schedule parameters for the transfer
2828 /// @param fee - the fee to be paid
@@ -32,7 +32,7 @@ interface ITransferCCTPV2Action is IInterval, IOtimFee {
3232 uint32 destinationDomain;
3333 bytes32 destinationMintRecipient;
3434 bytes32 destinationCaller;
35- uint256 maxFee ;
35+ uint32 maxFeeThouBPS ;
3636 uint32 minFinalityThreshold;
3737 Schedule schedule;
3838 Fee fee;
0 commit comments