Skip to content

Commit

Permalink
fix getLockedGwxAmount draft
Browse files Browse the repository at this point in the history
do not take into account proposal and voting_verification
  • Loading branch information
ridev6 committed Jul 28, 2023
1 parent 0711bad commit e49ca51
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions ride/boosting_v2.ride
Original file line number Diff line number Diff line change
Expand Up @@ -267,16 +267,12 @@ func getGwxAmountTotal() = {

func getLockedGwxAmount(userAddress: Address) = {
# TODO: get locked amount for userAddress (invoke or state)
let lockedProposal = 0
let lockedVotingEmissionRate = 0
let lockedVotingEmission = 0
let lockedVotingVerified = 0

let locked = max([
lockedProposal,
lockedVotingEmissionRate,
lockedVotingEmission,
lockedVotingVerified
lockedVotingEmission
])

locked
Expand Down

0 comments on commit e49ca51

Please sign in to comment.