Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

Questions tagged [permissions]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
7 views

account permmison inside action

my code is authority auth{.threshold = 1,.keys = {{.key = key,.weight = 1}}, .accounts = {{.permission = {.actor = get_self(),.permission"eosio.code"_n},.weight = 1}}, ...
Almoveed Hussaini's user avatar
0 votes
1 answer
33 views

Purpose of max_inline_action_size?

What is the practical purpose of max_inline_action_size in global settings? I was attempting to create a contract that would be set with [email protected] / [email protected] active permissions ...
DaCryptonaut's user avatar
0 votes
1 answer
15 views

Can you stack wait delay threshold for a multi signature transaction?

If for example you have an account with a permission level that has: threshold of 11 11 accounts with 1 weight each 3 day delay with weight of 2 7 day delay with a weight of 4 Would you be able to ...
Nat's user avatar
  • 3,425
0 votes
1 answer
158 views

Building a contact in EOS Studio and getting eosio.code permissions when calling it

After deploying a contract built in EOS Studio ... on my call to another action where I have called 'permission_level()' ... I get a permission error "transaction declares authority '{"actor&...
Todd Vance's user avatar
0 votes
1 answer
85 views

Refunding impossible

I wanted to refund my eos manually, but unfortunately, I get the following error message: transaction declares authority '{"actor":"maczaykowski","permission":"...
Mario's user avatar
  • 1
0 votes
1 answer
207 views

Inline action call that requires get_self() auth possible?

There is a contract B with an action 'create' which uses require_auth( get_self() ). I would like to call that action from another contract A, is that even possible and if so - how? Contract b has ...
Eulinky's user avatar
  • 101
0 votes
1 answer
52 views

cleos: add auth level to account with specific key pair and limited permissions

Each EOS account has two key pairs: "@owner" and "@active". I want to add another key pair under the name "@limited" which I can use in an unsafe environment (VPS) to ...
mschoenebeck's user avatar
2 votes
1 answer
428 views

How to add "eosio.code" permission to an account on testnet?

I am trying to add a the "eosio.code" permission to an account on testnet. I am using the following command: cleos -u https://api.testnet.eos.io set account permission lsqkeotnnpyu active '{"...
Sarah_M's user avatar
  • 21
0 votes
2 answers
49 views

How to change permission when pushing an action?

Hello I successfully deployed my contract on the jungle testnet on the account rpstestacc13. However when I want to push an action it says that it is missing authority of rpstestacc13. polo@polo-...
justPolo's user avatar
0 votes
1 answer
225 views

Sent EOS to wrong Account From exchange Coinbase

We transferred funds from Coinbase to another coinbase account but the account name was mistyped due to autocorrect and funds went to an account called 'counbasebase' instead of the exchange '...
Vince's user avatar
  • 1
0 votes
1 answer
386 views

Setting eosio.code permission for contract account in eosjs

I am trying to set the eosio.code permission for my contract on account kbo2byvpkbiy (private blockchain). The reason I want to do this is calling eosio.token/transfer from within this contract. All ...
heinob's user avatar
  • 101
0 votes
1 answer
563 views

Error 3090003: Provided keys, permissions, and delays do not satisfy declared authorizations on Kylin

I've created a test account on Kylin, funded it from a faucet, bought RAM and deployed a contract. when I try to call a contract method I get the above error my call attempt is made using cleos and ...
ekkis's user avatar
  • 515
0 votes
1 answer
70 views

Error RPC ERROR 3090003: Provided keys, permissions, and delays do not satisfy declared authorizations, how to solve this error

1.abi_json_to_bin 2.unlock default wallet 3.get public_key lists,"EOS5CMpK8wH5MzFA3Vptb3RizKr5MLmEF7A4K9FhL4HSyVrVRT7o8" is one of them 4.make sure the public_key is related to the account ...
user3605's user avatar
0 votes
1 answer
71 views

Where in the code are eosio.prods permission set

where can I find the code in which eosio.prods permission are set? I couldn't find it in system_contract or producer_plugin. thx for any help!!
sinbad's user avatar
  • 99
2 votes
1 answer
91 views

What rights does a "Privileged" account have?

Is it possible for the "privileged" account to change account permissions on any account? What else can it do? Are the privileged permissions documented anywhere?
sparcusa's user avatar
1 vote
1 answer
605 views

Code examples for ONLY_BILL_FIRST_AUTHORIZER

Can someone please add code example or describe how to only bill first authorizer? I have tried but can't get it to work. Thanks!
Bjørn Omsland's user avatar
1 vote
1 answer
49 views

Is it possible to remove the keys/authorization from an Eos account for a fixed period of time only?

In particular, I'm looking for a solution that gives up control of the account and then gets it back after a given amount of time.
dtt9900's user avatar
  • 11
1 vote
4 answers
123 views

Is it posible to deny EOS transfers for Account?

Imagine I have account A and account B. Account A is the "owner" of B and A wants to deny EOS Transfers for Account B and allow all other Actions(that means A should have full "active" operations)? ...
DarDev's user avatar
  • 21
1 vote
1 answer
66 views

What are the permissions on the eosio.prods accounts used for

eosio.prods has the following permissions (see https://eosauthority.com/account/eosio.prods#keys): 15/21 active (controls the eosio account) 11/21 prod.major 8/21 prod.minor these are updated at ...
theblockstalk's user avatar
1 vote
1 answer
73 views

Can smart contract trigger some action on specified timestamp and change certain account balances?

Imagine I have a poll with specified timestamp for the end. At that point in time votes should be tallied and voters token balances should be adjusted in both directions (increase and decrease). How ...
Tigran Sahakyan's user avatar
0 votes
1 answer
194 views

Add multiple permissions to account in EOS

When I try to set a single permission, it is working fine: cleos --url https://jungle2.cryptolions.io set account permission market active '{"threshold": 1,"keys": [{"key": "MARKET PUBLIC KEY","...
vladich's user avatar
  • 11
0 votes
1 answer
66 views

Unable to publish to Kylin

I have been developing against a local node, for which I created a key-pair. Now that it's time to publish to the testnet, I've imported said private key into Scatter and linked it to the account to ...
ekkis's user avatar
  • 515
1 vote
1 answer
42 views

How to fetch linked permissions?

I'd like to see what actions my permissions are linked as a result of using linkauth. The v1/get_account info does not return this information. What other ways are there to look up what action a ...
cmichel - LearnEOS.dev's user avatar
1 vote
0 answers
35 views

How to view links between actions and permissions?

Currently I create permissions perm* for user user, and authorize it to push action action* to the code-containing account code like so: cleos set account permission user perm* PUBLIC_KEY active ...
LemmeTestThat's user avatar
1 vote
1 answer
116 views

Multi-signature Account with Wait Time

I want to create a shared hierarchical account using time delays and multi-sigs. My intention is to use a "wait" time delay in conjunction with a mutli-sig proposal. I want to require a multi-sig ...
telos nut's user avatar
1 vote
1 answer
53 views

Is it possible to lock publish contract with set permission?

Is it possible to setup a lock (multisig) for the command cleos set contract ? in order to request one or more signatures to deploy a contract ? cleos set action permission eosio eosio set ...
KrisKoin's user avatar
1 vote
1 answer
66 views

require_auth( user ) not working in HelloWorld

I ran through the hello world tutorial. First time I ran through using v1.6 of nodeos and it worked as advertised. Upgraded to v1.7 of nodeos and the require_auth(user) did not restrict user from ...
sparcusa's user avatar
0 votes
1 answer
53 views

What is the role of a claimer key in eosio account?

I have seen the owner key and active key but does anyone know, what is the use of the claim key?
sachin murali's user avatar
0 votes
2 answers
180 views

require_auth() not working as expected

I adapted the hello contract, expanding with require_auth() and added an additional account oliver that should be able to execute the action hashin on behalf of the contract owner doctest1. I adjusted ...
mikem's user avatar
  • 1
3 votes
1 answer
198 views

How do I set my smart-contract / account to "immutable"?

What's the correct cleos command to yield the active/owner permissions of a deployed contract to "eosio.code", exclusively?
Fabiana Cecin's user avatar
0 votes
1 answer
58 views

A way to decrease power of active and owner keys of account?

I'm reading this article: https://developers.eos.io/eosio-nodeos/docs/accounts-and-permissions It's allowed to add many owners to single EOS account, right? It's allowed to have many active keys for ...
Capacytron's user avatar
0 votes
2 answers
51 views

Referring to permissioned account within contract code?

I've created a table within a contract where I want to store user information. the .emplace() method's first parameter specifies the "scope" (I guess) for data to be stored and thus the user account ...
ekkis's user avatar
  • 515
2 votes
2 answers
341 views

Setting a key to NULL

Is it possible to change they key for a permission to an EOS public key equivalent of NULL? Such that you could in essence stop that permission from being used in the future? If so, what would be the ...
Phillip Hamnett - EOS42's user avatar
2 votes
1 answer
220 views

How to remove a key from account permissions?

When I imported eos account into Exodus wallet it automatically updated my account permissions and added a second active key. I want to remove this key from my account. Does anyone know how? ...
bitcoinerS's user avatar
1 vote
1 answer
55 views

In Eosbetdice contract, in the transfer action, why it is able to emplace a new row in this table?

In Eosbetdice contract, https://gitlab.com/EOSBetCasino/eosbetdice_public/blob/master/EOSBetDice.cpp#L193 The code of the contract in this line should be "eosio.token". I wonder why it doesn't get "...
feleio's user avatar
  • 121
0 votes
1 answer
35 views

How much does it cost to add a new permission to an account?

When adding a new key pair to an existing account, how much RAM, CPU, and NET is required?
Tyler J Kuhn's user avatar
2 votes
1 answer
489 views

Using transfer to send tokens within a smart contract results in "unable to find key"

This is my example code deployed on myaccount #include <eosiolib/eosio.hpp> #include <eosiolib/print.hpp> #include <eosiolib/currency.hpp> using namespace eosio; class ...
colin's user avatar
  • 267
2 votes
1 answer
69 views

How to auth the issue permission to another contract?

I created a token "ABC" from account "tokenabc" and deployed a airdrop contract "airdroptoken". And I hope that everyone who transfers EOS token to this contract will get some airdrop token "ABC". ...
liu Rick's user avatar
  • 101
3 votes
1 answer
382 views

How can multisig trigger an action in contract other than eosio.token contract?

Other than eosio.token contract how can we call the inline actions in contract from multisig contract. For example, I have a contracts namely mltisigmetup(with action meetup). Now I need a ...
Swapna's user avatar
  • 85
3 votes
1 answer
255 views

Issue setting permissions for use of eosio.token in smart contract

I have an action in a smart contract called submanager that I want to make use of the transfer action from eosio.token (I'm using eosio.cdt v1.3). ACTION subscribe(name from, name to, asset quantity,...
JubJubTumTum's user avatar
2 votes
2 answers
106 views

Confused about active and owner type accounts. What's a good example for a lay person to understand?

I read the documentation on active vs owner type accounts: Authorization and Permissions Permissions are arbitrary names used to define the requirements for a transaction sent on behalf of ...
Patoshi パトシ's user avatar
2 votes
1 answer
121 views

How to setup action access control?

Let's say contract-A has a couple of actions defined. If access to one of the contract-A's action, say action1(), needs to be controlled on account basis, how to do it? For example, only few ...
K K's user avatar
  • 21
1 vote
1 answer
25 views

What Data ownership really is in EOS?

All data of transactions can be view live as EOS is public , suppose i made a transaction on EOS block-chain this transaction belong to me but still people can see it. Here is my Question how this ...
Abdul Manan's user avatar
2 votes
1 answer
385 views

How do permissions on deferred transactions work?

I'm playing around with deferred transactions and encountered an oddity. Say, we have a contract deployed on contract, and an account account. contract has [email protected] as part of its active ...
cmichel - LearnEOS.dev's user avatar
1 vote
3 answers
168 views

I want to have permissioned data access over eos

Is it possible to have permissioned data access? Suppose I am having a multi_index table and whoever adds data to that table only can access the data because I am having a table storage and one ...
yash vadhvani's user avatar
1 vote
1 answer
235 views

Allow users to withdraw their tokens

In my contract I have an action which is supposed to allow users to collect the tokens they have accumulated. To do this I use: void transfer_token(account_name receiver, asset quantity, std::string ...
mbsff's user avatar
  • 93
2 votes
4 answers
361 views

Error in eosjs account creation on localnet

I am trying to create an account using eosjs in node.js. I am using : eos = Eos({keyProvider}); eos.transaction(tr => { tr.newaccount({ creator: 'eosio', name: '...
A.K.'s user avatar
  • 137
1 vote
1 answer
110 views

how can I implement recovery key thing in eos private network?

There are two keys associated with wallet 1st active and 2nd owner key. What if I forget this keys and want to recover how can I do that on a private network?
yash vadhvani's user avatar
7 votes
1 answer
583 views

Can we add the permission to access the table?

I know how to declare ,initialize and get,set values in a table .My question is Can we add permission to access the table to a particular user inside our smart contract ?
Nirdesh Kumar's user avatar
2 votes
1 answer
111 views

Advanced Account Permissions

Is it possible to configure permissions to protect an accounts EOS balance with one key (held in cold storage) while allowing tokens that are getting airdropped to this account to be transferred out ...
newprogrammer's user avatar