Flex
Flex exchange system
Public Member Functions | List of all members
IFlexClientStub Struct Reference

FlexClientStub is a placement contract to be setcoded to an actual FlexClient. More...

#include <FlexClientStub.hpp>

Public Member Functions

void onDeploy (FlexVersion triplet, bind_info binding, cell flex_client_code, cell auth_index_code, cell user_id_index_code, bytes signature)
 Deploy notification. More...
 
resumable< void > unused ()
 

Detailed Description

FlexClientStub is a placement contract to be setcoded to an actual FlexClient.

Member Function Documentation

◆ onDeploy()

void onDeploy ( FlexVersion  triplet,
bind_info  binding,
cell  flex_client_code,
cell  auth_index_code,
cell  user_id_index_code,
bytes  signature 
)

Deploy notification.

Parameters
tripletFlex version
bindingExchange binding info (Flex address and PriceXchg code hash (unsalted))
flex_client_codeFlexClient code (actual version, no salt)
auth_index_codeAuthIndex code (no salt)
user_id_index_codeUserIdIndex code (unsalted)
signatureSignature to verify user pubkey ownership

◆ unused()

resumable<void> unused ( )

We need this unused resumable method to reserve awaits map in persistent data header, because the real FlexClient requires it.


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