Reading Assignment - EOS Basics

  1. An action is an operation within the transaction. They can be either explicit or implicit.
  2. An explicit action is one that is specifically called to execute. An Implicit action is one that is executed because an explicit action requires it to be executed.
  3. Action is a specific operation whereas a transaction is made up of multiple actions. A transaction can be rolled back and the state will be reset to what it was before any actions in the transactions were run.
  4. The transaction receipt is a summary of all the actions that happened or didn’t happen. It includes the cpu and network cost to run it. It includes the overall status of the transaction.
1 Like

What’s an action?

An action is a behavior within a smart contract. It executes within a decentralized application.

What’s the difference between explicit actions and implicit (or inline) actions?

1.Explicit actions are a list of actions which form a transaction. They contain the payload data which gets pushed into the transaction.
2. Implicit actions are generated as a result of a caller explicit action and need to be completed before the caller action can continue.

What’s the difference between an action and a transaction?

  1. Actions contain information to validate whether it has information to execute based on permission levels of the actors specified.
  2. Transactions contain the transaction headers, transaction extensions and a list of actions that make up the whole transaction.

What is a transaction receipt and what does it mean to receive it?

A transaction receipt contains status info on whether a transaction executed or not, whether it failed or whether it got delayed. it also sumarizes the cpu and net storage billed. To receive a receipt means it gets pushed to a signed block

1 Like
  1. What is an action ?
    From a C++ coding perpsective:
    A SC ( Smarct Contract) is a derived class and a Public Function to interact with is an ACTION.

2)What’s the difference between explicit actions and implicit (or inline) actions ?

Both are present in the code of the Smart Contract.
The distinction comes when a transaction ( collection of one or many actions ) is created by the EOSIO application.
a)Explicit : The action will appear “explicitely” in a signed transaction.
b)Implicit: it is a "side effect"of an Explicit action but it is not included a transaction propagated to the Network.

3)What’s the difference between an action and a transaction ?
A Transaction is a collection of at least one Action.

4)What is a transaction receipt and what does it mean to receive it ?
When a client submits a transaction to a node it receives a return code including, if successful, a transaction id.

1 Like

1 Like

They are behavior in a smart contract.

Explicit actions are recorded with transactions in the block, while implicit actions are not stored with tx in the block.

Actions are behaviors in smart contract, while transactions are groups of actions in dapp.

It is the status of the transactions after doing all the validations whether executed, delayed, failed…etc.

1 Like
  1. What’s an action?
    An action is one single (atomic) operation executed in the context of a smart contract.

  2. What’s the difference between explicit actions and implicit (or inline) actions?
    Explicit actions: are included in the list of actions that form a transaction and can contain payload data
    Implicit actions: are not included in the transactions propagated through the network

  3. What’s the difference between an action and a transaction?
    An action is a single operation. A transaction includes a list of actions.

  4. What is a transaction receipt and what does it mean to receive it?
    A transaction receipt is finally created and pushed into the signed block, along with other transaction receipts included in the block. The transaction receipt represent the result of the transaction (executed, unexecuted, failed, deferred, expired, etc.), including the actual amount of CPU billed in microseconds, and the total NET storage used. Receiving it mean that the transaction has entered the finalization stage.

1 Like
  1. What’s an action?
    Single operation with in a smart contract.
  2. What’s the difference between explicit actions and implicit (or inline) actions?
    Explicit is the main action that is executed and that contains the information list (Payload) of receiver account, list of actors, action data and action name. And stored in the blockchain. Implicit is executed because of the explicit action requires, side affect and not stored in the block.
  3. What’s the difference between an action and a transaction?
    Action is a one operation and transaction is a group of single actions/ operations.
  4. What is a transaction receipt and what does it mean to receive it?
    Summary of the actions of the transactions and status / results of actions, along with cpu bill and memory/NET storage. transaction is accepted by a node but not validated by the other 20 nodes.
1 Like
  1. Actions define atomic behaviors within a smart contract.

  2. Explicit actions, are present in a signed transaction, Implicit (inline) actions, which are created as a side effect of processing a transaction.

  3. Actions define atomic behaviors within a smart contract while at a higher level, transactions define groups of actions that execute atomically within a decentralized application.

  4. After all action receipts are generated for the transaction, a transaction receipt is finally created and pushed into the signed block, along with other transaction receipts included in the block. The transaction receipt summarizes the result of the transaction (executed, unexecuted, failed, deferred, expired, etc.), including the actual amount of CPU billed in microseconds, and the total NET storage used

1 Like
  • An action is the smallest defined behaviour created on the blockchain.
  • An explicit action is specified in a transaction, an implicit action is an action caused as a side effect, but not explicitly called out.
  • A transaction is an atomic list of actions and a header that describes the transaction, including necessary meta information.
  • A transaction receipt is the result of the transaction, and it means that all the steps in the transaction have been finalised (including the possibility of failure).
1 Like
  1. What’s an action?
    An action is a single operation

  2. What’s the difference between explicit actions and implicit (or inline) actions?
    Explicit actions are included in the actual list of actions that form a transaction.
    Implicit actions are generated as a result of an explicit caller action with the transaction.

  3. What’s the difference between an action and a transaction?
    where an Action is a single operation a transaction is a collection of 1 or more Actions

  4. What is a transaction receipt and what does it mean to receive it?
    A transaction receipt is generated on completion of a transaction. To receive a transaction receipt means that the node has accepted without error. It does not mean that the transaction is confirmed.

1 Like

Action is an autonomous process of smart contract

Explicit actions are intended and programed to carry out transaction, when implicit actions are result of first action.

Transaction as whole has many components when action is a single process in a transaction along with may other actions.

When all the actions, processes, hashing and signing with private key is done. At that time transaction is pushed into signed block and so forth called Transaction Receipt.

1 Like
  1. What’s an action?

An action is the running of an authorized piece of code.
Transactions are made up of actions.
Actions can be either explicit or implicit.

  1. What’s the difference between explicit actions and implicit (or inline) actions?

Both explicit and implicit actions are in the contract code.
The difference is that explicit actions are recorded in the transaction whereas implicit actions are not.

  1. What’s the difference between an action and a transaction?

Actions make up a transaction.
In the case that there is a problem in the contract and there are actions that cannot be completed, these actions are reversed, reverting the contract to its previous state.

A transaction cannot be reversed.

  1. What is a transaction receipt and what does it mean to receive it?

“The transaction receipt summarizes the result of the transaction (executed, unexecuted, failed, deferred, expired, etc.), including the actual amount of CPU billed in microseconds, and the total NET storage used.”

To receive a transaction receipt means that all of the action receipts for the contract have been generated. It will tell you whether the transaction was completed or failed and how much it cost.

1 Like

What’s an action?
Atomic behavior within a smart contract.

What is the difference between explicit and implicit action?
Explicit action: Present at signed transaction, lost of actions that make up transactions, contain actual payload data if applicable
Implicit action: Side effect from processing a transaction, perform an operation for the explicit action to continue

Difference between action and transaction
Action: one operation
Transaction: several operations (a collection of actions) Creation signing validation execution

What is a transaction receipt and what does it mean to receive one?
A transaction receipt summarizes the result of the transaction including CPU amount billed in microseconds and NET storage used. Once all action receipts are generated for the transaction a transaction receipt is generated and pushed into the sign block this occurs once the transaction is being finalized.

2 Likes

1, What’s on action: Behaviors in a contract that execute atomically within a decentralized application. All have to succeed in order to be finialized or it will fail.

  1. What’s the between explicit action an implicit action: Explicit action means you give minimil permission. If not, it will default to an implicit action (action predetermined by code on the EOSIO software.

  2. What’s the difference between an action and a transaction: Actions are actual behaviors of the contract while transaction are typically created at the application level.

  3. What’s a transaction receipt and what it means to receive it: After all the actions included in the transaction are done it enters the finial stage where you will receive the outcome. complete, soft fail, and hard fail.

1 Like

1. What’s an action?
Actions define behavior in a smart contract

2. What’s the difference between explicit actions and implicit (or inline) actions?
Explicit actions are written out in the code.
Implicit actions are created as a side effect of the explicit action processing and work with the same scope and permissions.

3. What’s the difference between an action and a transaction?
An action happens within a Tx. A Tx ends up on the blockchain and is made up of explicit actions.

4. What is a transaction receipt and what does it mean to receive it?
It summarizes the result of the transaction.
It means all actions and their results were pushed into a signed block.

1 Like
  1. What’s an action?
    => an atomic behavior within a smart contract. As a group of actions, executed in a predefined order must all succeed to not rollback.
  2. What’s the difference between explicit actions and implicit (or inline) actions?
    => Regular / Explicit => part of list that form the transaction and containing actual payload data.
    Implicit => required internal action within a transaction.
  3. What’s the difference between an action and a transaction?
    => Transaction contains a header (expiration time, blocknumber, block ID prefix, upper limits for CPU + network usage, soconds to delay), extensions and the actions.
  4. What is a transaction receipt and what does it mean to receive it?
    => It summarizes the result of the transaction, actual amount of CPU [microseconds] and NET storage used as a hash.
    When received it means to know the result of the transaction.
1 Like
  • What’s an action? An action is the running of an authorized piece of code.
    Transactions are made up of actions .
    Actions can be either explicit or implicit.
  • What’s the difference between explicit actions and implicit (or inline) actions? Explicit is what is included in the transaction and propagated through the network. The concensus will take note of explicit action. Inline is also in the transaction but I understand that is like taking the bus (explicit) implies a bus ticket (implicit). The tansaction won’t record that I bought a ticket.
  • What’s the difference between an action and a transaction?
    Actions are how a contract and an account communicate, where an action itself only represents a single operation and a transaction is a collection of one or more actions.
  • What is a transaction receipt and what does it mean to receive it?
    When a transaction is complete, a transaction receipt is created in the form of a hash. This only indicates that the node that you are communicating with has accepted the transaction, however it does not mean that it has been confirmed on the blockchain. It is not a proof for escalating a transaction, it is just a step more.
1 Like

1.) Actions define atomic behavior within a smart contract.
2.) Both explicit and implicit actions are involved with transactions. Explicit actions are present in signed TX’s, and implicit actions are created as a side effect of processing a TX.
3.) An action is what tells a smart contract how to behave, and a transaction is a cluster of actions.
4.) A action receipt is created after a transaction executes and is a signal that a transaction has finalized.

1 Like
  1. An action defines an atomic behaviors within a transaction.
  2. Explicit actions are present in a signed transaction, while implicit actions are created as a side effect of processing a transaction.
  3. A transaction defines groups of actions that execute atomically within a decentralized app. The transaction comes as a result of the displayed actions.
  4. The transaction receipt summarizes the result of the transaction (executed, unexecuted, failed, deferred, expired). Transaction receipts are received when all actions are completed and the transaction is finalized.
1 Like
  1. An action can be authorized by one or more actors previously created on the blockchain.
  2. Explicit actions are encoded as action instances before being pushed into the transaction while An implicit (inline) action is generated as a result of an explicit caller action within a transaction (or another inline action , if nested) that requires that implicit action to perform an operation for the caller action to continue
  3. Actions are how a contract and an account communicate, where an action itself only represents a single operation and a transaction is a collection of one or more actions.
  4. Transaction receipt summarizes the result of the transaction (executed, unexecuted, failed, deferred, expired, etc.), including the actual amount of CPU billed in microseconds, and the total NET storage used
1 Like