CDT  v4.2.0
инструменты разработчика

◆ singleton()

template<name::raw SingletonName, typename T >
eosio::singleton< SingletonName, T >::singleton ( name  code,
uint64_t  scope 
)
inline

Создаёт объект singleton по владельцу таблицы и области видимости (scope)

Аргументы
code— владелец таблицы
scope— scope таблицы

См. определение в файле singleton.hpp строка 57