Flex
Flex exchange system
Classes | Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
Wrapper Class Referencefinal
Inheritance diagram for Wrapper:
Inheritance graph
[legend]
Collaboration diagram for Wrapper:
Collaboration graph
[legend]

Classes

struct  error_code
 

Public Types

using data = DWrapper
 

Public Member Functions

void init (address external_wallet, uint128 reserve_wallet_evers, cell internal_wallet_code)
 
address deployEmptyWallet (uint256 pubkey, address_opt internal_owner, uint128 evers)
 
WrapperRet onTip3Transfer (uint128 balance, uint128 new_tokens, uint128 evers_balance, Tip3Config tip3cfg, opt< Tip3Creds > sender, Tip3Creds receiver, cell payload, address answer_addr)
 
void burn (uint128 tokens, address answer_addr, uint256 sender_pubkey, address_opt sender_owner, uint256 out_pubkey, address_opt out_owner, opt< cell > notify)
 
void transferFromReserveWallet (address_opt answer_addr, address to, uint128 tokens)
 
uint128 requestTotalGranted ()
 
std::pair< address_opt, uint256 > cloned ()
 
void setCloned (address_opt cloned, uint256 cloned_pubkey, address wrappers_cfg, uint256 wrappers_cfg_code_hash, uint16 wrappers_cfg_code_depth)
 
wrapper_details_info getDetails ()
 
Tip3Config getTip3Config ()
 
bool hasInternalWalletCode ()
 
address getWalletAddress (uint256 pubkey, address_opt owner)
 
address getReserveWallet ()
 
uint256 getInternalWalletCodeHash ()
 

Static Public Member Functions

static __always_inline int _on_bounced (cell, slice msg_body)
 
static int _fallback ([[maybe_unused]] cell msg, [[maybe_unused]] slice msg_body)
 

Static Public Attributes

static constexpr bool _checked_deploy = true
 
static constexpr unsigned internal_wallet_hash = TIP3_WALLET_CODE_HASH
 Deploy is only allowed with [[deploy]] function call.
 
static constexpr unsigned internal_wallet_code_depth = TIP3_WALLET_CODE_DEPTH
 

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