Questions tagged [authority]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
68 views

Multi index table asks an unusual permission to emplace new row

Problem I'm trying to emplace a new row in a multi-index table, but it tells me that I don't have the authotity of the row key name to do it. Code Multi-index table definition struct [[eosio::...
user avatar
4 votes
3 answers
333 views

What is the use of eosio.code?

Some major questions I have: What does eosio.code mean? When do we require eosio.code? Why it is not mentioned in the official EOSIO developer's documentation?
user avatar
4 votes
1 answer
259 views

How to create a separate EOS permission for voting using cleos

The goal is to have a new account permission called 'vote' that I can use for voting. If my key for that permission gets compromised I can simply replace it using my active permission. In the meantime ...
user avatar
  • 113
1 vote
1 answer
212 views

Question About Last Step in "The Ultimate End-to-End EOS dApp Tutorial Part 2"

I think the answer has something to do with giving the contract eosio.code authority: // example lets foo's contract have foo@active authority: cleos set account permission foo active '{"threshold": ...
user avatar
  • 3,405