Flex
Flex exchange system
FlexVersion.hpp
Go to the documentation of this file.
1 
7 #pragma once
8 
9 #include <tvm/schema/basics.hpp>
10 
11 namespace tvm {
12 
14 struct FlexVersion {
15  uint32 wallet;
16  uint32 exchange;
17  uint32 user;
18 
19  __always_inline
20  bool is_null() const { return wallet == 0 && exchange == 0 && user == 0; }
21 };
22 
23 } // namespace tvm
Flex version triplet.
Definition: FlexVersion.hpp:14
uint32 exchange
Version of exchange contracts (Flex root, pair, price)
Definition: FlexVersion.hpp:16
uint32 wallet
Version of token wallets contracts.
Definition: FlexVersion.hpp:15
uint32 user
Version of user contracts (FlexClient)
Definition: FlexVersion.hpp:17