harb/onchain/test/mocks/MockKraiken.sol

15 lines
348 B
Solidity
Raw Normal View History

// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity ^0.8.19;
/**
* @title MockKraiken
* @notice Minimal mock of Kraiken token for testing Optimizer
*/
contract MockKraiken {
uint8 public constant decimals = 18;
function totalSupply() external pure returns (uint256) {
return 1_000_000 * 10 ** 18; // 1M tokens
}
}