Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

645520bc2ff3e0f068b042004b51dcb01f49471f3d71e774598f6e5af63756bd
Timestamp (utc)
2020-10-16 23:20:01
Fee Paid
0.00000967 BSV
(
0.00009033 BSV
-
0.00008066 BSV
)
Fee Rate
489.8 sat/KB
Version
1
Confirmations
341,686
Size Stats
1,974 B

2 Inputs

Total Input:
0.00009033 BSV
  • Q!ÔVéDùþE-†QöFæ ó»ê{vÕ-VÔLÝ`RÔ_í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() {\n console.log()\n this._owners = [this.cand1PK]\n }\n \n voteB() {\n this._owners = [this.cand2PK]\n }\n \n // voteC() {\n // this._owners = [this.cand3PK]\n // }\n }","__index":{"obj":0},"__args":["03d456e944f9fe452d861351f646e6a0f3bbea7b76d52d56d44cdd1b6052d45fed","03d456e944f9fe452d861351f646e6a0f3bbea7b76d52d56d44cdd1b6052d45fed","x3",1,"Candidate 1","02f7fe93a4946489bed069ae735da31ad0fc53c69e1f754e899a17d8d78b787c8c","Candidate 2","03c6625c07927fa17287e2e5b187567275fcc1200dbd1325c6b4fae72b47c97bde"],"__func":"constructor"}u
    https://whatsonchain.com/tx/undefined

3 Outputs

Total Output:
0.00008066 BSV
  • Q!ÔVéDùþE-†QöFæ ó»ê{vÕ-VÔLÝ`RÔ_íQ®Lƒ{"__index":{"obj":0,"res":1},"__args":["0250786eb6879fa68a39a57dc3922cbb50e66ceddcb227187d267ac7ef0302b45d"],"__func":"distribute"}u
    https://whatsonchain.com/tx/645520bc2ff3e0f068b042004b51dcb01f49471f3d71e774598f6e5af63756bd
  • Q!Pxn¶‡Ÿ¦Š9¥}Ò,»Pælíܲ'}&zÇï´]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() {\n console.log()\n this._owners = [this.cand1PK]\n }\n \n voteB() {\n this._owners = [this.cand2PK]\n }\n \n // voteC() {\n // this._owners = [this.cand3PK]\n // }\n }"}u
    https://whatsonchain.com/tx/645520bc2ff3e0f068b042004b51dcb01f49471f3d71e774598f6e5af63756bd