Flex
Flex exchange system
Static Public Attributes | List of all members
TONTokenWallet< Internal >::error_code Struct Reference

Error codes of TONTokenWallet contract. More...

Inheritance diagram for TONTokenWallet< Internal >::error_code:
Inheritance graph
[legend]
Collaboration diagram for TONTokenWallet< Internal >::error_code:
Collaboration graph
[legend]

Static Public Attributes

static constexpr unsigned message_sender_is_not_my_owner = 100
 Authorization error.
 
static constexpr unsigned not_enough_balance = 101
 Not enough token balance to proceed.
 
static constexpr unsigned message_sender_is_not_my_root = 102
 Message sender is not RootTokenContract address.
 
static constexpr unsigned message_sender_is_not_good_wallet = 103
 Message sender is not a good wallet.
 
static constexpr unsigned wrong_bounced_header = 104
 Wrong header of bounced message.
 
static constexpr unsigned wrong_bounced_args = 105
 Wrong arguments in bounced message.
 
static constexpr unsigned destroy_non_empty_wallet = 106
 Wallet with non-zero token balance can't be destroyed.
 
static constexpr unsigned wallet_in_lend_owneship = 107
 Wallet in lend ownership state.
 
static constexpr unsigned finish_time_must_be_greater_than_now = 108
 Lend finish time must be in future.
 
static constexpr unsigned not_enough_evers_to_process = 109
 Not enough evers to process.
 
static constexpr unsigned transfer_to_zero_address = 110
 Transfer to zero address.
 
static constexpr unsigned lend_owner_not_found = 111
 Lend owner not found.
 
static constexpr unsigned finish_time_is_out_of_lend_time = 112
 Finish time is out of lend time.
 
static constexpr unsigned lend_owners_overlimit = 113
 Lend owners overlimit.
 
static constexpr unsigned zero_lend_balance = 114
 Zero lend balance.
 
static constexpr unsigned wrong_user_id = 115
 Wrong user id (differ from wallet's pubkey)
 
static constexpr unsigned wrong_client_addr = 116
 Wrong client address (differ from wallet's owner)
 
static constexpr unsigned internal_owner_unset = 117
 Internal (contract) owner is not set.
 
static constexpr unsigned binding_not_set = 118
 Binding not set (call bind before)
 
static constexpr unsigned wrong_flex_address = 119
 Wrong flex address.
 
static constexpr unsigned wrong_price_xchg_code = 120
 Wrong PriceXchg code.
 

Detailed Description

template<bool Internal>
struct TONTokenWallet< Internal >::error_code

Error codes of TONTokenWallet contract.


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