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

UserIdIndex contract implementation. More...

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

Classes

struct  error_code
 

Public Member Functions

void onDeploy (uint256 lend_pubkey, string name, uint128 evers_to_auth_idx, uint128 refill_wallet, uint128 min_refill)
 Check that msg.sender is an owner (from configuration salt). Deploy AuthIndex with lend_pubkey.
 
void reLendPubkey (uint256 new_lend_pubkey, uint128 evers_to_remove, uint128 evers_to_deploy)
 Remove AuthIndex with lend_pubkey. Deploy AuthIndex with new_lend_pubkey. Set lend_pubkey = new_lend_pubkey.
 
void remove ()
 Remove AuthIndex with lend_pubkey.
 
uint256 requestLendPubkey (uint128 evers_balance)
 
void transfer (address dest, uint128 value, bool bounce)
 
void setRefillWallet (uint128 refill_wallet, uint128 min_refill)
 
UserIdIndexSalt getConfig ()
 
IAuthIndexPtr getAuthIndex ()
 

Static Public Member Functions

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

Additional Inherited Members

- Public Attributes inherited from DUserIdIndex
int8 workchain_id_
 
uint256 user_id_
 User id, it is used for address calculation.
 
uint256 lend_pubkey_
 
opt< string > name_
 Encrypted login. We use naclbox for encryption.
 
uint128 refill_wallet_
 Re-fill wallet on transfer received.
 
uint128 min_refill_
 Minimum refill value.
 

Detailed Description

UserIdIndex contract implementation.


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