Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

ecd72cd34f702f725ae6281bfbaaa285922fe1f2329809510af2f778248a7121
Timestamp (utc)
2020-11-05 20:54:00
Fee Paid
0.00000963 BSV
(
0.09939342 BSV
-
0.09938379 BSV
)
Fee Rate
490.5 sat/KB
Version
1
Confirmations
338,036
Size Stats
1,963 B

2 Inputs

Total Input:
0.09939342 BSV
  • Q!Ÿr+…Äræˆéé* Ž>ùý)q;4„¤Ñëõ è?¹Q®M’{"__cls":"class Election {\n constructor(\n to,\n distributor,\n title,\n numberOfVotes,\n can1name,\n can1PK,\n can2name,\n can2PK,\n can3name,\n can3PK\n ) {\n this.contractTypeID = \"f7469129-5ea8-44ef-8860-1ed6687000b9\";\n this.contractTypeName = \"Election\";\n this.contractTypeVersion = \"0.0.1\";\n this.originalChannel = \"Clack.votes\";\n this.votes = numberOfVotes;\n this._owners = [to];\n this.title = title;\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) {\n throw new Error(\"There are not enough votes to distribute\");\n }\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 Election(\n to,\n this.distributor,\n this.title,\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/undefined

3 Outputs

Total Output:
0.09938379 BSV
  • Q!Ÿr+…Äræˆéé* Ž>ùý)q;4„¤Ñëõ è?¹Q®Lƒ{"__index":{"obj":0,"res":1},"__args":["03c7e11e16a61054fd2fbd860b53d8cd1f47afb1d1b7ddf6e91e4398f02bd02720"],"__func":"distribute"}u
    https://whatsonchain.com/tx/ecd72cd34f702f725ae6281bfbaaa285922fe1f2329809510af2f778248a7121
  • Q!Çá¦Tý/½† SØÍG¯±Ñ·ÝöéC˜ð+Ð' Q®M’{"__cls":"class Election {\n constructor(\n to,\n distributor,\n title,\n numberOfVotes,\n can1name,\n can1PK,\n can2name,\n can2PK,\n can3name,\n can3PK\n ) {\n this.contractTypeID = \"f7469129-5ea8-44ef-8860-1ed6687000b9\";\n this.contractTypeName = \"Election\";\n this.contractTypeVersion = \"0.0.1\";\n this.originalChannel = \"Clack.votes\";\n this.votes = numberOfVotes;\n this._owners = [to];\n this.title = title;\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) {\n throw new Error(\"There are not enough votes to distribute\");\n }\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 Election(\n to,\n this.distributor,\n this.title,\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/ecd72cd34f702f725ae6281bfbaaa285922fe1f2329809510af2f778248a7121