All Questions
Tagged with smart-contract action
7 questions with no upvoted or accepted answers
2
votes
1
answer
160
views
Execution order of actions
I want to implement "continious minting" which means first I should call issue, and only then transfer.
My contract has a functionality of eosio.token . I call create to create my token with ...
1
vote
1
answer
484
views
Transfer tokens inside a smart contract from an account to another account
I need to write a simple function that would send tokens using a different account action. Exactly the same situation as in these questions: one and two
But I have to use not eosio.token contract but ...
1
vote
1
answer
625
views
How to solve !action_type.empty(): Unknown action hi in contract hello?
I am following this doc: https://developers.eos.io/eosio-home/docs/your-first-contract.
This is the hello.cpp contract code which is successfully deployed:
#include <eosiolib/eosio.hpp>
#...
1
vote
0
answers
106
views
How to solve !action_type.empty(): Unknown action hi in contract hello?
I am following this doc: https://developers.eos.io/eosio-home/docs/your-first-contract.
This is the hello.cpp contract code which is successfully deployed:
#include <eosiolib/eosio.hpp>
#...
0
votes
0
answers
111
views
How to generate unique string id from given array of strings in smart contract?
I am writing an EOS smart contract in which need to write the action to generate a unique id from the given array. Array consisting of n number of string elements (UUID). Suppose I pass 10 strings to ...
0
votes
1
answer
162
views
What should I do to specify an optional action parameter for cleos?
I wrote an action that has an optional parameter, as something like:
[[eosio::action]] void foo(..., const std::optional<name>& recipient);
Then in the generated .abi, it is represented as:...
0
votes
0
answers
62
views
How can i Improve my code (Transaction took too long)
I have Enough CPU and NET
i have staked 13 EOS for each and still unable to run the code.
Please suggest if i can improve anything.
IS there any problem of table index
Got this from developer.io
if ...