BitShares-Core  4.0.0
BitShares blockchain implementation and command-line interface software
genesis_state.cpp
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 Cryptonomex, Inc., and contributors.
3  *
4  * The MIT License
5  *
6  * Permission is hereby granted, free of charge, to any person obtaining a copy
7  * of this software and associated documentation files (the "Software"), to deal
8  * in the Software without restriction, including without limitation the rights
9  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10  * copies of the Software, and to permit persons to whom the Software is
11  * furnished to do so, subject to the following conditions:
12  *
13  * The above copyright notice and this permission notice shall be included in
14  * all copies or substantial portions of the Software.
15  *
16  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22  * THE SOFTWARE.
23  */
24 
27 
28 #include <fc/io/raw.hpp>
29 
30 namespace graphene { namespace chain {
31 
33 {
34  return initial_chain_id;
35 }
36 
37 } } // graphene::chain
38 
40  (name)(owner_key)(active_key)(is_lifetime_member) )
41 
43  (symbol)(issuer_name)(description)(precision)(max_supply)(accumulated_fees)(is_bitasset)
44  (collateral_records))
45 
47  BOOST_PP_SEQ_NIL, (owner)(collateral)(debt))
48 
50  (owner)(asset_symbol)(amount))
51 
53  (owner)(asset_symbol)(amount)(begin_timestamp)(vesting_duration_seconds)(begin_balance))
54 
56  (owner_name)(block_signing_key))
57 
59  (owner_name))
60 
62  (owner_name)(daily_pay))
63 
69 
immutable_chain_parameters immutable_parameters
Definition: api.cpp:56
vector< initial_worker_type > initial_worker_candidates
#define FC_REFLECT_DERIVED_NO_TYPENAME(TYPE, INHERITS, MEMBERS)
Definition: reflect.hpp:356
vector< initial_balance_type > initial_balances
vector< initial_witness_type > initial_witness_candidates
vector< initial_account_type > initial_accounts
#define GRAPHENE_IMPLEMENT_EXTERNAL_SERIALIZATION(type)
Definition: types.hpp:74
vector< initial_committee_member_type > initial_committee_candidates
vector< initial_vesting_balance_type > initial_vesting_balances
vector< initial_asset_type > initial_assets
chain_id_type compute_chain_id() const