question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Show delegate-stack-stx event on address page

See original GitHub issue

I’m looking at this account https://explorer.stacks.co/address/STBB835X9NGMHWSH5E767X420GYCAV3WD12P5JJH?chain=testnet

Screen Shot 2021-02-24 at 3 49 25 PM

It shows that only the delegate-stx method was called (for 200k stx). This method only delegates tokens but does not lock them up. A delegator would need to run delegate-stack-stx for that. The explorer view seems not to distinguish between delegated and stacked tokens.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:13 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
aulneaucommented, Mar 9, 2021

Just a note, this is really referencing a larger issue that we have:

Events that are related to a given address are not currently displayed on their pages. This is no different than showing when an address has received STX from a send-many type contract. I personally think it’s important to find a way to display these, even with the potential spam vectors.

I’m not sure we’d want this behavior. It would allow for a mild spam attack where someone could write a spam.clar contract that could be called with a bunch of victim addresses, over and over, making their wallet or explorer address page only display useless/spam txs.

This seems to be more of a UX problem. For example we could collapse all events from a given contract, allow pagination, expanding, searching, allow filtering, etc. It seems to be a separate (but important) issue. Token spam will be real too. I can mint 1 billion NFTs and send them all to you, but I don’t think that means we should not display or give the ability to view all related events for an address.

See these related issues: https://github.com/blockstack/explorer/issues/383 #373 https://github.com/blockstack/explorer/issues/386 #365 #364

1reaction
friedgercommented, Mar 13, 2021

Note, that delegate-stack-stx and other functions can be called by smart contracts like pool-tool or xverse-pool. Therefore, handling the locking events better is not only about the delegate-stack-stx contract call, but more on any tx that emits the lock event.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Label "0 STX" genesis block transaction · Issue #383 - GitHub
As initially discussed on #377, all addresses with Stacks 1.0 activity appear to have received a "0 ... Show delegate-stack-stx event on address...
Read more >
2.1.1.5 - Address Book: Introduction to Event Delegation
Our new feature will allow us to hide and show information about a specific contact. To add this functionality, we'll explore two new...
Read more >
Weekly Stacks 2.0 Progress Thread - testnet
The Stacks 2.0 Testnet Status page displays realtime health and history of the network. Note : We've bumped up the block interval from...
Read more >
The Stacks 2.0 blockchain implementation - RustRepo
The address field is the Stacks testnet address, and the amount field is the number of microSTX to grant to it in the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found