Distribute ether between tokens holders

i_svirini_svirin Member Posts: 4
edited May 2017 in Smart Contracts and Dapps
Hello everyone! As I think, I have standard issue, but can't find standard solution.. :smiley:
I have simple smartcontract, which emit some kind of tokens. Info about holders and their balanses saved in mapping(address => uint). I want to distribute some amount of ether between my tokens holders in proportions of their tokens. How can I do this? I think it is the bad idea to implement my own iterable "mapping", because using of this contract will be extremely expensive! Please, help! :smile:
Sign In or Register to comment.