Skip to content

Commit 504098e

Browse files
committed
more fixes
1 parent abc5a1d commit 504098e

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

chains/evm/contracts/pools/USDC/BurnMintWithLockReleaseFlagTokenPool.sol

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
pragma solidity ^0.8.24;
33

44
import {IBurnMintERC20} from "../../interfaces/IBurnMintERC20.sol";
5+
import {IPoolV1} from "../../interfaces/IPool.sol";
6+
import {IPoolV2} from "../../interfaces/IPoolV2.sol";
57

68
import {Pool} from "../../libraries/Pool.sol";
79
import {BurnMintTokenPool} from "../BurnMintTokenPool.sol";
@@ -27,11 +29,9 @@ contract BurnMintWithLockReleaseFlagTokenPool is BurnMintTokenPool {
2729
address router
2830
) BurnMintTokenPool(token, localTokenDecimals, advancedPoolHooks, rmnProxy, router) {}
2931

30-
/// @notice Burn the token in the pool
31-
/// @dev The _validateLockOrBurn check is an essential security check
3232
/// @dev Performs the exact same functionality as BurnMintTokenPool, but returns the LOCK_RELEASE_FLAG
3333
/// as the destPoolData to signal to the remote pool to release tokens instead of minting them.
34-
/// @param lockOrBurnIn Encoded data fields for the processing of tokens on the source chain.
34+
/// @inheritdoc IPoolV1
3535
function lockOrBurn(
3636
Pool.LockOrBurnInV1 calldata lockOrBurnIn
3737
) public override returns (Pool.LockOrBurnOutV1 memory) {
@@ -40,13 +40,9 @@ contract BurnMintWithLockReleaseFlagTokenPool is BurnMintTokenPool {
4040
return out;
4141
}
4242

43-
/// @notice Burn the token in the pool with V2 parameters.
44-
/// @dev The _validateLockOrBurn check is an essential security check.
4543
/// @dev Performs the exact same functionality as BurnMintTokenPool, but returns the LOCK_RELEASE_FLAG
4644
/// as the destPoolData to signal to the remote pool to release tokens instead of minting them.
47-
/// @param lockOrBurnIn Encoded data fields for the processing of tokens on the source chain.
48-
/// @param blockConfirmationRequested Requested block confirmation.
49-
/// @param tokenArgs Additional token arguments.
45+
/// @inheritdoc IPoolV2
5046
function lockOrBurn(
5147
Pool.LockOrBurnInV1 calldata lockOrBurnIn,
5248
uint16 blockConfirmationRequested,
@@ -57,10 +53,7 @@ contract BurnMintWithLockReleaseFlagTokenPool is BurnMintTokenPool {
5753
return (out, destTokenAmount);
5854
}
5955

60-
/// @notice Mint tokens from the pool to the recipient.
61-
/// @dev The _validateReleaseOrMint check is an essential security check.
62-
/// @param releaseOrMintIn Encoded data fields for the processing of tokens on the destination chain.
63-
/// @param blockConfirmationRequested Requested block confirmation.
56+
/// @inheritdoc IPoolV2
6457
function releaseOrMint(
6558
Pool.ReleaseOrMintInV1 calldata releaseOrMintIn,
6659
uint16 blockConfirmationRequested

0 commit comments

Comments
 (0)