Flex
Flex exchange system
Classes | Typedefs
WrappersConfig.hpp File Reference

WrappersConfig contract interfaces and data-structs. More...

#include <tvm/schema/message.hpp>
#include <tvm/smart_switcher.hpp>
#include <tvm/contract_handle.hpp>
#include <tvm/replay_attack_protection/timestamp.hpp>
#include "WICCloneEvers.hpp"
Include dependency graph for WrappersConfig.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  WrappersConfigSalt
 WrappersConfig configuration in code salt. More...
 
struct  WrappersConfigDetails
 WrappersConfig details for getter. More...
 
struct  WrapperDeployer
 Wrapper deployer info. More...
 
interface  IWrappersConfig
 WrappersConfig contract interface. WrappersConfig keeps wrappers configuration for specific token version. More...
 
struct  DWrappersConfig
 WrappersConfig persistent data struct. More...
 
interface  EWrappersConfig
 WrappersConfig events interface. More...
 
struct  preparer< IWrappersConfig, DWrappersConfig >
 Prepare StateInit struct and std address to deploy WrappersConfig contract. More...
 
struct  expecter< IWrappersConfig, DWrappersConfig >
 Calculate expected hash from StateInit (contract deploy address). Using code_hash and code_depth. More...
 

Typedefs

using IWrappersConfigPtr = handle< IWrappersConfig >
 

Detailed Description

WrappersConfig contract interfaces and data-structs.

Author
Andrew Zhogin

WrappersConfig keeps Wrappers configuration: first / last WIC addresses, wrapper deployers.

Upgrade cloning procedure

New WrappersConfig is cloned from previous version. WICs will be created for the same tokens (except marked unlisted). Wrappers with new code will be deployed for new WICs.

dot_inline_dotgraph_1.png