Crate dpp

Crate dpp 

Source

Re-exports§

pub use dash_platform_protocol::DashPlatformProtocol;
pub use dashcore;
pub use dashcore_rpc;
pub use async_trait;
pub use bincode;
pub use dashcore::blsful as bls_signatures;
pub use dashcore::ed25519_dalek;
pub use data_contracts;
pub use jsonschema;
pub use platform_serialization;
pub use platform_value;
pub use errors::*;

Modules§

address_funds
asset_lock
balances
block
core_subsidy
Core subsidy
core_types
dash_platform_protocol
data_contract
document
errors
fee
group
identifier
identity
metadata
native_bls
nft
prefunded_specialized_balance
prelude
serialization
shielded
signing
state_transition
system_data_contracts
tests
tokens
util
validation
version
voting
withdrawal

Macros§

assert_basic_consensus_errors
Assert that all validation error belong to a certain enum variant of basic consensus errors and extracts all the errors from enum to a vector
assert_consensus_errors
Assert that all validation error belong to a certain enum variant and extracts all the errors from enum to a vector
assert_state_consensus_errors
Assert that all validation error belong to a certain enum variant of state consensus errors and extracts all the errors from enum to a vector
check_validation_result_with_data
dash_to_credits
dash_to_duffs

Traits§

BlsModule
BorrowDecode
Trait that makes a type able to be decoded, akin to serde’s Deserialize trait.
Decode
Trait that makes a type able to be decoded, akin to serde’s DeserializeOwned trait.
DefaultBorrowDecode
BorrowDecode with the default () context.
DefaultDecode
Decode with the default () context to avoid repeated generic arguments.
Encode
Any source that can be encoded. This trait should be implemented for all types that you want to be able to use with any of the encode_with methods.

Derive Macros§

BorrowDecode
Decode