Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jaderiverstokes committed Nov 26, 2024
1 parent e85f46b commit 34c27ca
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 314 deletions.
29 changes: 0 additions & 29 deletions contracts/scripts/VotingEscrowDepositor.s.sol

This file was deleted.

12 changes: 0 additions & 12 deletions contracts/src/governance/IVotingEscrow.sol
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,4 @@ interface IVotingEscrow {
function locked(address) external view returns (LockedBalance memory);

function balanceOf(address) external view returns (uint256);
function deploy_for(address _addr, uint256 _value) external;
function commit_smart_wallet_checker(address) external;
function apply_smart_wallet_checker() external;

function admin() external view returns (address);
function create_lock(uint256 _value, uint256 _unlock_time) external;
function totalSupply() external view returns (uint256);
function checkpoint() external;
function user_point_history(address, uint256) external view returns (uint256, uint256);
function user_point_history__ts(address, uint256) external view returns (uint256);
function get_last_user_slope(address) external view returns (int128);

}
63 changes: 0 additions & 63 deletions contracts/src/governance/SmartWalletChecker.sol

This file was deleted.

5 changes: 2 additions & 3 deletions contracts/src/governance/VotingEscrow.vy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @version 0.3.1
# @version 0.3.0
"""
@title Voting Escrow
@author Curve Finance
Expand Down Expand Up @@ -94,7 +94,6 @@ epoch: public(uint256)
point_history: public(Point[100000000000000000000000000000]) # epoch -> unsigned point
user_point_history: public(HashMap[address, Point[1000000000]]) # user -> Point[user_epoch]
user_point_epoch: public(HashMap[address, uint256])

slope_changes: public(HashMap[uint256, int128]) # time -> signed slope change

# Aragon's view methods for compatibility
Expand Down Expand Up @@ -669,4 +668,4 @@ def changeController(_newController: address):
@dev Dummy method required for Aragon compatibility
"""
assert msg.sender == self.controller
self.controller = _newController
self.controller = _newController
65 changes: 0 additions & 65 deletions contracts/src/governance/VotingEscrowDepositor.sol

This file was deleted.

105 changes: 0 additions & 105 deletions contracts/src/test/VotingEscrowDepositor.t.sol

This file was deleted.

1 change: 0 additions & 1 deletion ui/components/nance/DePrize.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ import ContentLayout from '@/components/layout/ContentLayout'
import Head from '@/components/layout/Head'
import { NoticeFooter } from '@/components/layout/NoticeFooter'
import { JoinDePrizeModal } from '@/components/nance/JoinDePrizeModal'
import { TeamPreview } from '@/components/subscription/TeamPreview'
import StandardButton from '../layout/StandardButton'
import { useVotingPowers } from '@/lib/snapshot'
import useTokenBalances from '@/lib/tokens/hooks/useTokenBalances'
Expand Down
36 changes: 0 additions & 36 deletions ui/components/subscription/TeamPreview.tsx

This file was deleted.

0 comments on commit 34c27ca

Please sign in to comment.