cfx_executor/internal_contract/
mod.rs

1// Copyright 2019 Conflux Foundation. All rights reserved.
2// Conflux is free software and distributed under GNU General Public License.
3// See http://www.gnu.org/licenses/
4
5mod components;
6mod contracts;
7mod impls;
8mod utils;
9
10pub use self::{
11    components::{
12        InterfaceTrait, InternalContractExec, InternalContractMap,
13        InternalContractTrait, InternalRefContext, SolidityEventTrait,
14    },
15    contracts::{
16        cross_space::{
17            events as cross_space_events, is_call_create_sig, is_withdraw_sig,
18        },
19        initialize_internal_contract_accounts,
20    },
21    impls::{
22        admin::suicide,
23        context::{block_hash_slot, epoch_hash_slot},
24        cross_space::Resume,
25        params_control::{
26            get_settled_param_vote_count, get_settled_pos_staking_for_votes,
27            settle_current_votes, storage_point_prop, AllParamsVoteCount,
28            ParamVoteCount,
29        },
30        pos::{
31            decode_register_info, entries as pos_internal_entries,
32            make_staking_events, IndexStatus,
33        },
34    },
35};