In the Address Book example I notice the contract structure is
#include <eosio/eosio.hpp>
using namespace eosio;
class [[eosio::contract("addressbook")]] addressbook : public eosio::contract {
public:
private:
};
and in the Hello World example
#include <eosio/eosio.hpp>
using namespace eosio;
class [[eosio::contract]] hello : public contract {
public:
using contract::contract;
};
Notice public eosio::contract
or public contract
also notice contract("addressbook"
and eosio::contract
What's the difference and/or why is there this inconsistency?