Flex
Flex exchange system
Classes | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
WrappersConfig Class Referencefinal

WrappersConfig contract implementation. More...

Inheritance diagram for WrappersConfig:
Inheritance graph
[legend]
Collaboration diagram for WrappersConfig:
Collaboration graph
[legend]

Classes

struct  error_code
 To allow deploy message only with onDeploy call. More...
 

Public Member Functions

void onDeploy (uint128 keep_evers, opt< WICCloneEvers > evers_opt, opt< uint32 > old_token_version, dict_array< address > wrapper_deployers, address_opt first_wic, address_opt last_wic, uint32 wic_count)
 
void onWICsCloned (address_opt first_wic, address_opt last_wic, uint32 wic_count)
 
void addWrapperType (uint128 keep_evers, uint8 type, address wrapper_deployer)
 
void addWrapper (uint128 keep_evers, WICCloneEvers evers, string symbol, uint8 type, cell init_args)
 
void unlistWrapper (address wic)
 
address cloneUpgrade (address_opt answer_addr, uint128 keep_evers, uint128 clone_deploy_evers, WICCloneEvers evers, uint32 new_token_version, dict_array< address > wrapper_deployers)
 
WrappersConfigDetails getDetails ()
 
WrappersConfigSalt getConfig ()
 

Static Public Member Functions

static std::pair< uint256, uint16 > my_code_hash_and_depth ()
 
static int _fallback ([[maybe_unused]] cell msg, [[maybe_unused]] slice msg_body)
 
static __always_inline int _receive ([[maybe_unused]] cell msg, [[maybe_unused]] slice msg_body)
 

Static Public Attributes

static constexpr bool _checked_deploy = true
 

Additional Inherited Members

- Public Attributes inherited from DWrappersConfig
uint32 token_version_
 Tokens update group version. Used for address calculation.
 
bool_t deployed_
 onDeploy call processed
 
uint128 keep_evers_
 Keep evers in the contract before returning the rest to SuperConfig.
 
int8 workchain_id_
 Workchain id.
 
dict_array< address > wrapper_deployers_
 Wrapper deployers for different types of Wrappers.
 
address_opt first_wic_
 First Wrapper Index Contract.
 
address_opt last_wic_
 
uint32 wic_count_
 WIC count.
 

Detailed Description

WrappersConfig contract implementation.


The documentation for this class was generated from the following file: