Skip to content

Commit

Permalink
feat: rename
Browse files Browse the repository at this point in the history
  • Loading branch information
iavl committed May 29, 2024
1 parent a248da0 commit 9b10b5d
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 55 deletions.
23 changes: 0 additions & 23 deletions src/Follow.sol

This file was deleted.

39 changes: 39 additions & 0 deletions src/PowerToken.sol
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 {}
}
32 changes: 0 additions & 32 deletions src/interfaces/IFollow.sol

This file was deleted.

0 comments on commit 9b10b5d

Please sign in to comment.