diff --git a/contracts/Blast_SpokePool.sol b/contracts/Blast_SpokePool.sol index 9fd488579..0f4eeb461 100644 --- a/contracts/Blast_SpokePool.sol +++ b/contracts/Blast_SpokePool.sol @@ -32,17 +32,6 @@ interface IBlast { function claimMaxGas(address contractAddress, address recipientOfGas) external returns (uint256); } -interface IUSDBL2Bridge { - function bridgeERC20To( - address _localToken, - address _remoteToken, - address _to, - uint256 _amount, - uint32 _minGasLimit, - bytes calldata _extraData - ) external; -} - /** * @notice Blast Spoke pool. */ @@ -141,7 +130,7 @@ contract Blast_SpokePool is Ovm_SpokePool { } // If the token is USDB then use the L2BlastBridge if (l2TokenAddress == USDB) { - IUSDBL2Bridge(L2_BLAST_BRIDGE).bridgeERC20To( + IL2ERC20Bridge(L2_BLAST_BRIDGE).bridgeERC20To( l2TokenAddress, // _l2Token. Address of the L2 token to bridge over. L1_USDB, hubPool, // _to. Withdraw, over the bridge, to the l1 pool contract. diff --git a/contracts/Ovm_SpokePool.sol b/contracts/Ovm_SpokePool.sol index c6e9e19ee..dc8aaf044 100644 --- a/contracts/Ovm_SpokePool.sol +++ b/contracts/Ovm_SpokePool.sol @@ -23,7 +23,7 @@ interface IL2ERC20Bridge { address _remoteToken, address _to, uint256 _amount, - uint256 _minGasLimit, + uint32 _minGasLimit, bytes calldata _extraData ) external; }