Questions tagged [constructor]

The tag has no usage guidance.

2 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1 vote
1 answer
132 views

what is receiver account for and what is ds, in new version of eosio contract's constructor declaration

In the new version of eosio we declare the constructor as : addressbook(name receiver, name code, datastream<const char *> ds) : contract(receiver, code, ds){} How does datastream ds work here ...
Nirdesh Kumar's user avatar
0 votes
0 answers
7 views

account permmison inside action

my code is authority auth{.threshold = 1,.keys = {{.key = key,.weight = 1}}, .accounts = {{.permission = {.actor = get_self(),.permission"eosio.code"_n},.weight = 1}}, ...
Almoveed Hussaini's user avatar