Flex
Flex exchange system
PriceXchgSalt.hpp
Go to the documentation of this file.
1 
7 #pragma once
8 
9 namespace tvm {
10 
12 struct PriceXchgSalt {
13  address flex;
14  address pair;
15  address notify_addr;
16  Tip3Config major_tip3cfg;
17  Tip3Config minor_tip3cfg;
21  uint128 min_amount;
22  uint128 minmove;
23  uint128 price_denum;
24  uint8 deals_limit;
25  int8 workchain_id;
26 };
27 
28 } // namespace tvm
Processing native funds value ...
Definition: EversConfig.hpp:12
Price configuration data (common for prices of one pair). Stored in code salt.
Definition: PriceXchgSalt.hpp:12
EversConfig ev_cfg
Processing costs configuration of Flex in native funds (evers).
Definition: PriceXchgSalt.hpp:20
uint128 min_amount
Minimum amount of major tokens, allowed to make a deal or an order.
Definition: PriceXchgSalt.hpp:21
address pair
Address of XchgPair contract.
Definition: PriceXchgSalt.hpp:14
address notify_addr
Notification address for AMM (IFlexNotify).
Definition: PriceXchgSalt.hpp:15
uint8 deals_limit
Limit for processed deals in one request.
Definition: PriceXchgSalt.hpp:24
uint128 minmove
Minimum move for price.
Definition: PriceXchgSalt.hpp:22
address major_reserve_wallet
Major reserve wallet.
Definition: PriceXchgSalt.hpp:18
Tip3Config minor_tip3cfg
Configuration of the minor tip3 token.
Definition: PriceXchgSalt.hpp:17
uint128 price_denum
Price denominator for the pair.
Definition: PriceXchgSalt.hpp:23
int8 workchain_id
Workchain id for the related tip3 token wallets.
Definition: PriceXchgSalt.hpp:25
Tip3Config major_tip3cfg
Configuration of the major tip3 token.
Definition: PriceXchgSalt.hpp:16
address minor_reserve_wallet
Minor reserve wallet.
Definition: PriceXchgSalt.hpp:19
address flex
Address of root flex contract (IFlex).
Definition: PriceXchgSalt.hpp:13