- Phantasma Explorer -
Contract Information
Name | consensus |
Address | S3dL7oFN7z5kAJDPp5SsVAARET2t9aVBpPD3APNtNcH4MMK |
Contract Script
This a built-in chain contract.
View source code in Github.
View source code in Github.
Contract ABI
Methods
InitPoll(from:Object, subject:String, organization:String, mode:Enum, startTime:Timestamp, endTime:Timestamp, serializedChoices:Bytes, votesPerUser:Number): None |
SingleVote(from:Object, subject:String, index:Number): None |
MultiVote(from:Object, subject:String, choices:Object): None |
HasConsensus(subject:String, value:Bytes): Bool |
GetRank(subject:String, value:Bytes): Number |
Events
None.