Newest Questions

0 votes
2 answers
45 views

Get Action Index (or contract) from inside notification

Is there a way to get the index (ordinal) of the current action that is being processed? If you could access apply_context you could do get_action_id() but afaik that isn't exposed inside an action. ...
NKCSS's user avatar
  • 101
0 votes
1 answer
38 views

What does FC mean?

When I see EOSIO log errors, there are many things that start with FC. By the way, what exactly does prefix "FC" mean here? ex) FC_DECLARE_DERIVED_EXCEPTION( chain_type_exception, ...
Jun's user avatar
  • 1
0 votes
1 answer
31 views

Can anyone give me a copy of the latest token contract code?

The old version doesn't work, so I want to request a new version of the contract code
YYYQQQ's user avatar
  • 1
0 votes
2 answers
58 views

How to declare a table outside of its contract-class?

As we know from the documentation, a table must be initialized as shown below: class [[eosio::contract]] helloworld: public eosio::contract { public: helloworld(eosio::name receiver, eosio::name ...
serghd's user avatar
  • 11
0 votes
1 answer
42 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
23 views

Efficency of Actions

I am new to smart contracts, and I am developing a smart contract for a game. I am trying to understand if the smart contract that I created is efficient or not. I have deployed the smart contract on ...
luca gualandi's user avatar
0 votes
1 answer
51 views

How to get name of account which is processing action recent in contract?

I need to authorize with admin table of contract. but I could not account name which is processing action of contract. Let me know about any eos function to get account name, if anyone know well. ...
Victor's user avatar
  • 1
0 votes
1 answer
79 views

Adding Ricardian Clause

I am new to eosio and so far I have been learning using EOS Studio. I have come to the point where I would like to be able to write some Ricardian Clauses in the abi file but EOS Studio does not seem ...
vision_m's user avatar
0 votes
1 answer
143 views

Can't implement kv_table in smart contract

I'm trying to implement kv_table in my smart contract. Here is my sample code. #include <eosio/eosio.hpp> #include <eosio/system.hpp> #include <eosio/time.hpp> #include <string>...
Boni's user avatar
  • 21
0 votes
1 answer
81 views

Iterating a table by primary key greater than x and secondary key == y

How does one go about iterating a table for the next largest primary key in a table that also has a specific secondary value? Values to iterate with: uint64_t last_key_known == 1652645054; name ...
DaCryptonaut's user avatar
0 votes
1 answer
63 views

how can my on_notify trigger calls contract actions (permisson issue)

I need to write a contract that automaticaly mint nfts when tokens are being transferred. So i have my : [[eosio::on_notify("*::transfer")]] void logdeposit(name from,name destination, ...
hjiul's user avatar
  • 1
0 votes
1 answer
47 views

how to get cpu usage of prev. actions in contract call?

Is it possible to figure out before transaction is completed, how much CPU an action in a smart contract will use? E.G. I make transaction with X actions + call to my smart - contract. Is possible to ...
Apepenkov's user avatar
  • 109
0 votes
1 answer
45 views

How to return all/multiple tokens owned by an account?

How do you return the balance of multiple tokens for an account in a single call? I'm using get_currency_balance to return the balance of a single token: POST https://eos.greymass.com/v1/chain/...
Yeti's user avatar
  • 3
0 votes
1 answer
19 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
181 views

How do I connect Wombat Wallet to my Dapp

I'm trying to integrate the Wombat wallet into our DApp. I was told the code is similar to integrating Anchor wallet to a DApp. Can anyone provide proper code or instructions?
Just Solid's user avatar

15 30 50 per page