Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
0
votes
2
answers
682
views
How to loop a multi_index table in a smart contract
I have very simple table items with the following structure:
struct [[eosio::table]] item
{
uint64_t id;
uint64_t state;
string description;
uint64_t primary_key() con …
0
votes
1
answer
528
views
How to upgrade a multi_index table in a smart contract
I have initially the following multi_index table:
struct [[eosio::table]] plastict
{
uint64_t id;
uint64_t type;
uint64_t primary_key() const { return id; }
};
typedef eosio::multi_index …
1
vote
Add multiple permissions to account in EOS
I have found a working solution, using different syntax:
cleos set account permission market active market --add-code
cleos set account permission market active token --add-code
account permissions …
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","weigh …
0
votes
0
answers
96
views
Make a transfer from contract code on behalf of user [duplicate]
Installed: eosio: 1.7.3; eosio.cdt: 1.6.1
Implemented and locally deployed: sample market contract and eosio.token contract. …