Skip to content

Commit

Permalink
added assetId info
Browse files Browse the repository at this point in the history
  • Loading branch information
bra1nsurfer committed Nov 11, 2024
1 parent c560b29 commit fb28839
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ride/vesting_neo.ride
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ func getVestingUserInfo(userAddress: String) = {
if (vestingAmount == 0 || banList.containsElement(userAddress)) then
acc
else
acc :+ [vestingAmount, startBlock + lockLength, unlockedAmount, remainingAmount, totalClaimed]
acc :+ [vestingAmount, startBlock + lockLength, unlockedAmount, remainingAmount, totalClaimed, assetIdString]
}

FOLD<30>(IDS_LIST, [], helper)
Expand Down Expand Up @@ -337,6 +337,7 @@ func claimAll() = {
# + _3 = unlocked amount
# + _4 = locked amount
# + _5 = claimed amount
# + _6 = assetId
@Callable(i)
func userInfoREADONLY(userAddress: String) = {
let (_a, totalAmount) = getClaimAllActions(userAddress)
Expand Down

0 comments on commit fb28839

Please sign in to comment.