Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

e4296569805ce23a0bf352d64cbeaab767aa9593d9ca61db466e363ad50fcc3e
Timestamp (utc)
2020-10-11 22:58:49
Fee Paid
0.00001024 BSV
(
0.00018963 BSV
-
0.00017939 BSV
)
Fee Rate
481.4 sat/KB
Version
1
Confirmations
339,517
Size Stats
2,125 B

3 Inputs

Total Input:
0.00018963 BSV
  • Q!¥ßÂ6OCýöŒX…ú¢… —þÉÐҚt×mͱQ®M{"__cls":"class Vote {\n constructor(to, distributor, name, numberOfVotes, \n can1name, can1PK, \n can2name, can2PK //, \n// can3name, can3PK\n ) {\n this.votes = numberOfVotes\n this._owners = [to]\n // name of the election\n this.name = name\n this.can1name = can1name\n this.can2name = can2name\n // this.can3name = can3name\n this.cand1PK = can1PK\n this.cand2PK = can2PK \n //this.cand3PK = can3PK\n this.distributor = distributor\n }\n \n distribute(to) {\n if (this.votes < 1){ throw new Error(\"There are not enough votes to distribute\")}\n if (this._owners[0].toString() !== this.distributor.toString()){\n throw new Error('You cannot send your vote to another person.')\n }\n this.votes -= 1\n return new Vote(to,\n this.distributor, \n this.name, \n 1,\n this.can1name,\n this.cand1PK,\n this.can2name,\n this.cand2PK,\n // this.can3name,\n // this.cand3PK\n )\n }\n \n voteA(publicKey) {\n this._owners = [this.cand1PK]\n }\n \n voteB(publicKey) {\n this._owners = [this.cand2PK]\n }\n \n // voteC(publicKey) {\n // this._owners = [this.cand3PK]\n // }\n }","__index":{"obj":0},"__args":["03a5dfc2364f43fdf6148c5885faa2852097fe7f191fc9d01bd29a74d71b6dcdb1","03a5dfc2364f43fdf6148c5885faa2852097fe7f191fc9d01bd29a74d71b6dcdb1","e2",5,"Candidate 1","035ff1aeb7b7005de09399162833b350d9df3d29d8919242971c9ee4f88cf3e531","Candidate 2","0284d65e58c7cabc723075e0d2fb41c6305acae4bceea16eaddb7f4f1e73a025a9"],"__func":"constructor"}u
    https://whatsonchain.com/tx/undefined

3 Outputs

Total Output:
0.00017939 BSV
  • Q!¥ßÂ6OCýöŒX…ú¢… —þÉÐҚt×mͱQ®Lƒ{"__index":{"obj":0,"res":1},"__args":["02b170df7b5a53332f5af44d1643d10eb53327d255b8c7bc2c3a4248fa8903b4e7"],"__func":"distribute"}u
    https://whatsonchain.com/tx/e4296569805ce23a0bf352d64cbeaab767aa9593d9ca61db466e363ad50fcc3e
  • Q!±pß{ZS3/ZôMCѵ3'ÒU¸Ç¼,:BHú‰´çQ®M¡{"__cls":"class Vote {\n constructor(to, distributor, name, numberOfVotes, \n can1name, can1PK, \n can2name, can2PK //, \n// can3name, can3PK\n ) {\n this.votes = numberOfVotes\n this._owners = [to]\n // name of the election\n this.name = name\n this.can1name = can1name\n this.can2name = can2name\n // this.can3name = can3name\n this.cand1PK = can1PK\n this.cand2PK = can2PK \n //this.cand3PK = can3PK\n this.distributor = distributor\n }\n \n distribute(to) {\n if (this.votes < 1){ throw new Error(\"There are not enough votes to distribute\")}\n if (this._owners[0].toString() !== this.distributor.toString()){\n throw new Error('You cannot send your vote to another person.')\n }\n this.votes -= 1\n return new Vote(to,\n this.distributor, \n this.name, \n 1,\n this.can1name,\n this.cand1PK,\n this.can2name,\n this.cand2PK,\n // this.can3name,\n // this.cand3PK\n )\n }\n \n voteA(publicKey) {\n this._owners = [this.cand1PK]\n }\n \n voteB(publicKey) {\n this._owners = [this.cand2PK]\n }\n \n // voteC(publicKey) {\n // this._owners = [this.cand3PK]\n // }\n }"}u
    https://whatsonchain.com/tx/e4296569805ce23a0bf352d64cbeaab767aa9593d9ca61db466e363ad50fcc3e