You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: contracts/eosiolib/action.h
-13
Original file line number
Diff line number
Diff line change
@@ -58,12 +58,6 @@ extern "C" {
58
58
* require_auth(N(inita)); // Do nothing since inita exists in the auth list
59
59
* require_auth(N(initb)); // Throws an exception
60
60
*
61
-
* account_name code = current_receiver();
62
-
* print(Name(code)); // Output: eos
63
-
*
64
-
* eosio_assert(Name(current_receiver()) === "eos", "This action expects to be received by eos"); // Do nothing
65
-
* eosio_assert(Name(current_receiver()) === "inita", "This action expects to be received by inita"); // Throws exception and roll back transfer transaction
66
-
*
67
61
* print(now()); // Output: timestamp of last accepted block
68
62
*
69
63
* @endcode
@@ -104,13 +98,6 @@ extern "C" {
104
98
voidrequire_auth( account_namename );
105
99
boolhas_auth( account_namename );
106
100
107
-
/**
108
-
* Get the account which specifies the code that is being run
109
-
* @brief Get the account which specifies the code that is being run
110
-
* @return the account which specifies the code that is being run
111
-
*/
112
-
account_namecurrent_receiver();
113
-
114
101
/**
115
102
* Send an inline action in the context of this action's parent transaction
0 commit comments