-
Notifications
You must be signed in to change notification settings - Fork 230
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add native token support to StakingReward contract
- Loading branch information
1 parent
90685e8
commit 8450318
Showing
4 changed files
with
147 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
packages/zevm-app-contracts/contracts/liquidity-incentives/Synthetixio/interfaces/IWETH9.sol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity 0.8.7; | ||
|
||
interface IWETH9 { | ||
event Approval(address indexed owner, address indexed spender, uint value); | ||
event Transfer(address indexed from, address indexed to, uint value); | ||
event Deposit(address indexed dst, uint wad); | ||
event Withdrawal(address indexed src, uint wad); | ||
|
||
function totalSupply() external view returns (uint); | ||
|
||
function balanceOf(address owner) external view returns (uint); | ||
|
||
function allowance(address owner, address spender) external view returns (uint); | ||
|
||
function approve(address spender, uint wad) external returns (bool); | ||
|
||
function transfer(address to, uint wad) external returns (bool); | ||
|
||
function transferFrom(address from, address to, uint wad) external returns (bool); | ||
|
||
function deposit() external payable; | ||
|
||
function withdraw(uint wad) external; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters