Flex
Flex exchange system
Classes | Functions | Variables
SuperRoot.cpp File Reference

SuperRoot contract implementation. More...

#include "SuperRoot.hpp"
#include "GlobalConfig.hpp"
#include "WrappersConfig.hpp"
#include "UserDataConfig.hpp"
#include "FlexClientStub.hpp"
#include "FlexSalt.hpp"
#include "Flex.hpp"
#include "Wrapper.hpp"
#include <tvm/contract.hpp>
#include <tvm/smart_switcher.hpp>
#include <tvm/contract_handle.hpp>
#include <tvm/default_support_functions.hpp>
#include <tvm/suffixes.hpp>
#include <tvm/schema/parse_chain_static.hpp>
#include <tvm/schema/build_chain_static.hpp>
Include dependency graph for SuperRoot.cpp:

Classes

struct  auth_cfg
 Authentification configuration flags. More...
 
class  SuperRoot
 SuperRoot contract implementation. More...
 
struct  SuperRoot::error_code
 

Functions

 DEFINE_JSON_ABI (ISuperRoot, DSuperRoot, ESuperRoot)
 

Variables

constexpr unsigned SROOT_REVISION = 1
 

Detailed Description

SuperRoot contract implementation.

Author
Andrew Zhogin

Class Documentation

◆ auth_cfg

struct auth_cfg

Authentification configuration flags.

Class Members
bool allowed_for_original_owner_in_lend_state Allowed for original owner in lend state.
bool allowed_for_update_team If this method is allowed for the update team.
bool allowed_lend_owner Allowed for lend owner (contract internal owner)
bool allowed_lend_pubkey Allowed for lend pubkey (person/script external owner)
uint128 required_evers Required evers. Lend evers must be greater and will be decreased by.
uint32 required_time Required time. Lend finish time must be greater.
uint128 required_tokens Required tokens. Lend balance must be greater and will be decreased by.
uint128 return_ownership Return ownership value.