Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [inline-action]

The tag has no usage guidance.

1
vote
0answers
24 views

cannot get latest state of table after modifying table in inline action

As shown with code below, I modify table in an inline action, and then want to get the latest data. But the data I get is not the latest. Why? void mycontract::myfunc() { action ( ...
0
votes
0answers
15 views

EOS Contract Communication - how to determine of request action failed or succeeded

I am making a smart contract that issues tokens to some accounts and calls an eosio.token contract to issue the said tokens. How will i know if the issue action succeeded or not?
1
vote
2answers
48 views

What is the difference between a method call and the use of SEND_INLINE_ACTION?

in looking at the code for eosio.token (https://github.com/EOSIO/eos/blob/master/contracts/eosio.token/eosio.token.cpp) the issue method calls the transfer method at the bottom, but instead of just ...
1
vote
0answers
40 views

Inline actions doesn`t show up in Jungle Testnet Monitor

On the Jungle testnet when I transfer tokens to somebody I can see the transaction in account history, but when I call contract action, which has inline transfer action, I can`t see it on Testnet ...
2
votes
1answer
162 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 ...
4
votes
1answer
180 views

Are inline actions asynchronous?

The docs say that Communication among contracts should be considered as occurring asynchronously. However, the description of inline communication given is Inline communication takes the form ...
4
votes
2answers
1k views

Require inline action be sent by contract, and not account

I have contractB trigger an inline action: /// @abi action void send() { action( permission_level{ _self, N(active) }, N(contractA), N(get), std::make_tuple( _self ) ...
3
votes
1answer
312 views

How to authorize inline action of another contract within a contract?

I deployed a contract omes.user. In the reguser(account_name user) action of contract omes.user I want to send an inline action to another contract eosio.token to issue some tokens to user. Here is ...
1
vote
1answer
399 views

Can we get all the actions from all blocks?

Somebody say we can get all the blocks through rpc, then we can get all the actions. But I found that in the block information, there're no inline actions, so many inline actions will lose, right?
4
votes
1answer
430 views

How to set up chain of permission levels for a user?

This is a great answer that describes the ways you can handle user permission levels for inline actions. According to that answer: This can be done a few ways (ordered from most risky for the user ...
4
votes
1answer
528 views

“dice” contract “withdraw” action problem

I wonder if anyone experienced a similar problem and managed to resolve it. I'm testing the "dice" contract on my local tesnet. I've setup up all necessary contracts and could deposit assets to the "...
2
votes
1answer
302 views

Are inline actions are executed in a separate transaction?

As it is stated here , Inline communication paragraph inline actions are supposed to be executed in the same transaction and inherit authorization from calling action. But when i do action.send ...
3
votes
1answer
318 views

Contract A makes an inline call to contract B. How can B determine that A is the one making the call?

Contract A calls an inline action on contract B via INLINE_ACTION_SENDER(...). How can contract B determine that it is being called by contract A?
2
votes
1answer
796 views

require_auth differs from the auth check of INLINE_ACTION_SENDER but how?

In a contract action I've got the following: require_auth(from); // NOTICE THIS LINE... INLINE_ACTION_SENDER(contract, transfer)( N(contract), {from, N(active)}, // ... AND THIS LINE. {...