#0
nonstandard
0.00004000 BSV
Q!6Ê'mn¢ýÐã/*?ä]M µÂÉ?úDsb§Ó´óQ®M½{"__cls":"class Vote {\n constructor(to, distributor, name, numberOfVotes, can1name, can1PK, can2name, can2PK, can3name, can3PK) {\n this.votes = numberOfVotes\n this._owners = [to]\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()\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 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":["0236ca276d6ea2fdd0e32f2a9c3fe45dad4da0b5c213c93ffa44927362a7d3b4f3","0236ca276d6ea2fdd0e32f2a9c3fe45dad4da0b5c213c93ffa44927362a7d3b4f3","VoterVotey",500000,"Kanye","02751d1d95e47482bb340f94f899780601f4264b44882d2587472f427da3128acb","Julia","02da0a2fe38669fbfe22778600a8a104a7b264c6de7e8c4ec514af9c78e5a556a7","Jimmy","021bafd83965136234dd470fc32223fef60456908217e3bea1221f7a4f54b8b62d"],"__func":"constructor"}u
https://whatsonchain.com/tx/cc0617c8cd63e5003c8564dc290e8d1ab9a5d4153bb75269b73baa897fac3d6f