Flex
Flex exchange system
XchgPairSalt.hpp
Go to the documentation of this file.
1 
7 #pragma once
8 
9 #include "FlexWallet.hpp"
10 #include "EversConfig.hpp"
11 #include "RationalValue.hpp"
12 
13 #include <tvm/schema/message.hpp>
14 
15 #include <tvm/smart_switcher.hpp>
16 #include <tvm/contract_handle.hpp>
17 
18 namespace tvm {
19 
21 struct XchgPairSalt {
22  address flex;
24  uint8 deals_limit;
26 };
27 
28 } // namespace tvm
29 
Flex evers configuration (processing costs)
Flex rational price (numerator / denominator)
Processing native funds value ...
Definition: EversConfig.hpp:12
XchgPair configuration structure (stored in salt)
Definition: XchgPairSalt.hpp:21
EversConfig ev_cfg
Processing costs configuration of Flex in native funds (evers).
Definition: XchgPairSalt.hpp:23
uint8 deals_limit
Limit for processed deals in one request.
Definition: XchgPairSalt.hpp:24
cell xchg_price_code
Code of PriceXchg contract (unsalted).
Definition: XchgPairSalt.hpp:25
address flex
Flex root address.
Definition: XchgPairSalt.hpp:22