If you have not creat Account or locked the Map, you can quickly vote through the quicklyVote command, which integrates the createAccountlockedMAP
Please note that you can only use this command once. No matter whether the command succeeds or fails, this command only packs and combines createAccountlockedMAP commands and does not have the nature of reuse.
USAGE
$ ./marker quicklyVote
OPTIONS
--keystore your keystore file path
--rpcaddr HTTP-RPC server address
--target Your target validator address
--voteNum Your number of votes
--lockedNum In order to vote to validator,
you will lock enough `MAP`.
EXAMPLES:
./marker vote
--rpcaddr http://127.0.0.1:7445
--keystore ./UTC--2021-09-08T08-00-15.473724074Z--1c0edab88dbb72b119039c4d14b1663525b3ac15
--target "0x81f02fd21657df80783755874a92c996749777bf"
--voteNum 10000
--lockedNum 10000
RESPONSE:
success
or
Failed
USAGE
$ ./marker activate
OPTIONS
--keystore your keystore file path
--rpcaddr HTTP-RPC server address
--target Your target validator address
you can query it from
`getTotalVotesForEligibleValidators`
command
EXAMPLES:
./marker activate
--rpcaddr http://127.0.0.1:7445
--keystore ./UTC--2021-09-08T08-00-15.473724074Z--1c0edab88dbb72b119039c4d14b1663525b3ac15
--target "0x81f02fd21657df80783755874a92c996749777bf"
RESPONSE:
success
or
Failed
RevokePending 撤銷等待
撤銷 validator 的 value 未決投票。
此命令會將有投票權的 MAP 變成無投票權的 MAP。
增加與您之前在 LockedGold 合約中註冊的帳戶相對應的總數和無投票權的數量。
減少“選舉”合約中驗證者的總票數和未決票數。
USAGE
$ ./marker revokePending
OPTIONS
--keystore your keystore file path
--rpcaddr HTTP-RPC server address
--target Your target validator address
you can query it from
`getTotalVotesForEligibleValidators`
command
--lockedNum The `MAP` that you want to revoke from your penging votes for validator
EXAMPLES::
./marker revokePending
--rpcaddr http://127.0.0.1:7445
--keystore ./UTC--2021-09-08T08-00-15.473724074Z--1c0edab88dbb72b119039c4d14b1663525b3ac15
--target "0x81f02fd21657df80783755874a92c996749777bf"
--lockedNum 10000
RESPONSE:
success
or
Failed
RevokeActive 撤銷激活
撤銷對“驗證者”的“價值”有效投票
此命令會將有投票權的 MAP 變成無投票權的 MAP。
增加與您之前在 LockedGold 合約中註冊的帳戶相對應的總數和無投票權的數量。
減少“選舉”合約中驗證者的總票數和有效票數。
USAGE
$ ./marker revokeActive
OPTIONS
--keystore your keystore file path
--rpcaddr HTTP-RPC server address
--target Your target validator address
you can query it from
`getTotalVotesForEligibleValidators`
command
--lockedNum The `MAP` that you want to revoke from your active votes for validator
EXAMPLES:
./marker revokeActive
--rpcaddr http://127.0.0.1:7445
--keystore ./UTC--2021-09-08T08-00-15.473724074Z--1c0edab88dbb72b119039c4d14b1663525b3ac15
--target "0x81f02fd21657df80783755874a92c996749777bf"
--lockedNum 10000
RESPONSE:
success
or
Failed