-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
39 additions
and
55 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,39 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity 0.8.22; | ||
|
||
import { | ||
ERC20Upgradeable | ||
} from "@openzeppelin-upgradeable/contracts/token/ERC20/ERC20Upgradeable.sol"; | ||
|
||
contract PowerToken is ERC20Upgradeable { | ||
mapping(bytes32 feedId => uint256) internal _pointsBalances; | ||
|
||
/** | ||
* @notice Initializes the contract. | ||
* @param name_ The token name. | ||
* @param symbol_ The token symbol. | ||
*/ | ||
function initialize(string calldata name_, string calldata symbol_) external initializer { | ||
super.__ERC20_init(name_, symbol_); | ||
} | ||
|
||
/** | ||
* @notice Mints new token points. | ||
* @param to The account to receive the tokens. | ||
*/ | ||
function mint(address to) external {} | ||
|
||
/** | ||
* @notice Transfers token points. | ||
* @param amount The amount token points to send. | ||
* @param feedId The feed id. | ||
*/ | ||
function transferPoints(uint256 amount, bytes32 feedId) external {} | ||
|
||
/** | ||
* @notice Withdraws tokens. | ||
* @param to The address who receives the tokens. | ||
* @param amount The amount of the tokens. | ||
*/ | ||
function withdraw(address to, uint256 amount) external {} | ||
} |
This file was deleted.
Oops, something went wrong.