Tuesday, 16 August 2016

$NXT INVESTMENTS: TRACK #DIVIDEND PAYMENTS #HOWTO TRACKING

Note I suggest reading the entire page before choosing whether or not to trust the code; four snippets, two plugins & a hint on code status / problem & resolution if you're thinking of issuing ASSETS that pay DIVIDENDS ... key intel ...

-------------------
Last Edit: June 15, 2015, 11:01:18 am by NxtSwe 

Dividend plugin
June 15, 2015, 10:08:13 am

Dividend plugin

Features

Show recieved NXT dividend transactions (the core type, not those payed by Dividend+)
Phased transactions safe
Shows full history (all dividend payments) to current accout
How to download?
Download link: https://github.com/libertyswede/dividend-plugin/archive/v1.01.zip
Unzip, and move the "dividend" folder to your nxt\html\ui\plugins - folder.

About
Have you ever wondered if you recieved any dividend from your assets?
Have you ever known that the asset has payed out a dividend, but you are not sure how much you got?
Then this plugin is for you!
It will show all dividend payments recieved by the current logged in account, and a summary showing the count & sum of all recieved dividend payments.

Version History

v1.01, Added summary box and minor fixes


v1.0, Initial release



It will need to process current accounts entire asset trade & asset transfer history to calculate number of shares at any given height.
So for some heavy trading users loading the list can take a minute or two from logging in to the client.
As an example, loading an account with 23'000 asset transfers took ~40 seconds on my local machine.

Please note that this plugin will only show the native dividend transaction (type=2, subtype=6), and NOT the ones payed by Dividends+ from MGW/superNET.

-------------------------
"whatnxt
Hero Member
*****
Offline Offline
Posts: 502
View Profile
Karma: +48/-8

Re: Dividend plugin
June 16, 2015, 01:47:12 am
#7
Quote from: chevdor on June 15, 2015, 09:24:05 pm
I understand the problem and I realise that unfortunately, it seems that 99% of all dividend payments are done thru ordinary payments for some reasons...

Time for everyone to get back to the Asset Issuers and tell them they can use native dividends safely now.
No more complaints about no dividend sent. No more accusations and no more arguments.
NXT-UAPC-3T43-FFT6-HW5BZ

----------
 + $NXT ISSUER #HOWTO

Re: Dividend plugin
June 16, 2015, 05:17:39 am
#8
Quote from: whatnxt on June 16, 2015, 01:47:12 am
Quote from: chevdor on June 15, 2015, 09:24:05 pm
I understand the problem and I realise that unfortunately, it seems that 99% of all dividend payments are done thru ordinary payments for some reasons...

Time for everyone to get back to the Asset Issuers and tell them they can use native dividends safely now.
No more complaints about no dividend sent. No more accusations and no more arguments.

Well, there are pro's and con's to each way of doing it.
The biggest advantage of the native dividend tx is that you only pay 1 NXT in fee, while the Dividend+ means you have to pay 1 NXT per recipient. On other hand, you can personalize the message with the , and you don't have to use a plugin to be able to see that you received something."

--------------

ANOTHER (simplier plugin; same idea)

Re: Dividend plugin
June 15, 2015, 02:35:00 pm
#2
Nice one, I made a similar one that charts the results without showing you the details (https://nxtforum.org/index.php?topic=9373.0).

I like your solution as well. I will check it out.
Thanks for sharing!


Sources

Latest Top Stories -->> http://www.occupythebanks.com 

No comments :

Post a Comment

Only members (obviously) can comment; no moderation; direct to page.

Note: only a member of this blog may post a comment.

Popular Posts - All Time