Author Topic: user issued bitassets dividend question  (Read 1806 times)

0 Members and 1 Guest are viewing this topic.

Offline clayop

  • Hero Member
  • *****
  • Posts: 2033
    • View Profile
    • Bitshares Korea
  • BitShares: clayop
Is there a snapshot tool for UIAs?
Bitshares Korea - http://www.bitshares.kr
Vote for me and see Korean Bitshares community grows
delegate-clayop

Offline yak

go through toast's recent posts and read about the balanceid of each UTXO that is NOT a address to send funds to but can be used to identify an address where you could send dividends to .. topic was opened by monsterer and is called sth with refund or so .. cant xpost atm

yup i think i've figured it out, i've tested it with bts and bitusd, now all i have to do is write something that can log all of the various send/receives of that specific asset in order to tally them up, then i can just send the right amount of whatever to the 'owner' of each
wallet_transfer_to_address 1 USD myaccount ownerspublicaddress
unless this is not the proper way to do it? (it worked, but not sure if there is a better way?)

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
go through toast's recent posts and read about the balanceid of each UTXO that is NOT a address to send funds to but can be used to identify an address where you could send dividends to .. topic was opened by monsterer and is called sth with refund or so .. cant xpost atm

Offline yak

Due to TITAN it is not possible to see which *user* owns specific assets.

But the assets are stored in the chain database with balance_ids, and these belong to an address. I. e. from a snapshot of the chain database you can compile a list of addresses and BLAH amounts and then pay out dividends to these addresses.

See also this thread: https://bitsharestalk.org/index.php?topic=13327.0

yea, i guess i should have clarified that i personally dont need to know the users, i just would need to know an address + balance and be able to send to them

thanks for the info reading that other link now ;)

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
Dividends are nothing else than "increasing the market cap" ... which can be performed by simply buying up your own assets on the market ..

future UIA will have features that allow to identify holders ...

Offline pc

  • Hero Member
  • *****
  • Posts: 1530
    • View Profile
    • Bitcoin - Perspektive oder Risiko?
  • BitShares: cyrano
Due to TITAN it is not possible to see which *user* owns specific assets.

But the assets are stored in the chain database with balance_ids, and these belong to an address. I. e. from a snapshot of the chain database you can compile a list of addresses and BLAH amounts and then pay out dividends to these addresses.

See also this thread: https://bitsharestalk.org/index.php?topic=13327.0
Bitcoin - Perspektive oder Risiko? ISBN 978-3-8442-6568-2 http://bitcoin.quisquis.de

Offline yak

Hey, I'm wondering if there is a way to set up an asset that pays out dividends to all of the people who have shares, based on how many shares they have?
for example if i have a user issued asset called BLAH that has 10,000 shares unevenly distributed to 5 users:
user1 6000
user2 1500
user3 1000
user4 1000
user5 500

is there a way to get this information by querying the bitshares client?