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

WrapperEver contract interfaces and data-structs. WrapperEver contract performes conversion of Everscale native tokens (Evers) into flex tip3 wallet tokens. Flex tip3 wallet supports only internal ownership (by some contract), and supports lend ownership to temporary grant ownership of tokens to Price / PriceXchg contracts for trading. Macroses TIP3_WRAPPER_WALLET_CODE_HASH / TIP3_WRAPPER_WALLET_CODE_DEPTH must be defined in compilation (code hash and code depth of FlexWallet). Use tonos-cli to get those values : tonos-cli decode stateinit –tvc FlexWallet.tvc ... "code_hash": "daf8d5fab85a9698fc9546e1beefbe0f1373f24d7980294bf26c0d5793cf1338", "data_hash": "55a703465a160dce20481375de2e5b830c841c2787303835eb5821d62d65ca9d", "code_depth": "20", "data_depth": "1", ... More...

#include "TONTokenWallet.hpp"
#include "WrapperCommon.hpp"
#include "immutable_ids.hpp"
#include "EverReTransferArgs.hpp"
Include dependency graph for WrapperEver.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

interface  IWrapperEver
 WrapperEver contract interface. More...
 
struct  preparer< IWrapperEver, DWrapper >
 Prepare WrapperEver StateInit structure and expected contract address (hash from StateInit) More...
 

Typedefs

using IWrapperEverPtr = handle< IWrapperEver >
 

Detailed Description

WrapperEver contract interfaces and data-structs. WrapperEver contract performes conversion of Everscale native tokens (Evers) into flex tip3 wallet tokens. Flex tip3 wallet supports only internal ownership (by some contract), and supports lend ownership to temporary grant ownership of tokens to Price / PriceXchg contracts for trading. Macroses TIP3_WRAPPER_WALLET_CODE_HASH / TIP3_WRAPPER_WALLET_CODE_DEPTH must be defined in compilation (code hash and code depth of FlexWallet). Use tonos-cli to get those values : tonos-cli decode stateinit –tvc FlexWallet.tvc ... "code_hash": "daf8d5fab85a9698fc9546e1beefbe0f1373f24d7980294bf26c0d5793cf1338", "data_hash": "55a703465a160dce20481375de2e5b830c841c2787303835eb5821d62d65ca9d", "code_depth": "20", "data_depth": "1", ...

Author
Andrew Zhogin, Vasily Selivanov