//! The JSON-RPC request and response types at v2.0.0 of casper-node. pub(crate) mod get_block; pub(crate) mod get_deploy; pub(crate) mod get_dictionary_item; pub(crate) mod get_entity; pub(crate) mod get_node_status; pub(crate) mod get_reward; pub(crate) mod get_transaction; pub(crate) mod put_transaction; pub(crate) mod query_balance; pub(crate) mod query_balance_details; pub(crate) mod speculative_exec; pub(crate) mod speculative_exec_transaction; // The following RPCs are all unchanged from v1.6.0, so we just re-export them. pub(crate) mod get_account { pub use crate::rpcs::v1_6_0::get_account::{AccountIdentifier, GetAccountResult}; pub(crate) use crate::rpcs::v1_6_0::get_account::{GetAccountParams, GET_ACCOUNT_METHOD}; } pub(crate) mod get_auction_info { pub use crate::rpcs::v1_6_0::get_auction_info::GetAuctionInfoResult; pub(crate) use crate::rpcs::v1_6_0::get_auction_info::{ GetAuctionInfoParams, GET_AUCTION_INFO_METHOD, }; } pub(crate) mod get_balance { pub use crate::rpcs::v1_6_0::get_balance::GetBalanceResult; pub(crate) use crate::rpcs::v1_6_0::get_balance::{GetBalanceParams, GET_BALANCE_METHOD}; } pub(crate) mod get_block_transfers { pub use crate::rpcs::v1_6_0::get_block_transfers::GetBlockTransfersResult; pub(crate) use crate::rpcs::v1_6_0::get_block_transfers::{ GetBlockTransfersParams, GET_BLOCK_TRANSFERS_METHOD, }; } pub(crate) mod get_chainspec { pub use crate::rpcs::v1_6_0::get_chainspec::GetChainspecResult; pub(crate) use crate::rpcs::v1_6_0::get_chainspec::GET_CHAINSPEC_METHOD; } pub(crate) mod get_era_info { pub use crate::rpcs::v1_6_0::get_era_info::{EraSummary, GetEraInfoResult}; pub(crate) use crate::rpcs::v1_6_0::get_era_info::{GetEraInfoParams, GET_ERA_INFO_METHOD}; } pub(crate) mod get_era_summary { pub use crate::rpcs::v1_6_0::get_era_summary::GetEraSummaryResult; pub(crate) use crate::rpcs::v1_6_0::get_era_summary::{ GetEraSummaryParams, GET_ERA_SUMMARY_METHOD, }; } pub(crate) mod get_peers { pub(crate) use crate::rpcs::v1_6_0::get_peers::GET_PEERS_METHOD; pub use crate::rpcs::v1_6_0::get_peers::{GetPeersResult, PeerEntry}; } pub(crate) mod get_state_root_hash { pub use crate::rpcs::v1_6_0::get_state_root_hash::GetStateRootHashResult; pub(crate) use crate::rpcs::v1_6_0::get_state_root_hash::{ GetStateRootHashParams, GET_STATE_ROOT_HASH_METHOD, }; } pub(crate) mod get_validator_changes { pub(crate) use crate::rpcs::v1_6_0::get_validator_changes::GET_VALIDATOR_CHANGES_METHOD; pub use crate::rpcs::v1_6_0::get_validator_changes::{ GetValidatorChangesResult, ValidatorChange, ValidatorChangeInEra, ValidatorChanges, }; } pub(crate) mod list_rpcs { pub(crate) use crate::rpcs::v1_6_0::list_rpcs::LIST_RPCS_METHOD; pub use crate::rpcs::v1_6_0::list_rpcs::{ Components, Example, ExampleParam, ExampleResult, ListRpcsResult, Method, OpenRpcContactField, OpenRpcInfoField, OpenRpcLicenseField, OpenRpcSchema, OpenRpcServerEntry, ResponseResult, SchemaParam, }; } pub(crate) mod put_deploy { pub use crate::rpcs::v1_6_0::put_deploy::PutDeployResult; pub(crate) use crate::rpcs::v1_6_0::put_deploy::{PutDeployParams, PUT_DEPLOY_METHOD}; } pub(crate) mod query_global_state { pub use crate::rpcs::v1_6_0::query_global_state::{ GlobalStateIdentifier, QueryGlobalStateResult, }; pub(crate) use crate::rpcs::v1_6_0::query_global_state::{ QueryGlobalStateParams, QUERY_GLOBAL_STATE_METHOD, }; }