should be complete now
This commit is contained in:
parent
0fab17085f
commit
d8bc375d4c
|
@ -9,7 +9,7 @@ contract TenGransBaseToken is AbstractGrans, IOptimismMintableERC20 {
|
||||||
address public immutable REMOTE_TOKEN;
|
address public immutable REMOTE_TOKEN;
|
||||||
|
|
||||||
/// @notice Address of the StandardBridge on this network.
|
/// @notice Address of the StandardBridge on this network.
|
||||||
address public immutable BRIDGE = 0x4200000000000000000000000000000000000010;
|
address public immutable BRIDGE;
|
||||||
|
|
||||||
/// @notice Emitted whenever tokens are minted for an account.
|
/// @notice Emitted whenever tokens are minted for an account.
|
||||||
/// @param account Address of the account tokens are being minted for.
|
/// @param account Address of the account tokens are being minted for.
|
||||||
|
@ -27,7 +27,8 @@ contract TenGransBaseToken is AbstractGrans, IOptimismMintableERC20 {
|
||||||
_;
|
_;
|
||||||
}
|
}
|
||||||
|
|
||||||
constructor(address _remoteToken) AbstractGrans() {
|
constructor(address _bridge, address _remoteToken) AbstractGrans() {
|
||||||
|
BRIDGE = _bridge;
|
||||||
REMOTE_TOKEN = _remoteToken;
|
REMOTE_TOKEN = _remoteToken;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -8,12 +8,4 @@ contract TenGransEthToken is AbstractGrans {
|
||||||
constructor() AbstractGrans() {
|
constructor() AbstractGrans() {
|
||||||
_mint(msg.sender, 15_000 * 10 ** 18);
|
_mint(msg.sender, 15_000 * 10 ** 18);
|
||||||
}
|
}
|
||||||
|
|
||||||
function balanceOf(address account) public view virtual override(AbstractGrans) returns (uint256) {
|
|
||||||
return AbstractGrans.balanceOf(account);
|
|
||||||
}
|
|
||||||
|
|
||||||
function transferFrom(address sender, address recipient, uint256 amount) public virtual override(AbstractGrans) returns (bool) {
|
|
||||||
return AbstractGrans.transferFrom(sender, recipient, amount);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue