Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

25faefe93b329a07eeee97d51da634ead49f1be396805738cffd02a95ebdefea
Timestamp (utc)
2020-10-16 00:58:01
Fee Paid
0.00000798 BSV
(
0.09968796 BSV
-
0.09967998 BSV
)
Fee Rate
487.7 sat/KB
Version
1
Confirmations
336,643
Size Stats
1,636 B

2 Inputs

Total Input:
0.09968796 BSV
  • Q!OlÈÃ"fß¡ý¢v6eÜ%žèì4aâŽÞ³3Vm•Q®MÁ{"__cls":"class Vote {\n constructor(to, distributor, name, numberOfVotes, can1name, can1PK, can2name, can2PK //, \n // can3name, can3PK\n ) {\n this.votes = numberOfVotes;\n this._owners = [to]; // name of the election\n\n this.name = name;\n this.can1name = can1name;\n this.can2name = can2name; // this.can3name = can3name\n\n this.cand1PK = can1PK;\n this.cand2PK = can2PK; //this.cand3PK = can3PK\n\n this.distributor = distributor;\n }\n\n distribute(to) {\n if (this.votes < 1) {\n throw new Error(\"There are not enough votes to distribute\");\n }\n\n if (this._owners[0].toString() !== this.distributor.toString()) {\n throw new Error('You cannot send your vote to another person.');\n }\n\n this.votes -= 1;\n return new Vote(to, this.distributor, this.name, 1, this.can1name, this.cand1PK, this.can2name, this.cand2PK);\n }\n\n voteA() {\n console.log();\n this._owners = [this.cand1PK];\n }\n\n voteB() {\n this._owners = [this.cand2PK];\n } // voteC() {\n // this._owners = [this.cand3PK]\n // }\n\n\n}","__index":{"obj":0},"__args":["024f6cc8c32266dfa101fda27636651fdc259ee81bec340f61e28edeb333566d95","024f6cc8c32266dfa101fda27636651fdc259ee81bec340f61e28edeb333566d95","Test Election",1,"Candidate 1","02f7fe93a4946489bed069ae735da31ad0fc53c69e1f754e899a17d8d78b787c8c","Candidate 2","03c6625c07927fa17287e2e5b187567275fcc1200dbd1325c6b4fae72b47c97bde"],"__func":"constructor"}u
    https://whatsonchain.com/tx/undefined

3 Outputs

Total Output:
0.09967998 BSV
  • Q!OlÈÃ"fß¡ý¢v6eÜ%žèì4aâŽÞ³3Vm•Q®Lƒ{"__index":{"obj":0,"res":1},"__args":["0257d7d3968646dd53ca2488620300c9ddad3f6bd63f651e24899c6edfb6b83394"],"__func":"distribute"}u
    https://whatsonchain.com/tx/25faefe93b329a07eeee97d51da634ead49f1be396805738cffd02a95ebdefea
  • Q!W×Ӗ†FÝSÊ$ˆbÉÝ­?kÖ?e$‰œnß¶¸3”Q®MI{"__cls":"class Vote {\n constructor(to, distributor, name, numberOfVotes, can1name, can1PK, can2name, can2PK //, \n // can3name, can3PK\n ) {\n this.votes = numberOfVotes;\n this._owners = [to]; // name of the election\n\n this.name = name;\n this.can1name = can1name;\n this.can2name = can2name; // this.can3name = can3name\n\n this.cand1PK = can1PK;\n this.cand2PK = can2PK; //this.cand3PK = can3PK\n\n this.distributor = distributor;\n }\n\n distribute(to) {\n if (this.votes < 1) {\n throw new Error(\"There are not enough votes to distribute\");\n }\n\n if (this._owners[0].toString() !== this.distributor.toString()) {\n throw new Error('You cannot send your vote to another person.');\n }\n\n this.votes -= 1;\n return new Vote(to, this.distributor, this.name, 1, this.can1name, this.cand1PK, this.can2name, this.cand2PK);\n }\n\n voteA() {\n console.log();\n this._owners = [this.cand1PK];\n }\n\n voteB() {\n this._owners = [this.cand2PK];\n } // voteC() {\n // this._owners = [this.cand3PK]\n // }\n\n\n}"}u
    https://whatsonchain.com/tx/25faefe93b329a07eeee97d51da634ead49f1be396805738cffd02a95ebdefea