19 lines
598 B
Solidity
19 lines
598 B
Solidity
pragma solidity 0.4.24;
|
|
|
|
import "../upgradeable_contracts/arbitrary_message/ForeignAMBWithGasToken.sol";
|
|
|
|
/**
|
|
* @title ForeignAMBWithGasTokenMock
|
|
* @dev Wrapper on ForeignAMB contract, which supports minting gas tokens while passing messages
|
|
*/
|
|
contract ForeignAMBWithGasTokenMock is ForeignAMBWithGasToken {
|
|
function gasToken() public pure returns (IGasToken) {
|
|
// Address generated in unit test, also hardcoded in GasTokenMock
|
|
return IGasToken(0x64830eD3d58194d5b3Bc1BEa19F1ce9666AC0602);
|
|
}
|
|
|
|
function collectGasTokens() external {
|
|
_collectGasTokens();
|
|
}
|
|
}
|