SYMBOL INDEX (21091 symbols across 1194 files) FILE: binary_port/src/balance_response.rs type BalanceResponse (line 20) | pub struct BalanceResponse { method random (line 33) | pub(crate) fn random(rng: &mut TestRng) -> Self { method to_bytes (line 48) | fn to_bytes(&self) -> Result, casper_types::bytesrepr::Error> { method write_bytes (line 54) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), casper_types::... method serialized_length (line 61) | fn serialized_length(&self) -> usize { method from_bytes (line 70) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), casper_types::bytes... type BalanceHoldsWithProof (line 90) | pub type BalanceHoldsWithProof = function bytesrepr_roundtrip (line 99) | fn bytesrepr_roundtrip() { FILE: binary_port/src/binary_message.rs type LengthEncoding (line 11) | type LengthEncoding = u32; constant LENGTH_ENCODING_SIZE_BYTES (line 12) | const LENGTH_ENCODING_SIZE_BYTES: usize = size_of::(); type BinaryMessage (line 15) | pub struct BinaryMessage(Bytes); method new (line 18) | pub fn new(payload: Vec) -> Self { method payload (line 22) | pub fn payload(&self) -> &[u8] { method random (line 27) | pub(crate) fn random(rng: &mut TestRng) -> Self { type BinaryMessageCodec (line 35) | pub struct BinaryMessageCodec { method new (line 40) | pub fn new(max_message_size_bytes: u32) -> Self { method max_message_size_bytes (line 46) | pub fn max_message_size_bytes(&self) -> u32 { type Error (line 52) | type Error = Error; method encode (line 54) | fn encode( type Item (line 73) | type Item = BinaryMessage; type Error (line 75) | type Error = Error; method decode (line 77) | fn decode(&mut self, src: &mut bytes::BytesMut) -> Result Self { method new_error (line 31) | pub fn new_error(error: ErrorCode) -> Self { method from_raw_bytes (line 39) | pub fn from_raw_bytes(payload_type: ResponseType, payload: Vec) ->... method from_value (line 47) | pub fn from_value(val: V) -> Self method from_option (line 61) | pub fn from_option(opt: Option) -> Self method is_success (line 72) | pub fn is_success(&self) -> bool { method error_code (line 77) | pub fn error_code(&self) -> u16 { method returned_data_type_tag (line 82) | pub fn returned_data_type_tag(&self) -> Option { method is_not_found (line 87) | pub fn is_not_found(&self) -> bool { method payload (line 92) | pub fn payload(&self) -> &[u8] { method random (line 97) | pub(crate) fn random(rng: &mut TestRng) -> Self { method to_bytes (line 106) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method write_bytes (line 112) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method serialized_length (line 119) | fn serialized_length(&self) -> usize { method from_bytes (line 125) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function bytesrepr_roundtrip (line 145) | fn bytesrepr_roundtrip() { FILE: binary_port/src/binary_response_and_request.rs type BinaryResponseAndRequest (line 11) | pub struct BinaryResponseAndRequest { method new (line 20) | pub fn new(data: BinaryResponse, request: Bytes) -> Self { method new_test_response (line 28) | pub fn new_test_response( method new_legacy_test_response (line 40) | pub fn new_legacy_test_response( method is_success (line 52) | pub fn is_success(&self) -> bool { method error_code (line 57) | pub fn error_code(&self) -> u16 { method random (line 62) | pub(crate) fn random(rng: &mut TestRng) -> Self { method request (line 71) | pub fn request(&self) -> &[u8] { method response (line 76) | pub fn response(&self) -> &BinaryResponse { method to_bytes (line 82) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method write_bytes (line 88) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method serialized_length (line 94) | fn serialized_length(&self) -> usize { method from_bytes (line 100) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method from (line 109) | fn from(response_and_request: BinaryResponseAndRequest) -> Self { function roundtrip (line 121) | fn roundtrip() { function bytesrepr_roundtrip (line 130) | fn bytesrepr_roundtrip() { FILE: binary_port/src/binary_response_header.rs type BinaryResponseHeader (line 11) | pub struct BinaryResponseHeader { constant BINARY_RESPONSE_VERSION (line 18) | pub const BINARY_RESPONSE_VERSION: u16 = 1; method new (line 20) | pub fn new(returned_data_type: Option) -> Self { method new_error (line 29) | pub fn new_error(error: ErrorCode) -> Self { method returned_data_type_tag (line 38) | pub fn returned_data_type_tag(&self) -> Option { method error_code (line 43) | pub fn error_code(&self) -> u16 { method is_success (line 48) | pub fn is_success(&self) -> bool { method is_not_found (line 53) | pub fn is_not_found(&self) -> bool { method random (line 58) | pub(crate) fn random(rng: &mut TestRng) -> Self { method to_bytes (line 71) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method write_bytes (line 77) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method serialized_length (line 89) | fn serialized_length(&self) -> usize { method from_bytes (line 97) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function bytesrepr_roundtrip (line 119) | fn bytesrepr_roundtrip() { FILE: binary_port/src/command.rs type CommandHeader (line 17) | pub struct CommandHeader { constant HEADER_VERSION (line 26) | pub const HEADER_VERSION: u16 = 1; method new (line 29) | pub fn new(type_tag: CommandTag, id: u16) -> Self { method type_tag (line 38) | pub fn type_tag(&self) -> u8 { method id (line 43) | pub fn id(&self) -> u16 { method version (line 48) | pub fn version(&self) -> u16 { method set_binary_request_version (line 53) | pub fn set_binary_request_version(&mut self, version: u16) { method random (line 58) | pub(crate) fn random(rng: &mut TestRng) -> Self { method to_bytes (line 68) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method write_bytes (line 74) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method serialized_length (line 80) | fn serialized_length(&self) -> usize { method from_bytes (line 88) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { type Command (line 106) | pub enum Command { method tag (line 123) | pub fn tag(&self) -> CommandTag { method random (line 132) | pub(crate) fn random(rng: &mut TestRng) -> Self { type Error (line 170) | type Error = bytesrepr::Error; method try_from (line 172) | fn try_from((tag, bytes): (CommandTag, &[u8])) -> Result Result, bytesrepr::Error> { method write_bytes (line 152) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method serialized_length (line 160) | fn serialized_length(&self) -> usize { type CommandTag (line 197) | pub enum CommandTag { method random (line 209) | pub fn random(rng: &mut TestRng) -> Self { type Error (line 220) | type Error = InvalidCommandTag; method try_from (line 222) | fn try_from(value: u8) -> Result { function from (line 233) | fn from(value: CommandTag) -> Self { type InvalidCommandTag (line 239) | pub struct InvalidCommandTag; function header_bytesrepr_roundtrip (line 247) | fn header_bytesrepr_roundtrip() { function request_bytesrepr_roundtrip (line 255) | fn request_bytesrepr_roundtrip() { FILE: binary_port/src/dictionary_item_identifier.rs constant ACCOUNT_NAMED_KEY_TAG (line 12) | const ACCOUNT_NAMED_KEY_TAG: u8 = 0; constant CONTRACT_NAMED_KEY_TAG (line 13) | const CONTRACT_NAMED_KEY_TAG: u8 = 1; constant ENTITY_NAMED_KEY_TAG (line 14) | const ENTITY_NAMED_KEY_TAG: u8 = 2; constant UREF_TAG (line 15) | const UREF_TAG: u8 = 3; constant DICTIONARY_ITEM_TAG (line 16) | const DICTIONARY_ITEM_TAG: u8 = 4; type DictionaryItemIdentifier (line 20) | pub enum DictionaryItemIdentifier { method random (line 61) | pub(crate) fn random(rng: &mut TestRng) -> Self { method to_bytes (line 89) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method write_bytes (line 95) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method serialized_length (line 142) | fn serialized_length(&self) -> usize { method from_bytes (line 182) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function bytesrepr_roundtrip (line 250) | fn bytesrepr_roundtrip() { FILE: binary_port/src/entity_qualifier.rs constant ITEM_TAG (line 12) | const ITEM_TAG: u8 = 0; constant ALL_ITEMS_TAG (line 13) | const ALL_ITEMS_TAG: u8 = 1; constant DICTIONARY_ITEM_TAG (line 14) | const DICTIONARY_ITEM_TAG: u8 = 2; constant BALANCE_TAG (line 15) | const BALANCE_TAG: u8 = 3; constant ITEMS_BY_PREFIX_TAG (line 16) | const ITEMS_BY_PREFIX_TAG: u8 = 4; type GlobalStateEntityQualifier (line 20) | pub enum GlobalStateEntityQualifier { method random (line 51) | pub(crate) fn random(rng: &mut TestRng) -> Self { function random_for_variant (line 58) | fn random_for_variant(gen_range: u8, rng: &mut TestRng) -> GlobalStateEn... method to_bytes (line 86) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method write_bytes (line 92) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method serialized_length (line 118) | fn serialized_length(&self) -> usize { method from_bytes (line 139) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function bytesrepr_roundtrip (line 186) | fn bytesrepr_roundtrip() { FILE: binary_port/src/era_identifier.rs constant ERA_TAG (line 11) | const ERA_TAG: u8 = 0; constant BLOCK_TAG (line 12) | const BLOCK_TAG: u8 = 1; type EraIdentifier (line 16) | pub enum EraIdentifier { method random (line 23) | pub(crate) fn random(rng: &mut TestRng) -> Self { method to_bytes (line 33) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method write_bytes (line 39) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method serialized_length (line 52) | fn serialized_length(&self) -> usize { method from_bytes (line 62) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function bytesrepr_roundtrip (line 84) | fn bytesrepr_roundtrip() { FILE: binary_port/src/error.rs type Error (line 4) | pub enum Error { FILE: binary_port/src/error_code.rs type ErrorCode (line 14) | pub enum ErrorCode { type Error (line 376) | type Error = UnknownErrorCode; method try_from (line 378) | fn try_from(value: u16) -> Result { method from (line 396) | fn from(value: InvalidTransaction) -> Self { method from (line 406) | fn from(value: InvalidDeploy) -> Self { method from (line 463) | fn from(value: InvalidTransactionV1) -> Self { type UnknownErrorCode (line 385) | pub struct UnknownErrorCode; method fmt (line 388) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function verify_all_invalid_transaction_v1_errors_have_error_codes (line 588) | fn verify_all_invalid_transaction_v1_errors_have_error_codes() { function verify_all_invalid_deploy_errors_have_error_codes (line 605) | fn verify_all_invalid_deploy_errors_have_error_codes() { function try_from_decoded_all_variants (line 622) | fn try_from_decoded_all_variants() { FILE: binary_port/src/get_request.rs constant RECORD_TAG (line 13) | const RECORD_TAG: u8 = 0; constant INFORMATION_TAG (line 14) | const INFORMATION_TAG: u8 = 1; constant STATE_TAG (line 15) | const STATE_TAG: u8 = 2; constant TRIE_TAG (line 16) | const TRIE_TAG: u8 = 3; type GetRequest (line 20) | pub enum GetRequest { method random (line 46) | pub(crate) fn random(rng: &mut TestRng) -> Self { method to_bytes (line 66) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method write_bytes (line 72) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method serialized_length (line 98) | fn serialized_length(&self) -> usize { method from_bytes (line 115) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function bytesrepr_roundtrip (line 159) | fn bytesrepr_roundtrip() { FILE: binary_port/src/global_state_query_result.rs type GlobalStateQueryResult (line 18) | pub struct GlobalStateQueryResult { method new (line 27) | pub fn new(value: StoredValue, merkle_proof: Vec &StoredValue { method into_inner (line 40) | pub fn into_inner(self) -> (StoredValue, Vec Self { method to_bytes (line 73) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method write_bytes (line 79) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method serialized_length (line 88) | fn serialized_length(&self) -> usize { method from_bytes (line 94) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function bytesrepr_roundtrip (line 113) | fn bytesrepr_roundtrip() { FILE: binary_port/src/information_request.rs type InformationRequest (line 19) | pub enum InformationRequest { method tag (line 91) | pub fn tag(&self) -> InformationRequestTag { method random (line 125) | pub(crate) fn random(rng: &mut TestRng) -> Self { type Error (line 299) | type Error = bytesrepr::Error; method try_from (line 301) | fn try_from((tag, key_bytes): (InformationRequestTag, &[u8])) -> Resul... method to_bytes (line 182) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method write_bytes (line 188) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method serialized_length (line 246) | fn serialized_length(&self) -> usize { type Error (line 399) | type Error = bytesrepr::Error; method try_from (line 401) | fn try_from(request: InformationRequest) -> Result { type InformationRequestTag (line 412) | pub enum InformationRequestTag { method random (line 457) | pub(crate) fn random(rng: &mut TestRng) -> Self { type Error (line 485) | type Error = UnknownInformationRequestTag; method try_from (line 487) | fn try_from(value: u16) -> Result { function from (line 515) | fn from(value: InformationRequestTag) -> Self { type UnknownInformationRequestTag (line 522) | pub struct UnknownInformationRequestTag(u16); type EntityIdentifier (line 525) | pub enum EntityIdentifier { method random (line 534) | pub(crate) fn random(rng: &mut TestRng) -> Self { method from_bytes (line 546) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method to_bytes (line 572) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method write_bytes (line 578) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method serialized_length (line 594) | fn serialized_length(&self) -> usize { type PackageIdentifier (line 606) | pub enum PackageIdentifier { method random (line 613) | pub(crate) fn random(rng: &mut TestRng) -> Self { method from_bytes (line 623) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method to_bytes (line 641) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method write_bytes (line 647) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method serialized_length (line 659) | fn serialized_length(&self) -> usize { function tag_roundtrip (line 674) | fn tag_roundtrip() { function bytesrepr_roundtrip (line 683) | fn bytesrepr_roundtrip() { function entity_identifier_bytesrepr_roundtrip (line 695) | fn entity_identifier_bytesrepr_roundtrip() { function package_identifier_bytesrepr_roundtrip (line 704) | fn package_identifier_bytesrepr_roundtrip() { FILE: binary_port/src/key_prefix.rs type KeyPrefix (line 15) | pub enum KeyPrefix { method random (line 37) | pub fn random(rng: &mut TestRng) -> Self { method to_bytes (line 53) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method write_bytes (line 59) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method serialized_length (line 103) | fn serialized_length(&self) -> usize { method from_bytes (line 131) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function bytesrepr_roundtrip (line 196) | fn bytesrepr_roundtrip() { FILE: binary_port/src/minimal_block_info.rs type MinimalBlockInfo (line 16) | pub struct MinimalBlockInfo { method random (line 27) | pub(crate) fn random(rng: &mut TestRng) -> Self { method from (line 88) | fn from(block: Block) -> Self { method from_bytes (line 40) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method to_bytes (line 62) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method write_bytes (line 68) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method serialized_length (line 77) | fn serialized_length(&self) -> usize { function bytesrepr_roundtrip (line 111) | fn bytesrepr_roundtrip() { FILE: binary_port/src/node_status.rs type NodeStatus (line 17) | pub struct NodeStatus { method random (line 52) | pub(crate) fn random(rng: &mut TestRng) -> Self { method from_bytes (line 76) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method to_bytes (line 116) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method write_bytes (line 122) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method serialized_length (line 157) | fn serialized_length(&self) -> usize { function bytesrepr_roundtrip (line 182) | fn bytesrepr_roundtrip() { FILE: binary_port/src/purse_identifier.rs constant PAYMENT_PURSE_TAG (line 12) | const PAYMENT_PURSE_TAG: u8 = 0; constant ACCUMULATE_PURSE_TAG (line 13) | const ACCUMULATE_PURSE_TAG: u8 = 1; constant UREF_PURSE_TAG (line 14) | const UREF_PURSE_TAG: u8 = 2; constant PUBLIC_KEY_PURSE_TAG (line 15) | const PUBLIC_KEY_PURSE_TAG: u8 = 3; constant ACCOUNT_PURSE_TAG (line 16) | const ACCOUNT_PURSE_TAG: u8 = 4; constant ENTITY_PURSE_TAG (line 17) | const ENTITY_PURSE_TAG: u8 = 5; type PurseIdentifier (line 21) | pub enum PurseIdentifier { method random (line 32) | pub(crate) fn random(rng: &mut TestRng) -> Self { method to_bytes (line 46) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method write_bytes (line 52) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method serialized_length (line 75) | fn serialized_length(&self) -> usize { method from_bytes (line 89) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function bytesrepr_roundtrip (line 121) | fn bytesrepr_roundtrip() { FILE: binary_port/src/record_id.rs type RecordId (line 18) | pub enum RecordId { method random (line 39) | pub fn random(rng: &mut TestRng) -> Self { method all (line 53) | pub fn all() -> impl Iterator { type Error (line 59) | type Error = UnknownRecordId; method try_from (line 61) | fn try_from(value: u16) -> Result { method fmt (line 83) | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { function from (line 77) | fn from(value: RecordId) -> Self { type UnknownRecordId (line 99) | pub struct UnknownRecordId(u16); function tag_roundtrip (line 107) | fn tag_roundtrip() { FILE: binary_port/src/response_type.rs type ResponseType (line 33) | pub enum ResponseType { method from_record_id (line 125) | pub fn from_record_id(record_id: RecordId, is_legacy: bool) -> Self { method random (line 147) | pub(crate) fn random(rng: &mut TestRng) -> Self { type Error (line 153) | type Error = (); method try_from (line 155) | fn try_from(v: u8) -> Result { method fmt (line 243) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function from (line 237) | fn from(value: ResponseType) -> Self { type PayloadEntity (line 298) | pub trait PayloadEntity { constant RESPONSE_TYPE (line 300) | const RESPONSE_TYPE: ResponseType; constant RESPONSE_TYPE (line 304) | const RESPONSE_TYPE: ResponseType = ResponseType::Transaction; constant RESPONSE_TYPE (line 308) | const RESPONSE_TYPE: ResponseType = ResponseType::Deploy; constant RESPONSE_TYPE (line 312) | const RESPONSE_TYPE: ResponseType = ResponseType::BlockHeader; constant RESPONSE_TYPE (line 316) | const RESPONSE_TYPE: ResponseType = ResponseType::BlockHeaderV1; constant RESPONSE_TYPE (line 320) | const RESPONSE_TYPE: ResponseType = ResponseType::BlockBody; constant RESPONSE_TYPE (line 324) | const RESPONSE_TYPE: ResponseType = ResponseType::BlockBodyV1; constant RESPONSE_TYPE (line 328) | const RESPONSE_TYPE: ResponseType = ResponseType::BlockSignatures; constant RESPONSE_TYPE (line 332) | const RESPONSE_TYPE: ResponseType = ResponseType::BlockSignaturesV1; constant RESPONSE_TYPE (line 336) | const RESPONSE_TYPE: ResponseType = ResponseType::ExecutionResult; constant RESPONSE_TYPE (line 340) | const RESPONSE_TYPE: ResponseType = ResponseType::ExecutionResultV1; constant RESPONSE_TYPE (line 344) | const RESPONSE_TYPE: ResponseType = ResponseType::BlockWithSignatures; constant RESPONSE_TYPE (line 348) | const RESPONSE_TYPE: ResponseType = ResponseType::TransactionWithExecu... constant RESPONSE_TYPE (line 352) | const RESPONSE_TYPE: ResponseType = ResponseType::Peers; constant RESPONSE_TYPE (line 356) | const RESPONSE_TYPE: ResponseType = ResponseType::Transfers; constant RESPONSE_TYPE (line 360) | const RESPONSE_TYPE: ResponseType = ResponseType::AvailableBlockRange; constant RESPONSE_TYPE (line 364) | const RESPONSE_TYPE: ResponseType = ResponseType::ChainspecRawBytes; constant RESPONSE_TYPE (line 368) | const RESPONSE_TYPE: ResponseType = ResponseType::ConsensusValidatorCh... constant RESPONSE_TYPE (line 372) | const RESPONSE_TYPE: ResponseType = ResponseType::GlobalStateQueryResult; constant RESPONSE_TYPE (line 376) | const RESPONSE_TYPE: ResponseType = ResponseType::DictionaryQueryResult; constant RESPONSE_TYPE (line 380) | const RESPONSE_TYPE: ResponseType = ResponseType::StoredValues; constant RESPONSE_TYPE (line 384) | const RESPONSE_TYPE: ResponseType = ResponseType::GetTrieFullResult; constant RESPONSE_TYPE (line 388) | const RESPONSE_TYPE: ResponseType = ResponseType::SpeculativeExecution... constant RESPONSE_TYPE (line 392) | const RESPONSE_TYPE: ResponseType = ResponseType::NodeStatus; constant RESPONSE_TYPE (line 396) | const RESPONSE_TYPE: ResponseType = ResponseType::NextUpgrade; constant RESPONSE_TYPE (line 400) | const RESPONSE_TYPE: ResponseType = ResponseType::Uptime; constant RESPONSE_TYPE (line 404) | const RESPONSE_TYPE: ResponseType = ResponseType::LastProgress; constant RESPONSE_TYPE (line 408) | const RESPONSE_TYPE: ResponseType = ResponseType::ReactorState; constant RESPONSE_TYPE (line 412) | const RESPONSE_TYPE: ResponseType = ResponseType::NetworkName; constant RESPONSE_TYPE (line 416) | const RESPONSE_TYPE: ResponseType = ResponseType::BlockSynchronizerSta... constant RESPONSE_TYPE (line 420) | const RESPONSE_TYPE: ResponseType = ResponseType::ConsensusStatus; constant RESPONSE_TYPE (line 424) | const RESPONSE_TYPE: ResponseType = ResponseType::BalanceResponse; constant RESPONSE_TYPE (line 428) | const RESPONSE_TYPE: ResponseType = ResponseType::Reward; constant RESPONSE_TYPE (line 432) | const RESPONSE_TYPE: ResponseType = ResponseType::ProtocolVersion; constant RESPONSE_TYPE (line 436) | const RESPONSE_TYPE: ResponseType = ResponseType::ContractPackageWithP... constant RESPONSE_TYPE (line 440) | const RESPONSE_TYPE: ResponseType = ResponseType::ContractInformation; constant RESPONSE_TYPE (line 444) | const RESPONSE_TYPE: ResponseType = ResponseType::AccountInformation; constant RESPONSE_TYPE (line 448) | const RESPONSE_TYPE: ResponseType = ResponseType::PackageWithProof; constant RESPONSE_TYPE (line 452) | const RESPONSE_TYPE: ResponseType = ResponseType::AddressableEntityInf... constant RESPONSE_TYPE (line 459) | const RESPONSE_TYPE: ResponseType = T::RESPONSE_TYPE; function convert_u8_roundtrip (line 468) | fn convert_u8_roundtrip() { FILE: binary_port/src/speculative_execution_result.rs type SpeculativeExecutionResult (line 31) | pub struct SpeculativeExecutionResult { method new (line 49) | pub fn new( method example (line 71) | pub fn example() -> &'static Self { method random (line 76) | pub fn random(rng: &mut TestRng) -> Self { method from (line 104) | fn from(invalid_transaction: InvalidTransaction) -> Self { method to_bytes (line 118) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 124) | fn serialized_length(&self) -> usize { method write_bytes (line 134) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 146) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function bytesrepr_roundtrip (line 175) | fn bytesrepr_roundtrip() { FILE: binary_port/src/state_request.rs type GlobalStateRequest (line 15) | pub struct GlobalStateRequest { method new (line 23) | pub fn new( method destructure (line 32) | pub fn destructure(self) -> (Option, GlobalStat... method state_identifier (line 36) | pub fn state_identifier(self) -> Option { method random (line 41) | pub(crate) fn random(rng: &mut TestRng) -> Self { method to_bytes (line 54) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method write_bytes (line 60) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method serialized_length (line 66) | fn serialized_length(&self) -> usize { method from_bytes (line 72) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method fmt (line 86) | fn fmt(&self, f: &mut Formatter<'_>) -> DisplayResult { function bytesrepr_roundtrip (line 113) | fn bytesrepr_roundtrip() { FILE: binary_port/src/type_wrappers.rs type Uptime (line 46) | pub struct Uptime(u64); method new (line 50) | pub fn new(value: u64) -> Self { method into_inner (line 55) | pub fn into_inner(self) -> u64 { method from (line 61) | fn from(uptime: Uptime) -> Self { type Error (line 67) | type Error = TryFromIntError; method try_from (line 69) | fn try_from(uptime: Uptime) -> Result { type ConsensusValidatorChanges (line 76) | pub struct ConsensusValidatorChanges(BTreeMap>) ... method into_inner (line 85) | pub fn into_inner(self) -> BTreeMap Self { type NetworkName (line 98) | pub struct NetworkName(String); method new (line 102) | pub fn new(value: impl ToString) -> Self { method into_inner (line 107) | pub fn into_inner(self) -> String { method from (line 113) | fn from(network_name: NetworkName) -> Self { type ReactorStateName (line 120) | pub struct ReactorStateName(String); method new (line 124) | pub fn new(value: impl ToString) -> Self { method into_inner (line 129) | pub fn into_inner(self) -> String { method from (line 135) | fn from(reactor_state: ReactorStateName) -> Self { type LastProgress (line 142) | pub struct LastProgress(Timestamp); method new (line 146) | pub fn new(value: Timestamp) -> Self { method into_inner (line 151) | pub fn into_inner(self) -> Timestamp { method from (line 157) | fn from(last_progress: LastProgress) -> Self { type GetTrieFullResult (line 164) | pub struct GetTrieFullResult(Option); method new (line 168) | pub fn new(value: Option) -> Self { method into_inner (line 173) | pub fn into_inner(self) -> Option { type RewardResponse (line 180) | pub struct RewardResponse { method new (line 189) | pub fn new( method amount (line 204) | pub fn amount(&self) -> U512 { method era_id (line 209) | pub fn era_id(&self) -> EraId { method delegation_rate (line 214) | pub fn delegation_rate(&self) -> DelegationRate { method switch_block_hash (line 219) | pub fn switch_block_hash(&self) -> BlockHash { method to_bytes (line 225) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 231) | fn serialized_length(&self) -> usize { method write_bytes (line 238) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 247) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { type ConsensusStatus (line 261) | pub struct ConsensusStatus { method new (line 268) | pub fn new(validator_public_key: PublicKey, round_length: Option &PublicKey { method round_length (line 281) | pub fn round_length(&self) -> Option { method to_bytes (line 287) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 293) | fn serialized_length(&self) -> usize { method write_bytes (line 297) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 304) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { type TransactionWithExecutionInfo (line 316) | pub struct TransactionWithExecutionInfo { method new (line 323) | pub fn new(transaction: Transaction, execution_info: Option (Transaction, Option) { method to_bytes (line 337) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 343) | fn serialized_length(&self) -> usize { method write_bytes (line 347) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 354) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { type DictionaryQueryResult (line 367) | pub struct DictionaryQueryResult { method new (line 374) | pub fn new(key: Key, query_result: GlobalStateQueryResult) -> Self { method into_inner (line 379) | pub fn into_inner(self) -> (Key, GlobalStateQueryResult) { method to_bytes (line 385) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method write_bytes (line 391) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method serialized_length (line 396) | fn serialized_length(&self) -> usize { method from_bytes (line 402) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { type AccountInformation (line 411) | pub struct AccountInformation { method new (line 418) | pub fn new(account: Account, merkle_proof: Vec &Account { method merkle_proof (line 431) | pub fn merkle_proof(&self) -> &Vec> { method into_inner (line 436) | pub fn into_inner(self) -> (Account, Vec Result, bytesrepr::Error> { method write_bytes (line 448) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method serialized_length (line 453) | fn serialized_length(&self) -> usize { method from_bytes (line 459) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { type ContractInformation (line 468) | pub struct ContractInformation { method new (line 476) | pub fn new( method hash (line 489) | pub fn hash(&self) -> ContractHash { method contract (line 494) | pub fn contract(&self) -> &Contract { method contract_proof (line 499) | pub fn contract_proof(&self) -> &Vec> { method wasm (line 504) | pub fn wasm(&self) -> Option<&ValueWithProof> { method into_inner (line 509) | pub fn into_inner( method to_bytes (line 521) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method write_bytes (line 527) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method serialized_length (line 533) | fn serialized_length(&self) -> usize { method from_bytes (line 541) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { type AddressableEntityInformation (line 551) | pub struct AddressableEntityInformation { method new (line 559) | pub fn new( method addr (line 572) | pub fn addr(&self) -> EntityAddr { method entity (line 577) | pub fn entity(&self) -> &AddressableEntity { method entity_merkle_proof (line 582) | pub fn entity_merkle_proof(&self) -> &Vec Option<&ValueWithProof> { method into_inner (line 592) | pub fn into_inner( method to_bytes (line 604) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method write_bytes (line 610) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method serialized_length (line 616) | fn serialized_length(&self) -> usize { method from_bytes (line 624) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { type ValueWithProof (line 637) | pub struct ValueWithProof { function new (line 644) | pub fn new(value: T, merkle_proof: Vec... function value (line 652) | pub fn value(&self) -> &T { function merkle_proof (line 657) | pub fn merkle_proof(&self) -> &[TrieMerkleProof] { function into_inner (line 662) | pub fn into_inner(self) -> (T, Vec>) { method to_bytes (line 668) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method write_bytes (line 674) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method serialized_length (line 679) | fn serialized_length(&self) -> usize { method from_bytes (line 685) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function uptime_roundtrip (line 711) | fn uptime_roundtrip() { function consensus_validator_changes_roundtrip (line 717) | fn consensus_validator_changes_roundtrip() { function network_name_roundtrip (line 727) | fn network_name_roundtrip() { function reactor_state_name_roundtrip (line 733) | fn reactor_state_name_roundtrip() { function last_progress_roundtrip (line 739) | fn last_progress_roundtrip() { function get_trie_full_result_roundtrip (line 745) | fn get_trie_full_result_roundtrip() { function reward_roundtrip (line 751) | fn reward_roundtrip() { function consensus_status_roundtrip (line 762) | fn consensus_status_roundtrip() { function transaction_with_execution_info_roundtrip (line 771) | fn transaction_with_execution_info_roundtrip() { function dictionary_query_result_roundtrip (line 784) | fn dictionary_query_result_roundtrip() { function contract_with_wasm_roundtrip (line 796) | fn contract_with_wasm_roundtrip() { function addressable_entity_with_byte_code_roundtrip (line 820) | fn addressable_entity_with_byte_code_roundtrip() { FILE: cargo_casper/build.rs function main (line 3) | fn main() { FILE: cargo_casper/project_template/src/lib.rs type Contract (line 7) | pub struct Contract { method new (line 20) | pub fn new() -> Self { method default (line 25) | pub fn default() -> Self { method increase (line 29) | pub fn increase(&mut self) { method get (line 33) | pub fn get(&self) -> u64 { method default (line 12) | fn default() -> Self { function test_counter (line 43) | fn test_counter() { FILE: cargo_casper/src/cli.rs function extract_embedded_dir (line 15) | pub(crate) fn extract_embedded_dir(target: &Path, dir: &Dir) -> io::Resu... type Command (line 39) | pub(crate) enum Command { type Cli (line 69) | pub(crate) struct Cli { FILE: cargo_casper/src/cli/build.rs function build_impl (line 8) | pub fn build_impl( FILE: cargo_casper/src/cli/build_schema.rs function build_schema_impl (line 13) | pub fn build_schema_impl( FILE: cargo_casper/src/cli/build_schema/artifact.rs constant COLLECT_SCHEMA_FUNC (line 5) | const COLLECT_SCHEMA_FUNC: &str = "__cargo_casper_collect_schema"; type CollectSchema (line 7) | type CollectSchema = unsafe extern "C" fn(size_ptr: *mut u64) -> *mut u8; type Artifact (line 9) | pub(crate) struct Artifact { method from_path (line 14) | pub(crate) fn from_path>( method collect_schema (line 26) | pub(crate) fn collect_schema(&self) -> serde_json::Result Result<(), anyhow::Error> { FILE: cargo_casper/src/compilation.rs type CompileJob (line 12) | pub(crate) struct CompileJob<'a> { function new (line 22) | pub fn new( function dispatch (line 37) | pub fn dispatch(&self, target: T, extra_features: I) -> Result<... type CompilationResults (line 143) | pub(crate) struct CompilationResults { method artifacts (line 149) | pub fn artifacts(&self) -> &[PathBuf] { method get_artifact_by_extension (line 153) | pub fn get_artifact_by_extension(&self, extension: &str) -> Option anyhow::Result<()> { FILE: cargo_casper/src/utils/command_runner.rs type Outcome (line 16) | pub enum Outcome { type Line (line 26) | pub enum Line { method fmt (line 32) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { constant DEFAULT_MAX_LINES (line 41) | pub const DEFAULT_MAX_LINES: usize = 10; type ProcessHandle (line 44) | pub struct ProcessHandle { method wait (line 52) | pub fn wait(mut self) -> Result<(), Outcome> { function run_process (line 94) | pub fn run_process(command: &mut Command) -> io::Result { type Interactive (line 157) | pub enum Interactive { method is_enabled (line 168) | pub fn is_enabled(&self) -> bool { type LogTrail (line 177) | pub struct LogTrail { method new (line 191) | pub fn new(max_lines: usize, interactive: Interactive) -> Self { method push_line (line 205) | pub fn push_line>(&mut self, line: S) -> io::Result<()> { type LogTrailBuilder (line 241) | pub struct LogTrailBuilder { method new (line 248) | pub fn new() -> Self { method max_lines (line 253) | pub fn max_lines(mut self, max_lines: usize) -> Self { method interactive (line 259) | pub fn interactive(mut self, interactive: Interactive) -> Self { method build (line 265) | pub fn build(self) -> LogTrail { function test_run_process (line 277) | fn test_run_process() { function test_run_interactive_process (line 285) | fn test_run_interactive_process() { function test_run_process_failure (line 293) | fn test_run_process_failure() { function test_run_process_with_env (line 301) | fn test_run_process_with_env() { FILE: ci/casper_updater/src/dependent_file.rs type DependentFile (line 9) | pub struct DependentFile { method new (line 19) | pub fn new>( method update (line 40) | pub fn update(&self, updated_version: &str) { method path (line 49) | pub fn path(&self) -> &Path { method relative_path (line 53) | pub fn relative_path(&self) -> &Path { method contents (line 59) | pub fn contents(&self) -> String { FILE: ci/casper_updater/src/main.rs constant APP_NAME (line 52) | const APP_NAME: &str = "Casper Updater"; constant ROOT_DIR_ARG_NAME (line 54) | const ROOT_DIR_ARG_NAME: &str = "root-dir"; constant ROOT_DIR_ARG_SHORT (line 55) | const ROOT_DIR_ARG_SHORT: char = 'r'; constant ROOT_DIR_ARG_VALUE_NAME (line 56) | const ROOT_DIR_ARG_VALUE_NAME: &str = "PATH"; constant ROOT_DIR_ARG_HELP (line 57) | const ROOT_DIR_ARG_HELP: &str = constant BUMP_ARG_NAME (line 60) | const BUMP_ARG_NAME: &str = "bump"; constant BUMP_ARG_SHORT (line 61) | const BUMP_ARG_SHORT: char = 'b'; constant BUMP_ARG_VALUE_NAME (line 62) | const BUMP_ARG_VALUE_NAME: &str = "VERSION-COMPONENT"; constant BUMP_ARG_HELP (line 63) | const BUMP_ARG_HELP: &str = constant MAJOR (line 68) | const MAJOR: &str = "major"; constant MINOR (line 69) | const MINOR: &str = "minor"; constant PATCH (line 70) | const PATCH: &str = "patch"; constant DRY_RUN_ARG_NAME (line 72) | const DRY_RUN_ARG_NAME: &str = "dry-run"; constant DRY_RUN_ARG_SHORT (line 73) | const DRY_RUN_ARG_SHORT: char = 'd'; constant DRY_RUN_ARG_HELP (line 74) | const DRY_RUN_ARG_HELP: &str = "Checks all regexes get matches in curren... constant ALLOW_EARLIER_VERSION_NAME (line 76) | const ALLOW_EARLIER_VERSION_NAME: &str = "allow-earlier-version"; constant ALLOW_EARLIER_VERSION_HELP (line 77) | const ALLOW_EARLIER_VERSION_HELP: &str = "Allows manual setting of versi... type BumpVersion (line 80) | pub(crate) enum BumpVersion { method update (line 87) | pub(crate) fn update(self, current_version: &Version) -> Version { type Args (line 100) | struct Args { function root_dir (line 108) | pub(crate) fn root_dir() -> &'static Path { function bump_version (line 113) | pub(crate) fn bump_version() -> Option { function is_dry_run (line 118) | pub(crate) fn is_dry_run() -> bool { function allow_earlier_version (line 123) | pub(crate) fn allow_earlier_version() -> bool { function get_args (line 129) | fn get_args() -> Args { function main (line 199) | fn main() { FILE: ci/casper_updater/src/package.rs constant CAPTURE_INDEX (line 14) | const CAPTURE_INDEX: usize = 2; type Package (line 18) | pub struct Package { method cargo (line 50) | pub fn cargo>( method name (line 57) | pub fn name(&self) -> &str { method new (line 61) | fn new, T: PackageConsts>( method update (line 111) | pub fn update(&self) { type PackageConsts (line 28) | trait PackageConsts { constant MANIFEST (line 29) | const MANIFEST: &'static str; method name_regex (line 30) | fn name_regex() -> &'static Regex; method version_regex (line 31) | fn version_regex() -> &'static Regex; constant MANIFEST (line 37) | const MANIFEST: &'static str = "Cargo.toml"; method name_regex (line 39) | fn name_regex() -> &'static Regex { method version_regex (line 43) | fn version_regex() -> &'static Regex { type CargoPackage (line 34) | struct CargoPackage; function get_updated_version_from_user (line 148) | pub fn get_updated_version_from_user(name: &str, current_version: &Versi... FILE: ci/casper_updater/src/regex_data.rs function replacement (line 13) | fn replacement(updated_version: &str) -> String { function replacement_with_slash (line 17) | fn replacement_with_slash(updated_version: &str) -> String { FILE: execution_engine/benches/trie_bench.rs function serialize_trie_leaf (line 12) | fn serialize_trie_leaf(b: &mut Bencher) { function deserialize_trie_leaf (line 24) | fn deserialize_trie_leaf(b: &mut Bencher) { function serialize_trie_node (line 37) | fn serialize_trie_node(b: &mut Bencher) { function deserialize_trie_node (line 44) | fn deserialize_trie_node(b: &mut Bencher) { function serialize_trie_node_pointer (line 53) | fn serialize_trie_node_pointer(b: &mut Bencher) { function deserialize_trie_node_pointer (line 62) | fn deserialize_trie_node_pointer(b: &mut Bencher) { function trie_bench (line 72) | fn trie_bench(c: &mut Criterion) { FILE: execution_engine/src/bin/run_wasm.rs function prepare_instance (line 15) | fn prepare_instance(module_bytes: &[u8], chainspec: &ChainspecConfig) ->... type RunWasmInfo (line 29) | struct RunWasmInfo { function run_wasm (line 34) | fn run_wasm( type Args (line 103) | struct Args { function load_wasm_file (line 117) | fn load_wasm_file>(path: P) -> Vec { type TransactionConfig (line 129) | struct TransactionConfig { type ChainspecConfig (line 135) | struct ChainspecConfig { function main (line 143) | fn main() { type MinimalWasmiResolver (line 164) | struct MinimalWasmiResolver(()); type MinimalWasmiExternals (line 167) | struct MinimalWasmiExternals { method new (line 173) | fn new(gas_used: u64, block_gas_limit: u64) -> Self { constant GAS_FUNC_IDX (line 181) | const GAS_FUNC_IDX: usize = 0; method resolve_func (line 184) | fn resolve_func( method resolve_memory (line 202) | fn resolve_memory( type GasLimit (line 220) | struct GasLimit; method invoke_index (line 225) | fn invoke_index( FILE: execution_engine/src/engine_state/engine_config.rs constant DEFAULT_MAX_QUERY_DEPTH (line 16) | pub const DEFAULT_MAX_QUERY_DEPTH: u64 = 5; constant DEFAULT_MAX_ASSOCIATED_KEYS (line 18) | pub const DEFAULT_MAX_ASSOCIATED_KEYS: u32 = 100; constant DEFAULT_MAX_RUNTIME_CALL_STACK_HEIGHT (line 20) | pub const DEFAULT_MAX_RUNTIME_CALL_STACK_HEIGHT: u32 = 12; constant DEFAULT_MAX_STORED_VALUE_SIZE (line 26) | pub const DEFAULT_MAX_STORED_VALUE_SIZE: u32 = 8 * 1024 * 1024; constant DEFAULT_MINIMUM_DELEGATION_AMOUNT (line 28) | pub const DEFAULT_MINIMUM_DELEGATION_AMOUNT: u64 = 500 * 1_000_000_000; constant DEFAULT_MAXIMUM_DELEGATION_AMOUNT (line 30) | pub const DEFAULT_MAXIMUM_DELEGATION_AMOUNT: u64 = 1_000_000_000 * 1_000... constant DEFAULT_STRICT_ARGUMENT_CHECKING (line 32) | pub const DEFAULT_STRICT_ARGUMENT_CHECKING: bool = false; constant VESTING_SCHEDULE_LENGTH_DAYS (line 35) | const VESTING_SCHEDULE_LENGTH_DAYS: usize = 91; constant DAY_MILLIS (line 36) | const DAY_MILLIS: usize = 24 * 60 * 60 * 1000; constant DEFAULT_VESTING_SCHEDULE_LENGTH_MILLIS (line 38) | pub const DEFAULT_VESTING_SCHEDULE_LENGTH_MILLIS: u64 = constant DEFAULT_MAX_DELEGATORS_PER_VALIDATOR (line 41) | pub const DEFAULT_MAX_DELEGATORS_PER_VALIDATOR: u32 = 1200; constant DEFAULT_ALLOW_AUCTION_BIDS (line 43) | pub const DEFAULT_ALLOW_AUCTION_BIDS: bool = true; constant DEFAULT_ALLOW_UNRESTRICTED_TRANSFERS (line 45) | pub const DEFAULT_ALLOW_UNRESTRICTED_TRANSFERS: bool = true; constant DEFAULT_COMPUTE_REWARDS (line 47) | pub const DEFAULT_COMPUTE_REWARDS: bool = true; constant DEFAULT_PROTOCOL_VERSION (line 49) | pub const DEFAULT_PROTOCOL_VERSION: ProtocolVersion = ProtocolVersion::V... constant DEFAULT_BALANCE_HOLD_INTERVAL (line 51) | pub const DEFAULT_BALANCE_HOLD_INTERVAL: TimeDiff = TimeDiff::from_secon... constant DEFAULT_ENABLE_ENTITY (line 54) | pub const DEFAULT_ENABLE_ENTITY: bool = false; constant DEFAULT_TRAP_ON_AMBIGUOUS_ENTITY_VERSION (line 56) | pub(crate) const DEFAULT_TRAP_ON_AMBIGUOUS_ENTITY_VERSION: bool = false; type EngineConfig (line 60) | pub struct EngineConfig { method max_associated_keys (line 130) | pub fn max_associated_keys(&self) -> u32 { method max_runtime_call_stack_height (line 135) | pub fn max_runtime_call_stack_height(&self) -> u32 { method wasm_config (line 140) | pub fn wasm_config(&self) -> &WasmConfig { method system_config (line 145) | pub fn system_config(&self) -> &SystemConfig { method protocol_version (line 150) | pub fn protocol_version(&self) -> ProtocolVersion { method minimum_delegation_amount (line 155) | pub fn minimum_delegation_amount(&self) -> u64 { method maximum_delegation_amount (line 160) | pub fn maximum_delegation_amount(&self) -> u64 { method minimum_bid_amount (line 165) | pub fn minimum_bid_amount(&self) -> u64 { method strict_argument_checking (line 170) | pub fn strict_argument_checking(&self) -> bool { method vesting_schedule_period_millis (line 175) | pub fn vesting_schedule_period_millis(&self) -> u64 { method max_delegators_per_validator (line 180) | pub fn max_delegators_per_validator(&self) -> u32 { method administrative_accounts (line 185) | pub fn administrative_accounts(&self) -> &BTreeSet { method allow_auction_bids (line 190) | pub fn allow_auction_bids(&self) -> bool { method allow_unrestricted_transfers (line 195) | pub fn allow_unrestricted_transfers(&self) -> bool { method is_administrator (line 200) | pub(crate) fn is_administrator(&self, account_hash: &AccountHash) -> b... method refund_handling (line 205) | pub fn refund_handling(&self) -> RefundHandling { method fee_handling (line 210) | pub fn fee_handling(&self) -> FeeHandling { method storage_costs (line 215) | pub fn storage_costs(&self) -> &StorageCosts { method compute_rewards (line 220) | pub fn compute_rewards(&self) -> bool { method trap_on_ambiguous_entity_version (line 225) | pub fn trap_on_ambiguous_entity_version(&self) -> bool { method rewards_handling (line 230) | pub fn rewards_handling(&self) -> RewardsHandling { method set_protocol_version (line 239) | pub fn set_protocol_version(&mut self, protocol_version: ProtocolVersi... method set_max_memory (line 245) | pub fn set_max_memory(&mut self, new_value: u32) { method default (line 101) | fn default() -> Self { type EngineConfigBuilder (line 255) | pub struct EngineConfigBuilder { method new (line 283) | pub fn new() -> Self { method with_max_query_depth (line 288) | pub fn with_max_query_depth(mut self, max_query_depth: u64) -> Self { method with_max_associated_keys (line 294) | pub fn with_max_associated_keys(mut self, max_associated_keys: u32) ->... method with_max_runtime_call_stack_height (line 300) | pub fn with_max_runtime_call_stack_height( method with_strict_argument_checking (line 309) | pub fn with_strict_argument_checking(mut self, value: bool) -> Self { method with_vesting_schedule_period_millis (line 315) | pub fn with_vesting_schedule_period_millis(mut self, value: u64) -> Se... method with_max_delegators_per_validator (line 321) | pub fn with_max_delegators_per_validator(mut self, value: u32) -> Self { method with_wasm_config (line 327) | pub fn with_wasm_config(mut self, wasm_config: WasmConfig) -> Self { method with_system_config (line 333) | pub fn with_system_config(mut self, system_config: SystemConfig) -> Se... method with_protocol_version (line 339) | pub fn with_protocol_version(mut self, protocol_version: ProtocolVersi... method with_wasm_max_stack_height (line 345) | pub fn with_wasm_max_stack_height(mut self, wasm_stack_height: u32) ->... method with_minimum_delegation_amount (line 352) | pub fn with_minimum_delegation_amount(mut self, minimum_delegation_amo... method with_maximum_delegation_amount (line 358) | pub fn with_maximum_delegation_amount(mut self, maximum_delegation_amo... method with_minimum_bid_amount (line 364) | pub fn with_minimum_bid_amount(mut self, minimum_bid_amount: u64) -> S... method with_administrative_accounts (line 370) | pub fn with_administrative_accounts( method with_allow_auction_bids (line 379) | pub fn with_allow_auction_bids(mut self, allow_auction_bids: bool) -> ... method with_allow_unrestricted_transfers (line 385) | pub fn with_allow_unrestricted_transfers(mut self, allow_unrestricted_... method with_refund_handling (line 391) | pub fn with_refund_handling(mut self, refund_handling: RefundHandling)... method with_fee_handling (line 409) | pub fn with_fee_handling(mut self, fee_handling: FeeHandling) -> Self { method with_compute_rewards (line 415) | pub fn with_compute_rewards(mut self, compute_rewards: bool) -> Self { method balance_hold_interval (line 421) | pub fn balance_hold_interval(mut self, balance_hold_interval: TimeDiff... method with_enable_entity (line 427) | pub fn with_enable_entity(mut self, enable_entity: bool) -> Self { method with_trap_on_ambiguous_entity_version (line 433) | pub fn with_trap_on_ambiguous_entity_version( method with_storage_costs (line 442) | pub fn with_storage_costs(mut self, storage_costs: StorageCosts) -> Se... method build (line 448) | pub fn build(self) -> EngineConfig { FILE: execution_engine/src/engine_state/error.rs type Error (line 17) | pub enum Error { method reverter (line 59) | pub fn reverter(api_error: impl Into) -> Error { method from (line 65) | fn from(err: TransferError) -> Self { method from (line 71) | fn from(error: ExecError) -> Self { method from (line 82) | fn from(error: bytesrepr::Error) -> Self { method from (line 88) | fn from(error: mint::Error) -> Self { method from (line 94) | fn from(_: stack::RuntimeStackOverflow) -> Self { method from (line 100) | fn from(e: TrackingCopyError) -> Self { constant IS_DYNAMIC (line 106) | const IS_DYNAMIC: bool = true; constant STATIC_HEAP_SIZE (line 108) | const STATIC_HEAP_SIZE: usize = 0; method estimate_heap_size (line 111) | fn estimate_heap_size(&self) -> usize { FILE: execution_engine/src/engine_state/execution_kind.rs type ExecutionKind (line 14) | pub(crate) enum ExecutionKind<'a> { function new (line 42) | pub(crate) fn new( function new_direct_invocation (line 64) | fn new_direct_invocation( FILE: execution_engine/src/engine_state/mod.rs constant WASMLESS_TRANSFER_FIXED_GAS_PRICE (line 36) | pub const WASMLESS_TRANSFER_FIXED_GAS_PRICE: u8 = 1; type ExecutionEngineV1 (line 40) | pub struct ExecutionEngineV1 { method new (line 46) | pub fn new(config: EngineConfig) -> ExecutionEngineV1 { method config (line 51) | pub fn config(&self) -> &EngineConfig { method execute (line 56) | pub fn execute( method execute_with_tracking_copy (line 133) | pub fn execute_with_tracking_copy( FILE: execution_engine/src/engine_state/wasm_v1.rs constant DEFAULT_ENTRY_POINT (line 19) | const DEFAULT_ENTRY_POINT: &str = "call"; type SessionDataDeploy (line 22) | pub struct SessionDataDeploy<'a> { function new (line 32) | pub fn new( function deploy_hash (line 49) | pub fn deploy_hash(&self) -> &DeployHash { function session (line 54) | pub fn session(&self) -> &ExecutableDeployItem { function initiator_addr (line 59) | pub fn initiator_addr(&self) -> &InitiatorAddr { function signers (line 64) | pub fn signers(&self) -> BTreeSet { type SessionDataV1 (line 70) | pub struct SessionDataV1<'a> { function new (line 85) | pub fn new( function args (line 110) | pub fn args(&self) -> &RuntimeArgs { function target (line 115) | pub fn target(&self) -> &TransactionTarget { function entry_point (line 120) | pub fn entry_point(&self) -> &TransactionEntryPoint { function is_install_upgrade (line 125) | pub fn is_install_upgrade(&self) -> bool { function hash (line 130) | pub fn hash(&self) -> &TransactionV1Hash { function initiator_addr (line 135) | pub fn initiator_addr(&self) -> &InitiatorAddr { function signers (line 140) | pub fn signers(&self) -> BTreeSet { function pricing_mode (line 145) | pub fn pricing_mode(&self) -> &PricingMode { type SessionInputData (line 151) | pub enum SessionInputData<'a> { function transaction_hash (line 166) | pub fn transaction_hash(&self) -> TransactionHash { function initiator_addr (line 176) | pub fn initiator_addr(&self) -> &InitiatorAddr { function signers (line 184) | pub fn signers(&self) -> BTreeSet { function is_standard_payment (line 192) | pub fn is_standard_payment(&self) -> bool { function is_install_upgrade_allowed (line 200) | pub fn is_install_upgrade_allowed(&self) -> bool { type InvalidRequest (line 210) | pub enum InvalidRequest { type SessionKind (line 232) | pub enum SessionKind { type ExecutableItem (line 239) | pub enum ExecutableItem { method is_install_upgrade_allowed (line 257) | pub fn is_install_upgrade_allowed(&self) -> bool { type BlockInfo (line 270) | pub struct BlockInfo { method new (line 285) | pub fn new( method with_state_hash (line 302) | pub fn with_state_hash(&mut self, state_hash: Digest) { method state_hash (line 307) | pub fn state_hash(&self) -> Digest { method block_time (line 312) | pub fn block_time(&self) -> BlockTime { method parent_block_hash (line 317) | pub fn parent_block_hash(&self) -> BlockHash { method block_height (line 322) | pub fn block_height(&self) -> u64 { method protocol_version (line 327) | pub fn protocol_version(&self) -> ProtocolVersion { type WasmV1Request (line 334) | pub struct WasmV1Request { method new_from_executable_deploy_item (line 357) | pub fn new_from_executable_deploy_item( method new_payment_from_executable_deploy_item (line 378) | pub fn new_payment_from_executable_deploy_item( method new_from_executable_info (line 398) | pub(crate) fn new_from_executable_info( method new_session (line 421) | pub fn new_session( method new_custom_payment (line 441) | pub fn new_custom_payment( type WasmV1Result (line 463) | pub struct WasmV1Result { method new (line 485) | pub fn new( method error (line 508) | pub fn error(&self) -> Option<&EngineError> { method transfers (line 513) | pub fn transfers(&self) -> &Vec { method limit (line 518) | pub fn limit(&self) -> Gas { method consumed (line 523) | pub fn consumed(&self) -> Gas { method effects (line 528) | pub fn effects(&self) -> &Effects { method cache (line 533) | pub fn cache(&self) -> Option<&TrackingCopyCache> { method messages (line 538) | pub fn messages(&self) -> &Messages { method ret (line 543) | pub fn ret(&self) -> Option<&CLValue> { method root_not_found (line 548) | pub fn root_not_found(gas_limit: Gas, state_hash: Digest) -> Self { method precondition_failure (line 562) | pub fn precondition_failure(gas_limit: Gas, error: EngineError) -> Self { method invalid_executable_item (line 576) | pub fn invalid_executable_item(gas_limit: Gas, error: InvalidRequest) ... method has_precondition_failure (line 593) | pub fn has_precondition_failure(&self) -> bool { method from_transfer_result (line 598) | pub fn from_transfer_result(transfer_result: TransferResult, consumed:... method balance_increased_by_amount (line 635) | pub fn balance_increased_by_amount(&self, addr: URefAddr, amount: U512... type ExecutableInfo (line 651) | struct ExecutableInfo { type Executable (line 657) | pub(crate) trait Executable { method item (line 658) | fn item(&self) -> ExecutableItem; method entry_point (line 659) | fn entry_point(&self) -> &String; method args (line 660) | fn args(&self) -> &RuntimeArgs; method phase (line 661) | fn phase(&self) -> Phase; method item (line 668) | fn item(&self) -> ExecutableItem { method entry_point (line 672) | fn entry_point(&self) -> &String { method args (line 676) | fn args(&self) -> &RuntimeArgs { method phase (line 680) | fn phase(&self) -> Phase { method item (line 853) | fn item(&self) -> ExecutableItem { method entry_point (line 857) | fn entry_point(&self) -> &String { method args (line 861) | fn args(&self) -> &RuntimeArgs { method phase (line 865) | fn phase(&self) -> Phase { type SessionInfo (line 665) | struct SessionInfo(ExecutableInfo); type Error (line 697) | type Error = InvalidRequest; method try_from (line 699) | fn try_from(input_data: &SessionInputData) -> Result { type Error (line 708) | type Error = InvalidRequest; method try_from (line 710) | fn try_from(deploy_data: &SessionDataDeploy) -> Result Result { function build_session_info_for_executable_item (line 717) | fn build_session_info_for_executable_item( type PaymentInfo (line 850) | struct PaymentInfo(ExecutableInfo); type Error (line 686) | type Error = InvalidRequest; method try_from (line 688) | fn try_from(input_data: &SessionInputData) -> Result { type Error (line 871) | type Error = InvalidRequest; method try_from (line 873) | fn try_from(deploy_data: &SessionDataDeploy) -> Result Result { function build_payment_info_for_executable_item (line 880) | fn build_payment_info_for_executable_item( FILE: execution_engine/src/execution/error.rs type Error (line 24) | pub enum Error { method from (line 204) | fn from(error: PreprocessingError) -> Self { method from (line 210) | fn from(_optimizer_error: casper_wasm_utils::OptimizerError) -> Self { method type_mismatch (line 217) | pub fn type_mismatch(expected: CLType, found: CLType) -> Error { method from (line 228) | fn from(error: casper_wasmi::Error) -> Self { method from (line 240) | fn from(e: global_state::error::Error) -> Self { method from (line 246) | fn from(e: bytesrepr::Error) -> Self { method from (line 252) | fn from(e: elements::Error) -> Self { method from (line 258) | fn from(err: ResolverError) -> Self { method from (line 264) | fn from(err: AddKeyFailure) -> Self { method from (line 270) | fn from(err: RemoveKeyFailure) -> Self { method from (line 276) | fn from(err: UpdateKeyFailure) -> Self { method from (line 282) | fn from(err: SetThresholdFailure) -> Self { method from (line 288) | fn from(error: system::Error) -> Self { method from (line 294) | fn from(e: CLValueError) -> Self { method from (line 300) | fn from(_: stack::RuntimeStackOverflow) -> Self { method from (line 306) | fn from(e: TrackingCopyError) -> Self { FILE: execution_engine/src/execution/executor.rs constant ARG_AMOUNT (line 21) | const ARG_AMOUNT: &str = "amount"; function try_get_amount (line 23) | fn try_get_amount(runtime_args: &RuntimeArgs) -> Result { type Executor (line 30) | pub struct Executor { method new (line 36) | pub fn new(config: EngineConfig) -> Self { method exec (line 45) | pub(crate) fn exec( method create_runtime_context (line 179) | fn create_runtime_context<'a, R>( FILE: execution_engine/src/resolvers/error.rs type ResolverError (line 9) | pub enum ResolverError { FILE: execution_engine/src/resolvers/memory_resolver.rs type MemoryResolver (line 10) | pub trait MemoryResolver { method memory_ref (line 12) | fn memory_ref(&self) -> Result; FILE: execution_engine/src/resolvers/mod.rs function create_module_resolver (line 18) | pub(crate) fn create_module_resolver( function resolve_invalid_module (line 38) | fn resolve_invalid_module() { function protocol_version_1_always_resolves (line 46) | fn protocol_version_1_always_resolves() { FILE: execution_engine/src/resolvers/v1_function_index.rs type FunctionIndex (line 8) | pub(crate) enum FunctionIndex { type Error (line 80) | type Error = &'static str; method try_from (line 81) | fn try_from(value: usize) -> Result { function from (line 72) | fn from(index: FunctionIndex) -> usize { function primitive_to_enum (line 91) | fn primitive_to_enum() { function enum_to_primitive (line 96) | fn enum_to_primitive() { function invalid_index (line 102) | fn invalid_index() { FILE: execution_engine/src/resolvers/v1_resolver.rs type RuntimeModuleImportResolver (line 12) | pub(crate) struct RuntimeModuleImportResolver { method new (line 18) | pub(crate) fn new(max_memory: u32) -> Self { method memory_ref (line 27) | fn memory_ref(&self) -> Result { method resolve_func (line 37) | fn resolve_func( method resolve_memory (line 290) | fn resolve_memory( FILE: execution_engine/src/runtime/args.rs type Args (line 3) | pub(crate) trait Args method parse (line 7) | fn parse(args: RuntimeArgs) -> Result; method parse (line 14) | fn parse(args: RuntimeArgs) -> Result { method parse (line 25) | fn parse(args: RuntimeArgs) -> Result { method parse (line 38) | fn parse(args: RuntimeArgs) -> Result { method parse (line 53) | fn parse(args: RuntimeArgs) -> Result { method parse (line 70) | fn parse(args: RuntimeArgs) -> Result { method parse (line 89) | fn parse(args: RuntimeArgs) -> Result { method parse (line 110) | fn parse(args: RuntimeArgs) -> Result { method parse (line 133) | fn parse(args: RuntimeArgs) -> Result { method parse (line 158) | fn parse(args: RuntimeArgs) -> Result { method parse (line 185) | fn parse(args: RuntimeArgs) -> Result { method parse (line 215) | fn parse(args: RuntimeArgs) -> Result { FILE: execution_engine/src/runtime/auction_internal.rs function from (line 28) | fn from(exec_error: ExecError) -> Self { method read (line 43) | fn read(&mut self, uref: URef) -> Result(&mut self, uref: URef, value: T) -> Resul... method read_bid (line 74) | fn read_bid(&mut self, key: &Key) -> Result, Error> { method write_bid (line 93) | fn write_bid(&mut self, key: Key, bid_kind: BidKind) -> Result<(), Error> { method read_unbond (line 102) | fn read_unbond(&mut self, bid_addr: BidAddr) -> Result, E... method write_unbond (line 121) | fn write_unbond(&mut self, bid_addr: BidAddr, unbond: Option) ->... method record_era_info (line 141) | fn record_era_info(&mut self, era_info: EraInfo) -> Result<(), Error> { method prune_bid (line 146) | fn prune_bid(&mut self, bid_addr: BidAddr) { method get_caller (line 155) | fn get_caller(&self) -> AccountHash { method is_allowed_session_caller (line 159) | fn is_allowed_session_caller(&self, account_hash: &AccountHash) -> bool { method is_valid_uref (line 163) | fn is_valid_uref(&self, uref: URef) -> bool { method named_keys_get (line 167) | fn named_keys_get(&self, name: &str) -> Option { method get_keys (line 171) | fn get_keys(&mut self, key_tag: &KeyTag) -> Result, Error> { method get_keys_by_prefix (line 178) | fn get_keys_by_prefix(&mut self, prefix: &[u8]) -> Result, Erro... method delegator_count (line 187) | fn delegator_count(&mut self, bid_addr: &BidAddr) -> Result { method reservation_count (line 213) | fn reservation_count(&mut self, bid_addr: &BidAddr) -> Result Result u64 { method allow_auction_bids (line 300) | fn allow_auction_bids(&self) -> bool { method should_compute_rewards (line 304) | fn should_compute_rewards(&self) -> bool { method unbond (line 313) | fn unbond(&mut self, unbond_kind: &UnbondKind, unbond_era: &UnbondEra) -... method mint_transfer_direct (line 389) | fn mint_transfer_direct( method mint_into_existing_purse (line 438) | fn mint_into_existing_purse( method create_purse (line 474) | fn create_purse(&mut self) -> Result { method available_balance (line 480) | fn available_balance(&mut self, purse: URef) -> Result, Err... method read_base_round_reward (line 485) | fn read_base_round_reward(&mut self) -> Result { method mint (line 493) | fn mint(&mut self, amount: U512) -> Result { method reduce_total_supply (line 501) | fn reduce_total_supply(&mut self, amount: U512) -> Result<(), Error> { method get_main_purse (line 516) | fn get_main_purse(&self) -> Result { method set_main_purse (line 533) | fn set_main_purse(&mut self, purse: URef) { FILE: execution_engine/src/runtime/cryptography.rs constant DIGEST_LENGTH (line 12) | pub const DIGEST_LENGTH: usize = 32; function blake2b (line 15) | pub fn blake2b>(data: T) -> [u8; DIGEST_LENGTH] { function blake3 (line 29) | pub fn blake3>(data: T) -> [u8; DIGEST_LENGTH] { function sha256 (line 41) | pub fn sha256>(data: T) -> [u8; DIGEST_LENGTH] { FILE: execution_engine/src/runtime/externals.rs method invoke_index (line 30) | fn invoke_index( FILE: execution_engine/src/runtime/handle_payment_internal.rs function from (line 18) | fn from(exec_error: ExecError) -> Self { method transfer_purse_to_account (line 34) | fn transfer_purse_to_account( method transfer_purse_to_purse (line 47) | fn transfer_purse_to_purse( method available_balance (line 66) | fn available_balance(&mut self, purse: URef) -> Result, Err... method reduce_total_supply (line 71) | fn reduce_total_supply(&mut self, amount: U512) -> Result<(), Error> { method get_key (line 90) | fn get_key(&mut self, name: &str) -> Option { method put_key (line 131) | fn put_key(&mut self, name: &str, key: Key) -> Result<(), Error> { method remove_key (line 137) | fn remove_key(&mut self, name: &str) -> Result<(), Error> { method get_phase (line 143) | fn get_phase(&self) -> Phase { method get_caller (line 147) | fn get_caller(&self) -> AccountHash { method refund_handling (line 151) | fn refund_handling(&self) -> RefundHandling { method fee_handling (line 155) | fn fee_handling(&self) -> FeeHandling { method administrative_accounts (line 159) | fn administrative_accounts(&self) -> BTreeSet { method write_balance (line 171) | fn write_balance(&mut self, purse_uref: URef, amount: U512) -> Result<()... FILE: execution_engine/src/runtime/host_function_flag.rs type HostFunctionFlag (line 9) | pub(super) struct HostFunctionFlag { method is_in_host_function_scope (line 17) | pub(super) fn is_in_host_function_scope(&self) -> bool { method enter_host_function_scope (line 27) | pub(super) fn enter_host_function_scope(&self) -> ScopedHostFunctionFl... type ScopedHostFunctionFlag (line 40) | pub(super) struct ScopedHostFunctionFlag { method drop (line 45) | fn drop(&mut self) { function should_handle_multiple_scopes (line 60) | fn should_handle_multiple_scopes() { FILE: execution_engine/src/runtime/mint_internal.rs function from (line 24) | fn from(exec_error: ExecError) -> Self { method get_caller (line 40) | fn get_caller(&self) -> AccountHash { method get_immediate_caller (line 44) | fn get_immediate_caller(&self) -> Option { method is_called_from_standard_payment (line 48) | fn is_called_from_standard_payment(&self) -> bool { method get_system_entity_registry (line 52) | fn get_system_entity_registry(&self) -> Result Phase { method get_key (line 75) | fn get_key(&self, name: &str) -> Option { method get_approved_spending_limit (line 79) | fn get_approved_spending_limit(&self) -> U512 { method sub_approved_spending_limit (line 83) | fn sub_approved_spending_limit(&mut self, transferred: U512) { method get_main_purse (line 89) | fn get_main_purse(&self) -> Option { method is_administrator (line 93) | fn is_administrator(&self, account_hash: &AccountHash) -> bool { method allow_unrestricted_transfers (line 97) | fn allow_unrestricted_transfers(&self) -> bool { method is_valid_uref (line 102) | fn is_valid_uref(&self, uref: &URef) -> bool { method new_uref (line 111) | fn new_uref(&mut self, init: T) -> Result(&mut self, uref: URef) -> Result Result<(), Error> { method add (line 140) | fn add(&mut self, uref: URef, value: T) -> Result<... method total_balance (line 147) | fn total_balance(&mut self, purse: URef) -> Result { method available_balance (line 152) | fn available_balance(&mut self, purse: URef) -> Result, Err... method write_balance (line 157) | fn write_balance(&mut self, uref: URef, balance: U512) -> Result<(), Err... method add_balance (line 164) | fn add_balance(&mut self, uref: URef, value: U512) -> Result<(), Error> { method record_transfer (line 176) | fn record_transfer( method purse_exists (line 195) | fn purse_exists(&mut self, uref: URef) -> Result { FILE: execution_engine/src/runtime/mod.rs type CallContractIdentifier (line 82) | enum CallContractIdentifier { type CallerInformation (line 94) | enum CallerInformation { type Error (line 101) | type Error = ApiError; method try_from (line 103) | fn try_from(value: u8) -> Result { type Runtime (line 114) | pub struct Runtime<'a, R> { function new (line 128) | pub(crate) fn new(context: RuntimeContext<'a, R>) -> Self { function new_invocation_runtime (line 140) | fn new_invocation_runtime( function new_with_stack (line 159) | pub(crate) fn new_with_stack( function check_preconditions (line 177) | fn check_preconditions(stack: &RuntimeStack) { function context (line 190) | pub(crate) fn context(&self) -> &RuntimeContext<'a, R> { function gas (line 194) | fn gas(&mut self, amount: Gas) -> Result<(), ExecError> { function gas_counter (line 199) | fn gas_counter(&self) -> Gas { function set_gas_counter (line 204) | fn set_gas_counter(&mut self, new_gas_counter: Gas) { function charge_system_contract_call (line 214) | pub(crate) fn charge_system_contract_call(&mut self, amount: T) -> Re... function checked_memory_slice (line 226) | fn checked_memory_slice( function bytes_from_mem (line 263) | fn bytes_from_mem(&self, ptr: u32, size: usize) -> Result, ExecE... function t_from_mem (line 269) | fn t_from_mem(&self, ptr: u32, size: u32) -> Result Result Result { function get_module_from_entry_points (line 298) | fn get_module_from_entry_points( function is_valid_uref (line 309) | fn is_valid_uref(&self, uref_ptr: u32, uref_size: u32) -> Result Result { function put_key (line 370) | fn put_key( function remove_key (line 391) | fn remove_key(&mut self, name_ptr: u32, name_size: u32) -> Result<(), Tr... function get_main_purse (line 398) | fn get_main_purse(&mut self, dest_ptr: u32) -> Result<(), Trap> { function get_caller (line 408) | fn get_caller(&mut self, output_size_ptr: u32) -> Result Option<&RuntimeStackFrame> { function is_allowed_session_caller (line 439) | fn is_allowed_session_caller(&self, provided_account_hash: &AccountHash)... function get_phase (line 451) | fn get_phase(&mut self, dest_ptr: u32) -> Result<(), Trap> { function get_block_info (line 460) | fn get_block_info(&self, field_idx: u8, dest_ptr: u32) -> Result<(), Tra... function get_blocktime (line 512) | fn get_blocktime(&self, dest_ptr: u32) -> Result<(), Trap> { function load_call_stack (line 524) | fn load_call_stack( function load_caller_information (line 584) | fn load_caller_information( function ret (line 682) | fn ret(&mut self, value_ptr: u32, value_size: usize) -> Trap { function is_system_contract (line 715) | fn is_system_contract(&self, hash_addr: HashAddr) -> Result( function try_get_named_argument (line 731) | fn try_get_named_argument( function reverter (line 747) | fn reverter>(error: T) -> ExecError { function call_host_mint (line 771) | fn call_host_mint( function call_host_handle_payment (line 923) | fn call_host_handle_payment( function call_host_auction (line 1013) | fn call_host_auction( function call_contract_with_stack (line 1379) | pub(crate) fn call_contract_with_stack( function call_package_version_with_stack (line 1392) | pub fn call_package_version_with_stack( function execute_module_bytes (line 1412) | pub(crate) fn execute_module_bytes( function call_contract (line 1472) | pub fn call_contract( function call_versioned_contract (line 1487) | pub fn call_versioned_contract( function call_package_version (line 1506) | pub fn call_package_version( function get_protocol_version_for_entity_version (line 1539) | fn get_protocol_version_for_entity_version( function get_key_from_entity_addr (line 1581) | fn get_key_from_entity_addr(&self, entity_addr: EntityAddr) -> Key { function get_context_key_for_contract_call (line 1593) | fn get_context_key_for_contract_call( function try_get_memory (line 1624) | fn try_get_memory(&self) -> Result<&MemoryRef, ExecError> { function try_get_module (line 1630) | fn try_get_module(&self) -> Result<&Module, ExecError> { function try_get_stack (line 1636) | fn try_get_stack(&self) -> Result<&RuntimeStack, ExecError> { function maybe_system_type (line 1640) | fn maybe_system_type(&self, hash_addr: HashAddr) -> Option Option { function is_handle_payment (line 1674) | fn is_handle_payment(&self, hash_addr: HashAddr) -> Option Option { function execute_contract (line 1706) | fn execute_contract( function call_contract_host_buffer (line 2198) | fn call_contract_host_buffer( function call_versioned_contract_host_buffer (line 2230) | fn call_versioned_contract_host_buffer( function call_package_version_host_buffer (line 2268) | fn call_package_version_host_buffer( function check_host_buffer (line 2308) | fn check_host_buffer(&mut self) -> Result<(), ApiError> { function manage_call_contract_host_buffer (line 2316) | fn manage_call_contract_host_buffer( function load_named_keys (line 2344) | fn load_named_keys( function create_contract_package (line 2392) | fn create_contract_package( function create_package (line 2413) | fn create_package(&mut self, is_locked: PackageStatus) -> Result<(Packag... function create_contract_package_at_hash (line 2425) | fn create_contract_package_at_hash( function create_contract_user_group_by_contract_package (line 2444) | fn create_contract_user_group_by_contract_package( function create_contract_user_group (line 2518) | fn create_contract_user_group( function add_contract_version (line 2600) | fn add_contract_version( function add_contract_version_by_contract_package (line 2631) | fn add_contract_version_by_contract_package( function add_contract_version_by_package (line 2749) | fn add_contract_version_by_package( function carry_forward_message_topics (line 2874) | fn carry_forward_message_topics( function new_version_entity_parts (line 2925) | fn new_version_entity_parts( function disable_contract_version (line 3020) | fn disable_contract_version( function enable_contract_version (line 3070) | fn enable_contract_version( function function_address (line 3122) | fn function_address(&mut self, hash_bytes: [u8; 32], dest_ptr: u32) -> R... function new_uref (line 3130) | fn new_uref(&mut self, uref_ptr: u32, value_ptr: u32, value_size: u32) -... function write (line 3139) | fn write( function record_transfer (line 3154) | fn record_transfer( function record_era_info (line 3187) | fn record_era_info(&mut self, era_info: EraInfo) -> Result<(), ExecError> { function add (line 3206) | fn add( function read (line 3225) | fn read( function revert (line 3262) | fn revert(&mut self, status: u32) -> Trap { function can_manage_keys (line 3271) | fn can_manage_keys(&self) -> bool { function add_associated_key (line 3298) | fn add_associated_key( function remove_associated_key (line 3330) | fn remove_associated_key( function update_associated_key (line 3355) | fn update_associated_key( function set_action_threshold (line 3387) | fn set_action_threshold( function get_mint_hash (line 3412) | fn get_mint_hash(&self) -> Result { function get_handle_payment_hash (line 3419) | fn get_handle_payment_hash(&self) -> Result Result Result { function mint_read_base_round_reward (line 3439) | fn mint_read_base_round_reward( function mint_mint (line 3457) | fn mint_mint( function mint_reduce_total_supply (line 3477) | fn mint_reduce_total_supply( function mint_create (line 3501) | fn mint_create( function create_purse (line 3511) | fn create_purse(&mut self) -> Result { function mint_transfer (line 3518) | fn mint_transfer( function transfer_to_new_account (line 3549) | fn transfer_to_new_account( function transfer_to_existing_account (line 3672) | fn transfer_to_existing_account( function transfer_to_account (line 3690) | fn transfer_to_account( function transfer_from_purse_to_account_hash (line 3702) | fn transfer_from_purse_to_account_hash( function transfer_from_purse_to_account (line 3777) | fn transfer_from_purse_to_account( function transfer_from_purse_to_purse (line 3817) | fn transfer_from_purse_to_purse( function total_balance (line 3832) | fn total_balance(&mut self, purse: URef) -> Result { function available_balance (line 3839) | fn available_balance(&mut self, purse: URef) -> Result, Exe... function get_balance_host_buffer (line 3846) | fn get_balance_host_buffer( function get_system_contract (line 3891) | fn get_system_contract( function take_host_buffer (line 3912) | pub fn take_host_buffer(&mut self) -> Option { function can_write_to_host_buffer (line 3919) | fn can_write_to_host_buffer(&self) -> bool { function write_host_buffer (line 3924) | fn write_host_buffer(&mut self, data: CLValue) -> Result<(), ApiError> { function read_host_buffer (line 3932) | fn read_host_buffer( function print (line 3975) | fn print(&mut self, text_ptr: u32, text_size: u32) -> Result<(), Trap> { function get_named_arg_size (line 3981) | fn get_named_arg_size( function get_named_arg (line 4013) | fn get_named_arg( function validate_entry_point_access (line 4043) | fn validate_entry_point_access( function remove_contract_user_group (line 4081) | fn remove_contract_user_group( function provision_contract_user_group_uref (line 4169) | fn provision_contract_user_group_uref( function remove_contract_user_group_urefs (line 4271) | fn remove_contract_user_group_urefs( function charge_host_function_call (line 4339) | fn charge_host_function_call( function new_dictionary (line 4355) | fn new_dictionary(&mut self, output_size_ptr: u32) -> Result Result { function load_authorization_keys (line 4529) | fn load_authorization_keys( function prune (line 4574) | fn prune(&mut self, key: Key) { function migrate_contract_and_contract_package (line 4578) | pub(crate) fn migrate_contract_and_contract_package( function add_message_topic (line 4592) | fn add_message_topic(&mut self, topic_name: &str) -> Result Result { function dump_runtime_stack_info (line 4698) | fn dump_runtime_stack_info(instance: casper_wasmi::ModuleRef, max_stack_... FILE: execution_engine/src/runtime/stack.rs type RuntimeStackFrame (line 10) | pub type RuntimeStackFrame = Caller; type RuntimeStack (line 14) | pub struct RuntimeStack { method new (line 30) | pub fn new(max_height: usize) -> Self { method new_with_frame (line 38) | pub fn new_with_frame(max_height: usize, frame: RuntimeStackFrame) -> ... method is_empty (line 45) | pub fn is_empty(&self) -> bool { method len (line 50) | pub fn len(&self) -> usize { method current_frame (line 55) | pub fn current_frame(&self) -> Option<&RuntimeStackFrame> { method previous_frame (line 60) | pub fn previous_frame(&self) -> Option<&RuntimeStackFrame> { method first_frame (line 65) | pub fn first_frame(&self) -> Option<&RuntimeStackFrame> { method pop (line 71) | fn pop(&mut self) -> Result<(), RuntimeStackUnderflow> { method push (line 77) | pub fn push(&mut self, frame: RuntimeStackFrame) -> Result<(), Runtime... method call_stack_elements (line 88) | pub fn call_stack_elements(&self) -> &Vec { method from_account_hash (line 93) | pub fn from_account_hash(account_hash: AccountHash, max_height: usize)... type RuntimeStackUnderflow (line 22) | struct RuntimeStackUnderflow; type RuntimeStackOverflow (line 26) | pub struct RuntimeStackOverflow; function nth_frame (line 109) | fn nth_frame(n: usize) -> Caller { function stack_should_respect_max_height_after_clone (line 118) | fn stack_should_respect_max_height_after_clone() { function stack_should_work_as_expected (line 131) | fn stack_should_work_as_expected() { FILE: execution_engine/src/runtime/standard_payment_internal.rs constant METHOD_GET_PAYMENT_PURSE (line 15) | pub(crate) const METHOD_GET_PAYMENT_PURSE: &str = "get_payment_purse"; function from (line 18) | fn from(exec_error: execution::Error) -> Self { method get_main_purse (line 34) | fn get_main_purse(&mut self) -> Result { method transfer_purse_to_account (line 45) | fn transfer_purse_to_account( method get_payment_purse (line 64) | fn get_payment_purse(&mut self) -> Result { FILE: execution_engine/src/runtime/utils.rs function instance_and_memory (line 26) | pub(super) fn instance_and_memory( function attenuate_uref_in_args (line 45) | pub(super) fn attenuate_uref_in_args( function extract_urefs (line 62) | pub(super) fn extract_urefs(cl_value: &CLValue) -> Result, Exe... function rewrite_urefs (line 73) | fn rewrite_urefs(cl_value: CLValue, mut func: impl FnMut(&mut URef)) -> ... function cl_value_with_urefs_arb (line 1178) | fn cl_value_with_urefs_arb() -> impl Strategy Self { function ensure_valid_access (line 149) | fn ensure_valid_access(module: &Module) -> Result<(), WasmValidationErro... function ensure_valid_function_index (line 229) | fn ensure_valid_function_index(index: u32, function_count: u32) -> Resul... function memory_section (line 237) | fn memory_section(module: &Module) -> Option<&MemorySection> { function ensure_table_size_limit (line 254) | fn ensure_table_size_limit(mut module: Module, limit: u32) -> Result Result<(),... function ensure_global_variable_limit (line 318) | fn ensure_global_variable_limit(module: &Module, limit: u32) -> Result<(... function ensure_parameter_limit (line 336) | fn ensure_parameter_limit(module: &Module, limit: u32) -> Result<(), Was... function ensure_valid_imports (line 354) | fn ensure_valid_imports(module: &Module) -> Result<(), WasmValidationErr... function preprocess (line 386) | pub fn preprocess( function deserialize (line 416) | pub fn deserialize(module_bytes: &[u8]) -> Result u32 { type RuledOpcodeCosts (line 700) | struct RuledOpcodeCosts(OpcodeCosts); method instruction_cost_multiplier (line 704) | fn instruction_cost_multiplier(&self, instruction: &Instruction) -> Op... method instruction_cost (line 917) | fn instruction_cost(&self, instruction: &Instruction) -> Option { method memory_grow_cost (line 928) | fn memory_grow_cost(&self) -> Option { function should_not_panic_on_empty_memory (line 945) | fn should_not_panic_on_empty_memory() { function should_not_overflow_in_export_section (line 963) | fn should_not_overflow_in_export_section() { function should_not_overflow_in_element_section (line 996) | fn should_not_overflow_in_element_section() { function should_not_overflow_in_call_opcode (line 1035) | fn should_not_overflow_in_call_opcode() { function should_not_overflow_in_start_section_without_code_section (line 1071) | fn should_not_overflow_in_start_section_without_code_section() { function should_not_overflow_in_start_section_with_code (line 1093) | fn should_not_overflow_in_start_section_with_code() { function should_not_accept_multi_value_proposal_wasm (line 1115) | fn should_not_accept_multi_value_proposal_wasm() { function should_not_accept_atomics_proposal_wasm (line 1149) | fn should_not_accept_atomics_proposal_wasm() { function should_not_accept_bulk_proposal_wasm (line 1182) | fn should_not_accept_bulk_proposal_wasm() { function should_not_accept_simd_proposal_wasm (line 1215) | fn should_not_accept_simd_proposal_wasm() { FILE: execution_engine/src/runtime_context/mod.rs constant RANDOM_BYTES_COUNT (line 54) | pub const RANDOM_BYTES_COUNT: usize = 32; type AllowInstallUpgrade (line 58) | pub enum AllowInstallUpgrade { type RuntimeContext (line 66) | pub struct RuntimeContext<'a, R> { function new (line 103) | pub fn new( function new_from_self (line 156) | pub fn new_from_self( function authorization_keys (line 209) | pub fn authorization_keys(&self) -> &BTreeSet { function named_keys_get (line 214) | pub fn named_keys_get(&self, name: &str) -> Option<&Key> { function named_keys (line 219) | pub fn named_keys(&self) -> &NamedKeys { function named_keys_mut (line 224) | pub fn named_keys_mut(&mut self) -> &mut NamedKeys { function named_keys_contains_key (line 229) | pub fn named_keys_contains_key(&self, name: &str) -> bool { function maybe_payment_purse (line 234) | pub fn maybe_payment_purse(&self) -> Option { function set_payment_purse (line 239) | pub fn set_payment_purse(&mut self, uref: URef) { function engine_config (line 244) | pub fn engine_config(&self) -> &EngineConfig { function remove_key_from_contract (line 249) | fn remove_key_from_contract( function remove_key_from_entity (line 263) | fn remove_key_from_entity(&mut self, name: &str) -> Result<(), ExecError> { function remove_key (line 310) | pub fn remove_key(&mut self, name: &str) -> Result<(), ExecError> { function get_block_info (line 316) | pub fn get_block_info(&self) -> BlockInfo { function get_transaction_hash (line 321) | pub fn get_transaction_hash(&self) -> TransactionHash { function access_rights_extend (line 326) | pub fn access_rights_extend(&mut self, urefs: &[URef]) { function access_rights (line 331) | pub fn access_rights(&self) -> &ContextAccessRights { function runtime_footprint (line 336) | pub fn runtime_footprint(&self) -> Rc> { function args (line 341) | pub fn args(&self) -> &RuntimeArgs { function set_args (line 345) | pub(crate) fn set_args(&mut self, args: RuntimeArgs) { function address_generator (line 350) | pub fn address_generator(&self) -> Rc> { function state (line 355) | pub(super) fn state(&self) -> Rc>> { function gas_limit (line 360) | pub fn gas_limit(&self) -> Gas { function gas_counter (line 365) | pub fn gas_counter(&self) -> Gas { function set_gas_counter (line 370) | pub fn set_gas_counter(&mut self, new_gas_counter: Gas) { function get_context_key (line 375) | pub fn get_context_key(&self) -> Key { function get_initiator (line 380) | pub fn get_initiator(&self) -> AccountHash { function protocol_version (line 385) | pub fn protocol_version(&self) -> ProtocolVersion { function phase (line 390) | pub fn phase(&self) -> Phase { function install_upgrade_allowed (line 395) | pub fn install_upgrade_allowed(&self) -> bool { function new_hash_address (line 400) | pub fn new_hash_address(&mut self) -> Result<[u8; KEY_HASH_LENGTH], Exec... function random_bytes (line 405) | pub fn random_bytes(&mut self) -> Result<[u8; RANDOM_BYTES_COUNT], ExecE... function new_uref (line 410) | pub fn new_uref(&mut self, value: StoredValue) -> Result { function new_unit_uref (line 421) | pub(crate) fn new_unit_uref(&mut self) -> Result { function put_key (line 426) | pub fn put_key(&mut self, name: String, key: Key) -> Result<(), ExecErro... function get_message_topics (line 450) | pub(crate) fn get_message_topics( function get_named_keys (line 460) | pub(crate) fn get_named_keys(&mut self, entity_key: Key) -> Result Result Result<... function read_gs (line 533) | pub fn read_gs(&mut self, key: &Key) -> Result, Exec... function read_gs_unsafe (line 553) | pub fn read_gs_unsafe(&mut self, key: &Key) -> Result(&mut self, key: &Key) -> Result function get_keys (line 580) | pub fn get_keys(&mut self, key_tag: &KeyTag) -> Result, Ex... function get_keys_with_prefix (line 588) | pub fn get_keys_with_prefix(&mut self, prefix: &[u8]) -> Result... function write_era_info (line 597) | pub fn write_era_info(&mut self, key: Key, value: EraInfo) { function account_to_validated_value (line 609) | fn account_to_validated_value(&self, account: Account) -> Result Result<()... function read_account (line 628) | pub fn read_account(&mut self, key: &Key) -> Result,... function insert_named_key (line 644) | fn insert_named_key(&mut self, name: String, key: Key) { function insert_uref (line 654) | fn insert_uref(&mut self, uref: URef) { function grant_access (line 659) | pub fn grant_access(&mut self, uref: URef) -> GrantedAccess { function remove_access (line 664) | pub fn remove_access(&mut self, uref_addr: URefAddr, access_rights: Acce... function effects (line 669) | pub fn effects(&self) -> Effects { function messages (line 674) | pub fn messages(&self) -> Messages { function cache (line 679) | pub fn cache(&self) -> TrackingCopyCache { function emit_message_cost (line 684) | pub fn emit_message_cost(&self) -> U512 { function set_emit_message_cost (line 689) | pub fn set_emit_message_cost(&mut self, cost: U512) { function transfers (line 694) | pub fn transfers(&self) -> &Vec { function transfers_mut (line 699) | pub fn transfers_mut(&mut self) -> &mut Vec { function validate_cl_value (line 703) | fn validate_cl_value(&self, cl_value: &CLValue) -> Result<(), ExecError> { function validate_value (line 742) | pub(crate) fn validate_value(&self, value: &StoredValue) -> Result<(), E... function context_key_to_entity_addr (line 771) | pub(crate) fn context_key_to_entity_addr(&self) -> Result Result<(), ExecError> { function validate_uref (line 802) | pub(crate) fn validate_uref(&self, uref: &URef) -> Result<(), ExecError> { function validate_readable (line 811) | fn validate_readable(&self, key: &Key) -> Result<(), ExecError> { function validate_addable (line 822) | fn validate_addable(&self, key: &Key) -> Result<(), ExecError> { function validate_writeable (line 833) | pub(crate) fn validate_writeable(&self, key: &Key) -> Result<(), ExecErr... function is_readable (line 844) | pub fn is_readable(&self, key: &Key) -> bool { function is_addable (line 855) | pub fn is_addable(&self, key: &Key) -> bool { function is_writeable (line 866) | pub fn is_writeable(&self, key: &Key) -> bool { function charge_gas (line 881) | pub(crate) fn charge_gas(&mut self, gas: Gas) -> Result<(), ExecError> { function is_system_addressable_entity (line 902) | pub(crate) fn is_system_addressable_entity( function charge_gas_storage (line 910) | fn charge_gas_storage(&mut self, bytes_count: usize) -> Result<(), ExecE... function charge_system_contract_call (line 926) | pub(crate) fn charge_system_contract_call(&mut self, call_cost: T) ->... function prune_gs_unsafe (line 938) | pub(crate) fn prune_gs_unsafe(&mut self, key: K) function migrate_package (line 945) | pub(crate) fn migrate_package( function metered_write_gs_unsafe (line 960) | pub(crate) fn metered_write_gs_unsafe( function metered_emit_message (line 982) | pub(crate) fn metered_emit_message( function metered_write_gs (line 1021) | pub(crate) fn metered_write_gs(&mut self, key: Key, value: T) -> Resu... function metered_add_gs_unsafe (line 1033) | pub(crate) fn metered_add_gs_unsafe( function metered_add_gs (line 1058) | pub(crate) fn metered_add_gs(&mut self, key: K, value: V) -> Resul... function add_associated_key (line 1072) | pub(crate) fn add_associated_key( function remove_associated_key (line 1139) | pub(crate) fn remove_associated_key( function update_associated_key (line 1200) | pub(crate) fn update_associated_key( function is_authorized_by_admin (line 1264) | pub(crate) fn is_authorized_by_admin(&self) -> bool { function get_validated_contract_package (line 1272) | pub(crate) fn get_validated_contract_package( function set_action_threshold (line 1288) | pub(crate) fn set_action_threshold( function addressable_entity_to_validated_value (line 1349) | fn addressable_entity_to_validated_value( function runtime_footprint_by_account_hash (line 1358) | pub(crate) fn runtime_footprint_by_account_hash( function get_main_purse (line 1398) | pub fn get_main_purse(&mut self) -> Result { function entry_point_type (line 1408) | pub fn entry_point_type(&self) -> EntryPointType { function get_validated_package (line 1413) | pub(crate) fn get_validated_package( function get_package (line 1428) | pub(crate) fn get_package(&mut self, package_hash: HashAddr) -> Result Result Result U512 { function subtract_amount_spent (line 1586) | pub(crate) fn subtract_amount_spent(&mut self, amount: U512) -> Option EngineConfig { function new_tracking_copy (line 37) | fn new_tracking_copy( function new_addressable_entity_with_purse (line 54) | fn new_addressable_entity_with_purse( function new_addressable_entity (line 76) | fn new_addressable_entity( function random_account_key (line 89) | fn random_account_key(entropy_source: &mut G) -> Key { function random_contract_key (line 96) | fn random_contract_key(entropy_source: &mut G) -> Key { function create_uref_as_key (line 103) | fn create_uref_as_key(address_generator: &mut AddressGenerator, rights: ... function random_hash (line 108) | fn random_hash(entropy_source: &mut G) -> Key { function new_runtime_context (line 114) | fn new_runtime_context<'a>( function assert_forged_reference (line 220) | fn assert_forged_reference(result: Result) { function assert_invalid_access (line 228) | fn assert_invalid_access( function build_runtime_context_and_execute (line 241) | fn build_runtime_context_and_execute( function last_transform_kind_on_addressable_entity (line 272) | fn last_transform_kind_on_addressable_entity( function use_uref_valid (line 286) | fn use_uref_valid() { function use_uref_forged (line 302) | fn use_uref_forged() { function account_key_not_writeable (line 316) | fn account_key_not_writeable() { function entity_key_readable_valid (line 329) | fn entity_key_readable_valid() { function account_key_addable_returns_type_mismatch (line 347) | fn account_key_addable_returns_type_mismatch() { function account_key_addable_invalid (line 366) | fn account_key_addable_invalid() { function contract_key_readable_valid (line 383) | fn contract_key_readable_valid() { function contract_key_not_writeable (line 395) | fn contract_key_not_writeable() { function contract_key_addable_valid (line 411) | fn contract_key_addable_valid() { function contract_key_addable_invalid (line 503) | fn contract_key_addable_invalid() { function uref_key_readable_valid (line 580) | fn uref_key_readable_valid() { function uref_key_readable_invalid (line 592) | fn uref_key_readable_invalid() { function uref_key_writeable_valid (line 604) | fn uref_key_writeable_valid() { function uref_key_writeable_invalid (line 621) | fn uref_key_writeable_invalid() { function uref_key_addable_valid (line 638) | fn uref_key_addable_valid() { function uref_key_addable_invalid (line 654) | fn uref_key_addable_invalid() { function hash_key_is_not_writeable (line 671) | fn hash_key_is_not_writeable() { function hash_key_is_not_addable (line 683) | fn hash_key_is_not_addable() { function manage_associated_keys (line 695) | fn manage_associated_keys() { function action_thresholds_management (line 763) | fn action_thresholds_management() { function should_verify_ownership_before_adding_key (line 813) | fn should_verify_ownership_before_adding_key() { function should_verify_ownership_before_removing_a_key (line 855) | fn should_verify_ownership_before_removing_a_key() { function should_verify_ownership_before_setting_action_threshold (line 883) | fn should_verify_ownership_before_setting_action_threshold() { function remove_uref_works (line 911) | fn remove_uref_works() { function an_accounts_access_rights_should_include_main_purse (line 968) | fn an_accounts_access_rights_should_include_main_purse() { function validate_valid_purse_of_an_account (line 992) | fn validate_valid_purse_of_an_account() { function should_meter_for_gas_storage_write (line 1040) | fn should_meter_for_gas_storage_write() { function should_meter_for_gas_storage_add (line 1077) | fn should_meter_for_gas_storage_add() { function associated_keys_add_full (line 1115) | fn associated_keys_add_full() { FILE: execution_engine_testing/test_support/build.rs function main (line 9) | fn main() { FILE: execution_engine_testing/test_support/src/chainspec_config.rs constant CHAINSPEC_NAME (line 25) | pub const CHAINSPEC_NAME: &str = "chainspec.toml"; type Error (line 36) | pub enum Error { type ChainspecConfig (line 51) | pub struct ChainspecConfig { method from_bytes (line 66) | fn from_bytes(bytes: &[u8]) -> Result { method from_path (line 77) | fn from_path>(path: P) -> Result { method from_chainspec_path (line 87) | pub fn from_chainspec_path>(filename: P) -> Result bool { method create_genesis_request_from_chainspec (line 106) | pub(crate) fn create_genesis_request_from_chainspec>( method create_genesis_request (line 116) | pub fn create_genesis_request( method create_genesis_request_from_local_chainspec (line 163) | pub fn create_genesis_request_from_local_chainspec( method with_minimum_delegation_rate (line 175) | pub fn with_minimum_delegation_rate(mut self, minimum_delegation_rate:... method with_max_associated_keys (line 181) | pub fn with_max_associated_keys(&mut self, value: u32) -> &mut Self { method with_vesting_schedule_period_millis (line 187) | pub fn with_vesting_schedule_period_millis(mut self, value: u64) -> Se... method with_max_delegators_per_validator (line 193) | pub fn with_max_delegators_per_validator(mut self, value: u32) -> Self { method with_minimum_delegation_amount (line 199) | pub fn with_minimum_delegation_amount(mut self, minimum_delegation_amo... method with_fee_handling (line 205) | pub fn with_fee_handling(mut self, fee_handling: FeeHandling) -> Self { method with_wasm_config (line 211) | pub fn with_wasm_config(mut self, wasm_config: WasmConfig) -> Self { method with_mint_costs (line 217) | pub fn with_mint_costs(self, mint_costs: MintCosts) -> Self { method with_wasm_max_stack_height (line 223) | pub fn with_wasm_max_stack_height(mut self, max_stack_height: u32) -> ... method with_refund_handling (line 229) | pub fn with_refund_handling(mut self, refund_handling: RefundHandling)... method with_pricing_handling (line 235) | pub fn with_pricing_handling(mut self, pricing_handling: PricingHandli... method with_strict_argument_checking (line 241) | pub fn with_strict_argument_checking(mut self, strict_argument_checkin... method with_enable_addressable_entity (line 247) | pub fn with_enable_addressable_entity(mut self, enable_addressable_ent... method max_associated_keys (line 253) | pub fn max_associated_keys(&self) -> u32 { method engine_config (line 258) | pub fn engine_config(&self) -> EngineConfig { method from (line 281) | fn from(chainspec_config: ChainspecConfig) -> Self { type Error (line 307) | type Error = Error; method try_from (line 309) | fn try_from(chainspec_config: ChainspecConfig) -> Result bool { method new_session_from_deploy_item (line 57) | pub fn new_session_from_deploy_item( method new_custom_payment_from_deploy_item (line 81) | pub fn new_custom_payment_from_deploy_item( method from (line 107) | fn from(deploy: Deploy) -> Self { FILE: execution_engine_testing/test_support/src/deploy_item_builder.rs type DeployItemData (line 13) | struct DeployItemData { type DeployItemBuilder (line 23) | pub struct DeployItemBuilder { method new (line 29) | pub fn new() -> Self { method with_address (line 34) | pub fn with_address(mut self, address: AccountHash) -> Self { method with_payment_bytes (line 40) | pub fn with_payment_bytes>( method with_standard_payment (line 53) | pub fn with_standard_payment(self, args: RuntimeArgs) -> Self { method with_payment_code (line 58) | pub fn with_payment_code>(self, file_name: T, args: Run... method with_stored_payment_hash (line 64) | pub fn with_stored_payment_hash( method with_stored_payment_named_key (line 79) | pub fn with_stored_payment_named_key( method with_stored_versioned_payment_hash (line 94) | pub fn with_stored_versioned_payment_hash( method with_stored_versioned_payment_named_key (line 110) | pub fn with_stored_versioned_payment_named_key( method with_session_bytes (line 126) | pub fn with_session_bytes>( method with_session_code (line 139) | pub fn with_session_code>(self, file_name: T, args: Run... method with_transfer_args (line 145) | pub fn with_transfer_args(mut self, args: RuntimeArgs) -> Self { method with_stored_session_hash (line 152) | pub fn with_stored_session_hash( method with_stored_session_named_key (line 167) | pub fn with_stored_session_named_key( method with_stored_versioned_contract_by_name (line 182) | pub fn with_stored_versioned_contract_by_name( method with_stored_versioned_contract_by_hash (line 199) | pub fn with_stored_versioned_contract_by_hash( method with_stored_versioned_payment_contract_by_name (line 216) | pub fn with_stored_versioned_payment_contract_by_name( method with_stored_versioned_payment_contract_by_hash (line 233) | pub fn with_stored_versioned_payment_contract_by_hash( method with_authorization_keys (line 250) | pub fn with_authorization_keys(mut self, authorization_keys: &[Account... method with_gas_price (line 256) | pub fn with_gas_price(mut self, gas_price: u8) -> Self { method with_deploy_hash (line 262) | pub fn with_deploy_hash(mut self, hash: [u8; 32]) -> Self { method build (line 268) | pub fn build(self) -> DeployItem { method default (line 293) | fn default() -> Self { function should_not_default_deploy_hash_to_zeros_if_not_specified (line 307) | fn should_not_default_deploy_hash_to_zeros_if_not_specified() { FILE: execution_engine_testing/test_support/src/execute_request_builder.rs type ExecuteRequest (line 22) | pub struct ExecuteRequest { method is_install_upgrade_allowed (line 31) | pub fn is_install_upgrade_allowed(&self) -> bool { type ExecuteRequestBuilder (line 38) | pub struct ExecuteRequestBuilder { constant DEFAULT_STATE_HASH (line 61) | pub const DEFAULT_STATE_HASH: Digest = Digest::from_raw([1; 32]); constant DEFAULT_TRANSACTION_HASH (line 63) | pub const DEFAULT_TRANSACTION_HASH: TransactionHash = constant DEFAULT_ENTRY_POINT (line 66) | pub const DEFAULT_ENTRY_POINT: &'static str = "call"; constant DEFAULT_PROTOCOL_VERSION (line 68) | pub const DEFAULT_PROTOCOL_VERSION: ProtocolVersion = ProtocolVersion:... method from_session_input_data_for_protocol_version (line 71) | pub fn from_session_input_data_for_protocol_version( method from_session_input_data (line 137) | pub fn from_session_input_data(session_input_data: &SessionInputData) ... method from_deploy_item (line 145) | pub fn from_deploy_item(deploy_item: &DeployItem) -> Self { method from_deploy_item_for_protocol_version (line 150) | pub fn from_deploy_item_for_protocol_version( method standard (line 213) | pub fn standard( method standard_with_protocol_version (line 227) | pub fn standard_with_protocol_version( method module_bytes (line 245) | pub fn module_bytes( method contract_call_by_hash (line 263) | pub fn contract_call_by_hash( method contract_call_by_name (line 280) | pub fn contract_call_by_name( method contract_call_by_hash_versioned_with_major (line 297) | pub fn contract_call_by_hash_versioned_with_major( method versioned_contract_call_by_hash (line 341) | pub fn versioned_contract_call_by_hash( method contract_call_by_name_versioned_with_major (line 364) | pub fn contract_call_by_name_versioned_with_major( method versioned_contract_call_by_name (line 408) | pub fn versioned_contract_call_by_name( method with_block_time (line 425) | pub fn with_block_time>(mut self, block_time: T) ->... method with_block_height (line 431) | pub fn with_block_height(mut self, block_height: u64) -> Self { method with_parent_block_hash (line 437) | pub fn with_parent_block_hash(mut self, parent_block_hash: BlockHash) ... method with_state_hash (line 443) | pub fn with_state_hash(mut self, state_hash: Digest) -> Self { method with_authorization_keys (line 449) | pub fn with_authorization_keys(mut self, authorization_keys: BTreeSet<... method with_protocol_version (line 455) | pub fn with_protocol_version(mut self, protocol_version: ProtocolVersi... method build (line 461) | pub fn build(self) -> ExecuteRequest { constant DEFAULT_GAS_LIMIT (line 57) | const DEFAULT_GAS_LIMIT: u64 = 5_000_u64 * 10u64.pow(9); FILE: execution_engine_testing/test_support/src/genesis_config_builder.rs type GenesisConfigBuilder (line 20) | pub struct GenesisConfigBuilder { method new (line 40) | pub fn new() -> Self { method with_accounts (line 45) | pub fn with_accounts(mut self, accounts: Vec) -> Self { method with_wasm_config (line 51) | pub fn with_wasm_config(mut self, wasm_config: WasmConfig) -> Self { method with_system_config (line 57) | pub fn with_system_config(mut self, system_config: SystemConfig) -> Se... method with_validator_slots (line 63) | pub fn with_validator_slots(mut self, validator_slots: u32) -> Self { method with_auction_delay (line 69) | pub fn with_auction_delay(mut self, auction_delay: u64) -> Self { method with_locked_funds_period_millis (line 75) | pub fn with_locked_funds_period_millis(mut self, locked_funds_period_m... method with_round_seigniorage_rate (line 81) | pub fn with_round_seigniorage_rate(mut self, round_seigniorage_rate: R... method with_unbonding_delay (line 87) | pub fn with_unbonding_delay(mut self, unbonding_delay: u64) -> Self { method with_genesis_timestamp_millis (line 93) | pub fn with_genesis_timestamp_millis(mut self, genesis_timestamp_milli... method with_enable_addressable_entity (line 99) | pub fn with_enable_addressable_entity(mut self, enable_addressable_ent... method with_rewards_ratio (line 105) | pub fn with_rewards_ratio(mut self, rewards_ratio: Ratio) -> Self { method with_storage_costs (line 111) | pub fn with_storage_costs(mut self, storage_costs: StorageCosts) -> Se... method with_minimum_delegation_rate (line 117) | pub fn with_minimum_delegation_rate(mut self, minimum_delegation_rate:... method build (line 123) | pub fn build(self) -> GenesisConfig { FILE: execution_engine_testing/test_support/src/lib.rs constant DEFAULT_VALIDATOR_SLOTS (line 42) | pub const DEFAULT_VALIDATOR_SLOTS: u32 = 5; constant DEFAULT_AUCTION_DELAY (line 44) | pub const DEFAULT_AUCTION_DELAY: u64 = 1; constant DEFAULT_LOCKED_FUNDS_PERIOD_MILLIS (line 46) | pub const DEFAULT_LOCKED_FUNDS_PERIOD_MILLIS: u64 = 0; constant DEFAULT_VESTING_SCHEDULE_PERIOD_MILLIS (line 48) | pub const DEFAULT_VESTING_SCHEDULE_PERIOD_MILLIS: u64 = 0; constant DEFAULT_UNBONDING_DELAY (line 51) | pub const DEFAULT_UNBONDING_DELAY: u64 = 7; constant DEFAULT_ROUND_SEIGNIORAGE_RATE (line 60) | pub const DEFAULT_ROUND_SEIGNIORAGE_RATE: Ratio = Ratio::new_raw(1,... constant DEFAULT_CHAIN_NAME (line 63) | pub const DEFAULT_CHAIN_NAME: &str = "casper-execution-engine-testing"; constant DEFAULT_GENESIS_TIMESTAMP_MILLIS (line 65) | pub const DEFAULT_GENESIS_TIMESTAMP_MILLIS: u64 = 0; constant DEFAULT_BLOCK_TIME (line 67) | pub const DEFAULT_BLOCK_TIME: u64 = 0; constant DEFAULT_GAS_PRICE (line 69) | pub const DEFAULT_GAS_PRICE: u8 = 1; constant ARG_AMOUNT (line 71) | pub const ARG_AMOUNT: &str = "amount"; constant TIMESTAMP_MILLIS_INCREMENT (line 73) | pub const TIMESTAMP_MILLIS_INCREMENT: u64 = 30_000; constant DEFAULT_GAS_HOLD_BALANCE_HANDLING (line 75) | pub const DEFAULT_GAS_HOLD_BALANCE_HANDLING: HoldBalanceHandling = HoldB... constant DEFAULT_GAS_HOLD_INTERVAL_MILLIS (line 77) | pub const DEFAULT_GAS_HOLD_INTERVAL_MILLIS: u64 = 24 * 60 * 60 * 60; constant DEFAULT_MAX_ASSOCIATED_KEYS (line 80) | pub const DEFAULT_MAX_ASSOCIATED_KEYS: u32 = 100; constant DEFAULT_MAX_QUERY_DEPTH (line 83) | pub const DEFAULT_MAX_QUERY_DEPTH: u64 = 5; constant DEFAULT_MAX_RUNTIME_CALL_STACK_HEIGHT (line 85) | pub const DEFAULT_MAX_RUNTIME_CALL_STACK_HEIGHT: u32 = 12; constant DEFAULT_MINIMUM_DELEGATION_AMOUNT (line 87) | pub const DEFAULT_MINIMUM_DELEGATION_AMOUNT: u64 = 500 * 1_000_000_000; constant DEFAULT_MAXIMUM_DELEGATION_AMOUNT (line 89) | pub const DEFAULT_MAXIMUM_DELEGATION_AMOUNT: u64 = 1_000_000_000 * 1_000... constant DEFAULT_GENESIS_CONFIG_HASH (line 92) | pub const DEFAULT_GENESIS_CONFIG_HASH: Digest = Digest::from_raw([42; 32]); constant DEFAULT_ACCOUNT_INITIAL_BALANCE (line 108) | pub const DEFAULT_ACCOUNT_INITIAL_BALANCE: u64 = 10_000_000_000_000_000_... constant MINIMUM_ACCOUNT_CREATION_BALANCE (line 110) | pub const MINIMUM_ACCOUNT_CREATION_BALANCE: u64 = 7_500_000_000_000_000_... constant DEFAULT_PROTOCOL_VERSION (line 153) | pub const DEFAULT_PROTOCOL_VERSION: ProtocolVersion = ProtocolVersion::V... function defaults_should_match_production_chainspec_values (line 208) | fn defaults_should_match_production_chainspec_values() { FILE: execution_engine_testing/test_support/src/step_request_builder.rs type StepRequestBuilder (line 9) | pub struct StepRequestBuilder { method new (line 23) | pub fn new() -> Self { method with_runtime_config (line 28) | pub fn with_runtime_config(mut self, runtime_config: Config) -> Self { method with_transfer_config (line 34) | pub fn with_transfer_config(mut self, transfer_config: TransferConfig)... method with_parent_state_hash (line 40) | pub fn with_parent_state_hash(mut self, parent_state_hash: Digest) -> ... method with_protocol_version (line 46) | pub fn with_protocol_version(mut self, protocol_version: ProtocolVersi... method with_slash_item (line 52) | pub fn with_slash_item(mut self, slash_item: SlashItem) -> Self { method with_reward_item (line 58) | pub fn with_reward_item(mut self, reward_item: RewardItem) -> Self { method with_evict_item (line 64) | pub fn with_evict_item(mut self, evict_item: EvictItem) -> Self { method with_evict_items (line 70) | pub fn with_evict_items(mut self, evict_items: impl IntoIterator Self { method with_next_era_id (line 82) | pub fn with_next_era_id(mut self, next_era_id: EraId) -> Self { method with_era_end_timestamp_millis (line 88) | pub fn with_era_end_timestamp_millis(mut self, era_end_timestamp_milli... method build (line 94) | pub fn build(self) -> StepRequest { method default (line 108) | fn default() -> Self { FILE: execution_engine_testing/test_support/src/transfer_request_builder.rs type TransferRequestBuilder (line 32) | pub struct TransferRequestBuilder { constant DEFAULT_CONFIG (line 46) | pub const DEFAULT_CONFIG: NativeRuntimeConfig = NativeRuntimeConfig::new( constant DEFAULT_STATE_HASH (line 67) | pub const DEFAULT_STATE_HASH: Digest = Digest::from_raw([1; 32]); constant DEFAULT_GAS (line 69) | pub const DEFAULT_GAS: u64 = 2_500_000_000; method new (line 72) | pub fn new, T: Into>(amount: A, target: ... method with_native_runtime_config (line 103) | pub fn with_native_runtime_config(mut self, config: NativeRuntimeConfi... method with_block_time (line 109) | pub fn with_block_time(mut self, block_time: u64) -> Self { method with_protocol_version (line 115) | pub fn with_protocol_version(mut self, protocol_version: ProtocolVersi... method with_transaction_hash (line 121) | pub fn with_transaction_hash(mut self, transaction_hash: TransactionHa... method with_initiator (line 128) | pub fn with_initiator>(mut self, initiator: T) ... method with_authorization_keys (line 137) | pub fn with_authorization_keys>( method with_source (line 146) | pub fn with_source(mut self, source: URef) -> Self { method with_transfer_id (line 153) | pub fn with_transfer_id(mut self, id: u64) -> Self { method build (line 165) | pub fn build(self) -> TransferRequest { method with_args (line 237) | pub fn with_args(mut self, args: RuntimeArgs) -> Self { FILE: execution_engine_testing/test_support/src/upgrade_request_builder.rs type UpgradeRequestBuilder (line 11) | pub struct UpgradeRequestBuilder { method new (line 36) | pub fn new() -> Self { method with_pre_state_hash (line 41) | pub fn with_pre_state_hash(mut self, pre_state_hash: Digest) -> Self { method with_current_protocol_version (line 47) | pub fn with_current_protocol_version(mut self, protocol_version: Proto... method with_new_protocol_version (line 53) | pub fn with_new_protocol_version(mut self, protocol_version: ProtocolV... method with_new_gas_hold_handling (line 59) | pub fn with_new_gas_hold_handling(mut self, gas_hold_handling: HoldBal... method with_new_gas_hold_interval (line 65) | pub fn with_new_gas_hold_interval(mut self, gas_hold_interval: u64) ->... method with_new_validator_slots (line 71) | pub fn with_new_validator_slots(mut self, new_validator_slots: u32) ->... method with_new_auction_delay (line 77) | pub fn with_new_auction_delay(mut self, new_auction_delay: u64) -> Self { method with_new_locked_funds_period_millis (line 83) | pub fn with_new_locked_funds_period_millis( method with_new_round_seigniorage_rate (line 92) | pub fn with_new_round_seigniorage_rate(mut self, rate: Ratio) -> ... method with_new_unbonding_delay (line 98) | pub fn with_new_unbonding_delay(mut self, unbonding_delay: u64) -> Self { method with_global_state_update (line 104) | pub fn with_global_state_update( method with_activation_point (line 113) | pub fn with_activation_point(mut self, activation_point: EraId) -> Self { method with_chainspec_registry (line 119) | pub fn with_chainspec_registry(mut self, chainspec_registry: Chainspec... method with_fee_handling (line 125) | pub fn with_fee_handling(mut self, fee_handling: FeeHandling) -> Self { method with_validator_minimum_bid_amount (line 131) | pub fn with_validator_minimum_bid_amount(mut self, validator_minimum_b... method with_maximum_delegation_amount (line 137) | pub fn with_maximum_delegation_amount(mut self, maximum_delegation_amo... method with_minimum_delegation_amount (line 143) | pub fn with_minimum_delegation_amount(mut self, minimum_delegation_amo... method with_enable_addressable_entity (line 149) | pub fn with_enable_addressable_entity(mut self, enable_entity: bool) -... method with_rewards_handling (line 155) | pub fn with_rewards_handling(mut self, rewards_handling: RewardsHandli... method with_new_minimum_delegation_rate (line 161) | pub fn with_new_minimum_delegation_rate( method build (line 170) | pub fn build(self) -> ProtocolUpgradeConfig { method default (line 197) | fn default() -> UpgradeRequestBuilder { FILE: execution_engine_testing/test_support/src/utils.rs function get_compiled_wasm_paths (line 69) | fn get_compiled_wasm_paths() -> Vec { function read_wasm_file (line 81) | pub fn read_wasm_file>(contract_file: T) -> Bytes { function create_genesis_config (line 112) | pub fn create_genesis_config(accounts: Vec) -> GenesisCo... function create_run_genesis_request (line 138) | pub fn create_run_genesis_request(accounts: Vec) -> Gene... function get_precondition_failure (line 153) | pub fn get_precondition_failure(exec_result: &WasmV1Result) -> &Error { FILE: execution_engine_testing/test_support/src/wasm_test_builder.rs constant DEFAULT_LMDB_PAGES (line 81) | pub(crate) const DEFAULT_LMDB_PAGES: usize = 256_000_000; constant DEFAULT_MAX_READERS (line 86) | pub(crate) const DEFAULT_MAX_READERS: u32 = 512; constant GLOBAL_STATE_DIR (line 89) | const GLOBAL_STATE_DIR: &str = "global_state"; type EntityWithNamedKeys (line 93) | pub struct EntityWithNamedKeys { method new (line 100) | pub fn new(entity: AddressableEntity, named_keys: NamedKeys) -> Self { method entity (line 105) | pub fn entity(&self) -> AddressableEntity { method main_purse (line 110) | pub fn main_purse(&self) -> URef { method named_keys (line 115) | pub fn named_keys(&self) -> &NamedKeys { type WasmTestBuilder (line 121) | pub struct WasmTestBuilder { function write_scratch_to_db (line 152) | pub fn write_scratch_to_db(&mut self) -> &mut Self { function flush_environment (line 164) | pub fn flush_environment(&self) { function scratch_exec_and_commit (line 174) | pub fn scratch_exec_and_commit(&mut self, mut exec_request: WasmV1Reques... method clone (line 204) | fn clone(&self) -> Self { type GlobalStateMode (line 225) | enum GlobalStateMode { method post_state_hash (line 233) | fn post_state_hash(self) -> Option { type LmdbWasmTestBuilder (line 242) | pub type LmdbWasmTestBuilder = WasmTestBuilder + ?Sized>( method create_or_open (line 347) | fn create_or_open>( method new_with_chainspec (line 433) | pub fn new_with_chainspec + ?Sized, P: AsRef>( method new_with_production_chainspec (line 445) | pub fn new_with_production_chainspec + ?Sized>(data_di... method new (line 450) | pub fn new + ?Sized>(data_dir: &T) -> Self { method open (line 456) | pub fn open + ?Sized>( method open_raw (line 474) | pub fn open_raw>( method new_temporary_with_config (line 492) | pub fn new_temporary_with_config(chainspec: ChainspecConfig) -> Self { method new_temporary_with_chainspec (line 513) | pub fn new_temporary_with_chainspec>(chainspec_path: P)... method create_global_state_dir (line 520) | fn create_global_state_dir>(global_state_path: T) { method global_state_dir (line 529) | fn global_state_dir + ?Sized>(data_dir: &T) -> PathBuf { method lmdb_on_disk_size (line 536) | pub fn lmdb_on_disk_size(&self) -> Option { method step_with_scratch (line 546) | pub fn step_with_scratch(&mut self, step_request: StepRequest) -> &mut... method transfer_and_commit (line 569) | pub fn transfer_and_commit(&mut self, mut transfer_request: TransferRe... method default (line 245) | fn default() -> Self { function run_genesis (line 589) | pub fn run_genesis(&mut self, request: GenesisRequest) -> &mut Self { function query_system_entity_registry (line 610) | fn query_system_entity_registry( function query (line 626) | pub fn query( function message_topics (line 647) | pub fn message_topics( function query_named_key_by_account_hash (line 666) | pub fn query_named_key_by_account_hash( function query_named_key (line 680) | pub fn query_named_key( function query_dictionary_item (line 701) | pub fn query_dictionary_item( function query_with_proof (line 714) | pub fn query_with_proof( function total_supply (line 740) | pub fn total_supply( function round_seigniorage_rate (line 761) | pub fn round_seigniorage_rate( function base_round_reward (line 788) | pub fn base_round_reward( function bidding (line 804) | pub fn bidding( function exec_wasm_v1 (line 870) | pub fn exec_wasm_v1(&mut self, mut request: WasmV1Request) -> &mut Self { function exec (line 883) | pub fn exec(&mut self, mut exec_request: ExecuteRequest) -> &mut Self { function commit (line 915) | pub fn commit(&mut self) -> &mut Self { function commit_transforms (line 925) | pub fn commit_transforms(&mut self, pre_state_hash: Digest, effects: Eff... function upgrade (line 935) | pub fn upgrade(&mut self, upgrade_config: &mut ProtocolUpgradeConfig) ->... function run_auction (line 960) | pub fn run_auction( function step (line 980) | pub fn step(&mut self, step_request: StepRequest) -> StepResult { function native_runtime_config (line 993) | fn native_runtime_config(&self) -> NativeRuntimeConfig { function distribute_fees (line 1029) | pub fn distribute_fees( function distribute (line 1057) | pub fn distribute( function distribute_with_rewards_handling (line 1088) | pub fn distribute_with_rewards_handling( function handle_fee (line 1153) | pub fn handle_fee( function expect_success (line 1179) | pub fn expect_success(&mut self) -> &mut Self { function expect_failure (line 1193) | pub fn expect_failure(&mut self) -> &mut Self { function is_error (line 1208) | pub fn is_error(&self) -> bool { function get_error (line 1217) | pub fn get_error(&self) -> Option { function get_error_message (line 1226) | pub fn get_error_message(&self) -> Option { function get_effects (line 1235) | pub fn get_effects(&self) -> Vec { function get_genesis_account (line 1240) | pub fn get_genesis_account(&self) -> &AddressableEntity { function get_mint_contract_hash (line 1247) | pub fn get_mint_contract_hash(&self) -> AddressableEntityHash { function get_handle_payment_contract_hash (line 1254) | pub fn get_handle_payment_contract_hash(&self) -> AddressableEntityHash { function get_standard_payment_contract_hash (line 1261) | pub fn get_standard_payment_contract_hash(&self) -> AddressableEntityHash { function get_system_entity_hash (line 1266) | fn get_system_entity_hash(&self, contract_name: &str) -> Option AddressableEntityHash { function get_genesis_effects (line 1280) | pub fn get_genesis_effects(&self) -> &Effects { function get_genesis_hash (line 1287) | pub fn get_genesis_hash(&self) -> Digest { function get_post_state_hash (line 1293) | pub fn get_post_state_hash(&self) -> Digest { function chainspec (line 1298) | pub fn chainspec(&self) -> &ChainspecConfig { function engine_config (line 1303) | pub fn engine_config(&self) -> &EngineConfig { function with_chainspec (line 1308) | pub fn with_chainspec(&mut self, chainspec: ChainspecConfig) -> &mut Self { function with_engine_config (line 1315) | pub fn with_engine_config(&mut self, engine_config: EngineConfig) -> &mu... function with_block_time (line 1321) | pub fn with_block_time(&mut self, block_time: BlockTime) -> &mut Self { function write_data_and_commit (line 1341) | pub fn write_data_and_commit( function with_gas_hold_config (line 1362) | pub fn with_gas_hold_config( function get_engine_state (line 1424) | pub fn get_engine_state(&self) -> &ExecutionEngineV1 { function data_access_layer (line 1429) | pub fn data_access_layer(&self) -> &S { function get_last_exec_result (line 1434) | pub fn get_last_exec_result(&self) -> Option { function get_exec_result_owned (line 1439) | pub fn get_exec_result_owned(&self, index: usize) -> Option { function get_exec_results_count (line 1444) | pub fn get_exec_results_count(&self) -> usize { function get_upgrade_result (line 1449) | pub fn get_upgrade_result(&self, index: usize) -> Option<&ProtocolUpgrad... function expect_upgrade_success (line 1454) | pub fn expect_upgrade_success(&mut self) -> &mut Self { function expect_upgrade_failure (line 1467) | pub fn expect_upgrade_failure(&mut self) -> &mut Self { function get_account (line 1480) | pub fn get_account(&self, account_hash: AccountHash) -> Option { function get_handle_payment_contract (line 1489) | pub fn get_handle_payment_contract(&self) -> EntityWithNamedKeys { function get_purse_balance (line 1517) | pub fn get_purse_balance(&self, purse: URef) -> U512 { function get_purse_balance_result_with_proofs (line 1526) | pub fn get_purse_balance_result_with_proofs( function get_public_key_balance_result_with_proofs (line 1545) | pub fn get_public_key_balance_result_with_proofs( function get_proposer_purse_balance (line 1564) | pub fn get_proposer_purse_balance(&self) -> U512 { function get_entity_hash_by_account_hash (line 1572) | pub fn get_entity_hash_by_account_hash( function get_entity_with_named_keys_by_account_hash (line 1587) | pub fn get_entity_with_named_keys_by_account_hash( function get_entity_with_named_keys_by_entity_hash (line 1600) | pub fn get_entity_with_named_keys_by_entity_hash( function get_entity_by_account_hash (line 1614) | pub fn get_entity_by_account_hash( function get_expected_addressable_entity_by_account_hash (line 1633) | pub fn get_expected_addressable_entity_by_account_hash( function get_addressable_entity (line 1642) | pub fn get_addressable_entity( function get_contract (line 1674) | pub fn get_contract(&self, contract_hash: ContractHash) -> Option Option Option { function exec_consumed (line 1720) | pub fn exec_consumed(&self, index: usize) -> Gas { function last_exec_gas_consumed (line 1728) | pub fn last_exec_gas_consumed(&self) -> Gas { function assert_error (line 1739) | pub fn assert_error(&self, expected_error: Error) { function get_era_validators (line 1747) | pub fn get_era_validators(&mut self) -> EraValidators { function get_validator_weights (line 1760) | pub fn get_validator_weights(&mut self, era_id: EraId) -> Option Vec { function get_named_keys_by_account_hash (line 1775) | pub fn get_named_keys_by_account_hash(&self, account_hash: AccountHash) ... function get_named_keys_for_system_contract (line 1784) | pub fn get_named_keys_for_system_contract( function get_named_keys_for_contract (line 1792) | pub fn get_named_keys_for_contract(&self, contract_hash: AddressableEnti... function get_named_keys (line 1797) | pub fn get_named_keys(&self, entity_addr: EntityAddr) -> NamedKeys { function get_unbonds (line 1812) | pub fn get_unbonds(&mut self) -> BTreeMap> { function get_validator_bid (line 1845) | pub fn get_validator_bid(&mut self, validator_public_key: PublicKey) -> ... function get_unbonding_purses (line 1872) | pub fn get_unbonding_purses(&mut self) -> BTreeMap WithdrawPurses { function get_balance_keys (line 1932) | pub fn get_balance_keys(&self) -> Vec { function get_keys (line 1937) | pub fn get_keys( function get_entry_points (line 1955) | pub fn get_entry_points(&self, entity_addr: EntityAddr) -> EntryPoints { function get_value (line 1970) | pub fn get_value(&mut self, entity_addr: EntityAddr, name: &str) -> T function get_era (line 1984) | pub fn get_era(&mut self) -> EraId { function get_auction_delay (line 1990) | pub fn get_auction_delay(&mut self) -> u64 { function get_unbonding_delay (line 1999) | pub fn get_unbonding_delay(&mut self) -> u64 { function system_entity_key (line 2007) | fn system_entity_key(&self, request: SystemEntityRegistryRequest) -> Key { function get_system_auction_hash (line 2023) | pub fn get_system_auction_hash(&self) -> AddressableEntityHash { function get_system_mint_hash (line 2037) | pub fn get_system_mint_hash(&self) -> AddressableEntityHash { function get_system_handle_payment_hash (line 2052) | pub fn get_system_handle_payment_hash( function clear_results (line 2069) | pub fn clear_results(&mut self) -> &mut Self { function advance_eras_by (line 2077) | pub fn advance_eras_by(&mut self, num_eras: u64) { function advance_eras_by_default_auction_delay (line 2102) | pub fn advance_eras_by_default_auction_delay(&mut self) { function advance_era (line 2108) | pub fn advance_era(&mut self) { function step_request_builder (line 2113) | pub fn step_request_builder(&mut self) -> StepRequestBuilder { function get_trie (line 2121) | pub fn get_trie(&mut self, state_hash: Digest) -> Option AuctionCosts { function get_mint_costs (line 2136) | pub fn get_mint_costs(&self) -> MintCosts { function get_handle_payment_costs (line 2141) | pub fn get_handle_payment_costs(&self) -> HandlePaymentCosts { function commit_prune (line 2146) | pub fn commit_prune(&mut self, prune_config: PruneRequest) -> &mut Self { function get_prune_result (line 2163) | pub fn get_prune_result(&self, index: usize) -> Option<&PruneResult> { function expect_prune_success (line 2168) | pub fn expect_prune_success(&mut self) -> &mut Self { function calculate_refund_amount (line 2188) | pub fn calculate_refund_amount(&self, payment_amount: U512) -> U512 { FILE: execution_engine_testing/test_support/tests/version_numbers.rs function test_html_root_url (line 2) | fn test_html_root_url() { FILE: execution_engine_testing/tests/src/lmdb_fixture.rs constant RELEASE_1_2_0 (line 19) | pub const RELEASE_1_2_0: &str = "release_1_2_0"; constant RELEASE_1_3_1 (line 20) | pub const RELEASE_1_3_1: &str = "release_1_3_1"; constant RELEASE_1_4_2 (line 21) | pub const RELEASE_1_4_2: &str = "release_1_4_2"; constant RELEASE_1_4_3 (line 22) | pub const RELEASE_1_4_3: &str = "release_1_4_3"; constant RELEASE_1_4_4 (line 23) | pub const RELEASE_1_4_4: &str = "release_1_4_4"; constant RELEASE_1_4_5 (line 24) | pub const RELEASE_1_4_5: &str = "release_1_4_5"; constant RELEASE_1_5_8 (line 25) | pub const RELEASE_1_5_8: &str = "release_1_5_8"; constant STATE_JSON_FILE (line 26) | const STATE_JSON_FILE: &str = "state.json"; constant FIXTURES_DIRECTORY (line 27) | const FIXTURES_DIRECTORY: &str = "fixtures"; constant GENESIS_PROTOCOL_VERSION_FIELD (line 28) | const GENESIS_PROTOCOL_VERSION_FIELD: &str = "protocol_version"; constant RUN_FIXTURE_GENERATORS_ENV (line 31) | const RUN_FIXTURE_GENERATORS_ENV: &str = "RUN_FIXTURE_GENERATORS"; function is_fixture_generator_enabled (line 34) | pub(crate) fn is_fixture_generator_enabled() -> bool { constant ENTRY_REGISTRY_SPECIAL_ADDRESS (line 40) | pub(crate) const ENTRY_REGISTRY_SPECIAL_ADDRESS: Key = function path_to_lmdb_fixtures (line 43) | fn path_to_lmdb_fixtures() -> PathBuf { type LmdbFixtureState (line 49) | pub struct LmdbFixtureState { method genesis_protocol_version (line 57) | pub fn genesis_protocol_version(&self) -> ProtocolVersion { function builder_from_global_state_fixture (line 75) | pub fn builder_from_global_state_fixture( function builder_from_global_state_fixture_with_enable_ae (line 100) | pub fn builder_from_global_state_fixture_with_enable_ae( function generate_fixture (line 131) | pub fn generate_fixture( FILE: execution_engine_testing/tests/src/test/calling_packages_by_version_query.rs constant DISABLE_CONTRACT (line 25) | const DISABLE_CONTRACT: &str = "disable_contract.wasm"; constant CONTRACT_WASM (line 29) | const CONTRACT_WASM: &str = "key_putter.wasm"; function should_call_package_hash_by_exact_version (line 33) | fn should_call_package_hash_by_exact_version() { function should_call_package_name_by_exact_version (line 52) | fn should_call_package_name_by_exact_version() { function should_call_package_hash_by_exact_version_after_protocol_version_change (line 71) | fn should_call_package_hash_by_exact_version_after_protocol_version_chan... function should_call_package_name_by_exact_version_after_protocol_version_change (line 93) | fn should_call_package_name_by_exact_version_after_protocol_version_chan... function should_call_by_hash_newest_version_when_only_major_specified (line 113) | fn should_call_by_hash_newest_version_when_only_major_specified() { function should_call_by_name_newest_version_when_only_major_specified (line 148) | fn should_call_by_name_newest_version_when_only_major_specified() { function should_call_by_hash_the_newest_version (line 183) | fn should_call_by_hash_the_newest_version() { function should_call_by_name_the_newest_version (line 233) | fn should_call_by_name_the_newest_version() { function when_disamiguous_calls_are_enabled_should_call_by_hash_querying_by_version (line 282) | fn when_disamiguous_calls_are_enabled_should_call_by_hash_querying_by_ve... function when_disamiguous_calls_are_disabled_then_ambiguous_call_by_hash_will_fail (line 328) | fn when_disamiguous_calls_are_disabled_then_ambiguous_call_by_hash_will_... function when_disamiguous_calls_are_disabled_then_ambiguous_call_by_name_will_fail (line 363) | fn when_disamiguous_calls_are_disabled_then_ambiguous_call_by_name_will_... function calling_by_package_hash_should_work_when_more_then_two_protocol_versions (line 397) | fn calling_by_package_hash_should_work_when_more_then_two_protocol_versi... function assert_contract_version_hash_placeholder_value (line 416) | fn assert_contract_version_hash_placeholder_value( function install (line 433) | fn install(builder: &mut LmdbWasmTestBuilder, file_name: &str, protocol_... function get_value_of_named_key_for_contract_hash_as_str (line 444) | fn get_value_of_named_key_for_contract_hash_as_str( function disable_contract_version (line 461) | fn disable_contract_version( function get_named_keys_for_contract_hash (line 482) | fn get_named_keys_for_contract_hash( function call_contract_entrypoint (line 489) | fn call_contract_entrypoint( function builder_for_calling_entrypoint (line 500) | fn builder_for_calling_entrypoint( function get_package_hash (line 541) | fn get_package_hash(builder: &mut LmdbWasmTestBuilder) -> [u8; 32] { function get_contract_hash_for_specific_version (line 554) | fn get_contract_hash_for_specific_version( function exec_put_key_by_package_name (line 576) | fn exec_put_key_by_package_name( function exec_put_key_by_package_hash (line 596) | fn exec_put_key_by_package_hash( function upgrade_version (line 617) | fn upgrade_version( function prepare_v1_builder (line 649) | fn prepare_v1_builder() -> LmdbWasmTestBuilder { FILE: execution_engine_testing/tests/src/test/chainspec_registry.rs constant DEFAULT_ACTIVATION_POINT (line 13) | const DEFAULT_ACTIVATION_POINT: EraId = EraId::new(1); constant OLD_PROTOCOL_VERSION (line 15) | const OLD_PROTOCOL_VERSION: ProtocolVersion = DEFAULT_PROTOCOL_VERSION; constant NEW_PROTOCOL_VERSION (line 16) | const NEW_PROTOCOL_VERSION: ProtocolVersion = ProtocolVersion::from_parts( function should_commit_chainspec_registry_during_genesis (line 24) | fn should_commit_chainspec_registry_during_genesis() { function should_fail_to_commit_genesis_when_missing_genesis_accounts_hash (line 65) | fn should_fail_to_commit_genesis_when_missing_genesis_accounts_hash() { type TestConfig (line 84) | struct TestConfig { function should_upgrade_chainspec_registry (line 89) | fn should_upgrade_chainspec_registry(cfg: TestConfig) { function should_upgrade_chainspec_registry_with_global_state_hash (line 152) | fn should_upgrade_chainspec_registry_with_global_state_hash() { function should_upgrade_chainspec_registry_without_global_state_hash (line 162) | fn should_upgrade_chainspec_registry_without_global_state_hash() { function should_upgrade_chainspec_registry_with_global_state_hash_from_v1_4_4 (line 172) | fn should_upgrade_chainspec_registry_with_global_state_hash_from_v1_4_4() { function should_upgrade_chainspec_registry_without_global_state_hash_from_v1_4_4 (line 182) | fn should_upgrade_chainspec_registry_without_global_state_hash_from_v1_4... FILE: execution_engine_testing/tests/src/test/check_transfer_success.rs constant ARG_AMOUNT (line 12) | const ARG_AMOUNT: &str = "amount"; constant ARG_DESTINATION (line 13) | const ARG_DESTINATION: &str = "destination"; constant TRANSFER_WASM (line 14) | const TRANSFER_WASM: &str = "transfer_main_purse_to_new_purse.wasm"; constant NEW_PURSE_NAME (line 15) | const NEW_PURSE_NAME: &str = "test_purse"; constant FIRST_TRANSFER_AMOUNT (line 16) | const FIRST_TRANSFER_AMOUNT: u64 = 142; constant SECOND_TRANSFER_AMOUNT (line 17) | const SECOND_TRANSFER_AMOUNT: u64 = 250; function test_check_transfer_success_with_source_only (line 21) | fn test_check_transfer_success_with_source_only() { function test_check_transfer_success_with_source_only_errors (line 86) | fn test_check_transfer_success_with_source_only_errors() { function test_check_transfer_success_with_source_and_target (line 149) | fn test_check_transfer_success_with_source_and_target() { FILE: execution_engine_testing/tests/src/test/contract_api/account/associated_keys.rs constant CONTRACT_ADD_UPDATE_ASSOCIATED_KEY (line 15) | const CONTRACT_ADD_UPDATE_ASSOCIATED_KEY: &str = "add_update_associated_... constant CONTRACT_REMOVE_ASSOCIATED_KEY (line 16) | const CONTRACT_REMOVE_ASSOCIATED_KEY: &str = "remove_associated_key.wasm"; constant CONTRACT_TRANSFER_PURSE_TO_ACCOUNT (line 17) | const CONTRACT_TRANSFER_PURSE_TO_ACCOUNT: &str = "transfer_purse_to_acco... constant ACCOUNT_1_ADDR (line 18) | const ACCOUNT_1_ADDR: AccountHash = AccountHash::new([1u8; 32]); constant ARG_ACCOUNT (line 19) | const ARG_ACCOUNT: &str = "account"; function should_manage_associated_key (line 25) | fn should_manage_associated_key() { function should_remove_associated_key_when_at_max_allowed_cap (line 86) | fn should_remove_associated_key_when_at_max_allowed_cap() { FILE: execution_engine_testing/tests/src/test/contract_api/account/authorized_keys.rs constant CONTRACT_ADD_ASSOCIATED_KEY (line 12) | const CONTRACT_ADD_ASSOCIATED_KEY: &str = "add_associated_key.wasm"; constant CONTRACT_ADD_UPDATE_ASSOCIATED_KEY (line 13) | const CONTRACT_ADD_UPDATE_ASSOCIATED_KEY: &str = "add_update_associated_... constant CONTRACT_SET_ACTION_THRESHOLDS (line 14) | const CONTRACT_SET_ACTION_THRESHOLDS: &str = "set_action_thresholds.wasm"; constant ARG_KEY_MANAGEMENT_THRESHOLD (line 15) | const ARG_KEY_MANAGEMENT_THRESHOLD: &str = "key_management_threshold"; constant ARG_DEPLOY_THRESHOLD (line 16) | const ARG_DEPLOY_THRESHOLD: &str = "deploy_threshold"; constant ARG_ACCOUNT (line 17) | const ARG_ACCOUNT: &str = "account"; constant ARG_WEIGHT (line 18) | const ARG_WEIGHT: &str = "weight"; constant KEY_1 (line 19) | const KEY_1: AccountHash = AccountHash::new([254; 32]); constant KEY_2 (line 20) | const KEY_2: AccountHash = AccountHash::new([253; 32]); constant KEY_2_WEIGHT (line 21) | const KEY_2_WEIGHT: Weight = Weight::new(100); constant KEY_3 (line 22) | const KEY_3: AccountHash = AccountHash::new([252; 32]); function should_deploy_with_authorized_identity_key (line 26) | fn should_deploy_with_authorized_identity_key() { function should_raise_auth_failure_with_invalid_key (line 46) | fn should_raise_auth_failure_with_invalid_key() { function should_raise_auth_failure_with_invalid_keys (line 95) | fn should_raise_auth_failure_with_invalid_keys() { function should_raise_deploy_authorization_failure (line 142) | fn should_raise_deploy_authorization_failure() { function should_authorize_deploy_with_multiple_keys (line 309) | fn should_authorize_deploy_with_multiple_keys() { function should_not_authorize_deploy_with_duplicated_keys (line 361) | fn should_not_authorize_deploy_with_duplicated_keys() { function should_not_authorize_transfer_without_deploy_key_threshold (line 444) | fn should_not_authorize_transfer_without_deploy_key_threshold() { FILE: execution_engine_testing/tests/src/test/contract_api/account/key_management_thresholds.rs constant CONTRACT_KEY_MANAGEMENT_THRESHOLDS (line 7) | const CONTRACT_KEY_MANAGEMENT_THRESHOLDS: &str = "key_management_thresho... constant ARG_STAGE (line 9) | const ARG_STAGE: &str = "stage"; function should_verify_key_management_permission_with_low_weight (line 13) | fn should_verify_key_management_permission_with_low_weight() { function should_verify_key_management_permission_with_sufficient_weight (line 38) | fn should_verify_key_management_permission_with_sufficient_weight() { FILE: execution_engine_testing/tests/src/test/contract_api/account/named_keys.rs constant CONTRACT_NAMED_KEYS (line 6) | const CONTRACT_NAMED_KEYS: &str = "named_keys.wasm"; constant EXPECTED_UREF_VALUE (line 7) | const EXPECTED_UREF_VALUE: u64 = 123_456_789u64; constant KEY1 (line 9) | const KEY1: &str = "hello-world"; constant KEY2 (line 10) | const KEY2: &str = "big-value"; constant COMMAND_CREATE_UREF1 (line 12) | const COMMAND_CREATE_UREF1: &str = "create-uref1"; constant COMMAND_CREATE_UREF2 (line 13) | const COMMAND_CREATE_UREF2: &str = "create-uref2"; constant COMMAND_REMOVE_UREF1 (line 14) | const COMMAND_REMOVE_UREF1: &str = "remove-uref1"; constant COMMAND_REMOVE_UREF2 (line 15) | const COMMAND_REMOVE_UREF2: &str = "remove-uref2"; constant COMMAND_TEST_READ_UREF1 (line 16) | const COMMAND_TEST_READ_UREF1: &str = "test-read-uref1"; constant COMMAND_TEST_READ_UREF2 (line 17) | const COMMAND_TEST_READ_UREF2: &str = "test-read-uref2"; constant COMMAND_INCREASE_UREF2 (line 18) | const COMMAND_INCREASE_UREF2: &str = "increase-uref2"; constant COMMAND_OVERWRITE_UREF2 (line 19) | const COMMAND_OVERWRITE_UREF2: &str = "overwrite-uref2"; constant ARG_COMMAND (line 20) | const ARG_COMMAND: &str = "command"; function run_command (line 22) | fn run_command(builder: &mut LmdbWasmTestBuilder, command: &str) { function read_value (line 32) | fn read_value(builder: &mut LmdbWasmTestBuilder,... function should_run_named_keys_contract (line 41) | fn should_run_named_keys_contract() { FILE: execution_engine_testing/tests/src/test/contract_api/account/named_keys_stored.rs constant CONTRACT_HASH_NAME (line 7) | const CONTRACT_HASH_NAME: &str = "contract_stored"; constant ENTRY_POINT_CONTRACT (line 8) | const ENTRY_POINT_CONTRACT: &str = "named_keys_contract"; constant ENTRY_POINT_SESSION (line 9) | const ENTRY_POINT_SESSION: &str = "named_keys_session"; constant ENTRY_POINT_CONTRACT_TO_CONTRACT (line 10) | const ENTRY_POINT_CONTRACT_TO_CONTRACT: &str = "named_keys_contract_to_c... function should_run_stored_named_keys_contract (line 14) | fn should_run_stored_named_keys_contract() { function should_run_stored_named_keys_session (line 29) | fn should_run_stored_named_keys_session() { function should_run_stored_named_keys_contract_to_contract (line 50) | fn should_run_stored_named_keys_contract_to_contract() { function should_run_stored_named_keys_module_bytes_to_contract (line 65) | fn should_run_stored_named_keys_module_bytes_to_contract() { function should_run_stored_named_keys_module_bytes_to_contract_to_contract (line 81) | fn should_run_stored_named_keys_module_bytes_to_contract_to_contract() { function setup (line 95) | fn setup() -> LmdbWasmTestBuilder { FILE: execution_engine_testing/tests/src/test/contract_api/add_contract_version.rs constant CONTRACT (line 20) | const CONTRACT: &str = "do_nothing_stored.wasm"; constant CHAIN_NAME (line 21) | const CHAIN_NAME: &str = "a"; constant BLOCK_TIME (line 22) | const BLOCK_TIME: BlockTime = BlockTime::new(10); constant ARGS_MAP_KEY (line 24) | pub(crate) const ARGS_MAP_KEY: u16 = 0; constant TARGET_MAP_KEY (line 25) | pub(crate) const TARGET_MAP_KEY: u16 = 1; constant ENTRY_POINT_MAP_KEY (line 26) | pub(crate) const ENTRY_POINT_MAP_KEY: u16 = 2; constant SCHEDULING_MAP_KEY (line 27) | pub(crate) const SCHEDULING_MAP_KEY: u16 = 3; function should_allow_add_contract_version_via_deploy (line 31) | fn should_allow_add_contract_version_via_deploy() { function try_add_contract_version (line 42) | fn try_add_contract_version( function new_transaction_v1_session (line 110) | pub fn new_transaction_v1_session( function build_transaction (line 149) | fn build_transaction( function to_v1_session_input_data (line 176) | fn to_v1_session_input_data<'a>( function should_allow_add_contract_version_via_transaction_v1_installer_upgrader (line 211) | fn should_allow_add_contract_version_via_transaction_v1_installer_upgrad... function should_disallow_add_contract_version_via_transaction_v1_standard (line 219) | fn should_disallow_add_contract_version_via_transaction_v1_standard() { function should_allow_1x_user_to_add_contract_version_via_transaction_v1_installer_upgrader (line 227) | fn should_allow_1x_user_to_add_contract_version_via_transaction_v1_insta... FILE: execution_engine_testing/tests/src/test/contract_api/auction.rs constant ADD_BIDS_WASM (line 14) | const ADD_BIDS_WASM: &str = "auction_bids.wasm"; constant ARG_ENTRY_POINT (line 15) | const ARG_ENTRY_POINT: &str = "entry_point"; constant CHAINSPEC_NAME (line 17) | pub const CHAINSPEC_NAME: &str = "chainspec.toml"; function add_auction_should_fail_when_delegation_rate_not_met (line 23) | fn add_auction_should_fail_when_delegation_rate_not_met() { FILE: execution_engine_testing/tests/src/test/contract_api/create_purse.rs constant CONTRACT_CREATE_PURSE_01 (line 9) | const CONTRACT_CREATE_PURSE_01: &str = "create_purse_01.wasm"; constant CONTRACT_TRANSFER_PURSE_TO_ACCOUNT (line 10) | const CONTRACT_TRANSFER_PURSE_TO_ACCOUNT: &str = "transfer_purse_to_acco... constant ACCOUNT_1_ADDR (line 11) | const ACCOUNT_1_ADDR: AccountHash = AccountHash::new([1u8; 32]); constant TEST_PURSE_NAME (line 12) | const TEST_PURSE_NAME: &str = "test_purse"; constant ARG_PURSE_NAME (line 13) | const ARG_PURSE_NAME: &str = "purse_name"; function should_insert_account_into_named_keys (line 19) | fn should_insert_account_into_named_keys() { function should_create_usable_purse (line 54) | fn should_create_usable_purse() { FILE: execution_engine_testing/tests/src/test/contract_api/dictionary.rs constant DICTIONARY_WASM (line 20) | const DICTIONARY_WASM: &str = "dictionary.wasm"; constant DICTIONARY_CALL_WASM (line 21) | const DICTIONARY_CALL_WASM: &str = "dictionary_call.wasm"; constant DICTIONARY_ITEM_KEY_CHECK (line 22) | const DICTIONARY_ITEM_KEY_CHECK: &str = "dictionary-item-key-check.wasm"; constant DICTIONARY_READ (line 23) | const DICTIONARY_READ: &str = "dictionary_read.wasm"; constant READ_FROM_KEY (line 24) | const READ_FROM_KEY: &str = "read_from_key.wasm"; constant ACCOUNT_1_ADDR (line 25) | const ACCOUNT_1_ADDR: AccountHash = AccountHash::new([1u8; 32]); function setup (line 27) | fn setup() -> (LmdbWasmTestBuilder, AddressableEntityHash) { function query_dictionary_item (line 70) | fn query_dictionary_item( function should_modify_with_owned_access_rights (line 172) | fn should_modify_with_owned_access_rights() { function should_not_write_with_read_access_rights (line 251) | fn should_not_write_with_read_access_rights() { function should_read_with_read_access_rights (line 283) | fn should_read_with_read_access_rights() { function should_not_read_with_write_access_rights (line 302) | fn should_not_read_with_write_access_rights() { function should_write_with_write_access_rights (line 334) | fn should_write_with_write_access_rights() { function should_not_write_with_forged_uref (line 372) | fn should_not_write_with_forged_uref() { function should_fail_put_with_invalid_dictionary_item_key (line 415) | fn should_fail_put_with_invalid_dictionary_item_key() { function should_fail_get_with_invalid_dictionary_item_key (line 451) | fn should_fail_get_with_invalid_dictionary_item_key() { function dictionary_put_should_fail_with_large_item_key (line 487) | fn dictionary_put_should_fail_with_large_item_key() { function dictionary_get_should_fail_with_large_item_key (line 520) | fn dictionary_get_should_fail_with_large_item_key() { function should_query_dictionary_items_with_test_builder (line 553) | fn should_query_dictionary_items_with_test_builder() { function should_be_able_to_perform_dictionary_read (line 676) | fn should_be_able_to_perform_dictionary_read() { function should_be_able_to_perform_read_from_key (line 692) | fn should_be_able_to_perform_read_from_key() { FILE: execution_engine_testing/tests/src/test/contract_api/generic_hash.rs constant GENERIC_HASH_WASM (line 6) | const GENERIC_HASH_WASM: &str = "generic_hash.wasm"; function should_run_generic_hash_blake2 (line 10) | fn should_run_generic_hash_blake2() { function should_run_generic_hash_blake3 (line 31) | fn should_run_generic_hash_blake3() { function should_run_generic_hash_sha256 (line 52) | fn should_run_generic_hash_sha256() { FILE: execution_engine_testing/tests/src/test/contract_api/get_arg.rs constant CONTRACT_GET_ARG (line 6) | const CONTRACT_GET_ARG: &str = "get_arg.wasm"; constant ARG0_VALUE (line 7) | const ARG0_VALUE: &str = "Hello, world!"; constant ARG1_VALUE (line 8) | const ARG1_VALUE: u64 = 42; constant ARG_VALUE0 (line 9) | const ARG_VALUE0: &str = "value0"; constant ARG_VALUE1 (line 10) | const ARG_VALUE1: &str = "value1"; function call_get_arg (line 14) | fn call_get_arg(args: RuntimeArgs) -> Result<(), String> { function should_use_passed_argument (line 34) | fn should_use_passed_argument() { function should_revert_with_missing_arg (line 44) | fn should_revert_with_missing_arg() { function should_revert_with_invalid_argument (line 57) | fn should_revert_with_invalid_argument() { FILE: execution_engine_testing/tests/src/test/contract_api/get_block_info.rs constant CONTRACT_GET_BLOCKINFO (line 6) | const CONTRACT_GET_BLOCKINFO: &str = "get_blockinfo.wasm"; constant ARG_FIELD_IDX (line 7) | const ARG_FIELD_IDX: &str = "field_idx"; constant FIELD_IDX_BLOCK_TIME (line 9) | const FIELD_IDX_BLOCK_TIME: u8 = 0; constant ARG_KNOWN_BLOCK_TIME (line 10) | const ARG_KNOWN_BLOCK_TIME: &str = "known_block_time"; function should_run_get_block_time (line 14) | fn should_run_get_block_time() { constant FIELD_IDX_BLOCK_HEIGHT (line 34) | const FIELD_IDX_BLOCK_HEIGHT: u8 = 1; constant ARG_KNOWN_BLOCK_HEIGHT (line 35) | const ARG_KNOWN_BLOCK_HEIGHT: &str = "known_block_height"; function should_run_get_block_height (line 39) | fn should_run_get_block_height() { constant FIELD_IDX_PARENT_BLOCK_HASH (line 59) | const FIELD_IDX_PARENT_BLOCK_HASH: u8 = 2; constant ARG_KNOWN_BLOCK_PARENT_HASH (line 60) | const ARG_KNOWN_BLOCK_PARENT_HASH: &str = "known_block_parent_hash"; function should_run_get_block_parent_hash (line 64) | fn should_run_get_block_parent_hash() { constant FIELD_IDX_STATE_HASH (line 87) | const FIELD_IDX_STATE_HASH: u8 = 3; constant ARG_KNOWN_STATE_HASH (line 88) | const ARG_KNOWN_STATE_HASH: &str = "known_state_hash"; function should_run_get_state_hash (line 92) | fn should_run_get_state_hash() { constant FIELD_IDX_PROTOCOL_VERSION (line 114) | const FIELD_IDX_PROTOCOL_VERSION: u8 = 4; constant ARG_KNOWN_PROTOCOL_VERSION (line 115) | const ARG_KNOWN_PROTOCOL_VERSION: &str = "known_protocol_version"; function should_run_get_protocol_version (line 119) | fn should_run_get_protocol_version() { constant FIELD_IDX_ADDRESSABLE_ENTITY (line 140) | const FIELD_IDX_ADDRESSABLE_ENTITY: u8 = 5; constant ARG_KNOWN_ADDRESSABLE_ENTITY (line 141) | const ARG_KNOWN_ADDRESSABLE_ENTITY: &str = "known_addressable_entity"; function should_run_get_addressable_entity (line 145) | fn should_run_get_addressable_entity() { FILE: execution_engine_testing/tests/src/test/contract_api/get_blocktime.rs constant CONTRACT_GET_BLOCKTIME (line 6) | const CONTRACT_GET_BLOCKTIME: &str = "get_blocktime.wasm"; constant ARG_KNOWN_BLOCK_TIME (line 7) | const ARG_KNOWN_BLOCK_TIME: &str = "known_block_time"; function should_run_get_blocktime_contract (line 11) | fn should_run_get_blocktime_contract() { FILE: execution_engine_testing/tests/src/test/contract_api/get_call_stack.rs constant CONTRACT_RECURSIVE_SUBCALL (line 21) | const CONTRACT_RECURSIVE_SUBCALL: &str = "get_call_stack_recursive_subca... constant CONTRACT_CALL_RECURSIVE_SUBCALL (line 22) | const CONTRACT_CALL_RECURSIVE_SUBCALL: &str = "get_call_stack_call_recur... constant CONTRACT_PACKAGE_NAME (line 24) | const CONTRACT_PACKAGE_NAME: &str = "forwarder"; constant CONTRACT_NAME (line 25) | const CONTRACT_NAME: &str = "our_contract_name"; constant CONTRACT_FORWARDER_ENTRYPOINT_CONTRACT (line 27) | const CONTRACT_FORWARDER_ENTRYPOINT_CONTRACT: &str = METHOD_FORWARDER_CO... constant CONTRACT_FORWARDER_ENTRYPOINT_SESSION (line 28) | const CONTRACT_FORWARDER_ENTRYPOINT_SESSION: &str = METHOD_FORWARDER_SES... function stored_session (line 30) | fn stored_session(contract_hash: ContractHash) -> Call { function stored_versioned_session (line 38) | fn stored_versioned_session(contract_package_hash: ContractPackageHash) ... function stored_contract (line 46) | fn stored_contract(contract_hash: ContractHash) -> Call { function stored_versioned_contract (line 54) | fn stored_versioned_contract(contract_package_hash: ContractPackageHash)... function store_contract (line 62) | fn store_contract(builder: &mut LmdbWasmTestBuilder, session_filename: &... function execute_and_assert_result (line 72) | fn execute_and_assert_result( constant LARGE_AMOUNT (line 93) | const LARGE_AMOUNT: u64 = 1_500_000_000_000; function approved_amount (line 98) | pub fn approved_amount(idx: usize) -> U512 { type AccountExt (line 102) | trait AccountExt { method get_hash (line 103) | fn get_hash(&self, key: &str) -> HashAddr; method get_hash (line 107) | fn get_hash(&self, key: &str) -> HashAddr { type BuilderExt (line 116) | trait BuilderExt { method get_call_stack_from_session_context (line 117) | fn get_call_stack_from_session_context(&mut self, stored_call_stack_ke... method get_call_stack_from_contract_context (line 119) | fn get_call_stack_from_contract_context( method get_call_stack_from_session_context (line 127) | fn get_call_stack_from_session_context(&mut self, stored_call_stack_ke... method get_call_stack_from_contract_context (line 209) | fn get_call_stack_from_contract_context( function setup (line 307) | fn setup() -> LmdbWasmTestBuilder { function assert_each_context_has_correct_call_stack_info (line 314) | fn assert_each_context_has_correct_call_stack_info( function assert_invalid_context (line 358) | fn assert_invalid_context(builder: &mut LmdbWasmTestBuilder, depth: usiz... function assert_each_context_has_correct_call_stack_info_module_bytes (line 370) | fn assert_each_context_has_correct_call_stack_info_module_bytes( function assert_call_stack_matches_calls (line 409) | fn assert_call_stack_matches_calls(call_stack: Vec, calls: &[Cal... constant DEPTHS (line 486) | const DEPTHS: &[usize] = &[0, 2, 5, 10]; function session_bytes_to_stored_versioned_contract (line 492) | fn session_bytes_to_stored_versioned_contract() { function session_bytes_to_stored_contract (line 524) | fn session_bytes_to_stored_contract() { function session_bytes_to_stored_versioned_contract_to_stored_contract (line 556) | fn session_bytes_to_stored_versioned_contract_to_stored_contract() { function session_bytes_to_stored_contract_to_stored_versioned_contract (line 595) | fn session_bytes_to_stored_contract_to_stored_versioned_contract() { function session_bytes_to_stored_versioned_session_to_stored_versioned_contract (line 633) | fn session_bytes_to_stored_versioned_session_to_stored_versioned_contrac... function session_bytes_to_stored_versioned_session_to_stored_contract (line 674) | fn session_bytes_to_stored_versioned_session_to_stored_contract() { function session_bytes_to_stored_session_to_stored_versioned_contract (line 713) | fn session_bytes_to_stored_session_to_stored_versioned_contract() { function session_bytes_to_stored_session_to_stored_contract (line 751) | fn session_bytes_to_stored_session_to_stored_contract() { function session_bytes_to_stored_versioned_session (line 787) | fn session_bytes_to_stored_versioned_session() { function session_bytes_to_stored_versioned_session_to_stored_session (line 819) | fn session_bytes_to_stored_versioned_session_to_stored_session() { function session_bytes_to_stored_session_to_stored_versioned_session (line 858) | fn session_bytes_to_stored_session_to_stored_versioned_session() { function session_bytes_to_stored_session (line 896) | fn session_bytes_to_stored_session() { function session_bytes_to_stored_versioned_contract_to_stored_versioned_session_should_fail (line 930) | fn session_bytes_to_stored_versioned_contract_to_stored_versioned_sessio... function session_bytes_to_stored_versioned_contract_to_stored_session_should_fail (line 966) | fn session_bytes_to_stored_versioned_contract_to_stored_session_should_f... function session_bytes_to_stored_contract_to_stored_versioned_session_should_fail (line 1001) | fn session_bytes_to_stored_contract_to_stored_versioned_session_should_f... function session_bytes_to_stored_contract_to_stored_session_should_fail (line 1035) | fn session_bytes_to_stored_contract_to_stored_session_should_fail() { function stored_versioned_contract_by_name_to_stored_versioned_contract (line 1068) | fn stored_versioned_contract_by_name_to_stored_versioned_contract() { function stored_versioned_contract_by_hash_to_stored_versioned_contract (line 1103) | fn stored_versioned_contract_by_hash_to_stored_versioned_contract() { function stored_versioned_contract_by_name_to_stored_contract (line 1155) | fn stored_versioned_contract_by_name_to_stored_contract() { function stored_versioned_contract_by_hash_to_stored_contract (line 1190) | fn stored_versioned_contract_by_hash_to_stored_contract() { function stored_contract_by_name_to_stored_versioned_contract (line 1225) | fn stored_contract_by_name_to_stored_versioned_contract() { function stored_contract_by_hash_to_stored_versioned_contract (line 1260) | fn stored_contract_by_hash_to_stored_versioned_contract() { function stored_contract_by_name_to_stored_contract (line 1304) | fn stored_contract_by_name_to_stored_contract() { function stored_contract_by_hash_to_stored_contract (line 1338) | fn stored_contract_by_hash_to_stored_contract() { function stored_versioned_contract_by_name_to_stored_versioned_session_should_fail (line 1374) | fn stored_versioned_contract_by_name_to_stored_versioned_session_should_... function stored_versioned_contract_by_hash_to_stored_versioned_session_should_fail (line 1404) | fn stored_versioned_contract_by_hash_to_stored_versioned_session_should_... function stored_versioned_contract_by_name_to_stored_session_should_fail (line 1434) | fn stored_versioned_contract_by_name_to_stored_session_should_fail() { function stored_versioned_contract_by_hash_to_stored_session_should_fail (line 1463) | fn stored_versioned_contract_by_hash_to_stored_session_should_fail() { function stored_contract_by_name_to_stored_versioned_session_should_fail (line 1493) | fn stored_contract_by_name_to_stored_versioned_session_should_fail() { function stored_contract_by_hash_to_stored_versioned_session_should_fail (line 1522) | fn stored_contract_by_hash_to_stored_versioned_session_should_fail() { function stored_contract_by_name_to_stored_session_should_fail (line 1552) | fn stored_contract_by_name_to_stored_session_should_fail() { function stored_contract_by_hash_to_stored_session_should_fail (line 1580) | fn stored_contract_by_hash_to_stored_session_should_fail() { function stored_versioned_contract_by_name_to_stored_versioned_contract_to_stored_versioned_session_should_fail (line 1608) | fn stored_versioned_contract_by_name_to_stored_versioned_contract_to_sto... function stored_versioned_contract_by_hash_to_stored_versioned_contract_to_stored_session_should_fail (line 1647) | fn stored_versioned_contract_by_hash_to_stored_versioned_contract_to_sto... function stored_versioned_contract_by_name_to_stored_contract_to_stored_versioned_session_should_fail (line 1685) | fn stored_versioned_contract_by_name_to_stored_contract_to_stored_versio... function stored_versioned_contract_by_hash_to_stored_contract_to_stored_session_should_fail (line 1722) | fn stored_versioned_contract_by_hash_to_stored_contract_to_stored_sessio... function stored_contract_by_name_to_stored_versioned_contract_to_stored_versioned_session_should_fail (line 1756) | fn stored_contract_by_name_to_stored_versioned_contract_to_stored_versio... function stored_contract_by_hash_to_stored_versioned_contract_to_stored_session_should_fail (line 1794) | fn stored_contract_by_hash_to_stored_versioned_contract_to_stored_sessio... function stored_contract_by_name_to_stored_contract_to_stored_versioned_session_should_fail (line 1830) | fn stored_contract_by_name_to_stored_contract_to_stored_versioned_sessio... function stored_contract_by_hash_to_stored_contract_to_stored_session_should_fail (line 1865) | fn stored_contract_by_hash_to_stored_contract_to_stored_session_should_f... function stored_versioned_session_by_name_to_stored_versioned_session (line 1899) | fn stored_versioned_session_by_name_to_stored_versioned_session() { function stored_versioned_session_by_hash_to_stored_versioned_session (line 1934) | fn stored_versioned_session_by_hash_to_stored_versioned_session() { function stored_versioned_session_by_name_to_stored_session (line 1969) | fn stored_versioned_session_by_name_to_stored_session() { function stored_versioned_session_by_hash_to_stored_session (line 2004) | fn stored_versioned_session_by_hash_to_stored_session() { function stored_session_by_name_to_stored_versioned_session (line 2039) | fn stored_session_by_name_to_stored_versioned_session() { function stored_session_by_hash_to_stored_versioned_session (line 2074) | fn stored_session_by_hash_to_stored_versioned_session() { function stored_session_by_name_to_stored_session (line 2109) | fn stored_session_by_name_to_stored_session() { function stored_session_by_hash_to_stored_session (line 2143) | fn stored_session_by_hash_to_stored_session() { function stored_versioned_session_by_name_to_stored_versioned_contract (line 2177) | fn stored_versioned_session_by_name_to_stored_versioned_contract() { function stored_versioned_session_by_hash_to_stored_versioned_contract (line 2212) | fn stored_versioned_session_by_hash_to_stored_versioned_contract() { function stored_versioned_session_by_name_to_stored_contract (line 2247) | fn stored_versioned_session_by_name_to_stored_contract() { function stored_versioned_session_by_hash_to_stored_contract (line 2282) | fn stored_versioned_session_by_hash_to_stored_contract() { function stored_session_by_name_to_stored_versioned_contract (line 2317) | fn stored_session_by_name_to_stored_versioned_contract() { function stored_session_by_hash_to_stored_versioned_contract (line 2352) | fn stored_session_by_hash_to_stored_versioned_contract() { function stored_session_by_name_to_stored_contract (line 2387) | fn stored_session_by_name_to_stored_contract() { function stored_session_by_hash_to_stored_contract (line 2421) | fn stored_session_by_hash_to_stored_contract() { function stored_versioned_session_by_name_to_stored_versioned_contract_to_stored_versioned_session_should_fail (line 2457) | fn stored_versioned_session_by_name_to_stored_versioned_contract_to_stor... function stored_versioned_session_by_hash_to_stored_versioned_contract_to_stored_session_should_fail (line 2496) | fn stored_versioned_session_by_hash_to_stored_versioned_contract_to_stor... function stored_versioned_session_by_name_to_stored_contract_to_stored_versioned_session_should_fail (line 2534) | fn stored_versioned_session_by_name_to_stored_contract_to_stored_version... function stored_versioned_session_by_hash_to_stored_contract_to_stored_session_should_fail (line 2571) | fn stored_versioned_session_by_hash_to_stored_contract_to_stored_session... function stored_session_by_name_to_stored_versioned_contract_to_stored_versioned_session_should_fail (line 2605) | fn stored_session_by_name_to_stored_versioned_contract_to_stored_version... function stored_session_by_hash_to_stored_versioned_contract_to_stored_session_should_fail (line 2643) | fn stored_session_by_hash_to_stored_versioned_contract_to_stored_session... function stored_session_by_name_to_stored_contract_to_stored_versioned_session_should_fail (line 2679) | fn stored_session_by_name_to_stored_contract_to_stored_versioned_session... function stored_session_by_hash_to_stored_contract_to_stored_session_should_fail (line 2714) | fn stored_session_by_hash_to_stored_contract_to_stored_session_should_fa... constant DEPTHS (line 2765) | const DEPTHS: &[usize] = &[0, 6, 10]; function execute (line 2767) | fn execute( function execute_stored_payment_by_package_name (line 2795) | fn execute_stored_payment_by_package_name( function execute_stored_payment_by_package_hash (line 2831) | fn execute_stored_payment_by_package_hash( function execute_stored_payment_by_contract_name (line 2864) | fn execute_stored_payment_by_contract_name( function execute_stored_payment_by_contract_hash (line 2899) | fn execute_stored_payment_by_contract_hash( function payment_bytes_to_stored_versioned_session_to_stored_versioned_contract (line 2935) | fn payment_bytes_to_stored_versioned_session_to_stored_versioned_contrac... function payment_bytes_to_stored_versioned_session_to_stored_contract (line 2958) | fn payment_bytes_to_stored_versioned_session_to_stored_contract() { function payment_bytes_to_stored_session_to_stored_versioned_contract (line 2980) | fn payment_bytes_to_stored_session_to_stored_versioned_contract() { function payment_bytes_to_stored_contract_to_stored_session (line 3006) | fn payment_bytes_to_stored_contract_to_stored_session() { function payment_bytes_to_stored_session_to_stored_contract_ (line 3021) | fn payment_bytes_to_stored_session_to_stored_contract_() { function payment_bytes_to_stored_versioned_contract_to_stored_versioned_session_should_fail (line 3042) | fn payment_bytes_to_stored_versioned_contract_to_stored_versioned_sessio... function payment_bytes_to_stored_versioned_contract_to_stored_session_should_fail (line 3065) | fn payment_bytes_to_stored_versioned_contract_to_stored_session_should_f... function payment_bytes_to_stored_contract_to_stored_versioned_session_should_fail (line 3087) | fn payment_bytes_to_stored_contract_to_stored_versioned_session_should_f... function payment_bytes_to_stored_contract_to_stored_session_should_fail (line 3110) | fn payment_bytes_to_stored_contract_to_stored_session_should_fail() { function stored_versioned_payment_by_name_to_stored_versioned_session (line 3132) | fn stored_versioned_payment_by_name_to_stored_versioned_session() { function stored_versioned_payment_by_hash_to_stored_versioned_session (line 3150) | fn stored_versioned_payment_by_hash_to_stored_versioned_session() { function stored_versioned_payment_by_name_to_stored_session (line 3173) | fn stored_versioned_payment_by_name_to_stored_session() { function stored_versioned_payment_by_hash_to_stored_session (line 3187) | fn stored_versioned_payment_by_hash_to_stored_session() { function stored_payment_by_name_to_stored_versioned_session (line 3207) | fn stored_payment_by_name_to_stored_versioned_session() { function stored_payment_by_hash_to_stored_versioned_session (line 3225) | fn stored_payment_by_hash_to_stored_versioned_session() { function stored_payment_by_name_to_stored_session (line 3249) | fn stored_payment_by_name_to_stored_session() { function stored_payment_by_hash_to_stored_session (line 3263) | fn stored_payment_by_hash_to_stored_session() { function stored_versioned_payment_by_name_to_stored_versioned_contract (line 3282) | fn stored_versioned_payment_by_name_to_stored_versioned_contract() { function stored_versioned_payment_by_hash_to_stored_versioned_contract (line 3300) | fn stored_versioned_payment_by_hash_to_stored_versioned_contract() { function stored_versioned_payment_by_name_to_stored_contract (line 3323) | fn stored_versioned_payment_by_name_to_stored_contract() { function stored_versioned_payment_by_hash_to_stored_contract (line 3337) | fn stored_versioned_payment_by_hash_to_stored_contract() { function stored_payment_by_name_to_stored_versioned_contract (line 3357) | fn stored_payment_by_name_to_stored_versioned_contract() { function stored_payment_by_hash_to_stored_versioned_contract (line 3375) | fn stored_payment_by_hash_to_stored_versioned_contract() { function stored_payment_by_name_to_stored_contract (line 3399) | fn stored_payment_by_name_to_stored_contract() { function stored_payment_by_hash_to_stored_contract (line 3413) | fn stored_payment_by_hash_to_stored_contract() { function stored_versioned_payment_by_name_to_stored_versioned_contract_to_stored_versioned_session_should_fail (line 3435) | fn stored_versioned_payment_by_name_to_stored_versioned_contract_to_stor... function stored_versioned_payment_by_hash_to_stored_versioned_contract_to_stored_session_should_fail (line 3459) | fn stored_versioned_payment_by_hash_to_stored_versioned_contract_to_stor... function stored_versioned_payment_by_name_to_stored_contract_to_stored_versioned_session_should_fail (line 3487) | fn stored_versioned_payment_by_name_to_stored_contract_to_stored_version... function stored_versioned_payment_by_hash_to_stored_contract_to_stored_session_should_fail (line 3511) | fn stored_versioned_payment_by_hash_to_stored_contract_to_stored_session... function stored_payment_by_name_to_stored_versioned_contract_to_stored_versioned_session_should_fail (line 3537) | fn stored_payment_by_name_to_stored_versioned_contract_to_stored_version... function stored_session_by_hash_to_stored_versioned_contract_to_stored_session_should_fail (line 3561) | fn stored_session_by_hash_to_stored_versioned_contract_to_stored_session... function stored_payment_by_name_to_stored_contract_to_stored_versioned_session_should_fail (line 3588) | fn stored_payment_by_name_to_stored_contract_to_stored_versioned_session... function stored_payment_by_name_to_stored_contract_to_stored_session_should_fail (line 3611) | fn stored_payment_by_name_to_stored_contract_to_stored_session_should_fa... FILE: execution_engine_testing/tests/src/test/contract_api/get_caller.rs constant CONTRACT_GET_CALLER (line 13) | const CONTRACT_GET_CALLER: &str = "get_caller.wasm"; constant CONTRACT_GET_CALLER_SUBCALL (line 14) | const CONTRACT_GET_CALLER_SUBCALL: &str = "get_caller_subcall.wasm"; constant CONTRACT_TRANSFER_PURSE_TO_ACCOUNT (line 15) | const CONTRACT_TRANSFER_PURSE_TO_ACCOUNT: &str = "transfer_purse_to_acco... constant LOAD_CALLER_INFORMATION (line 16) | const LOAD_CALLER_INFORMATION: &str = "load_caller_info.wasm"; constant ACCOUNT_1_ADDR (line 17) | const ACCOUNT_1_ADDR: AccountHash = AccountHash::new([1u8; 32]); constant LOAD_CALLER_INFO_HASH (line 18) | const LOAD_CALLER_INFO_HASH: &str = "load_caller_info_contract_hash"; constant LOAD_CALLER_INFO_PACKAGE_HASH (line 19) | const LOAD_CALLER_INFO_PACKAGE_HASH: &str = "load_caller_info_package"; function should_run_get_caller_contract (line 23) | fn should_run_get_caller_contract() { function should_run_get_caller_contract_other_account (line 40) | fn should_run_get_caller_contract_other_account() { function should_run_get_caller_subcall_contract (line 72) | fn should_run_get_caller_subcall_contract() { function should_load_caller_information_based_on_action (line 118) | fn should_load_caller_information_based_on_action() { FILE: execution_engine_testing/tests/src/test/contract_api/get_phase.rs constant ARG_PHASE (line 7) | const ARG_PHASE: &str = "phase"; constant ARG_AMOUNT (line 8) | const ARG_AMOUNT: &str = "amount"; function should_run_get_phase_contract (line 12) | fn should_run_get_phase_contract() { FILE: execution_engine_testing/tests/src/test/contract_api/list_authorization_keys.rs constant ARG_ACCOUNT (line 12) | const ARG_ACCOUNT: &str = "account"; constant ARG_WEIGHT (line 13) | const ARG_WEIGHT: &str = "weight"; constant DEFAULT_WEIGHT (line 14) | const DEFAULT_WEIGHT: Weight = Weight::new(1); constant CONTRACT_ADD_ASSOCIATED_KEY (line 16) | const CONTRACT_ADD_ASSOCIATED_KEY: &str = "add_associated_key.wasm"; constant CONTRACT_LIST_AUTHORIZATION_KEYS (line 18) | const CONTRACT_LIST_AUTHORIZATION_KEYS: &str = "list_authorization_keys.... constant ARG_EXPECTED_AUTHORIZATION_KEYS (line 19) | const ARG_EXPECTED_AUTHORIZATION_KEYS: &str = "expected_authorization_ke... constant USER_ERROR_ASSERTION (line 33) | const USER_ERROR_ASSERTION: u16 = 0; function should_list_authorization_keys (line 37) | fn should_list_authorization_keys() { function test_match (line 97) | fn test_match( function setup (line 130) | fn setup() -> LmdbWasmTestBuilder { FILE: execution_engine_testing/tests/src/test/contract_api/list_named_keys.rs constant CONTRACT_LIST_NAMED_KEYS (line 6) | const CONTRACT_LIST_NAMED_KEYS: &str = "list_named_keys.wasm"; constant NEW_NAME_ACCOUNT (line 7) | const NEW_NAME_ACCOUNT: &str = "Account"; constant NEW_NAME_HASH (line 8) | const NEW_NAME_HASH: &str = "Hash"; constant ARG_INITIAL_NAMED_KEYS (line 9) | const ARG_INITIAL_NAMED_KEYS: &str = "initial_named_args"; constant ARG_NEW_NAMED_KEYS (line 10) | const ARG_NEW_NAMED_KEYS: &str = "new_named_keys"; function should_list_named_keys (line 14) | fn should_list_named_keys() { FILE: execution_engine_testing/tests/src/test/contract_api/main_purse.rs constant CONTRACT_MAIN_PURSE (line 7) | const CONTRACT_MAIN_PURSE: &str = "main_purse.wasm"; constant CONTRACT_TRANSFER_PURSE_TO_ACCOUNT (line 8) | const CONTRACT_TRANSFER_PURSE_TO_ACCOUNT: &str = "transfer_purse_to_acco... constant ACCOUNT_1_ADDR (line 9) | const ACCOUNT_1_ADDR: AccountHash = AccountHash::new([1u8; 32]); constant ARG_TARGET (line 10) | const ARG_TARGET: &str = "target"; constant ARG_AMOUNT (line 11) | const ARG_AMOUNT: &str = "amount"; function should_run_main_purse_contract_default_account (line 15) | fn should_run_main_purse_contract_default_account() { function should_run_main_purse_contract_account_1 (line 36) | fn should_run_main_purse_contract_account_1() { FILE: execution_engine_testing/tests/src/test/contract_api/mint_purse.rs constant CONTRACT_MINT_PURSE (line 7) | const CONTRACT_MINT_PURSE: &str = "mint_purse.wasm"; constant CONTRACT_TRANSFER_TO_ACCOUNT (line 8) | const CONTRACT_TRANSFER_TO_ACCOUNT: &str = "transfer_to_account_u512.wasm"; constant TRANSFER_AMOUNT (line 9) | const TRANSFER_AMOUNT: u64 = MINIMUM_ACCOUNT_CREATION_BALANCE; function should_run_mint_purse_contract (line 13) | fn should_run_mint_purse_contract() { function should_not_allow_non_system_accounts_to_mint (line 34) | fn should_not_allow_non_system_accounts_to_mint() { FILE: execution_engine_testing/tests/src/test/contract_api/multisig_authorization.rs constant CONTRACT_ADD_ASSOCIATED_KEY (line 10) | const CONTRACT_ADD_ASSOCIATED_KEY: &str = "add_associated_key.wasm"; constant CONTRACT_MULTISIG_AUTHORIZATION (line 11) | const CONTRACT_MULTISIG_AUTHORIZATION: &str = "multisig_authorization.wa... constant CONTRACT_KEY (line 12) | const CONTRACT_KEY: &str = "contract"; constant ARG_AMOUNT (line 14) | const ARG_AMOUNT: &str = "amount"; constant ARG_ACCOUNT (line 15) | const ARG_ACCOUNT: &str = "account"; constant ARG_WEIGHT (line 16) | const ARG_WEIGHT: &str = "weight"; constant DEFAULT_WEIGHT (line 17) | const DEFAULT_WEIGHT: Weight = Weight::new(1); constant ENTRYPOINT_A (line 18) | const ENTRYPOINT_A: &str = "entrypoint_a"; constant ENTRYPOINT_B (line 19) | const ENTRYPOINT_B: &str = "entrypoint_b"; constant ROLE_A_KEYS (line 21) | const ROLE_A_KEYS: [AccountHash; 3] = [ constant ROLE_B_KEYS (line 27) | const ROLE_B_KEYS: [AccountHash; 3] = [ constant USER_ERROR_PERMISSION_DENIED (line 33) | const USER_ERROR_PERMISSION_DENIED: u16 = 0; function should_verify_multisig_authorization_key_roles (line 37) | fn should_verify_multisig_authorization_key_roles() { function test_multisig_auth (line 143) | fn test_multisig_auth( function setup (line 174) | fn setup() -> LmdbWasmTestBuilder { FILE: execution_engine_testing/tests/src/test/contract_api/named_dictionaries.rs function named_dictionaries_should_work_as_expected (line 9) | fn named_dictionaries_should_work_as_expected() { FILE: execution_engine_testing/tests/src/test/contract_api/recover_secp256k1.rs constant RECOVER_SECP256K1_WASM (line 9) | const RECOVER_SECP256K1_WASM: &str = "recover_secp256k1.wasm"; function should_recover_secp256k1 (line 13) | fn should_recover_secp256k1() { function should_fail_recover_secp256k1_recovery_id_out_of_range (line 49) | fn should_fail_recover_secp256k1_recovery_id_out_of_range() { function should_fail_recover_secp256k1_pk_mismatch (line 85) | fn should_fail_recover_secp256k1_pk_mismatch() { FILE: execution_engine_testing/tests/src/test/contract_api/revert.rs constant REVERT_WASM (line 6) | const REVERT_WASM: &str = "revert.wasm"; function should_revert (line 10) | fn should_revert() { FILE: execution_engine_testing/tests/src/test/contract_api/runtime.rs constant ARG_BYTES (line 16) | const ARG_BYTES: &str = "bytes"; constant ARG_AMOUNT (line 17) | const ARG_AMOUNT: &str = "amount"; constant BLAKE2B_WASM (line 19) | const BLAKE2B_WASM: &str = "blake2b.wasm"; constant HASH_RESULT (line 20) | const HASH_RESULT: &str = "hash_result"; constant RANDOM_BYTES_WASM (line 22) | const RANDOM_BYTES_WASM: &str = "random_bytes.wasm"; constant RANDOM_BYTES_RESULT (line 23) | const RANDOM_BYTES_RESULT: &str = "random_bytes_result"; constant RANDOM_BYTES_PAYMENT_WASM (line 25) | const RANDOM_BYTES_PAYMENT_WASM: &str = "random_bytes_payment.wasm"; constant RANDOM_BYTES_PAYMENT_RESULT (line 26) | const RANDOM_BYTES_PAYMENT_RESULT: &str = "random_bytes_payment_result"; function get_value (line 28) | fn get_value(builder: &LmdbWasmTestBuilder, result: ... function should_return_different_random_bytes_on_different_phases (line 46) | fn should_return_different_random_bytes_on_different_phases() { function should_return_different_random_bytes_on_each_call (line 78) | fn should_return_different_random_bytes_on_each_call() { function should_hash (line 106) | fn should_hash() { FILE: execution_engine_testing/tests/src/test/contract_api/subcall.rs constant ARG_TARGET (line 8) | const ARG_TARGET: &str = "target_contract"; constant ARG_GAS_AMOUNT (line 9) | const ARG_GAS_AMOUNT: &str = "gas_amount"; constant ARG_METHOD_NAME (line 10) | const ARG_METHOD_NAME: &str = "method_name"; function should_enforce_subcall_consumption (line 14) | fn should_enforce_subcall_consumption() { function should_add_all_gas_consumed_for_subcall (line 80) | fn should_add_all_gas_consumed_for_subcall() { function expensive_subcall_should_consume_more (line 166) | fn expensive_subcall_should_consume_more() { FILE: execution_engine_testing/tests/src/test/contract_api/transfer.rs constant CONTRACT_TRANSFER_PURSE_TO_ACCOUNT (line 17) | const CONTRACT_TRANSFER_PURSE_TO_ACCOUNT: &str = "transfer_purse_to_acco... constant CONTRACT_TRANSFER_TO_ACCOUNT (line 18) | const CONTRACT_TRANSFER_TO_ACCOUNT: &str = "transfer_to_account_u512.wasm"; constant CONTRACT_TRANSFER_TO_PUBLIC_KEY (line 19) | const CONTRACT_TRANSFER_TO_PUBLIC_KEY: &str = "transfer_to_public_key.wa... constant CONTRACT_TRANSFER_PURSE_TO_PUBLIC_KEY (line 20) | const CONTRACT_TRANSFER_PURSE_TO_PUBLIC_KEY: &str = "transfer_purse_to_p... constant CONTRACT_TRANSFER_TO_NAMED_PURSE (line 21) | const CONTRACT_TRANSFER_TO_NAMED_PURSE: &str = "transfer_to_named_purse.... constant ARG_TARGET (line 43) | const ARG_TARGET: &str = "target"; constant ARG_AMOUNT (line 44) | const ARG_AMOUNT: &str = "amount"; constant ARG_SOURCE_PURSE (line 45) | const ARG_SOURCE_PURSE: &str = "source_purse"; constant ARG_PURSE_NAME (line 46) | const ARG_PURSE_NAME: &str = "purse_name"; constant TEST_PURSE (line 47) | const TEST_PURSE: &str = "test_purse"; function should_transfer_to_account (line 51) | fn should_transfer_to_account() { function should_transfer_to_public_key (line 104) | fn should_transfer_to_public_key() { function should_transfer_from_purse_to_public_key (line 157) | fn should_transfer_from_purse_to_public_key() { function should_transfer_from_account_to_account (line 235) | fn should_transfer_from_account_to_account() { function should_transfer_to_existing_account (line 325) | fn should_transfer_to_existing_account() { function should_fail_when_insufficient_funds (line 425) | fn should_fail_when_insufficient_funds() { function should_transfer_total_amount (line 474) | fn should_transfer_total_amount() { FILE: execution_engine_testing/tests/src/test/contract_api/transfer_cached.rs constant TRANSFER_MOTES_AMOUNT (line 11) | const TRANSFER_MOTES_AMOUNT: u64 = 2_500_000_000; function should_transfer_to_account (line 29) | fn should_transfer_to_account() { function should_transfer_multiple_times (line 74) | fn should_transfer_multiple_times() { FILE: execution_engine_testing/tests/src/test/contract_api/verify_signature.rs constant VERIFY_SIGNATURE_WASM (line 10) | const VERIFY_SIGNATURE_WASM: &str = "verify_signature.wasm"; function should_verify_secp256k1_signature (line 14) | fn should_verify_secp256k1_signature() { function should_verify_ed25519_signature (line 48) | fn should_verify_ed25519_signature() { function should_fail_verify_secp256k1_signature (line 82) | fn should_fail_verify_secp256k1_signature() { function should_fail_verify_ed25519_signature (line 116) | fn should_fail_verify_ed25519_signature() { FILE: execution_engine_testing/tests/src/test/contract_context.rs constant CONTRACT_HEADERS (line 7) | const CONTRACT_HEADERS: &str = "contract_context.wasm"; constant PACKAGE_HASH_KEY (line 8) | const PACKAGE_HASH_KEY: &str = "package_hash_key"; constant PACKAGE_ACCESS_KEY (line 9) | const PACKAGE_ACCESS_KEY: &str = "package_access_key"; constant CONTRACT_HASH_KEY (line 10) | const CONTRACT_HASH_KEY: &str = "contract_hash_key"; constant CONTRACT_CODE_TEST (line 12) | const CONTRACT_CODE_TEST: &str = "contract_code_test"; constant NEW_KEY (line 14) | const NEW_KEY: &str = "new_key"; constant CONTRACT_VERSION (line 16) | const CONTRACT_VERSION: &str = "contract_version"; function should_enforce_intended_execution_contexts (line 20) | fn should_enforce_intended_execution_contexts() { function should_enforce_intended_execution_context_direct_by_name (line 78) | fn should_enforce_intended_execution_context_direct_by_name() { function should_enforce_intended_execution_context_direct_by_hash (line 121) | fn should_enforce_intended_execution_context_direct_by_hash() { FILE: execution_engine_testing/tests/src/test/contract_messages.rs constant MESSAGE_EMITTER_INSTALLER_WASM (line 21) | const MESSAGE_EMITTER_INSTALLER_WASM: &str = "contract_messages_emitter.... constant MESSAGE_EMITTER_UPGRADER_WASM (line 22) | const MESSAGE_EMITTER_UPGRADER_WASM: &str = "contract_messages_upgrader.... constant MESSAGE_EMITTER_FROM_ACCOUNT (line 23) | const MESSAGE_EMITTER_FROM_ACCOUNT: &str = "contract_messages_from_accou... constant MESSAGE_EMITTER_PACKAGE_HASH_KEY_NAME (line 24) | const MESSAGE_EMITTER_PACKAGE_HASH_KEY_NAME: &str = "messages_emitter_pa... constant MESSAGE_EMITTER_GENERIC_TOPIC (line 25) | const MESSAGE_EMITTER_GENERIC_TOPIC: &str = "generic_messages"; constant MESSAGE_EMITTER_UPGRADED_TOPIC (line 26) | const MESSAGE_EMITTER_UPGRADED_TOPIC: &str = "new_topic_after_upgrade"; constant ENTRY_POINT_EMIT_MESSAGE (line 27) | const ENTRY_POINT_EMIT_MESSAGE: &str = "emit_message"; constant ENTRY_POINT_EMIT_MULTIPLE_MESSAGES (line 28) | const ENTRY_POINT_EMIT_MULTIPLE_MESSAGES: &str = "emit_multiple_messages"; constant ENTRY_POINT_EMIT_MESSAGE_FROM_EACH_VERSION (line 29) | const ENTRY_POINT_EMIT_MESSAGE_FROM_EACH_VERSION: &str = "emit_message_f... constant ARG_NUM_MESSAGES_TO_EMIT (line 30) | const ARG_NUM_MESSAGES_TO_EMIT: &str = "num_messages_to_emit"; constant ARG_TOPIC_NAME (line 31) | const ARG_TOPIC_NAME: &str = "topic_name"; constant ENTRY_POINT_ADD_TOPIC (line 32) | const ENTRY_POINT_ADD_TOPIC: &str = "add_topic"; constant ARG_MESSAGE_SUFFIX_NAME (line 33) | const ARG_MESSAGE_SUFFIX_NAME: &str = "message_suffix"; constant ARG_REGISTER_DEFAULT_TOPIC_WITH_INIT (line 34) | const ARG_REGISTER_DEFAULT_TOPIC_WITH_INIT: &str = "register_default_top... constant EMITTER_MESSAGE_PREFIX (line 36) | const EMITTER_MESSAGE_PREFIX: &str = "generic message: "; constant EMIT_MESSAGE_FROM_EACH_VERSION_NUM_MESSAGES (line 39) | const EMIT_MESSAGE_FROM_EACH_VERSION_NUM_MESSAGES: u32 = 3; function install_messages_emitter_contract (line 41) | fn install_messages_emitter_contract( function upgrade_messages_emitter_contract (line 88) | fn upgrade_messages_emitter_contract( function emit_message_with_suffix (line 150) | fn emit_message_with_suffix( type ContractQueryView (line 174) | struct ContractQueryView<'a> { function new (line 180) | fn new( function message_topics (line 190) | fn message_topics(&self) -> MessageTopics { function message_topic (line 200) | fn message_topic(&self, topic_name_hash: TopicNameHash) -> MessageTopicS... function message_summary (line 225) | fn message_summary( function should_emit_messages (line 250) | fn should_emit_messages() { function should_emit_message_on_empty_topic_in_new_block (line 361) | fn should_emit_message_on_empty_topic_in_new_block() { function should_add_topics (line 400) | fn should_add_topics() { function should_not_add_duplicate_topics (line 458) | fn should_not_add_duplicate_topics() { function should_not_exceed_configured_limits (line 491) | fn should_not_exceed_configured_limits() { function should_carry_message_topics_on_upgraded_contract (line 606) | fn should_carry_message_topics_on_upgraded_contract(use_initializer: boo... function should_carry_message_topics_on_upgraded_contract_with_initializer (line 633) | fn should_carry_message_topics_on_upgraded_contract_with_initializer() { function should_carry_message_topics_on_upgraded_contract_without_initializer (line 639) | fn should_carry_message_topics_on_upgraded_contract_without_initializer() { function should_not_emit_messages_from_account (line 645) | fn should_not_emit_messages_from_account() { function should_charge_expected_gas_for_storage (line 669) | fn should_charge_expected_gas_for_storage() { function should_charge_increasing_gas_consumed_for_multiple_messages_emitted (line 777) | fn should_charge_increasing_gas_consumed_for_multiple_messages_emitted() { function should_register_topic_on_contract_creation (line 883) | fn should_register_topic_on_contract_creation() { function should_not_exceed_configured_topic_name_limits_on_contract_upgrade_no_init (line 910) | fn should_not_exceed_configured_topic_name_limits_on_contract_upgrade_no... function should_not_exceed_configured_max_topics_per_contract_upgrade_no_init (line 953) | fn should_not_exceed_configured_max_topics_per_contract_upgrade_no_init() { function should_produce_per_block_message_ordering (line 997) | fn should_produce_per_block_message_ordering() { function emit_message_should_consume_variable_gas_based_on_topic_and_message_size (line 1169) | fn emit_message_should_consume_variable_gas_based_on_topic_and_message_s... FILE: execution_engine_testing/tests/src/test/counter_factory.rs constant CONTRACT_COUNTER_FACTORY (line 13) | const CONTRACT_COUNTER_FACTORY: &str = "counter_factory.wasm"; constant CONTRACT_FACTORY_DEFAULT_ENTRY_POINT (line 14) | const CONTRACT_FACTORY_DEFAULT_ENTRY_POINT: &str = "contract_factory_def... constant CONTRACT_FACTORY_ENTRY_POINT (line 15) | const CONTRACT_FACTORY_ENTRY_POINT: &str = "contract_factory"; constant DECREASE_ENTRY_POINT (line 16) | const DECREASE_ENTRY_POINT: &str = "decrement"; constant INCREASE_ENTRY_POINT (line 17) | const INCREASE_ENTRY_POINT: &str = "increment"; constant ARG_INITIAL_VALUE (line 18) | const ARG_INITIAL_VALUE: &str = "initial_value"; constant ARG_NAME (line 19) | const ARG_NAME: &str = "name"; constant NEW_COUNTER_1_NAME (line 20) | const NEW_COUNTER_1_NAME: &str = "new-counter-1"; constant NEW_COUNTER_2_NAME (line 21) | const NEW_COUNTER_2_NAME: &str = "new-counter-2"; function should_not_call_undefined_entrypoints_on_factory (line 25) | fn should_not_call_undefined_entrypoints_on_factory() { function contract_factory_wasm_should_have_expected_exports (line 87) | fn contract_factory_wasm_should_have_expected_exports() { function should_install_and_use_factory_pattern (line 148) | fn should_install_and_use_factory_pattern() { function setup (line 262) | fn setup() -> (LmdbWasmTestBuilder, AddressableEntityHash) { FILE: execution_engine_testing/tests/src/test/deploy/context_association.rs constant SYSTEM_CONTRACT_HASHES_WASM (line 11) | const SYSTEM_CONTRACT_HASHES_WASM: &str = "system_contract_hashes.wasm"; constant ARG_AMOUNT (line 12) | const ARG_AMOUNT: &str = "amount"; function should_put_system_contract_hashes_to_account_context (line 16) | fn should_put_system_contract_hashes_to_account_context() { FILE: execution_engine_testing/tests/src/test/deploy/non_standard_payment.rs constant ACCOUNT_1_ADDR (line 13) | const ACCOUNT_1_ADDR: AccountHash = AccountHash::new([42u8; 32]); constant DO_NOTHING_WASM (line 14) | const DO_NOTHING_WASM: &str = "do_nothing.wasm"; constant CONTRACT_TRANSFER_TO_ACCOUNT (line 15) | const CONTRACT_TRANSFER_TO_ACCOUNT: &str = "transfer_to_account_u512.wasm"; constant TRANSFER_MAIN_PURSE_TO_NEW_PURSE_WASM (line 16) | const TRANSFER_MAIN_PURSE_TO_NEW_PURSE_WASM: &str = "transfer_main_purse... constant PAYMENT_PURSE_PERSIST_WASM (line 17) | const PAYMENT_PURSE_PERSIST_WASM: &str = "payment_purse_persist.wasm"; constant NAMED_PURSE_PAYMENT_WASM (line 18) | const NAMED_PURSE_PAYMENT_WASM: &str = "named_purse_payment.wasm"; constant ARG_TARGET (line 19) | const ARG_TARGET: &str = "target"; constant ARG_AMOUNT (line 20) | const ARG_AMOUNT: &str = "amount"; constant ARG_PURSE_NAME (line 21) | const ARG_PURSE_NAME: &str = "purse_name"; constant ARG_DESTINATION (line 22) | const ARG_DESTINATION: &str = "destination"; function should_charge_non_main_purse (line 26) | fn should_charge_non_main_purse() { constant ARG_METHOD (line 137) | const ARG_METHOD: &str = "method"; function should_not_allow_custom_payment_purse_persistence_1 (line 141) | fn should_not_allow_custom_payment_purse_persistence_1() { function should_not_allow_custom_payment_purse_persistence_2 (line 180) | fn should_not_allow_custom_payment_purse_persistence_2() { function should_not_allow_custom_payment_purse_persistence_3 (line 219) | fn should_not_allow_custom_payment_purse_persistence_3() { FILE: execution_engine_testing/tests/src/test/deploy/preconditions.rs constant ACCOUNT_1_ADDR (line 11) | const ACCOUNT_1_ADDR: AccountHash = AccountHash::new([42u8; 32]); constant ARG_AMOUNT (line 12) | const ARG_AMOUNT: &str = "amount"; function should_raise_precondition_authorization_failure_invalid_account (line 16) | fn should_raise_precondition_authorization_failure_invalid_account() { function should_raise_precondition_authorization_failure_empty_authorized_keys (line 55) | fn should_raise_precondition_authorization_failure_empty_authorized_keys... function should_raise_precondition_authorization_failure_invalid_authorized_keys (line 87) | fn should_raise_precondition_authorization_failure_invalid_authorized_ke... FILE: execution_engine_testing/tests/src/test/deploy/receipts.rs constant CONTRACT_TRANSFER_PURSE_TO_ACCOUNT (line 14) | const CONTRACT_TRANSFER_PURSE_TO_ACCOUNT: &str = "transfer_purse_to_acco... constant CONTRACT_TRANSFER_PURSE_TO_ACCOUNT_WITH_ID (line 15) | const CONTRACT_TRANSFER_PURSE_TO_ACCOUNT_WITH_ID: &str = "transfer_purse... constant TRANSFER_ARG_TARGET (line 16) | const TRANSFER_ARG_TARGET: &str = "target"; constant TRANSFER_ARG_AMOUNT (line 17) | const TRANSFER_ARG_AMOUNT: &str = "amount"; constant TRANSFER_ARG_ID (line 18) | const TRANSFER_ARG_ID: &str = "id"; constant CONTRACT_TRANSFER_PURSE_TO_ACCOUNTS (line 20) | const CONTRACT_TRANSFER_PURSE_TO_ACCOUNTS: &str = "transfer_purse_to_acc... constant TRANSFER_ARG_TARGETS (line 21) | const TRANSFER_ARG_TARGETS: &str = "targets"; constant CONTRACT_TRANSFER_PURSE_TO_ACCOUNTS_STORED (line 23) | const CONTRACT_TRANSFER_PURSE_TO_ACCOUNTS_STORED: &str = "transfer_purse... constant CONTRACT_TRANSFER_PURSE_TO_ACCOUNTS_SUBCALL (line 24) | const CONTRACT_TRANSFER_PURSE_TO_ACCOUNTS_SUBCALL: &str = "transfer_purs... constant HASH_KEY_NAME (line 26) | const HASH_KEY_NAME: &str = "transfer_purse_to_accounts_hash"; constant PURSE_NAME (line 27) | const PURSE_NAME: &str = "purse"; function should_record_wasmless_transfer (line 52) | fn should_record_wasmless_transfer() { function should_record_wasm_transfer (line 115) | fn should_record_wasm_transfer() { function should_record_wasm_transfer_with_id (line 179) | fn should_record_wasm_transfer_with_id() { function should_record_wasm_transfers (line 247) | fn should_record_wasm_transfers() { function should_record_wasm_transfers_with_subcall (line 386) | fn should_record_wasm_transfers_with_subcall() { FILE: execution_engine_testing/tests/src/test/deploy/stored_contracts.rs constant ACCOUNT_1_ADDR (line 13) | const ACCOUNT_1_ADDR: AccountHash = AccountHash::new([42u8; 32]); constant DEFAULT_ACTIVATION_POINT (line 14) | const DEFAULT_ACTIVATION_POINT: EraId = EraId::new(1); constant DO_NOTHING_NAME (line 15) | const DO_NOTHING_NAME: &str = "do_nothing"; constant DO_NOTHING_CONTRACT_PACKAGE_HASH_NAME (line 16) | const DO_NOTHING_CONTRACT_PACKAGE_HASH_NAME: &str = "do_nothing_package_... constant DO_NOTHING_CONTRACT_HASH_NAME (line 17) | const DO_NOTHING_CONTRACT_HASH_NAME: &str = "do_nothing_hash"; constant INITIAL_VERSION (line 18) | const INITIAL_VERSION: EntityVersion = ENTITY_INITIAL_VERSION; constant ENTRY_FUNCTION_NAME (line 19) | const ENTRY_FUNCTION_NAME: &str = "delegate"; constant PROTOCOL_VERSION (line 20) | const PROTOCOL_VERSION: ProtocolVersion = ProtocolVersion::V2_0_0; constant STORED_PAYMENT_CONTRACT_NAME (line 21) | const STORED_PAYMENT_CONTRACT_NAME: &str = "test_payment_stored.wasm"; constant STORED_PAYMENT_CONTRACT_HASH_NAME (line 22) | const STORED_PAYMENT_CONTRACT_HASH_NAME: &str = "test_payment_hash"; constant STORED_PAYMENT_CONTRACT_PACKAGE_HASH_NAME (line 23) | const STORED_PAYMENT_CONTRACT_PACKAGE_HASH_NAME: &str = "test_payment_pa... constant PAY_ENTRYPOINT (line 24) | const PAY_ENTRYPOINT: &str = "pay"; constant TRANSFER_PURSE_TO_ACCOUNT_CONTRACT_NAME (line 25) | const TRANSFER_PURSE_TO_ACCOUNT_CONTRACT_NAME: &str = "transfer_purse_to... constant ARG_TARGET (line 27) | const ARG_TARGET: &str = "target"; constant ARG_AMOUNT (line 28) | const ARG_AMOUNT: &str = "amount"; function make_upgrade_request (line 31) | fn make_upgrade_request(new_protocol_version: ProtocolVersion) -> Upgrad... function install_custom_payment (line 38) | fn install_custom_payment( function should_exec_non_stored_code (line 70) | fn should_exec_non_stored_code() { function should_fail_if_calling_non_existent_entry_point (line 127) | fn should_fail_if_calling_non_existent_entry_point() { function should_exec_stored_code_by_hash (line 183) | fn should_exec_stored_code_by_hash() { function should_not_transfer_above_balance_using_stored_payment_code_by_hash (line 229) | fn should_not_transfer_above_balance_using_stored_payment_code_by_hash() { function should_empty_account_using_stored_payment_code_by_hash (line 276) | fn should_empty_account_using_stored_payment_code_by_hash() { function should_exec_stored_code_by_named_hash (line 325) | fn should_exec_stored_code_by_named_hash() { function should_fail_session_stored_at_named_key_with_incompatible_major_version (line 371) | fn should_fail_session_stored_at_named_key_with_incompatible_major_versi... function should_execute_stored_payment_and_session_code_with_new_major_version (line 467) | fn should_execute_stored_payment_and_session_code_with_new_major_version... FILE: execution_engine_testing/tests/src/test/explorer/faucet.rs constant FAUCET_CALL_BY_USER_WITH_AUTHORIZED_ACCOUNT_SET (line 30) | const FAUCET_CALL_BY_USER_WITH_AUTHORIZED_ACCOUNT_SET: u16 = 25; function should_install_faucet_contract (line 34) | fn should_install_faucet_contract() { function should_allow_installer_to_set_variables (line 134) | fn should_allow_installer_to_set_variables() { function should_fund_new_account (line 225) | fn should_fund_new_account() { function should_fund_existing_account (line 290) | fn should_fund_existing_account() { function should_allow_installer_to_fund_freely (line 361) | fn should_allow_installer_to_fund_freely() { function should_not_fund_if_zero_distributions_per_interval (line 459) | fn should_not_fund_if_zero_distributions_per_interval() { function should_allow_funding_by_an_authorized_account (line 506) | fn should_allow_funding_by_an_authorized_account() { function faucet_costs (line 662) | fn faucet_costs() { FILE: execution_engine_testing/tests/src/test/explorer/faucet_test_helpers.rs type FundAccountRequestBuilder (line 21) | pub struct FundAccountRequestBuilder { method new (line 28) | pub fn new() -> Self { method with_target_account (line 32) | pub fn with_target_account(mut self, account_hash: AccountHash) -> Self { method with_fund_amount (line 37) | pub fn with_fund_amount(mut self, fund_amount: U512) -> Self { method with_fund_id (line 42) | pub fn with_fund_id(mut self, fund_id: Option) -> Self { method build (line 47) | pub fn build(&self) -> TransferRequest { method default (line 57) | fn default() -> Self { type FaucetInstallSessionRequestBuilder (line 67) | pub struct FaucetInstallSessionRequestBuilder { method new (line 75) | pub fn new() -> Self { method with_installer_account (line 79) | pub fn with_installer_account(mut self, installer_account: AccountHash... method with_faucet_installer_session (line 84) | pub fn with_faucet_installer_session(mut self, installer_session: &str... method with_faucet_id (line 89) | pub fn with_faucet_id(mut self, faucet_id: u64) -> Self { method with_faucet_fund_amount (line 94) | pub fn with_faucet_fund_amount(mut self, faucet_fund_amount: U512) -> ... method build (line 99) | pub fn build(&self) -> ExecuteRequest { method default (line 113) | fn default() -> Self { type FaucetConfigRequestBuilder (line 124) | pub struct FaucetConfigRequestBuilder { method with_installer_account (line 133) | pub fn with_installer_account(mut self, installer_account: AccountHash... method with_faucet_contract_hash (line 138) | pub fn with_faucet_contract_hash(mut self, contract_hash: AddressableE... method with_available_amount (line 143) | pub fn with_available_amount(mut self, available_amount: Option)... method with_time_interval (line 148) | pub fn with_time_interval(mut self, time_interval: Option) -> Self { method with_distributions_per_interval (line 153) | pub fn with_distributions_per_interval( method build (line 161) | pub fn build(&self) -> ExecuteRequest { method default (line 178) | fn default() -> Self { type FaucetAuthorizeAccountRequestBuilder (line 189) | pub struct FaucetAuthorizeAccountRequestBuilder { method new (line 196) | pub fn new() -> FaucetAuthorizeAccountRequestBuilder { method with_faucet_contract_hash (line 200) | pub fn with_faucet_contract_hash( method with_installer_account (line 208) | pub fn with_installer_account(mut self, installer_account: AccountHash... method with_authorized_user_public_key (line 213) | pub fn with_authorized_user_public_key( method build (line 221) | pub fn build(self) -> ExecuteRequest { method default (line 234) | fn default() -> Self { type FaucetCallerAccount (line 243) | enum FaucetCallerAccount { method account_hash (line 250) | pub fn account_hash(&self) -> AccountHash { type FaucetFundRequestBuilder (line 259) | pub struct FaucetFundRequestBuilder { method new (line 270) | pub fn new() -> Self { method with_installer_account (line 274) | pub fn with_installer_account(mut self, installer_account: AccountHash... method with_authorized_account (line 279) | pub fn with_authorized_account(mut self, authorized_account: AccountHa... method with_user_account (line 284) | pub fn with_user_account(mut self, user_account: AccountHash) -> Self { method with_arg_fund_amount (line 289) | pub fn with_arg_fund_amount(mut self, fund_amount: U512) -> Self { method with_arg_target (line 294) | pub fn with_arg_target(mut self, target: AccountHash) -> Self { method with_faucet_contract_hash (line 299) | pub fn with_faucet_contract_hash( method with_payment_amount (line 307) | pub fn with_payment_amount(mut self, payment_amount: U512) -> Self { method build (line 312) | pub fn build(self) -> ExecuteRequest { method default (line 348) | fn default() -> Self { function query_stored_value (line 361) | pub fn query_stored_value( function get_faucet_entity_hash (line 376) | pub fn get_faucet_entity_hash( function get_faucet_entity (line 391) | pub fn get_faucet_entity( function get_faucet_purse (line 403) | pub fn get_faucet_purse(builder: &LmdbWasmTestBuilder, installer_account... type FaucetDeployHelper (line 412) | pub struct FaucetDeployHelper { method new (line 430) | pub fn new() -> Self { method installer_account (line 434) | pub fn installer_account(&self) -> AccountHash { method with_installer_account (line 438) | pub fn with_installer_account(mut self, installer_account: AccountHash... method with_installer_fund_amount (line 443) | pub fn with_installer_fund_amount(mut self, installer_fund_amount: U51... method with_faucet_purse_fund_amount (line 448) | pub fn with_faucet_purse_fund_amount(mut self, faucet_purse_fund_amoun... method with_faucet_available_amount (line 453) | pub fn with_faucet_available_amount(mut self, available_amount: Option... method with_faucet_distributions_per_interval (line 458) | pub fn with_faucet_distributions_per_interval( method with_faucet_time_interval (line 466) | pub fn with_faucet_time_interval(mut self, time_interval_ms: Option URef { method query_faucet_purse_balance (line 485) | pub fn query_faucet_purse_balance(&self, builder: &LmdbWasmTestBuilder... method faucet_purse_fund_amount (line 490) | pub fn faucet_purse_fund_amount(&self) -> U512 { method faucet_contract_hash (line 494) | pub fn faucet_contract_hash(&self) -> Option { method faucet_distributions_per_interval (line 498) | pub fn faucet_distributions_per_interval(&self) -> Option { method faucet_time_interval (line 502) | pub fn faucet_time_interval(&self) -> Option { method fund_installer_request (line 506) | pub fn fund_installer_request(&self) -> TransferRequest { method faucet_install_request (line 514) | pub fn faucet_install_request(&self) -> ExecuteRequest { method faucet_config_request (line 524) | pub fn faucet_config_request(&self) -> ExecuteRequest { method new_faucet_fund_request_builder (line 537) | pub fn new_faucet_fund_request_builder(&self) -> FaucetFundRequestBuil... method new_faucet_authorize_account_request_builder (line 544) | pub fn new_faucet_authorize_account_request_builder( method default (line 555) | fn default() -> Self { FILE: execution_engine_testing/tests/src/test/explorer/mod.rs constant FAUCET_INSTALLER_SESSION (line 7) | pub const FAUCET_INSTALLER_SESSION: &str = "faucet_stored.wasm"; constant FAUCET_CONTRACT_NAMED_KEY (line 8) | pub const FAUCET_CONTRACT_NAMED_KEY: &str = "faucet"; constant INSTALLER_FUND_AMOUNT (line 9) | pub const INSTALLER_FUND_AMOUNT: u64 = 500_000_000_000_000; constant TWO_HOURS_AS_MILLIS (line 10) | pub const TWO_HOURS_AS_MILLIS: u64 = 7_200_000; constant FAUCET_ID (line 11) | pub const FAUCET_ID: u64 = 1337; constant INSTALLER_ACCOUNT (line 12) | pub const INSTALLER_ACCOUNT: AccountHash = AccountHash::new([1u8; 32]); constant FAUCET_FUND_AMOUNT (line 13) | pub const FAUCET_FUND_AMOUNT: u64 = 500_000u64; constant FAUCET_TIME_INTERVAL (line 14) | pub const FAUCET_TIME_INTERVAL: u64 = 10_000; constant ARG_TARGET (line 17) | pub const ARG_TARGET: &str = "target"; constant ARG_AMOUNT (line 18) | pub const ARG_AMOUNT: &str = "amount"; constant ARG_ID (line 19) | pub const ARG_ID: &str = "id"; constant ARG_AVAILABLE_AMOUNT (line 20) | pub const ARG_AVAILABLE_AMOUNT: &str = "available_amount"; constant ARG_TIME_INTERVAL (line 21) | pub const ARG_TIME_INTERVAL: &str = "time_interval"; constant ARG_DISTRIBUTIONS_PER_INTERVAL (line 22) | pub const ARG_DISTRIBUTIONS_PER_INTERVAL: &str = "distributions_per_inte... constant ENTRY_POINT_FAUCET (line 23) | pub const ENTRY_POINT_FAUCET: &str = "call_faucet"; constant ENTRY_POINT_SET_VARIABLES (line 24) | pub const ENTRY_POINT_SET_VARIABLES: &str = "set_variables"; constant ENTRY_POINT_AUTHORIZE_TO (line 25) | pub const ENTRY_POINT_AUTHORIZE_TO: &str = "authorize_to"; constant AVAILABLE_AMOUNT_NAMED_KEY (line 28) | pub const AVAILABLE_AMOUNT_NAMED_KEY: &str = "available_amount"; constant TIME_INTERVAL_NAMED_KEY (line 29) | pub const TIME_INTERVAL_NAMED_KEY: &str = "time_interval"; constant LAST_DISTRIBUTION_TIME_NAMED_KEY (line 30) | pub const LAST_DISTRIBUTION_TIME_NAMED_KEY: &str = "last_distribution_ti... constant FAUCET_PURSE_NAMED_KEY (line 31) | pub const FAUCET_PURSE_NAMED_KEY: &str = "faucet_purse"; constant INSTALLER_NAMED_KEY (line 32) | pub const INSTALLER_NAMED_KEY: &str = "installer"; constant DISTRIBUTIONS_PER_INTERVAL_NAMED_KEY (line 33) | pub const DISTRIBUTIONS_PER_INTERVAL_NAMED_KEY: &str = "distributions_pe... constant REMAINING_REQUESTS_NAMED_KEY (line 34) | pub const REMAINING_REQUESTS_NAMED_KEY: &str = "remaining_requests"; constant AUTHORIZED_ACCOUNT_NAMED_KEY (line 35) | pub const AUTHORIZED_ACCOUNT_NAMED_KEY: &str = "authorized_account"; FILE: execution_engine_testing/tests/src/test/get_balance.rs function get_balance_should_work (line 25) | fn get_balance_should_work() { function get_balance_using_public_key_should_work (line 122) | fn get_balance_using_public_key_should_work() { FILE: execution_engine_testing/tests/src/test/groups.rs constant CONTRACT_GROUPS (line 20) | const CONTRACT_GROUPS: &str = "groups.wasm"; constant PACKAGE_HASH_KEY (line 21) | const PACKAGE_HASH_KEY: &str = "package_hash_key"; constant PACKAGE_ACCESS_KEY (line 22) | const PACKAGE_ACCESS_KEY: &str = "package_access_key"; constant RESTRICTED_SESSION (line 23) | const RESTRICTED_SESSION: &str = "restricted_session"; constant RESTRICTED_CONTRACT (line 24) | const RESTRICTED_CONTRACT: &str = "restricted_contract"; constant RESTRICTED_SESSION_CALLER (line 25) | const RESTRICTED_SESSION_CALLER: &str = "restricted_session_caller"; constant UNRESTRICTED_CONTRACT_CALLER (line 26) | const UNRESTRICTED_CONTRACT_CALLER: &str = "unrestricted_contract_caller"; constant PACKAGE_HASH_ARG (line 27) | const PACKAGE_HASH_ARG: &str = "package_hash"; constant ACCOUNT_1_ADDR (line 28) | const ACCOUNT_1_ADDR: AccountHash = AccountHash::new([1u8; 32]); constant CONTRACT_TRANSFER_TO_ACCOUNT (line 29) | const CONTRACT_TRANSFER_TO_ACCOUNT: &str = "transfer_to_account_u512.wasm"; constant RESTRICTED_CONTRACT_CALLER_AS_SESSION (line 30) | const RESTRICTED_CONTRACT_CALLER_AS_SESSION: &str = "restricted_contract... constant UNCALLABLE_SESSION (line 31) | const UNCALLABLE_SESSION: &str = "uncallable_session"; constant UNCALLABLE_CONTRACT (line 32) | const UNCALLABLE_CONTRACT: &str = "uncallable_contract"; constant CALL_RESTRICTED_ENTRY_POINTS (line 33) | const CALL_RESTRICTED_ENTRY_POINTS: &str = "call_restricted_entry_points"; constant ARG_AMOUNT (line 34) | const ARG_AMOUNT: &str = "amount"; constant ARG_TARGET (line 35) | const ARG_TARGET: &str = "target"; function setup_from_lmdb_fixture (line 40) | fn setup_from_lmdb_fixture() -> LmdbWasmTestBuilder { function should_call_group_restricted_session (line 59) | fn should_call_group_restricted_session() { function should_call_group_restricted_session_caller (line 92) | fn should_call_group_restricted_session_caller() { function should_not_call_restricted_session_from_wrong_account (line 127) | fn should_not_call_restricted_session_from_wrong_account() { function should_not_call_restricted_session_caller_from_wrong_account (line 182) | fn should_not_call_restricted_session_caller_from_wrong_account() { function should_call_group_restricted_contract (line 246) | fn should_call_group_restricted_contract() { function should_not_call_group_restricted_contract_from_wrong_account (line 296) | fn should_not_call_group_restricted_contract_from_wrong_account() { function should_call_group_unrestricted_contract_caller (line 352) | fn should_call_group_unrestricted_contract_caller() { function should_call_unrestricted_contract_caller_from_different_account (line 399) | fn should_call_unrestricted_contract_caller_from_different_account() { function should_call_group_restricted_contract_as_session (line 444) | fn should_call_group_restricted_contract_as_session() { function should_call_group_restricted_contract_as_session_from_wrong_account (line 492) | fn should_call_group_restricted_contract_as_session_from_wrong_account() { function should_not_call_uncallable_contract_from_deploy (line 550) | fn should_not_call_uncallable_contract_from_deploy() { function should_not_call_uncallable_session_from_deploy (line 618) | fn should_not_call_uncallable_session_from_deploy() { function should_not_call_group_restricted_stored_payment_code_from_invalid_account (line 684) | fn should_not_call_group_restricted_stored_payment_code_from_invalid_acc... function should_call_group_restricted_stored_payment_code (line 746) | fn should_call_group_restricted_stored_payment_code() { FILE: execution_engine_testing/tests/src/test/host_function_costs.rs constant HOST_FUNCTION_COSTS_NAME (line 6) | const HOST_FUNCTION_COSTS_NAME: &str = "host_function_costs.wasm"; constant CONTRACT_KEY_NAME (line 7) | const CONTRACT_KEY_NAME: &str = "contract"; constant DO_NOTHING_NAME (line 9) | const DO_NOTHING_NAME: &str = "do_nothing"; constant DO_SOMETHING_NAME (line 10) | const DO_SOMETHING_NAME: &str = "do_something"; constant CALLS_DO_NOTHING_LEVEL1_NAME (line 11) | const CALLS_DO_NOTHING_LEVEL1_NAME: &str = "calls_do_nothing_level1"; constant CALLS_DO_NOTHING_LEVEL2_NAME (line 12) | const CALLS_DO_NOTHING_LEVEL2_NAME: &str = "calls_do_nothing_level2"; constant ARG_BYTES (line 13) | const ARG_BYTES: &str = "bytes"; constant ARG_SIZE_FUNCTION_CALL_1_NAME (line 14) | const ARG_SIZE_FUNCTION_CALL_1_NAME: &str = "arg_size_function_call_1"; constant ARG_SIZE_FUNCTION_CALL_100_NAME (line 15) | const ARG_SIZE_FUNCTION_CALL_100_NAME: &str = "arg_size_function_call_100"; function should_measure_gas_cost (line 19) | fn should_measure_gas_cost() { function should_measure_nested_host_function_call_cost (line 87) | fn should_measure_nested_host_function_call_cost() { function should_measure_argument_size_in_host_function_call (line 166) | fn should_measure_argument_size_in_host_function_call() { FILE: execution_engine_testing/tests/src/test/manage_groups.rs constant CONTRACT_GROUPS (line 16) | const CONTRACT_GROUPS: &str = "manage_groups.wasm"; constant PACKAGE_HASH_KEY (line 17) | const PACKAGE_HASH_KEY: &str = "package_hash_key"; constant PACKAGE_ACCESS_KEY (line 18) | const PACKAGE_ACCESS_KEY: &str = "package_access_key"; constant CREATE_GROUP (line 19) | const CREATE_GROUP: &str = "create_group"; constant REMOVE_GROUP (line 20) | const REMOVE_GROUP: &str = "remove_group"; constant EXTEND_GROUP_UREFS (line 21) | const EXTEND_GROUP_UREFS: &str = "extend_group_urefs"; constant REMOVE_GROUP_UREFS (line 22) | const REMOVE_GROUP_UREFS: &str = "remove_group_urefs"; constant GROUP_NAME_ARG (line 23) | const GROUP_NAME_ARG: &str = "group_name"; constant NEW_UREFS_COUNT (line 24) | const NEW_UREFS_COUNT: u64 = 3; constant GROUP_1_NAME (line 25) | const GROUP_1_NAME: &str = "Group 1"; constant TOTAL_NEW_UREFS_ARG (line 26) | const TOTAL_NEW_UREFS_ARG: &str = "total_new_urefs"; constant TOTAL_EXISTING_UREFS_ARG (line 27) | const TOTAL_EXISTING_UREFS_ARG: &str = "total_existing_urefs"; constant ARG_AMOUNT (line 28) | const ARG_AMOUNT: &str = "amount"; constant ARG_UREF_INDICES (line 29) | const ARG_UREF_INDICES: &str = "uref_indices"; function should_create_and_remove_group (line 41) | fn should_create_and_remove_group() { function should_create_and_extend_user_group (line 144) | fn should_create_and_extend_user_group() { function should_create_and_remove_urefs_from_group (line 252) | fn should_create_and_remove_urefs_from_group() { function should_limit_max_urefs_while_extending (line 358) | fn should_limit_max_urefs_while_extending() { FILE: execution_engine_testing/tests/src/test/private_chain.rs constant DEFAULT_VALIDATOR_BONDED_AMOUNT (line 33) | const DEFAULT_VALIDATOR_BONDED_AMOUNT: U512 = U512([u64::MAX, 0, 0, 0, 0... constant ADMIN_ACCOUNT_INITIAL_BALANCE (line 61) | const ADMIN_ACCOUNT_INITIAL_BALANCE: U512 = U512([100_000_000_000_000_00... constant PRIVATE_CHAIN_ALLOW_AUCTION_BIDS (line 63) | const PRIVATE_CHAIN_ALLOW_AUCTION_BIDS: bool = false; constant PRIVATE_CHAIN_ALLOW_UNRESTRICTED_TRANSFERS (line 64) | const PRIVATE_CHAIN_ALLOW_UNRESTRICTED_TRANSFERS: bool = false; constant PRIVATE_CHAIN_REFUND_HANDLING (line 131) | const PRIVATE_CHAIN_REFUND_HANDLING: RefundHandling = RefundHandling::Re... constant PRIVATE_CHAIN_FEE_HANDLING (line 134) | const PRIVATE_CHAIN_FEE_HANDLING: FeeHandling = FeeHandling::Accumulate; constant PRIVATE_CHAIN_COMPUTE_REWARDS (line 135) | const PRIVATE_CHAIN_COMPUTE_REWARDS: bool = false; function custom_setup_genesis_only (line 161) | fn custom_setup_genesis_only( function setup_genesis_only (line 181) | fn setup_genesis_only() -> LmdbWasmTestBuilder { function make_wasm_config (line 191) | fn make_wasm_config() -> WasmConfig { function make_private_chain_config (line 209) | fn make_private_chain_config( function private_chain_setup (line 236) | fn private_chain_setup() -> LmdbWasmTestBuilder { FILE: execution_engine_testing/tests/src/test/private_chain/fees_accumulation.rs constant OLD_PROTOCOL_VERSION (line 19) | const OLD_PROTOCOL_VERSION: ProtocolVersion = DEFAULT_PROTOCOL_VERSION; constant NEW_PROTOCOL_VERSION (line 20) | const NEW_PROTOCOL_VERSION: ProtocolVersion = ProtocolVersion::from_parts( function default_genesis_config_should_not_have_rewards_purse (line 28) | fn default_genesis_config_should_not_have_rewards_purse() { function should_finalize_and_accumulate_rewards_purse (line 45) | fn should_finalize_and_accumulate_rewards_purse() { function should_accumulate_deploy_fees (line 82) | fn should_accumulate_deploy_fees() { function should_distribute_accumulated_fees_to_admins (line 145) | fn should_distribute_accumulated_fees_to_admins() { function should_accumulate_fees_after_upgrade (line 206) | fn should_accumulate_fees_after_upgrade() { FILE: execution_engine_testing/tests/src/test/private_chain/management.rs constant ADD_ASSOCIATED_KEY_CONTRACT (line 40) | const ADD_ASSOCIATED_KEY_CONTRACT: &str = "add_associated_key.wasm"; constant REMOVE_ASSOCIATED_KEY_CONTRACT (line 41) | const REMOVE_ASSOCIATED_KEY_CONTRACT: &str = "remove_associated_key.wasm"; constant SET_ACTION_THRESHOLDS_CONTRACT (line 42) | const SET_ACTION_THRESHOLDS_CONTRACT: &str = "set_action_thresholds.wasm"; constant UPDATE_ASSOCIATED_KEY_CONTRACT (line 43) | const UPDATE_ASSOCIATED_KEY_CONTRACT: &str = "update_associated_key.wasm"; constant DISABLE_CONTRACT (line 44) | const DISABLE_CONTRACT: &str = "disable_contract.wasm"; constant ENABLE_CONTRACT (line 45) | const ENABLE_CONTRACT: &str = "enable_contract.wasm"; constant TRANSFER_TO_ACCOUNT_CONTRACT (line 46) | const TRANSFER_TO_ACCOUNT_CONTRACT: &&str = &"transfer_to_account.wasm"; constant ARG_CONTRACT_PACKAGE_HASH (line 47) | const ARG_CONTRACT_PACKAGE_HASH: &str = "contract_package_hash"; constant ARG_CONTRACT_HASH (line 48) | const ARG_CONTRACT_HASH: &str = "contract_hash"; constant ARG_ACCOUNT (line 50) | const ARG_ACCOUNT: &str = "account"; constant ARG_WEIGHT (line 51) | const ARG_WEIGHT: &str = "weight"; constant ARG_KEY_MANAGEMENT_THRESHOLD (line 53) | const ARG_KEY_MANAGEMENT_THRESHOLD: &str = "key_management_threshold"; constant ARG_DEPLOY_THRESHOLD (line 54) | const ARG_DEPLOY_THRESHOLD: &str = "deploy_threshold"; constant DO_NOTHING_HASH_NAME (line 55) | const DO_NOTHING_HASH_NAME: &str = "do_nothing_hash"; constant DO_NOTHING_STORED_CONTRACT (line 57) | const DO_NOTHING_STORED_CONTRACT: &str = "do_nothing_stored.wasm"; constant CALL_CONTRACT_PROXY (line 58) | const CALL_CONTRACT_PROXY: &str = "call_contract.wasm"; constant DELEGATE_ENTRYPOINT (line 59) | const DELEGATE_ENTRYPOINT: &str = "delegate"; constant TEST_PAYMENT_STORED_CONTRACT (line 61) | const TEST_PAYMENT_STORED_CONTRACT: &str = "test_payment_stored.wasm"; constant TEST_PAYMENT_STORED_HASH_NAME (line 62) | const TEST_PAYMENT_STORED_HASH_NAME: &str = "test_payment_hash"; constant PAY_ENTRYPOINT (line 63) | const PAY_ENTRYPOINT: &str = "pay"; function should_not_run_genesis_with_duplicated_administrator_accounts (line 68) | fn should_not_run_genesis_with_duplicated_administrator_accounts() { function genesis_accounts_should_not_update_key_weight (line 119) | fn genesis_accounts_should_not_update_key_weight() { function genesis_accounts_should_not_modify_action_thresholds (line 165) | fn genesis_accounts_should_not_modify_action_thresholds() { function genesis_accounts_should_not_add_associated_keys (line 195) | fn genesis_accounts_should_not_add_associated_keys() { function genesis_accounts_should_not_remove_associated_keys (line 224) | fn genesis_accounts_should_not_remove_associated_keys() { function administrator_account_should_disable_any_account (line 284) | fn administrator_account_should_disable_any_account() { function native_transfer_should_create_new_private_account (line 406) | fn native_transfer_should_create_new_private_account() { function wasm_transfer_should_create_new_private_account (line 425) | fn wasm_transfer_should_create_new_private_account() { function administrator_account_should_disable_any_contract_used_as_session (line 449) | fn administrator_account_should_disable_any_contract_used_as_session() { function administrator_account_should_disable_any_contract_used_as_payment (line 642) | fn administrator_account_should_disable_any_contract_used_as_payment() { function should_not_allow_add_bid_on_private_chain (line 837) | fn should_not_allow_add_bid_on_private_chain() { function should_not_allow_delegate_on_private_chain (line 867) | fn should_not_allow_delegate_on_private_chain() { function make_call_contract_session_request (line 896) | fn make_call_contract_session_request( FILE: execution_engine_testing/tests/src/test/private_chain/restricted_auction.rs function should_not_distribute_rewards_but_compute_next_set (line 12) | fn should_not_distribute_rewards_but_compute_next_set() { FILE: execution_engine_testing/tests/src/test/private_chain/unrestricted_transfers.rs constant TRANSFER_TO_ACCOUNT_U512_CONTRACT (line 18) | const TRANSFER_TO_ACCOUNT_U512_CONTRACT: &str = "transfer_to_account_u51... constant TRANSFER_TO_NAMED_PURSE_CONTRACT (line 19) | const TRANSFER_TO_NAMED_PURSE_CONTRACT: &str = "transfer_to_named_purse.... constant TEST_PURSE (line 21) | const TEST_PURSE: &str = "test"; constant ARG_PURSE_NAME (line 22) | const ARG_PURSE_NAME: &str = "purse_name"; constant ARG_AMOUNT (line 23) | const ARG_AMOUNT: &str = "amount"; constant TEST_PAYMENT_STORED_CONTRACT (line 25) | const TEST_PAYMENT_STORED_CONTRACT: &str = "test_payment_stored.wasm"; constant TEST_PAYMENT_STORED_HASH_NAME (line 26) | const TEST_PAYMENT_STORED_HASH_NAME: &str = "test_payment_hash"; function should_restrict_native_transfer_to_from_non_administrators (line 30) | fn should_restrict_native_transfer_to_from_non_administrators() { function should_restrict_wasm_transfer_to_from_non_administrators (line 75) | fn should_restrict_wasm_transfer_to_from_non_administrators() { function should_noop_self_transfer (line 127) | fn should_noop_self_transfer() { function should_allow_admin_to_native_transfer_from_own_purse (line 190) | fn should_allow_admin_to_native_transfer_from_own_purse() { function should_not_allow_wasm_transfer_from_non_administrator_to_misc_purse (line 253) | fn should_not_allow_wasm_transfer_from_non_administrator_to_misc_purse() { function should_allow_wasm_transfer_from_administrator (line 280) | fn should_allow_wasm_transfer_from_administrator() { function should_not_allow_native_transfer_from_non_administrator_to_misc_purse (line 298) | fn should_not_allow_native_transfer_from_non_administrator_to_misc_purse... function should_allow_native_transfer_to_administrator_from_misc_purse (line 346) | fn should_allow_native_transfer_to_administrator_from_misc_purse() { function should_not_allow_wasm_transfer_from_non_administrator_to_known_purse (line 384) | fn should_not_allow_wasm_transfer_from_non_administrator_to_known_purse() { function should_not_allow_payment_to_purse_in_stored_payment (line 424) | fn should_not_allow_payment_to_purse_in_stored_payment() { function should_not_allow_direct_mint_transfer_with_system_addr_specified (line 471) | fn should_not_allow_direct_mint_transfer_with_system_addr_specified() { function should_not_allow_direct_mint_transfer_with_an_admin_in_to_field (line 499) | fn should_not_allow_direct_mint_transfer_with_an_admin_in_to_field() { function should_allow_mint_transfer_without_to_field_from_admin (line 527) | fn should_allow_mint_transfer_without_to_field_from_admin() { function should_not_allow_transfer_without_to_field_from_non_admin (line 548) | fn should_not_allow_transfer_without_to_field_from_non_admin() { FILE: execution_engine_testing/tests/src/test/regression/ee_1045.rs constant CONTRACT_TRANSFER_TO_ACCOUNT (line 16) | const CONTRACT_TRANSFER_TO_ACCOUNT: &str = "transfer_to_account_u512.wasm"; constant ARG_AMOUNT (line 18) | const ARG_AMOUNT: &str = "amount"; constant TRANSFER_AMOUNT (line 20) | const TRANSFER_AMOUNT: u64 = MINIMUM_ACCOUNT_CREATION_BALANCE + 1000; constant ACCOUNT_1_BALANCE (line 26) | const ACCOUNT_1_BALANCE: u64 = MINIMUM_ACCOUNT_CREATION_BALANCE; constant ACCOUNT_1_BOND (line 27) | const ACCOUNT_1_BOND: u64 = 100_000; constant ACCOUNT_2_BALANCE (line 33) | const ACCOUNT_2_BALANCE: u64 = MINIMUM_ACCOUNT_CREATION_BALANCE; constant ACCOUNT_2_BOND (line 34) | const ACCOUNT_2_BOND: u64 = 200_000; constant ACCOUNT_3_BALANCE (line 40) | const ACCOUNT_3_BALANCE: u64 = MINIMUM_ACCOUNT_CREATION_BALANCE; constant ACCOUNT_3_BOND (line 41) | const ACCOUNT_3_BOND: u64 = 200_000; constant ACCOUNT_4_BALANCE (line 47) | const ACCOUNT_4_BALANCE: u64 = MINIMUM_ACCOUNT_CREATION_BALANCE; constant ACCOUNT_4_BOND (line 48) | const ACCOUNT_4_BOND: u64 = 200_000; function should_run_ee_1045_squash_validators (line 52) | fn should_run_ee_1045_squash_validators() { FILE: execution_engine_testing/tests/src/test/regression/ee_1071.rs constant CONTRACT_EE_1071_REGRESSION (line 6) | const CONTRACT_EE_1071_REGRESSION: &str = "ee_1071_regression.wasm"; constant CONTRACT_HASH_NAME (line 7) | const CONTRACT_HASH_NAME: &str = "contract"; constant NEW_UREF_ENTRYPOINT (line 8) | const NEW_UREF_ENTRYPOINT: &str = "new_uref"; function should_run_ee_1071_regression (line 12) | fn should_run_ee_1071_regression() { FILE: execution_engine_testing/tests/src/test/regression/ee_1103.rs constant ARG_TARGET (line 16) | const ARG_TARGET: &str = "target"; constant ARG_AMOUNT (line 17) | const ARG_AMOUNT: &str = "amount"; constant CONTRACT_TRANSFER_TO_ACCOUNT (line 19) | const CONTRACT_TRANSFER_TO_ACCOUNT: &str = "transfer_to_account_u512.wasm"; constant CONTRACT_DELEGATE (line 20) | const CONTRACT_DELEGATE: &str = "delegate.wasm"; constant TRANSFER_AMOUNT (line 21) | const TRANSFER_AMOUNT: u64 = MINIMUM_ACCOUNT_CREATION_BALANCE; function validator_scores_should_reflect_delegates (line 75) | fn validator_scores_should_reflect_delegates() { FILE: execution_engine_testing/tests/src/test/regression/ee_1119.rs constant CONTRACT_TRANSFER_TO_ACCOUNT (line 23) | const CONTRACT_TRANSFER_TO_ACCOUNT: &str = "transfer_to_account_u512.wasm"; constant CONTRACT_WITHDRAW_BID (line 24) | const CONTRACT_WITHDRAW_BID: &str = "withdraw_bid.wasm"; constant CONTRACT_DELEGATE (line 25) | const CONTRACT_DELEGATE: &str = "delegate.wasm"; constant CONTRACT_UNDELEGATE (line 26) | const CONTRACT_UNDELEGATE: &str = "undelegate.wasm"; constant DELEGATE_AMOUNT_1 (line 28) | const DELEGATE_AMOUNT_1: u64 = 95_000 + DEFAULT_MINIMUM_DELEGATION_AMOUNT; constant UNDELEGATE_AMOUNT_1 (line 29) | const UNDELEGATE_AMOUNT_1: u64 = 17_000; constant TRANSFER_AMOUNT (line 31) | const TRANSFER_AMOUNT: u64 = MINIMUM_ACCOUNT_CREATION_BALANCE; constant ARG_AMOUNT (line 33) | const ARG_AMOUNT: &str = "amount"; constant ARG_PUBLIC_KEY (line 34) | const ARG_PUBLIC_KEY: &str = "public_key"; constant VALIDATOR_1_STAKE (line 41) | const VALIDATOR_1_STAKE: u64 = 250_000; constant VESTING_WEEKS (line 43) | const VESTING_WEEKS: u64 = 14; function should_slash_validator_and_their_delegators (line 47) | fn should_slash_validator_and_their_delegators() { FILE: execution_engine_testing/tests/src/test/regression/ee_1120.rs constant CONTRACT_TRANSFER_TO_ACCOUNT (line 21) | const CONTRACT_TRANSFER_TO_ACCOUNT: &str = "transfer_to_account_u512.wasm"; constant CONTRACT_DELEGATE (line 22) | const CONTRACT_DELEGATE: &str = "delegate.wasm"; constant CONTRACT_UNDELEGATE (line 23) | const CONTRACT_UNDELEGATE: &str = "undelegate.wasm"; constant DELEGATE_AMOUNT_1 (line 25) | const DELEGATE_AMOUNT_1: u64 = 1 + DEFAULT_MINIMUM_DELEGATION_AMOUNT; constant DELEGATE_AMOUNT_2 (line 26) | const DELEGATE_AMOUNT_2: u64 = 2 + DEFAULT_MINIMUM_DELEGATION_AMOUNT; constant DELEGATE_AMOUNT_3 (line 27) | const DELEGATE_AMOUNT_3: u64 = 3 + DEFAULT_MINIMUM_DELEGATION_AMOUNT; constant UNDELEGATE_AMOUNT_1 (line 28) | const UNDELEGATE_AMOUNT_1: u64 = 1; constant UNDELEGATE_AMOUNT_2 (line 29) | const UNDELEGATE_AMOUNT_2: u64 = 2; constant UNDELEGATE_AMOUNT_3 (line 30) | const UNDELEGATE_AMOUNT_3: u64 = 3; constant TRANSFER_AMOUNT (line 32) | const TRANSFER_AMOUNT: u64 = MINIMUM_ACCOUNT_CREATION_BALANCE; constant ARG_AMOUNT (line 34) | const ARG_AMOUNT: &str = "amount"; constant VALIDATOR_1_STAKE (line 52) | const VALIDATOR_1_STAKE: u64 = 250_000; constant VALIDATOR_2_STAKE (line 53) | const VALIDATOR_2_STAKE: u64 = 350_000; function should_run_ee_1120_slash_delegators (line 57) | fn should_run_ee_1120_slash_delegators() { FILE: execution_engine_testing/tests/src/test/regression/ee_1129.rs constant ENTRY_POINT_NAME (line 25) | const ENTRY_POINT_NAME: &str = "create_purse"; constant CONTRACT_KEY (line 26) | const CONTRACT_KEY: &str = "contract"; constant ACCESS_KEY (line 27) | const ACCESS_KEY: &str = "access"; constant CONTRACT_EE_1129_REGRESSION (line 29) | const CONTRACT_EE_1129_REGRESSION: &str = "ee_1129_regression.wasm"; constant ARG_AMOUNT (line 30) | const ARG_AMOUNT: &str = "amount"; constant VALIDATOR_1_STAKE (line 37) | const VALIDATOR_1_STAKE: u64 = 250_000; function should_run_ee_1129_underfunded_delegate_call (line 45) | fn should_run_ee_1129_underfunded_delegate_call() { function should_run_ee_1129_underfunded_add_bid_call (line 111) | fn should_run_ee_1129_underfunded_add_bid_call() { function should_run_ee_1129_underfunded_mint_contract_call (line 172) | fn should_run_ee_1129_underfunded_mint_contract_call() { function should_not_panic_when_calling_session_contract_by_uref (line 216) | fn should_not_panic_when_calling_session_contract_by_uref() { function should_not_panic_when_calling_payment_contract_by_uref (line 260) | fn should_not_panic_when_calling_payment_contract_by_uref() { function should_not_panic_when_calling_contract_package_by_uref (line 302) | fn should_not_panic_when_calling_contract_package_by_uref() { function should_not_panic_when_calling_payment_versioned_contract_by_uref (line 351) | fn should_not_panic_when_calling_payment_versioned_contract_by_uref() { function do_nothing_without_memory (line 395) | fn do_nothing_without_memory() -> Vec { function should_not_panic_when_calling_module_without_memory (line 414) | fn should_not_panic_when_calling_module_without_memory() { FILE: execution_engine_testing/tests/src/test/regression/ee_1152.rs constant CONTRACT_TRANSFER_TO_ACCOUNT (line 18) | const CONTRACT_TRANSFER_TO_ACCOUNT: &str = "transfer_to_account_u512.wasm"; constant ARG_AMOUNT (line 19) | const ARG_AMOUNT: &str = "amount"; constant ARG_TARGET (line 20) | const ARG_TARGET: &str = "target"; constant VALIDATOR_STAKE (line 31) | const VALIDATOR_STAKE: u64 = 1_000_000_000; constant DELEGATE_AMOUNT (line 32) | const DELEGATE_AMOUNT: u64 = 1_234_567 + DEFAULT_MINIMUM_DELEGATION_AMOUNT; function should_run_ee_1152_regression_test (line 36) | fn should_run_ee_1152_regression_test() { FILE: execution_engine_testing/tests/src/test/regression/ee_1160.rs constant ACCOUNT_1_ADDR (line 7) | const ACCOUNT_1_ADDR: AccountHash = AccountHash::new([1u8; 32]); function ee_1160_wasmless_transfer_should_empty_account (line 11) | fn ee_1160_wasmless_transfer_should_empty_account() { function ee_1160_transfer_larger_than_balance_should_fail (line 45) | fn ee_1160_transfer_larger_than_balance_should_fail() { function ee_1160_large_wasmless_transfer_should_avoid_overflow (line 72) | fn ee_1160_large_wasmless_transfer_should_avoid_overflow() { FILE: execution_engine_testing/tests/src/test/regression/ee_1163.rs constant ACCOUNT_1_ADDR (line 11) | const ACCOUNT_1_ADDR: AccountHash = AccountHash::new([1u8; 32]); function setup (line 13) | fn setup() -> LmdbWasmTestBuilder { function should_enforce_limit_for_user_error (line 19) | fn should_enforce_limit_for_user_error( function should_enforce_system_host_gas_limit (line 50) | fn should_enforce_system_host_gas_limit() { function should_detect_wasmless_transfer_missing_args (line 89) | fn should_detect_wasmless_transfer_missing_args() { function should_detect_wasmless_transfer_invalid_purse (line 106) | fn should_detect_wasmless_transfer_invalid_purse() { FILE: execution_engine_testing/tests/src/test/regression/ee_1174.rs constant LARGE_DELEGATION_RATE (line 16) | const LARGE_DELEGATION_RATE: DelegationRate = 101; function should_run_ee_1174_delegation_rate_too_high (line 20) | fn should_run_ee_1174_delegation_rate_too_high() { FILE: execution_engine_testing/tests/src/test/regression/ee_1217.rs constant CONTRACT_REGRESSION (line 14) | const CONTRACT_REGRESSION: &str = "ee_1217_regression.wasm"; constant CONTRACT_ADD_BID (line 15) | const CONTRACT_ADD_BID: &str = "add_bid.wasm"; constant CONTRACT_WITHDRAW_BID (line 16) | const CONTRACT_WITHDRAW_BID: &str = "withdraw_bid.wasm"; constant PACKAGE_NAME (line 18) | const PACKAGE_NAME: &str = "call_auction"; constant CONTRACT_ADD_BID_ENTRYPOINT_SESSION (line 19) | const CONTRACT_ADD_BID_ENTRYPOINT_SESSION: &str = "add_bid_session"; constant CONTRACT_ADD_BID_ENTRYPOINT_CONTRACT (line 20) | const CONTRACT_ADD_BID_ENTRYPOINT_CONTRACT: &str = "add_bid_contract"; constant CONTRACT_WITHDRAW_BID_ENTRYPOINT_SESSION (line 21) | const CONTRACT_WITHDRAW_BID_ENTRYPOINT_SESSION: &str = "withdraw_bid_ses... constant CONTRACT_WITHDRAW_BID_ENTRYPOINT_CONTRACT (line 22) | const CONTRACT_WITHDRAW_BID_ENTRYPOINT_CONTRACT: &str = "withdraw_bid_co... constant CONTRACT_DELEGATE_ENTRYPOINT_SESSION (line 23) | const CONTRACT_DELEGATE_ENTRYPOINT_SESSION: &str = "delegate_session"; constant CONTRACT_DELEGATE_ENTRYPOINT_CONTRACT (line 24) | const CONTRACT_DELEGATE_ENTRYPOINT_CONTRACT: &str = "delegate_contract"; constant CONTRACT_UNDELEGATE_ENTRYPOINT_SESSION (line 25) | const CONTRACT_UNDELEGATE_ENTRYPOINT_SESSION: &str = "undelegate_session"; constant CONTRACT_UNDELEGATE_ENTRYPOINT_CONTRACT (line 26) | const CONTRACT_UNDELEGATE_ENTRYPOINT_CONTRACT: &str = "undelegate_contra... constant CONTRACT_ACTIVATE_BID_ENTRYPOINT_CONTRACT (line 27) | const CONTRACT_ACTIVATE_BID_ENTRYPOINT_CONTRACT: &str = "activate_bid_co... constant CONTRACT_ACTIVATE_BID_ENTRYPOINT_SESSION (line 28) | const CONTRACT_ACTIVATE_BID_ENTRYPOINT_SESSION: &str = "activate_bid_ses... function should_fail_to_add_bid_from_stored_session_code (line 37) | fn should_fail_to_add_bid_from_stored_session_code() { function should_fail_to_add_bid_from_stored_contract_code (line 79) | fn should_fail_to_add_bid_from_stored_contract_code() { function should_fail_to_withdraw_bid_from_stored_session_code (line 121) | fn should_fail_to_withdraw_bid_from_stored_session_code() { function should_fail_to_withdraw_bid_from_stored_contract_code (line 176) | fn should_fail_to_withdraw_bid_from_stored_contract_code() { function should_fail_to_delegate_from_stored_session_code (line 231) | fn should_fail_to_delegate_from_stored_session_code() { function should_fail_to_delegate_from_stored_contract_code (line 311) | fn should_fail_to_delegate_from_stored_contract_code() { function should_fail_to_undelegate_from_stored_session_code (line 391) | fn should_fail_to_undelegate_from_stored_session_code() { function should_fail_to_undelegate_from_stored_contract_code (line 485) | fn should_fail_to_undelegate_from_stored_contract_code() { function should_fail_to_activate_bid_from_stored_session_code (line 579) | fn should_fail_to_activate_bid_from_stored_session_code() { function should_fail_to_activate_bid_from_stored_contract_code (line 645) | fn should_fail_to_activate_bid_from_stored_contract_code() { FILE: execution_engine_testing/tests/src/test/regression/ee_1225.rs constant ARG_AMOUNT (line 8) | const ARG_AMOUNT: &str = "amount"; constant EE_1225_REGRESSION_CONTRACT (line 9) | const EE_1225_REGRESSION_CONTRACT: &str = "ee_1225_regression.wasm"; constant DO_NOTHING_CONTRACT (line 10) | const DO_NOTHING_CONTRACT: &str = "do_nothing.wasm"; function should_run_ee_1225_verify_finalize_payment_invariants (line 16) | fn should_run_ee_1225_verify_finalize_payment_invariants() { FILE: execution_engine_testing/tests/src/test/regression/ee_221.rs constant CONTRACT_EE_221_REGRESSION (line 6) | const CONTRACT_EE_221_REGRESSION: &str = "ee_221_regression.wasm"; function should_run_ee_221_get_uref_regression_test (line 10) | fn should_run_ee_221_get_uref_regression_test() { FILE: execution_engine_testing/tests/src/test/regression/ee_401.rs constant CONTRACT_EE_401_REGRESSION (line 6) | const CONTRACT_EE_401_REGRESSION: &str = "ee_401_regression.wasm"; constant CONTRACT_EE_401_REGRESSION_CALL (line 7) | const CONTRACT_EE_401_REGRESSION_CALL: &str = "ee_401_regression_call.wa... function should_execute_contracts_which_provide_extra_urefs (line 11) | fn should_execute_contracts_which_provide_extra_urefs() { FILE: execution_engine_testing/tests/src/test/regression/ee_441.rs constant EE_441_RNG_STATE (line 7) | const EE_441_RNG_STATE: &str = "ee_441_rng_state.wasm"; function get_uref (line 9) | fn get_uref(key: Key) -> URef { function do_pass (line 16) | fn do_pass(pass: &str) -> (URef, URef) { function should_properly_pass_rng_state_to_subcontracts (line 52) | fn should_properly_pass_rng_state_to_subcontracts() { FILE: execution_engine_testing/tests/src/test/regression/ee_460.rs constant CONTRACT_EE_460_REGRESSION (line 8) | const CONTRACT_EE_460_REGRESSION: &str = "ee_460_regression.wasm"; constant ARG_AMOUNT (line 10) | const ARG_AMOUNT: &str = "amount"; function should_run_ee_460_no_side_effects_on_error_regression (line 14) | fn should_run_ee_460_no_side_effects_on_error_regression() { FILE: execution_engine_testing/tests/src/test/regression/ee_468.rs constant CONTRACT_DESERIALIZE_ERROR (line 7) | const CONTRACT_DESERIALIZE_ERROR: &str = "deserialize_error.wasm"; function should_not_fail_deserializing (line 11) | fn should_not_fail_deserializing() { FILE: execution_engine_testing/tests/src/test/regression/ee_470.rs constant CONTRACT_DO_NOTHING (line 15) | const CONTRACT_DO_NOTHING: &str = "do_nothing.wasm"; function regression_test_genesis_hash_mismatch (line 19) | fn regression_test_genesis_hash_mismatch() { FILE: execution_engine_testing/tests/src/test/regression/ee_532.rs constant CONTRACT_EE_532_REGRESSION (line 8) | const CONTRACT_EE_532_REGRESSION: &str = "ee_532_regression.wasm"; constant UNKNOWN_ADDR (line 9) | const UNKNOWN_ADDR: AccountHash = AccountHash::new([42u8; 32]); function should_run_ee_532_non_existent_account_regression_test (line 13) | fn should_run_ee_532_non_existent_account_regression_test() { FILE: execution_engine_testing/tests/src/test/regression/ee_536.rs constant CONTRACT_EE_536_REGRESSION (line 6) | const CONTRACT_EE_536_REGRESSION: &str = "ee_536_regression.wasm"; function should_run_ee_536_associated_account_management_regression (line 10) | fn should_run_ee_536_associated_account_management_regression() { FILE: execution_engine_testing/tests/src/test/regression/ee_539.rs constant CONTRACT_EE_539_REGRESSION (line 6) | const CONTRACT_EE_539_REGRESSION: &str = "ee_539_regression.wasm"; constant ARG_KEY_MANAGEMENT_THRESHOLD (line 7) | const ARG_KEY_MANAGEMENT_THRESHOLD: &str = "key_management_threshold"; constant ARG_DEPLOYMENT_THRESHOLD (line 8) | const ARG_DEPLOYMENT_THRESHOLD: &str = "deployment_threshold"; function should_run_ee_539_serialize_action_thresholds_regression (line 12) | fn should_run_ee_539_serialize_action_thresholds_regression() { FILE: execution_engine_testing/tests/src/test/regression/ee_549.rs constant CONTRACT_EE_549_REGRESSION (line 6) | const CONTRACT_EE_549_REGRESSION: &str = "ee_549_regression.wasm"; function should_run_ee_549_set_refund_regression (line 10) | fn should_run_ee_549_set_refund_regression() { FILE: execution_engine_testing/tests/src/test/regression/ee_550.rs constant PASS_INIT_REMOVE (line 7) | const PASS_INIT_REMOVE: &str = "init_remove"; constant PASS_TEST_REMOVE (line 8) | const PASS_TEST_REMOVE: &str = "test_remove"; constant PASS_INIT_UPDATE (line 9) | const PASS_INIT_UPDATE: &str = "init_update"; constant PASS_TEST_UPDATE (line 10) | const PASS_TEST_UPDATE: &str = "test_update"; constant CONTRACT_EE_550_REGRESSION (line 12) | const CONTRACT_EE_550_REGRESSION: &str = "ee_550_regression.wasm"; constant KEY_2_ADDR (line 13) | const KEY_2_ADDR: [u8; 32] = [101; 32]; constant DEPLOY_HASH (line 14) | const DEPLOY_HASH: [u8; 32] = [42; 32]; constant ARG_PASS (line 15) | const ARG_PASS: &str = "pass"; function should_run_ee_550_remove_with_saturated_threshold_regression (line 19) | fn should_run_ee_550_remove_with_saturated_threshold_regression() { function should_run_ee_550_update_with_saturated_threshold_regression (line 54) | fn should_run_ee_550_update_with_saturated_threshold_regression() { FILE: execution_engine_testing/tests/src/test/regression/ee_572.rs constant CONTRACT_CREATE (line 7) | const CONTRACT_CREATE: &str = "ee_572_regression_create.wasm"; constant CONTRACT_ESCALATE (line 8) | const CONTRACT_ESCALATE: &str = "ee_572_regression_escalate.wasm"; constant CONTRACT_TRANSFER (line 9) | const CONTRACT_TRANSFER: &str = "transfer_purse_to_account.wasm"; constant CREATE (line 10) | const CREATE: &str = "create"; constant ACCOUNT_1_ADDR (line 12) | const ACCOUNT_1_ADDR: AccountHash = AccountHash::new([1u8; 32]); constant ACCOUNT_2_ADDR (line 13) | const ACCOUNT_2_ADDR: AccountHash = AccountHash::new([2u8; 32]); function should_run_ee_572_regression (line 17) | fn should_run_ee_572_regression() { FILE: execution_engine_testing/tests/src/test/regression/ee_584.rs constant CONTRACT_EE_584_REGRESSION (line 6) | const CONTRACT_EE_584_REGRESSION: &str = "ee_584_regression.wasm"; function should_run_ee_584_no_errored_session_transforms (line 11) | fn should_run_ee_584_no_errored_session_transforms() { FILE: execution_engine_testing/tests/src/test/regression/ee_597.rs constant CONTRACT_EE_597_REGRESSION (line 12) | const CONTRACT_EE_597_REGRESSION: &str = "ee_597_regression.wasm"; constant VALID_BALANCE (line 19) | const VALID_BALANCE: u64 = MINIMUM_ACCOUNT_CREATION_BALANCE; function should_fail_when_bonding_amount_is_zero_ee_597_regression (line 23) | fn should_fail_when_bonding_amount_is_zero_ee_597_regression() { FILE: execution_engine_testing/tests/src/test/regression/ee_598.rs constant ARG_AMOUNT (line 13) | const ARG_AMOUNT: &str = "amount"; constant ARG_PUBLIC_KEY (line 14) | const ARG_PUBLIC_KEY: &str = "public_key"; constant ARG_ENTRY_POINT (line 15) | const ARG_ENTRY_POINT: &str = "entry_point"; constant ARG_ACCOUNT_HASH (line 16) | const ARG_ACCOUNT_HASH: &str = "account_hash"; constant CONTRACT_AUCTION_BIDDING (line 18) | const CONTRACT_AUCTION_BIDDING: &str = "auction_bidding.wasm"; constant GENESIS_VALIDATOR_STAKE (line 25) | const GENESIS_VALIDATOR_STAKE: u64 = 50_000; function should_handle_unbond_for_more_than_stake_as_full_unbond_of_stake_ee_598_regression (line 34) | fn should_handle_unbond_for_more_than_stake_as_full_unbond_of_stake_ee_5... FILE: execution_engine_testing/tests/src/test/regression/ee_599.rs constant CONTRACT_EE_599_REGRESSION (line 9) | const CONTRACT_EE_599_REGRESSION: &str = "ee_599_regression.wasm"; constant CONTRACT_TRANSFER_TO_ACCOUNT (line 10) | const CONTRACT_TRANSFER_TO_ACCOUNT: &str = "transfer_to_account_u512.wasm"; constant DONATION_PURSE_COPY_KEY (line 11) | const DONATION_PURSE_COPY_KEY: &str = "donation_purse_copy"; constant EXPECTED_ERROR (line 12) | const EXPECTED_ERROR: &str = "Forged reference"; constant TRANSFER_FUNDS_KEY (line 13) | const TRANSFER_FUNDS_KEY: &str = "transfer_funds"; constant VICTIM_ADDR (line 14) | const VICTIM_ADDR: AccountHash = AccountHash::new([42; 32]); function setup (line 18) | fn setup() -> LmdbWasmTestBuilder { function should_not_be_able_to_transfer_funds_with_transfer_purse_to_purse (line 52) | fn should_not_be_able_to_transfer_funds_with_transfer_purse_to_purse() { function should_not_be_able_to_transfer_funds_with_transfer_from_purse_to_account (line 109) | fn should_not_be_able_to_transfer_funds_with_transfer_from_purse_to_acco... function should_not_be_able_to_transfer_funds_with_transfer_to_account (line 177) | fn should_not_be_able_to_transfer_funds_with_transfer_to_account() { function should_not_be_able_to_get_main_purse_in_invalid_builder (line 246) | fn should_not_be_able_to_get_main_purse_in_invalid_builder() { FILE: execution_engine_testing/tests/src/test/regression/ee_601.rs constant ARG_AMOUNT (line 7) | const ARG_AMOUNT: &str = "amount"; function should_run_ee_601_pay_session_new_uref_collision (line 11) | fn should_run_ee_601_pay_session_new_uref_collision() { FILE: execution_engine_testing/tests/src/test/regression/ee_771.rs constant CONTRACT_EE_771_REGRESSION (line 6) | const CONTRACT_EE_771_REGRESSION: &str = "ee_771_regression.wasm"; function should_run_ee_771_regression (line 10) | fn should_run_ee_771_regression() { FILE: execution_engine_testing/tests/src/test/regression/ee_890.rs constant DO_NOTHING_WASM (line 9) | const DO_NOTHING_WASM: &str = "do_nothing.wasm"; function make_do_nothing_with_start (line 15) | fn make_do_nothing_with_start() -> Vec { function should_run_ee_890_gracefully_reject_start_node_in_session (line 40) | fn should_run_ee_890_gracefully_reject_start_node_in_session() { function should_run_ee_890_gracefully_reject_start_node_in_payment (line 68) | fn should_run_ee_890_gracefully_reject_start_node_in_payment() { FILE: execution_engine_testing/tests/src/test/regression/ee_966.rs constant CONTRACT_EE_966_REGRESSION (line 18) | const CONTRACT_EE_966_REGRESSION: &str = "ee_966_regression.wasm"; constant MINIMUM_INITIAL_MEMORY (line 19) | const MINIMUM_INITIAL_MEMORY: u32 = 16; constant DEFAULT_ACTIVATION_POINT (line 20) | const DEFAULT_ACTIVATION_POINT: EraId = EraId::new(0); constant NEW_PROTOCOL_VERSION (line 36) | const NEW_PROTOCOL_VERSION: ProtocolVersion = ProtocolVersion::from_parts( function make_session_code_with_memory_pages (line 42) | fn make_session_code_with_memory_pages(initial_pages: u32, max_pages: Op... function make_request_with_session_bytes (line 65) | fn make_request_with_session_bytes(session_code: Vec) -> ExecuteRequ... function should_run_ee_966_with_zero_min_and_zero_max_memory (line 81) | fn should_run_ee_966_with_zero_min_and_zero_max_memory() { function should_run_ee_966_cant_have_too_much_initial_memory (line 96) | fn should_run_ee_966_cant_have_too_much_initial_memory() { function should_run_ee_966_should_request_exactly_maximum (line 116) | fn should_run_ee_966_should_request_exactly_maximum() { function should_run_ee_966_should_request_exactly_maximum_as_initial (line 131) | fn should_run_ee_966_should_request_exactly_maximum_as_initial() { function should_run_ee_966_cant_have_too_much_max_memory (line 145) | fn should_run_ee_966_cant_have_too_much_max_memory() { function should_run_ee_966_cant_have_way_too_much_max_memory (line 168) | fn should_run_ee_966_cant_have_way_too_much_max_memory() { function should_run_ee_966_cant_have_larger_initial_than_max_memory (line 191) | fn should_run_ee_966_cant_have_larger_initial_than_max_memory() { function should_run_ee_966_regression_fail_when_growing_mem_past_max (line 212) | fn should_run_ee_966_regression_fail_when_growing_mem_past_max() { function should_run_ee_966_regression_when_growing_mem_after_upgrade (line 235) | fn should_run_ee_966_regression_when_growing_mem_after_upgrade() { FILE: execution_engine_testing/tests/src/test/regression/gh_1470.rs constant ACCOUNT_1_ADDR (line 20) | const ACCOUNT_1_ADDR: AccountHash = AccountHash::new([1u8; 32]); constant GH_1470_REGRESSION (line 21) | const GH_1470_REGRESSION: &str = "gh_1470_regression.wasm"; constant GH_1470_REGRESSION_CALL (line 22) | const GH_1470_REGRESSION_CALL: &str = "gh_1470_regression_call.wasm"; constant DEFAULT_ACTIVATION_POINT (line 23) | const DEFAULT_ACTIVATION_POINT: EraId = EraId::new(1); constant CONTRACT_ADD_BID (line 25) | const CONTRACT_ADD_BID: &str = "add_bid.wasm"; constant BOND_AMOUNT (line 26) | const BOND_AMOUNT: u64 = 42; constant BID_DELEGATION_RATE (line 27) | const BID_DELEGATION_RATE: DelegationRate = auction::DELEGATION_RATE_DEN... constant CONTRACT_TRANSFER_TO_ACCOUNT (line 29) | const CONTRACT_TRANSFER_TO_ACCOUNT: &str = "transfer_to_account_u512.wasm"; constant ARG_AMOUNT (line 30) | const ARG_AMOUNT: &str = "amount"; constant ARG_TARGET (line 31) | const ARG_TARGET: &str = "target"; constant PROTOCOL_VERSION (line 33) | const PROTOCOL_VERSION: ProtocolVersion = ProtocolVersion::V1_0_0; function setup (line 35) | fn setup() -> LmdbWasmTestBuilder { function apply_global_state_update (line 70) | fn apply_global_state_update( function gh_1470_call_contract_should_verify_group_access (line 97) | fn gh_1470_call_contract_should_verify_group_access() { function gh_1470_call_contract_should_ignore_optional_args (line 291) | fn gh_1470_call_contract_should_ignore_optional_args() { function gh_1470_call_contract_should_not_accept_extra_args (line 357) | fn gh_1470_call_contract_should_not_accept_extra_args() { function gh_1470_call_contract_should_verify_wrong_argument_types (line 423) | fn gh_1470_call_contract_should_verify_wrong_argument_types() { function gh_1470_call_contract_should_verify_wrong_optional_argument_types (line 522) | fn gh_1470_call_contract_should_verify_wrong_optional_argument_types() { function should_transfer_after_major_version_bump_from_1_2_0 (line 625) | fn should_transfer_after_major_version_bump_from_1_2_0() { function should_transfer_after_minor_version_bump_from_1_2_0 (line 664) | fn should_transfer_after_minor_version_bump_from_1_2_0() { function should_add_bid_after_major_bump (line 703) | fn should_add_bid_after_major_bump() { function should_add_bid_after_minor_bump (line 751) | fn should_add_bid_after_minor_bump() { function should_wasm_transfer_after_major_bump (line 802) | fn should_wasm_transfer_after_major_bump() { function should_wasm_transfer_after_minor_bump (line 849) | fn should_wasm_transfer_after_minor_bump() { function should_upgrade_from_1_3_1_rel_fixture (line 899) | fn should_upgrade_from_1_3_1_rel_fixture() { FILE: execution_engine_testing/tests/src/test/regression/gh_1688.rs constant GH_1688_REGRESSION (line 10) | const GH_1688_REGRESSION: &str = "gh_1688_regression.wasm"; constant METHOD_PUT_KEY (line 12) | const METHOD_PUT_KEY: &str = "put_key"; constant NEW_KEY_NAME (line 13) | const NEW_KEY_NAME: &str = "Hello"; constant PACKAGE_KEY (line 14) | const PACKAGE_KEY: &str = "contract_package"; constant CONTRACT_HASH_KEY (line 15) | const CONTRACT_HASH_KEY: &str = "contract_hash"; function setup (line 17) | fn setup() -> (LmdbWasmTestBuilder, PackageHash, AddressableEntityHash) { function test (line 60) | fn test(deploy_item_builder: impl FnOnce(PackageHash, AddressableEntityH... function should_run_gh_1688_regression_stored_versioned_contract_by_hash (line 90) | fn should_run_gh_1688_regression_stored_versioned_contract_by_hash() { function should_run_gh_1688_regression_stored_versioned_contract_by_name (line 109) | fn should_run_gh_1688_regression_stored_versioned_contract_by_name() { function should_run_gh_1688_regression_stored_contract_by_hash (line 128) | fn should_run_gh_1688_regression_stored_contract_by_hash() { function should_run_gh_1688_regression_stored_contract_by_name (line 142) | fn should_run_gh_1688_regression_stored_contract_by_name() { FILE: execution_engine_testing/tests/src/test/regression/gh_1902.rs constant BOND_AMOUNT (line 20) | const BOND_AMOUNT: u64 = 42; constant DELEGATE_AMOUNT (line 21) | const DELEGATE_AMOUNT: u64 = 100 + DEFAULT_MINIMUM_DELEGATION_AMOUNT; constant DELEGATION_RATE (line 22) | const DELEGATION_RATE: DelegationRate = 10; function setup (line 30) | fn setup() -> LmdbWasmTestBuilder { function exec_and_assert_costs (line 52) | fn exec_and_assert_costs( function should_not_charge_for_create_purse_in_first_time_bond (line 63) | fn should_not_charge_for_create_purse_in_first_time_bond() { FILE: execution_engine_testing/tests/src/test/regression/gh_1931.rs constant CONTRACT_NAME (line 6) | const CONTRACT_NAME: &str = "do_nothing_stored.wasm"; constant CONTRACT_PACKAGE_NAMED_KEY (line 7) | const CONTRACT_PACKAGE_NAMED_KEY: &str = "do_nothing_package_hash"; function should_query_contract_package (line 11) | fn should_query_contract_package() { FILE: execution_engine_testing/tests/src/test/regression/gh_2280.rs constant TRANSFER_TO_ACCOUNT_CONTRACT (line 15) | const TRANSFER_TO_ACCOUNT_CONTRACT: &str = "transfer_to_account.wasm"; constant TRANSFER_PURSE_TO_ACCOUNT_CONTRACT (line 16) | const TRANSFER_PURSE_TO_ACCOUNT_CONTRACT: &str = "transfer_purse_to_acco... constant GH_2280_REGRESSION_CONTRACT (line 17) | const GH_2280_REGRESSION_CONTRACT: &str = "gh_2280_regression.wasm"; constant GH_2280_REGRESSION_CALL_CONTRACT (line 18) | const GH_2280_REGRESSION_CALL_CONTRACT: &str = "gh_2280_regression_call.... constant CREATE_PURSE_01_CONTRACT (line 19) | const CREATE_PURSE_01_CONTRACT: &str = "create_purse_01.wasm"; constant FAUCET_NAME (line 20) | const FAUCET_NAME: &str = "faucet"; constant ARG_TARGET (line 40) | const ARG_TARGET: &str = "target"; constant ARG_AMOUNT (line 41) | const ARG_AMOUNT: &str = "amount"; constant TOKEN_AMOUNT (line 43) | const TOKEN_AMOUNT: u64 = 1_000_000; constant ARG_PURSE_NAME (line 45) | const ARG_PURSE_NAME: &str = "purse_name"; constant TEST_PURSE_NAME (line 46) | const TEST_PURSE_NAME: &str = "test"; constant OLD_PROTOCOL_VERSION (line 48) | const OLD_PROTOCOL_VERSION: ProtocolVersion = DEFAULT_PROTOCOL_VERSION; constant NEW_PROTOCOL_VERSION (line 49) | const NEW_PROTOCOL_VERSION: ProtocolVersion = ProtocolVersion::from_parts( constant DEFAULT_ACTIVATION_POINT (line 54) | const DEFAULT_ACTIVATION_POINT: EraId = EraId::new(1); constant HOST_FUNCTION_COST_CHANGE (line 56) | const HOST_FUNCTION_COST_CHANGE: HostFunctionCost = 13_730_593; constant ARG_FAUCET_FUNDS (line 58) | const ARG_FAUCET_FUNDS: &str = "faucet_initial_balance"; constant HASH_KEY_NAME (line 59) | const HASH_KEY_NAME: &str = "gh_2280_hash"; constant ARG_CONTRACT_HASH (line 60) | const ARG_CONTRACT_HASH: &str = "contract_hash"; function gh_2280_transfer_should_always_cost_the_same_gas (line 64) | fn gh_2280_transfer_should_always_cost_the_same_gas() { function gh_2280_create_purse_should_always_cost_the_same_gas (line 173) | fn gh_2280_create_purse_should_always_cost_the_same_gas() { function gh_2280_transfer_purse_to_account_should_always_cost_the_same_gas (line 291) | fn gh_2280_transfer_purse_to_account_should_always_cost_the_same_gas() { function gh_2280_stored_transfer_to_account_should_always_cost_the_same_gas (line 404) | fn gh_2280_stored_transfer_to_account_should_always_cost_the_same_gas() { function gh_2280_stored_faucet_call_should_cost_the_same (line 519) | fn gh_2280_stored_faucet_call_should_cost_the_same() { type TestContext (line 630) | struct TestContext { function setup (line 634) | fn setup() -> (LmdbWasmTestBuilder, TestContext) { function make_wasm_config (line 665) | fn make_wasm_config( function make_upgrade_request (line 683) | fn make_upgrade_request() -> ProtocolUpgradeConfig { FILE: execution_engine_testing/tests/src/test/regression/gh_3097.rs constant GH_3097_REGRESSION_WASM (line 10) | const GH_3097_REGRESSION_WASM: &str = "gh_3097_regression.wasm"; constant GH_3097_REGRESSION_CALL_WASM (line 11) | const GH_3097_REGRESSION_CALL_WASM: &str = "gh_3097_regression_call.wasm"; constant DO_SOMETHING_ENTRYPOINT (line 12) | const DO_SOMETHING_ENTRYPOINT: &str = "do_something"; constant DISABLED_CONTRACT_HASH_KEY (line 13) | const DISABLED_CONTRACT_HASH_KEY: &str = "disabled_contract_hash"; constant ENABLED_CONTRACT_HASH_KEY (line 14) | const ENABLED_CONTRACT_HASH_KEY: &str = "enabled_contract_hash"; constant CONTRACT_PACKAGE_HASH_KEY (line 15) | const CONTRACT_PACKAGE_HASH_KEY: &str = "contract_package_hash"; constant ARG_METHOD (line 16) | const ARG_METHOD: &str = "method"; constant ARG_CONTRACT_HASH_KEY (line 17) | const ARG_CONTRACT_HASH_KEY: &str = "contract_hash_key"; constant ARG_MAJOR_VERSION (line 18) | const ARG_MAJOR_VERSION: &str = "major_version"; constant ARG_CONTRACT_VERSION (line 19) | const ARG_CONTRACT_VERSION: &str = "contract_version"; constant METHOD_CALL_CONTRACT (line 20) | const METHOD_CALL_CONTRACT: &str = "call_contract"; constant METHOD_CALL_VERSIONED_CONTRACT (line 21) | const METHOD_CALL_VERSIONED_CONTRACT: &str = "call_versioned_contract"; function should_run_regression (line 25) | fn should_run_regression() { FILE: execution_engine_testing/tests/src/test/regression/gh_3208.rs constant DAY_MILLIS (line 48) | const DAY_MILLIS: usize = 24 * 60 * 60 * 1000; constant DAYS_IN_WEEK (line 49) | const DAYS_IN_WEEK: usize = 7; constant WEEK_MILLIS (line 50) | const WEEK_MILLIS: usize = DAYS_IN_WEEK * DAY_MILLIS; constant VESTING_SCHEDULE_LENGTH_DAYS (line 51) | const VESTING_SCHEDULE_LENGTH_DAYS: usize = 91; constant LOCKED_AMOUNTS_LENGTH (line 52) | const LOCKED_AMOUNTS_LENGTH: usize = (VESTING_SCHEDULE_LENGTH_DAYS / DAY... constant LMDB_FIXTURE_NAME (line 54) | const LMDB_FIXTURE_NAME: &str = "gh_3208"; function should_run_regression_with_already_initialized_fixed_schedule (line 58) | fn should_run_regression_with_already_initialized_fixed_schedule() { function should_initialize_default_vesting_schedule (line 99) | fn should_initialize_default_vesting_schedule() { function should_immediatelly_unbond_genesis_validator_with_zero_day_vesting_schedule (line 165) | fn should_immediatelly_unbond_genesis_validator_with_zero_day_vesting_sc... function should_immediatelly_unbond_genesis_validator_with_zero_day_vesting_schedule_and_zero_day_lock (line 289) | fn should_immediatelly_unbond_genesis_validator_with_zero_day_vesting_sc... function generate_gh_3208_fixture (line 382) | fn generate_gh_3208_fixture() { FILE: execution_engine_testing/tests/src/test/regression/gh_3710.rs constant FIXTURE_N_ERAS (line 19) | const FIXTURE_N_ERAS: usize = 10; constant GH_3710_FIXTURE (line 21) | const GH_3710_FIXTURE: &str = "gh_3710"; function gh_3710_commit_prune_with_empty_keys_should_be_noop (line 25) | fn gh_3710_commit_prune_with_empty_keys_should_be_noop() { function gh_3710_commit_prune_should_validate_state_root_hash (line 36) | fn gh_3710_commit_prune_should_validate_state_root_hash() { function gh_3710_commit_prune_should_delete_values (line 58) | fn gh_3710_commit_prune_should_delete_values() { constant DEFAULT_REWARD_AMOUNT (line 131) | const DEFAULT_REWARD_AMOUNT: u64 = 1_000_000; function add_validator_and_wait_for_rotation (line 133) | fn add_validator_and_wait_for_rotation(builder: &mut WasmTestBuilder<... function distribute_rewards (line 172) | fn distribute_rewards( function gh_3710_should_produce_era_summary_in_a_step (line 190) | fn gh_3710_should_produce_era_summary_in_a_step() { function generate_call_stack_fixture (line 249) | fn generate_call_stack_fixture() { function generate_groups_fixture (line 275) | fn generate_groups_fixture() { function generate_era_info_bloat_fixture (line 301) | fn generate_era_info_bloat_fixture() { FILE: execution_engine_testing/tests/src/test/regression/gh_4898.rs constant ARG_DATA (line 7) | const ARG_DATA: &str = "data"; constant GH_4898_REGRESSION_WASM (line 8) | const GH_4898_REGRESSION_WASM: &str = "gh_4898_regression.wasm"; function should_not_contain_f64_opcodes (line 12) | fn should_not_contain_f64_opcodes() { FILE: execution_engine_testing/tests/src/test/regression/gov_116.rs constant MINIMUM_BONDED_AMOUNT (line 21) | const MINIMUM_BONDED_AMOUNT: u64 = 1_000; constant WITHDRAW_AMOUNT (line 25) | const WITHDRAW_AMOUNT: u64 = MINIMUM_BONDED_AMOUNT - DEFAULT_MINIMUM_BID... constant VESTING_BASE (line 28) | const VESTING_BASE: u64 = DEFAULT_GENESIS_TIMESTAMP_MILLIS + DEFAULT_LOC... constant DAY_MILLIS (line 30) | const DAY_MILLIS: u64 = 24 * 60 * 60 * 1000; constant WEEK_MILLIS (line 31) | const WEEK_MILLIS: u64 = 7 * DAY_MILLIS; constant DELEGATION_RATE (line 32) | const DELEGATION_RATE: DelegationRate = 0; constant VESTING_WEEKS (line 36) | const VESTING_WEEKS: [u64; 3] = [ function initialize_builder (line 102) | fn initialize_builder() -> LmdbWasmTestBuilder { function should_not_retain_genesis_validator_slot_protection_after_vesting_period_elapsed (line 121) | fn should_not_retain_genesis_validator_slot_protection_after_vesting_per... function should_retain_genesis_validator_slot_protection (line 237) | fn should_retain_genesis_validator_slot_protection() { FILE: execution_engine_testing/tests/src/test/regression/gov_42.rs constant ARG_AMOUNT (line 30) | const ARG_AMOUNT: &str = "amount"; type ExecutionPhase (line 33) | enum ExecutionPhase { function run_test_case (line 38) | fn run_test_case(input_wasm_bytes: &[u8], expected_error: &str, executio... function should_charge_payment_with_incorrect_wasm_file_invalid_magic_number (line 93) | fn should_charge_payment_with_incorrect_wasm_file_invalid_magic_number() { function should_charge_session_with_incorrect_wasm_file_invalid_magic_number (line 102) | fn should_charge_session_with_incorrect_wasm_file_invalid_magic_number() { function should_fail_to_charge_payment_with_incorrect_wasm_file_empty_bytes (line 111) | fn should_fail_to_charge_payment_with_incorrect_wasm_file_empty_bytes() { function should_charge_session_with_incorrect_wasm_file_empty_bytes (line 120) | fn should_charge_session_with_incorrect_wasm_file_empty_bytes() { function should_charge_payment_with_incorrect_wasm_correct_magic_number_incomplete_module (line 129) | fn should_charge_payment_with_incorrect_wasm_correct_magic_number_incomp... function should_charge_session_with_incorrect_wasm_correct_magic_number_incomplete_module (line 149) | fn should_charge_session_with_incorrect_wasm_correct_magic_number_incomp... function should_charge_payment_with_incorrect_wasm_gas_counter_overflow (line 169) | fn should_charge_payment_with_incorrect_wasm_gas_counter_overflow() { function should_charge_session_with_incorrect_wasm_gas_counter_overflow (line 178) | fn should_charge_session_with_incorrect_wasm_gas_counter_overflow() { function should_charge_payment_with_incorrect_wasm_no_memory_section (line 187) | fn should_charge_payment_with_incorrect_wasm_no_memory_section() { function should_charge_session_with_incorrect_wasm_no_memory_section (line 196) | fn should_charge_session_with_incorrect_wasm_no_memory_section() { function should_charge_payment_with_incorrect_wasm_start_section (line 205) | fn should_charge_payment_with_incorrect_wasm_start_section() { function should_charge_session_with_incorrect_wasm_start_section (line 214) | fn should_charge_session_with_incorrect_wasm_start_section() { FILE: execution_engine_testing/tests/src/test/regression/gov_427.rs function make_arbitrary_local_count (line 11) | fn make_arbitrary_local_count( function too_many_locals_should_exceed_stack_height (line 62) | fn too_many_locals_should_exceed_stack_height() { FILE: execution_engine_testing/tests/src/test/regression/gov_74.rs constant ARITY_INTERPRETER_LIMIT (line 14) | const ARITY_INTERPRETER_LIMIT: usize = DEFAULT_MAX_PARAMETER_COUNT as us... constant DEFAULT_ACTIVATION_POINT (line 15) | const DEFAULT_ACTIVATION_POINT: EraId = EraId::new(1); constant I32_WAT_TYPE (line 16) | const I32_WAT_TYPE: &str = "i64"; constant NEW_WASM_STACK_HEIGHT (line 17) | const NEW_WASM_STACK_HEIGHT: u32 = 16; constant OLD_PROTOCOL_VERSION (line 18) | const OLD_PROTOCOL_VERSION: ProtocolVersion = DEFAULT_PROTOCOL_VERSION; constant NEW_PROTOCOL_VERSION (line 19) | const NEW_PROTOCOL_VERSION: ProtocolVersion = ProtocolVersion::from_parts( function initialize_builder (line 25) | fn initialize_builder() -> LmdbWasmTestBuilder { function should_pass_max_parameter_count (line 33) | fn should_pass_max_parameter_count() { function should_observe_stack_height_limit (line 79) | fn should_observe_stack_height_limit() { FILE: execution_engine_testing/tests/src/test/regression/gov_89_regression.rs constant ACCOUNT_1_BALANCE (line 28) | const ACCOUNT_1_BALANCE: u64 = 100_000_000; constant ACCOUNT_1_BOND (line 29) | const ACCOUNT_1_BOND: u64 = 100_000_000; constant ACCOUNT_2_BALANCE (line 35) | const ACCOUNT_2_BALANCE: u64 = 200_000_000; constant ACCOUNT_2_BOND (line 36) | const ACCOUNT_2_BOND: u64 = 200_000_000; function initialize_builder (line 38) | fn initialize_builder() -> LmdbWasmTestBuilder { function should_not_create_any_purse (line 70) | fn should_not_create_any_purse() { FILE: execution_engine_testing/tests/src/test/regression/host_function_metrics_size_and_gas_cost.rs constant CONTRACT_HOST_FUNCTION_METRICS (line 14) | const CONTRACT_HOST_FUNCTION_METRICS: &str = "host_function_metrics.wasm"; constant CONTRACT_TRANSFER_TO_ACCOUNT_U512 (line 15) | const CONTRACT_TRANSFER_TO_ACCOUNT_U512: &str = "transfer_to_account_u51... constant HOST_FUNCTION_METRICS_STANDARD_SIZE (line 19) | const HOST_FUNCTION_METRICS_STANDARD_SIZE: usize = 160_000; constant HOST_FUNCTION_METRICS_STANDARD_GAS_COST (line 20) | const HOST_FUNCTION_METRICS_STANDARD_GAS_COST: u64 = 475_000_000_000; constant SIZE_MARGIN (line 23) | const SIZE_MARGIN: usize = 5; constant GAS_COST_MARGIN (line 25) | const GAS_COST_MARGIN: u64 = 5; constant HOST_FUNCTION_METRICS_MAX_SIZE (line 27) | const HOST_FUNCTION_METRICS_MAX_SIZE: usize = constant HOST_FUNCTION_METRICS_MAX_GAS_COST (line 29) | const HOST_FUNCTION_METRICS_MAX_GAS_COST: u64 = constant ACCOUNT0_ADDR (line 32) | const ACCOUNT0_ADDR: AccountHash = AccountHash::new([42; ACCOUNT_HASH_LE... constant ACCOUNT1_ADDR (line 33) | const ACCOUNT1_ADDR: AccountHash = AccountHash::new([43; ACCOUNT_HASH_LE... constant ARG_TARGET (line 35) | const ARG_TARGET: &str = "target"; constant ARG_AMOUNT (line 36) | const ARG_AMOUNT: &str = "amount"; constant ARG_SEED (line 38) | const ARG_SEED: &str = "seed"; constant ARG_OTHERS (line 39) | const ARG_OTHERS: &str = "others"; constant EXPECTED_REVERT_VALUE (line 40) | const EXPECTED_REVERT_VALUE: u16 = 9; constant SEED_VALUE (line 41) | const SEED_VALUE: u64 = 821_577_831_833_715_345; constant TRANSFER_FROM_MAIN_PURSE_AMOUNT (line 42) | const TRANSFER_FROM_MAIN_PURSE_AMOUNT: u64 = 2_000_000_u64; function host_function_metrics_has_acceptable_size (line 46) | fn host_function_metrics_has_acceptable_size() { function create_account_exec_request (line 60) | fn create_account_exec_request(address: AccountHash) -> ExecuteRequest { function host_function_metrics_has_acceptable_gas_cost (line 74) | fn host_function_metrics_has_acceptable_gas_cost() { function setup (line 124) | fn setup() -> LmdbWasmTestBuilder { FILE: execution_engine_testing/tests/src/test/regression/regression_20210707.rs constant HARDCODED_UREF (line 17) | const HARDCODED_UREF: URef = URef::new([42; 32], AccessRights::READ_ADD_... constant CONTRACT_HASH_NAME (line 18) | const CONTRACT_HASH_NAME: &str = "contract_hash"; constant METHOD_SEND_TO_ACCOUNT (line 20) | const METHOD_SEND_TO_ACCOUNT: &str = "send_to_account"; constant METHOD_SEND_TO_PURSE (line 21) | const METHOD_SEND_TO_PURSE: &str = "send_to_purse"; constant METHOD_HARDCODED_PURSE_SRC (line 22) | const METHOD_HARDCODED_PURSE_SRC: &str = "hardcoded_purse_src"; constant METHOD_STORED_PAYMENT (line 23) | const METHOD_STORED_PAYMENT: &str = "stored_payment"; constant METHOD_HARDCODED_PAYMENT (line 24) | const METHOD_HARDCODED_PAYMENT: &str = "hardcoded_payment"; constant ARG_SOURCE (line 26) | const ARG_SOURCE: &str = "source"; constant ARG_RECIPIENT (line 27) | const ARG_RECIPIENT: &str = "recipient"; constant ARG_AMOUNT (line 28) | const ARG_AMOUNT: &str = "amount"; constant ARG_TARGET (line 29) | const ARG_TARGET: &str = "target"; constant REGRESSION_20210707 (line 31) | const REGRESSION_20210707: &str = "regression_20210707.wasm"; function setup_regression_contract (line 45) | fn setup_regression_contract() -> ExecuteRequest { function transfer (line 56) | fn transfer(sender: AccountHash, target: AccountHash, amount: u64) -> Tr... function get_account_entity_hash (line 62) | fn get_account_entity_hash(entity: &EntityWithNamedKeys) -> AddressableE... function assert_forged_uref_error (line 73) | fn assert_forged_uref_error(error: CoreError, forged_uref: URef) { function should_transfer_funds_from_contract_to_new_account (line 84) | fn should_transfer_funds_from_contract_to_new_account() { function should_transfer_funds_from_contract_to_existing_account (line 124) | fn should_transfer_funds_from_contract_to_existing_account() { function should_not_transfer_funds_from_forged_purse_to_account_native_transfer (line 169) | fn should_not_transfer_funds_from_forged_purse_to_account_native_transfe... function should_not_transfer_funds_from_forged_purse_to_owned_purse (line 206) | fn should_not_transfer_funds_from_forged_purse_to_owned_purse() { function should_not_transfer_funds_into_bob_purse (line 260) | fn should_not_transfer_funds_into_bob_purse() { function should_not_transfer_from_hardcoded_purse (line 305) | fn should_not_transfer_from_hardcoded_purse() { function should_not_refund_to_bob_and_charge_alice (line 347) | fn should_not_refund_to_bob_and_charge_alice() { function should_not_charge_alice_for_execution (line 402) | fn should_not_charge_alice_for_execution() { function should_not_charge_for_execution_from_hardcoded_purse (line 458) | fn should_not_charge_for_execution_from_hardcoded_purse() { FILE: execution_engine_testing/tests/src/test/regression/regression_20210831.rs constant CONTRACT_REGRESSION_20210831 (line 30) | const CONTRACT_REGRESSION_20210831: &str = "regression_20210831.wasm"; constant METHOD_ADD_BID_PROXY_CALL (line 32) | const METHOD_ADD_BID_PROXY_CALL: &str = "add_bid_proxy_call"; constant METHOD_WITHDRAW_PROXY_CALL (line 33) | const METHOD_WITHDRAW_PROXY_CALL: &str = "withdraw_proxy_call"; constant METHOD_DELEGATE_PROXY_CALL (line 34) | const METHOD_DELEGATE_PROXY_CALL: &str = "delegate_proxy_call"; constant METHOD_UNDELEGATE_PROXY_CALL (line 35) | const METHOD_UNDELEGATE_PROXY_CALL: &str = "undelegate_proxy_call"; constant METHOD_ACTIVATE_BID_CALL (line 36) | const METHOD_ACTIVATE_BID_CALL: &str = "activate_bid_proxy_call"; constant CONTRACT_HASH_NAME (line 38) | const CONTRACT_HASH_NAME: &str = "contract_hash"; constant BID_DELEGATION_RATE (line 40) | const BID_DELEGATION_RATE: DelegationRate = 42; function setup (line 44) | fn setup() -> LmdbWasmTestBuilder { function regression_20210831_should_fail_to_add_bid (line 95) | fn regression_20210831_should_fail_to_add_bid() { function regression_20210831_should_fail_to_delegate (line 147) | fn regression_20210831_should_fail_to_delegate() { function regression_20210831_should_fail_to_withdraw_bid (line 213) | fn regression_20210831_should_fail_to_withdraw_bid() { function regression_20210831_should_fail_to_undelegate_bid (line 302) | fn regression_20210831_should_fail_to_undelegate_bid() { function regression_20210831_should_fail_to_activate_bid (line 405) | fn regression_20210831_should_fail_to_activate_bid() { FILE: execution_engine_testing/tests/src/test/regression/regression_20210924.rs constant ARG_AMOUNT (line 9) | const ARG_AMOUNT: &str = "amount"; function should_charge_minimum_for_do_nothing_session (line 13) | fn should_charge_minimum_for_do_nothing_session() { function should_execute_do_minimum_session (line 44) | fn should_execute_do_minimum_session() { function should_charge_minimum_for_do_nothing_payment (line 75) | fn should_charge_minimum_for_do_nothing_payment() { FILE: execution_engine_testing/tests/src/test/regression/regression_20211110.rs constant RECURSE_ENTRYPOINT (line 10) | const RECURSE_ENTRYPOINT: &str = "recurse"; constant ARG_TARGET (line 11) | const ARG_TARGET: &str = "target"; constant CONTRACT_HASH_NAME (line 12) | const CONTRACT_HASH_NAME: &str = "regression-contract-hash"; constant REGRESSION_20211110_CONTRACT (line 13) | const REGRESSION_20211110_CONTRACT: &str = "regression_20211110.wasm"; constant ACCOUNT_1_ADDR (line 15) | const ACCOUNT_1_ADDR: AccountHash = AccountHash::new([111; 32]); constant INSTALL_COST (line 16) | const INSTALL_COST: u64 = 40_000_000_000; constant STARTING_BALANCE (line 17) | const STARTING_BALANCE: u64 = 100_000_000_000; function regression_20211110 (line 21) | fn regression_20211110() { FILE: execution_engine_testing/tests/src/test/regression/regression_20220119.rs constant REGRESSION_20220119_CONTRACT (line 6) | const REGRESSION_20220119_CONTRACT: &str = "regression_20220119.wasm"; function should_create_purse (line 10) | fn should_create_purse() { FILE: execution_engine_testing/tests/src/test/regression/regression_20220204.rs constant REGRESSION_20220204_CONTRACT (line 7) | const REGRESSION_20220204_CONTRACT: &str = "regression_20220204.wasm"; constant REGRESSION_20220204_CALL_CONTRACT (line 8) | const REGRESSION_20220204_CALL_CONTRACT: &str = "regression_20220204_cal... constant REGRESSION_20220204_NONTRIVIAL_CONTRACT (line 9) | const REGRESSION_20220204_NONTRIVIAL_CONTRACT: &str = "regression_202202... constant NONTRIVIAL_ARG_AS_CONTRACT (line 11) | const NONTRIVIAL_ARG_AS_CONTRACT: &str = "nontrivial_arg_as_contract"; constant ARG_ENTRYPOINT (line 12) | const ARG_ENTRYPOINT: &str = "entrypoint"; constant ARG_PURSE (line 13) | const ARG_PURSE: &str = "purse"; constant ARG_NEW_ACCESS_RIGHTS (line 14) | const ARG_NEW_ACCESS_RIGHTS: &str = "new_access_rights"; constant TRANSFER_AS_CONTRACT (line 15) | const TRANSFER_AS_CONTRACT: &str = "transfer_as_contract"; constant CONTRACT_HASH_NAME (line 17) | const CONTRACT_HASH_NAME: &str = "regression-contract-hash"; function regression_20220204_as_contract (line 21) | fn regression_20220204_as_contract() { function regression_20220204_as_contract_attenuated (line 55) | fn regression_20220204_as_contract_attenuated() { function regression_20220204_as_contract_by_hash (line 118) | fn regression_20220204_as_contract_by_hash() { function regression_20220204_nontrivial_arg_as_contract (line 152) | fn regression_20220204_nontrivial_arg_as_contract() { function regression_20220204_as_contract_by_hash_attenuated (line 186) | fn regression_20220204_as_contract_by_hash_attenuated() { function setup (line 247) | fn setup() -> LmdbWasmTestBuilder { FILE: execution_engine_testing/tests/src/test/regression/regression_20220207.rs constant REGRESSION_20220207_CONTRACT (line 7) | const REGRESSION_20220207_CONTRACT: &str = "regression_20220207.wasm"; constant ARG_AMOUNT_TO_SEND (line 8) | const ARG_AMOUNT_TO_SEND: &str = "amount_to_send"; constant ACCOUNT_1_ADDR (line 9) | const ACCOUNT_1_ADDR: AccountHash = AccountHash::new([111; 32]); constant UNAPPROVED_SPENDING_AMOUNT_ERR (line 11) | const UNAPPROVED_SPENDING_AMOUNT_ERR: Error = Error::Exec(ExecError::Rev... function should_not_transfer_above_approved_limit (line 17) | fn should_not_transfer_above_approved_limit() { function should_transfer_within_approved_limit (line 38) | fn should_transfer_within_approved_limit() { function should_fail_without_amount_arg (line 57) | fn should_fail_without_amount_arg() { FILE: execution_engine_testing/tests/src/test/regression/regression_20220208.rs constant REGRESSION_20220208_CONTRACT (line 7) | const REGRESSION_20220208_CONTRACT: &str = "regression_20220208.wasm"; constant ARG_AMOUNT_PART_1 (line 8) | const ARG_AMOUNT_PART_1: &str = "amount_part_1"; constant ARG_AMOUNT_PART_2 (line 9) | const ARG_AMOUNT_PART_2: &str = "amount_part_2"; constant ACCOUNT_1_ADDR (line 10) | const ACCOUNT_1_ADDR: AccountHash = AccountHash::new([111; 32]); constant UNAPPROVED_SPENDING_AMOUNT_ERR (line 12) | const UNAPPROVED_SPENDING_AMOUNT_ERR: Error = Error::Exec(ExecError::Rev... function should_transfer_within_approved_limit_multiple_transfers (line 18) | fn should_transfer_within_approved_limit_multiple_transfers() { function should_not_transfer_above_approved_limit_multiple_transfers (line 42) | fn should_not_transfer_above_approved_limit_multiple_transfers() { FILE: execution_engine_testing/tests/src/test/regression/regression_20220211.rs constant REGRESSION_20220211_CONTRACT (line 7) | const REGRESSION_20220211_CONTRACT: &str = "regression_20220211.wasm"; constant REGRESSION_20220211_CALL_CONTRACT (line 8) | const REGRESSION_20220211_CALL_CONTRACT: &str = "regression_20220211_cal... constant RET_AS_CONTRACT (line 9) | const RET_AS_CONTRACT: &str = "ret_as_contract"; constant RET_AS_SESSION (line 10) | const RET_AS_SESSION: &str = "ret_as_contract"; constant PUT_KEY_AS_SESSION (line 11) | const PUT_KEY_AS_SESSION: &str = "put_key_as_session"; constant PUT_KEY_AS_CONTRACT (line 12) | const PUT_KEY_AS_CONTRACT: &str = "put_key_as_contract"; constant READ_AS_SESSION (line 13) | const READ_AS_SESSION: &str = "read_as_session"; constant READ_AS_CONTRACT (line 14) | const READ_AS_CONTRACT: &str = "read_as_contract"; constant WRITE_AS_SESSION (line 15) | const WRITE_AS_SESSION: &str = "write_as_session"; constant WRITE_AS_CONTRACT (line 16) | const WRITE_AS_CONTRACT: &str = "write_as_contract"; constant ADD_AS_SESSION (line 17) | const ADD_AS_SESSION: &str = "add_as_session"; constant ADD_AS_CONTRACT (line 18) | const ADD_AS_CONTRACT: &str = "add_as_contract"; constant ARG_ENTRYPOINT (line 19) | const ARG_ENTRYPOINT: &str = "entrypoint"; function regression_20220211_ret_as_contract (line 23) | fn regression_20220211_ret_as_contract() { function regression_20220211_ret_as_session (line 29) | fn regression_20220211_ret_as_session() { function setup (line 33) | fn setup() -> LmdbWasmTestBuilder { function test (line 47) | fn test(entrypoint: &str) { function regression_20220211_put_key_as_session (line 76) | fn regression_20220211_put_key_as_session() { function regression_20220211_put_key_as_contract (line 82) | fn regression_20220211_put_key_as_contract() { function regression_20220211_read_as_session (line 88) | fn regression_20220211_read_as_session() { function regression_20220211_read_as_contract (line 94) | fn regression_20220211_read_as_contract() { function regression_20220211_write_as_session (line 100) | fn regression_20220211_write_as_session() { function regression_20220211_write_as_contract (line 106) | fn regression_20220211_write_as_contract() { function regression_20220211_add_as_session (line 112) | fn regression_20220211_add_as_session() { function regression_20220211_add_as_contract (line 118) | fn regression_20220211_add_as_contract() { FILE: execution_engine_testing/tests/src/test/regression/regression_20220217.rs constant TRANSFER_TO_NAMED_PURSE_CONTRACT (line 8) | const TRANSFER_TO_NAMED_PURSE_CONTRACT: &str = "transfer_to_named_purse.... constant ACCOUNT_1_ADDR (line 10) | const ACCOUNT_1_ADDR: AccountHash = AccountHash::new([1u8; 32]); constant ARG_PURSE_NAME (line 11) | const ARG_PURSE_NAME: &str = "purse_name"; constant ARG_AMOUNT (line 12) | const ARG_AMOUNT: &str = "amount"; constant DEFAULT_PURSE_BALANCE (line 13) | const DEFAULT_PURSE_BALANCE: u64 = 1_000_000_000; constant PURSE_1 (line 14) | const PURSE_1: &str = "purse_1"; constant PURSE_2 (line 15) | const PURSE_2: &str = "purse_2"; constant ACCOUNT_1_PURSE (line 16) | const ACCOUNT_1_PURSE: &str = "purse_3"; function regression_20220217_transfer_mint_by_hash_from_main_purse (line 20) | fn regression_20220217_transfer_mint_by_hash_from_main_purse() { function regression_20220217_transfer_mint_by_package_hash_from_main_purse (line 64) | fn regression_20220217_transfer_mint_by_package_hash_from_main_purse() { function regression_20220217_mint_by_hash_transfer_from_other_purse (line 114) | fn regression_20220217_mint_by_hash_transfer_from_other_purse() { function regression_20220217_mint_by_hash_transfer_from_someones_purse (line 154) | fn regression_20220217_mint_by_hash_transfer_from_someones_purse() { function regression_20220217_should_not_transfer_funds_on_unrelated_purses (line 208) | fn regression_20220217_should_not_transfer_funds_on_unrelated_purses() { function setup (line 257) | fn setup() -> LmdbWasmTestBuilder { function regression_20220217_auction_add_bid_directly (line 302) | fn regression_20220217_auction_add_bid_directly() { function regression_20220217_ (line 346) | fn regression_20220217_() { function mint_by_hash_transfer_should_fail_because_lack_of_target_uref_access (line 390) | fn mint_by_hash_transfer_should_fail_because_lack_of_target_uref_access() { FILE: execution_engine_testing/tests/src/test/regression/regression_20220221.rs constant VALIDATOR_STAKE (line 14) | const VALIDATOR_STAKE: u64 = 1_000_000_000; constant DEFAULT_ACTIVATION_POINT (line 16) | const DEFAULT_ACTIVATION_POINT: EraId = EraId::new(1); constant OLD_PROTOCOL_VERSION (line 18) | const OLD_PROTOCOL_VERSION: ProtocolVersion = DEFAULT_PROTOCOL_VERSION; constant NEW_PROTOCOL_VERSION (line 19) | const NEW_PROTOCOL_VERSION: ProtocolVersion = ProtocolVersion::from_parts( function generate_secret_keys (line 25) | fn generate_secret_keys() -> impl Iterator { function generate_public_keys (line 34) | fn generate_public_keys() -> impl Iterator { function regression_20220221_should_distribute_to_many_validators (line 40) | fn regression_20220221_should_distribute_to_many_validators() { FILE: execution_engine_testing/tests/src/test/regression/regression_20220222.rs constant ALICE_ADDR (line 8) | const ALICE_ADDR: AccountHash = AccountHash::new([42; 32]); function regression_20220222_escalate (line 12) | fn regression_20220222_escalate() { FILE: execution_engine_testing/tests/src/test/regression/regression_20220223.rs constant CONTRACT_TRANSFER_TO_ACCOUNT (line 24) | const CONTRACT_TRANSFER_TO_ACCOUNT: &str = "transfer_to_account_u512.wasm"; constant CONTRACT_TRANSFER_TO_NAMED_PURSE (line 25) | const CONTRACT_TRANSFER_TO_NAMED_PURSE: &str = "transfer_to_named_purse.... constant CONTRACT_REGRESSION_ADD_BID (line 27) | const CONTRACT_REGRESSION_ADD_BID: &str = "regression_add_bid.wasm"; constant CONTRACT_ADD_BID (line 28) | const CONTRACT_ADD_BID: &str = "add_bid.wasm"; constant CONTRACT_REGRESSION_DELEGATE (line 30) | const CONTRACT_REGRESSION_DELEGATE: &str = "regression_delegate.wasm"; constant CONTRACT_DELEGATE (line 31) | const CONTRACT_DELEGATE: &str = "delegate.wasm"; constant CONTRACT_REGRESSION_TRANSFER (line 33) | const CONTRACT_REGRESSION_TRANSFER: &str = "regression_transfer.wasm"; constant ARG_TARGET (line 35) | const ARG_TARGET: &str = "target"; constant ARG_PURSE_NAME (line 36) | const ARG_PURSE_NAME: &str = "purse_name"; constant TEST_PURSE (line 37) | const TEST_PURSE: &str = "test_purse"; constant TRANSFER_AMOUNT (line 38) | const TRANSFER_AMOUNT: u64 = MINIMUM_ACCOUNT_CREATION_BALANCE + 1000; constant ADD_BID_AMOUNT_1 (line 39) | const ADD_BID_AMOUNT_1: u64 = 95_000; constant ADD_BID_DELEGATION_RATE_1 (line 40) | const ADD_BID_DELEGATION_RATE_1: DelegationRate = 10; constant DELEGATE_AMOUNT_1 (line 41) | const DELEGATE_AMOUNT_1: u64 = 125_000 + DEFAULT_MINIMUM_DELEGATION_AMOUNT; function should_fail_to_add_new_bid_over_the_approved_amount (line 52) | fn should_fail_to_add_new_bid_over_the_approved_amount() { function should_fail_to_add_into_existing_bid_over_the_approved_amount (line 82) | fn should_fail_to_add_into_existing_bid_over_the_approved_amount() { function should_fail_to_add_new_delegator_over_the_approved_amount (line 127) | fn should_fail_to_add_new_delegator_over_the_approved_amount() { function should_fail_to_update_existing_delegator_over_the_approved_amount (line 176) | fn should_fail_to_update_existing_delegator_over_the_approved_amount() { function should_fail_to_mint_transfer_over_the_limit (line 241) | fn should_fail_to_mint_transfer_over_the_limit() { function setup (line 279) | fn setup() -> LmdbWasmTestBuilder { FILE: execution_engine_testing/tests/src/test/regression/regression_20220224.rs constant CONTRACT_REGRESSION_PAYMENT (line 8) | const CONTRACT_REGRESSION_PAYMENT: &str = "regression_payment.wasm"; constant CONTRACT_REVERT (line 9) | const CONTRACT_REVERT: &str = "revert.wasm"; function should_not_transfer_above_approved_limit_in_payment_code (line 13) | fn should_not_transfer_above_approved_limit_in_payment_code() { FILE: execution_engine_testing/tests/src/test/regression/regression_20220303.rs constant DEFAULT_ACTIVATION_POINT (line 17) | const DEFAULT_ACTIVATION_POINT: EraId = EraId::new(1); function should_update_contract_metadata_at_upgrade_with_major_bump (line 21) | fn should_update_contract_metadata_at_upgrade_with_major_bump() { function should_update_contract_metadata_at_upgrade_with_minor_bump (line 27) | fn should_update_contract_metadata_at_upgrade_with_minor_bump() { function should_update_contract_metadata_at_upgrade_with_patch_bump (line 33) | fn should_update_contract_metadata_at_upgrade_with_patch_bump() { function test_upgrade_with_global_state_update_entries (line 39) | fn test_upgrade_with_global_state_update_entries() { function test_upgrade (line 43) | fn test_upgrade(major_bump: u32, minor_bump: u32, patch_bump: u32, upgra... function apply_global_state_update (line 126) | fn apply_global_state_update( FILE: execution_engine_testing/tests/src/test/regression/regression_20220727.rs constant OOM_INIT (line 23) | const OOM_INIT: (u32, Option) = (2805655325, None); constant FAILURE_ONE_ABOVE_LIMIT (line 24) | const FAILURE_ONE_ABOVE_LIMIT: (u32, Option) = (DEFAULT_MAX_TABLE_S... constant FAILURE_MAX_ABOVE_LIMIT (line 25) | const FAILURE_MAX_ABOVE_LIMIT: (u32, Option) = (DEFAULT_MAX_TABLE_S... constant FAILURE_INIT_ABOVE_LIMIT (line 26) | const FAILURE_INIT_ABOVE_LIMIT: (u32, Option) = constant ALLOWED_NO_MAX (line 28) | const ALLOWED_NO_MAX: (u32, Option) = (DEFAULT_MAX_TABLE_SIZE, None); constant ALLOWED_LIMITS (line 29) | const ALLOWED_LIMITS: (u32, Option) = (DEFAULT_MAX_TABLE_SIZE, Some... constant FAILING_BR_TABLE_SIZE (line 31) | const FAILING_BR_TABLE_SIZE: usize = DEFAULT_BR_TABLE_MAX_SIZE as usize ... constant FAILING_GLOBALS_SIZE (line 32) | const FAILING_GLOBALS_SIZE: usize = DEFAULT_MAX_PARAMETER_COUNT as usize... constant FAILING_PARAMS_COUNT (line 33) | const FAILING_PARAMS_COUNT: usize = DEFAULT_MAX_PARAMETER_COUNT as usize... function make_oom_payload (line 35) | fn make_oom_payload(initial: u32, maximum: Option) -> Vec { function should_not_oom (line 56) | fn should_not_oom() { function should_pass_table_validation (line 115) | fn should_pass_table_validation() { function should_pass_elem_section (line 136) | fn should_pass_elem_section() { function test_element_section (line 158) | fn test_element_section( function should_not_allow_more_than_one_table (line 246) | fn should_not_allow_more_than_one_table() { function make_arbitrary_br_table (line 303) | fn make_arbitrary_br_table(size: usize) -> Result, Box Result, Box u8 { type Fixture (line 31) | struct Fixture { method new (line 38) | fn new() -> Self { method execute_setup (line 52) | fn execute_setup(&mut self, session_args: RuntimeArgs) { method execute_with_timeout (line 66) | fn execute_with_timeout(self, session_args: RuntimeArgs, extra_auth_ke... function write_small (line 140) | fn write_small() { function write_large (line 150) | fn write_large() { function read_missing (line 160) | fn read_missing() { function read_small (line 170) | fn read_small() { function read_large (line 180) | fn read_large() { function add_small (line 190) | fn add_small() { function add_large (line 200) | fn add_large() { function new_uref_small (line 210) | fn new_uref_small() { function new_uref_large (line 220) | fn new_uref_large() { function call_contract_small_runtime_args (line 230) | fn call_contract_small_runtime_args() { function call_contract_large_runtime_args (line 240) | fn call_contract_large_runtime_args() { function get_key_small_name_missing_key (line 250) | fn get_key_small_name_missing_key() { function get_key_small_name_small_key (line 261) | fn get_key_small_name_small_key() { function get_key_small_name_large_key (line 272) | fn get_key_small_name_large_key() { function get_key_large_name_small_key (line 283) | fn get_key_large_name_small_key() { function get_key_large_name_large_key (line 294) | fn get_key_large_name_large_key() { function has_key_small_name_missing_key (line 305) | fn has_key_small_name_missing_key() { function has_key_small_name_existing_key (line 316) | fn has_key_small_name_existing_key() { function has_key_large_name_missing_key (line 327) | fn has_key_large_name_missing_key() { function has_key_large_name_existing_key (line 338) | fn has_key_large_name_existing_key() { function put_key_small_name_small_key (line 349) | fn put_key_small_name_small_key() { function put_key_small_name_large_key (line 361) | fn put_key_small_name_large_key() { function put_key_large_name_small_key (line 373) | fn put_key_large_name_small_key() { function put_key_large_name_large_key (line 385) | fn put_key_large_name_large_key() { function is_valid_uref_for_invalid (line 397) | fn is_valid_uref_for_invalid() { function is_valid_uref_for_valid (line 407) | fn is_valid_uref_for_valid() { function add_and_remove_associated_key (line 417) | fn add_and_remove_associated_key() { function add_associated_key_duplicated (line 427) | fn add_associated_key_duplicated() { function remove_associated_key_non_existent (line 437) | fn remove_associated_key_non_existent() { function update_associated_key_non_existent (line 444) | fn update_associated_key_non_existent() { function update_associated_key_existing (line 454) | fn update_associated_key_existing() { function set_action_threshold (line 464) | fn set_action_threshold() { function load_named_keys_empty (line 471) | fn load_named_keys_empty() { function load_named_keys_one_key_small_name (line 482) | fn load_named_keys_one_key_small_name() { function load_named_keys_one_key_large_name (line 501) | fn load_named_keys_one_key_large_name() { function load_named_keys_many_keys_small_name (line 520) | fn load_named_keys_many_keys_small_name() { function load_named_keys_many_keys_large_name (line 539) | fn load_named_keys_many_keys_large_name() { function remove_key_small_name (line 558) | fn remove_key_small_name() { function remove_key_large_name (line 568) | fn remove_key_large_name() { function get_caller (line 578) | fn get_caller() { function get_blocktime (line 585) | fn get_blocktime() { function create_purse (line 592) | fn create_purse() { function transfer_to_account_create_account (line 599) | fn transfer_to_account_create_account() { function transfer_to_account_existing_account (line 610) | fn transfer_to_account_existing_account() { function transfer_from_purse_to_account_create_account (line 621) | fn transfer_from_purse_to_account_create_account() { function transfer_from_purse_to_account_existing_account (line 632) | fn transfer_from_purse_to_account_existing_account() { function transfer_from_purse_to_purse (line 643) | fn transfer_from_purse_to_purse() { function get_balance_non_existent_purse (line 653) | fn get_balance_non_existent_purse() { function get_balance_existing_purse (line 663) | fn get_balance_existing_purse() { function get_phase (line 673) | fn get_phase() { function get_system_contract (line 680) | fn get_system_contract() { function get_main_purse (line 687) | fn get_main_purse() { function read_host_buffer_empty (line 694) | fn read_host_buffer_empty() { function create_contract_package_at_hash (line 701) | fn create_contract_package_at_hash() { function add_contract_version_no_entry_points_no_named_keys (line 708) | fn add_contract_version_no_entry_points_no_named_keys() { function add_contract_version_small_entry_points_small_named_keys (line 719) | fn add_contract_version_small_entry_points_small_named_keys() { function add_contract_version_small_entry_points_large_named_keys (line 730) | fn add_contract_version_small_entry_points_large_named_keys() { function add_contract_version_large_entry_points_small_named_keys (line 741) | fn add_contract_version_large_entry_points_small_named_keys() { function add_contract_version_large_entry_points_large_named_keys (line 752) | fn add_contract_version_large_entry_points_large_named_keys() { function disable_contract_version (line 763) | fn disable_contract_version() { function call_versioned_contract_small_runtime_args (line 770) | fn call_versioned_contract_small_runtime_args() { function call_versioned_contract_large_runtime_args (line 780) | fn call_versioned_contract_large_runtime_args() { function create_contract_user_group_small_label_no_new_urefs_no_existing_urefs (line 790) | fn create_contract_user_group_small_label_no_new_urefs_no_existing_urefs... function create_contract_user_group_small_label_no_new_urefs_few_existing_urefs (line 803) | fn create_contract_user_group_small_label_no_new_urefs_few_existing_uref... function create_contract_user_group_small_label_no_new_urefs_many_existing_urefs (line 816) | fn create_contract_user_group_small_label_no_new_urefs_many_existing_ure... function create_contract_user_group_small_label_few_new_urefs_no_existing_urefs (line 829) | fn create_contract_user_group_small_label_few_new_urefs_no_existing_uref... function create_contract_user_group_small_label_few_new_urefs_few_existing_urefs (line 842) | fn create_contract_user_group_small_label_few_new_urefs_few_existing_ure... function create_contract_user_group_small_label_few_new_urefs_many_existing_urefs (line 855) | fn create_contract_user_group_small_label_few_new_urefs_many_existing_ur... function create_contract_user_group_small_label_many_new_urefs_no_existing_urefs (line 868) | fn create_contract_user_group_small_label_many_new_urefs_no_existing_ure... function create_contract_user_group_small_label_many_new_urefs_few_existing_urefs (line 881) | fn create_contract_user_group_small_label_many_new_urefs_few_existing_ur... function create_contract_user_group_small_label_many_new_urefs_many_existing_urefs (line 894) | fn create_contract_user_group_small_label_many_new_urefs_many_existing_u... function create_contract_user_group_large_label_no_new_urefs_no_existing_urefs (line 907) | fn create_contract_user_group_large_label_no_new_urefs_no_existing_urefs... function create_contract_user_group_large_label_no_new_urefs_few_existing_urefs (line 920) | fn create_contract_user_group_large_label_no_new_urefs_few_existing_uref... function create_contract_user_group_large_label_no_new_urefs_many_existing_urefs (line 933) | fn create_contract_user_group_large_label_no_new_urefs_many_existing_ure... function create_contract_user_group_large_label_few_new_urefs_no_existing_urefs (line 946) | fn create_contract_user_group_large_label_few_new_urefs_no_existing_uref... function create_contract_user_group_large_label_few_new_urefs_few_existing_urefs (line 959) | fn create_contract_user_group_large_label_few_new_urefs_few_existing_ure... function create_contract_user_group_large_label_few_new_urefs_many_existing_urefs (line 972) | fn create_contract_user_group_large_label_few_new_urefs_many_existing_ur... function create_contract_user_group_large_label_many_new_urefs_no_existing_urefs (line 985) | fn create_contract_user_group_large_label_many_new_urefs_no_existing_ure... function create_contract_user_group_large_label_many_new_urefs_few_existing_urefs (line 998) | fn create_contract_user_group_large_label_many_new_urefs_few_existing_ur... function create_contract_user_group_large_label_many_new_urefs_many_existing_urefs (line 1011) | fn create_contract_user_group_large_label_many_new_urefs_many_existing_u... function create_contract_user_group_failure_max_urefs_exceeded (line 1024) | fn create_contract_user_group_failure_max_urefs_exceeded() { function create_contract_user_group_failure_max_groups_exceeded (line 1037) | fn create_contract_user_group_failure_max_groups_exceeded() { function get_runtime_arg_size_zero (line 1070) | fn get_runtime_arg_size_zero() { function get_runtime_arg_size_small (line 1080) | fn get_runtime_arg_size_small() { function get_runtime_arg_size_large (line 1090) | fn get_runtime_arg_size_large() { function get_runtime_arg_zero_size (line 1100) | fn get_runtime_arg_zero_size() { function get_runtime_arg_small_size (line 1110) | fn get_runtime_arg_small_size() { function get_runtime_arg_large_size (line 1120) | fn get_runtime_arg_large_size() { function remove_contract_user_group (line 1130) | fn remove_contract_user_group() { function extend_contract_user_group_urefs_and_remove_as_required (line 1137) | fn extend_contract_user_group_urefs_and_remove_as_required() { function extend_contract_user_group_urefs_failure_max_urefs_exceeded (line 1147) | fn extend_contract_user_group_urefs_failure_max_urefs_exceeded() { function remove_contract_user_group_urefs (line 1157) | fn remove_contract_user_group_urefs() { function blake2b_small (line 1164) | fn blake2b_small() { function blake2b_large (line 1174) | fn blake2b_large() { function new_dictionary (line 1184) | fn new_dictionary() { function dictionary_get_small_name_small_value (line 1191) | fn dictionary_get_small_name_small_value() { function dictionary_get_small_name_large_value (line 1202) | fn dictionary_get_small_name_large_value() { function dictionary_get_large_name_small_value (line 1213) | fn dictionary_get_large_name_small_value() { function dictionary_get_large_name_large_value (line 1224) | fn dictionary_get_large_name_large_value() { function dictionary_put_small_name_small_value (line 1235) | fn dictionary_put_small_name_small_value() { function dictionary_put_small_name_large_value (line 1246) | fn dictionary_put_small_name_large_value() { function dictionary_put_large_name_small_value (line 1257) | fn dictionary_put_large_name_small_value() { function dictionary_put_large_name_large_value (line 1268) | fn dictionary_put_large_name_large_value() { function load_call_stack (line 1279) | fn load_call_stack() { function load_authorization_keys_small (line 1286) | fn load_authorization_keys_small() { function load_authorization_keys_large (line 1296) | fn load_authorization_keys_large() { function random_bytes (line 1312) | fn random_bytes() { function dictionary_read_small_name_small_value (line 1319) | fn dictionary_read_small_name_small_value() { function dictionary_read_small_name_large_value (line 1330) | fn dictionary_read_small_name_large_value() { function dictionary_read_large_name_small_value (line 1341) | fn dictionary_read_large_name_small_value() { function dictionary_read_large_name_large_value (line 1352) | fn dictionary_read_large_name_large_value() { function enable_contract_version (line 1363) | fn enable_contract_version() { FILE: execution_engine_testing/tests/src/test/regression/regression_20250812.rs constant DO_NOTHING_CONTRACT (line 7) | const DO_NOTHING_CONTRACT: &str = "do_nothing_stored.wasm"; function should_correctly_install_and_add_contract_version_with_ae_turned_on (line 11) | fn should_correctly_install_and_add_contract_version_with_ae_turned_on() { FILE: execution_engine_testing/tests/src/test/regression/slow_input.rs function should_charge_extra_per_amount_of_br_table_elements (line 15) | fn should_charge_extra_per_amount_of_br_table_elements() { function cpu_burner_br_if (line 67) | fn cpu_burner_br_if(iterations: i64) -> Vec { function cpu_burner_br_table (line 111) | fn cpu_burner_br_table(iterations: i64) -> Vec { function fixed_cost_br_table (line 177) | fn fixed_cost_br_table(total_labels: usize, br_table_element_size: u32) ... FILE: execution_engine_testing/tests/src/test/regression/test_utils.rs function make_gas_counter_overflow (line 10) | pub(crate) fn make_gas_counter_overflow() -> Vec { function make_module_without_memory_section (line 44) | pub(crate) fn make_module_without_memory_section() -> Vec { function make_module_with_start_section (line 73) | pub(crate) fn make_module_with_start_section() -> Vec { FILE: execution_engine_testing/tests/src/test/regression/transforms_must_be_ordered.rs function contract_transforms_should_be_ordered_in_the_effects (line 17) | fn contract_transforms_should_be_ordered_in_the_effects() { FILE: execution_engine_testing/tests/src/test/stack_overflow.rs function runtime_stack_overflow_should_cause_unreachable_error (line 9) | fn runtime_stack_overflow_should_cause_unreachable_error() { FILE: execution_engine_testing/tests/src/test/step.rs constant ACCOUNT_1_BALANCE (line 24) | const ACCOUNT_1_BALANCE: u64 = 100_000_000; constant ACCOUNT_1_BOND (line 25) | const ACCOUNT_1_BOND: u64 = 100_000_000; constant ACCOUNT_2_BALANCE (line 31) | const ACCOUNT_2_BALANCE: u64 = 200_000_000; constant ACCOUNT_2_BOND (line 32) | const ACCOUNT_2_BOND: u64 = 200_000_000; function get_named_key (line 34) | fn get_named_key(builder: &mut LmdbWasmTestBuilder, entity_hash: EntityA... function initialize_builder (line 41) | fn initialize_builder() -> LmdbWasmTestBuilder { function should_step (line 74) | fn should_step() { function should_adjust_total_supply (line 126) | fn should_adjust_total_supply() { FILE: execution_engine_testing/tests/src/test/storage_costs.rs constant DEFAULT_ACTIVATION_POINT (line 25) | const DEFAULT_ACTIVATION_POINT: EraId = EraId::new(0); constant STORAGE_COSTS_NAME (line 26) | const STORAGE_COSTS_NAME: &str = "storage_costs.wasm"; constant SYSTEM_CONTRACT_HASHES_NAME (line 27) | const SYSTEM_CONTRACT_HASHES_NAME: &str = "system_contract_hashes.wasm"; constant DO_NOTHING_WASM (line 28) | const DO_NOTHING_WASM: &str = "do_nothing.wasm"; constant CONTRACT_KEY_NAME (line 29) | const CONTRACT_KEY_NAME: &str = "contract"; constant WRITE_FUNCTION_SMALL_NAME (line 31) | const WRITE_FUNCTION_SMALL_NAME: &str = "write_function_small"; constant WRITE_FUNCTION_LARGE_NAME (line 32) | const WRITE_FUNCTION_LARGE_NAME: &str = "write_function_large"; constant ADD_FUNCTION_SMALL_NAME (line 33) | const ADD_FUNCTION_SMALL_NAME: &str = "add_function_small"; constant ADD_FUNCTION_LARGE_NAME (line 34) | const ADD_FUNCTION_LARGE_NAME: &str = "add_function_large"; constant NEW_UREF_FUNCTION (line 35) | const NEW_UREF_FUNCTION: &str = "new_uref_function"; constant PUT_KEY_FUNCTION (line 36) | const PUT_KEY_FUNCTION: &str = "put_key_function"; constant REMOVE_KEY_FUNCTION (line 37) | const REMOVE_KEY_FUNCTION: &str = "remove_key_function"; constant CREATE_CONTRACT_PACKAGE_AT_HASH_FUNCTION (line 38) | const CREATE_CONTRACT_PACKAGE_AT_HASH_FUNCTION: &str = "create_contract_... constant CREATE_CONTRACT_USER_GROUP_FUNCTION_FUNCTION (line 39) | const CREATE_CONTRACT_USER_GROUP_FUNCTION_FUNCTION: &str = "create_contr... constant PROVISION_UREFS_FUNCTION (line 40) | const PROVISION_UREFS_FUNCTION: &str = "provision_urefs_function"; constant REMOVE_CONTRACT_USER_GROUP_FUNCTION (line 41) | const REMOVE_CONTRACT_USER_GROUP_FUNCTION: &str = "remove_contract_user_... constant NEW_UREF_SUBCALL_FUNCTION (line 42) | const NEW_UREF_SUBCALL_FUNCTION: &str = "new_uref_subcall"; constant WRITE_SMALL_VALUE (line 44) | const WRITE_SMALL_VALUE: &[u8] = b"1"; constant WRITE_LARGE_VALUE (line 45) | const WRITE_LARGE_VALUE: &[u8] = b"1111111111111111111111111111111111111... constant ADD_SMALL_VALUE (line 47) | const ADD_SMALL_VALUE: u64 = 1; constant ADD_LARGE_VALUE (line 48) | const ADD_LARGE_VALUE: u64 = u64::MAX; constant NEW_OPCODE_COSTS (line 50) | const NEW_OPCODE_COSTS: OpcodeCosts = OpcodeCosts { function initialize_isolated_storage_costs (line 124) | fn initialize_isolated_storage_costs() -> LmdbWasmTestBuilder { function should_verify_isolate_host_side_payment_code_is_free (line 153) | fn should_verify_isolate_host_side_payment_code_is_free() { function should_verify_isolated_auction_storage_is_free (line 186) | fn should_verify_isolated_auction_storage_is_free() { function should_measure_gas_cost_for_storage_usage_write (line 250) | fn should_measure_gas_cost_for_storage_usage_write() { function should_measure_unisolated_gas_cost_for_storage_usage_write (line 360) | fn should_measure_unisolated_gas_cost_for_storage_usage_write() { function should_measure_gas_cost_for_storage_usage_add (line 469) | fn should_measure_gas_cost_for_storage_usage_add() { function should_measure_unisolated_gas_cost_for_storage_usage_add (line 581) | fn should_measure_unisolated_gas_cost_for_storage_usage_add() { function should_verify_new_uref_storage_cost (line 692) | fn should_verify_new_uref_storage_cost() { function should_verify_put_key_is_charging_for_storage (line 737) | fn should_verify_put_key_is_charging_for_storage() { function should_verify_remove_key_is_not_charging_for_storage (line 784) | fn should_verify_remove_key_is_not_charging_for_storage() { function should_verify_create_contract_at_hash_is_charging_for_storage (line 830) | fn should_verify_create_contract_at_hash_is_charging_for_storage() { function should_verify_create_contract_user_group_is_charging_for_storage (line 875) | fn should_verify_create_contract_user_group_is_charging_for_storage() { function should_verify_subcall_new_uref_is_charging_for_storage (line 970) | fn should_verify_subcall_new_uref_is_charging_for_storage() { FILE: execution_engine_testing/tests/src/test/system_contracts/auction/bids.rs constant ARG_TARGET (line 43) | const ARG_TARGET: &str = "target"; constant CONTRACT_TRANSFER_TO_ACCOUNT (line 45) | const CONTRACT_TRANSFER_TO_ACCOUNT: &str = "transfer_to_account_u512.wasm"; constant CONTRACT_ACTIVATE_BID (line 46) | const CONTRACT_ACTIVATE_BID: &str = "activate_bid.wasm"; constant CONTRACT_ADD_BID (line 47) | const CONTRACT_ADD_BID: &str = "add_bid.wasm"; constant CONTRACT_WITHDRAW_BID (line 48) | const CONTRACT_WITHDRAW_BID: &str = "withdraw_bid.wasm"; constant CONTRACT_DELEGATE (line 49) | const CONTRACT_DELEGATE: &str = "delegate.wasm"; constant CONTRACT_UNDELEGATE (line 50) | const CONTRACT_UNDELEGATE: &str = "undelegate.wasm"; constant CONTRACT_REDELEGATE (line 51) | const CONTRACT_REDELEGATE: &str = "redelegate.wasm"; constant CONTRACT_CHANGE_BID_PUBLIC_KEY (line 52) | const CONTRACT_CHANGE_BID_PUBLIC_KEY: &str = "change_bid_public_key.wasm"; constant TRANSFER_AMOUNT (line 54) | const TRANSFER_AMOUNT: u64 = MINIMUM_ACCOUNT_CREATION_BALANCE + 1000; constant ADD_BID_AMOUNT_1 (line 56) | const ADD_BID_AMOUNT_1: u64 = 95_000; constant ADD_BID_AMOUNT_2 (line 57) | const ADD_BID_AMOUNT_2: u64 = 47_500; constant ADD_BID_AMOUNT_3 (line 58) | const ADD_BID_AMOUNT_3: u64 = 200_000; constant ADD_BID_DELEGATION_RATE_1 (line 59) | const ADD_BID_DELEGATION_RATE_1: DelegationRate = 10; constant BID_AMOUNT_2 (line 60) | const BID_AMOUNT_2: u64 = 5_000; constant ADD_BID_DELEGATION_RATE_2 (line 61) | const ADD_BID_DELEGATION_RATE_2: DelegationRate = 15; constant WITHDRAW_BID_AMOUNT_2 (line 62) | const WITHDRAW_BID_AMOUNT_2: u64 = 15_000; constant ADD_BID_DELEGATION_RATE_3 (line 63) | const ADD_BID_DELEGATION_RATE_3: DelegationRate = 20; constant DELEGATE_AMOUNT_1 (line 65) | const DELEGATE_AMOUNT_1: u64 = 125_000 + DEFAULT_MINIMUM_DELEGATION_AMOUNT; constant DELEGATE_AMOUNT_2 (line 66) | const DELEGATE_AMOUNT_2: u64 = 15_000 + DEFAULT_MINIMUM_DELEGATION_AMOUNT; constant UNDELEGATE_AMOUNT_1 (line 67) | const UNDELEGATE_AMOUNT_1: u64 = 35_000; constant UNDELEGATE_AMOUNT_2 (line 68) | const UNDELEGATE_AMOUNT_2: u64 = 5_000; constant SYSTEM_TRANSFER_AMOUNT (line 70) | const SYSTEM_TRANSFER_AMOUNT: u64 = MINIMUM_ACCOUNT_CREATION_BALANCE; constant WEEK_MILLIS (line 72) | const WEEK_MILLIS: u64 = 7 * 24 * 60 * 60 * 1000; constant ACCOUNT_1_BALANCE (line 100) | const ACCOUNT_1_BALANCE: u64 = MINIMUM_ACCOUNT_CREATION_BALANCE; constant ACCOUNT_1_BOND (line 101) | const ACCOUNT_1_BOND: u64 = 100_000; constant ACCOUNT_2_BALANCE (line 108) | const ACCOUNT_2_BALANCE: u64 = MINIMUM_ACCOUNT_CREATION_BALANCE; constant ACCOUNT_2_BOND (line 109) | const ACCOUNT_2_BOND: u64 = 200_000; constant BID_ACCOUNT_1_BALANCE (line 116) | const BID_ACCOUNT_1_BALANCE: u64 = MINIMUM_ACCOUNT_CREATION_BALANCE; constant BID_ACCOUNT_1_BOND (line 117) | const BID_ACCOUNT_1_BOND: u64 = 200_000; constant BID_ACCOUNT_2_BALANCE (line 124) | const BID_ACCOUNT_2_BALANCE: u64 = MINIMUM_ACCOUNT_CREATION_BALANCE; constant VALIDATOR_1_STAKE (line 141) | const VALIDATOR_1_STAKE: u64 = 1_000_000; constant DELEGATOR_1_STAKE (line 142) | const DELEGATOR_1_STAKE: u64 = 1_500_000 + DEFAULT_MINIMUM_DELEGATION_AM... constant DELEGATOR_1_BALANCE (line 143) | const DELEGATOR_1_BALANCE: u64 = DEFAULT_ACCOUNT_INITIAL_BALANCE; constant DELEGATOR_2_STAKE (line 144) | const DELEGATOR_2_STAKE: u64 = 2_000_000 + DEFAULT_MINIMUM_DELEGATION_AM... constant DELEGATOR_2_BALANCE (line 145) | const DELEGATOR_2_BALANCE: u64 = DEFAULT_ACCOUNT_INITIAL_BALANCE; constant VALIDATOR_1_DELEGATION_RATE (line 147) | const VALIDATOR_1_DELEGATION_RATE: DelegationRate = 0; constant EXPECTED_INITIAL_RELEASE_TIMESTAMP_MILLIS (line 149) | const EXPECTED_INITIAL_RELEASE_TIMESTAMP_MILLIS: u64 = constant WEEK_TIMESTAMPS (line 152) | const WEEK_TIMESTAMPS: [u64; 14] = [ constant DAY_MILLIS (line 169) | const DAY_MILLIS: u64 = 24 * 60 * 60 * 1000; constant CASPER_VESTING_SCHEDULE_PERIOD_MILLIS (line 170) | const CASPER_VESTING_SCHEDULE_PERIOD_MILLIS: u64 = 91 * DAY_MILLIS; constant CASPER_LOCKED_FUNDS_PERIOD_MILLIS (line 171) | const CASPER_LOCKED_FUNDS_PERIOD_MILLIS: u64 = 90 * DAY_MILLIS; function should_add_new_bid (line 175) | fn should_add_new_bid() { function should_add_new_bid_with_limits (line 219) | fn should_add_new_bid_with_limits() { function should_increase_existing_bid (line 280) | fn should_increase_existing_bid() { function should_decrease_existing_bid (line 339) | fn should_decrease_existing_bid() { function should_run_delegate_and_undelegate (line 411) | fn should_run_delegate_and_undelegate() { function should_run_delegate_with_delegation_amount_limits (line 611) | fn should_run_delegate_with_delegation_amount_limits() { function should_forcibly_undelegate_after_setting_validator_limits (line 707) | fn should_forcibly_undelegate_after_setting_validator_limits() { function should_not_allow_delegator_stake_range_during_vesting (line 925) | fn should_not_allow_delegator_stake_range_during_vesting() { function should_allow_delegator_stake_range_change_if_no_vesting (line 984) | fn should_allow_delegator_stake_range_change_if_no_vesting() { function should_calculate_era_validators (line 1039) | fn should_calculate_era_validators() { function should_get_first_seigniorage_recipients (line 1207) | fn should_get_first_seigniorage_recipients() { function should_release_founder_stake (line 1325) | fn should_release_founder_stake() { function should_fail_to_get_era_validators (line 1528) | fn should_fail_to_get_era_validators() { function should_use_era_validators_endpoint_for_first_era (line 1558) | fn should_use_era_validators_endpoint_for_first_era() { function should_calculate_era_validators_multiple_new_bids (line 1593) | fn should_calculate_era_validators_multiple_new_bids() { function undelegated_funds_should_be_released (line 1739) | fn undelegated_funds_should_be_released() { function fully_undelegated_funds_should_be_released (line 1863) | fn fully_undelegated_funds_should_be_released() { function should_undelegate_delegators_when_validator_unbonds (line 1989) | fn should_undelegate_delegators_when_validator_unbonds() { function should_undelegate_delegators_when_validator_fully_unbonds (line 2245) | fn should_undelegate_delegators_when_validator_fully_unbonds() { function should_undelegate_delegators_when_validator_unbonds_below_minimum_bid_amount (line 2442) | fn should_undelegate_delegators_when_validator_unbonds_below_minimum_bid... function should_handle_evictions (line 2641) | fn should_handle_evictions() { function should_validate_orphaned_genesis_delegators (line 2820) | fn should_validate_orphaned_genesis_delegators() { function should_validate_duplicated_genesis_delegators (line 2871) | fn should_validate_duplicated_genesis_delegators() { function should_validate_delegation_rate_of_genesis_validator (line 2926) | fn should_validate_delegation_rate_of_genesis_validator() { function should_validate_bond_amount_of_genesis_validator (line 2951) | fn should_validate_bond_amount_of_genesis_validator() { function should_setup_genesis_delegators (line 2972) | fn should_setup_genesis_delegators() { function should_not_partially_undelegate_uninitialized_vesting_schedule (line 3048) | fn should_not_partially_undelegate_uninitialized_vesting_schedule() { function should_not_fully_undelegate_uninitialized_vesting_schedule (line 3118) | fn should_not_fully_undelegate_uninitialized_vesting_schedule() { function should_not_undelegate_vfta_holder_stake (line 3188) | fn should_not_undelegate_vfta_holder_stake() { function should_release_vfta_holder_stake (line 3315) | fn should_release_vfta_holder_stake() { function should_reset_delegators_stake_after_slashing (line 3568) | fn should_reset_delegators_stake_after_slashing() { function should_validate_genesis_delegators_bond_amount (line 3813) | fn should_validate_genesis_delegators_bond_amount() { function check_validator_slots_for_accounts (line 3848) | fn check_validator_slots_for_accounts(accounts: usize) { function should_fail_with_more_accounts_than_slots (line 3885) | fn should_fail_with_more_accounts_than_slots() { function should_run_genesis_with_exact_validator_slots (line 3891) | fn should_run_genesis_with_exact_validator_slots() { function should_delegate_and_redelegate (line 3897) | fn should_delegate_and_redelegate() { function should_handle_redelegation_to_inactive_validator (line 4074) | fn should_handle_redelegation_to_inactive_validator() { function should_enforce_minimum_delegation_amount (line 4204) | fn should_enforce_minimum_delegation_amount() { function should_allow_delegations_with_minimal_floor_amount (line 4285) | fn should_allow_delegations_with_minimal_floor_amount() { function should_enforce_max_delegators_per_validator_cap (line 4395) | fn should_enforce_max_delegators_per_validator_cap() { function should_transfer_to_main_purse_in_case_of_redelegation_past_max_delegation_cap (line 4589) | fn should_transfer_to_main_purse_in_case_of_redelegation_past_max_delega... function should_delegate_and_redelegate_with_eviction_regression_test (line 4748) | fn should_delegate_and_redelegate_with_eviction_regression_test() { function should_increase_existing_delegation_when_limit_exceeded (line 4880) | fn should_increase_existing_delegation_when_limit_exceeded() { function should_fail_bid_public_key_change_if_conflicting_validator_bid_exists (line 5035) | fn should_fail_bid_public_key_change_if_conflicting_validator_bid_exists... function should_change_validator_bid_public_key (line 5150) | fn should_change_validator_bid_public_key() { function should_handle_excessively_long_bridge_record_chains (line 5489) | fn should_handle_excessively_long_bridge_record_chains() { function credits_are_considered_when_determining_validators (line 5792) | fn credits_are_considered_when_determining_validators() { function should_mark_bids_with_less_than_minimum_bid_amount_as_inactive_via_upgrade (line 5923) | fn should_mark_bids_with_less_than_minimum_bid_amount_as_inactive_via_up... function should_correctly_allow_validator_to_change_delegator_min_max_limits (line 5967) | fn should_correctly_allow_validator_to_change_delegator_min_max_limits() { function protocol_upgrade_corrects_out_of_bound_delegations_for_validators (line 6143) | fn protocol_upgrade_corrects_out_of_bound_delegations_for_validators() { FILE: execution_engine_testing/tests/src/test/system_contracts/auction/distribute.rs constant ARG_ENTRY_POINT (line 32) | const ARG_ENTRY_POINT: &str = "entry_point"; constant ARG_TARGET (line 33) | const ARG_TARGET: &str = "target"; constant CONTRACT_TRANSFER_TO_ACCOUNT (line 35) | const CONTRACT_TRANSFER_TO_ACCOUNT: &str = "transfer_to_account_u512.wasm"; constant CONTRACT_ADD_BID (line 36) | const CONTRACT_ADD_BID: &str = "add_bid.wasm"; constant CONTRACT_DELEGATE (line 37) | const CONTRACT_DELEGATE: &str = "delegate.wasm"; constant TRANSFER_AMOUNT (line 38) | const TRANSFER_AMOUNT: u64 = MINIMUM_ACCOUNT_CREATION_BALANCE; function get_delegator_bid (line 78) | fn get_delegator_bid( function withdraw_bid (line 87) | fn withdraw_bid( function undelegate (line 108) | fn undelegate( function should_distribute_delegation_rate_zero (line 133) | fn should_distribute_delegation_rate_zero() { function should_withdraw_bids_after_distribute (line 399) | fn should_withdraw_bids_after_distribute() { function should_distribute_rewards_after_restaking_delegated_funds (line 708) | fn should_distribute_rewards_after_restaking_delegated_funds() { function should_distribute_delegation_rate_half (line 1032) | fn should_distribute_delegation_rate_half() { function should_distribute_delegation_rate_full (line 1263) | fn should_distribute_delegation_rate_full() { function should_distribute_uneven_delegation_rate_zero (line 1448) | fn should_distribute_uneven_delegation_rate_zero() { function should_distribute_uneven_delegation_rate_zero_with_sustain_turned_on (line 1678) | fn should_distribute_uneven_delegation_rate_zero_with_sustain_turned_on() { function should_distribute_with_multiple_validators_and_delegators (line 1948) | fn should_distribute_with_multiple_validators_and_delegators() { function should_distribute_with_multiple_validators_and_shared_delegator_with_sustain_on (line 2284) | fn should_distribute_with_multiple_validators_and_shared_delegator_with_... function should_distribute_with_multiple_validators_and_shared_delegator (line 2653) | fn should_distribute_with_multiple_validators_and_shared_delegator() { function should_increase_total_supply_after_distribute (line 3007) | fn should_increase_total_supply_after_distribute() { function should_not_create_purses_during_distribute (line 3235) | fn should_not_create_purses_during_distribute() { function should_distribute_delegation_rate_full_after_upgrading (line 3420) | fn should_distribute_delegation_rate_full_after_upgrading() { function should_not_restake_after_full_unbond (line 3688) | fn should_not_restake_after_full_unbond() { function delegator_full_unbond_during_first_reward_era (line 3815) | fn delegator_full_unbond_during_first_reward_era() { FILE: execution_engine_testing/tests/src/test/system_contracts/auction/mod.rs constant STORED_STAKING_CONTRACT_NAME (line 15) | const STORED_STAKING_CONTRACT_NAME: &str = "staking_stored.wasm"; function get_validator_bid (line 21) | fn get_validator_bid( function get_delegator_staked_amount (line 29) | pub fn get_delegator_staked_amount( function get_era_info (line 43) | pub fn get_era_info(builder: &mut LmdbWasmTestBuilder) -> EraInfo { function should_support_contract_staking (line 56) | fn should_support_contract_staking() { function should_not_enforce_max_spending_when_main_purse_not_in_use (line 387) | fn should_not_enforce_max_spending_when_main_purse_not_in_use() { function should_read_bid_with_vesting_schedule_populated (line 541) | fn should_read_bid_with_vesting_schedule_populated() { FILE: execution_engine_testing/tests/src/test/system_contracts/auction/reservations.rs constant ARG_TARGET (line 34) | const ARG_TARGET: &str = "target"; constant CONTRACT_TRANSFER_TO_ACCOUNT (line 36) | const CONTRACT_TRANSFER_TO_ACCOUNT: &str = "transfer_to_account_u512.wasm"; constant CONTRACT_ADD_BID (line 37) | const CONTRACT_ADD_BID: &str = "add_bid.wasm"; constant CONTRACT_DELEGATE (line 38) | const CONTRACT_DELEGATE: &str = "delegate.wasm"; constant CONTRACT_UNDELEGATE (line 39) | const CONTRACT_UNDELEGATE: &str = "undelegate.wasm"; constant CONTRACT_ADD_RESERVATIONS (line 40) | const CONTRACT_ADD_RESERVATIONS: &str = "add_reservations.wasm"; constant CONTRACT_CANCEL_RESERVATIONS (line 41) | const CONTRACT_CANCEL_RESERVATIONS: &str = "cancel_reservations.wasm"; constant ADD_BID_AMOUNT_1 (line 43) | const ADD_BID_AMOUNT_1: u64 = 1_000_000_000_000; constant ADD_BID_RESERVED_SLOTS (line 44) | const ADD_BID_RESERVED_SLOTS: u32 = 1; constant VALIDATOR_1_DELEGATION_RATE (line 73) | const VALIDATOR_1_DELEGATION_RATE: DelegationRate = 10; constant VALIDATOR_1_RESERVATION_DELEGATION_RATE (line 74) | const VALIDATOR_1_RESERVATION_DELEGATION_RATE: DelegationRate = 20; function setup_accounts (line 77) | fn setup_accounts(max_delegators_per_validator: u32) -> LmdbWasmTestBuil... function setup_validator_bid (line 153) | fn setup_validator_bid(builder: &mut LmdbWasmTestBuilder, reserved_slots... function should_enforce_max_delegators_per_validator_with_reserved_slots (line 188) | fn should_enforce_max_delegators_per_validator_with_reserved_slots() { function should_allow_validator_to_reserve_all_delegator_slots (line 340) | fn should_allow_validator_to_reserve_all_delegator_slots() { function should_not_allow_validator_to_reserve_more_slots_than_free_delegator_slots (line 386) | fn should_not_allow_validator_to_reserve_more_slots_than_free_delegator_... function should_not_allow_validator_to_reduce_number_of_reserved_spots_if_they_are_occupied (line 430) | fn should_not_allow_validator_to_reduce_number_of_reserved_spots_if_they... function should_not_allow_validator_to_remove_active_reservation_if_there_are_no_free_delegator_slots (line 535) | fn should_not_allow_validator_to_remove_active_reservation_if_there_are_... function should_handle_reserved_slots (line 622) | fn should_handle_reserved_slots() { function should_update_reservation_delegation_rate (line 728) | fn should_update_reservation_delegation_rate() { function should_distribute_rewards_with_reserved_slots (line 804) | fn should_distribute_rewards_with_reserved_slots() { FILE: execution_engine_testing/tests/src/test/system_contracts/auction_bidding.rs constant CONTRACT_TRANSFER_TO_ACCOUNT (line 27) | const CONTRACT_TRANSFER_TO_ACCOUNT: &str = "transfer_to_account_u512.wasm"; constant CONTRACT_ADD_BID (line 28) | const CONTRACT_ADD_BID: &str = "add_bid.wasm"; constant CONTRACT_WITHDRAW_BID (line 29) | const CONTRACT_WITHDRAW_BID: &str = "withdraw_bid.wasm"; constant GENESIS_VALIDATOR_STAKE (line 31) | const GENESIS_VALIDATOR_STAKE: u64 = 50_000; constant GENESIS_ACCOUNT_STAKE (line 32) | const GENESIS_ACCOUNT_STAKE: u64 = 100_000; constant TRANSFER_AMOUNT (line 33) | const TRANSFER_AMOUNT: u64 = MINIMUM_ACCOUNT_CREATION_BALANCE; constant ARG_AMOUNT (line 35) | const ARG_AMOUNT: &str = "amount"; constant ARG_PUBLIC_KEY (line 36) | const ARG_PUBLIC_KEY: &str = "public_key"; constant ARG_DELEGATION_RATE (line 37) | const ARG_DELEGATION_RATE: &str = "delegation_rate"; constant DELEGATION_RATE (line 39) | const DELEGATION_RATE: DelegationRate = 42; function should_run_successful_bond_and_unbond_and_slashing (line 43) | fn should_run_successful_bond_and_unbond_and_slashing() { function should_fail_bonding_with_insufficient_funds_directly (line 191) | fn should_fail_bonding_with_insufficient_funds_directly() { function should_fail_unbonding_validator_with_locked_funds (line 245) | fn should_fail_unbonding_validator_with_locked_funds() { function should_fail_unbonding_validator_without_bonding_first (line 299) | fn should_fail_unbonding_validator_without_bonding_first() { function should_run_successful_bond_and_unbond_with_release (line 330) | fn should_run_successful_bond_and_unbond_with_release() { function should_run_successful_unbond_funds_after_changing_unbonding_delay (line 480) | fn should_run_successful_unbond_funds_after_changing_unbonding_delay() { FILE: execution_engine_testing/tests/src/test/system_contracts/genesis.rs constant GENESIS_CONFIG_HASH (line 17) | const GENESIS_CONFIG_HASH: [u8; 32] = [127; 32]; constant ACCOUNT_1_BONDED_AMOUNT (line 18) | const ACCOUNT_1_BONDED_AMOUNT: u64 = 1_000_000; constant ACCOUNT_2_BONDED_AMOUNT (line 19) | const ACCOUNT_2_BONDED_AMOUNT: u64 = 2_000_000; constant ACCOUNT_1_BALANCE (line 20) | const ACCOUNT_1_BALANCE: u64 = 1_000_000_000; constant ACCOUNT_2_BALANCE (line 21) | const ACCOUNT_2_BALANCE: u64 = 2_000_000_000; constant ACCOUNT_3_BONDED_AMOUNT (line 23) | const ACCOUNT_3_BONDED_AMOUNT: u64 = 3_000_000; constant ACCOUNT_3_BALANCE (line 25) | const ACCOUNT_3_BALANCE: u64 = 3_000_000_000; function should_run_genesis (line 84) | fn should_run_genesis() { function should_track_total_token_supply_in_mint (line 140) | fn should_track_total_token_supply_in_mint() { function should_track_total_token_supply_in_mint_with_enable_addressable_entity (line 146) | fn should_track_total_token_supply_in_mint_with_enable_addressable_entit... function should_track_total_token (line 150) | fn should_track_total_token(enable_ae: bool) { FILE: execution_engine_testing/tests/src/test/system_contracts/handle_payment/finalize_payment.rs constant CONTRACT_FINALIZE_PAYMENT (line 9) | const CONTRACT_FINALIZE_PAYMENT: &str = "finalize_payment.wasm"; constant CONTRACT_TRANSFER_PURSE_TO_ACCOUNT (line 10) | const CONTRACT_TRANSFER_PURSE_TO_ACCOUNT: &str = "transfer_purse_to_acco... constant FINALIZE_PAYMENT (line 11) | const FINALIZE_PAYMENT: &str = "finalize_payment.wasm"; constant LOCAL_REFUND_PURSE (line 12) | const LOCAL_REFUND_PURSE: &str = "local_refund_purse"; constant CREATE_PURSE_01 (line 14) | const CREATE_PURSE_01: &str = "create_purse_01.wasm"; constant ARG_PURSE_NAME (line 15) | const ARG_PURSE_NAME: &str = "purse_name"; constant ACCOUNT_ADDR (line 17) | const ACCOUNT_ADDR: AccountHash = AccountHash::new([1u8; 32]); constant ARG_AMOUNT (line 18) | pub const ARG_AMOUNT: &str = "amount"; constant ARG_AMOUNT_SPENT (line 19) | pub const ARG_AMOUNT_SPENT: &str = "amount_spent"; constant ARG_REFUND_FLAG (line 20) | pub const ARG_REFUND_FLAG: &str = "refund"; constant ARG_ACCOUNT_KEY (line 21) | pub const ARG_ACCOUNT_KEY: &str = "account"; constant ARG_TARGET (line 22) | pub const ARG_TARGET: &str = "target"; function initialize (line 24) | fn initialize() -> LmdbWasmTestBuilder { function finalize_payment_should_not_be_run_by_non_system_accounts (line 55) | fn finalize_payment_should_not_be_run_by_non_system_accounts() { function finalize_payment_should_refund_to_specified_purse (line 84) | fn finalize_payment_should_refund_to_specified_purse() { function get_handle_payment_payment_purse_balance (line 178) | fn get_handle_payment_payment_purse_balance(builder: &LmdbWasmTestBuilde... function get_handle_payment_refund_purse (line 184) | fn get_handle_payment_refund_purse(builder: &LmdbWasmTestBuilder) -> Opt... function get_payment_purse_by_name (line 192) | fn get_payment_purse_by_name(builder: &LmdbWasmTestBuilder, purse_name: ... function get_named_account_balance (line 201) | fn get_named_account_balance( FILE: execution_engine_testing/tests/src/test/system_contracts/handle_payment/get_payment_purse.rs constant CONTRACT_GET_PAYMENT_PURSE (line 7) | const CONTRACT_GET_PAYMENT_PURSE: &str = "get_payment_purse.wasm"; constant CONTRACT_TRANSFER_PURSE_TO_ACCOUNT (line 8) | const CONTRACT_TRANSFER_PURSE_TO_ACCOUNT: &str = "transfer_purse_to_acco... constant ACCOUNT_1_ADDR (line 9) | const ACCOUNT_1_ADDR: AccountHash = AccountHash::new([1u8; 32]); constant ACCOUNT_1_INITIAL_BALANCE (line 10) | const ACCOUNT_1_INITIAL_BALANCE: u64 = MINIMUM_ACCOUNT_CREATION_BALANCE; constant ARG_AMOUNT (line 11) | const ARG_AMOUNT: &str = "amount"; constant ARG_TARGET (line 12) | const ARG_TARGET: &str = "target"; function should_run_get_payment_purse_contract_default_account (line 17) | fn should_run_get_payment_purse_contract_default_account() { function should_run_get_payment_purse_contract_account_1 (line 36) | fn should_run_get_payment_purse_contract_account_1() { FILE: execution_engine_testing/tests/src/test/system_contracts/handle_payment/refund_purse.rs constant CONTRACT_TRANSFER_PURSE_TO_ACCOUNT (line 7) | const CONTRACT_TRANSFER_PURSE_TO_ACCOUNT: &str = "transfer_purse_to_acco... constant ACCOUNT_1_ADDR (line 8) | const ACCOUNT_1_ADDR: AccountHash = AccountHash::new([1u8; 32]); constant ARG_PAYMENT_AMOUNT (line 9) | const ARG_PAYMENT_AMOUNT: &str = "payment_amount"; constant CREATE_PURSE_01 (line 10) | const CREATE_PURSE_01: &str = "create_purse_01.wasm"; constant ARG_PURSE_NAME (line 11) | const ARG_PURSE_NAME: &str = "purse_name"; constant ARG_PURSE_NAME_1 (line 12) | const ARG_PURSE_NAME_1: &str = "purse_name_1"; constant ARG_PURSE_NAME_2 (line 13) | const ARG_PURSE_NAME_2: &str = "purse_name_2"; constant LOCAL_REFUND_PURSE_1 (line 14) | const LOCAL_REFUND_PURSE_1: &str = "local_refund_purse_1"; constant LOCAL_REFUND_PURSE_2 (line 15) | const LOCAL_REFUND_PURSE_2: &str = "local_refund_purse_2"; function should_run_refund_purse_contract_default_account (line 19) | fn should_run_refund_purse_contract_default_account() { function should_run_refund_purse_contract_account_1 (line 26) | fn should_run_refund_purse_contract_account_1() { function initialize (line 36) | fn initialize() -> LmdbWasmTestBuilder { function transfer (line 44) | fn transfer(builder: &mut LmdbWasmTestBuilder, account_hash: AccountHash... function refund_tests (line 60) | fn refund_tests(builder: &mut LmdbWasmTestBuilder, account_hash: Account... FILE: execution_engine_testing/tests/src/test/system_contracts/mint.rs constant CONTRACT_BURN (line 11) | const CONTRACT_BURN: &str = "burn.wasm"; constant CONTRACT_TRANSFER_TO_NAMED_PURSE (line 12) | const CONTRACT_TRANSFER_TO_NAMED_PURSE: &str = "transfer_to_named_purse.... constant ARG_AMOUNT (line 14) | const ARG_AMOUNT: &str = "amount"; constant ARG_PURSE_NAME (line 16) | const ARG_PURSE_NAME: &str = "purse_name"; function should_empty_purse_when_burning_above_balance (line 20) | fn should_empty_purse_when_burning_above_balance() { function should_not_burn_excess_tokens (line 144) | fn should_not_burn_excess_tokens() { FILE: execution_engine_testing/tests/src/test/system_contracts/standard_payment.rs constant ACCOUNT_1_ADDR (line 15) | const ACCOUNT_1_ADDR: AccountHash = AccountHash::new([42u8; 32]); constant DO_NOTHING_WASM (line 16) | const DO_NOTHING_WASM: &str = "do_nothing.wasm"; constant TRANSFER_PURSE_TO_ACCOUNT_WASM (line 17) | const TRANSFER_PURSE_TO_ACCOUNT_WASM: &str = "transfer_purse_to_account.... constant REVERT_WASM (line 18) | const REVERT_WASM: &str = "revert.wasm"; constant ARG_AMOUNT (line 19) | const ARG_AMOUNT: &str = "amount"; constant ARG_TARGET (line 20) | const ARG_TARGET: &str = "target"; function should_forward_payment_execution_runtime_error (line 24) | fn should_forward_payment_execution_runtime_error() { function independent_standard_payments_should_not_write_the_same_keys (line 57) | fn independent_standard_payments_should_not_write_the_same_keys() { FILE: execution_engine_testing/tests/src/test/system_contracts/upgrade.rs constant PROTOCOL_VERSION (line 32) | const PROTOCOL_VERSION: ProtocolVersion = ProtocolVersion::V1_0_0; constant DEFAULT_ACTIVATION_POINT (line 33) | const DEFAULT_ACTIVATION_POINT: EraId = EraId::new(1); constant ARG_ACCOUNT (line 34) | const ARG_ACCOUNT: &str = "account"; function should_upgrade_only_protocol_version (line 38) | fn should_upgrade_only_protocol_version() { function should_allow_only_wasm_costs_patch_version (line 72) | fn should_allow_only_wasm_costs_patch_version() { function should_allow_only_wasm_costs_minor_version (line 106) | fn should_allow_only_wasm_costs_minor_version() { function should_not_downgrade (line 144) | fn should_not_downgrade() { function should_not_skip_major_versions (line 186) | fn should_not_skip_major_versions() { function should_allow_skip_minor_versions (line 213) | fn should_allow_skip_minor_versions() { function should_upgrade_only_validator_slots (line 241) | fn should_upgrade_only_validator_slots() { function should_upgrade_only_auction_delay (line 298) | fn should_upgrade_only_auction_delay() { function should_upgrade_only_locked_funds_period (line 355) | fn should_upgrade_only_locked_funds_period() { function should_upgrade_only_round_seigniorage_rate (line 412) | fn should_upgrade_only_round_seigniorage_rate() { function should_upgrade_only_unbonding_delay (line 473) | fn should_upgrade_only_unbonding_delay() { function should_apply_global_state_upgrade (line 532) | fn should_apply_global_state_upgrade() { function should_increase_max_associated_keys_after_upgrade (line 598) | fn should_increase_max_associated_keys_after_upgrade() { function should_correctly_migrate_and_prune_system_contract_records (line 667) | fn should_correctly_migrate_and_prune_system_contract_records() { function should_not_migrate_bids_with_invalid_min_max_delegation_amounts (line 720) | fn should_not_migrate_bids_with_invalid_min_max_delegation_amounts() { function should_upgrade_legacy_accounts (line 745) | fn should_upgrade_legacy_accounts() { function should_migrate_seigniorage_snapshot_to_new_version (line 788) | fn should_migrate_seigniorage_snapshot_to_new_version() { function should_store_and_upgrade_minimum_delegation_rate_named_key (line 895) | fn should_store_and_upgrade_minimum_delegation_rate_named_key() { FILE: execution_engine_testing/tests/src/test/system_costs.rs constant SYSTEM_CONTRACT_HASHES_NAME (line 27) | const SYSTEM_CONTRACT_HASHES_NAME: &str = "system_contract_hashes.wasm"; constant CONTRACT_ADD_BID (line 28) | const CONTRACT_ADD_BID: &str = "add_bid.wasm"; constant CONTRACT_TRANSFER_TO_NAMED_PURSE (line 29) | const CONTRACT_TRANSFER_TO_NAMED_PURSE: &str = "transfer_to_named_purse.... constant VALIDATOR_1_STAKE (line 34) | const VALIDATOR_1_STAKE: u64 = 250_000; constant BOND_AMOUNT (line 38) | const BOND_AMOUNT: u64 = DEFAULT_MINIMUM_BID_AMOUNT + 42; constant BID_AMOUNT (line 39) | const BID_AMOUNT: u64 = 99 + DEFAULT_MINIMUM_DELEGATION_AMOUNT; constant TRANSFER_AMOUNT (line 40) | const TRANSFER_AMOUNT: u64 = 123; constant BID_DELEGATION_RATE (line 41) | const BID_DELEGATION_RATE: DelegationRate = auction::DELEGATION_RATE_DEN... constant UPDATED_CALL_CONTRACT_COST (line 42) | const UPDATED_CALL_CONTRACT_COST: HostFunctionCost = 12_345; constant NEW_ADD_BID_COST (line 43) | const NEW_ADD_BID_COST: u64 = 2_500_000_000; constant NEW_WITHDRAW_BID_COST (line 44) | const NEW_WITHDRAW_BID_COST: u32 = 2_500_000_000; constant NEW_DELEGATE_COST (line 45) | const NEW_DELEGATE_COST: u32 = 2_500_000_000; constant NEW_UNDELEGATE_COST (line 46) | const NEW_UNDELEGATE_COST: u32 = NEW_DELEGATE_COST; constant NEW_REDELEGATE_COST (line 47) | const NEW_REDELEGATE_COST: u32 = NEW_DELEGATE_COST; constant DEFAULT_ACTIVATION_POINT (line 48) | const DEFAULT_ACTIVATION_POINT: EraId = EraId::new(1); constant OLD_PROTOCOL_VERSION (line 50) | const OLD_PROTOCOL_VERSION: ProtocolVersion = DEFAULT_PROTOCOL_VERSION; constant NEW_PROTOCOL_VERSION (line 51) | const NEW_PROTOCOL_VERSION: ProtocolVersion = ProtocolVersion::from_parts( constant ARG_PURSE_NAME (line 57) | const ARG_PURSE_NAME: &str = "purse_name"; constant NAMED_PURSE_NAME (line 58) | const NAMED_PURSE_NAME: &str = "purse_1"; constant ARG_AMOUNT (line 59) | const ARG_AMOUNT: &str = "amount"; function add_bid_and_withdraw_bid_have_expected_costs (line 63) | fn add_bid_and_withdraw_bid_have_expected_costs() { function upgraded_add_bid_and_withdraw_bid_have_expected_costs (line 156) | fn upgraded_add_bid_and_withdraw_bid_have_expected_costs() { function delegate_and_undelegate_have_expected_costs (line 256) | fn delegate_and_undelegate_have_expected_costs() { function upgraded_delegate_and_undelegate_have_expected_costs (line 400) | fn upgraded_delegate_and_undelegate_have_expected_costs() { function mint_transfer_has_expected_costs (line 551) | fn mint_transfer_has_expected_costs() { function should_charge_for_erroneous_system_contract_calls (line 619) | fn should_charge_for_erroneous_system_contract_calls() { function should_verify_do_nothing_charges_only_for_standard_payment (line 755) | fn should_verify_do_nothing_charges_only_for_standard_payment() { function should_verify_wasm_add_bid_wasm_cost_is_not_recursive (line 793) | fn should_verify_wasm_add_bid_wasm_cost_is_not_recursive() { FILE: execution_engine_testing/tests/src/test/tutorial/counter.rs constant COUNT_KEY (line 6) | const COUNT_KEY: &str = "count"; constant COUNTER_INSTALLER_WASM (line 7) | const COUNTER_INSTALLER_WASM: &str = "counter_installer.wasm"; constant INCREMENT_COUNTER_WASM (line 8) | const INCREMENT_COUNTER_WASM: &str = "increment_counter.wasm"; constant COUNTER_KEY (line 9) | const COUNTER_KEY: &str = "counter"; function should_run_counter_example (line 13) | fn should_run_counter_example() { FILE: execution_engine_testing/tests/src/test/tutorial/hello_world.rs constant HELLO_WORLD_CONTRACT (line 6) | const HELLO_WORLD_CONTRACT: &str = "hello_world.wasm"; constant KEY (line 7) | const KEY: &str = "special_value"; constant ARG_MESSAGE (line 8) | const ARG_MESSAGE: &str = "message"; constant MESSAGE_VALUE (line 9) | const MESSAGE_VALUE: &str = "Hello, world!"; function should_run_hello_world (line 13) | fn should_run_hello_world() { FILE: execution_engine_testing/tests/src/test/upgrade.rs constant DO_NOTHING_STORED_CONTRACT_NAME (line 26) | const DO_NOTHING_STORED_CONTRACT_NAME: &str = "do_nothing_stored"; constant DO_NOTHING_STORED_UPGRADER_CONTRACT_NAME (line 27) | const DO_NOTHING_STORED_UPGRADER_CONTRACT_NAME: &str = "do_nothing_store... constant DO_NOTHING_STORED_CALLER_CONTRACT_NAME (line 28) | const DO_NOTHING_STORED_CALLER_CONTRACT_NAME: &str = "do_nothing_stored_... constant PURSE_HOLDER_STORED_CALLER_CONTRACT_NAME (line 29) | const PURSE_HOLDER_STORED_CALLER_CONTRACT_NAME: &str = "purse_holder_sto... constant PURSE_HOLDER_STORED_CONTRACT_NAME (line 30) | const PURSE_HOLDER_STORED_CONTRACT_NAME: &str = "purse_holder_stored"; constant PURSE_HOLDER_STORED_UPGRADER_CONTRACT_NAME (line 31) | const PURSE_HOLDER_STORED_UPGRADER_CONTRACT_NAME: &str = "purse_holder_s... constant UPGRADE_THRESHOLD_CONTRACT_NAME (line 32) | const UPGRADE_THRESHOLD_CONTRACT_NAME: &str = "upgrade_threshold.wasm"; constant UPGRADE_THRESHOLD_UPGRADER (line 33) | const UPGRADE_THRESHOLD_UPGRADER: &str = "upgrade_threshold_upgrader.wasm"; constant ENTRY_FUNCTION_NAME (line 35) | const ENTRY_FUNCTION_NAME: &str = "delegate"; constant DO_NOTHING_CONTRACT_NAME (line 36) | const DO_NOTHING_CONTRACT_NAME: &str = "do_nothing_package_hash"; constant DO_NOTHING_HASH_KEY_NAME (line 37) | const DO_NOTHING_HASH_KEY_NAME: &str = "do_nothing_hash"; constant INITIAL_VERSION (line 39) | const INITIAL_VERSION: EntityVersion = ENTITY_INITIAL_VERSION; constant UPGRADED_VERSION (line 40) | const UPGRADED_VERSION: EntityVersion = INITIAL_VERSION + 1; constant PURSE_NAME_ARG_NAME (line 41) | const PURSE_NAME_ARG_NAME: &str = "purse_name"; constant PURSE_1 (line 42) | const PURSE_1: &str = "purse_1"; constant METHOD_REMOVE (line 43) | const METHOD_REMOVE: &str = "remove"; constant VERSION (line 44) | const VERSION: &str = "version"; constant HASH_KEY_NAME (line 46) | const HASH_KEY_NAME: &str = "purse_holder"; constant TOTAL_PURSES (line 48) | const TOTAL_PURSES: usize = 3; constant PURSE_NAME (line 49) | const PURSE_NAME: &str = "purse_name"; constant ENTRY_POINT_NAME (line 50) | const ENTRY_POINT_NAME: &str = "entry_point"; constant ENTRY_POINT_ADD (line 51) | const ENTRY_POINT_ADD: &str = "add_named_purse"; constant ARG_CONTRACT_PACKAGE (line 52) | const ARG_CONTRACT_PACKAGE: &str = "contract_package"; constant ARG_MAJOR_VERSION (line 53) | const ARG_MAJOR_VERSION: &str = "major_version"; constant ARG_VERSION (line 54) | const ARG_VERSION: &str = "version"; constant ARG_NEW_PURSE_NAME (line 55) | const ARG_NEW_PURSE_NAME: &str = "new_purse_name"; constant ARG_IS_LOCKED (line 56) | const ARG_IS_LOCKED: &str = "is_locked"; function should_upgrade_do_nothing_to_do_something_version_hash_call (line 61) | fn should_upgrade_do_nothing_to_do_something_version_hash_call() { function should_upgrade_do_nothing_to_do_something_contract_call (line 175) | fn should_upgrade_do_nothing_to_do_something_contract_call() { function should_be_able_to_observe_state_transition_across_upgrade (line 313) | fn should_be_able_to_observe_state_transition_across_upgrade() { function should_support_extending_functionality (line 412) | fn should_support_extending_functionality() { function should_maintain_named_keys_across_upgrade (line 555) | fn should_maintain_named_keys_across_upgrade() { function should_fail_upgrade_for_locked_contract (line 660) | fn should_fail_upgrade_for_locked_contract() { function should_only_upgrade_if_threshold_is_met (line 720) | fn should_only_upgrade_if_threshold_is_met() { function setup_upgrade_threshold_state (line 864) | fn setup_upgrade_threshold_state() -> (LmdbWasmTestBuilder, AccountHash) { function should_correctly_set_upgrade_threshold_on_entity_upgrade (line 905) | fn should_correctly_set_upgrade_threshold_on_entity_upgrade() { type MigrationScenario (line 988) | enum MigrationScenario { function call_and_migrate_purse_holder_contract (line 996) | fn call_and_migrate_purse_holder_contract(migration_scenario: MigrationS... function should_correct_migrate_contract_when_invoked_by_package_name (line 1113) | fn should_correct_migrate_contract_when_invoked_by_package_name() { function should_correctly_migrate_contract_when_invoked_by_name_and_version (line 1119) | fn should_correctly_migrate_contract_when_invoked_by_name_and_version() { function should_correct_migrate_contract_when_invoked_by_package_hash (line 1125) | fn should_correct_migrate_contract_when_invoked_by_package_hash() { function should_correct_migrate_contract_when_invoked_by_package_hash_and_specific_version (line 1131) | fn should_correct_migrate_contract_when_invoked_by_package_hash_and_spec... function should_correctly_migrate_contract_when_invoked_by_contract_hash (line 1137) | fn should_correctly_migrate_contract_when_invoked_by_contract_hash() { function should_correctly_migrate_contract_when_invoked_by_contract_name (line 1143) | fn should_correctly_migrate_contract_when_invoked_by_contract_name() { function should_correctly_migrate_and_upgrade_with_upgrader (line 1149) | fn should_correctly_migrate_and_upgrade_with_upgrader() { function should_correctly_retain_disabled_contract_version (line 1155) | fn should_correctly_retain_disabled_contract_version() { function should_correctly_attach_minimum_delegation_rate_on_upgrade (line 1232) | fn should_correctly_attach_minimum_delegation_rate_on_upgrade() { function setup_state_for_version_tests (line 1298) | fn setup_state_for_version_tests( function execute_no_major_some_entity_version_calls (line 1351) | fn execute_no_major_some_entity_version_calls(trap_on_ambiguous_entity_v... function should_correctly_manage_entity_version_calls_with_error_flag_off (line 1510) | fn should_correctly_manage_entity_version_calls_with_error_flag_off() { function should_correctly_return_error_for_multiple_entity_versions (line 1516) | fn should_correctly_return_error_for_multiple_entity_versions() { function should_call_correct_version_when_specifying_only_major_version (line 1522) | fn should_call_correct_version_when_specifying_only_major_version() { function should_correctly_invoke_version_in_package_when_no_versions_are_specified (line 1583) | fn should_correctly_invoke_version_in_package_when_no_versions_are_speci... function should_not_require_subsequent_cases (line 1646) | fn should_not_require_subsequent_cases(trap: bool) { function should_not_require_subsequent_increasing_versions_to_correctly_identify_version_key_with_trap_set (line 1762) | fn should_not_require_subsequent_increasing_versions_to_correctly_identi... function should_not_require_subsequent_increasing_versions_to_correctly_identify_version_key_with_trap_unset (line 1769) | fn should_not_require_subsequent_increasing_versions_to_correctly_identi... FILE: execution_engine_testing/tests/src/test/wasmless_transfer.rs constant CONTRACT_TRANSFER_PURSE_TO_ACCOUNT (line 18) | const CONTRACT_TRANSFER_PURSE_TO_ACCOUNT: &str = "transfer_purse_to_acco... constant CONTRACT_NEW_NAMED_UREF (line 19) | const CONTRACT_NEW_NAMED_UREF: &str = "new_named_uref.wasm"; constant CONTRACT_CREATE_PURSE_01 (line 20) | const CONTRACT_CREATE_PURSE_01: &str = "create_purse_01.wasm"; constant NON_UREF_NAMED_KEY (line 21) | const NON_UREF_NAMED_KEY: &str = "transfer_result"; constant TEST_PURSE_NAME (line 22) | const TEST_PURSE_NAME: &str = "test_purse"; constant ARG_PURSE_NAME (line 23) | const ARG_PURSE_NAME: &str = "purse_name"; constant ARG_UREF_NAME (line 24) | const ARG_UREF_NAME: &str = "uref_name"; function should_transfer_wasmless_account_to_purse (line 40) | fn should_transfer_wasmless_account_to_purse() { function should_transfer_wasmless_account_to_public_key (line 46) | fn should_transfer_wasmless_account_to_public_key() { function should_transfer_wasmless_account_to_account (line 52) | fn should_transfer_wasmless_account_to_account() { function should_transfer_wasmless_account_to_account_by_key (line 58) | fn should_transfer_wasmless_account_to_account_by_key() { function should_transfer_wasmless_purse_to_purse (line 64) | fn should_transfer_wasmless_purse_to_purse() { function should_transfer_wasmless_purse_to_public_key (line 70) | fn should_transfer_wasmless_purse_to_public_key() { function should_transfer_wasmless_amount_as_u64 (line 76) | fn should_transfer_wasmless_amount_as_u64() { type WasmlessTransfer (line 80) | enum WasmlessTransfer { function transfer_wasmless (line 90) | fn transfer_wasmless(wasmless_transfer: WasmlessTransfer) { function should_not_transfer_wasmless_to_self_by_addr (line 202) | fn should_not_transfer_wasmless_to_self_by_addr() { function should_not_transfer_wasmless_to_self_by_key (line 208) | fn should_not_transfer_wasmless_to_self_by_key() { function should_not_transfer_wasmless_to_self_by_uref (line 214) | fn should_not_transfer_wasmless_to_self_by_uref() { function should_not_transfer_wasmless_other_account_by_addr (line 220) | fn should_not_transfer_wasmless_other_account_by_addr() { function should_not_transfer_wasmless_other_account_by_key (line 226) | fn should_not_transfer_wasmless_other_account_by_key() { function should_not_transfer_wasmless_other_account_by_uref (line 232) | fn should_not_transfer_wasmless_other_account_by_uref() { function should_not_transfer_wasmless_missing_target (line 238) | fn should_not_transfer_wasmless_missing_target() { function should_not_transfer_wasmless_missing_amount (line 244) | fn should_not_transfer_wasmless_missing_amount() { function should_not_transfer_wasmless_source_uref_nonexistent (line 250) | fn should_not_transfer_wasmless_source_uref_nonexistent() { function should_not_transfer_wasmless_target_uref_nonexistent (line 256) | fn should_not_transfer_wasmless_target_uref_nonexistent() { function should_not_transfer_wasmless_invalid_source_uref (line 262) | fn should_not_transfer_wasmless_invalid_source_uref() { function should_not_transfer_wasmless_invalid_target_uref (line 268) | fn should_not_transfer_wasmless_invalid_target_uref() { function should_not_transfer_wasmless_other_purse_to_self_purse (line 274) | fn should_not_transfer_wasmless_other_purse_to_self_purse() { type InvalidWasmlessTransfer (line 278) | enum InvalidWasmlessTransfer { function invalid_transfer_wasmless (line 294) | fn invalid_transfer_wasmless(invalid_wasmless_transfer: InvalidWasmlessT... function transfer_wasmless_should_create_target_if_it_doesnt_exist (line 535) | fn transfer_wasmless_should_create_target_if_it_doesnt_exist() { function get_default_account_named_uref (line 578) | fn get_default_account_named_uref(builder: &mut LmdbWasmTestBuilder, nam... function init_wasmless_transform_builder (line 591) | fn init_wasmless_transform_builder(create_account_2: bool) -> LmdbWasmTe... function transfer_wasmless_onward (line 652) | fn transfer_wasmless_onward() { function transfer_wasmless_should_transfer_funds_after_paying_for_transfer (line 709) | fn transfer_wasmless_should_transfer_funds_after_paying_for_transfer() { function transfer_wasmless_should_fail_with_secondary_purse_insufficient_funds (line 775) | fn transfer_wasmless_should_fail_with_secondary_purse_insufficient_funds... FILE: execution_engine_testing/tests/src/wasm_utils.rs function do_nothing_bytes (line 13) | pub fn do_nothing_bytes() -> Vec { function do_minimum_bytes (line 34) | pub fn do_minimum_bytes() -> Vec { function make_n_arg_call_bytes (line 56) | pub fn make_n_arg_call_bytes( function get_wasm_exports (line 85) | pub fn get_wasm_exports(module_bytes: &[u8]) -> BTreeSet { FILE: executor/wasm/src/install.rs type InstallContractRequest (line 16) | pub struct InstallContractRequest { type InstallContractRequestBuilder (line 48) | pub struct InstallContractRequestBuilder { method with_initiator (line 66) | pub fn with_initiator(mut self, initiator: AccountHash) -> Self { method with_gas_limit (line 71) | pub fn with_gas_limit(mut self, gas_limit: u64) -> Self { method with_wasm_bytes (line 76) | pub fn with_wasm_bytes(mut self, wasm_bytes: Bytes) -> Self { method with_entry_point (line 81) | pub fn with_entry_point(mut self, entry_point: String) -> Self { method with_input (line 86) | pub fn with_input(mut self, input: Bytes) -> Self { method with_transferred_value (line 91) | pub fn with_transferred_value(mut self, transferred_value: u64) -> Self { method with_address_generator (line 96) | pub fn with_address_generator(mut self, address_generator: AddressGene... method with_shared_address_generator (line 101) | pub fn with_shared_address_generator( method with_transaction_hash (line 109) | pub fn with_transaction_hash(mut self, transaction_hash: TransactionHa... method with_chain_name (line 114) | pub fn with_chain_name>>(mut self, chain_name: T) -> ... method with_block_time (line 119) | pub fn with_block_time(mut self, block_time: BlockTime) -> Self { method with_seed (line 124) | pub fn with_seed(mut self, seed: [u8; 32]) -> Self { method with_state_hash (line 129) | pub fn with_state_hash(mut self, state_hash: Digest) -> Self { method with_parent_block_hash (line 134) | pub fn with_parent_block_hash(mut self, parent_block_hash: BlockHash) ... method with_block_height (line 139) | pub fn with_block_height(mut self, block_height: u64) -> Self { method build (line 144) | pub fn build(self) -> Result { type InstallContractResult (line 180) | pub struct InstallContractResult { method effects (line 191) | pub fn effects(&self) -> &Effects { method gas_usage (line 195) | pub fn gas_usage(&self) -> &GasUsage { method post_state_hash (line 199) | pub fn post_state_hash(&self) -> Digest { method smart_contract_addr (line 203) | pub fn smart_contract_addr(&self) -> &[u8; 32] { type InstallContractError (line 209) | pub enum InstallContractError { FILE: executor/wasm/src/lib.rs constant DEFAULT_WASM_ENTRY_POINT (line 49) | const DEFAULT_WASM_ENTRY_POINT: &str = "call"; constant DEFAULT_MINT_TRANSFER_GAS_COST (line 51) | const DEFAULT_MINT_TRANSFER_GAS_COST: u64 = 1; type ExecutorKind (line 54) | pub enum ExecutorKind { type ExecutorConfig (line 62) | pub struct ExecutorConfig { type ExecutorConfigBuilder (line 77) | pub struct ExecutorConfigBuilder { method new (line 71) | pub fn new() -> ExecutorConfigBuilder { method with_memory_limit (line 87) | pub fn with_memory_limit(mut self, memory_limit: u32) -> Self { method with_executor_kind (line 93) | pub fn with_executor_kind(mut self, executor_kind: ExecutorKind) -> Se... method with_wasm_config (line 99) | pub fn with_wasm_config(mut self, wasm_config: WasmV2Config) -> Self { method with_storage_costs (line 105) | pub fn with_storage_costs(mut self, storage_costs: StorageCosts) -> Se... method with_message_limits (line 111) | pub fn with_message_limits(mut self, message_limits: MessageLimits) ->... method build (line 117) | pub fn build(self) -> Result { type ExecutorV2 (line 135) | pub struct ExecutorV2 { method install_contract (line 143) | pub fn install_contract( method execute_with_tracking_copy (line 344) | fn execute_with_tracking_copy( method execute_legacy_wasm_byte_code (line 664) | fn execute_legacy_wasm_byte_code( method execute_with_provider (line 761) | pub fn execute_with_provider( method new (line 809) | pub fn new(config: ExecutorConfig, execution_engine_v1: Arc Option { method execute (line 842) | fn execute( function get_purse_for_entity (line 851) | fn get_purse_for_entity( FILE: executor/wasm/src/system.rs type DispatchError (line 27) | enum DispatchError { function dispatch_system_contract (line 40) | fn dispatch_system_contract( type MintArgs (line 116) | pub(crate) struct MintArgs { function mint_mint (line 120) | pub(crate) fn mint_mint( type MintTransferArgs (line 152) | pub(crate) struct MintTransferArgs { function mint_transfer (line 160) | pub(crate) fn mint_transfer( function test_system_dispatcher (line 227) | fn test_system_dispatcher() { FILE: executor/wasm/tests/integration.rs constant CSPR (line 56) | const CSPR: u64 = 10u64.pow(9); function read_wasm (line 92) | fn read_wasm>(filename: P) -> Bytes { constant TRANSACTION_HASH_BYTES (line 123) | const TRANSACTION_HASH_BYTES: [u8; 32] = [55; 32]; constant TRANSACTION_HASH (line 124) | const TRANSACTION_HASH: TransactionHash = constant DEFAULT_GAS_LIMIT (line 126) | const DEFAULT_GAS_LIMIT: u64 = 1_000_000 * CSPR; constant DEFAULT_CHAIN_NAME (line 127) | const DEFAULT_CHAIN_NAME: &str = "casper-test"; constant DEFAULT_GAS_PER_BYTE_COST (line 133) | const DEFAULT_GAS_PER_BYTE_COST: u32 = 1_117_587; function make_address_generator (line 135) | fn make_address_generator() -> Arc> { function base_execute_builder (line 143) | fn base_execute_builder() -> ExecuteRequestBuilder { function base_install_request_builder (line 157) | fn base_install_request_builder() -> InstallContractRequestBuilder { function harness (line 170) | fn harness() { function make_executor (line 232) | pub(crate) fn make_executor() -> ExecutorV2 { function cep18 (line 248) | fn cep18() { function make_global_state_with_genesis (line 409) | fn make_global_state_with_genesis() -> (LmdbGlobalState, Digest, TempDir) { function traits (line 451) | fn traits() { function upgradable (line 471) | fn upgradable() { function run_create_contract (line 630) | fn run_create_contract( function run_wasm_session (line 641) | fn run_wasm_session( function backwards_compatibility (line 659) | fn backwards_compatibility() { function call_dummy_host_fn_by_name (line 822) | fn call_dummy_host_fn_by_name( function assert_consumes_gas (line 887) | fn assert_consumes_gas(host_function_name: &str) { function host_functions_consume_gas (line 898) | fn host_functions_consume_gas() { function write_n_bytes_at_limit (line 915) | fn write_n_bytes_at_limit( function non_existing_smart_contract_does_not_panic (line 993) | fn non_existing_smart_contract_does_not_panic() { FILE: executor/wasm_common/src/chain_utils.rs function compute_predictable_address (line 7) | pub fn compute_predictable_address>( function compute_wasm_bytecode_hash (line 26) | pub fn compute_wasm_bytecode_hash>(wasm_bytes: T) -> [u8;... constant SEED (line 35) | const SEED: [u8; 32] = [1u8; 32]; function test_compute_predictable_address (line 38) | fn test_compute_predictable_address() { FILE: executor/wasm_common/src/entry_point.rs constant ENTRY_POINT_PAYMENT_CALLER (line 4) | pub const ENTRY_POINT_PAYMENT_CALLER: u8 = 0; constant ENTRY_POINT_PAYMENT_DIRECT_INVOCATION_ONLY (line 6) | pub const ENTRY_POINT_PAYMENT_DIRECT_INVOCATION_ONLY: u8 = 1; constant ENTRY_POINT_PAYMENT_SELF_ONWARD (line 8) | pub const ENTRY_POINT_PAYMENT_SELF_ONWARD: u8 = 2; FILE: executor/wasm_common/src/env_info.rs type EnvInfo (line 5) | pub struct EnvInfo { FILE: executor/wasm_common/src/error.rs type CommonResult (line 10) | pub enum CommonResult { method from (line 50) | fn from(value: u32) -> Self { constant HOST_ERROR_SUCCESS (line 38) | pub const HOST_ERROR_SUCCESS: u32 = 0; constant HOST_ERROR_NOT_FOUND (line 39) | pub const HOST_ERROR_NOT_FOUND: u32 = 1; constant HOST_ERROR_INVALID_DATA (line 40) | pub const HOST_ERROR_INVALID_DATA: u32 = 2; constant HOST_ERROR_INVALID_INPUT (line 41) | pub const HOST_ERROR_INVALID_INPUT: u32 = 3; constant HOST_ERROR_TOPIC_TOO_LONG (line 42) | pub const HOST_ERROR_TOPIC_TOO_LONG: u32 = 4; constant HOST_ERROR_TOO_MANY_TOPICS (line 43) | pub const HOST_ERROR_TOO_MANY_TOPICS: u32 = 5; constant HOST_ERROR_PAYLOAD_TOO_LONG (line 44) | pub const HOST_ERROR_PAYLOAD_TOO_LONG: u32 = 6; constant HOST_ERROR_MESSAGE_TOPIC_FULL (line 45) | pub const HOST_ERROR_MESSAGE_TOPIC_FULL: u32 = 7; constant HOST_ERROR_MAX_MESSAGES_PER_BLOCK_EXCEEDED (line 46) | pub const HOST_ERROR_MAX_MESSAGES_PER_BLOCK_EXCEEDED: u32 = 8; constant HOST_ERROR_INTERNAL (line 47) | pub const HOST_ERROR_INTERNAL: u32 = 9; function result_from_code (line 67) | pub fn result_from_code(code: u32) -> Result<(), CommonResult> { type TrapCode (line 76) | pub enum TrapCode { constant CALLEE_SUCCEEDED (line 106) | pub const CALLEE_SUCCEEDED: u32 = 0; constant CALLEE_REVERTED (line 107) | pub const CALLEE_REVERTED: u32 = 1; constant CALLEE_TRAPPED (line 108) | pub const CALLEE_TRAPPED: u32 = 2; constant CALLEE_GAS_DEPLETED (line 109) | pub const CALLEE_GAS_DEPLETED: u32 = 3; constant CALLEE_NOT_CALLABLE (line 110) | pub const CALLEE_NOT_CALLABLE: u32 = 4; constant CALLEE_HOST_ERROR (line 111) | pub const CALLEE_HOST_ERROR: u32 = 5; type CallError (line 117) | pub enum CallError { method into_u32 (line 135) | pub fn into_u32(self) -> u32 { function test_from_u32_not_found (line 150) | fn test_from_u32_not_found() { function test_from_u32_invalid_data (line 156) | fn test_from_u32_invalid_data() { function test_from_u32_invalid_input (line 162) | fn test_from_u32_invalid_input() { function test_from_u32_other (line 168) | fn test_from_u32_other() { FILE: executor/wasm_common/src/flags.rs method default (line 32) | fn default() -> Self { method default (line 38) | fn default() -> Self { function test_return_flags (line 48) | fn test_return_flags() { function creating_from_invalid_bit_flags_does_not_fail (line 54) | fn creating_from_invalid_bit_flags_does_not_fail() { FILE: executor/wasm_common/src/keyspace.rs type KeyspaceTag (line 5) | pub enum KeyspaceTag { type Keyspace (line 22) | pub enum Keyspace<'a> { function as_tag (line 38) | pub fn as_tag(&self) -> KeyspaceTag { function as_u64 (line 48) | pub fn as_u64(&self) -> u64 { function test_as_tag_state (line 58) | fn test_as_tag_state() { function test_as_tag_context (line 64) | fn test_as_tag_context() { function test_as_tag_named_key (line 71) | fn test_as_tag_named_key() { function test_as_u64_state (line 78) | fn test_as_u64_state() { function test_as_u64_context (line 84) | fn test_as_u64_context() { function test_as_u64_named_key (line 91) | fn test_as_u64_named_key() { function test_as_u64_payment_info (line 98) | fn test_as_u64_payment_info() { FILE: executor/wasm_host/src/abi.rs type ReadInfo (line 5) | pub(crate) struct ReadInfo { type CreateResult (line 17) | pub(crate) struct CreateResult { FILE: executor/wasm_host/src/context.rs type Context (line 13) | pub struct Context { FILE: executor/wasm_host/src/host.rs type EntityKindTag (line 51) | enum EntityKindTag { type FallibleInto (line 56) | pub trait FallibleInto { method try_into_wrapped (line 57) | fn try_into_wrapped(self) -> VMResult; method try_into_wrapped (line 64) | fn try_into_wrapped(self) -> VMResult { function charge_gas_storage (line 70) | fn charge_gas_storage( function charge_host_function_call (line 82) | fn charge_host_function_call( function metered_write (line 101) | fn metered_write( function casper_write (line 112) | pub fn casper_write( function casper_remove (line 227) | pub fn casper_remove( function casper_print (line 317) | pub fn casper_print( function casper_read (line 336) | pub fn casper_read( function keyspace_to_global_state_key (line 460) | fn keyspace_to_global_state_key( function context_to_entity_addr (line 488) | fn context_to_entity_addr( function casper_copy_input (line 503) | pub fn casper_copy_input( function casper_return (line 539) | pub fn casper_return( function casper_create (line 565) | pub fn casper_create( function casper_env_balance (line 965) | pub fn casper_env_balance( function casper_transfer (line 1095) | pub fn casper_transfer( function casper_upgrade (line 1252) | pub fn casper_upgrade( function casper_env_info (line 1466) | pub fn casper_env_info( function casper_emit (line 1515) | pub fn casper_emit( FILE: executor/wasm_host/src/system.rs type DispatchError (line 32) | enum DispatchError { function dispatch_system_contract (line 45) | fn dispatch_system_contract( type MintArgs (line 118) | pub(crate) struct MintArgs { function mint_mint (line 122) | pub(crate) fn mint_mint( type MintTransferArgs (line 154) | pub(crate) struct MintTransferArgs { function mint_transfer (line 162) | pub(crate) fn mint_transfer( FILE: executor/wasm_interface/src/executor.rs type ExecuteRequest (line 20) | pub struct ExecuteRequest { type ExecuteRequestBuilder (line 58) | pub struct ExecuteRequestBuilder { method with_initiator (line 77) | pub fn with_initiator(mut self, initiator: AccountHash) -> Self { method with_caller_key (line 84) | pub fn with_caller_key(mut self, caller_key: Key) -> Self { method with_gas_limit (line 91) | pub fn with_gas_limit(mut self, gas_limit: u64) -> Self { method with_target (line 98) | pub fn with_target(mut self, target: ExecutionKind) -> Self { method with_input (line 105) | pub fn with_input(mut self, input: Bytes) -> Self { method with_serialized_input (line 112) | pub fn with_serialized_input(self, input: T) -> Self { method with_transferred_value (line 121) | pub fn with_transferred_value(mut self, value: u64) -> Self { method with_transaction_hash (line 128) | pub fn with_transaction_hash(mut self, transaction_hash: TransactionHa... method with_address_generator (line 138) | pub fn with_address_generator(mut self, address_generator: AddressGene... method with_shared_address_generator (line 148) | pub fn with_shared_address_generator( method with_chain_name (line 158) | pub fn with_chain_name>>(mut self, chain_name: T) -> ... method with_block_time (line 165) | pub fn with_block_time(mut self, block_time: BlockTime) -> Self { method with_state_hash (line 172) | pub fn with_state_hash(mut self, state_hash: Digest) -> Self { method with_parent_block_hash (line 179) | pub fn with_parent_block_hash(mut self, parent_block_hash: BlockHash) ... method with_block_height (line 186) | pub fn with_block_height(mut self, block_height: u64) -> Self { method build (line 192) | pub fn build(self) -> Result { type ExecuteResult (line 230) | pub struct ExecuteResult { method effects (line 247) | pub fn effects(&self) -> &Effects { method into_effects (line 251) | pub fn into_effects(self) -> Effects { method host_error (line 255) | pub fn host_error(&self) -> Option<&CallError> { method output (line 259) | pub fn output(&self) -> Option<&Bytes> { method gas_usage (line 263) | pub fn gas_usage(&self) -> &GasUsage { type ExecuteWithProviderResult (line 270) | pub struct ExecuteWithProviderResult { method new (line 287) | pub fn new( method output (line 305) | pub fn output(&self) -> Option<&Bytes> { method gas_usage (line 309) | pub fn gas_usage(&self) -> &GasUsage { method effects (line 313) | pub fn effects(&self) -> &Effects { method post_state_hash (line 318) | pub fn post_state_hash(&self) -> Digest { method messages (line 322) | pub fn messages(&self) -> &Messages { type ExecutionKind (line 329) | pub enum ExecutionKind { type ExecuteError (line 346) | pub enum ExecuteError { type ExecuteWithProviderError (line 360) | pub enum ExecuteWithProviderError { type Executor (line 375) | pub trait Executor: Clone + Send { method execute (line 376) | fn execute( FILE: executor/wasm_interface/src/lib.rs type InterfaceVersion (line 20) | pub struct InterfaceVersion(u32); method from (line 23) | fn from(value: u32) -> Self { type HostResult (line 28) | pub type HostResult = Result<(), CallError>; function u32_from_host_result (line 32) | pub fn u32_from_host_result(result: HostResult) -> u32 { type Resolver (line 41) | pub enum Resolver { type ExportError (line 50) | pub enum ExportError { type MemoryError (line 62) | pub enum MemoryError { type InternalHostError (line 76) | pub enum InternalHostError { type VMError (line 103) | pub enum VMError { method into_output_data (line 127) | pub fn into_output_data(self) -> Option { type VMResult (line 136) | pub type VMResult = Result; type Config (line 140) | pub struct Config { method gas_limit (line 147) | pub fn gas_limit(&self) -> u64 { method memory_limit (line 152) | pub fn memory_limit(&self) -> u32 { type ConfigBuilder (line 159) | pub struct ConfigBuilder { method new (line 168) | pub fn new() -> Self { method with_gas_limit (line 174) | pub fn with_gas_limit(mut self, gas_limit: u64) -> Self { method with_memory_limit (line 181) | pub fn with_memory_limit(mut self, memory_limit: u32) -> Self { method build (line 188) | pub fn build(self) -> Config { type MeteringPoints (line 201) | pub enum MeteringPoints { method try_into_remaining (line 207) | pub fn try_into_remaining(self) -> Result { type Caller (line 220) | pub trait Caller { method context (line 223) | fn context(&self) -> &Self::Context; method context_mut (line 224) | fn context_mut(&mut self) -> &mut Self::Context; method bytecode (line 226) | fn bytecode(&self) -> Bytes; method has_export (line 229) | fn has_export(&self, name: &str) -> bool; method memory_read (line 231) | fn memory_read(&self, offset: u32, size: usize) -> VMResult> { method memory_read_into (line 236) | fn memory_read_into(&self, offset: u32, output: &mut [u8]) -> VMResult... method memory_write (line 237) | fn memory_write(&self, offset: u32, data: &[u8]) -> VMResult<()>; method alloc (line 241) | fn alloc(&mut self, idx: u32, size: usize, ctx: u32) -> VMResult; method gas_consumed (line 243) | fn gas_consumed(&mut self) -> MeteringPoints; method consume_gas (line 245) | fn consume_gas(&mut self, value: u64) -> VMResult<()>; type WasmPreparationError (line 249) | pub enum WasmPreparationError { type GasUsage (line 261) | pub struct GasUsage { method new (line 270) | pub fn new(gas_limit: u64, remaining_points: u64) -> Self { method gas_spent (line 278) | pub fn gas_spent(&self) -> u64 { method gas_limit (line 284) | pub fn gas_limit(&self) -> u64 { method remaining_points (line 289) | pub fn remaining_points(&self) -> u64 { type WasmInstance (line 295) | pub trait WasmInstance { method call_export (line 298) | fn call_export(&mut self, name: &str) -> (Result<(), VMError>, GasUsage); method teardown (line 299) | fn teardown(self) -> Self::Context; FILE: executor/wasmer_backend/src/imports.rs type WasmerConvert (line 13) | pub(crate) trait WasmerConvert: Sized { type Output (line 18) | type Output = i32; type Output (line 22) | type Output = u32; type Output (line 25) | type Output = u64; type Output (line 29) | type Output = u32; type Output (line 33) | type Output = u32; type Output (line 37) | type Output = u32; type Output (line 43) | type Output = u32; constant DEFAULT_ENV_NAME (line 46) | const DEFAULT_ENV_NAME: &str = "env"; function generate_casper_imports (line 49) | pub(crate) fn generate_casper_imports ... function from_wasmer_trap_code (line 50) | fn from_wasmer_trap_code(value: wasmer_types::TrapCode) -> TrapCode { function from_wasmer_export_error (line 70) | fn from_wasmer_export_error(error: wasmer::ExportError) -> VMError { type WasmerEngine (line 79) | pub struct WasmerEngine(()); method new (line 82) | pub fn new() -> Self { method instantiate (line 86) | pub fn instantiate, S: GlobalStateReader + 'static, E: ... type WasmerEnv (line 96) | struct WasmerEnv { type WasmerCaller (line 104) | pub(crate) struct WasmerCaller<'a, S: GlobalStateReader, E: Executor> { function with_memory (line 109) | fn with_memory(&self, f: impl FnOnce(MemoryView<'_>) -> T) -> T { function with_instance (line 116) | fn with_instance(&self, f: impl FnOnce(&Instance) -> Ret) -> Ret { function with_store_and_instance (line 121) | fn with_store_and_instance(&mut self, f: impl FnOnce(StoreMut, &Ins... function get_remaining_points (line 128) | fn get_remaining_points(&mut self) -> MeteringPoints { function set_remaining_points (line 138) | fn set_remaining_points(&mut self, new_value: u64) { type Context (line 146) | type Context = Context; method memory_write (line 148) | fn memory_write(&self, offset: u32, data: &[u8]) -> Result<(), VMError> { method context (line 153) | fn context(&self) -> &Context { method context_mut (line 157) | fn context_mut(&mut self) -> &mut Context { method memory_read_into (line 161) | fn memory_read_into(&self, offset: u32, output: &mut [u8]) -> Result<(),... method alloc (line 166) | fn alloc(&mut self, idx: u32, size: usize, ctx: u32) -> VMResult { method bytecode (line 189) | fn bytecode(&self) -> Bytes { method gas_consumed (line 195) | fn gas_consumed(&mut self) -> MeteringPoints { method consume_gas (line 202) | fn consume_gas(&mut self, amount: u64) -> VMResult<()> { method has_export (line 217) | fn has_export(&self, name: &str) -> bool { function new (line 223) | fn new(context: Context, code: Bytes, interface_version: Interface... function exported_runtime (line 232) | pub(crate) fn exported_runtime(&self) -> &ExportedRuntime { type ExportedRuntime (line 243) | pub(crate) struct ExportedRuntime { type WasmerInstance (line 248) | pub(crate) struct WasmerInstance VMError { function call_export (line 272) | pub(crate) fn call_export(&mut self, name: &str) -> Result<(), VMError> { function from_wasm_bytes (line 285) | pub(crate) fn from_wasm_bytes>( type Context (line 407) | type Context = Context; method call_export (line 408) | fn call_export(&mut self, name: &str) -> (Result<(), VMError>, GasUsage) { method teardown (line 424) | fn teardown(self) -> Context { FILE: executor/wasmer_backend/src/middleware/gas_metering.rs constant MULTIPLIER (line 8) | const MULTIPLIER: u64 = 16; constant SCALING_FACTOR (line 15) | const SCALING_FACTOR: u64 = 2; function cycles (line 17) | fn cycles(operator: &Operator) -> u64 { function gas_metering_middleware (line 632) | pub(crate) fn gas_metering_middleware(initial_limit: u64) -> Arc) { function main (line 38) | fn main() -> anyhow::Result<()> { FILE: node/src/cli.rs type Cli (line 47) | pub enum Cli { method run (line 156) | pub async fn run(self) -> anyhow::Result { method init (line 271) | fn init( type ConfigExt (line 95) | pub struct ConfigExt { method update_toml_table (line 106) | fn update_toml_table(&self, toml_value: &mut Value) -> anyhow::Result<... type Err (line 126) | type Err = anyhow::Error; method from_str (line 129) | fn from_str(input: &str) -> Result { FILE: node/src/cli/arglang.rs type Token (line 25) | pub(crate) enum Token { method string (line 49) | fn string(value: &str) -> Token { type Error (line 35) | pub(crate) enum Error { function tokenize (line 55) | fn tokenize(input: &str) -> Result, Error> { function parse_stream (line 129) | fn parse_stream(tokens: &mut Peekable) -> Result function parse (line 170) | pub(crate) fn parse(input: &str) -> Result { function tokenize_single (line 189) | fn tokenize_single() { function tokenize_strings (line 222) | fn tokenize_strings() { function tokenize_list (line 250) | fn tokenize_list() { function parse_simple (line 266) | fn parse_simple() { function parse_arrays (line 293) | fn parse_arrays() { function doc_examples (line 317) | fn doc_examples() { FILE: node/src/components.rs type ComponentState (line 95) | pub(crate) enum ComponentState { type Component (line 125) | pub(crate) trait Component { method name (line 132) | fn name(&self) -> &str; method activate_failpoint (line 135) | fn activate_failpoint(&mut self, _activation: &FailpointActivation) { method handle_event (line 143) | fn handle_event( type InitializedComponent (line 151) | pub(crate) trait InitializedComponent: Component { method state (line 152) | fn state(&self) -> &ComponentState; method is_uninitialized (line 154) | fn is_uninitialized(&self) -> bool { method is_fatal (line 158) | fn is_fatal(&self) -> bool { method start_initialization (line 162) | fn start_initialization(&mut self) { method set_state (line 170) | fn set_state(&mut self, new_state: ComponentState); type PortBoundComponent (line 173) | pub(crate) trait PortBoundComponent: InitializedComponent { method bind (line 177) | fn bind( method listen (line 192) | fn listen( type ValidatorBoundComponent (line 198) | pub(crate) trait ValidatorBoundComponent: Component { method handle_validators (line 199) | fn handle_validators( FILE: node/src/components/binary_port.rs constant COMPONENT_NAME (line 89) | const COMPONENT_NAME: &str = "binary_port"; type BinaryPortInitializationError (line 92) | pub(crate) enum BinaryPortInitializationError { method from (line 100) | fn from(value: RateLimiterError) -> Self { method from (line 106) | fn from(value: prometheus::Error) -> Self { type BinaryPort (line 112) | pub(crate) struct BinaryPort { method new (line 134) | pub(crate) fn new(config: Config, chainspec: Arc, metrics: ... method bind_address (line 152) | pub(crate) fn bind_address(&self) -> Option { method finalize (line 1622) | fn finalize(mut self) -> BoxFuture<'static, ()> { type Event (line 1748) | type Event = Event; method name (line 1750) | fn name(&self) -> &str { method handle_event (line 1754) | fn handle_event( method state (line 1892) | fn state(&self) -> &ComponentState { method set_state (line 1896) | fn set_state(&mut self, new_state: ComponentState) { type Error (line 1921) | type Error = ListeningError; type ComponentEvent (line 1922) | type ComponentEvent = Event; method listen (line 1924) | fn listen( type BinaryRequestTerminationDelayValues (line 157) | struct BinaryRequestTerminationDelayValues { method from_config (line 167) | fn from_config(config: &Config) -> Self { method get_life_termination_delay (line 177) | fn get_life_termination_delay(&self, request: &Command) -> TimeDiff { function handle_request (line 189) | async fn handle_request( function handle_get_request (line 235) | async fn handle_get_request( function handle_get_items_by_prefix (line 327) | async fn handle_get_items_by_prefix( function handle_get_all_items (line 366) | async fn handle_get_all_items( function handle_state_request (line 389) | async fn handle_state_request( function handle_trie_request (line 514) | async fn handle_trie_request( function get_dictionary_item_by_legacy_named_key (line 542) | async fn get_dictionary_item_by_legacy_named_key( function get_dictionary_item_by_named_key (line 599) | async fn get_dictionary_item_by_named_key( function get_balance (line 658) | async fn get_balance( function get_global_state_item (line 721) | async fn get_global_state_item( function get_contract_package (line 749) | async fn get_contract_package( function get_package (line 786) | async fn get_package( function get_contract (line 816) | async fn get_contract( function get_account (line 868) | async fn get_account( function get_entity (line 907) | async fn get_entity( function get_contract_wasm (line 953) | async fn get_contract_wasm( function get_contract_bytecode (line 981) | async fn get_contract_bytecode( function handle_info_request (line 1009) | async fn handle_info_request( function try_accept_transaction (line 1343) | async fn try_accept_transaction( function try_speculative_execution (line 1360) | async fn try_speculative_execution( function handle_client_loop (line 1393) | async fn handle_client_loop( function extract_header (line 1453) | fn extract_header(payload: &[u8]) -> Result<(CommandHeader, &[u8]), Erro... function handle_payload (line 1478) | async fn handle_payload( function handle_client (line 1521) | async fn handle_client( function run_server (line 1558) | async fn run_server( function resolve_block_header (line 1633) | async fn resolve_block_header( function resolve_block_height (line 1659) | async fn resolve_block_height( function resolve_state_root_hash (line 1679) | async fn resolve_state_root_hash( function resolve_era_switch_block_header (line 1703) | async fn resolve_era_switch_block_header( FILE: node/src/components/binary_port/config.rs constant DEFAULT_ADDRESS (line 8) | const DEFAULT_ADDRESS: &str = "0.0.0.0:0"; constant DEFAULT_MAX_MESSAGE_SIZE (line 10) | const DEFAULT_MAX_MESSAGE_SIZE: u32 = 4 * 1024 * 1024; constant DEFAULT_MAX_CONNECTIONS (line 12) | const DEFAULT_MAX_CONNECTIONS: usize = 5; constant DEFAULT_QPS_LIMIT (line 14) | const DEFAULT_QPS_LIMIT: usize = 110; constant DEFAULT_INITIAL_CONNECTION_LIFETIME (line 16) | const DEFAULT_INITIAL_CONNECTION_LIFETIME: &str = "10 seconds"; constant DEFAULT_GET_RECORD_REQUEST_TERMINATION_DELAY (line 19) | const DEFAULT_GET_RECORD_REQUEST_TERMINATION_DELAY: &str = "0 seconds"; constant DEFAULT_GET_INFORMATION_REQUEST_TERMINATION_DELAY (line 22) | const DEFAULT_GET_INFORMATION_REQUEST_TERMINATION_DELAY: &str = "5 secon... constant DEFAULT_GET_STATE_REQUEST_TERMINATION_DELAY (line 25) | const DEFAULT_GET_STATE_REQUEST_TERMINATION_DELAY: &str = "0 seconds"; constant DEFAULT_GET_TRIE_REQUEST_TERMINATION_DELAY (line 28) | const DEFAULT_GET_TRIE_REQUEST_TERMINATION_DELAY: &str = "0 seconds"; constant DEFAULT_ACCEPT_TRANSACTION_REQUEST_TERMINATION_DELAY (line 31) | const DEFAULT_ACCEPT_TRANSACTION_REQUEST_TERMINATION_DELAY: &str = "24 s... constant DEFAULT_SPECULATIVE_EXEC_REQUEST_TERMINATION_DELAY (line 34) | const DEFAULT_SPECULATIVE_EXEC_REQUEST_TERMINATION_DELAY: &str = "0 seco... type Config (line 40) | pub struct Config { method new (line 83) | pub fn new() -> Self { method default (line 124) | fn default() -> Self { FILE: node/src/components/binary_port/connection_terminator.rs type TerminationData (line 6) | struct TerminationData { type ConnectionTerminator (line 23) | pub(super) struct ConnectionTerminator { method terminate_at (line 37) | pub(super) async fn terminate_at(&self, in_terminate_at: Timestamp) ->... method delay_termination (line 76) | pub(crate) async fn delay_termination(&self, delay_by: TimeDiff) -> bo... method new (line 82) | pub(super) fn new() -> Self { method get_cancellation_token (line 90) | pub(super) fn get_cancellation_token(&self) -> CancellationToken { method spawn_termination_countdown (line 98) | async fn spawn_termination_countdown( function should_fail_setting_expiration_in_past (line 127) | async fn should_fail_setting_expiration_in_past() { function should_fail_setting_expiration_when_already_cancelled (line 140) | async fn should_fail_setting_expiration_when_already_cancelled() { function should_cancel_after_enough_inactivity (line 163) | async fn should_cancel_after_enough_inactivity() { function should_cancel_after_extended_time (line 182) | async fn should_cancel_after_extended_time() { function should_cancel_after_multiple_time_extensions (line 205) | async fn should_cancel_after_multiple_time_extensions() { function should_not_shorten_termination_time (line 232) | async fn should_not_shorten_termination_time() { FILE: node/src/components/binary_port/error.rs type Error (line 5) | pub(crate) enum Error { FILE: node/src/components/binary_port/event.rs type Event (line 12) | pub(crate) enum Event { method fmt (line 26) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { FILE: node/src/components/binary_port/metrics.rs constant BINARY_PORT_TRY_ACCEPT_TRANSACTION_COUNT_NAME (line 5) | const BINARY_PORT_TRY_ACCEPT_TRANSACTION_COUNT_NAME: &str = constant BINARY_PORT_TRY_ACCEPT_TRANSACTION_COUNT_HELP (line 7) | const BINARY_PORT_TRY_ACCEPT_TRANSACTION_COUNT_HELP: &str = constant BINARY_PORT_TRY_SPECULATIVE_EXEC_COUNT_NAME (line 10) | const BINARY_PORT_TRY_SPECULATIVE_EXEC_COUNT_NAME: &str = "binary_port_t... constant BINARY_PORT_TRY_SPECULATIVE_EXEC_COUNT_HELP (line 11) | const BINARY_PORT_TRY_SPECULATIVE_EXEC_COUNT_HELP: &str = constant BINARY_PORT_GET_RECORD_COUNT_NAME (line 14) | const BINARY_PORT_GET_RECORD_COUNT_NAME: &str = "binary_port_get_record_... constant BINARY_PORT_GET_RECORD_COUNT_HELP (line 15) | const BINARY_PORT_GET_RECORD_COUNT_HELP: &str = "number of received Get ... constant BINARY_PORT_GET_INFORMATION_NAME (line 17) | const BINARY_PORT_GET_INFORMATION_NAME: &str = "binary_port_get_info_cou... constant BINARY_PORT_GET_INFORMATION_HELP (line 18) | const BINARY_PORT_GET_INFORMATION_HELP: &str = constant BINARY_PORT_GET_STATE_COUNT_NAME (line 21) | const BINARY_PORT_GET_STATE_COUNT_NAME: &str = "binary_port_get_state_co... constant BINARY_PORT_GET_STATE_COUNT_HELP (line 22) | const BINARY_PORT_GET_STATE_COUNT_HELP: &str = constant BINARY_PORT_CONNECTIONS_COUNT_NAME (line 25) | const BINARY_PORT_CONNECTIONS_COUNT_NAME: &str = "binary_port_connection... constant BINARY_PORT_CONNECTIONS_COUNT_HELP (line 26) | const BINARY_PORT_CONNECTIONS_COUNT_HELP: &str = constant BINARY_PORT_TRIE_COUNT_NAME (line 29) | const BINARY_PORT_TRIE_COUNT_NAME: &str = "binary_port_get_trie_count"; constant BINARY_PORT_TRIE_COUNT_HELP (line 30) | const BINARY_PORT_TRIE_COUNT_HELP: &str = "number of Get queries receive... type Metrics (line 34) | pub(crate) struct Metrics { method new (line 55) | pub fn new(registry: &Registry) -> Result { method drop (line 113) | fn drop(&mut self) { FILE: node/src/components/binary_port/rate_limiter.rs type RateLimiterError (line 5) | pub(crate) enum RateLimiterError { constant MAX_WINDOW_DURATION_MS (line 14) | const MAX_WINDOW_DURATION_MS: u64 = 1000 * 60 * 60; type LimiterResponse (line 18) | pub(crate) enum LimiterResponse { type Buffer (line 28) | struct Buffer { method new (line 36) | fn new(size: usize) -> Self { method is_full (line 45) | fn is_full(&self) -> bool { method is_empty (line 49) | fn is_empty(&self) -> bool { method push_and_slide (line 54) | fn push_and_slide(&mut self, value: u64) -> bool { method push (line 70) | fn push(&mut self, value: u64) -> bool { method prune_lt (line 89) | fn prune_lt(&mut self, value: u64) -> usize { method to_vec (line 105) | fn to_vec(&self) -> Vec { type RateLimiter (line 117) | pub(crate) struct RateLimiter { method new (line 126) | pub(crate) fn new( method throttle (line 148) | pub(crate) fn throttle(&mut self) -> LimiterResponse { method internal_throttle (line 152) | fn internal_throttle(&mut self, now: u64) -> LimiterResponse { function sliding_window_should_validate_ctor_inputs (line 179) | fn sliding_window_should_validate_ctor_inputs() { function sliding_window_throttle_should_limit_requests (line 186) | fn sliding_window_throttle_should_limit_requests() { function sliding_window_throttle_should_not_count_throttled_requests (line 207) | fn sliding_window_throttle_should_not_count_throttled_requests() { function sliding_window_throttle_should_limit_requests_on_burst (line 233) | fn sliding_window_throttle_should_limit_requests_on_burst() { function sliding_window_should_slide_away_from_old_checks (line 251) | fn sliding_window_should_slide_away_from_old_checks() { function sliding_window_should_take_past_timestamp (line 275) | fn sliding_window_should_take_past_timestamp() { function sliding_window_should_anneal_timestamp_from_past_ (line 295) | fn sliding_window_should_anneal_timestamp_from_past_() { function buffer_should_saturate_with_values (line 320) | fn buffer_should_saturate_with_values() { function buffer_should_prune (line 330) | fn buffer_should_prune() { function push_and_slide_should_keep_order (line 353) | fn push_and_slide_should_keep_order() { function rate_limiter (line 402) | fn rate_limiter() -> RateLimiter { FILE: node/src/components/binary_port/tests.rs constant ENABLED (line 52) | const ENABLED: bool = true; constant DISABLED (line 53) | const DISABLED: bool = false; type TestCase (line 55) | struct TestCase { function should_enqueue_requests_for_enabled_functions (line 63) | async fn should_enqueue_requests_for_enabled_functions() { function should_return_error_for_disabled_functions (line 105) | async fn should_return_error_for_disabled_functions() { function should_return_empty_response_when_fetching_empty_key (line 153) | async fn should_return_empty_response_when_fetching_empty_key() { function run_test_case (line 184) | async fn run_test_case( type MockReactor (line 249) | struct MockReactor { type Event (line 256) | type Event = Event; type Config (line 257) | type Config = BinaryPortConfig; type Error (line 258) | type Error = ReactorError; method new (line 260) | fn new( method dispatch_event (line 280) | fn dispatch_event( type ReactorError (line 327) | enum ReactorError { type Event (line 335) | enum Event { method from (line 350) | fn from(_request: ChainspecRawBytesRequest) -> Self { method from (line 356) | fn from(_request: UpgradeWatcherRequest) -> Self { method from (line 362) | fn from(_request: BlockSynchronizerRequest) -> Self { method from (line 368) | fn from(_request: ConsensusRequest) -> Self { method from (line 374) | fn from(_request: NetworkInfoRequest) -> Self { method from (line 380) | fn from(request: StorageRequest) -> Self { method fmt (line 386) | fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result { method is_control (line 407) | fn is_control(&self) -> bool { method try_into_control (line 411) | fn try_into_control(self) -> Option { function all_values_request (line 420) | fn all_values_request() -> Command { function record_requests_with_empty_keys (line 431) | fn record_requests_with_empty_keys() -> Vec { function trie_request (line 442) | fn trie_request() -> Command { function try_speculative_exec_request (line 448) | fn try_speculative_exec_request(rng: &mut TestRng) -> Command { function got_contract_runtime_request (line 454) | fn got_contract_runtime_request(event: &Event) -> bool { FILE: node/src/components/block_accumulator.rs constant COMPONENT_NAME (line 60) | const COMPONENT_NAME: &str = "block_accumulator"; constant PEER_RATE_LIMIT_MULTIPLIER (line 64) | const PEER_RATE_LIMIT_MULTIPLIER: usize = 2; type BlockAccumulator (line 70) | pub(crate) struct BlockAccumulator { method new (line 119) | pub(crate) fn new( method sync_instruction (line 145) | pub(crate) fn sync_instruction(&mut self, sync_identifier: SyncIdentif... method register_activation_point (line 174) | pub(crate) fn register_activation_point( method register_local_tip (line 183) | fn register_local_tip(&mut self, height: u64, era_id: EraId) { method upsert_acceptor (line 200) | fn upsert_acceptor( method register_block (line 265) | fn register_block( method register_finality_signature (line 370) | fn register_finality_signature( method register_stored (line 484) | fn register_stored( method get_peers (line 516) | fn get_peers(&self, block_hash: BlockHash) -> Option> { method is_stale (line 522) | fn is_stale(&mut self) -> bool { method reset_last_progress (line 530) | pub(crate) fn reset_last_progress(&mut self) { method leap_instruction (line 534) | fn leap_instruction(&self, sync_identifier: &SyncIdentifier) -> LeapIn... method next_syncable_block_hash (line 604) | fn next_syncable_block_hash(&self, parent_block_hash: BlockHash) -> Op... method purge (line 614) | fn purge(&mut self) { method update_block_children (line 665) | fn update_block_children(&mut self, meta_block: &ForwardMetaBlock) { method store_block_and_finality_signatures (line 679) | fn store_block_and_finality_signatures( type Event (line 803) | type Event = Event; method handle_event (line 805) | fn handle_event( method name (line 855) | fn name(&self) -> &str { method handle_validators (line 861) | fn handle_validators( type ReactorEvent (line 778) | pub(crate) trait ReactorEvent: FILE: node/src/components/block_accumulator/block_acceptor.rs type BlockAcceptor (line 18) | pub(super) struct BlockAcceptor { method new (line 44) | pub(super) fn new(block_hash: BlockHash, peers: I) -> Self method peers (line 58) | pub(super) fn peers(&self) -> &BTreeSet { method register_peer (line 62) | pub(super) fn register_peer(&mut self, peer: NodeId) { method register_block (line 66) | pub(super) fn register_block( method register_finality_signature (line 111) | pub(super) fn register_finality_signature( method should_store_block (line 206) | pub(super) fn should_store_block( method has_sufficient_finality (line 325) | pub(super) fn has_sufficient_finality(&self) -> bool { method era_id (line 332) | pub(super) fn era_id(&self) -> Option { method block_height (line 342) | pub(super) fn block_height(&self) -> Option { method block_hash (line 348) | pub(super) fn block_hash(&self) -> BlockHash { method is_upgrade_boundary (line 352) | pub(super) fn is_upgrade_boundary( method last_progress (line 365) | pub(super) fn last_progress(&self) -> Timestamp { method our_signature (line 369) | pub(super) fn our_signature(&self) -> Option<&FinalitySignatureV2> { method set_our_signature (line 373) | pub(super) fn set_our_signature(&mut self, signature: FinalitySignatur... method remove_bogus_validators (line 379) | fn remove_bogus_validators( method touch (line 426) | fn touch(&mut self) { method executed (line 451) | pub(super) fn executed(&self) -> bool { method meta_block (line 457) | pub(super) fn meta_block(&self) -> Option { method set_last_progress (line 461) | pub(super) fn set_last_progress(&mut self, last_progress: Timestamp) { method set_meta_block (line 465) | pub(super) fn set_meta_block(&mut self, meta_block: Option Self { FILE: node/src/components/block_accumulator/error.rs type InvalidGossipError (line 9) | pub(crate) enum InvalidGossipError { method peer (line 25) | pub(super) fn peer(&self) -> NodeId { type Bogusness (line 34) | pub(crate) enum Bogusness { type Error (line 42) | pub(crate) enum Error { FILE: node/src/components/block_accumulator/event.rs type Event (line 16) | pub(crate) enum Event { method fmt (line 45) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { FILE: node/src/components/block_accumulator/leap_instruction.rs type LeapInstruction (line 4) | pub(super) enum LeapInstruction { method from_execution_threshold (line 18) | pub(super) fn from_execution_threshold( method should_leap (line 40) | pub(super) fn should_leap(&self) -> bool { method fmt (line 54) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { FILE: node/src/components/block_accumulator/local_tip_identifier.rs type LocalTipIdentifier (line 7) | pub(super) struct LocalTipIdentifier { method new (line 13) | pub(super) fn new(height: u64, era_id: EraId) -> Self { method partial_cmp (line 19) | fn partial_cmp(&self, other: &Self) -> Option { method cmp (line 25) | fn cmp(&self, other: &Self) -> Ordering { FILE: node/src/components/block_accumulator/metrics.rs type Metrics (line 7) | pub(super) struct Metrics { method new (line 18) | pub fn new(registry: &Registry) -> Result { method drop (line 40) | fn drop(&mut self) { FILE: node/src/components/block_accumulator/sync_identifier.rs type SyncIdentifier (line 6) | pub(crate) enum SyncIdentifier { method block_hash (line 26) | pub(crate) fn block_hash(&self) -> BlockHash { method block_height (line 36) | pub(crate) fn block_height(&self) -> Option { method era_id (line 46) | pub(crate) fn era_id(&self) -> Option { method block_height_and_era (line 55) | pub(crate) fn block_height_and_era(&self) -> Option<(u64, EraId)> { method is_held_locally (line 62) | pub(crate) fn is_held_locally(&self) -> bool { method block_hash_to_sync (line 72) | pub(crate) fn block_hash_to_sync(&self, child_hash: Option)... method fmt (line 82) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { FILE: node/src/components/block_accumulator/sync_instruction.rs type SyncInstruction (line 4) | pub(crate) enum SyncInstruction { method block_hash (line 12) | pub(crate) fn block_hash(&self) -> BlockHash { FILE: node/src/components/block_accumulator/tests.rs constant POLL_INTERVAL (line 46) | const POLL_INTERVAL: Duration = Duration::from_millis(10); constant RECENT_ERA_INTERVAL (line 47) | const RECENT_ERA_INTERVAL: u64 = 1; constant VALIDATOR_SLOTS (line 48) | const VALIDATOR_SLOTS: u32 = 100; function meta_block_with_default_state (line 50) | fn meta_block_with_default_state(block: Arc) -> ForwardMetaBlock { function signatures_for_block (line 56) | fn signatures_for_block( type Event (line 77) | enum Event { method from (line 101) | fn from(request: MarkBlockCompletedRequest) -> Self { method is_control (line 107) | fn is_control(&self) -> bool { method try_into_control (line 111) | fn try_into_control(self) -> Option { method fmt (line 121) | fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result { type ReactorError (line 147) | enum ReactorError { type MockReactor (line 152) | struct MockReactor { type Event (line 161) | type Event = Event; type Config (line 162) | type Config = (); type Error (line 163) | type Error = ReactorError; method new (line 165) | fn new( method dispatch_event (line 217) | fn dispatch_event( function upsert_acceptor (line 290) | fn upsert_acceptor() { function acceptor_get_peers (line 393) | fn acceptor_get_peers() { function acceptor_register_finality_signature (line 407) | fn acceptor_register_finality_signature() { function acceptor_register_block (line 583) | fn acceptor_register_block() { function acceptor_should_store_block (line 662) | fn acceptor_should_store_block() { function acceptor_should_correctly_bound_the_signatures (line 832) | fn acceptor_should_correctly_bound_the_signatures() { function acceptor_signatures_bound_should_not_be_triggered_if_peers_are_different (line 872) | fn acceptor_signatures_bound_should_not_be_triggered_if_peers_are_differ... function accumulator_should_leap (line 914) | fn accumulator_should_leap() { function expected_leap_instruction (line 1078) | fn expected_leap_instruction(expected: LeapInstruction, actual: LeapInst... function block_acceptor (line 1086) | fn block_acceptor(block: BlockV2, chain_name_hash: ChainNameDigest) -> B... function accumulator_purge (line 1116) | fn accumulator_purge() { function register_evw_for_era (line 1568) | fn register_evw_for_era(validator_matrix: &mut ValidatorMatrix, era_id: ... function generate_next_block (line 1577) | fn generate_next_block(rng: &mut TestRng, block: &BlockV2) -> BlockV2 { function generate_non_genesis_block (line 1592) | fn generate_non_genesis_block(rng: &mut TestRng) -> BlockV2 { function generate_older_block (line 1604) | fn generate_older_block(rng: &mut TestRng, block: &BlockV2, height_diffe... function block_accumulator_reactor_flow (line 1614) | async fn block_accumulator_reactor_flow() { function block_accumulator_doesnt_purge_with_delayed_block_execution (line 1994) | async fn block_accumulator_doesnt_purge_with_delayed_block_execution() { FILE: node/src/components/block_synchronizer.rs constant COMPONENT_NAME (line 82) | const COMPONENT_NAME: &str = "block_synchronizer"; type ReactorEvent (line 84) | pub(crate) trait ReactorEvent: type BlockSynchronizer (line 135) | pub(crate) struct BlockSynchronizer { method new (line 153) | pub(crate) fn new( method historical_progress (line 174) | pub(crate) fn historical_progress(&mut self) -> BlockSynchronizerProgr... method forward_progress (line 182) | pub(crate) fn forward_progress(&mut self) -> BlockSynchronizerProgress { method purge (line 189) | pub(crate) fn purge(&mut self) { method purge_historical (line 194) | pub(crate) fn purge_historical(&mut self) { method purge_forward (line 201) | pub(crate) fn purge_forward(&mut self) { method register_block_by_hash (line 214) | pub(crate) fn register_block_by_hash( method register_sync_leap (line 247) | pub(crate) fn register_sync_leap( method register_peers (line 302) | pub(crate) fn register_peers(&mut self, block_hash: BlockHash, peers: ... method register_made_finalized_block (line 310) | fn register_made_finalized_block( method register_block_execution_enqueued (line 336) | fn register_block_execution_enqueued(&mut self, block_hash: &BlockHash) { method register_block_executed (line 356) | fn register_block_executed(&mut self, block_hash: &BlockHash) { method register_marked_complete (line 376) | fn register_marked_complete( method dishonest_peers (line 443) | fn dishonest_peers(&self) -> Vec { method flush_dishonest_peers (line 454) | fn flush_dishonest_peers(&mut self) { method need_next (line 463) | fn need_next( method peers_accumulated (line 715) | fn peers_accumulated(&mut self, block_hash: BlockHash, peers: Vec, Fetcher... method approvals_hashes_fetched (line 811) | fn approvals_hashes_fetched( method finality_signature_fetched (line 861) | fn finality_signature_fetched( method sync_leap_fetched (line 908) | fn sync_leap_fetched(&mut self, result: Result, ... method global_state_synced (line 961) | fn global_state_synced( method got_execution_results_checksum (line 1014) | fn got_execution_results_checksum( method execution_results_fetched (line 1069) | fn execution_results_fetched( method execution_results_stored (line 1165) | fn execution_results_stored(&mut self, block_hash: BlockHash) { method transaction_fetched (line 1178) | fn transaction_fetched( method disqualify_peer (line 1195) | fn disqualify_peer(&mut self, node_id: NodeId) { method progress (line 1204) | fn progress(&self, builder: &BlockBuilder) -> BlockSynchronizerProgress { method status (line 1253) | fn status(&self) -> BlockSynchronizerStatus { method get_builder (line 1272) | fn get_builder( method state (line 1296) | fn state(&self) -> &ComponentState { method set_state (line 1300) | fn set_state(&mut self, new_state: ComponentState) { type Event (line 1312) | type Event = Event; method handle_event (line 1314) | fn handle_event( method name (line 1617) | fn name(&self) -> &str { method handle_validators (line 1623) | fn handle_validators( FILE: node/src/components/block_synchronizer/block_acquisition.rs type BlockAcquisitionState (line 93) | pub(super) enum BlockAcquisitionState { method block_hash (line 210) | pub(crate) fn block_hash(&self) -> BlockHash { method maybe_block (line 229) | pub(crate) fn maybe_block(&self) -> Option> { method next_action (line 321) | pub(super) fn next_action( method block_height (line 546) | pub(super) fn block_height(&self) -> Option { method register_block_header (line 565) | pub(super) fn register_block_header( method register_block (line 609) | pub(super) fn register_block( method switch_to_have_strict_finality (line 664) | pub(super) fn switch_to_have_strict_finality( method register_finality_signature_pending (line 705) | pub(super) fn register_finality_signature_pending(&mut self, validator... method actively_acquiring_signatures (line 724) | pub(super) fn actively_acquiring_signatures(&self, is_historical: bool... method register_finality_signature (line 772) | pub(super) fn register_finality_signature( method register_approvals_hashes (line 916) | pub(super) fn register_approvals_hashes( method register_global_state (line 973) | pub(super) fn register_global_state( method register_execution_results_checksum (line 1023) | pub(super) fn register_execution_results_checksum( method register_execution_results_or_chunk (line 1064) | pub(super) fn register_execution_results_or_chunk( method register_execution_results_stored_notification (line 1161) | pub(super) fn register_execution_results_stored_notification( method register_transaction (line 1203) | pub(super) fn register_transaction( method register_made_finalized_block (line 1260) | pub(super) fn register_made_finalized_block( method register_block_execution_enqueued (line 1296) | pub(super) fn register_block_execution_enqueued( method register_block_executed (line 1323) | pub(super) fn register_block_executed( method register_marked_complete (line 1358) | pub(super) fn register_marked_complete( method log_finality_signature_acceptance (line 1392) | fn log_finality_signature_acceptance( method set_state (line 1430) | fn set_state(&mut self, new_state: BlockAcquisitionState) { method fmt (line 133) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type Acceptance (line 249) | pub(super) enum Acceptance { type RegisterExecResultsOutcome (line 256) | pub(super) struct RegisterExecResultsOutcome { function signatures_from_missing_validators (line 1441) | pub(super) fn signatures_from_missing_validators( FILE: node/src/components/block_synchronizer/block_acquisition_action.rs type BlockAcquisitionAction (line 18) | pub(crate) struct BlockAcquisitionAction { method need_next (line 35) | pub(super) fn need_next(&self) -> NeedNext { method peers_to_ask (line 39) | pub(super) fn peers_to_ask(&self) -> Vec { method need_nothing (line 43) | pub(super) fn need_nothing(block_hash: BlockHash) -> Self { method peers (line 50) | pub(super) fn peers(block_hash: BlockHash) -> Self { method execution_results_checksum (line 57) | pub(super) fn execution_results_checksum( method execution_results (line 67) | pub(super) fn execution_results( method approvals_hashes (line 81) | pub(super) fn approvals_hashes(block: &Block, peer_list: &PeerList, rn... method legacy_deploy_by_hash (line 89) | pub(super) fn legacy_deploy_by_hash( method transaction_by_id (line 102) | pub(super) fn transaction_by_id( method global_state (line 115) | pub(super) fn global_state( method finality_signatures (line 128) | pub(super) fn finality_signatures( method block_body (line 149) | pub(super) fn block_body( method switch_to_have_sufficient_finality (line 161) | pub(super) fn switch_to_have_sufficient_finality( method block_marked_complete (line 171) | pub(super) fn block_marked_complete(block_hash: BlockHash, block_heigh... method make_executable_block (line 178) | pub(super) fn make_executable_block(block_hash: BlockHash, block_heigh... method enqueue_block_for_execution (line 185) | pub(super) fn enqueue_block_for_execution( method block_header (line 199) | pub(super) fn block_header( method era_validators (line 211) | pub(super) fn era_validators(peer_list: &PeerList, rng: &mut NodeRng, ... method maybe_execution_results (line 219) | pub(super) fn maybe_execution_results( method next_action_after_transaction_acquisition (line 259) | pub(super) fn next_action_after_transaction_acquisition( method fmt (line 24) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { FILE: node/src/components/block_synchronizer/block_builder.rs type Error (line 38) | pub(super) enum Error { method fmt (line 44) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { type ExecutionProgress (line 55) | enum ExecutionProgress { method start (line 62) | fn start(self) -> Option { method finish (line 69) | fn finish(self) -> Option { type BlockBuilder (line 78) | pub(super) struct BlockBuilder { method new (line 110) | pub(super) fn new( method new_from_sync_leap (line 137) | pub(super) fn new_from_sync_leap( method abort (line 182) | pub(super) fn abort(&mut self) { method block_acquisition_state (line 189) | pub(crate) fn block_acquisition_state(&self) -> &BlockAcquisitionState { method set_block_acquisition_state (line 194) | pub(crate) fn set_block_acquisition_state(&mut self, state: BlockAcqui... method block_hash (line 198) | pub(super) fn block_hash(&self) -> BlockHash { method maybe_block (line 202) | pub(super) fn maybe_block(&self) -> Option> { method block_height (line 206) | pub(super) fn block_height(&self) -> Option { method block_height_and_era (line 210) | pub(super) fn block_height_and_era(&self) -> Option<(u64, EraId)> { method should_fetch_execution_state (line 219) | pub(super) fn should_fetch_execution_state(&self) -> bool { method sync_start_time (line 223) | pub(super) fn sync_start_time(&self) -> Instant { method last_progress_time (line 227) | pub(super) fn last_progress_time(&self) -> Timestamp { method latched (line 232) | pub fn latched(&self) -> bool { method latch_count (line 237) | pub fn latch_count(&self) -> u8 { method check_latch (line 241) | pub(super) fn check_latch(&mut self, interval: TimeDiff) -> bool { method latch (line 246) | pub(super) fn latch(&mut self) { method latch_by (line 250) | pub(super) fn latch_by(&mut self, count: usize) { method latch_decrement (line 255) | pub(super) fn latch_decrement(&mut self) { method is_failed (line 259) | pub(super) fn is_failed(&self) -> bool { method is_finished (line 263) | pub(super) fn is_finished(&self) -> bool { method is_executing (line 280) | pub(super) fn is_executing(&self) -> bool { method execution_unattempted (line 284) | pub(super) fn execution_unattempted(&self) -> bool { method register_block_execution_enqueued (line 288) | pub(super) fn register_block_execution_enqueued(&mut self) { method register_made_executable_block (line 315) | pub(super) fn register_made_executable_block(&mut self, executable_blo... method register_block_executed (line 327) | pub(super) fn register_block_executed(&mut self) { method register_marked_complete (line 354) | pub(super) fn register_marked_complete(&mut self) { method dishonest_peers (line 366) | pub(super) fn dishonest_peers(&self) -> Vec { method disqualify_peer (line 370) | pub(super) fn disqualify_peer(&mut self, peer: NodeId) { method promote_peer (line 375) | pub(super) fn promote_peer(&mut self, peer: NodeId) { method demote_peer (line 379) | pub(super) fn demote_peer(&mut self, peer: NodeId) { method flush_dishonest_peers (line 383) | pub(super) fn flush_dishonest_peers(&mut self) { method block_acquisition_action (line 387) | pub(super) fn block_acquisition_action( method register_era_validator_weights (line 445) | pub(super) fn register_era_validator_weights(&mut self, validator_matr... method waiting_for_block_header (line 458) | pub(super) fn waiting_for_block_header(&self) -> bool { method register_block_header (line 475) | pub(super) fn register_block_header( method waiting_for_block (line 493) | pub(super) fn waiting_for_block(&self) -> bool { method register_block (line 510) | pub(super) fn register_block( method waiting_for_approvals_hashes (line 522) | pub(super) fn waiting_for_approvals_hashes(&self) -> bool { method register_approvals_hashes (line 545) | pub(super) fn register_approvals_hashes( method register_finality_signature_pending (line 557) | pub(super) fn register_finality_signature_pending(&mut self, validator... method switch_to_have_strict_finality (line 562) | pub(super) fn switch_to_have_strict_finality( method waiting_for_signatures (line 581) | pub(super) fn waiting_for_signatures(&self) -> bool { method register_finality_signature (line 586) | pub(super) fn register_finality_signature( method register_global_state (line 604) | pub(super) fn register_global_state(&mut self, global_state: Digest) -... method register_execution_results_checksum (line 615) | pub(super) fn register_execution_results_checksum( method waiting_for_execution_results (line 631) | pub(super) fn waiting_for_execution_results(&self) -> bool { method register_fetched_execution_results (line 649) | pub(super) fn register_fetched_execution_results( method register_execution_results_stored_notification (line 750) | pub(super) fn register_execution_results_stored_notification(&mut self... method waiting_for_transactions (line 764) | pub(super) fn waiting_for_transactions(&self) -> bool { method register_transaction (line 792) | pub(super) fn register_transaction( method register_peers (line 804) | pub(super) fn register_peers(&mut self, peers: Vec) { method handle_acceptance (line 819) | fn handle_acceptance( method flush_peers (line 859) | fn flush_peers(&mut self) { method touch (line 863) | fn touch(&mut self) { method peer_list (line 868) | pub(crate) fn peer_list(&self) -> &PeerList { method fmt (line 98) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { FILE: node/src/components/block_synchronizer/block_builder/latch.rs type Latch (line 8) | pub(super) struct Latch { method increment (line 15) | pub(super) fn increment(&mut self, increment_by: u8) { method decrement (line 27) | pub(super) fn decrement(&mut self, decrement_by: u8) { method unlatch (line 39) | pub(super) fn unlatch(&mut self) { method check_latch (line 44) | pub(super) fn check_latch(&mut self, interval: TimeDiff, checked: Time... method count (line 56) | pub(super) fn count(&self) -> u8 { method touch (line 60) | pub(super) fn touch(&mut self) { FILE: node/src/components/block_synchronizer/block_builder/tests.rs function handle_acceptance_promotes_and_disqualifies_peers (line 14) | fn handle_acceptance_promotes_and_disqualifies_peers() { function handle_acceptance_unlatches_builder (line 102) | fn handle_acceptance_unlatches_builder() { function register_era_validator_weights (line 167) | fn register_era_validator_weights() { function register_executable_block (line 214) | fn register_executable_block() { function register_block_execution (line 290) | fn register_block_execution() { function register_block_executed (line 373) | fn register_block_executed() { function register_block_marked_complete (line 445) | fn register_block_marked_complete() { FILE: node/src/components/block_synchronizer/block_synchronizer_progress.rs type BlockSynchronizerProgress (line 6) | pub(crate) enum BlockSynchronizerProgress { method is_active (line 14) | pub(crate) fn is_active(&self) -> bool { method fmt (line 24) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { FILE: node/src/components/block_synchronizer/config.rs constant DEFAULT_MAX_PARALLEL_TRIE_FETCHES (line 8) | const DEFAULT_MAX_PARALLEL_TRIE_FETCHES: u32 = 5000; constant DEFAULT_PEER_REFRESH_INTERVAL (line 9) | const DEFAULT_PEER_REFRESH_INTERVAL: &str = "90sec"; constant DEFAULT_NEED_NEXT_INTERVAL (line 10) | const DEFAULT_NEED_NEXT_INTERVAL: &str = "1sec"; constant DEFAULT_DISCONNECT_DISHONEST_PEERS_INTERVAL (line 11) | const DEFAULT_DISCONNECT_DISHONEST_PEERS_INTERVAL: &str = "10sec"; constant DEFAULT_LATCH_RESET_INTERVAL (line 12) | const DEFAULT_LATCH_RESET_INTERVAL: &str = "5sec"; type Config (line 16) | pub struct Config { method default (line 30) | fn default() -> Self { FILE: node/src/components/block_synchronizer/error.rs type BlockAcquisitionError (line 13) | pub(crate) enum BlockAcquisitionError { method fmt (line 37) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { FILE: node/src/components/block_synchronizer/event.rs type Event (line 23) | pub(crate) enum Event { method fmt (line 75) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { FILE: node/src/components/block_synchronizer/execution_results_acquisition.rs type ExecutionResultsChecksum (line 21) | pub(crate) enum ExecutionResultsChecksum { method is_checkable (line 38) | pub(super) fn is_checkable(&self) -> bool { method fmt (line 29) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type Error (line 44) | pub(crate) enum Error { method fmt (line 90) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type ExecutionResultsAcquisition (line 186) | pub(super) enum ExecutionResultsAcquisition { method needs_value_or_chunk (line 239) | pub(super) fn needs_value_or_chunk( method apply_checksum (line 261) | pub(super) fn apply_checksum(self, checksum: ExecutionResultsChecksum)... method apply_block_execution_results_or_chunk (line 279) | pub(super) fn apply_block_execution_results_or_chunk( method is_checkable (line 432) | pub(super) fn is_checkable(&self) -> bool { method block_hash (line 441) | fn block_hash(&self) -> BlockHash { method fmt (line 209) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type ApplyChunkOutcome (line 452) | enum ApplyChunkOutcome { method need_next (line 467) | fn need_next(chunks: HashMap, chunk_count: u64, n... method execution_results (line 475) | fn execution_results(execution_results: Vec) -> Self { function apply_chunk (line 480) | fn apply_chunk( FILE: node/src/components/block_synchronizer/execution_results_acquisition/tests.rs constant NUM_TEST_EXECUTION_RESULTS (line 14) | const NUM_TEST_EXECUTION_RESULTS: u64 = 100000; function execution_results_chunks_apply_correctly (line 17) | fn execution_results_chunks_apply_correctly() { function single_chunk_execution_results_dont_apply_other_chunks (line 67) | fn single_chunk_execution_results_dont_apply_other_chunks() { function execution_results_chunks_from_block_with_different_hash_are_not_applied (line 88) | fn execution_results_chunks_from_block_with_different_hash_are_not_appli... function execution_results_chunks_from_trie_with_different_chunk_count_are_not_applied (line 123) | fn execution_results_chunks_from_trie_with_different_chunk_count_are_not... function invalid_execution_results_from_applied_chunks_dont_deserialize (line 147) | fn invalid_execution_results_from_applied_chunks_dont_deserialize() { function cant_apply_chunk_from_different_exec_results_or_invalid_checksum (line 168) | fn cant_apply_chunk_from_different_exec_results_or_invalid_checksum() { method new_needed (line 223) | fn new_needed(block_hash: BlockHash) -> Self { method new_pending (line 231) | fn new_pending(block_hash: BlockHash, checksum: ExecutionResultsChecksum... method new_acquiring (line 245) | fn new_acquiring( method new_complete (line 271) | fn new_complete( function acquisition_needed_state_has_correct_transitions (line 289) | fn acquisition_needed_state_has_correct_transitions() { function acquisition_pending_state_has_correct_transitions (line 320) | fn acquisition_pending_state_has_correct_transitions() { function acquisition_acquiring_state_has_correct_transitions (line 384) | fn acquisition_acquiring_state_has_correct_transitions() { function acquisition_acquiring_state_gets_overridden_by_value (line 439) | fn acquisition_acquiring_state_gets_overridden_by_value() { function acquisition_complete_state_has_correct_transitions (line 491) | fn acquisition_complete_state_has_correct_transitions() { FILE: node/src/components/block_synchronizer/global_state_synchronizer.rs constant COMPONENT_NAME (line 36) | const COMPONENT_NAME: &str = "global_state_synchronizer"; type RootHash (line 39) | pub(crate) struct RootHash(Digest); method new (line 43) | pub(crate) fn new(digest: Digest) -> Self { method into_inner (line 47) | pub(crate) fn into_inner(self) -> Digest { method fmt (line 53) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type TrieHash (line 59) | pub(crate) struct TrieHash(Digest); method fmt (line 62) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type Error (line 68) | pub(crate) enum Error { type Response (line 83) | pub(crate) struct Response { method new (line 89) | pub(crate) fn new(hash: RootHash, unreliable_peers: Vec) -> Se... method hash (line 96) | pub(crate) fn hash(&self) -> &RootHash { method unreliable_peers (line 100) | pub(crate) fn unreliable_peers(self) -> Vec { type Event (line 106) | pub(crate) enum Event { type RequestState (line 125) | struct RequestState { method new (line 133) | fn new(request: SyncGlobalStateRequest) -> Self { method add_request (line 145) | fn add_request(&mut self, request: SyncGlobalStateRequest) { method respond (line 151) | fn respond(self, response: Result) -> Effects { type TrieAwaitingChildren (line 160) | struct TrieAwaitingChildren { method new (line 166) | fn new(trie_raw: TrieRaw, missing_children: Vec) -> Self { method trie_written (line 175) | fn trie_written(&mut self, written_trie: TrieHash) { method ready_to_be_written (line 179) | fn ready_to_be_written(&self) -> bool { method into_trie_raw (line 183) | fn into_trie_raw(self) -> TrieRaw { type FetchQueue (line 189) | struct FetchQueue { method insert (line 197) | fn insert(&mut self, trie_hash: TrieHash) { method take (line 203) | fn take(&mut self, num_to_take: usize) -> Vec { method handle_request_cancelled (line 218) | fn handle_request_cancelled(&mut self) { type GlobalStateSynchronizer (line 225) | pub(super) struct GlobalStateSynchronizer { method new (line 236) | pub(super) fn new(max_parallel_trie_fetches: usize) -> Self { method touch (line 248) | fn touch(&mut self) { method last_progress (line 252) | pub(super) fn last_progress(&self) -> Option { method handle_request (line 256) | fn handle_request( method parallel_fetch (line 301) | fn parallel_fetch(&mut self, effect_builder: EffectBuilder) ... method parallel_fetch_with_peers (line 307) | fn parallel_fetch_with_peers( method handle_fetched_trie (line 359) | fn handle_fetched_trie( method cancel_request (line 433) | pub(super) fn cancel_request(&mut self, error: Error) -> Effects { method finish_request (line 448) | fn finish_request(&mut self) -> Effects { method handle_put_trie_result (line 465) | fn handle_put_trie_result( method handle_trie_written (line 516) | fn handle_trie_written( method enqueue_trie_for_fetching (line 567) | fn enqueue_trie_for_fetching( method handle_trie_missing_children (line 594) | fn handle_trie_missing_children( type Event (line 634) | type Event = Event; method handle_event (line 636) | fn handle_event( method name (line 661) | fn name(&self) -> &str { FILE: node/src/components/block_synchronizer/global_state_synchronizer/tests.rs type ReactorEvent (line 17) | enum ReactorEvent { method from (line 23) | fn from(req: ContractRuntimeRequest) -> ReactorEvent { method from (line 29) | fn from(req: TrieAccumulatorRequest) -> ReactorEvent { type MockReactor (line 34) | struct MockReactor { method new (line 40) | fn new() -> Self { method effect_builder (line 50) | fn effect_builder(&self) -> EffectBuilder { method expect_trie_accumulator_request (line 54) | async fn expect_trie_accumulator_request(&self, hash: &Digest) { method expect_put_trie_request (line 66) | async fn expect_put_trie_request(&self, trie: &TrieRaw) { function random_test_trie (line 82) | fn random_test_trie(rng: &mut TestRng) -> TrieRaw { function random_sync_global_state_request (line 87) | fn random_sync_global_state_request( function fetch_request_without_peers_is_canceled (line 106) | async fn fetch_request_without_peers_is_canceled() { function sync_global_state_request_starts_maximum_trie_fetches (line 146) | async fn sync_global_state_request_starts_maximum_trie_fetches() { function trie_accumulator_error_cancels_request (line 257) | async fn trie_accumulator_error_cancels_request() { function successful_trie_fetch_puts_trie_to_store (line 339) | async fn successful_trie_fetch_puts_trie_to_store() { function trie_store_error_cancels_request (line 393) | async fn trie_store_error_cancels_request() { function missing_trie_node_children_triggers_fetch (line 446) | async fn missing_trie_node_children_triggers_fetch() { function stored_trie_finalizes_request (line 647) | async fn stored_trie_finalizes_request() { FILE: node/src/components/block_synchronizer/metrics.rs constant HIST_SYNC_DURATION_NAME (line 5) | const HIST_SYNC_DURATION_NAME: &str = "historical_block_sync_duration_se... constant HIST_SYNC_DURATION_HELP (line 6) | const HIST_SYNC_DURATION_HELP: &str = "duration (in sec) to synchronize ... constant FWD_SYNC_DURATION_NAME (line 7) | const FWD_SYNC_DURATION_NAME: &str = "forward_block_sync_duration_seconds"; constant FWD_SYNC_DURATION_HELP (line 8) | const FWD_SYNC_DURATION_HELP: &str = "duration (in sec) to synchronize a... constant EXPONENTIAL_BUCKET_START (line 12) | const EXPONENTIAL_BUCKET_START: f64 = 0.2; constant EXPONENTIAL_BUCKET_FACTOR (line 13) | const EXPONENTIAL_BUCKET_FACTOR: f64 = 2.0; constant EXPONENTIAL_BUCKET_COUNT (line 14) | const EXPONENTIAL_BUCKET_COUNT: usize = 10; type Metrics (line 18) | pub(super) struct Metrics { method new (line 28) | pub fn new(registry: &Registry) -> Result { method drop (line 54) | fn drop(&mut self) { FILE: node/src/components/block_synchronizer/need_next.rs type NeedNext (line 11) | pub(crate) enum NeedNext { FILE: node/src/components/block_synchronizer/peer_list.rs type PeerQuality (line 15) | enum PeerQuality { type PeersStatus (line 23) | pub(super) enum PeersStatus { type PeerList (line 30) | pub(super) struct PeerList { method new (line 38) | pub(super) fn new(max_simultaneous_peers: u8, peer_refresh_interval: T... method register_peer (line 46) | pub(super) fn register_peer(&mut self, peer: NodeId) { method dishonest_peers (line 54) | pub(super) fn dishonest_peers(&self) -> Vec { method flush (line 67) | pub(super) fn flush(&mut self) { method flush_dishonest_peers (line 71) | pub(super) fn flush_dishonest_peers(&mut self) { method disqualify_peer (line 75) | pub(super) fn disqualify_peer(&mut self, peer: NodeId) { method promote_peer (line 79) | pub(super) fn promote_peer(&mut self, peer: NodeId) { method demote_peer (line 100) | pub(super) fn demote_peer(&mut self, peer: NodeId) { method need_peers (line 118) | pub(super) fn need_peers(&mut self) -> PeersStatus { method get_random_peers_by_quality (line 146) | fn get_random_peers_by_quality( method qualified_peers (line 161) | pub(super) fn qualified_peers(&self, rng: &mut NodeRng) -> Vec { method qualified_peers_up_to (line 165) | pub(super) fn qualified_peers_up_to(&self, rng: &mut NodeRng, up_to: u... FILE: node/src/components/block_synchronizer/peer_list/tests.rs method is_peer_unreliable (line 7) | pub(crate) fn is_peer_unreliable(&self, peer_id: &NodeId) -> bool { method is_peer_reliable (line 11) | pub(crate) fn is_peer_reliable(&self, peer_id: &NodeId) -> bool { method is_peer_unknown (line 15) | pub(crate) fn is_peer_unknown(&self, peer_id: &NodeId) -> bool { function random_peers (line 21) | fn random_peers(rng: &mut TestRng, num_random_peers: usize) -> HashSet impl Iterator impl Iterator { method not_pending (line 94) | pub(super) fn not_pending(&self) -> impl Iterator { method set_is_legacy (line 101) | pub(super) fn set_is_legacy(&mut self, is_legacy: bool) { method is_legacy (line 105) | pub(super) fn is_legacy(&self) -> bool { method signature_weight (line 109) | pub(super) fn signature_weight(&self) -> SignatureWeight { method has_sufficient_finality (line 119) | pub(super) fn has_sufficient_finality( method have_no_vacant (line 158) | pub(super) fn have_no_vacant(&self) -> bool { function keypair (line 163) | fn keypair(rng: &mut TestRng) -> (PublicKey, SecretKey) { function test_finality_with_ratio (line 185) | fn test_finality_with_ratio(finality_threshold: Ratio, first_weight... function should_return_insufficient_when_weight_1_and_1_3_is_required (line 293) | fn should_return_insufficient_when_weight_1_and_1_3_is_required() { function should_return_weak_when_weight_1_and_1_10_is_required (line 298) | fn should_return_weak_when_weight_1_and_1_10_is_required() { function should_return_weak_when_weight_1_and_1_11_is_required (line 303) | fn should_return_weak_when_weight_1_and_1_11_is_required() { function adding_a_not_already_stored_validator_signature_works (line 308) | fn adding_a_not_already_stored_validator_signature_works() { function signing_twice_does_nothing (line 355) | fn signing_twice_does_nothing() { function register_pending_has_the_expected_behavior (line 407) | fn register_pending_has_the_expected_behavior() { function register_pending_an_unknown_validator_works (line 470) | fn register_pending_an_unknown_validator_works() { function missing_legacy_flag_means_not_legacy (line 491) | fn missing_legacy_flag_means_not_legacy() { function not_historical_and_not_legacy_and_is_insufficient (line 506) | fn not_historical_and_not_legacy_and_is_insufficient() { function not_historical_and_not_legacy_and_is_weak (line 539) | fn not_historical_and_not_legacy_and_is_weak() { function not_historical_and_not_legacy_and_is_strict (line 572) | fn not_historical_and_not_legacy_and_is_strict() { function historical_and_legacy_requires_any_and_is_insufficient (line 605) | fn historical_and_legacy_requires_any_and_is_insufficient() { function historical_and_legacy_requires_any_and_is_weak (line 628) | fn historical_and_legacy_requires_any_and_is_weak() { function historical_and_legacy_requires_any_and_is_strict (line 651) | fn historical_and_legacy_requires_any_and_is_strict() { function historical_and_legacy_requires_weak_and_is_insufficient (line 674) | fn historical_and_legacy_requires_weak_and_is_insufficient() { function historical_and_legacy_requires_weak_and_is_weak (line 697) | fn historical_and_legacy_requires_weak_and_is_weak() { function historical_and_legacy_requires_weak_and_is_strict (line 720) | fn historical_and_legacy_requires_weak_and_is_strict() { function historical_and_legacy_requires_strict_and_is_insufficient (line 743) | fn historical_and_legacy_requires_strict_and_is_insufficient() { function historical_and_legacy_requires_strict_and_is_weak (line 766) | fn historical_and_legacy_requires_strict_and_is_weak() { function historical_and_legacy_requires_strict_and_is_strict (line 789) | fn historical_and_legacy_requires_strict_and_is_strict() { FILE: node/src/components/block_synchronizer/tests.rs constant MAX_SIMULTANEOUS_PEERS (line 37) | const MAX_SIMULTANEOUS_PEERS: u8 = 5; constant TEST_LATCH_RESET_INTERVAL_MILLIS (line 38) | const TEST_LATCH_RESET_INTERVAL_MILLIS: u64 = 5; constant SHOULD_FETCH_EXECUTION_STATE (line 39) | const SHOULD_FETCH_EXECUTION_STATE: bool = true; constant STRICT_FINALITY_REQUIRED_VERSION (line 40) | const STRICT_FINALITY_REQUIRED_VERSION: ProtocolVersion = ProtocolVersio... type MockReactorEvent (line 44) | enum MockReactorEvent { type MockReactor (line 66) | struct MockReactor { method new (line 72) | fn new() -> Self { method effect_builder (line 82) | fn effect_builder(&self) -> EffectBuilder { method crank (line 86) | async fn crank(&self) -> MockReactorEvent { method process_effects (line 91) | async fn process_effects( type TestEnv (line 105) | struct TestEnv { method with_block (line 114) | fn with_block(self, block: Block) -> Self { method block (line 122) | fn block(&self) -> &Block { method validator_keys (line 126) | fn validator_keys(&self) -> &Vec> { method peers (line 130) | fn peers(&self) -> &Vec { method gen_validator_matrix (line 136) | fn gen_validator_matrix(&self) -> ValidatorMatrix { method random (line 161) | fn random(rng: &mut TestRng) -> TestEnv { function check_sync_global_state_event (line 180) | fn check_sync_global_state_event(event: MockReactorEvent, block: &Block) { function need_next (line 198) | async fn need_next( function register_multiple_signatures (line 209) | fn register_multiple_signatures<'a, I: IntoIterator TrieMerkleProof { type OneExt (line 239) | trait OneExt: IntoIterator { method try_one (line 240) | fn try_one(self) -> Option; method one (line 241) | fn one(self) -> Self::Item; method try_one (line 245) | fn try_one(self) -> Option { method one (line 253) | fn one(self) -> Self::Item { method new_initialized (line 269) | fn new_initialized( method with_legacy_finality (line 291) | fn with_legacy_finality(mut self, legacy_required_finality: LegacyRequir... method forward_builder (line 300) | fn forward_builder(&self) -> &BlockBuilder { function weak_finality_threshold (line 306) | fn weak_finality_threshold(n: usize) -> usize { function strict_finality_threshold (line 311) | fn strict_finality_threshold(n: usize) -> usize { function latch_inner_check (line 315) | fn latch_inner_check(builder: Option<&BlockBuilder>, expected: bool, msg... function latch_count_check (line 324) | fn latch_count_check(builder: Option<&BlockBuilder>, expected: u8, msg: ... function need_next_inner_check (line 333) | fn need_next_inner_check( function global_state_sync_wont_stall_with_bad_peers (line 347) | async fn global_state_sync_wont_stall_with_bad_peers() { function synchronizer_doesnt_busy_loop_without_peers (line 498) | async fn synchronizer_doesnt_busy_loop_without_peers() { function should_not_stall_after_registering_new_era_validator_weights (line 618) | async fn should_not_stall_after_registering_new_era_validator_weights() { function duplicate_register_block_not_allowed_if_builder_is_not_failed (line 734) | fn duplicate_register_block_not_allowed_if_builder_is_not_failed() { function historical_sync_gets_peers_form_both_connected_peers_and_accumulator (line 759) | async fn historical_sync_gets_peers_form_both_connected_peers_and_accumu... function fwd_sync_gets_peers_only_from_accumulator (line 802) | async fn fwd_sync_gets_peers_only_from_accumulator() { function sync_starts_with_header_fetch (line 836) | async fn sync_starts_with_header_fetch() { function fwd_sync_is_not_blocked_by_failed_header_fetch_within_latch_interval (line 874) | async fn fwd_sync_is_not_blocked_by_failed_header_fetch_within_latch_int... function registering_header_successfully_triggers_signatures_fetch_for_weak_finality (line 1004) | async fn registering_header_successfully_triggers_signatures_fetch_for_w... function fwd_more_signatures_are_requested_if_weak_finality_is_not_reached (line 1084) | async fn fwd_more_signatures_are_requested_if_weak_finality_is_not_reach... function fwd_sync_is_not_blocked_by_failed_signatures_fetch_within_latch_interval (line 1214) | async fn fwd_sync_is_not_blocked_by_failed_signatures_fetch_within_latch... function next_action_for_have_weak_finality_is_fetching_block_body (line 1347) | async fn next_action_for_have_weak_finality_is_fetching_block_body() { function registering_block_body_transitions_builder_to_have_block_state (line 1415) | async fn registering_block_body_transitions_builder_to_have_block_state() { function fwd_having_block_body_for_block_without_deploys_requires_only_signatures (line 1497) | async fn fwd_having_block_body_for_block_without_deploys_requires_only_s... function fwd_having_block_body_for_block_with_deploys_requires_approvals_hashes (line 1557) | async fn fwd_having_block_body_for_block_with_deploys_requires_approvals... function fwd_registering_approvals_hashes_triggers_fetch_for_deploys (line 1642) | async fn fwd_registering_approvals_hashes_triggers_fetch_for_deploys() { function fwd_have_block_body_without_deploys_and_strict_finality_transitions_state_machine (line 1728) | async fn fwd_have_block_body_without_deploys_and_strict_finality_transit... function fwd_have_block_with_strict_finality_requires_creation_of_finalized_block (line 1795) | async fn fwd_have_block_with_strict_finality_requires_creation_of_finali... function fwd_have_strict_finality_requests_enqueue_when_finalized_block_is_created (line 1869) | async fn fwd_have_strict_finality_requests_enqueue_when_finalized_block_... function fwd_builder_status_is_executing_when_block_is_enqueued_for_execution (line 1966) | async fn fwd_builder_status_is_executing_when_block_is_enqueued_for_exec... function fwd_sync_is_finished_when_block_is_marked_as_executed (line 2044) | async fn fwd_sync_is_finished_when_block_is_marked_as_executed() { function historical_sync_announces_meta_block (line 2118) | async fn historical_sync_announces_meta_block() { function builders_are_purged_when_requested (line 2225) | fn builders_are_purged_when_requested() { function synchronizer_halts_if_block_cannot_be_made_executable (line 2266) | async fn synchronizer_halts_if_block_cannot_be_made_executable() { function historical_state (line 2355) | fn historical_state(block_synchronizer: &BlockSynchronizer) -> &BlockAcq... function historical_sync_skips_exec_results_and_deploys_if_block_empty (line 2366) | async fn historical_sync_skips_exec_results_and_deploys_if_block_empty() { function historical_sync_no_legacy_block (line 2468) | async fn historical_sync_no_legacy_block() { function historical_sync_legacy_block_strict_finality (line 2696) | async fn historical_sync_legacy_block_strict_finality() { function historical_sync_legacy_block_weak_finality (line 2898) | async fn historical_sync_legacy_block_weak_finality() { function historical_sync_legacy_block_any_finality (line 3113) | async fn historical_sync_legacy_block_any_finality() { function fwd_sync_latch_should_not_decrement_for_old_responses (line 3326) | async fn fwd_sync_latch_should_not_decrement_for_old_responses() { function historical_sync_latch_should_not_decrement_for_old_deploy_fetch_responses (line 3800) | async fn historical_sync_latch_should_not_decrement_for_old_deploy_fetch... function historical_sync_latch_should_not_decrement_for_old_execution_results (line 4088) | async fn historical_sync_latch_should_not_decrement_for_old_execution_re... FILE: node/src/components/block_synchronizer/tests/test_utils.rs function chunks_with_proof_from_data (line 8) | pub(crate) fn chunks_with_proof_from_data(data: &[u8]) -> BTreeMap) -> std::fmt::Result { type TransactionIdentifier (line 35) | pub(super) enum TransactionIdentifier { type TransactionAcquisition (line 41) | pub(super) enum TransactionAcquisition { method new_by_hash (line 47) | pub(super) fn new_by_hash( method apply_transaction (line 54) | pub(super) fn apply_transaction( method apply_approvals_hashes (line 68) | pub(super) fn apply_approvals_hashes( method needs_transaction (line 109) | pub(super) fn needs_transaction(&self) -> bool { method next_needed_transaction (line 116) | pub(super) fn next_needed_transaction(&self) -> Option { function new (line 142) | fn new(txn_identifiers: Vec, need_execution_result: bool) -> Self { function apply_transaction (line 153) | fn apply_transaction(&mut self, transaction_identifier: T) -> Option Option { FILE: node/src/components/block_synchronizer/transaction_acquisition/tests.rs function gen_test_transactions (line 14) | fn gen_test_transactions(rng: &mut TestRng) -> BTreeMap + Clone>( function get_transaction_id (line 48) | fn get_transaction_id(transaction: &Transaction) -> TransactionId { function dont_apply_approvals_hashes_when_acquiring_by_id (line 62) | fn dont_apply_approvals_hashes_when_acquiring_by_id() { function apply_approvals_on_acquisition_by_hash_creates_correct_ids (line 83) | fn apply_approvals_on_acquisition_by_hash_creates_correct_ids() { function apply_approvals_hashes_after_having_already_applied_transactions (line 127) | fn apply_approvals_hashes_after_having_already_applied_transactions() { function partially_applied_txns_on_acquisition_by_hash_should_need_missing_txns (line 148) | fn partially_applied_txns_on_acquisition_by_hash_should_need_missing_txn... function apply_unregistered_transaction_returns_no_acceptance (line 183) | fn apply_unregistered_transaction_returns_no_acceptance() { FILE: node/src/components/block_synchronizer/trie_accumulator.rs constant COMPONENT_NAME (line 35) | const COMPONENT_NAME: &str = "trie_accumulator"; type Error (line 38) | pub(crate) enum Error { type Response (line 50) | pub(crate) struct Response { method new (line 56) | pub(crate) fn new(trie: TrieRaw, unreliable_peers: Vec) -> Self { method trie (line 63) | pub(crate) fn trie(self) -> Box { method unreliable_peers (line 67) | pub(crate) fn unreliable_peers(&self) -> &Vec { type PartialChunks (line 73) | struct PartialChunks { method missing_chunk (line 81) | fn missing_chunk(&self, count: u64) -> Option { method assemble_chunks (line 85) | fn assemble_chunks(&self, count: u64) -> TrieRaw { method next_peer (line 94) | fn next_peer(&mut self) -> Option<&NodeId> { method merge (line 100) | fn merge(&mut self, other: PartialChunks) { method respond (line 112) | fn respond(self, value: Result) -> Effects { method mark_peer_unreliable (line 119) | fn mark_peer_unreliable(&mut self, peer: &NodeId) { type TrieAccumulator (line 125) | pub(super) struct TrieAccumulator { method new (line 151) | pub(crate) fn new() -> Self { method consume_trie_or_chunk (line 157) | fn consume_trie_or_chunk( method consume_chunk (line 182) | fn consume_chunk( method try_download_chunk (line 233) | fn try_download_chunk( type Event (line 262) | type Event = Event; method handle_event (line 264) | fn handle_event( method name (line 344) | fn name(&self) -> &str { type Event (line 130) | pub(crate) enum Event { method fmt (line 140) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { FILE: node/src/components/block_synchronizer/trie_accumulator/tests.rs type ReactorEvent (line 13) | enum ReactorEvent { method from (line 19) | fn from(req: PeerBehaviorAnnouncement) -> ReactorEvent { method from (line 25) | fn from(req: FetcherRequest) -> ReactorEvent { type MockReactor (line 30) | struct MockReactor { method new (line 36) | fn new() -> Self { method effect_builder (line 46) | fn effect_builder(&self) -> EffectBuilder { method expect_fetch_event (line 50) | async fn expect_fetch_event(&self, chunk_id: &TrieOrChunkId, peer: &No... function download_chunk_and_check (line 64) | async fn download_chunk_and_check( function unsolicited_chunk_produces_no_effects (line 87) | fn unsolicited_chunk_produces_no_effects() { function try_download_chunk_generates_fetch_effect (line 99) | async fn try_download_chunk_generates_fetch_effect() { function failed_fetch_retriggers_download_with_different_peer (line 125) | async fn failed_fetch_retriggers_download_with_different_peer() { function fetched_chunk_triggers_download_of_missing_chunk (line 173) | async fn fetched_chunk_triggers_download_of_missing_chunk() { function trie_returned_when_all_chunks_fetched (line 216) | async fn trie_returned_when_all_chunks_fetched() { FILE: node/src/components/block_validator.rs constant COMPONENT_NAME (line 51) | const COMPONENT_NAME: &str = "block_validator"; function timestamp (line 54) | fn timestamp(&self) -> Timestamp { function transaction_count (line 59) | pub(crate) fn transaction_count(&self) -> usize { function all_transactions (line 63) | pub(crate) fn all_transactions( type MaybeHandled (line 71) | enum MaybeHandled { type BlockValidator (line 79) | pub(crate) struct BlockValidator { method new (line 98) | pub(crate) fn new( method try_handle_as_existing_request (line 116) | fn try_handle_as_existing_request( method handle_new_request (line 185) | fn handle_new_request( method relevant_blocks_and_cited_signatures (line 236) | fn relevant_blocks_and_cited_signatures<'b, 'c>( method era_ids_vec (line 296) | fn era_ids_vec(past_blocks_with_metadata: &[Option]... method get_relevant_validators (line 313) | fn get_relevant_validators( method handle_got_past_blocks_with_metadata (line 332) | fn handle_got_past_blocks_with_metadata( method handle_block_stored (line 410) | fn handle_block_stored( method handle_new_request_with_signatures (line 440) | fn handle_new_request_with_signatures( method purge_oldest_complete (line 527) | fn purge_oldest_complete(&mut self) { method update_era_price (line 558) | fn update_era_price(&mut self, current_price: u8) { method handle_transaction_fetched (line 562) | fn handle_transaction_fetched( method handle_finality_signature_fetched (line 706) | fn handle_finality_signature_fetched( type Event (line 894) | type Event = Event; method name (line 896) | fn name(&self) -> &str { method handle_event (line 900) | fn handle_event( function fetch_transactions_and_signatures (line 817) | fn fetch_transactions_and_signatures( function respond_valid (line 865) | fn respond_valid( function respond_invalid (line 874) | fn respond_invalid( FILE: node/src/components/block_validator/config.rs type Config (line 6) | pub struct Config { method default (line 11) | fn default() -> Self { FILE: node/src/components/block_validator/event.rs type Event (line 11) | pub(crate) enum Event { FILE: node/src/components/block_validator/state.rs type HolderState (line 25) | pub(super) enum HolderState { type AddResponderResult (line 36) | pub(super) enum AddResponderResult { type MaybeStartFetching (line 48) | pub(super) enum MaybeStartFetching { type ApprovalInfo (line 66) | pub(super) struct ApprovalInfo { method new (line 72) | fn new(approvals: BTreeSet, approvals_hash: ApprovalsHash) -... type BlockValidationState (line 85) | pub(super) enum BlockValidationState { method new (line 122) | pub(super) fn new( method validate_transaction_lane_counts (line 210) | fn validate_transaction_lane_counts( method add_responder (line 242) | pub(super) fn add_responder( method add_holder (line 266) | pub(super) fn add_holder(&mut self, holder: NodeId) { method try_mark_holder_failed (line 292) | pub(super) fn try_mark_holder_failed(&mut self, holder: &NodeId) { method start_fetching (line 308) | pub(super) fn start_fetching(&mut self) -> MaybeStartFetching { method take_responders (line 357) | pub(super) fn take_responders( method try_add_transaction_footprint (line 368) | pub(super) fn try_add_transaction_footprint( method try_add_signature (line 429) | pub(super) fn try_add_signature( method try_mark_invalid (line 467) | pub(super) fn try_mark_invalid( method try_mark_invalid_signature (line 496) | pub(super) fn try_mark_invalid_signature( method block_timestamp_if_completed (line 523) | pub(super) fn block_timestamp_if_completed(&self) -> Option { method missing_hashes (line 532) | pub(super) fn missing_hashes(&self) -> Vec { method holders_mut (line 543) | pub(super) fn holders_mut(&mut self) -> Option<&mut HashMap usize { method completed (line 559) | pub(super) fn completed(&self) -> bool { type MaybeBlockValidationStateResponder (line 114) | pub(super) type MaybeBlockValidationStateResponder = method fmt (line 565) | fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result { type Fixture (line 611) | struct Fixture<'a> { function new (line 618) | fn new(rng: &'a mut TestRng) -> Self { function new_with_block_gas_limit (line 627) | fn new_with_block_gas_limit(rng: &'a mut TestRng, block_limit: u64) -> S... function footprints (line 637) | fn footprints(&self) -> Vec<(TransactionHash, TransactionFootprint)> { function new_state (line 650) | fn new_state( function new_responder (line 723) | fn new_responder() -> Responder>> { constant MAX_LARGE_COUNT (line 729) | const MAX_LARGE_COUNT: u64 = 1; constant MAX_AUCTION_COUNT (line 730) | const MAX_AUCTION_COUNT: u64 = 650; constant MAX_INSTALL_UPGRADE_COUNT (line 731) | const MAX_INSTALL_UPGRADE_COUNT: u64 = 1; constant MAX_MINT_COUNT (line 732) | const MAX_MINT_COUNT: u64 = 650; type TestCase (line 735) | struct TestCase { constant NO_TRANSACTIONS (line 743) | const NO_TRANSACTIONS: TestCase = TestCase { constant FULL_AUCTION (line 753) | const FULL_AUCTION: TestCase = TestCase { constant LESS_THAN_MAX_AUCTION (line 763) | const LESS_THAN_MAX_AUCTION: TestCase = TestCase { constant TOO_MANY_AUCTION (line 771) | const TOO_MANY_AUCTION: TestCase = TestCase { constant FULL_INSTALL_UPGRADE (line 779) | const FULL_INSTALL_UPGRADE: TestCase = TestCase { constant LESS_THAN_MAX_INSTALL_UPGRADE (line 790) | const LESS_THAN_MAX_INSTALL_UPGRADE: TestCase = TestCase { constant TOO_MANY_INSTALL_UPGRADE (line 798) | const TOO_MANY_INSTALL_UPGRADE: TestCase = TestCase { constant FULL_STANDARD (line 806) | const FULL_STANDARD: TestCase = TestCase { constant TOO_MANY_STANDARD (line 824) | const TOO_MANY_STANDARD: TestCase = TestCase { constant FULL_MINT (line 832) | const FULL_MINT: TestCase = TestCase { constant LESS_THAN_MAX_MINT (line 842) | const LESS_THAN_MAX_MINT: TestCase = TestCase { constant TOO_MANY_MINT (line 850) | const TOO_MANY_MINT: TestCase = TestCase { function run_test_case (line 858) | fn run_test_case( function new_state_should_be_valid_with_no_transactions (line 879) | fn new_state_should_be_valid_with_no_transactions() { function new_state_should_respect_auction_limits (line 885) | fn new_state_should_respect_auction_limits() { function new_state_should_respect_install_upgrade_limits (line 893) | fn new_state_should_respect_install_upgrade_limits() { function new_state_should_respect_standard_limits (line 902) | fn new_state_should_respect_standard_limits() { function new_state_should_respect_mint_limits (line 911) | fn new_state_should_respect_mint_limits() { function new_state_should_be_invalid_with_duplicated_transaction (line 919) | fn new_state_should_be_invalid_with_duplicated_transaction() { function new_state_should_be_in_progress_with_some_transactions (line 947) | fn new_state_should_be_in_progress_with_some_transactions() { function should_add_responder_if_in_progress (line 997) | fn should_add_responder_if_in_progress() { function should_not_add_responder_if_valid (line 1010) | fn should_not_add_responder_if_valid() { function should_not_add_responder_if_invalid (line 1024) | fn should_not_add_responder_if_invalid() { function should_add_new_holder_if_in_progress (line 1044) | fn should_add_new_holder_if_in_progress() { function should_not_change_holder_state (line 1061) | fn should_not_change_holder_state() { function should_start_fetching (line 1084) | fn should_start_fetching() { function start_fetching_should_return_ongoing_if_any_holder_in_asked_state (line 1126) | fn start_fetching_should_return_ongoing_if_any_holder_in_asked_state() { function start_fetching_should_return_unable_if_all_holders_in_failed_state (line 1171) | fn start_fetching_should_return_unable_if_all_holders_in_failed_state() { function start_fetching_should_return_validation_succeeded_if_valid (line 1206) | fn start_fetching_should_return_validation_succeeded_if_valid() { function start_fetching_should_return_validation_failed_if_invalid (line 1216) | fn start_fetching_should_return_validation_failed_if_invalid() { function state_should_change_to_validation_succeeded (line 1228) | fn state_should_change_to_validation_succeeded() { function unrelated_transaction_added_should_not_change_state (line 1257) | fn unrelated_transaction_added_should_not_change_state() { function state_should_change_to_validation_failed (line 1307) | fn state_should_change_to_validation_failed() { FILE: node/src/components/block_validator/tests.rs type ReactorEvent (line 30) | enum ReactorEvent { method from (line 44) | fn from(req: BlockValidationRequest) -> ReactorEvent { type MockReactor (line 49) | struct MockReactor { method new (line 55) | fn new>( method expect_block_validator_event (line 65) | async fn expect_block_validator_event(&self) -> Event { method handle_requests (line 74) | async fn handle_requests(&self, context: &ValidationContext) { function new_proposed_block_with_cited_signatures (line 137) | pub(super) fn new_proposed_block_with_cited_signatures( function new_proposed_block (line 163) | pub(super) fn new_proposed_block( function new_v1_standard (line 180) | pub(super) fn new_v1_standard( function new_auction (line 189) | pub(super) fn new_auction(rng: &mut TestRng, timestamp: Timestamp, ttl: ... function new_install_upgrade (line 194) | pub(super) fn new_install_upgrade( function new_deploy (line 202) | pub(super) fn new_deploy(rng: &mut TestRng, timestamp: Timestamp, ttl: T... function new_v1_transfer (line 230) | pub(super) fn new_v1_transfer( function new_transfer (line 238) | pub(super) fn new_transfer(rng: &mut TestRng, timestamp: Timestamp, ttl:... function new_mint (line 265) | pub(super) fn new_mint(rng: &mut TestRng, timestamp: Timestamp, ttl: Tim... function new_standard (line 273) | pub(super) fn new_standard(rng: &mut TestRng, timestamp: Timestamp, ttl:... function new_non_transfer (line 281) | pub(super) fn new_non_transfer( type SecretKeys (line 294) | type SecretKeys = BTreeMap>; type ValidationContext (line 296) | struct ValidationContext { method new (line 319) | fn new() -> Self { method with_num_validators (line 337) | fn with_num_validators(mut self, rng: &mut TestRng, num_validators: us... method with_count_limits (line 346) | fn with_count_limits( method with_block_gas_limit (line 363) | fn with_block_gas_limit(mut self, block_gas_limit: u64) -> Self { method get_validators (line 368) | fn get_validators(&self) -> Vec { method with_past_blocks (line 372) | fn with_past_blocks( method with_delayed_blocks (line 391) | fn with_delayed_blocks( method get_delayed_blocks (line 410) | fn get_delayed_blocks(&mut self) -> Vec { method with_signatures_for_block (line 417) | fn with_signatures_for_block<'a, I: IntoIterator>( method with_fetchable_signatures (line 450) | fn with_fetchable_signatures<'a, I: IntoIterator>( method include_signatures (line 477) | fn include_signatures<'a, I: IntoIterator>( method with_transactions (line 494) | fn with_transactions(mut self, transactions: Vec) -> Self { method with_transfers (line 503) | fn with_transfers(mut self, transfers: Vec) -> Self { method include_all_transactions (line 512) | fn include_all_transactions(mut self) -> Self { method include_all_transfers (line 521) | fn include_all_transfers(mut self) -> Self { method include_transactions (line 530) | fn include_transactions Option { method get_signature (line 553) | fn get_signature(&self, id: &FinalitySignatureId) -> Option Option ProposedBlock type ConsensusRequestMessage (line 111) | pub(crate) struct ConsensusRequestMessage { type TimerId (line 119) | pub struct TimerId(pub u8); type ActionId (line 124) | pub struct ActionId(pub u8); type NewBlockPayload (line 128) | pub struct NewBlockPayload { type ResolveValidity (line 136) | pub struct ResolveValidity { type Event (line 145) | pub(crate) enum Event { method fmt (line 186) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { method fmt (line 201) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { method fmt (line 221) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { method fmt (line 231) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { method fmt (line 237) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type ReactorEventT (line 313) | pub(crate) trait ReactorEventT: method largest_specimen (line 361) | fn largest_specimen(estimator: &E, cache: &mut Cache) ... method largest_specimen (line 398) | fn largest_specimen(estimator: &E, cache: &mut Cache) ... method largest_specimen (line 411) | fn largest_specimen(estimator: &E, cache: &mut Cache) ... type Event (line 421) | type Event = Event; method name (line 423) | fn name(&self) -> &str { method activate_failpoint (line 427) | fn activate_failpoint(&mut self, activation: &FailpointActivation) { method handle_event (line 432) | fn handle_event( FILE: node/src/components/consensus/cl_context.rs type Keypair (line 15) | pub struct Keypair { method new (line 21) | pub(crate) fn new(secret_key: Arc, public_key: PublicKey) -... method public_key (line 29) | pub(crate) fn public_key(&self) -> &PublicKey { method from (line 35) | fn from(secret_key: Arc) -> Self { type Hash (line 42) | type Hash = Digest; type Signature (line 43) | type Signature = Signature; method sign (line 45) | fn sign(&self, hash: &Digest) -> Signature { method needs_validation (line 51) | fn needs_validation(&self) -> bool { type ClContext (line 60) | pub struct ClContext; type ConsensusValue (line 63) | type ConsensusValue = Arc; type ValidatorId (line 64) | type ValidatorId = PublicKey; type ValidatorSecret (line 65) | type ValidatorSecret = Keypair; type Signature (line 66) | type Signature = Signature; type Hash (line 67) | type Hash = Digest; type InstanceId (line 68) | type InstanceId = Digest; method hash (line 70) | fn hash(data: &[u8]) -> Digest { method verify_signature (line 74) | fn verify_signature(hash: &Digest, public_key: &PublicKey, signature: &S... method largest_specimen (line 90) | fn largest_specimen(estimator: &E, cache: &mut Cache) ... FILE: node/src/components/consensus/config.rs constant DEFAULT_MAX_EXECUTION_DELAY (line 17) | const DEFAULT_MAX_EXECUTION_DELAY: u64 = 3; type Config (line 23) | pub struct Config { method load_keys (line 52) | pub(crate) fn load_keys>( method default (line 38) | fn default() -> Self { type LoadKeyError (line 48) | type LoadKeyError = LoadError< as Loadable>::Error>; type ChainspecConsensusExt (line 62) | pub trait ChainspecConsensusExt { method activation_era (line 65) | fn activation_era(&self) -> EraId; method earliest_relevant_era (line 70) | fn earliest_relevant_era(&self, current_era: EraId) -> EraId; method earliest_switch_block_needed (line 75) | fn earliest_switch_block_needed(&self, era_id: EraId) -> EraId; method number_of_past_switch_blocks_needed (line 78) | fn number_of_past_switch_blocks_needed(&self) -> u64; method activation_era (line 82) | fn activation_era(&self) -> EraId { method earliest_relevant_era (line 86) | fn earliest_relevant_era(&self, current_era: EraId) -> EraId { method earliest_switch_block_needed (line 92) | fn earliest_switch_block_needed(&self, era_id: EraId) -> EraId { method number_of_past_switch_blocks_needed (line 100) | fn number_of_past_switch_blocks_needed(&self) -> u64 { FILE: node/src/components/consensus/consensus_protocol.rs type BlockContext (line 21) | pub struct BlockContext function new (line 33) | pub(crate) fn new(timestamp: Timestamp, ancestor_values: Vec Timestamp { function height (line 47) | pub(crate) fn height(&self) -> u64 { function ancestor_values (line 52) | pub(crate) fn ancestor_values(&self) -> &[C::ConsensusValue] { type ProposedBlock (line 59) | pub struct ProposedBlock function new (line 68) | pub(crate) fn new(value: C::ConsensusValue, context: BlockContext) ->... function value (line 72) | pub(crate) fn value(&self) -> &C::ConsensusValue { function context (line 76) | pub(crate) fn context(&self) -> &BlockContext { function destructure (line 80) | pub(crate) fn destructure(self) -> (C::ConsensusValue, BlockContext) { method fmt (line 86) | fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result { type TerminalBlockData (line 97) | pub(crate) struct TerminalBlockData { type FinalizedBlock (line 106) | pub(crate) struct FinalizedBlock { type ProtocolOutcomes (line 122) | pub(crate) type ProtocolOutcomes = Vec>; type ProtocolOutcome (line 125) | pub(crate) enum ProtocolOutcome { type ConsensusProtocol (line 167) | pub(crate) trait ConsensusProtocol: Send { method as_any (line 171) | fn as_any(&self) -> &dyn Any; method handle_message (line 174) | fn handle_message( method handle_request_message (line 183) | fn handle_request_message( method handle_is_current (line 192) | fn handle_is_current(&self, now: Timestamp) -> ProtocolOutcomes; method handle_timer (line 195) | fn handle_timer( method handle_action (line 204) | fn handle_action(&mut self, action_id: ActionId, now: Timestamp) -> Pr... method propose (line 207) | fn propose(&mut self, proposed_block: ProposedBlock, now: Timestamp... method resolve_validity (line 211) | fn resolve_validity( method activate_validator (line 219) | fn activate_validator( method deactivate_validator (line 228) | fn deactivate_validator(&mut self); method set_evidence_only (line 231) | fn set_evidence_only(&mut self); method has_evidence (line 234) | fn has_evidence(&self, vid: &C::ValidatorId) -> bool; method mark_faulty (line 237) | fn mark_faulty(&mut self, vid: &C::ValidatorId); method send_evidence (line 240) | fn send_evidence(&self, sender: NodeId, vid: &C::ValidatorId) -> Proto... method set_paused (line 243) | fn set_paused(&mut self, paused: bool, now: Timestamp) -> ProtocolOutc... method validators_with_evidence (line 246) | fn validators_with_evidence(&self) -> Vec<&C::ValidatorId>; method is_active (line 249) | fn is_active(&self) -> bool; method instance_id (line 252) | fn instance_id(&self) -> &C::InstanceId; method next_round_length (line 255) | fn next_round_length(&self) -> Option; FILE: node/src/components/consensus/era_supervisor.rs constant FTT_EXCEEDED_SHUTDOWN_DELAY_MILLIS (line 76) | const FTT_EXCEEDED_SHUTDOWN_DELAY_MILLIS: u64 = 60 * 1000; constant TIMER_DELAY_WARNING_MILLIS (line 78) | const TIMER_DELAY_WARNING_MILLIS: u64 = 1000; constant PAST_EVIDENCE_ERAS (line 83) | pub(super) const PAST_EVIDENCE_ERAS: u64 = 1; constant PAST_OPEN_ERAS (line 87) | pub(super) const PAST_OPEN_ERAS: u64 = 2 * PAST_EVIDENCE_ERAS; type EraSupervisor (line 90) | pub struct EraSupervisor { method new (line 136) | pub(crate) fn new( method is_active_validator (line 166) | pub(crate) fn is_active_validator(&self) -> bool { method current_era (line 176) | pub(crate) fn current_era(&self) -> Option { method create_required_eras (line 180) | pub(crate) fn create_required_eras( method get_validator_changes (line 251) | pub(super) fn get_validator_changes(&self) -> ConsensusValidatorChanges { method era_seed (line 261) | fn era_seed(booking_block_hash: BlockHash, key_block_seed: Digest) -> ... method iter_past (line 271) | pub(crate) fn iter_past(&self, era_id: EraId, num_eras: u64) -> impl I... method iter_past_other (line 286) | pub(crate) fn iter_past_other( method iter_future (line 301) | fn iter_future(&self, era_id: EraId, num_eras: u64) -> impl Iterator( method create_new_era_effects (line 324) | pub(super) fn create_new_era_effects( method make_latest_era_current (line 344) | fn make_latest_era_current( method activate_latest_era_if_needed (line 365) | fn activate_latest_era_if_needed( method create_new_era (line 404) | fn create_new_era( method protocol_state_file (line 641) | fn protocol_state_file(&self, instance_id: &Digest) -> PathBuf { method delegate_to_era (line 650) | fn delegate_to_era( method log_missing_era (line 675) | fn log_missing_era(&self, era_id: EraId) { method handle_timer (line 688) | pub(super) fn handle_timer( method handle_action (line 709) | pub(super) fn handle_action( method handle_message (line 721) | pub(super) fn handle_message( method handle_demand (line 757) | pub(super) fn handle_demand( method handle_new_block_payload (line 793) | pub(super) fn handle_new_block_payload( method handle_block_added (line 824) | pub(super) fn handle_block_added( method handle_deactivate_era (line 862) | pub(super) fn handle_deactivate_era( method deactivate_current_era (line 892) | pub(crate) fn deactivate_current_era(&mut self) -> Result( method last_progress (line 945) | pub(crate) fn last_progress(&self) -> Timestamp { method handle_consensus_outcomes (line 949) | fn handle_consensus_outcomes( method has_evidence (line 967) | fn has_evidence(&self, era_id: EraId, pub_key: PublicKey) -> bool { method era (line 973) | fn era(&self, era_id: EraId) -> &Era { method era_mut (line 978) | fn era_mut(&mut self, era_id: EraId) -> &mut Era { method handle_consensus_outcome (line 983) | fn handle_consensus_outcome( method status (line 1308) | pub(super) fn status(&self, responder: Responder &BTreeMap { method public_key (line 1326) | pub(crate) fn public_key(&self) -> &PublicKey { method proposed_block_height (line 1330) | fn proposed_block_height(&self, block_context: &BlockContext fmt::Result { type SerializedMessage (line 1345) | pub(crate) struct SerializedMessage(Vec); method from_message (line 1354) | pub(crate) fn from_message(msg: &T) -> Self method deserialize_incoming (line 1362) | pub(crate) fn deserialize_incoming(&self) -> Result method into_raw (line 1370) | pub(crate) fn into_raw(self) -> Vec { method as_raw (line 1375) | pub(crate) fn as_raw(&self) -> &[u8] { method deserialize_expect (line 1388) | pub(crate) fn deserialize_expect(&self) -> T function get_transactions (line 1397) | async fn get_transactions( function execute_finalized_block (line 1422) | async fn execute_finalized_block( function instance_id (line 1449) | fn instance_id(chainspec_hash: Digest, era_id: EraId, key_block_hash: Bl... function check_txns_for_replay_in_previous_eras_and_validate_block (line 1460) | async fn check_txns_for_replay_in_previous_eras_and_validate_block( function contains_replay (line 1524) | fn contains_replay(&self) -> Option { function join_2 (line 1537) | async fn join_2( function create_rewarded_signatures (line 1570) | fn create_rewarded_signatures( function should_set_first_bit_if_earliest_key_cited (line 1648) | fn should_set_first_bit_if_earliest_key_cited() { function should_set_third_bit_if_the_first_validator_signature_cited (line 1666) | fn should_set_third_bit_if_the_first_validator_signature_cited() { function should_set_second_bit_if_the_second_validator_signature_cited (line 1684) | fn should_set_second_bit_if_the_second_validator_signature_cited() { function build_rewarded_signatures_without_historical_blocks (line 1701) | fn build_rewarded_signatures_without_historical_blocks( FILE: node/src/components/consensus/era_supervisor/debug.rs type EraDump (line 18) | pub(crate) struct EraDump<'a> { method fmt (line 43) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { function dump_era (line 50) | pub(crate) fn dump_era(era: &'a Era, era_id: EraId) -> Result) -> Self { method is_complete (line 41) | fn is_complete(&self) -> bool { type Era (line 46) | pub struct Era { method new (line 67) | pub(crate) fn new( method add_block (line 88) | pub(crate) fn add_block( method resolve_evidence_and_mark_faulty (line 99) | pub(crate) fn resolve_evidence_and_mark_faulty( method resolve_validity (line 118) | pub(crate) fn resolve_validity( method add_accusations (line 136) | pub(crate) fn add_accusations(&mut self, accusations: &[PublicKey]) { method accusations (line 145) | pub(crate) fn accusations(&self) -> Vec { method validators (line 150) | pub(crate) fn validators(&self) -> &BTreeMap { constant IS_DYNAMIC (line 156) | const IS_DYNAMIC: bool = true; constant STATIC_HEAP_SIZE (line 158) | const STATIC_HEAP_SIZE: usize = 0; method estimate_heap_size (line 161) | fn estimate_heap_size(&self) -> usize { FILE: node/src/components/consensus/error.rs type CreateNewEraError (line 6) | pub enum CreateNewEraError { FILE: node/src/components/consensus/highway_core.rs constant ENABLE_ENDORSEMENTS (line 49) | const ENABLE_ENDORSEMENTS: bool = false; FILE: node/src/components/consensus/highway_core/active_validator.rs type Effect (line 28) | pub(crate) enum Effect { type ActiveValidator (line 59) | pub(crate) struct ActiveValidator method fmt (line 81) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { function new (line 94) | pub(crate) fn new( function set_round_len (line 118) | pub(crate) fn set_round_len(&mut self, new_round_len: TimeDiff) { function set_paused (line 123) | pub(crate) fn set_paused(&mut self, paused: bool) { function handle_timer (line 129) | pub(crate) fn handle_timer( function send_ping (line 182) | pub(crate) fn send_ping(&self, timestamp: Timestamp, instance_id: C::Ins... function enough_validators_online (line 189) | fn enough_validators_online(&self, state: &State, now: Timestamp) -> ... function on_new_unit (line 205) | pub(crate) fn on_new_unit( function on_new_evidence (line 237) | pub(crate) fn on_new_evidence( function request_new_block (line 262) | fn request_new_block( function propose (line 294) | pub(crate) fn propose( function should_send_confirmation (line 328) | fn should_send_confirmation( function new_unit (line 374) | fn new_unit( function schedule_timer (line 429) | fn schedule_timer(&mut self, timestamp: Timestamp, state: &State) -> ... function earliest_unit_time (line 451) | fn earliest_unit_time(&self, state: &State) -> Timestamp { function latest_unit (line 463) | pub(crate) fn latest_unit<'a>(&self, state: &'a State) -> Option<&'a ... function is_faulty (line 472) | fn is_faulty(&self, state: &State) -> bool { function witness_offset (line 481) | fn witness_offset(&self, round_len: TimeDiff) -> TimeDiff { function proposal_request_expiry (line 488) | fn proposal_request_expiry(&self, round_len: TimeDiff) -> TimeDiff { function round_len (line 500) | fn round_len(&self, state: &State, timestamp: Timestamp) -> TimeDiff { function should_endorse (line 515) | fn should_endorse(&self, vhash: &C::Hash, state: &State) -> bool { function endorse (line 528) | fn endorse(&self, vhash: &C::Hash) -> Vertex { function panorama_at (line 535) | fn panorama_at(&self, state: &State, timestamp: Timestamp) -> Panoram... function is_our_unit (line 545) | pub(crate) fn is_our_unit(&self, wunit: &WireUnit) -> bool { function is_doppelganger_vertex (line 551) | pub(crate) fn is_doppelganger_vertex(&self, vertex: &Vertex, state: &... function next_round_length (line 578) | pub(crate) fn next_round_length(&self) -> TimeDiff { type Eff (line 601) | type Eff = Effect; method unwrap_unit (line 604) | fn unwrap_unit(self) -> SignedWireUnit { type TestState (line 613) | struct TestState { method new (line 622) | fn new( method handle_timer (line 690) | fn handle_timer( method propose (line 706) | fn propose( method handle_new_unit (line 733) | fn handle_new_unit( method schedule_timer (line 748) | fn schedule_timer(&mut self, vidx: ValidatorIndex, effects: &[Effect]) { method next_finalized (line 796) | fn next_finalized(&mut self) -> Option<&::Hash> { function unwrap_single (line 801) | fn unwrap_single(vec: &[T]) -> T { function active_validator (line 812) | fn active_validator() { function ping_on_startup (line 873) | fn ping_on_startup() { function detects_doppelganger_ping (line 895) | fn detects_doppelganger_ping() { FILE: node/src/components/consensus/highway_core/endorsement.rs type EndorsementError (line 9) | pub(crate) enum EndorsementError { type Endorsement (line 27) | pub struct Endorsement function new (line 38) | pub(crate) fn new(vhash: C::Hash, creator: ValidatorIndex) -> Self { function hash (line 46) | pub fn hash(&self) -> C::Hash { method largest_specimen (line 62) | fn largest_specimen(estimator: &E, cache: &mut Cache) ... type SignedEndorsement (line 78) | pub struct SignedEndorsement function new (line 89) | pub fn new(endorsement: Endorsement, signature: C::Signature) -> Self { function unit (line 97) | pub fn unit(&self) -> &C::Hash { function validator_idx (line 102) | pub fn validator_idx(&self) -> ValidatorIndex { function signature (line 107) | pub fn signature(&self) -> &C::Signature { function hash (line 112) | pub fn hash(&self) -> C::Hash { FILE: node/src/components/consensus/highway_core/evidence.rs type EvidenceError (line 14) | pub enum EvidenceError { type Evidence (line 60) | pub enum Evidence function perpetrator (line 87) | pub fn perpetrator(&self) -> ValidatorIndex { function validate (line 99) | pub fn validate( function validate_equivocation (line 149) | fn validate_equivocation( method largest_specimen (line 194) | fn largest_specimen(estimator: &E, cache: &mut Cache) ... FILE: node/src/components/consensus/highway_core/finality_detector.rs type FttExceeded (line 25) | pub(crate) struct FttExceeded(pub Weight); type FinalityDetector (line 32) | pub(crate) struct FinalityDetector function new (line 43) | pub(crate) fn new(ftt: Weight) -> Self { function run (line 52) | pub(crate) fn run<'a>( function next_finalized (line 87) | pub(super) fn next_finalized<'a>(&mut self, state: &'a State) -> Opti... function find_summit (line 115) | pub(crate) fn find_summit( function quorum_for_lvl (line 131) | fn quorum_for_lvl(&self, lvl: usize, total_w: Weight) -> Weight { function next_candidate (line 155) | fn next_candidate<'a>(&self, state: &'a State) -> Option<&'a C::Hash> { function next_height (line 161) | fn next_height(&self, state: &State) -> u64 { function last_finalized (line 169) | pub(crate) fn last_finalized(&self) -> Option<&C::Hash> { function fault_tolerance_threshold (line 174) | pub(crate) fn fault_tolerance_threshold(&self) -> Weight { function create_terminal_block_data (line 180) | fn create_terminal_block_data( function finality_detector (line 219) | fn finality_detector() -> Result<(), AddUnitError> { function equivocators (line 257) | fn equivocators() -> Result<(), AddUnitError> { FILE: node/src/components/consensus/highway_core/finality_detector/horizon.rs type Committee (line 9) | type Committee = Vec; type Horizon (line 19) | pub(super) struct Horizon<'a, C: Context> { function level0 (line 33) | pub(super) fn level0( function next (line 57) | pub(super) fn next(&self, quorum: Weight) -> Option { function prune_committee (line 75) | pub(super) fn prune_committee( function committee_quorum (line 101) | pub(super) fn committee_quorum(&self, committee: &[ValidatorIndex]) -> O... function next_from_committee (line 110) | fn next_from_committee(&self, quorum: Weight, committee: &[ValidatorInde... function seen_weight (line 131) | fn seen_weight(&self, unit: &Unit, committee: &[ValidatorIndex]) -> W... function can_see (line 139) | fn can_see(&self, unit: &Unit, idx: ValidatorIndex) -> bool { FILE: node/src/components/consensus/highway_core/highway.rs constant MAX_SKIPPED_PROPOSAL_LOGS (line 35) | const MAX_SKIPPED_PROPOSAL_LOGS: u64 = 10; type VertexError (line 39) | pub(crate) enum VertexError { type PingError (line 52) | pub(crate) enum PingError { type PreValidatedVertex (line 67) | pub(crate) struct PreValidatedVertex(Vertex) function inner (line 72) | pub(crate) fn inner(&self) -> &Vertex { function timestamp (line 76) | pub(crate) fn timestamp(&self) -> Option { function into_vertex (line 81) | pub(crate) fn into_vertex(self) -> Vertex { function from (line 87) | fn from(vv: ValidVertex) -> PreValidatedVertex { function from (line 93) | fn from(vv: ValidVertex) -> Vertex { function from (line 99) | fn from(pvv: PreValidatedVertex) -> Vertex { type ValidVertex (line 114) | pub(crate) struct ValidVertex(pub(crate) Vertex) function inner (line 119) | pub(crate) fn inner(&self) -> &Vertex { function is_proposal (line 123) | pub(crate) fn is_proposal(&self) -> bool { function endorsements (line 126) | pub(crate) fn endorsements(&self) -> Option<&Endorsements> { type GetDepOutcome (line 135) | pub(crate) enum GetDepOutcome { type HighwayWalEntry (line 150) | struct HighwayWalEntry { type Highway (line 163) | pub(crate) struct Highway function new (line 188) | pub(crate) fn new( function read_stored_vertices (line 222) | fn read_stored_vertices(protocol_state_file: &PathBuf) -> Vec>) { function activate_validator (line 258) | pub(crate) fn activate_validator( function deactivate_validator (line 292) | pub(crate) fn deactivate_validator(&mut self) { function set_round_len (line 297) | pub(crate) fn set_round_len(&mut self, new_round_len: TimeDiff) { function pre_validate_vertex (line 304) | pub(crate) fn pre_validate_vertex( function missing_dependency (line 317) | pub(super) fn missing_dependency(&self, pvv: &PreValidatedVertex) -> ... function validate_vertex (line 343) | pub(crate) fn validate_vertex( function add_valid_vertex (line 358) | pub(crate) fn add_valid_vertex( function has_vertex (line 385) | pub(crate) fn has_vertex(&self, vertex: &Vertex) -> bool { function has_evidence (line 399) | pub(crate) fn has_evidence(&self, vid: &C::ValidatorId) -> bool { function mark_faulty (line 406) | pub(crate) fn mark_faulty(&mut self, vid: &C::ValidatorId) { function has_dependency (line 413) | pub(crate) fn has_dependency(&self, dependency: &Dependency) -> bool { function get_dependency (line 426) | pub(crate) fn get_dependency(&self, dependency: &Dependency) -> GetDe... function get_dependency_by_index (line 451) | pub(crate) fn get_dependency_by_index( function handle_timer (line 481) | pub(crate) fn handle_timer(&mut self, timestamp: Timestamp) -> Vec &Validators { function validators_with_evidence (line 543) | pub(crate) fn validators_with_evidence(&self) -> impl Iterator &State { function set_paused (line 555) | pub(crate) fn set_paused(&mut self, paused: bool) { function retain_evidence_only (line 562) | pub(crate) fn retain_evidence_only(&mut self) { function on_new_unit (line 567) | fn on_new_unit(&mut self, uhash: &C::Hash, timestamp: Timestamp) -> Vec<... function on_new_evidence (line 577) | fn on_new_evidence(&mut self, evidence: Evidence) -> Vec> { function map_active_validator (line 604) | fn map_active_validator(&mut self, f: F, timestamp: Timestamp) -> Opt... function add_new_own_vertices (line 616) | fn add_new_own_vertices( function do_pre_validate_vertex (line 637) | fn do_pre_validate_vertex(&self, vertex: &Vertex) -> Result<(), Verte... function do_validate_vertex (line 679) | fn do_validate_vertex(&self, vertex: &Vertex) -> Result<(), VertexErr... function add_evidence (line 688) | fn add_evidence(&mut self, evidence: Evidence) -> Vec> { function add_valid_unit (line 700) | fn add_valid_unit(&mut self, swunit: SignedWireUnit, now: Timestamp) ... function add_endorsements (line 724) | fn add_endorsements(&mut self, endorsements: Endorsements) -> Vec) -> Vec> { function is_doppelganger_vertex (line 743) | pub(crate) fn is_doppelganger_vertex(&self, vertex: &Vertex) -> bool { function is_active (line 750) | pub(crate) fn is_active(&self) -> bool { function instance_id (line 755) | pub(crate) fn instance_id(&self) -> &C::InstanceId { function next_round_length (line 759) | pub(crate) fn next_round_length(&self) -> Option { function log_if_missing_proposal (line 766) | fn log_if_missing_proposal(&self, unit_hash: &C::Hash) { function test_validators (line 843) | pub(crate) fn test_validators() -> Validators { function invalid_signature_error (line 856) | fn invalid_signature_error() { function missing_dependency (line 901) | fn missing_dependency() -> Result<(), AddUnitError> { function invalid_evidence (line 969) | fn invalid_evidence() { function invalid_ping_ndrs1077_regression (line 1066) | fn invalid_ping_ndrs1077_regression() { function own_initial_ping_is_not_from_doppelganger (line 1091) | fn own_initial_ping_is_not_from_doppelganger() { FILE: node/src/components/consensus/highway_core/highway/vertex.rs type Dependency (line 53) | pub enum Dependency type Vertex (line 78) | pub enum Vertex function is_unit (line 96) | pub fn is_unit(&self) -> bool { function value (line 108) | pub fn value(&self) -> Option<&C::ConsensusValue> { function unit_hash (line 116) | pub fn unit_hash(&self) -> Option { function unit_seq_number (line 124) | pub fn unit_seq_number(&self) -> Option { function is_evidence (line 132) | pub fn is_evidence(&self) -> bool { function timestamp (line 137) | pub fn timestamp(&self) -> Option { function creator (line 146) | pub fn creator(&self) -> Option { function id (line 155) | pub fn id(&self) -> Dependency { function unit (line 165) | pub fn unit(&self) -> Option<&SignedWireUnit> { function is_proposal (line 173) | pub fn is_proposal(&self) -> bool { method largest_specimen (line 192) | fn largest_specimen(estimator: &E, cache: &mut Cache) ... method largest_specimen (line 215) | fn largest_specimen(estimator: &E, cache: &mut Cache) ... method largest_specimen (line 237) | fn largest_specimen(estimator: &E, cache: &mut Cache) ... method largest_specimen (line 246) | fn largest_specimen(estimator: &E, cache: &mut Cache) ... method largest_specimen (line 259) | fn largest_specimen(estimator: &E, cache: &mut Cache) ... method largest_specimen (line 268) | fn largest_specimen(estimator: &E, cache: &mut Cache) ... method largest_specimen (line 279) | fn largest_specimen(estimator: &E, cache: &mut Cache) ... method largest_specimen (line 291) | fn largest_specimen(estimator: &E, cache: &mut Cache) ... type SignedWireUnit (line 312) | pub struct SignedWireUnit function new (line 321) | pub(crate) fn new( function wire_unit (line 333) | pub fn wire_unit(&self) -> &WireUnit { function hash (line 338) | pub fn hash(&self) -> C::Hash { type HashedWireUnit (line 345) | pub struct HashedWireUnit function new (line 358) | pub(crate) fn new(wire_unit: WireUnit) -> Self { function into_inner (line 364) | pub fn into_inner(self) -> WireUnit { function wire_unit (line 369) | pub fn wire_unit(&self) -> &WireUnit { function hash (line 374) | pub fn hash(&self) -> C::Hash { function new_with_hash (line 380) | pub(crate) fn new_with_hash(wire_unit: WireUnit, hash: C::Hash) -> Se... method serialize (line 386) | fn serialize(&self, serializer: S) -> Result>(deserializer: D) -> Result method fmt (line 426) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function into_hashed (line 450) | pub(crate) fn into_hashed(self) -> HashedWireUnit { function previous (line 455) | pub fn previous(&self) -> Option<&C::Hash> { function compute_hash (line 460) | fn compute_hash(&self) -> C::Hash { type Endorsements (line 472) | pub struct Endorsements function unit (line 484) | pub fn unit(&self) -> &C::Hash { function validator_ids (line 489) | pub fn validator_ids(&self) -> impl Iterator + '_ { function from (line 495) | fn from(signed_e: SignedEndorsement) -> Self { type Ping (line 510) | pub struct Ping function new (line 522) | pub(crate) fn new( function creator (line 538) | pub fn creator(&self) -> ValidatorIndex { function timestamp (line 543) | pub fn timestamp(&self) -> Timestamp { function validate (line 548) | pub(crate) fn validate( function hash (line 571) | fn hash(creator: ValidatorIndex, timestamp: Timestamp, instance_id: C::I... FILE: node/src/components/consensus/highway_core/highway_testing.rs type ConsensusValue (line 45) | pub(crate) struct ConsensusValue(Vec); method needs_validation (line 48) | fn needs_validation(&self) -> bool { method fmt (line 54) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { constant TEST_MIN_ROUND_LEN (line 59) | const TEST_MIN_ROUND_LEN: TimeDiff = TimeDiff::from_millis(1 << 12); constant TEST_MAX_ROUND_LEN (line 60) | const TEST_MAX_ROUND_LEN: TimeDiff = TimeDiff::from_millis(1 << 19); constant TEST_END_HEIGHT (line 61) | const TEST_END_HEIGHT: u64 = 100000; constant TEST_INSTANCE_ID (line 62) | pub(crate) const TEST_INSTANCE_ID: u64 = 42; constant TEST_ENDORSEMENT_EVIDENCE_LIMIT (line 63) | pub(crate) const TEST_ENDORSEMENT_EVIDENCE_LIMIT: u64 = 20; type HighwayMessage (line 66) | enum HighwayMessage { method into_targeted (line 90) | fn into_targeted(self, creator: ValidatorId) -> TargetedMessage bool { method from (line 115) | fn from(eff: Effect) -> Self { method fmt (line 74) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { method partial_cmp (line 130) | fn partial_cmp(&self, other: &Self) -> Option { method cmp (line 136) | fn cmp(&self, other: &Self) -> std::cmp::Ordering { type TestRunError (line 146) | pub(crate) enum TestRunError { method fmt (line 156) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type Distribution (line 174) | enum Distribution { method gen_range_vec (line 181) | fn gen_range_vec(&self, rng: &mut NodeRng, lower: u64, upper: u64, cou... type DeliveryStrategy (line 188) | trait DeliveryStrategy { method gen_delay (line 189) | fn gen_delay( method gen_delay (line 768) | fn gen_delay( type HighwayValidator (line 198) | struct HighwayValidator { method new (line 205) | fn new( method highway_mut (line 217) | fn highway_mut(&mut self) -> &mut Highway { method highway (line 221) | fn highway(&self) -> &Highway { method run_finality (line 225) | fn run_finality(&mut self) -> Result>,... method post_hook (line 229) | fn post_hook(&mut self, delivery_time: Timestamp, msg: HighwayMessage)... type HighwayNode (line 302) | type HighwayNode = Node; method unit_count (line 307) | fn unit_count(&self) -> usize { type HighwayNet (line 304) | type HighwayNet = VirtualNet type TestResult (line 326) | type TestResult = Result; type TestRunResult (line 330) | type TestRunResult = TestResult, Verte... function crank (line 341) | pub(crate) fn crank(&mut self, rng: &mut NodeRng) -> TestResult<()> { function next_consensus_value (line 389) | fn next_consensus_value(&mut self, height: u64) -> ConsensusValue { function node_mut (line 397) | fn node_mut(&mut self, validator_id: &ValidatorId) -> TestResult<&mut Hi... function call_validator (line 403) | fn call_validator( function process_message (line 428) | fn process_message( function run_finality_detector (line 494) | fn run_finality_detector(&mut self, validator_id: &ValidatorId) -> TestR... function add_vertex (line 531) | fn add_vertex( function synchronize_validator (line 587) | fn synchronize_validator( function synchronize_dependency (line 629) | fn synchronize_dependency( function mutable_handle (line 654) | fn mutable_handle(&mut self) -> MutableHandle { function crank_until (line 659) | fn crank_until( function crank_until_finalized (line 673) | fn crank_until_finalized( function crank_until_time (line 684) | fn crank_until_time( type MutableHandle (line 696) | struct MutableHandle<'a, DS: DeliveryStrategy>(&'a mut HighwayTestHarnes... function clear_message_queue (line 700) | fn clear_message_queue(&mut self) { function validators (line 704) | fn validators(&self) -> impl Iterator { function correct_validators (line 708) | fn correct_validators(&self) -> impl Iterator { function test_params (line 716) | fn test_params() -> Params { type BuilderError (line 730) | enum BuilderError { type HighwayTestHarnessBuilder (line 734) | struct HighwayTestHarnessBuilder { type InstantDeliveryNoDropping (line 765) | struct InstantDeliveryNoDropping; function new (line 789) | fn new() -> Self { function faulty_weight_perc (line 809) | pub(crate) fn faulty_weight_perc(mut self, faulty_weight: u64) -> Self { function fault_type (line 814) | fn fault_type(mut self, fault_type: DesFault) -> Self { function consensus_values_count (line 819) | pub(crate) fn consensus_values_count(mut self, count: u8) -> Self { function weight_limits (line 825) | pub(crate) fn weight_limits(mut self, lower: u64, upper: u64) -> Self { function max_faulty_validators (line 834) | fn max_faulty_validators(mut self, max_faulty_count: u8) -> Self { function params (line 839) | fn params(mut self, params: Params) -> Self { function build (line 844) | fn build(self, rng: &mut NodeRng) -> Result, Buil... type TestContext (line 999) | pub(crate) struct TestContext; type TestSecret (line 1002) | pub(crate) struct TestSecret(pub(crate) u64); type SignatureWrapper (line 1007) | pub(crate) struct SignatureWrapper(u64); method fmt (line 1010) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type HashWrapper (line 1018) | pub(crate) struct HashWrapper(u64); method fmt (line 1021) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { method fmt (line 1027) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type Hash (line 1033) | type Hash = HashWrapper; type Signature (line 1034) | type Signature = SignatureWrapper; method sign (line 1036) | fn sign(&self, data: &Self::Hash) -> Self::Signature { type ConsensusValue (line 1042) | type ConsensusValue = ConsensusValue; type ValidatorId (line 1043) | type ValidatorId = ValidatorId; type ValidatorSecret (line 1044) | type ValidatorSecret = TestSecret; type Signature (line 1045) | type Signature = SignatureWrapper; type Hash (line 1046) | type Hash = HashWrapper; type InstanceId (line 1047) | type InstanceId = u64; method hash (line 1049) | fn hash(data: &[u8]) -> Self::Hash { method verify_signature (line 1055) | fn verify_signature( function on_empty_queue_error (line 1084) | fn on_empty_queue_error() { function assert_eq_vectors (line 1103) | fn assert_eq_vectors(coll: Vec, error_msg: &str) { function liveness_test_no_faults (line 1111) | fn liveness_test_no_faults() { function liveness_test_some_mute (line 1173) | fn liveness_test_some_mute() { function liveness_test_some_equivocate (line 1213) | fn liveness_test_some_equivocate() { function pause_if_too_many_are_offline (line 1269) | fn pause_if_too_many_are_offline() { FILE: node/src/components/consensus/highway_core/state.rs constant TODO_ENDORSEMENT_EVIDENCE_DISABLED (line 53) | pub(super) const TODO_ENDORSEMENT_EVIDENCE_DISABLED: bool = true; constant PING_TIMEOUT (line 57) | const PING_TIMEOUT: u64 = 3; type UnitError (line 60) | pub(crate) enum UnitError { type Fault (line 114) | pub enum Fault function evidence (line 129) | pub fn evidence(&self) -> Option<&Evidence> { type State (line 143) | pub struct State function new (line 188) | pub(crate) fn new( function params (line 242) | pub fn params(&self) -> &Params { function validator_count (line 247) | pub fn validator_count(&self) -> usize { function weight (line 252) | pub fn weight(&self, idx: ValidatorIndex) -> Weight { function weights (line 257) | pub fn weights(&self) -> &ValidatorMap { function faulty_weight_in (line 262) | pub fn faulty_weight_in(&self, panorama: &Panorama) -> Weight { function faulty_weight (line 272) | pub fn faulty_weight(&self) -> Weight { function total_weight (line 277) | pub fn total_weight(&self) -> Weight { function maybe_evidence (line 282) | pub fn maybe_evidence(&self, idx: ValidatorIndex) -> Option<&Evidence> { function maybe_endorsements (line 287) | pub fn maybe_endorsements(&self, unit: &C::Hash) -> Option bool { function has_all_endorsements (line 300) | pub fn has_all_endorsements>( function is_endorsed (line 316) | pub fn is_endorsed(&self, hash: &C::Hash) -> bool { function needs_endorsements (line 321) | pub fn needs_endorsements(&self, unit: &SignedWireUnit) -> Option Timestamp { function mark_faulty (line 336) | pub fn mark_faulty(&mut self, idx: ValidatorIndex) { function maybe_fault (line 342) | pub fn maybe_fault(&self, idx: ValidatorIndex) -> Option<&Fault> { function is_faulty (line 347) | pub fn is_faulty(&self, idx: ValidatorIndex) -> bool { function faulty_validators (line 352) | pub fn faulty_validators(&self) -> impl Iterator ... function iter_correct_hashes (line 357) | pub fn iter_correct_hashes(&self) -> impl Iterator { function maybe_unit (line 362) | pub fn maybe_unit(&self, hash: &C::Hash) -> Option<&Unit> { function has_unit (line 367) | pub fn has_unit(&self, hash: &C::Hash) -> bool { function unit (line 372) | pub fn unit(&self, hash: &C::Hash) -> &Unit { function maybe_block (line 377) | pub fn maybe_block(&self, hash: &C::Hash) -> Option<&Block> { function block (line 382) | pub fn block(&self, hash: &C::Hash) -> &Block { function panorama (line 387) | pub fn panorama(&self) -> &Panorama { function leader (line 398) | pub fn leader(&self, timestamp: Timestamp) -> ValidatorIndex { function add_valid_unit (line 405) | pub(crate) fn add_valid_unit(&mut self, swunit: SignedWireUnit) { function add_evidence (line 449) | pub(crate) fn add_evidence(&mut self, evidence: Evidence) -> bool { function add_endorsements (line 471) | pub(crate) fn add_endorsements(&mut self, endorsements: Endorsements) { function has_endorsement (line 503) | pub fn has_endorsement(&self, uhash: &C::Hash, vidx: ValidatorIndex) -> ... function add_ping (line 516) | pub(crate) fn add_ping(&mut self, creator: ValidatorIndex, timestamp: Ti... function has_ping (line 521) | pub fn has_ping(&self, creator: ValidatorIndex, timestamp: Timestamp) ->... function is_online (line 529) | pub(crate) fn is_online(&self, vidx: ValidatorIndex, now: Timestamp) -> ... function find_conflicting_endorsements (line 541) | pub fn find_conflicting_endorsements( function wire_unit (line 624) | pub fn wire_unit( function fork_choice (line 658) | pub fn fork_choice<'a>(&'a self, pan: &Panorama) -> Option<&'a C::Has... function find_ancestor_proposal (line 684) | pub fn find_ancestor_proposal<'a>( function pre_validate_unit (line 708) | pub(crate) fn pre_validate_unit(&self, swunit: &SignedWireUnit) -> Re... function validate_unit (line 739) | pub(crate) fn validate_unit(&self, swunit: &SignedWireUnit) -> Result... function is_terminal_block (line 820) | pub(crate) fn is_terminal_block(&self, bhash: &C::Hash) -> bool { function is_correct_proposal (line 828) | pub(super) fn is_correct_proposal(&self, unit: &Unit) -> bool { function find_in_swimlane (line 836) | pub fn find_in_swimlane<'a>( function swimlane (line 859) | pub fn swimlane<'a>( function ancestor_hashes (line 874) | pub fn ancestor_hashes<'a>(&'a self, bhash: &'a C::Hash) -> impl Iterato... function unit_count (line 885) | pub(crate) fn unit_count(&self) -> usize { function seen_endorsed (line 890) | pub fn seen_endorsed(&self, pan: &Panorama) -> BTreeSet { function retain_evidence_only (line 910) | pub(crate) fn retain_evidence_only(&mut self) { function validate_lnc (line 926) | fn validate_lnc( function satisfies_lnc_for (line 942) | fn satisfies_lnc_for( function sees_correct (line 1058) | pub fn sees_correct(&self, hash0: &C::Hash, hash1: &C::Hash) -> bool { function sees (line 1063) | pub fn sees(&self, hash0: &C::Hash, hash1: &C::Hash) -> bool { function is_compatible (line 1068) | fn is_compatible(&self, hash0: &C::Hash, hash1: &C::Hash) -> bool { function confirmation_panorama (line 1075) | pub fn confirmation_panorama(&self, creator: ValidatorIndex, uhash: &C::... function valid_panorama (line 1083) | pub fn valid_panorama(&self, creator: ValidatorIndex, mut pan: Panorama<... function inclusive_panorama (line 1114) | pub fn inclusive_panorama(&self, uhash: &C::Hash) -> Panorama { function round_id (line 1127) | pub(crate) fn round_id(timestamp: Timestamp, round_len: TimeDiff) -> Tim... function log2 (line 1138) | fn log2(x: u64) -> u32 { FILE: node/src/components/consensus/highway_core/state/block.rs type Block (line 9) | pub struct Block function new (line 26) | pub(crate) fn new( function parent (line 50) | pub fn parent(&self) -> Option<&C::Hash> { function initial (line 54) | fn initial(value: C::ConsensusValue) -> Block { FILE: node/src/components/consensus/highway_core/state/index_panorama.rs type IndexPanorama (line 12) | pub(crate) type IndexPanorama = ValidatorMap; method from_panorama (line 36) | pub(crate) fn from_panorama<'a, C: Context>( type IndexObservation (line 16) | pub(crate) enum IndexObservation { method fmt (line 26) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method largest_specimen (line 64) | fn largest_specimen(estimator: &E, cache: &mut Cache) ... FILE: node/src/components/consensus/highway_core/state/panorama.rs type Observation (line 34) | pub enum Observation method fmt (line 52) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function correct (line 63) | pub fn correct(&self) -> Option<&C::Hash> { function is_correct (line 71) | pub fn is_correct(&self) -> bool { function is_faulty (line 79) | pub fn is_faulty(&self) -> bool { function is_none (line 87) | pub fn is_none(&self) -> bool { function geq (line 95) | fn geq(&self, state: &State, other: &Observation) -> bool { function missing_dep (line 106) | fn missing_dep(&self, state: &State, idx: ValidatorIndex) -> Option = ValidatorMap>; function new (line 120) | pub(crate) fn new(num_validators: usize) -> Panorama { function has_correct (line 125) | pub fn has_correct(&self) -> bool { function iter_correct (line 130) | pub fn iter_correct<'a>(&'a self, state: &'a State) -> impl Iterator<... function iter_correct_hashes (line 136) | pub fn iter_correct_hashes(&self) -> impl Iterator { function iter_faulty (line 141) | pub fn iter_faulty(&self) -> impl Iterator + '_ { function iter_none (line 148) | pub fn iter_none(&self) -> impl Iterator + '_ { function next_seq_num (line 155) | pub(crate) fn next_seq_num(&self, state: &State, vidx: ValidatorIndex... function sees_correct (line 163) | pub fn sees_correct(&self, state: &State, hash: &C::Hash) -> bool { function sees (line 174) | pub fn sees(&self, state: &State, hash_to_be_found: &C::Hash) -> bool { function merge (line 197) | pub(crate) fn merge(&self, state: &State, other: &Panorama) -> Pan... function cutoff (line 211) | pub fn cutoff(&self, state: &State, timestamp: Timestamp) -> Panorama... function missing_dependency (line 224) | pub(crate) fn missing_dependency(&self, state: &State) -> Option, other: &Panorama) -> bool { function validate (line 239) | pub(super) fn validate(&self, state: &State) -> Result<(), UnitError> { method largest_specimen (line 264) | fn largest_specimen(estimator: &E, cache: &mut Cache) ... FILE: node/src/components/consensus/highway_core/state/params.rs type Params (line 8) | pub struct Params { method new (line 31) | pub(crate) fn new( method seed (line 55) | pub fn seed(&self) -> u64 { method min_round_length (line 60) | pub fn min_round_length(&self) -> TimeDiff { method max_round_length (line 65) | pub fn max_round_length(&self) -> TimeDiff { method init_round_len (line 70) | pub fn init_round_len(&self) -> TimeDiff { method end_height (line 75) | pub fn end_height(&self) -> u64 { method start_timestamp (line 80) | pub fn start_timestamp(&self) -> Timestamp { method end_timestamp (line 85) | pub fn end_timestamp(&self) -> Timestamp { method endorsement_evidence_limit (line 92) | pub fn endorsement_evidence_limit(&self) -> u64 { method with_endorsement_evidence_limit (line 99) | pub(crate) fn with_endorsement_evidence_limit(mut self, new_limit: u64... method with_max_round_len (line 104) | pub(crate) fn with_max_round_len(mut self, new_max_round_len: TimeDiff... method with_end_height (line 109) | pub(crate) fn with_end_height(mut self, new_end_height: u64) -> Params { FILE: node/src/components/consensus/highway_core/state/tallies.rs type Tally (line 14) | pub(crate) struct Tally<'a, C: Context> { function extend (line 22) | fn extend>(&mut self, iter... type Item (line 30) | type Item = (&'a C::Hash, Weight); type IntoIter (line 31) | type IntoIter = Box + 'b>; method into_iter (line 33) | fn into_iter(self) -> Self::IntoIter { function new (line 40) | fn new(bhash: &'a C::Hash, w: Weight) -> Self { function try_from_iter (line 48) | fn try_from_iter>(iter: T)... function parents (line 60) | fn parents(&self, state: &'a State) -> Self { function add (line 66) | fn add(&mut self, bhash: &'a C::Hash, weight: Weight) { function weight (line 73) | fn weight(&self) -> Weight { function max_w (line 78) | fn max_w(&self) -> Weight { function max_bhash (line 83) | fn max_bhash(&self) -> &'a C::Hash { function filter_descendants (line 91) | fn filter_descendants( type Tallies (line 109) | pub(crate) struct Tallies<'a, C: Context>(BTreeMap>); method default (line 112) | fn default() -> Self { type Output (line 118) | type Output = Tally<'a, C>; function index (line 120) | fn index(&self, index: u64) -> &Self::Output { function from_iter (line 126) | fn from_iter>(iter: T... function find_decided (line 138) | pub(crate) fn find_decided(&self, state: &'a State) -> Option<(u64, &... function filter_descendants (line 170) | pub(crate) fn filter_descendants( function add (line 186) | fn add(&mut self, height: u64, bhash: &'a C::Hash, weight: Weight) { function is_empty (line 194) | pub(crate) fn is_empty(&self) -> bool { function len (line 209) | pub(crate) fn len(&self) -> usize { function tallies (line 215) | fn tallies() -> Result<(), AddUnitError> { function tally_try_from_iter (line 268) | fn tally_try_from_iter() { FILE: node/src/components/consensus/highway_core/state/tests.rs constant WEIGHTS (line 21) | pub(crate) const WEIGHTS: &[Weight] = &[Weight(3), Weight(4), Weight(5)]; constant ALICE (line 23) | pub(crate) const ALICE: ValidatorIndex = ValidatorIndex(0); constant BOB (line 24) | pub(crate) const BOB: ValidatorIndex = ValidatorIndex(1); constant CAROL (line 25) | pub(crate) const CAROL: ValidatorIndex = ValidatorIndex(2); constant DAN (line 26) | pub(crate) const DAN: ValidatorIndex = ValidatorIndex(3); constant ERIC (line 27) | pub(crate) const ERIC: ValidatorIndex = ValidatorIndex(4); constant FRANK (line 28) | pub(crate) const FRANK: ValidatorIndex = ValidatorIndex(5); constant GINA (line 29) | pub(crate) const GINA: ValidatorIndex = ValidatorIndex(6); constant HANNA (line 30) | pub(crate) const HANNA: ValidatorIndex = ValidatorIndex(7); constant N (line 32) | pub(crate) const N: Observation = Observation::None; constant F (line 33) | pub(crate) const F: Observation = Observation::Faulty; constant TEST_MIN_ROUND_LEN (line 35) | const TEST_MIN_ROUND_LEN: TimeDiff = TimeDiff::from_millis(1 << 4); constant TEST_MAX_ROUND_LEN (line 36) | const TEST_MAX_ROUND_LEN: TimeDiff = TimeDiff::from_millis(1 << 19); constant TEST_INIT_ROUND_LEN (line 37) | const TEST_INIT_ROUND_LEN: TimeDiff = TimeDiff::from_millis(1 << 4); constant TEST_ERA_HEIGHT (line 38) | const TEST_ERA_HEIGHT: u64 = 5; type TestContext (line 41) | pub(crate) struct TestContext; type TestSecret (line 44) | pub(crate) struct TestSecret(pub(crate) u32); type Hash (line 47) | type Hash = u64; type Signature (line 48) | type Signature = u64; method sign (line 50) | fn sign(&self, data: &Self::Hash) -> Self::Signature { constant ALICE_SEC (line 55) | pub(crate) const ALICE_SEC: TestSecret = TestSecret(0); constant BOB_SEC (line 56) | pub(crate) const BOB_SEC: TestSecret = TestSecret(1); constant CAROL_SEC (line 57) | pub(crate) const CAROL_SEC: TestSecret = TestSecret(2); constant DAN_SEC (line 58) | pub(crate) const DAN_SEC: TestSecret = TestSecret(3); method needs_validation (line 61) | fn needs_validation(&self) -> bool { type ConsensusValue (line 67) | type ConsensusValue = u32; type ValidatorId (line 68) | type ValidatorId = u32; type ValidatorSecret (line 69) | type ValidatorSecret = TestSecret; type Signature (line 70) | type Signature = u64; type Hash (line 71) | type Hash = u64; type InstanceId (line 72) | type InstanceId = u64; method hash (line 74) | fn hash(data: &[u8]) -> Self::Hash { method verify_signature (line 80) | fn verify_signature( function from (line 91) | fn from(vhash: ::Hash) -> Self { function unit_err (line 97) | fn unit_err(err: AddUnitError) -> UnitError { type AddUnitError (line 104) | pub(crate) struct AddUnitError { function with_error (line 113) | fn with_error(self, cause: UnitError) -> AddUnitError { function test_params (line 121) | pub(crate) fn test_params(seed: u64) -> Params { function new_test (line 136) | pub(crate) fn new_test(weights: &[Weight], seed: u64) -> Self { function add_unit (line 142) | pub(crate) fn add_unit( function add_unit (line 160) | fn add_unit() -> Result<(), AddUnitError> { function ban_and_mark_faulty (line 237) | fn ban_and_mark_faulty() -> Result<(), AddUnitError> { function find_in_swimlane (line 273) | fn find_in_swimlane() -> Result<(), AddUnitError> { function fork_choice (line 299) | fn fork_choice() -> Result<(), AddUnitError> { function validate_lnc_no_equivocation (line 326) | fn validate_lnc_no_equivocation() -> Result<(), AddUnitError Result<(), AddUnitError Result<(), AddUnitError Result<(), AddUnitError Result<(), AddUnitError Result<(), AddUnitError Result<(), AddUnitError Result<(), AddUnitE... function validate_lnc_endorse_mix_pairs (line 612) | fn validate_lnc_endorse_mix_pairs() -> Result<(), AddUnitError Result<(), AddUnitError Result<(), AddUnitError> { function is_terminal_block (line 751) | fn is_terminal_block() -> Result<(), AddUnitError> { function conflicting_endorsements (line 773) | fn conflicting_endorsements() -> Result<(), AddUnitError> { function retain_evidence_only (line 850) | fn retain_evidence_only() -> Result<(), AddUnitError> { function test_log2 (line 865) | fn test_log2() { function test_leader (line 877) | fn test_leader() { FILE: node/src/components/consensus/highway_core/state/unit.rs type Unit (line 21) | pub struct Unit function new (line 58) | pub(super) fn new( function previous (line 104) | pub fn previous(&self) -> Option<&C::Hash> { function round_id (line 109) | pub fn round_id(&self) -> Timestamp { function round_len (line 114) | pub fn round_len(&self) -> TimeDiff { function new_hash_obs (line 123) | pub fn new_hash_obs(&self, state: &State, vidx: ValidatorIndex) -> bo... function claims_endorsed (line 135) | pub fn claims_endorsed(&self) -> impl Iterator { FILE: node/src/components/consensus/highway_core/synchronizer.rs type PendingVertices (line 33) | pub(crate) struct PendingVertices(HashMap, Hash... method default (line 38) | fn default() -> Self { function remove_expired (line 45) | fn remove_expired(&mut self, oldest: Timestamp) -> Vec { function add (line 62) | fn add(&mut self, sender: NodeId, pvv: PreValidatedVertex, time_recei... function add_holder (line 72) | fn add_holder(&mut self, dep: &Dependency, sender: NodeId, time_recei... function push (line 79) | fn push(&mut self, pv: PendingVertex) { function pop (line 83) | fn pop(&mut self) -> Option> { function contains_dependency (line 98) | fn contains_dependency(&self, d: &Dependency) -> bool { function retain_evidence_only (line 103) | pub(crate) fn retain_evidence_only(&mut self) { function len (line 108) | pub(crate) fn len(&self) -> u64 { function is_empty (line 112) | fn is_empty(&self) -> bool { type Item (line 118) | type Item = PendingVertex; method next (line 120) | fn next(&mut self) -> Option { type PendingVertex (line 127) | pub(crate) struct PendingVertex function new (line 141) | pub(crate) fn new( function sender (line 154) | pub(crate) fn sender(&self) -> &NodeId { function vertex (line 159) | pub(crate) fn vertex(&self) -> &Vertex { function pvv (line 164) | pub(crate) fn pvv(&self) -> &PreValidatedVertex { function from (line 170) | fn from(vertex: PendingVertex) -> Self { type Synchronizer (line 176) | pub(crate) struct Synchronizer function new (line 202) | pub(crate) fn new(validator_len: usize, instance_id: C::InstanceId) -> S... function purge_vertices (line 215) | pub(crate) fn purge_vertices(&mut self, oldest: Timestamp) { function vertices_to_be_added_later_len (line 232) | fn vertices_to_be_added_later_len(&self) -> u64 { function vertices_awaiting_deps_len (line 240) | fn vertices_awaiting_deps_len(&self) -> u64 { function vertices_no_deps_len (line 248) | fn vertices_no_deps_len(&self) -> u64 { function log_len (line 252) | pub(crate) fn log_len(&self) { function store_vertex_for_addition_later (line 274) | pub(crate) fn store_vertex_for_addition_later( function add_past_due_stored_vertices (line 291) | pub(crate) fn add_past_due_stored_vertices( function schedule_add_vertex (line 312) | pub(crate) fn schedule_add_vertex( function update_last_seen (line 323) | fn update_last_seen(&mut self, pvv: &PreValidatedVertex) { function remove_satisfied_deps (line 333) | pub(crate) fn remove_satisfied_deps(&mut self, highway: &Highway) -> ... function pop_vertex_to_add (line 355) | pub(crate) fn pop_vertex_to_add( function find_transitive_dependency (line 455) | fn find_transitive_dependency( function add_missing_dependency (line 477) | fn add_missing_dependency(&mut self, dep: Dependency, pv: PendingVert... function is_empty (line 483) | pub(crate) fn is_empty(&self) -> bool { function is_dependency (line 490) | pub(crate) fn is_dependency(&self, dep: &Dependency) -> bool { function invalid_vertices (line 497) | pub(crate) fn invalid_vertices(&mut self, mut vertices: Vec(&mut self, pending_vertices: T) -> ProtocolO... function do_drop_dependent_vertices (line 533) | fn do_drop_dependent_vertices( function remove_expired (line 551) | fn remove_expired( FILE: node/src/components/consensus/highway_core/synchronizer/tests.rs function purge_vertices (line 22) | fn purge_vertices() { function do_not_download_synchronized_dependencies (line 124) | fn do_not_download_synchronized_dependencies() { function transitive_proposal_dependency (line 231) | fn transitive_proposal_dependency() { function unwrap_single (line 357) | fn unwrap_single(vec: Vec) -> T { function assert_targeted_message (line 367) | fn assert_targeted_message( FILE: node/src/components/consensus/leader_sequence.rs type LeaderSequence (line 11) | pub(crate) struct LeaderSequence { method new (line 24) | pub(crate) fn new( method leader (line 59) | pub(crate) fn leader(&self, slot: u64) -> ValidatorIndex { method total_weight (line 94) | pub(crate) fn total_weight(&self) -> Weight { function leader_prng (line 104) | fn leader_prng(upper: u64, seed: u64) -> u64 { function find_seed (line 112) | pub(crate) fn find_seed( function test_leader_prng (line 131) | fn test_leader_prng() { function test_leader_prng_values (line 162) | fn test_leader_prng_values() { FILE: node/src/components/consensus/metrics.rs type Metrics (line 9) | pub(super) struct Metrics { method new (line 25) | pub(super) fn new(registry: &Registry) -> Result( function validator_weights (line 52) | pub(crate) fn validator_weights( function ftt (line 59) | pub(crate) fn ftt( function safe_sum (line 75) | fn safe_sum(mut iterator: I) -> Option function ftt_panics_during_overflow (line 91) | fn ftt_panics_during_overflow() { function total_weights_less_than_u64_max (line 101) | fn total_weights_less_than_u64_max() { FILE: node/src/components/consensus/protocols/highway.rs constant MAX_ENDORSEMENT_EVIDENCE_LIMIT (line 51) | const MAX_ENDORSEMENT_EVIDENCE_LIMIT: u64 = 10_000; constant TIMER_ID_ACTIVE_VALIDATOR (line 54) | const TIMER_ID_ACTIVE_VALIDATOR: TimerId = TimerId(0); constant TIMER_ID_VERTEX_WITH_FUTURE_TIMESTAMP (line 56) | const TIMER_ID_VERTEX_WITH_FUTURE_TIMESTAMP: TimerId = TimerId(1); constant TIMER_ID_PURGE_VERTICES (line 58) | const TIMER_ID_PURGE_VERTICES: TimerId = TimerId(2); constant TIMER_ID_LOG_PARTICIPATION (line 60) | const TIMER_ID_LOG_PARTICIPATION: TimerId = TimerId(3); constant TIMER_ID_SYNCHRONIZER_LOG (line 62) | const TIMER_ID_SYNCHRONIZER_LOG: TimerId = TimerId(4); constant TIMER_ID_REQUEST_STATE (line 64) | const TIMER_ID_REQUEST_STATE: TimerId = TimerId(5); constant ACTION_ID_VERTEX (line 67) | pub(crate) const ACTION_ID_VERTEX: ActionId = ActionId(0); type HighwayProtocol (line 70) | pub(crate) struct HighwayProtocol function new_boxed (line 89) | pub(crate) fn new_boxed( function initialize_timers (line 189) | fn initialize_timers( function process_av_effects (line 213) | fn process_av_effects(&mut self, av_effects: E, now: Timestamp) -> Pr... function process_av_effect (line 223) | fn process_av_effect(&mut self, effect: AvEffect, now: Timestamp) -> ... function process_new_vertex (line 246) | fn process_new_vertex(&mut self, vv: ValidVertex) -> ProtocolOutcomes... function detect_finality (line 265) | fn detect_finality(&mut self) -> ProtocolOutcomes { function add_vertex (line 282) | fn add_vertex(&mut self, now: Timestamp) -> ProtocolOutcomes { function calculate_round_length (line 358) | fn calculate_round_length(&mut self, vv: &ValidVertex, now: Timestamp) { function add_valid_vertex (line 378) | fn add_valid_vertex(&mut self, vv: ValidVertex, now: Timestamp) -> Pr... function next_era_round_succ_meter (line 418) | fn next_era_round_succ_meter(&self, timestamp: Timestamp) -> RoundSucces... function ancestors (line 423) | fn ancestors<'a>( function log_participation (line 437) | fn log_participation(&self) { function log_unit_size (line 443) | fn log_unit_size(&self, vertex: &Vertex, log_msg: &str) { function finalized_switch_block (line 456) | fn finalized_switch_block(&self) -> bool { function handle_request_state_timer (line 464) | fn handle_request_state_timer(&mut self, now: Timestamp) -> ProtocolOutc... function log_proposal (line 484) | fn log_proposal(&self, vertex: &Vertex, msg: &str) -> bool { function log_received_vertex (line 508) | fn log_received_vertex(&self, vertex: &Vertex) { function pre_validate_vertex (line 554) | fn pre_validate_vertex( function latest_state_request (line 568) | fn latest_state_request(&self) -> ProtocolOutcomes { function batch_request (line 579) | fn batch_request( function highway (line 650) | pub(crate) fn highway(&self) -> &Highway { type HighwayMessage (line 681) | pub(crate) enum HighwayMessage method largest_specimen (line 709) | fn largest_specimen(estimator: &E, cache: &mut Cache) ... function handle_message (line 743) | fn handle_message( function handle_request_message (line 915) | fn handle_request_message( function handle_timer (line 926) | fn handle_timer( function handle_is_current (line 975) | fn handle_is_current(&self, now: Timestamp) -> ProtocolOutcomes { function handle_action (line 988) | fn handle_action(&mut self, action_id: ActionId, now: Timestamp) -> Prot... function propose (line 995) | fn propose(&mut self, proposed_block: ProposedBlock, now: Timestamp) ... function resolve_validity (line 1001) | fn resolve_validity( function activate_validator (line 1040) | fn activate_validator( function deactivate_validator (line 1054) | fn deactivate_validator(&mut self) { function set_evidence_only (line 1058) | fn set_evidence_only(&mut self) { function has_evidence (line 1067) | fn has_evidence(&self, vid: &C::ValidatorId) -> bool { function mark_faulty (line 1071) | fn mark_faulty(&mut self, vid: &C::ValidatorId) { function send_evidence (line 1075) | fn send_evidence(&self, sender: NodeId, vid: &C::ValidatorId) -> Protoco... function set_paused (line 1096) | fn set_paused(&mut self, paused: bool, _now: Timestamp) -> ProtocolOutco... function validators_with_evidence (line 1101) | fn validators_with_evidence(&self) -> Vec<&C::ValidatorId> { function as_any (line 1105) | fn as_any(&self) -> &dyn Any { function is_active (line 1109) | fn is_active(&self) -> bool { function instance_id (line 1113) | fn instance_id(&self) -> &C::InstanceId { function next_round_length (line 1117) | fn next_round_length(&self) -> Option { function max_rounds_per_era (line 1129) | pub fn max_rounds_per_era( FILE: node/src/components/consensus/protocols/highway/config.rs type Config (line 13) | pub struct Config { method default (line 37) | fn default() -> Self { FILE: node/src/components/consensus/protocols/highway/participation.rs type Status (line 19) | enum Status { method for_index (line 28) | fn for_index( type Participation (line 58) | pub(crate) struct Participation function new (line 73) | pub(crate) fn new(highway: &Highway) -> Self { FILE: node/src/components/consensus/protocols/highway/round_success_meter.rs type RoundSuccessMeter (line 21) | pub(crate) struct RoundSuccessMeter function new (line 37) | pub fn new( function change_length (line 56) | fn change_length(&mut self, new_len: TimeDiff, timestamp: Timestamp) { function check_proposals_success (line 63) | fn check_proposals_success(&self, state: &State, proposal_h: &C::Hash... function new_proposal (line 81) | pub fn new_proposal(&mut self, proposal_h: C::Hash, timestamp: Timestamp) { function calculate_new_length (line 108) | pub fn calculate_new_length(&mut self, state: &State) -> TimeDiff { function next_era (line 164) | pub fn next_era(&self, timestamp: Timestamp) -> Self { function clean_old_rounds (line 176) | fn clean_old_rounds(&mut self) { function count_failures (line 182) | fn count_failures(&self) -> usize { function new_length (line 188) | pub(super) fn new_length(&self) -> TimeDiff { function round_index (line 211) | fn round_index(r_id: Timestamp, round_len: TimeDiff) -> u64 { FILE: node/src/components/consensus/protocols/highway/round_success_meter/config.rs constant NUM_ROUNDS_TO_CONSIDER (line 8) | pub(crate) const NUM_ROUNDS_TO_CONSIDER: usize = 40; constant NUM_ROUNDS_SLOWDOWN (line 11) | pub(crate) const NUM_ROUNDS_SLOWDOWN: usize = 10; constant NUM_ROUNDS_SPEEDUP (line 14) | pub(crate) const NUM_ROUNDS_SPEEDUP: usize = 32; constant ACCELERATION_PARAMETER (line 17) | pub(crate) const ACCELERATION_PARAMETER: u64 = 40; constant THRESHOLD (line 22) | pub(crate) const THRESHOLD: u64 = 1; constant MAX_FAILED_ROUNDS (line 25) | pub(crate) const MAX_FAILED_ROUNDS: usize = NUM_ROUNDS_TO_CONSIDER - NUM... type Config (line 28) | pub struct Config { method max_failed_rounds (line 53) | pub(crate) fn max_failed_rounds(&self) -> u64 { method max_failures_for_acceleration (line 61) | pub(crate) fn max_failures_for_acceleration(&self) -> u64 { method from (line 68) | fn from(config: &ConsensusConfig) -> Self { method default (line 38) | fn default() -> Self { FILE: node/src/components/consensus/protocols/highway/round_success_meter/tests.rs constant TEST_ROUND_LEN (line 10) | const TEST_ROUND_LEN: TimeDiff = TimeDiff::from_millis(1 << 13); constant TEST_MIN_ROUND_LEN (line 11) | const TEST_MIN_ROUND_LEN: TimeDiff = TimeDiff::from_millis(1 << 8); constant TEST_MAX_ROUND_LEN (line 12) | const TEST_MAX_ROUND_LEN: TimeDiff = TimeDiff::from_millis(1 << 19); function new_length_steady (line 15) | fn new_length_steady() { function new_length_slow_down (line 27) | fn new_length_slow_down() { function new_length_can_not_slow_down_because_max_round_len (line 42) | fn new_length_can_not_slow_down_because_max_round_len() { function new_length_speed_up (line 59) | fn new_length_speed_up() { function new_length_can_not_speed_up_because_min_round_len (line 85) | fn new_length_can_not_speed_up_because_min_round_len() { FILE: node/src/components/consensus/protocols/highway/tests.rs function new_test_state (line 34) | pub(crate) fn new_test_state(weights: I, seed: u64) -> State( constant N (line 103) | pub(crate) const N: Observation = Observation::None; function send_a_wire_unit_with_too_small_a_round_exp (line 106) | fn send_a_wire_unit_with_too_small_a_round_exp() { function send_a_valid_wire_unit (line 136) | fn send_a_valid_wire_unit() { function detect_doppelganger (line 184) | fn detect_doppelganger() { function max_rounds_per_era_returns_the_correct_value_for_prod_chainspec_value (line 241) | fn max_rounds_per_era_returns_the_correct_value_for_prod_chainspec_value... FILE: node/src/components/consensus/protocols/zug.rs constant TIMER_ID_SYNC_PEER (line 115) | const TIMER_ID_SYNC_PEER: TimerId = TimerId(0); constant TIMER_ID_UPDATE (line 117) | const TIMER_ID_UPDATE: TimerId = TimerId(1); constant TIMER_ID_LOG_PARTICIPATION (line 119) | const TIMER_ID_LOG_PARTICIPATION: TimerId = TimerId(2); constant MAX_FUTURE_ROUNDS (line 123) | const MAX_FUTURE_ROUNDS: u32 = 7200; type RoundId (line 126) | pub(crate) type RoundId = u32; type ProposalsAwaitingParent (line 128) | type ProposalsAwaitingParent = HashSet<(RoundId, NodeId)>; type ProposalsAwaitingValidation (line 129) | type ProposalsAwaitingValidation = HashSet<(RoundId, HashedProposal { type ActiveValidator (line 151) | pub(crate) struct ActiveValidator method fmt (line 160) | fn fmt(&self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Resu... type FaultySender (line 169) | struct FaultySender(NodeId); type Zug (line 173) | pub(crate) struct Zug function new_with_params (line 229) | fn new_with_params( function new (line 296) | fn new( function new_boxed (line 324) | pub(crate) fn new_boxed( function our_idx (line 355) | fn our_idx(&self) -> Option { function log_participation (line 360) | fn log_participation(&self) { function finalized_switch_block (line 400) | fn finalized_switch_block(&self) -> bool { function accepted_switch_block (line 409) | fn accepted_switch_block(&self, round_id: RoundId) -> bool { function accepted_dummy_proposal (line 422) | fn accepted_dummy_proposal(&self, round_id: RoundId) -> bool { function has_echoed (line 430) | fn has_echoed(&self, round_id: RoundId, validator_idx: ValidatorIndex) -... function has_voted (line 436) | fn has_voted(&self, round_id: RoundId, validator_idx: ValidatorIndex) ->... function handle_sync_peer_timer (line 442) | fn handle_sync_peer_timer(&mut self, now: Timestamp, rng: &mut NodeRng) ... function log_proposal (line 471) | fn log_proposal(&self, proposal: &HashedProposal, round_id: RoundId, ... function create_sync_request (line 501) | fn create_sync_request( function validator_bit_field (line 563) | fn validator_bit_field( function iter_validator_bit_field (line 590) | fn iter_validator_bit_field( function validator_bit_field_includes (line 620) | fn validator_bit_field_includes( function leader (line 649) | pub(crate) fn leader(&self, round_id: RoundId) -> ValidatorIndex { function create_message (line 656) | fn create_message( function create_and_gossip_message (line 704) | fn create_and_gossip_message( function handle_fault (line 722) | fn handle_fault( function handle_fault_no_wal (line 739) | fn handle_fault_no_wal( function handle_sync_request (line 809) | fn handle_sync_request( function handle_sync_response (line 968) | fn handle_sync_response( function handle_signed_message (line 1093) | fn handle_signed_message( function handle_evidence (line 1174) | fn handle_evidence( function handle_proposal (line 1227) | fn handle_proposal( function check_new_echo_quorum (line 1355) | fn check_new_echo_quorum(&mut self, round_id: RoundId, hash: C::Hash) ->... function check_new_vote_quorum (line 1368) | fn check_new_vote_quorum(&mut self, round_id: RoundId, vote: bool) -> bo... function record_entry (line 1387) | fn record_entry(&mut self, entry: &ZugWalEntry) -> bool { function open_wal (line 1408) | pub(crate) fn open_wal(&mut self, wal_file: PathBuf, now: Timestamp) -> ... function add_content (line 1556) | fn add_content(&mut self, signed_msg: SignedMessage) -> bool { function detect_fault (line 1616) | fn detect_fault(&self, signed_msg: &SignedMessage) -> Option<(Content... function schedule_update (line 1634) | fn schedule_update(&mut self, timestamp: Timestamp) -> ProtocolOutcomes<... function update (line 1646) | fn update(&mut self, now: Timestamp) -> ProtocolOutcomes { function update_round (line 1664) | fn update_round(&mut self, round_id: RoundId, now: Timestamp) -> Protoco... function update_accepted_proposal (line 1767) | fn update_accepted_proposal(&mut self, round_id: RoundId) -> bool { function validate_proposal (line 1822) | fn validate_proposal( function finalize_round (line 1897) | fn finalize_round(&mut self, round_id: RoundId) -> ProtocolOutcomes { function propose_if_leader (line 1964) | fn propose_if_leader( function create_echo_and_proposal (line 2009) | fn create_echo_and_proposal(&mut self, proposal: Proposal) -> Protoco... function suitable_parent_round (line 2045) | fn suitable_parent_round(&self, now: Timestamp) -> Option<(Option bool { function is_committed_round (line 2075) | fn is_committed_round(&self, round_id: RoundId) -> bool { function has_accepted_proposal (line 2080) | fn has_accepted_proposal(&self, round_id: RoundId) -> bool { function accepted_proposal (line 2087) | fn accepted_proposal(&self, round_id: RoundId) -> Option<(u64, &HashedPr... function proposal_timeout (line 2092) | fn proposal_timeout(&self) -> TimeDiff { function update_proposal_timeout (line 2098) | fn update_proposal_timeout(&mut self, now: Timestamp) { function is_quorum (line 2116) | fn is_quorum(&self, vidxs: impl Iterator) -> bool { function ancestor_values (line 2135) | fn ancestor_values(&self, mut round_id: RoundId) -> Option Weight { function faulty_weight (line 2164) | fn faulty_weight(&self) -> Weight { function sum_weights (line 2169) | fn sum_weights<'a>(&self, vidxs: impl Iterator Option<&Round> { function round_mut (line 2180) | fn round_mut(&mut self, round_id: RoundId) -> &mut Round { function create_round (line 2191) | fn create_round(&mut self, round_id: RoundId) { function mark_dirty (line 2196) | fn mark_dirty(&mut self, round_id: RoundId) { function handle_message (line 2209) | fn handle_message( function handle_request_message (line 2257) | fn handle_request_message( function handle_timer (line 2285) | fn handle_timer( function handle_is_current (line 2329) | fn handle_is_current(&self, now: Timestamp) -> ProtocolOutcomes { function handle_action (line 2348) | fn handle_action(&mut self, action_id: ActionId, now: Timestamp) -> Prot... function propose (line 2353) | fn propose(&mut self, proposed_block: ProposedBlock, now: Timestamp) ... function resolve_validity (line 2380) | fn resolve_validity( function activate_validator (line 2424) | fn activate_validator( function deactivate_validator (line 2464) | fn deactivate_validator(&mut self) { function set_evidence_only (line 2468) | fn set_evidence_only(&mut self) { function has_evidence (line 2475) | fn has_evidence(&self, vid: &C::ValidatorId) -> bool { function mark_faulty (line 2482) | fn mark_faulty(&mut self, vid: &C::ValidatorId) { function send_evidence (line 2488) | fn send_evidence(&self, peer: NodeId, vid: &C::ValidatorId) -> ProtocolO... function set_paused (line 2505) | fn set_paused(&mut self, paused: bool, now: Timestamp) -> ProtocolOutcom... function validators_with_evidence (line 2532) | fn validators_with_evidence(&self) -> Vec<&C::ValidatorId> { function as_any (line 2540) | fn as_any(&self) -> &dyn Any { function is_active (line 2544) | fn is_active(&self) -> bool { function instance_id (line 2548) | fn instance_id(&self) -> &C::InstanceId { function next_round_length (line 2552) | fn next_round_length(&self) -> Option { function outcomes_or_disconnect (line 2557) | fn outcomes_or_disconnect( method largest_specimen (line 2584) | fn largest_specimen(estimator: &E, cache: &mut Cache) ... method largest_specimen (line 2611) | fn largest_specimen(estimator: &E, cache: &mut Cache) ... method large_unique_sequence (line 2632) | fn large_unique_sequence( method largest_specimen (line 2644) | fn largest_specimen(estimator: &E, cache: &mut Cache) ... method largest_specimen (line 2660) | fn largest_specimen(estimator: &E, cache: &mut Cache) ... method largest_specimen (line 2675) | fn largest_specimen(estimator: &E, cache: &mut Cache) ... method largest_specimen (line 2681) | fn largest_specimen(estimator: &E, cache: &mut Cache) ... method largest_specimen (line 2693) | fn largest_specimen(estimator: &E, cache: &mut Cache) ... type RegisteredSync (line 2724) | pub struct RegisteredSync(BTreeMap); method prune_old (line 2733) | fn prune_old(&mut self) { method create_and_register_new_id (line 2739) | pub fn create_and_register_new_id(&mut self, rng: &mut NodeRng) -> Ran... method try_remove_id (line 2756) | pub fn try_remove_id(&mut self, id: RandomId) -> Option { type RandomId (line 2729) | pub struct RandomId(u64); method new (line 2764) | pub fn new(rng: &mut NodeRng) -> Self { method largest_specimen (line 2770) | fn largest_specimen(_estimator: &E, _cache: &mut Cache... FILE: node/src/components/consensus/protocols/zug/config.rs type Config (line 11) | pub struct Config { method default (line 35) | fn default() -> Self { FILE: node/src/components/consensus/protocols/zug/des_testing.rs type ConsensusValue (line 44) | pub(crate) struct ConsensusValue(Vec); method needs_validation (line 47) | fn needs_validation(&self) -> bool { method fmt (line 53) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { constant TEST_MIN_ROUND_LEN (line 58) | const TEST_MIN_ROUND_LEN: TimeDiff = TimeDiff::from_millis(1 << 12); constant TEST_END_HEIGHT (line 59) | const TEST_END_HEIGHT: u64 = 100000; constant TEST_INSTANCE_ID (line 60) | pub(crate) const TEST_INSTANCE_ID: u64 = 42; type ZugMessage (line 63) | enum ZugMessage { method is_signed_gossip_message (line 83) | fn is_signed_gossip_message(&self) -> bool { method is_proposal (line 93) | fn is_proposal(&self) -> bool { method from (line 121) | fn from(outcome: ProtocolOutcome) -> ZugMessage { method partial_cmp (line 105) | fn partial_cmp(&self, other: &Self) -> Option { method cmp (line 111) | fn cmp(&self, other: &Self) -> std::cmp::Ordering { type TestRunError (line 161) | pub(crate) enum TestRunError { method fmt (line 169) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type Distribution (line 182) | enum Distribution { method gen_range_vec (line 188) | fn gen_range_vec(&self, rng: &mut NodeRng, lower: u64, upper: u64, cou... type DeliveryStrategy (line 195) | trait DeliveryStrategy { method gen_delay (line 196) | fn gen_delay( method gen_delay (line 715) | fn gen_delay( type ZugValidator (line 205) | struct ZugValidator { method new (line 211) | fn new(zug: Zug, fault: Option) -> Self { method zug_mut (line 215) | fn zug_mut(&mut self) -> &mut Zug { method zug (line 219) | fn zug(&self) -> &Zug { method post_hook (line 223) | fn post_hook(&mut self, delivery_time: Timestamp, msg: ZugMessage) -> ... type ZugNode (line 351) | type ZugNode = Node; type ZugNet (line 353) | type ZugNet = VirtualNet; type ZugTestHarness (line 355) | struct ZugTestHarness type TestResult (line 373) | type TestResult = Result; function crank (line 384) | pub(crate) fn crank(&mut self, rng: &mut NodeRng) -> TestResult<()> { function convert_into_targeted (line 432) | fn convert_into_targeted( function next_consensus_value (line 474) | fn next_consensus_value(&mut self, height: u64) -> ConsensusValue { function node_mut (line 482) | fn node_mut(&mut self, validator_id: &ValidatorId) -> TestResult<&mut Zu... function call_validator (line 488) | fn call_validator( function process_message (line 513) | fn process_message( function mutable_handle (line 642) | fn mutable_handle(&mut self) -> MutableHandle { function crank_until (line 647) | fn crank_until( type MutableHandle (line 661) | struct MutableHandle<'a, DS: DeliveryStrategy>(&'a mut ZugTestHarness); function clear_message_queue (line 665) | fn clear_message_queue(&mut self) { function validators (line 669) | fn validators(&self) -> impl Iterator { type BuilderError (line 675) | enum BuilderError { type ZugTestHarnessBuilder (line 679) | struct ZugTestHarnessBuilder { type InstantDeliveryNoDropping (line 712) | struct InstantDeliveryNoDropping; function new (line 746) | fn new() -> Self { function faulty_weight_perc (line 767) | pub(crate) fn faulty_weight_perc(mut self, faulty_weight: u64) -> Self { function fault_type (line 772) | fn fault_type(mut self, fault_type: DesFault) -> Self { function consensus_values_count (line 777) | pub(crate) fn consensus_values_count(mut self, count: u8) -> Self { function weight_limits (line 783) | pub(crate) fn weight_limits(mut self, lower: u64, upper: u64) -> Self { function max_faulty_validators (line 792) | fn max_faulty_validators(mut self, max_faulty_count: u8) -> Self { function build (line 797) | fn build(self, rng: &mut NodeRng) -> Result, BuilderE... type TestContext (line 973) | pub(crate) struct TestContext; type TestSecret (line 976) | pub(crate) struct TestSecret(pub(crate) u64); type SignatureWrapper (line 981) | pub(crate) struct SignatureWrapper(u64); method fmt (line 984) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type HashWrapper (line 992) | pub(crate) struct HashWrapper(u64); method fmt (line 995) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { method fmt (line 1001) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type Hash (line 1007) | type Hash = HashWrapper; type Signature (line 1008) | type Signature = SignatureWrapper; method sign (line 1010) | fn sign(&self, data: &Self::Hash) -> Self::Signature { type ConsensusValue (line 1016) | type ConsensusValue = ConsensusValue; type ValidatorId (line 1017) | type ValidatorId = ValidatorId; type ValidatorSecret (line 1018) | type ValidatorSecret = TestSecret; type Signature (line 1019) | type Signature = SignatureWrapper; type Hash (line 1020) | type Hash = HashWrapper; type InstanceId (line 1021) | type InstanceId = u64; method hash (line 1023) | fn hash(data: &[u8]) -> Self::Hash { method verify_signature (line 1029) | fn verify_signature( function on_empty_queue_error (line 1056) | fn on_empty_queue_error() { function assert_eq_vectors (line 1075) | fn assert_eq_vectors(coll: Vec, error_msg: &str) { function liveness_test_no_faults (line 1083) | fn liveness_test_no_faults() { function liveness_test_some_mute (line 1145) | fn liveness_test_some_mute() { function liveness_test_some_equivocate (line 1185) | fn liveness_test_some_equivocate() { FILE: node/src/components/consensus/protocols/zug/fault.rs type Fault (line 14) | pub(crate) enum Fault function is_direct (line 28) | pub(super) fn is_direct(&self) -> bool { FILE: node/src/components/consensus/protocols/zug/message.rs type Content (line 44) | pub(crate) enum Content type Message (line 71) | pub(crate) enum Message function contradicts (line 102) | pub(crate) fn contradicts(&self, other: &Content) -> bool { type SignedMessage (line 121) | pub(crate) struct SignedMessage function sign_new (line 134) | pub(crate) fn sign_new( function with (line 152) | pub(crate) fn with(&self, content: Content, signature: C::Signature) ... function verify_signature (line 161) | pub(crate) fn verify_signature(&self, validator_id: &C::ValidatorId) -> ... function hash_fields (line 172) | fn hash_fields( type SyncRequest (line 204) | pub(crate) struct SyncRequest function new_empty_round (line 234) | pub(super) fn new_empty_round( type SyncResponse (line 265) | pub(crate) struct SyncResponse function instance_id (line 289) | pub(super) fn instance_id(&self) -> &C::InstanceId { FILE: node/src/components/consensus/protocols/zug/params.rs type Params (line 10) | pub(crate) struct Params function new (line 24) | pub(crate) fn new( function instance_id (line 43) | pub(crate) fn instance_id(&self) -> &C::InstanceId { function min_block_time (line 48) | pub(crate) fn min_block_time(&self) -> TimeDiff { function start_timestamp (line 53) | pub(crate) fn start_timestamp(&self) -> Timestamp { function end_height (line 58) | pub(crate) fn end_height(&self) -> u64 { function end_timestamp (line 63) | pub(crate) fn end_timestamp(&self) -> Timestamp { function ftt (line 68) | pub(crate) fn ftt(&self) -> Weight { FILE: node/src/components/consensus/protocols/zug/participation.rs type Participation (line 13) | pub(super) struct Participation type ParticipationStatus (line 26) | pub(super) enum ParticipationStatus { method for_index (line 35) | pub(super) fn for_index( FILE: node/src/components/consensus/protocols/zug/proposal.rs type Proposal (line 19) | pub(crate) struct Proposal function dummy (line 38) | pub(super) fn dummy(timestamp: Timestamp, parent_round_id: RoundId) -> S... function with_block (line 49) | pub(super) fn with_block( function hash (line 64) | pub(super) fn hash(&self) -> C::Hash { type HashedProposal (line 72) | pub(crate) struct HashedProposal function new (line 81) | pub(crate) fn new(proposal: Proposal) -> Self { function hash (line 87) | pub(crate) fn hash(&self) -> &C::Hash { function inner (line 91) | pub(crate) fn inner(&self) -> &Proposal { function into_inner (line 95) | pub(crate) fn into_inner(self) -> Proposal { function maybe_block (line 99) | pub(crate) fn maybe_block(&self) -> Option<&C::ConsensusValue> { function timestamp (line 103) | pub(crate) fn timestamp(&self) -> Timestamp { function inactive (line 107) | pub(crate) fn inactive(&self) -> Option<&BTreeSet> { function maybe_parent_round_id (line 111) | pub(crate) fn maybe_parent_round_id(&self) -> Option { function fmt (line 117) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function fmt (line 126) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { FILE: node/src/components/consensus/protocols/zug/round.rs type Round (line 22) | pub(crate) struct Round function new (line 42) | pub(super) fn new(validator_count: usize, leader_idx: ValidatorIndex) ->... function proposal (line 56) | pub(super) fn proposal(&self) -> Option<&HashedProposal> { function has_proposal (line 61) | pub(super) fn has_proposal(&self) -> bool { function has_echoes_for_proposal (line 67) | pub(super) fn has_echoes_for_proposal(&self, hash: &C::Hash) -> bool { function insert_proposal (line 77) | pub(super) fn insert_proposal(&mut self, proposal: HashedProposal) ->... function echoes (line 88) | pub(super) fn echoes(&self) -> &HashMap bool { function set_quorum_echoes (line 114) | pub(super) fn set_quorum_echoes(&mut self, hash: C::Hash) { function quorum_echoes (line 126) | pub(super) fn quorum_echoes(&self) -> Option { function votes (line 131) | pub(super) fn votes(&self, vote: bool) -> &ValidatorMap bool { function set_quorum_votes (line 158) | pub(super) fn set_quorum_votes(&mut self, vote: bool) { function quorum_votes (line 163) | pub(super) fn quorum_votes(&self) -> Option { function remove_votes_and_echoes (line 168) | pub(super) fn remove_votes_and_echoes(&mut self, validator_idx: Validato... function set_accepted_proposal_height (line 179) | pub(super) fn set_accepted_proposal_height(&mut self, height: u64) { function accepted_proposal (line 184) | pub(super) fn accepted_proposal(&self) -> Option<(u64, &HashedProposal, validator_idx: Valid... function prune_skipped (line 202) | pub(super) fn prune_skipped(&mut self) { function leader (line 208) | pub(super) fn leader(&self) -> ValidatorIndex { type RoundOutcome (line 219) | pub(crate) struct RoundOutcome method default (line 232) | fn default() -> RoundOutcome { FILE: node/src/components/consensus/protocols/zug/tests.rs constant INSTANCE_ID_DATA (line 26) | const INSTANCE_ID_DATA: &[u8; 1] = &[123u8; 1]; function new_test_zug (line 31) | pub(crate) fn new_test_zug( function create_signed_message (line 72) | fn create_signed_message( function create_message (line 84) | fn create_message( function create_proposal_message (line 95) | fn create_proposal_message( function remove_gossip (line 114) | fn remove_gossip( function remove_signed (line 142) | fn remove_signed( function remove_proposal (line 173) | fn remove_proposal( function remove_requests_to_random (line 201) | fn remove_requests_to_random( function remove_targeted_messages (line 220) | fn remove_targeted_messages( function remove_create_new_block (line 253) | fn remove_create_new_block(outcomes: &mut ProtocolOutcomes) -... function expect_finalized (line 271) | fn expect_finalized( function expect_no_gossip_block_finalized (line 291) | fn expect_no_gossip_block_finalized(outcomes: ProtocolOutcomes, timestamp: Times... function new_payload (line 321) | fn new_payload(random_bit: bool) -> Arc { function vote (line 331) | fn vote(v: bool) -> Content { function echo (line 335) | fn echo(hash: ::Hash) -> Content { function abc_weights (line 339) | fn abc_weights( function zug_no_fault (line 367) | fn zug_no_fault() { function zug_faults (line 563) | fn zug_faults() { function zug_sends_sync_request (line 627) | fn zug_sends_sync_request() { function zug_handles_sync_request (line 736) | fn zug_handles_sync_request() { function test_validator_bit_field (line 915) | fn test_validator_bit_field() { function test_quorum (line 960) | fn test_quorum() { function update_proposal_timeout (line 993) | fn update_proposal_timeout() { FILE: node/src/components/consensus/tests/consensus_des_testing.rs type Target (line 15) | pub(crate) enum Target { type Message (line 21) | pub(crate) struct Message { function new (line 27) | pub(crate) fn new(sender: ValidatorId, payload: M) -> Self { function payload (line 31) | pub(crate) fn payload(&self) -> &M { type TargetedMessage (line 36) | pub(crate) struct TargetedMessage { method fmt (line 42) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { function new (line 52) | pub(crate) fn new(message: Message, target: Target) -> Self { type ValidatorId (line 58) | pub(crate) struct ValidatorId(pub(crate) u64); method fmt (line 61) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { type Fault (line 67) | pub(crate) enum Fault { type Node (line 78) | pub(crate) struct Node function new (line 96) | pub(crate) fn new(id: ValidatorId, validator: V) -> Self { function push_finalized (line 107) | pub(crate) fn push_finalized(&mut self, finalized_value: C) { function push_messages_received (line 112) | pub(crate) fn push_messages_received(&mut self, messages: Vec... function push_messages_produced (line 117) | pub(crate) fn push_messages_produced(&mut self, messages: Vec) { function finalized_values (line 122) | pub(crate) fn finalized_values(&self) -> impl Iterator { function messages_produced (line 126) | pub(crate) fn messages_produced(&self) -> impl Iterator { function finalized_count (line 130) | pub(crate) fn finalized_count(&self) -> usize { function validator (line 134) | pub(crate) fn validator(&self) -> &V { function validator_mut (line 138) | pub(crate) fn validator_mut(&mut self) -> &mut V { type DeliverySchedule (line 143) | pub(crate) enum DeliverySchedule { method at (line 150) | fn at(instant: Timestamp) -> DeliverySchedule { method from (line 156) | fn from(instant: u64) -> Self { method from (line 162) | fn from(timestamp: Timestamp) -> Self { type VirtualNet (line 167) | pub(crate) struct VirtualNet function new (line 181) | pub(crate) fn new>>( function dispatch_messages (line 202) | pub(crate) fn dispatch_messages(&mut self, messages: Vec<(TargetedMessag... function pop_message (line 218) | pub(crate) fn pop_message(&mut self) -> Option> { function peek_message (line 224) | pub(crate) fn peek_message(&self) -> Option<&QueueEntry> { function validators_ids (line 228) | pub(crate) fn validators_ids(&self) -> impl Iterator { function node_mut (line 232) | pub(crate) fn node_mut(&mut self, validator_id: &ValidatorId) -> Option<... function validator (line 236) | pub(crate) fn validator(&self, validator_id: &ValidatorId) -> Option<&No... function validators (line 240) | pub(crate) fn validators(&self) -> impl Iterator> { function send_messages (line 245) | fn send_messages>( function schedule_message (line 257) | fn schedule_message( function empty_queue (line 269) | pub(crate) fn empty_queue(&mut self) { type M (line 277) | type M = u64; type C (line 278) | type C = u64; type NoOpValidator (line 280) | struct NoOpValidator; function messages_are_enqueued_in_order (line 283) | fn messages_are_enqueued_in_order() { function messages_are_dispatched (line 313) | fn messages_are_dispatched() { FILE: node/src/components/consensus/tests/queue.rs type MessageT (line 7) | pub(crate) trait MessageT: PartialEq + Eq + Ord + Clone + Debug {} type QueueEntry (line 12) | pub(crate) struct QueueEntry function new (line 31) | pub(crate) fn new( method cmp (line 48) | fn cmp(&self, other: &Self) -> Ordering { method partial_cmp (line 61) | fn partial_cmp(&self, other: &Self) -> Option { function delivery_time_ord (line 72) | fn delivery_time_ord() { type Queue (line 87) | pub(crate) struct Queue(BinaryHeap>) method default (line 95) | fn default() -> Self { function pop (line 106) | pub(crate) fn pop(&mut self) -> Option> { function peek (line 112) | pub(crate) fn peek(&self) -> Option<&QueueEntry> { function push (line 117) | pub(crate) fn push(&mut self, item: QueueEntry) { function clear (line 121) | pub(crate) fn clear(&mut self) { function pop_earliest_delivery (line 131) | fn pop_earliest_delivery() { FILE: node/src/components/consensus/tests/utils.rs function new_test_chainspec (line 43) | pub fn new_test_chainspec(stakes: I) -> Chainspec FILE: node/src/components/consensus/traits.rs type ValidatorIdT (line 10) | pub trait ValidatorIdT: Eq + Ord + Clone + Debug + Hash + Send + DataSiz... type ConsensusValueT (line 15) | pub trait ConsensusValueT: method needs_validation (line 19) | fn needs_validation(&self) -> bool; type HashT (line 23) | pub trait HashT: type ValidatorSecret (line 43) | pub trait ValidatorSecret: Send + DataSize { method sign (line 48) | fn sign(&self, hash: &Self::Hash) -> Self::Signature; type Context (line 54) | pub trait Context: Clone + DataSize + Debug + Eq + Ord + Hash + Send { method hash (line 76) | fn hash(data: &[u8]) -> Self::Hash; method verify_signature (line 78) | fn verify_signature( type ConsensusNetworkMessage (line 90) | pub trait ConsensusNetworkMessage {} FILE: node/src/components/consensus/utils/validators.rs type ValidatorIndex (line 23) | pub struct ValidatorIndex(pub u32); method from (line 26) | fn from(idx: u32) -> Self { type Validator (line 33) | pub struct Validator { function from (line 41) | fn from((id, weight): (VID, W)) -> Validator { function id (line 53) | pub fn id(&self) -> &VID { function weight (line 58) | pub fn weight(&self) -> Weight { type Validators (line 65) | pub struct Validators function total_weight (line 76) | pub fn total_weight(&self) -> Weight { function weight (line 83) | pub fn weight(&self, idx: ValidatorIndex) -> Weight { function is_empty (line 88) | pub fn is_empty(&self) -> bool { function len (line 93) | pub fn len(&self) -> usize { function get_index (line 99) | pub fn get_index(&self, id: &VID) -> Option { function id (line 104) | pub fn id(&self, idx: ValidatorIndex) -> Option<&VID> { function iter (line 109) | pub fn iter(&self) -> impl Iterator> { function ban (line 115) | pub fn ban(&mut self, vid: &VID) { function set_cannot_propose (line 123) | pub fn set_cannot_propose(&mut self, vid: &VID) { function iter_banned_idx (line 130) | pub fn iter_banned_idx(&self) -> impl Iterator + ... function iter_cannot_propose_idx (line 138) | pub fn iter_cannot_propose_idx(&self) -> impl Iterator(&'a self) -> impl Iterator bool { function from_iter (line 175) | fn from_iter>(ii: I) -> Validators { function fmt (line 196) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type ValidatorMap (line 207) | pub struct ValidatorMap(Vec); function fmt (line 213) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { constant IS_DYNAMIC (line 231) | const IS_DYNAMIC: bool = Vec::::IS_DYNAMIC; constant STATIC_HEAP_SIZE (line 233) | const STATIC_HEAP_SIZE: usize = Vec::::STATIC_HEAP_SIZE; method estimate_heap_size (line 235) | fn estimate_heap_size(&self) -> usize { function get (line 242) | pub fn get(&self, idx: ValidatorIndex) -> Option<&T> { function len (line 247) | pub fn len(&self) -> usize { function is_empty (line 252) | pub fn is_empty(&self) -> bool { function iter (line 257) | pub fn iter(&self) -> impl Iterator { function iter_mut (line 262) | pub fn iter_mut(&mut self) -> impl Iterator { function enumerate (line 267) | pub fn enumerate(&self) -> impl Iterator { function has (line 274) | pub fn has(&self, idx: ValidatorIndex) -> bool { function keys (line 279) | pub fn keys(&self) -> impl Iterator { function binary_search (line 286) | pub fn binary_search(&self, x: &T) -> Option type Item (line 310) | type Item = T; type IntoIter (line 311) | type IntoIter = vec::IntoIter; method into_iter (line 312) | fn into_iter(self) -> Self::IntoIter { function from_iter (line 318) | fn from_iter>(ii: I) -> ValidatorMap { type Output (line 324) | type Output = T; function index (line 326) | fn index(&self, vidx: ValidatorIndex) -> &T { function index_mut (line 332) | fn index_mut(&mut self, vidx: ValidatorIndex) -> &mut T { type Item (line 338) | type Item = &'a T; type IntoIter (line 339) | type IntoIter = slice::Iter<'a, T>; method into_iter (line 341) | fn into_iter(self) -> Self::IntoIter { type Output (line 347) | type Output = ValidatorMap; function add (line 348) | fn add(mut self, rhs: ValidatorMap) -> Self::Output { function keys_some (line 360) | pub fn keys_some(&self) -> impl Iterator + '_ { function iter_some (line 365) | pub fn iter_some(&self) -> impl Iterator + ... function from_iter (line 376) | fn from_iter() { function binary_search (line 389) | fn binary_search() { FILE: node/src/components/consensus/utils/wal.rs type WalEntry (line 13) | pub(crate) trait WalEntry: Serialize + for<'de> Deserialize<'de> {} type WriteWal (line 17) | pub(crate) struct WriteWal { constant IS_DYNAMIC (line 23) | const IS_DYNAMIC: bool = true; constant STATIC_HEAP_SIZE (line 25) | const STATIC_HEAP_SIZE: usize = 0; method estimate_heap_size (line 27) | fn estimate_heap_size(&self) -> usize { type WriteWalError (line 33) | pub(crate) enum WriteWalError { function new (line 47) | pub(crate) fn new(wal_path: &PathBuf) -> Result { function record_entry (line 59) | pub(crate) fn record_entry(&mut self, entry: &E) -> Result<(), WriteWalE... type ReadWal (line 78) | pub(crate) struct ReadWal { type ReadWalError (line 84) | pub(crate) enum ReadWalError { function new (line 94) | pub(crate) fn new(wal_path: &PathBuf) -> Result { function read_next_entry (line 112) | pub(crate) fn read_next_entry(&mut self) -> Result, ReadWalErr... function trim_file (line 148) | fn trim_file(&mut self, position: u64) -> Result<(), ReadWalError> { type TestWalEntry (line 168) | enum TestWalEntry { function test_read_write_wal (line 177) | fn test_read_write_wal() { FILE: node/src/components/consensus/utils/weight.rs type Weight (line 30) | pub struct Weight(pub u64); method checked_add (line 34) | pub fn checked_add(self, rhs: Weight) -> Option { method saturating_add (line 40) | pub fn saturating_add(self, rhs: Weight) -> Weight { method saturating_sub (line 45) | pub fn saturating_sub(self, rhs: Weight) -> Weight { method is_zero (line 50) | pub fn is_zero(self) -> bool { method sum (line 56) | fn sum>(iter: I) -> Self { type Output (line 62) | type Output = Self; method mul (line 65) | fn mul(self, rhs: u64) -> Self { type Output (line 71) | type Output = Self; method div (line 74) | fn div(self, rhs: u64) -> Self { function from (line 80) | fn from(Weight(w): Weight) -> u128 { FILE: node/src/components/consensus/validator_change.rs type ValidatorChanges (line 7) | pub(super) struct ValidatorChanges(pub(super) Vec<(PublicKey, ValidatorC... method new (line 10) | pub(super) fn new(era0: &Era, era1: &Era) -> Self { method new_from_metadata (line 16) | fn new_from_metadata(era0_metadata: EraMetadata, era1_metadata: EraMet... type EraMetadata (line 73) | struct EraMetadata<'a> { function from (line 81) | fn from(era: &'a Era) -> Self { function preset_validators (line 108) | fn preset_validators(rng: &mut TestRng) -> HashSet { function should_report_added (line 115) | fn should_report_added() { function should_report_removed (line 136) | fn should_report_removed() { function should_report_seen_as_faulty_in_new_era (line 157) | fn should_report_seen_as_faulty_in_new_era() { function should_report_banned (line 181) | fn should_report_banned() { function should_not_report_banned_if_in_both_eras (line 204) | fn should_not_report_banned_if_in_both_eras() { function should_not_report_banned_if_not_a_validator_in_new_era (line 223) | fn should_not_report_banned_if_not_a_validator_in_new_era() { function should_report_cannot_propose (line 245) | fn should_report_cannot_propose() { function should_not_report_cannot_propose_if_in_both_eras (line 268) | fn should_not_report_cannot_propose_if_in_both_eras() { function should_not_report_cannot_propose_if_not_a_validator_in_new_era (line 287) | fn should_not_report_cannot_propose_if_not_a_validator_in_new_era() { function should_report_no_status_change (line 309) | fn should_report_no_status_change() { FILE: node/src/components/contract_runtime.rs constant COMPONENT_NAME (line 86) | const COMPONENT_NAME: &str = "contract_runtime"; constant APPROVALS_CHECKSUM_NAME (line 88) | pub(crate) const APPROVALS_CHECKSUM_NAME: &str = "approvals_checksum"; constant EXECUTION_RESULTS_CHECKSUM_NAME (line 89) | pub(crate) const EXECUTION_RESULTS_CHECKSUM_NAME: &str = "execution_resu... type ContractRuntime (line 93) | pub(crate) struct ContractRuntime { method new (line 117) | pub(crate) fn new( method set_initial_state (line 199) | pub(crate) fn set_initial_state(&mut self, sequential_block_state: Exe... method new_data_access_layer (line 211) | fn new_data_access_layer( method queue_depth (line 251) | pub(crate) fn queue_depth(&self) -> usize { method commit_genesis (line 256) | pub(crate) fn commit_genesis( method handle_contract_runtime_request (line 304) | fn handle_contract_runtime_request( method handle_trie_request (line 744) | fn handle_trie_request( method handle_trie_demand (line 771) | fn handle_trie_demand( method fetch_trie_local (line 800) | fn fetch_trie_local( method data_access_layer (line 827) | pub(crate) fn data_access_layer(&self) -> Arc EraPrice { type Event (line 848) | type Event = Event; method name (line 850) | fn name(&self) -> &str { method handle_event (line 854) | fn handle_event( method fmt (line 111) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { FILE: node/src/components/contract_runtime/config.rs constant DEFAULT_MAX_GLOBAL_STATE_SIZE (line 7) | const DEFAULT_MAX_GLOBAL_STATE_SIZE: usize = 805_306_368_000; constant DEFAULT_MAX_READERS (line 8) | const DEFAULT_MAX_READERS: u32 = 512; constant DEFAULT_MAX_QUERY_DEPTH (line 9) | const DEFAULT_MAX_QUERY_DEPTH: u64 = 5; constant DEFAULT_MANUAL_SYNC_ENABLED (line 10) | const DEFAULT_MANUAL_SYNC_ENABLED: bool = true; type Config (line 16) | pub struct Config { method max_global_state_size_or_default (line 39) | pub fn max_global_state_size_or_default(&self) -> usize { method max_readers_or_default (line 53) | pub fn max_readers_or_default(&self) -> u32 { method max_query_depth_or_default (line 58) | pub fn max_query_depth_or_default(&self) -> u64 { method manual_sync_enabled_or_default (line 63) | pub fn manual_sync_enabled_or_default(&self) -> bool { method default (line 70) | fn default() -> Self { FILE: node/src/components/contract_runtime/error.rs type StateResultError (line 25) | pub(crate) enum StateResultError { type ConfigError (line 39) | pub(crate) enum ConfigError { type ContractRuntimeError (line 50) | pub(crate) enum ContractRuntimeError { type BlockExecutionError (line 64) | pub enum BlockExecutionError { FILE: node/src/components/contract_runtime/event.rs type Event (line 15) | pub(crate) enum Event { method fmt (line 27) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { FILE: node/src/components/contract_runtime/exec_queue.rs type ExecQueue (line 10) | pub(super) struct ExecQueue(Arc>>); method len (line 14) | pub fn len(&self) -> usize { method remove (line 23) | pub fn remove(&mut self, height: u64) -> Option { method insert (line 30) | pub fn insert(&mut self, height: u64, item: QueueItem) { method remove_older_then (line 38) | pub fn remove_older_then(&mut self, height: u64) -> i64 { type QueueItem (line 52) | pub(super) struct QueueItem { FILE: node/src/components/contract_runtime/metrics.rs constant EXPONENTIAL_BUCKET_START (line 6) | const EXPONENTIAL_BUCKET_START: f64 = 0.2; constant EXPONENTIAL_BUCKET_FACTOR (line 9) | const EXPONENTIAL_BUCKET_FACTOR: f64 = 2.0; constant EXPONENTIAL_BUCKET_COUNT (line 15) | const EXPONENTIAL_BUCKET_COUNT: usize = 10; constant EXEC_WASM_V1_NAME (line 17) | const EXEC_WASM_V1_NAME: &str = "contract_runtime_exec_wasm_v1"; constant EXEC_WASM_V1_HELP (line 18) | const EXEC_WASM_V1_HELP: &str = "time in seconds to execute wasm using t... constant EXEC_BLOCK_PRE_PROCESSING_NAME (line 20) | const EXEC_BLOCK_PRE_PROCESSING_NAME: &str = "contract_runtime_exec_bloc... constant EXEC_BLOCK_PRE_PROCESSING_HELP (line 21) | const EXEC_BLOCK_PRE_PROCESSING_HELP: &str = constant EXEC_BLOCK_POST_PROCESSING_NAME (line 24) | const EXEC_BLOCK_POST_PROCESSING_NAME: &str = "contract_runtime_exec_blo... constant EXEC_BLOCK_POST_PROCESSING_HELP (line 25) | const EXEC_BLOCK_POST_PROCESSING_HELP: &str = constant EXEC_BLOCK_STEP_PROCESSING_NAME (line 28) | const EXEC_BLOCK_STEP_PROCESSING_NAME: &str = "contract_runtime_exec_blo... constant EXEC_BLOCK_STEP_PROCESSING_HELP (line 29) | const EXEC_BLOCK_STEP_PROCESSING_HELP: &str = "processing time in second... constant EXEC_BLOCK_TOTAL_NAME (line 31) | const EXEC_BLOCK_TOTAL_NAME: &str = "contract_runtime_exec_block_total_p... constant EXEC_BLOCK_TOTAL_HELP (line 32) | const EXEC_BLOCK_TOTAL_HELP: &str = constant COMMIT_GENESIS_NAME (line 35) | const COMMIT_GENESIS_NAME: &str = "contract_runtime_commit_genesis"; constant COMMIT_GENESIS_HELP (line 36) | const COMMIT_GENESIS_HELP: &str = "time in seconds to commit an genesis"; constant COMMIT_UPGRADE_NAME (line 38) | const COMMIT_UPGRADE_NAME: &str = "contract_runtime_commit_upgrade"; constant COMMIT_UPGRADE_HELP (line 39) | const COMMIT_UPGRADE_HELP: &str = "time in seconds to commit an upgrade"; constant RUN_QUERY_NAME (line 41) | const RUN_QUERY_NAME: &str = "contract_runtime_run_query"; constant RUN_QUERY_HELP (line 42) | const RUN_QUERY_HELP: &str = "time in seconds to run a query in global s... constant RUN_QUERY_BY_PREFIX_NAME (line 44) | const RUN_QUERY_BY_PREFIX_NAME: &str = "contract_runtime_run_query_by_pr... constant RUN_QUERY_BY_PREFIX_HELP (line 45) | const RUN_QUERY_BY_PREFIX_HELP: &str = "time in seconds to run a query b... constant COMMIT_STEP_NAME (line 47) | const COMMIT_STEP_NAME: &str = "contract_runtime_commit_step"; constant COMMIT_STEP_HELP (line 48) | const COMMIT_STEP_HELP: &str = "time in seconds to commit the step at er... constant GET_BALANCE_NAME (line 50) | const GET_BALANCE_NAME: &str = "contract_runtime_get_balance"; constant GET_BALANCE_HELP (line 51) | const GET_BALANCE_HELP: &str = "time in seconds to get the balance of a ... constant GET_TOTAL_SUPPLY_NAME (line 53) | const GET_TOTAL_SUPPLY_NAME: &str = "contract_runtime_get_total_supply"; constant GET_TOTAL_SUPPLY_HELP (line 54) | const GET_TOTAL_SUPPLY_HELP: &str = "time in seconds to get the total su... constant GET_ROUND_SEIGNIORAGE_RATE_NAME (line 56) | const GET_ROUND_SEIGNIORAGE_RATE_NAME: &str = "contract_runtime_get_roun... constant GET_ROUND_SEIGNIORAGE_RATE_HELP (line 57) | const GET_ROUND_SEIGNIORAGE_RATE_HELP: &str = constant GET_ERA_VALIDATORS_NAME (line 60) | const GET_ERA_VALIDATORS_NAME: &str = "contract_runtime_get_era_validato... constant GET_ERA_VALIDATORS_HELP (line 61) | const GET_ERA_VALIDATORS_HELP: &str = constant GET_SEIGNIORAGE_RECIPIENTS_NAME (line 64) | const GET_SEIGNIORAGE_RECIPIENTS_NAME: &str = "contract_runtime_get_seig... constant GET_SEIGNIORAGE_RECIPIENTS_HELP (line 65) | const GET_SEIGNIORAGE_RECIPIENTS_HELP: &str = constant GET_ALL_VALUES_NAME (line 68) | const GET_ALL_VALUES_NAME: &str = "contract_runtime_get_all_values"; constant GET_ALL_VALUES_NAME_HELP (line 69) | const GET_ALL_VALUES_NAME_HELP: &str = constant EXECUTION_RESULTS_CHECKSUM_NAME (line 72) | const EXECUTION_RESULTS_CHECKSUM_NAME: &str = "contract_runtime_executio... constant EXECUTION_RESULTS_CHECKSUM_HELP (line 73) | const EXECUTION_RESULTS_CHECKSUM_HELP: &str = "contract_runtime_executio... constant ADDRESSABLE_ENTITY_NAME (line 75) | const ADDRESSABLE_ENTITY_NAME: &str = "contract_runtime_addressable_enti... constant ADDRESSABLE_ENTITY_HELP (line 76) | const ADDRESSABLE_ENTITY_HELP: &str = "contract_runtime_addressable_enti... constant ENTRY_POINT_NAME (line 78) | const ENTRY_POINT_NAME: &str = "contract_runtime_entry_point"; constant ENTRY_POINT_HELP (line 79) | const ENTRY_POINT_HELP: &str = "contract_runtime_entry_point"; constant PUT_TRIE_NAME (line 81) | const PUT_TRIE_NAME: &str = "contract_runtime_put_trie"; constant PUT_TRIE_HELP (line 82) | const PUT_TRIE_HELP: &str = "time in seconds to put a trie"; constant GET_TRIE_NAME (line 84) | const GET_TRIE_NAME: &str = "contract_runtime_get_trie"; constant GET_TRIE_HELP (line 85) | const GET_TRIE_HELP: &str = "time in seconds to get a trie"; constant EXEC_BLOCK_TNX_PROCESSING_NAME (line 87) | const EXEC_BLOCK_TNX_PROCESSING_NAME: &str = "contract_runtime_execute_b... constant EXEC_BLOCK_TNX_PROCESSING_HELP (line 88) | const EXEC_BLOCK_TNX_PROCESSING_HELP: &str = "time in seconds to execute... constant LATEST_COMMIT_STEP_NAME (line 90) | const LATEST_COMMIT_STEP_NAME: &str = "contract_runtime_latest_commit_st... constant LATEST_COMMIT_STEP_HELP (line 91) | const LATEST_COMMIT_STEP_HELP: &str = "duration in seconds of latest com... constant EXEC_QUEUE_SIZE_NAME (line 93) | const EXEC_QUEUE_SIZE_NAME: &str = "execution_queue_size"; constant EXEC_QUEUE_SIZE_HELP (line 94) | const EXEC_QUEUE_SIZE_HELP: &str = constant TXN_APPROVALS_HASHES (line 97) | const TXN_APPROVALS_HASHES: &str = "contract_runtime_txn_approvals_hashe... constant TXN_APPROVALS_HASHES_HELP (line 98) | const TXN_APPROVALS_HASHES_HELP: &str = constant BLOCK_REWARDS_PAYOUT (line 101) | const BLOCK_REWARDS_PAYOUT: &str = "contract_runtime_block_rewards_payout"; constant BLOCK_REWARDS_PAYOUT_HELP (line 102) | const BLOCK_REWARDS_PAYOUT_HELP: &str = "time in seconds to get process ... constant BATCH_PRUNING_TIME (line 104) | const BATCH_PRUNING_TIME: &str = "contract_runtime_batch_pruning_time"; constant BATCH_PRUNING_TIME_HELP (line 105) | const BATCH_PRUNING_TIME_HELP: &str = "time in seconds to perform batch ... constant DB_FLUSH_TIME (line 107) | const DB_FLUSH_TIME: &str = "contract_runtime_db_flush_time"; constant DB_FLUSH_TIME_HELP (line 108) | const DB_FLUSH_TIME_HELP: &str = "time in seconds to flush changes to th... constant SCRATCH_LMDB_WRITE_TIME (line 110) | const SCRATCH_LMDB_WRITE_TIME: &str = "contract_runtime_scratch_lmdb_wri... constant SCRATCH_LMDB_WRITE_TIME_HELP (line 111) | const SCRATCH_LMDB_WRITE_TIME_HELP: &str = "time in seconds to write cha... constant SEIGNIORAGE_TARGET_FRACTION (line 113) | const SEIGNIORAGE_TARGET_FRACTION: &str = "contract_runtime_seigniorage_... constant SEIGNIORAGE_TARGET_FRACTION_HELP (line 114) | const SEIGNIORAGE_TARGET_FRACTION_HELP: &str = "fraction of target seign... type Metrics (line 118) | pub struct Metrics { method new (line 160) | pub(super) fn new(registry: &Registry) -> Result( function invoked_contract_will_pay (line 1426) | fn invoked_contract_will_pay( function commit_step (line 1457) | fn commit_step( function compute_execution_results_checksum (line 1505) | pub(crate) fn compute_execution_results_checksum<'a>( FILE: node/src/components/contract_runtime/operations/wasm_v2_request.rs type WasmV2Request (line 32) | pub(crate) enum WasmV2Request { method new (line 95) | pub(crate) fn new( method execute (line 277) | pub(crate) fn execute

( type WasmV2Result (line 40) | pub(crate) enum WasmV2Result { method gas_usage (line 49) | pub(crate) fn gas_usage(&self) -> &GasUsage { method effects (line 57) | pub(crate) fn effects(&self) -> &Effects { method post_state_hash (line 64) | pub(crate) fn post_state_hash(&self) -> Digest { type WasmV2Error (line 73) | pub(crate) enum WasmV2Error { type InvalidRequest (line 81) | pub(crate) enum InvalidRequest { function smoke_test (line 308) | fn smoke_test() {} FILE: node/src/components/contract_runtime/rewards.rs type ReactorEventT (line 34) | pub(crate) trait ReactorEventT: type CitedBlock (line 42) | pub(crate) struct CitedBlock { method from_executable_block (line 54) | fn from_executable_block(block: ExecutableBlock, protocol_version: Pro... method from (line 654) | fn from(block: Block) -> Self { type RewardsInfo (line 69) | pub(crate) struct RewardsInfo { method new (line 115) | pub async fn new( method new_testing (line 182) | pub fn new_testing(eras_info: BTreeMap, cited_blocks: ... method create_eras_info (line 193) | fn create_eras_info<'a>( method validator_keys (line 317) | pub fn validator_keys( method reward (line 334) | pub fn reward(&self, era_id: EraId) -> Result, RewardsErro... method weight_ratio (line 343) | pub fn weight_ratio( method era_for_block_height (line 361) | pub fn era_for_block_height(&self, height: u64) -> Result impl Iterator, reward_per_roun... type RewardsError (line 84) | pub enum RewardsError { function fetch_data_and_calculate_rewards_for_era (line 390) | pub(crate) async fn fetch_data_and_calculate_rewards_for_era>( FILE: node/src/components/contract_runtime/rewards/tests.rs function val (line 13) | fn val(n: u8) -> PublicKey { function core_config (line 24) | fn core_config( function production_payout_increases_with_the_supply (line 41) | fn production_payout_increases_with_the_supply() { function production_payout_depends_on_the_blocks_produced (line 113) | fn production_payout_depends_on_the_blocks_produced() { function all_signatures_rewards_without_contribution_fee (line 198) | fn all_signatures_rewards_without_contribution_fee() { function all_signatures_rewards_without_finder_fee (line 314) | fn all_signatures_rewards_without_finder_fee() { function all_signatures_rewards (line 394) | fn all_signatures_rewards() { function mixed_signatures_pattern (line 480) | fn mixed_signatures_pattern() { type Weights (line 690) | type Weights = BTreeMap; type RewardPerRound (line 691) | type RewardPerRound = u64; type BlockInfo (line 692) | type BlockInfo<'a> = (u64, &'a PublicKey, Vec>); type RewardsInfoConstructor (line 694) | pub(super) struct RewardsInfoConstructor<'a> { function new (line 702) | pub(super) fn new( function weight (line 719) | pub(super) fn weight( function for_era (line 731) | pub(super) fn for_era(&self, rng: &mut TestRng, era_id: impl Into... function ratio (line 816) | pub(super) fn ratio(n: impl IntoRatioU512) -> Ratio { type IntoRatioU512 (line 820) | pub(super) trait IntoRatioU512 { method into (line 821) | fn into(self) -> Ratio; method into (line 825) | fn into(self) -> Ratio { method into (line 831) | fn into(self) -> Ratio { method into (line 837) | fn into(self) -> Ratio { method into (line 843) | fn into(self) -> Ratio { method into (line 849) | fn into(self) -> Ratio { method into (line 855) | fn into(self) -> Ratio { FILE: node/src/components/contract_runtime/tests.rs constant FIXTURES_DIRECTORY (line 39) | const FIXTURES_DIRECTORY: &str = "../execution_engine_testing/tests/fixt... function path_to_lmdb_fixtures (line 40) | fn path_to_lmdb_fixtures() -> PathBuf { constant RECENT_ERA_COUNT (line 44) | const RECENT_ERA_COUNT: u64 = 5; constant MAX_TTL (line 45) | const MAX_TTL: TimeDiff = TimeDiff::from_seconds(86400); constant TEST_TIMEOUT (line 46) | const TEST_TIMEOUT: Duration = Duration::from_secs(10); type Event (line 51) | enum Event { method from (line 79) | fn from(_: T) -> Self { method is_control (line 67) | fn is_control(&self) -> bool { method try_into_control (line 71) | fn try_into_control(self) -> Option { type Unhandled (line 76) | trait Unhandled {} type TestConfig (line 92) | struct TestConfig { type Reactor (line 97) | struct Reactor { type Event (line 104) | type Event = Event; type Config (line 105) | type Config = TestConfig; type Error (line 106) | type Error = ConfigError; method new (line 108) | fn new( method dispatch_event (line 151) | fn dispatch_event( function execute_block (line 192) | fn execute_block( function execution_started (line 203) | fn execution_started(event: &Event) -> bool { function execution_completed (line 211) | fn execution_completed(event: &Event) -> bool { function should_not_set_shared_pre_state_to_lower_block_height (line 216) | async fn should_not_set_shared_pre_state_to_lower_block_height() { function valid_wasm_txn (line 428) | fn valid_wasm_txn( function valid_versioned_call_txn (line 460) | fn valid_versioned_call_txn( function should_correctly_manage_entity_version_calls (line 490) | async fn should_correctly_manage_entity_version_calls() { type TestPair (line 887) | struct TestPair(Key, StoredValue); function create_pre_condor_contract (line 889) | fn create_pre_condor_contract( function create_entry_point (line 918) | fn create_entry_point(entity_addr: EntityAddr, entry_point_name: &str) -... function create_test_pairs_with_large_data (line 945) | fn create_test_pairs_with_large_data() -> Vec { function extract_next_hash_from_trie (line 962) | fn extract_next_hash_from_trie(trie_or_chunk: TrieOrChunk) -> Digest { function create_test_state (line 987) | fn create_test_state(rng: &mut TestRng, test_pair: Vec) -> (Co... function read_trie (line 1033) | fn read_trie(contract_runtime: &ContractRuntime, id: TrieOrChunkId) -> T... function fetching_enty_points_falls_back_to_contract (line 1047) | fn fetching_enty_points_falls_back_to_contract() { function fetching_enty_points_fetches_entry_point_from_v2 (line 1068) | fn fetching_enty_points_fetches_entry_point_from_v2() { function fetching_enty_points_fetches_fail_when_asking_for_non_existing (line 1084) | fn fetching_enty_points_fetches_fail_when_asking_for_non_existing() { function returns_trie_or_chunk (line 1098) | fn returns_trie_or_chunk() { FILE: node/src/components/contract_runtime/types.rs type ValidatorWeightsByEraIdRequest (line 31) | pub struct ValidatorWeightsByEraIdRequest { method new (line 39) | pub fn new(state_hash: Digest, era_id: EraId, protocol_version: Protoc... method state_hash (line 48) | pub fn state_hash(&self) -> Digest { method era_id (line 53) | pub fn era_id(&self) -> EraId { method protocol_version (line 58) | pub fn protocol_version(&self) -> ProtocolVersion { method from (line 64) | fn from(input: ValidatorWeightsByEraIdRequest) -> Self { type ExecutionArtifactBuilder (line 70) | pub(crate) struct ExecutionArtifactBuilder { method new (line 89) | pub fn new( method pre_condition_failure (line 115) | pub fn pre_condition_failure( method error_message (line 139) | pub fn error_message(&self) -> Option { method gas_limit (line 143) | pub fn gas_limit(&self) -> Gas { method limit (line 147) | pub fn limit(&self) -> U512 { method consumed (line 151) | pub fn consumed(&self) -> U512 { method available (line 155) | pub fn available(&self) -> Option { method actual_cost (line 159) | pub fn actual_cost(&self) -> U512 { method cost_to_use (line 163) | pub fn cost_to_use(&self) -> U512 { method consume_limit (line 188) | pub fn consume_limit(&mut self) -> &mut Self { method with_added_consumed (line 193) | pub fn with_added_consumed(&mut self, consumed: Gas) -> &mut Self { method with_appended_transfers (line 198) | pub fn with_appended_transfers(&mut self, transfers: &mut Vec &mut Self { method with_appended_messages (line 208) | pub fn with_appended_messages(&mut self, messages: &mut Messages) -> &... method with_state_result_error (line 213) | pub fn with_state_result_error(&mut self, error: StateResultError) -> ... method with_initial_balance_result (line 223) | pub fn with_initial_balance_result( method with_wasm_v1_result (line 249) | pub fn with_wasm_v1_result(&mut self, wasm_v1_result: WasmV1Result) ->... method with_error_message (line 271) | pub fn with_error_message(&mut self, error_message: String) -> &mut Se... method with_set_refund_purse_result (line 276) | pub fn with_set_refund_purse_result( method with_clear_refund_purse_result (line 298) | pub fn with_clear_refund_purse_result( method with_handle_refund_result (line 320) | pub fn with_handle_refund_result( method with_handle_fee_result (line 342) | pub fn with_handle_fee_result( method with_balance_hold_result (line 363) | pub fn with_balance_hold_result( method with_refund_amount (line 380) | pub fn with_refund_amount(&mut self, refund: U512) -> &mut Self { method with_invalid_wasm_v1_request (line 385) | pub fn with_invalid_wasm_v1_request( method with_auction_method_error (line 395) | pub fn with_auction_method_error( method with_transfer_result (line 405) | pub fn with_transfer_result( method with_burn_result (line 427) | pub fn with_burn_result(&mut self, burn_result: BurnResult) -> Result<... method with_bidding_result (line 440) | pub fn with_bidding_result(&mut self, bidding_result: BiddingResult) -... method with_initiator_addr (line 458) | pub fn with_initiator_addr(&mut self, initiator_addr: InitiatorAddr) -... method with_available (line 463) | pub fn with_available(&mut self, available: Option) -> &mut Self { method build (line 468) | pub(crate) fn build(self) -> ExecutionArtifact { method with_invalid_wasm_v2_request (line 487) | pub(crate) fn with_invalid_wasm_v2_request( method with_wasm_v2_result (line 498) | pub(crate) fn with_wasm_v2_result(&mut self, result: WasmV2Result) -> ... method with_wasm_v2_error (line 510) | pub(crate) fn with_wasm_v2_error(&mut self, error: WasmV2Error) -> &mu... type StepOutcome (line 518) | pub(crate) struct StepOutcome { type ExecutionArtifact (line 526) | pub(crate) struct ExecutionArtifact { method new (line 534) | pub(crate) fn new( type BlockAndExecutionArtifacts (line 553) | pub struct BlockAndExecutionArtifacts { type SpeculativeExecutionResult (line 566) | pub enum SpeculativeExecutionResult { method invalid_gas_limit (line 573) | pub fn invalid_gas_limit(transaction: Transaction) -> Self { method invalid_transaction (line 584) | pub fn invalid_transaction(error: InvalidTransaction) -> Self { type ExecutionPreState (line 592) | pub struct ExecutionPreState { method new (line 606) | pub(crate) fn new( method from_block_header (line 622) | pub fn from_block_header(block_header: &BlockHeaderV2) -> Self { method next_block_height (line 633) | pub fn next_block_height(&self) -> u64 { method pre_state_root_hash (line 637) | pub fn pre_state_root_hash(&self) -> Digest { method parent_hash (line 641) | pub fn parent_hash(&self) -> BlockHash { method parent_seed (line 646) | pub fn parent_seed(&self) -> Digest { type EraPrice (line 652) | pub(crate) struct EraPrice { method new (line 658) | pub(crate) fn new(era_id: EraId, gas_price: u8) -> Self { method gas_price (line 662) | pub(crate) fn gas_price(&self) -> u8 { method maybe_gas_price_for_era_id (line 666) | pub(crate) fn maybe_gas_price_for_era_id(&self, era_id: EraId) -> Opti... FILE: node/src/components/contract_runtime/utils.rs constant MAX_PARALLEL_INTENSIVE_TASKS (line 44) | const MAX_PARALLEL_INTENSIVE_TASKS: usize = 4; function run_intensive_task (line 54) | pub(super) async fn run_intensive_task(task: T) -> V function exec_or_requeue (line 72) | pub(super) async fn exec_or_requeue( function handle_protocol_upgrade (line 440) | pub(super) async fn handle_protocol_upgrade( function generate_range_by_index (line 509) | fn generate_range_by_index( function calculate_prune_eras (line 524) | pub(super) fn calculate_prune_eras( function spec_exec_from_transfer_result (line 559) | pub(crate) fn spec_exec_from_transfer_result( function spec_exec_from_wasm_v1_result (line 578) | pub(crate) fn spec_exec_from_wasm_v1_result( function calculation_is_safe_with_invalid_input (line 602) | fn calculation_is_safe_with_invalid_input() { function calculation_is_lazy (line 613) | fn calculation_is_lazy() { function should_calculate_prune_eras (line 626) | fn should_calculate_prune_eras() { FILE: node/src/components/diagnostics_port.rs constant COMPONENT_NAME (line 40) | const COMPONENT_NAME: &str = "diagnostics_port"; type Config (line 44) | pub struct Config { method default (line 54) | fn default() -> Self { type DiagnosticsPort (line 65) | pub(crate) struct DiagnosticsPort { method new (line 75) | pub(crate) fn new(config: WithDir) -> Self { type Event (line 113) | type Event = Event; method handle_event (line 115) | fn handle_event( method name (line 153) | fn name(&self) -> &str { method state (line 167) | fn state(&self) -> &ComponentState { method set_state (line 171) | fn set_state(&mut self, new_state: ComponentState) { type Error (line 191) | type Error = Error; type ComponentEvent (line 192) | type ComponentEvent = Event; method listen (line 194) | fn listen( type Event (line 86) | pub(crate) enum Event { method fmt (line 91) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type Error (line 98) | pub(crate) enum Error { function setup_listener (line 220) | fn setup_listener>(path: P, socket_umask: umask::Mode) ->... function setup_listener_creates_listener (line 266) | async fn setup_listener_creates_listener() { function setup_listener_removes_previous_listener (line 304) | async fn setup_listener_removes_previous_listener() { FILE: node/src/components/diagnostics_port/command.rs type Error (line 16) | pub(super) enum Error { type OutputFormat (line 27) | pub(super) enum OutputFormat { method fmt (line 40) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type Err (line 50) | type Err = &'static str; method from_str (line 52) | fn from_str(s: &str) -> Result { type Action (line 64) | pub(super) enum Action { type Command (line 140) | pub(super) struct Command { method from_line (line 147) | pub(super) fn from_line(line: &str) -> Result { function can_parse_simple_commands (line 159) | fn can_parse_simple_commands() { FILE: node/src/components/diagnostics_port/stop_at.rs type StopAtSpec (line 13) | pub(crate) enum StopAtSpec { method fmt (line 28) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type Err (line 40) | type Err = String; method from_str (line 42) | fn from_str(s: &str) -> Result { function known_good_examples (line 87) | fn known_good_examples() { FILE: node/src/components/diagnostics_port/tasks.rs type Outcome (line 50) | enum Outcome { method success (line 65) | fn success(msg: S) -> Self { method failed (line 72) | fn failed(reason: S) -> Self { method fmt (line 80) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type Session (line 94) | struct Session { method create_era_dump_serializer (line 148) | fn create_era_dump_serializer(&self) -> fn(&EraDump<'_>) -> Result QueueDumpFormat { method process_line (line 193) | async fn process_line( method obtain_queue_dump (line 380) | async fn obtain_queue_dump( method send_outcome (line 410) | async fn send_outcome( method send_to_client (line 426) | async fn send_to_client(&self, writer: &mut OwnedWriteHalf, respons... method stream_to_client (line 457) | async fn stream_to_client( method fmt (line 102) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type FileSerializer (line 108) | pub enum FileSerializer { method as_serializer (line 122) | pub fn as_serializer<'a>(&'a mut self) -> Box Result<(), SetLogFilterError> { function handler (line 493) | async fn handler( function server (line 537) | pub(super) async fn server( type TestReactorConfig (line 641) | pub struct TestReactorConfig { method new (line 648) | fn new>(base_dir: P, idx: usize) -> Self { method socket_path (line 659) | fn socket_path(&self) -> PathBuf { type Error (line 665) | struct Error; method from (line 668) | fn from(_: prometheus::Error) -> Self { type Event (line 674) | enum Event { method fmt (line 688) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { method is_control (line 694) | fn is_control(&self) -> bool { method try_into_control (line 698) | fn try_into_control(self) -> Option { type Reactor (line 707) | struct Reactor { type Event (line 712) | type Event = Event; type Error (line 713) | type Error = Error; type Config (line 714) | type Config = TestReactorConfig; method dispatch_event (line 716) | fn dispatch_event( method new (line 737) | fn new( function run_single_node_console_and_dump_events (line 767) | async fn run_single_node_console_and_dump_events(dump_format: &'static s... function ensure_diagnostics_port_can_dump_events_in_json_format (line 822) | async fn ensure_diagnostics_port_can_dump_events_in_json_format() { function ensure_diagnostics_port_can_dump_events_in_interactive_format (line 833) | async fn ensure_diagnostics_port_can_dump_events_in_interactive_format() { function can_dump_actual_events_from_scheduler (line 844) | async fn can_dump_actual_events_from_scheduler() { FILE: node/src/components/diagnostics_port/util.rs type ShowUnixAddr (line 11) | pub(super) struct ShowUnixAddr<'a>(pub &'a SocketAddr); method fmt (line 15) | fn fmt(&self, f: &mut Formatter) -> fmt::Result { FILE: node/src/components/event_stream_server.rs constant COMPONENT_NAME (line 55) | const COMPONENT_NAME: &str = "event_stream_server"; constant ADDITIONAL_PERCENT_FOR_BROADCAST_CHANNEL_SIZE (line 65) | const ADDITIONAL_PERCENT_FOR_BROADCAST_CHANNEL_SIZE: u32 = 20; type ReactorEventT (line 69) | pub trait ReactorEventT: From + Send {} type InnerServer (line 74) | struct InnerServer { type EventStreamServer (line 84) | pub(crate) struct EventStreamServer { method new (line 93) | pub(crate) fn new(config: Config, storage_path: PathBuf, api_version: ... method listen (line 103) | fn listen(&mut self) -> Result<(), ListeningError> { method broadcast (line 213) | fn broadcast(&mut self, sse_data: SseData) -> Effects { type Event (line 232) | type Event = Event; method handle_event (line 234) | fn handle_event( method name (line 351) | fn name(&self) -> &str { method state (line 360) | fn state(&self) -> &ComponentState { method set_state (line 364) | fn set_state(&mut self, new_state: ComponentState) { type Error (line 379) | type Error = ListeningError; type ComponentEvent (line 380) | type ComponentEvent = Event; method listen (line 382) | fn listen( method drop (line 223) | fn drop(&mut self) { FILE: node/src/components/event_stream_server/config.rs constant DEFAULT_ADDRESS (line 7) | const DEFAULT_ADDRESS: &str = "0.0.0.0:0"; constant DEFAULT_EVENT_STREAM_BUFFER_LENGTH (line 10) | const DEFAULT_EVENT_STREAM_BUFFER_LENGTH: u32 = 5000; constant DEFAULT_MAX_CONCURRENT_SUBSCRIBERS (line 13) | const DEFAULT_MAX_CONCURRENT_SUBSCRIBERS: u32 = 100; constant DEFAULT_CORS_ORIGIN (line 16) | const DEFAULT_CORS_ORIGIN: &str = ""; type Config (line 22) | pub struct Config { method new (line 41) | pub fn new() -> Self { method default (line 53) | fn default() -> Self { FILE: node/src/components/event_stream_server/event.rs type Event (line 16) | pub enum Event { method fmt (line 41) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { FILE: node/src/components/event_stream_server/event_indexer.rs constant CACHE_FILENAME (line 6) | const CACHE_FILENAME: &str = "sse_index"; type EventIndex (line 8) | pub(super) type EventIndex = u32; type EventIndexer (line 11) | pub(super) struct EventIndexer { method new (line 17) | pub(super) fn new(storage_path: PathBuf) -> Self { method next_index (line 52) | pub(super) fn next_index(&mut self) -> EventIndex { method current_index (line 59) | pub(super) fn current_index(&self) -> EventIndex { method drop (line 65) | fn drop(&mut self) { function should_persist_in_cache (line 89) | fn should_persist_in_cache() { function should_wrap (line 113) | fn should_wrap() { function should_reset_index_on_cache_read_failure (line 125) | fn should_reset_index_on_cache_read_failure() { function should_reset_index_on_corrupt_cache (line 136) | fn should_reset_index_on_corrupt_cache() { FILE: node/src/components/event_stream_server/http_server.rs function run (line 28) | pub(super) async fn run( FILE: node/src/components/event_stream_server/sse_server.rs constant SSE_API_PATH (line 47) | pub const SSE_API_PATH: &str = "events"; constant QUERY_FIELD (line 49) | pub const QUERY_FIELD: &str = "start_from"; type Id (line 52) | pub type Id = u32; type SseData (line 56) | pub enum SseData { method random_block_added (line 104) | pub(super) fn random_block_added(rng: &mut TestRng) -> Self { method random_transaction_accepted (line 113) | pub(super) fn random_transaction_accepted(rng: &mut TestRng) -> (Self,... method random_transaction_processed (line 122) | pub(super) fn random_transaction_processed(rng: &mut TestRng) -> Self { method random_transaction_expired (line 145) | pub(super) fn random_transaction_expired(rng: &mut TestRng) -> Self { method random_fault (line 161) | pub(super) fn random_fault(rng: &mut TestRng) -> Self { method random_finality_signature (line 170) | pub(super) fn random_finality_signature(rng: &mut TestRng) -> Self { method random_step (line 175) | pub(super) fn random_step(rng: &mut TestRng) -> Self { type TransactionAccepted (line 186) | pub(super) struct TransactionAccepted { type ServerSentEvent (line 192) | pub(super) struct ServerSentEvent { method initial_event (line 200) | pub(super) fn initial_event(client_api_version: ProtocolVersion) -> Se... type BroadcastChannelMessage (line 211) | pub(super) enum BroadcastChannelMessage { type NewSubscriberInfo (line 223) | pub(super) struct NewSubscriberInfo { function map_server_sent_event (line 233) | fn map_server_sent_event( function parse_query (line 291) | fn parse_query(query: &HashMap) -> Result, Re... function create_404 (line 310) | fn create_404() -> Response { function create_422 (line 321) | fn create_422() -> Response { function create_503 (line 332) | fn create_503() -> Response { type ChannelsAndFilter (line 338) | pub(super) struct ChannelsAndFilter { method new (line 347) | pub(super) fn new(broadcast_channel_size: usize, max_concurrent_subscr... function stream_to_client (line 436) | fn stream_to_client( function should_filter_duplicate_events (line 506) | async fn should_filter_duplicate_events() { FILE: node/src/components/event_stream_server/tests.rs constant EVENT_COUNT (line 36) | const EVENT_COUNT: u32 = 100; constant MAX_EVENT_COUNT (line 39) | const MAX_EVENT_COUNT: u32 = 100_000_000; constant BUFFER_LENGTH (line 42) | const BUFFER_LENGTH: u32 = EVENT_COUNT / 2; constant MAX_TEST_TIME (line 45) | const MAX_TEST_TIME: Duration = Duration::from_secs(2); constant DELAY_BETWEEN_EVENTS (line 47) | const DELAY_BETWEEN_EVENTS: Duration = Duration::from_millis(1); type ClientSyncBehavior (line 54) | struct ClientSyncBehavior { method new (line 62) | fn new(join_before_event: Id) -> (Self, Arc) { type ServerBehavior (line 74) | struct ServerBehavior { method new (line 91) | fn new() -> Self { method new_for_lagging_test (line 104) | fn new_for_lagging_test() -> Self { method add_client_sync_before_event (line 115) | fn add_client_sync_before_event(&mut self, id: Id) -> Arc { method set_max_concurrent_subscribers (line 122) | fn set_max_concurrent_subscribers(&mut self, count: u32) { method wait_for_clients (line 127) | async fn wait_for_clients(&self, id: Id) { method sleep_if_required (line 140) | async fn sleep_if_required(&self) { type ServerStopper (line 151) | struct ServerStopper { method new (line 157) | fn new() -> Self { method should_stop (line 165) | fn should_stop(&self) -> bool { method wait (line 170) | async fn wait(&self) { method stop (line 177) | fn stop(&self) { method drop (line 184) | fn drop(&mut self) { type TestFixture (line 189) | struct TestFixture { method new (line 200) | fn new(rng: &mut TestRng) -> Self { method run_server (line 246) | async fn run_server(&mut self, server_behavior: ServerBehavior) -> Soc... method stop_server (line 328) | async fn stop_server(&mut self) { method events_filtered_by_id (line 345) | fn events_filtered_by_id(&self, from: Id) -> (Vec, Id) { method all_events (line 401) | fn all_events(&self) -> (Vec, Id) { function make_url (line 410) | fn make_url(server_address: SocketAddr, maybe_start_from: Option) ->... type ReceivedEvent (line 424) | struct ReceivedEvent { function subscribe (line 438) | async fn subscribe( function subscribe_no_sync (line 461) | async fn subscribe_no_sync( function bytes_to_string (line 476) | fn bytes_to_string( function handle_response (line 491) | async fn handle_response( function parse_response (line 558) | fn parse_response(response_text: String, client_id: &str) -> Vec = Result, Error>; type FetchResponder (line 51) | pub(crate) type FetchResponder = Responder>; type Fetcher (line 56) | pub(crate) struct Fetcher function new (line 69) | pub(crate) fn new( type Event (line 96) | type Event = Event; function handle_event (line 98) | fn handle_event( function name (line 179) | fn name(&self) -> &str { FILE: node/src/components/fetcher/config.rs constant DEFAULT_GET_FROM_PEER_TIMEOUT (line 8) | const DEFAULT_GET_FROM_PEER_TIMEOUT: &str = "3sec"; type Config (line 12) | pub struct Config { method get_from_peer_timeout (line 18) | pub fn get_from_peer_timeout(&self) -> TimeDiff { method default (line 24) | fn default() -> Self { FILE: node/src/components/fetcher/error.rs type Error (line 9) | pub(crate) enum Error { function is_peer_fault (line 35) | pub(crate) fn is_peer_fault(&self) -> bool { function id (line 44) | pub(crate) fn id(&self) -> &T::Id { function peer (line 54) | pub(crate) fn peer(&self) -> &NodeId { constant IS_DYNAMIC (line 69) | const IS_DYNAMIC: bool = ::IS_DYNAMIC; constant STATIC_HEAP_SIZE (line 71) | const STATIC_HEAP_SIZE: usize = ::STATIC_HEAP_SIZE; method estimate_heap_size (line 73) | fn estimate_heap_size(&self) -> usize { FILE: node/src/components/fetcher/event.rs type Event (line 17) | pub(crate) enum Event { function from_get_response_serialized_item (line 44) | pub(crate) fn from_get_response_serialized_item( function from (line 64) | fn from(fetcher_request: FetcherRequest) -> Self { function from (line 72) | fn from(announcement: TransactionAcceptorAnnouncement) -> Self { method fmt (line 93) | fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result { FILE: node/src/components/fetcher/fetch_item.rs type EmptyValidationMetadata (line 13) | pub(crate) struct EmptyValidationMetadata; method fmt (line 16) | fn fmt(&self, formatter: &mut Formatter<'_>) -> Result<(), fmt::Error> { type FetchItem (line 22) | pub(crate) trait FetchItem: constant TAG (line 33) | const TAG: Tag; method fetch_id (line 36) | fn fetch_id(&self) -> Self::Id; method validate (line 39) | fn validate(&self, metadata: &Self::ValidationMetadata) -> Result<(), ... FILE: node/src/components/fetcher/fetch_response.rs type FetchResponse (line 6) | pub enum FetchResponse { function from_opt (line 17) | pub(crate) fn from_opt(id: Id, item: Option) -> Self { function was_found (line 25) | pub(crate) fn was_found(&self) -> bool { function to_serialized (line 36) | pub(crate) fn to_serialized(&self) -> Result, bincode::Error> { method largest_specimen (line 50) | fn largest_specimen(estimator: &E, cache: &mut Cache) ... FILE: node/src/components/fetcher/fetched_data.rs type FetchedData (line 9) | pub(crate) enum FetchedData { function from_storage (line 15) | pub(crate) fn from_storage(item: Box) -> Self { function from_peer (line 19) | pub(crate) fn from_peer(item: T, peer: NodeId) -> Self { function convert (line 26) | pub(crate) fn convert(self) -> FetchedData function id (line 43) | pub(crate) fn id(&self) -> T::Id { method fmt (line 53) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { FILE: node/src/components/fetcher/fetcher_impls/approvals_hashes_fetcher.rs type Id (line 18) | type Id = BlockHash; type ValidationError (line 19) | type ValidationError = ApprovalsHashesValidationError; type ValidationMetadata (line 20) | type ValidationMetadata = Block; constant TAG (line 22) | const TAG: Tag = Tag::ApprovalsHashes; method fetch_id (line 24) | fn fetch_id(&self) -> Self::Id { method validate (line 28) | fn validate(&self, block: &Block) -> Result<(), Self::ValidationError> { constant SAFE_TO_RESPOND_TO_ALL (line 35) | const SAFE_TO_RESPOND_TO_ALL: bool = false; function item_handles (line 37) | fn item_handles( function metrics (line 43) | fn metrics(&mut self) -> &Metrics { function peer_timeout (line 47) | fn peer_timeout(&self) -> Duration { function get_locally (line 51) | async fn get_locally + Send>( function put_to_storage (line 58) | fn put_to_storage<'a, REv: From + Send>( function announce_fetched_new_item (line 70) | async fn announce_fetched_new_item( FILE: node/src/components/fetcher/fetcher_impls/block_execution_results_or_chunk_fetcher.rs constant SAFE_TO_RESPOND_TO_ALL (line 13) | const SAFE_TO_RESPOND_TO_ALL: bool = true; function item_handles (line 15) | fn item_handles( function metrics (line 24) | fn metrics(&mut self) -> &Metrics { function peer_timeout (line 28) | fn peer_timeout(&self) -> Duration { function get_locally (line 32) | async fn get_locally + Send>( function put_to_storage (line 41) | fn put_to_storage<'a, REv>( function announce_fetched_new_item (line 49) | async fn announce_fetched_new_item( FILE: node/src/components/fetcher/fetcher_impls/block_fetcher.rs type Id (line 22) | type Id = BlockHash; type ValidationError (line 23) | type ValidationError = BlockValidationError; type ValidationMetadata (line 24) | type ValidationMetadata = EmptyValidationMetadata; constant TAG (line 26) | const TAG: Tag = Tag::Block; method fetch_id (line 28) | fn fetch_id(&self) -> Self::Id { method validate (line 32) | fn validate(&self, _metadata: &EmptyValidationMetadata) -> Result<(), Se... constant SAFE_TO_RESPOND_TO_ALL (line 39) | const SAFE_TO_RESPOND_TO_ALL: bool = false; function item_handles (line 41) | fn item_handles(&mut self) -> &mut HashMap &Metrics { function peer_timeout (line 49) | fn peer_timeout(&self) -> Duration { function get_locally (line 53) | async fn get_locally + From + Send>( function announce_fetched_new_item (line 72) | async fn announce_fetched_new_item Self::Id { method validate (line 28) | fn validate(&self, _metadata: &EmptyValidationMetadata) -> Result<(), Se... constant SAFE_TO_RESPOND_TO_ALL (line 37) | const SAFE_TO_RESPOND_TO_ALL: bool = true; function item_handles (line 39) | fn item_handles( function metrics (line 45) | fn metrics(&mut self) -> &Metrics { function peer_timeout (line 49) | fn peer_timeout(&self) -> Duration { function get_locally (line 53) | async fn get_locally + Send>( function put_to_storage (line 64) | fn put_to_storage<'a, REv: From + Send>( function announce_fetched_new_item (line 76) | async fn announce_fetched_new_item( FILE: node/src/components/fetcher/fetcher_impls/finality_signature_fetcher.rs type Id (line 22) | type Id = Box; type ValidationError (line 23) | type ValidationError = crypto::Error; type ValidationMetadata (line 24) | type ValidationMetadata = EmptyValidationMetadata; constant TAG (line 26) | const TAG: Tag = Tag::FinalitySignature; method fetch_id (line 28) | fn fetch_id(&self) -> Self::Id { method validate (line 36) | fn validate(&self, _metadata: &EmptyValidationMetadata) -> Result<(), Se... constant SAFE_TO_RESPOND_TO_ALL (line 43) | const SAFE_TO_RESPOND_TO_ALL: bool = true; function item_handles (line 45) | fn item_handles( function metrics (line 52) | fn metrics(&mut self) -> &Metrics { function peer_timeout (line 56) | fn peer_timeout(&self) -> Duration { function get_locally (line 60) | async fn get_locally + From + Send>( function announce_fetched_new_item (line 81) | async fn announce_fetched_new_item( FILE: node/src/components/fetcher/fetcher_impls/legacy_deploy_fetcher.rs constant SAFE_TO_RESPOND_TO_ALL (line 16) | const SAFE_TO_RESPOND_TO_ALL: bool = true; function item_handles (line 18) | fn item_handles( function metrics (line 24) | fn metrics(&mut self) -> &Metrics { function peer_timeout (line 28) | fn peer_timeout(&self) -> Duration { function get_locally (line 32) | async fn get_locally + Send>( function put_to_storage (line 39) | fn put_to_storage<'a, REv: From + Send>( function announce_fetched_new_item (line 51) | async fn announce_fetched_new_item( FILE: node/src/components/fetcher/fetcher_impls/sync_leap_fetcher.rs constant SAFE_TO_RESPOND_TO_ALL (line 17) | const SAFE_TO_RESPOND_TO_ALL: bool = false; function item_handles (line 19) | fn item_handles( function metrics (line 25) | fn metrics(&mut self) -> &Metrics { function peer_timeout (line 29) | fn peer_timeout(&self) -> Duration { function get_locally (line 33) | async fn get_locally( function put_to_storage (line 41) | fn put_to_storage<'a, REv: From + Send>( function announce_fetched_new_item (line 62) | async fn announce_fetched_new_item( FILE: node/src/components/fetcher/fetcher_impls/transaction_fetcher.rs type Id (line 18) | type Id = TransactionId; type ValidationError (line 19) | type ValidationError = InvalidTransaction; type ValidationMetadata (line 20) | type ValidationMetadata = EmptyValidationMetadata; constant TAG (line 22) | const TAG: Tag = Tag::Transaction; method fetch_id (line 24) | fn fetch_id(&self) -> Self::Id { method validate (line 28) | fn validate(&self, _metadata: &EmptyValidationMetadata) -> Result<(), Se... constant SAFE_TO_RESPOND_TO_ALL (line 35) | const SAFE_TO_RESPOND_TO_ALL: bool = true; function item_handles (line 37) | fn item_handles( function metrics (line 43) | fn metrics(&mut self) -> &Metrics { function peer_timeout (line 47) | fn peer_timeout(&self) -> Duration { function get_locally (line 51) | async fn get_locally + Send>( function put_to_storage (line 58) | fn put_to_storage<'a, REv: From + Send>( function announce_fetched_new_item (line 80) | async fn announce_fetched_new_item( FILE: node/src/components/fetcher/fetcher_impls/trie_or_chunk_fetcher.rs constant SAFE_TO_RESPOND_TO_ALL (line 16) | const SAFE_TO_RESPOND_TO_ALL: bool = true; function item_handles (line 18) | fn item_handles( function metrics (line 24) | fn metrics(&mut self) -> &Metrics { function peer_timeout (line 28) | fn peer_timeout(&self) -> Duration { function get_locally (line 32) | async fn get_locally + Send>( function put_to_storage (line 65) | fn put_to_storage<'a, REv>( function announce_fetched_new_item (line 73) | async fn announce_fetched_new_item( FILE: node/src/components/fetcher/item_fetcher.rs type StoringState (line 27) | pub(super) enum StoringState<'a, T> { type ItemFetcher (line 33) | pub(super) trait ItemFetcher { constant SAFE_TO_RESPOND_TO_ALL (line 39) | const SAFE_TO_RESPOND_TO_ALL: bool; method item_handles (line 41) | fn item_handles(&mut self) -> &mut HashMap &Metrics; method peer_timeout (line 45) | fn peer_timeout(&self) -> Duration; method fetch (line 50) | fn fetch( method get_locally (line 74) | async fn get_locally(effect_builder: EffectBuilder, id: T::I... method failed_to_get_locally (line 82) | fn failed_to_get_locally( method got_from_peer (line 140) | fn got_from_peer( method respond_to_all (line 185) | fn respond_to_all(&mut self, id: T::Id, fetched_data: FetchedData) ... method send_response_from_peer (line 197) | fn send_response_from_peer( method put_to_storage (line 265) | fn put_to_storage<'a, REv>( method announce_fetched_new_item (line 272) | async fn announce_fetched_new_item( method signal (line 282) | fn signal( FILE: node/src/components/fetcher/item_handle.rs type ItemHandle (line 6) | pub(crate) struct ItemHandle function new (line 15) | pub(super) fn new( function validation_metadata (line 25) | pub(super) fn validation_metadata(&self) -> &T::ValidationMetadata { function push_responder (line 29) | pub(super) fn push_responder(&mut self, responder: FetchResponder) { function pop_front_responder (line 33) | pub(super) fn pop_front_responder(&mut self) -> Option> { function take_responders (line 40) | pub(super) fn take_responders(self) -> Vec> { function has_no_responders (line 44) | pub(super) fn has_no_responders(&self) -> bool { FILE: node/src/components/fetcher/metrics.rs type Metrics (line 6) | pub(crate) struct Metrics { method new (line 20) | pub(super) fn new(name: &str, registry: &Registry) -> Result Self { type Event (line 84) | enum Event { method fmt (line 146) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { method is_control (line 152) | fn is_control(&self) -> bool { method try_into_control (line 156) | fn try_into_control(self) -> Option { type Reactor (line 164) | struct Reactor { method handle_net_response (line 316) | fn handle_net_response( type Event (line 172) | type Event = Event; type Config (line 173) | type Config = FetcherTestConfig; type Error (line 174) | type Error = Error; method dispatch_event (line 176) | fn dispatch_event( method new (line 277) | fn new( method node_id (line 378) | fn node_id(&self) -> NodeId { function announce_transaction_received (line 383) | fn announce_transaction_received( type FetchedTransactionResult (line 391) | type FetchedTransactionResult = Arc function new (line 62) | pub(crate) fn new( function handle_item_received (line 83) | fn handle_item_received( function gossip (line 120) | fn gossip( function gossiped_to (line 141) | fn gossiped_to( function check_gossip_timeout (line 191) | fn check_gossip_timeout( function check_get_from_peer_timeout (line 224) | fn check_get_from_peer_timeout( function handle_gossip (line 268) | fn handle_gossip( function handle_gossip_response (line 363) | fn handle_gossip_response( function got_from_storage (line 435) | fn got_from_storage( function failed_to_get_from_storage (line 448) | fn failed_to_get_from_storage( function handle_get_item_request (line 468) | fn handle_get_item_request( function handle_item_received_from_peer (line 496) | fn handle_item_received_from_peer( function check_item_received_timeout (line 529) | fn check_item_received_timeout( function update_gossip_table_metrics (line 544) | fn update_gossip_table_metrics(&self) { type Event (line 564) | type Event = Event; function handle_event (line 566) | fn handle_event( function name (line 651) | fn name(&self) -> &str { type Event (line 666) | type Event = Event; function handle_event (line 668) | fn handle_event( function name (line 747) | fn name(&self) -> &str { method fmt (line 755) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { constant IS_DYNAMIC (line 772) | const IS_DYNAMIC: bool = true; constant STATIC_HEAP_SIZE (line 774) | const STATIC_HEAP_SIZE: usize = 0; method estimate_heap_size (line 777) | fn estimate_heap_size(&self) -> usize { FILE: node/src/components/gossiper/config.rs constant DEFAULT_INFECTION_TARGET (line 15) | const DEFAULT_INFECTION_TARGET: u8 = 3; constant DEFAULT_SATURATION_LIMIT_PERCENT (line 16) | const DEFAULT_SATURATION_LIMIT_PERCENT: u8 = 80; constant MAX_SATURATION_LIMIT_PERCENT (line 17) | pub(super) const MAX_SATURATION_LIMIT_PERCENT: u8 = 99; constant DEFAULT_FINISHED_ENTRY_DURATION (line 18) | pub(super) const DEFAULT_FINISHED_ENTRY_DURATION: &str = "60sec"; constant DEFAULT_GOSSIP_REQUEST_TIMEOUT (line 19) | const DEFAULT_GOSSIP_REQUEST_TIMEOUT: &str = "10sec"; constant DEFAULT_GET_REMAINDER_TIMEOUT (line 20) | const DEFAULT_GET_REMAINDER_TIMEOUT: &str = "60sec"; constant DEFAULT_VALIDATE_AND_STORE_TIMEOUT (line 21) | const DEFAULT_VALIDATE_AND_STORE_TIMEOUT: &str = "60sec"; constant SMALL_TIMEOUTS_FINISHED_ENTRY_DURATION (line 23) | const SMALL_TIMEOUTS_FINISHED_ENTRY_DURATION: &str = "2sec"; constant SMALL_TIMEOUTS_GOSSIP_REQUEST_TIMEOUT (line 25) | const SMALL_TIMEOUTS_GOSSIP_REQUEST_TIMEOUT: &str = "1sec"; constant SMALL_TIMEOUTS_GET_REMAINDER_TIMEOUT (line 27) | const SMALL_TIMEOUTS_GET_REMAINDER_TIMEOUT: &str = "1sec"; constant SMALL_TIMEOUTS_VALIDATE_AND_STORE_TIMEOUT (line 29) | const SMALL_TIMEOUTS_VALIDATE_AND_STORE_TIMEOUT: &str = "1sec"; type Config (line 33) | pub struct Config { method new (line 63) | pub(crate) fn new( method new_with_small_timeouts (line 85) | pub(crate) fn new_with_small_timeouts() -> Self { method infection_target (line 101) | pub(crate) fn infection_target(&self) -> u8 { method saturation_limit_percent (line 105) | pub(crate) fn saturation_limit_percent(&self) -> u8 { method finished_entry_duration (line 109) | pub(crate) fn finished_entry_duration(&self) -> TimeDiff { method gossip_request_timeout (line 113) | pub(crate) fn gossip_request_timeout(&self) -> TimeDiff { method get_remainder_timeout (line 117) | pub(crate) fn get_remainder_timeout(&self) -> TimeDiff { method validate_and_store_timeout (line 121) | pub(crate) fn validate_and_store_timeout(&self) -> TimeDiff { method default (line 127) | fn default() -> Self { function deserialize_saturation_limit_percent (line 141) | fn deserialize_saturation_limit_percent<'de, D>(deserializer: D) -> Resu... function invalid_config_should_fail (line 165) | fn invalid_config_should_fail() { FILE: node/src/components/gossiper/error.rs type Error (line 7) | pub(crate) enum Error { FILE: node/src/components/gossiper/event.rs type Event (line 20) | pub(crate) enum Event { method fmt (line 64) | fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result { FILE: node/src/components/gossiper/gossip_item.rs type GossipItem (line 11) | pub(crate) trait GossipItem: constant ID_IS_COMPLETE_ITEM (line 18) | const ID_IS_COMPLETE_ITEM: bool; constant REQUIRES_GOSSIP_RECEIVED_ANNOUNCEMENT (line 20) | const REQUIRES_GOSSIP_RECEIVED_ANNOUNCEMENT: bool; method gossip_id (line 23) | fn gossip_id(&self) -> Self::Id; method gossip_target (line 26) | fn gossip_target(&self) -> GossipTarget; type LargeGossipItem (line 29) | pub(crate) trait LargeGossipItem: GossipItem {} type SmallGossipItem (line 31) | pub(crate) trait SmallGossipItem: GossipItem { method id_as_item (line 33) | fn id_as_item(id: &Self::Id) -> &Self; FILE: node/src/components/gossiper/gossip_table.rs type GossipAction (line 21) | pub(super) enum GossipAction { method fmt (line 40) | fn fmt(&self, formatter: &mut Formatter) -> Result<(), fmt::Error> { type ShouldGossip (line 56) | pub(super) struct ShouldGossip { method fmt (line 68) | fn fmt(&self, formatter: &mut Formatter) -> Result<(), fmt::Error> { type State (line 90) | pub(super) struct State { method held_by_us (line 106) | fn held_by_us(&self) -> bool { method is_finished (line 111) | fn is_finished(&self, infection_target: usize, attempted_to_infect_lim... method action (line 117) | fn action( type Timeouts (line 157) | pub(super) struct Timeouts { function new (line 162) | fn new() -> Self { function push (line 166) | fn push(&mut self, timeout: Instant, data_id: T) { function purge (line 170) | fn purge(&mut self, now: &Instant) -> impl Iterator + '_ { type GossipTable (line 188) | pub(super) struct GossipTable { function items_current (line 206) | pub(super) fn items_current(&self) -> usize { function items_finished (line 211) | pub(super) fn items_finished(&self) -> usize { function new (line 218) | pub(super) fn new(config: Config) -> Self { function new_data_id (line 240) | pub(super) fn new_data_id(&mut self, data_id: &T, holder: NodeId) -> Gos... function new_complete_data (line 279) | pub(super) fn new_complete_data( function register_infection_attempt (line 316) | pub(super) fn register_infection_attempt<'a>( function we_infected (line 332) | pub(super) fn we_infected(&mut self, data_id: &T, peer: NodeId) -> Gossi... function already_infected (line 343) | pub(super) fn already_infected(&mut self, data_id: &T, peer: NodeId) -> ... function infected (line 348) | fn infected(&mut self, data_id: &T, peer: NodeId, by_us: bool) -> Gossip... function reduce_in_flight_count (line 376) | pub(super) fn reduce_in_flight_count(&mut self, data_id: &T, reduce_by: ... function check_timeout (line 401) | pub(super) fn check_timeout(&mut self, data_id: &T, peer: NodeId) -> Gos... function remove_holder_if_unresponsive (line 431) | pub(super) fn remove_holder_if_unresponsive( function force_finish (line 464) | pub(super) fn force_finish(&mut self, data_id: &T) -> bool { function finish_if_not_held_by_us (line 477) | pub(super) fn finish_if_not_held_by_us(&mut self, data_id: &T) -> bool { function has_entry (line 490) | pub(super) fn has_entry(&self, data_id: &T) -> bool { function update_current (line 498) | fn update_current( function insert_to_finished (line 519) | fn insert_to_finished(&mut self, data_id: &T) { function purge_finished (line 526) | fn purge_finished(&mut self) { function is_empty (line 535) | pub(super) fn is_empty(&self) -> bool { constant EXPECTED_DEFAULT_INFECTION_TARGET (line 551) | const EXPECTED_DEFAULT_INFECTION_TARGET: usize = 3; constant EXPECTED_DEFAULT_ATTEMPTED_TO_INFECT_LIMIT (line 552) | const EXPECTED_DEFAULT_ATTEMPTED_TO_INFECT_LIMIT: usize = 15; function random_node_ids (line 554) | fn random_node_ids(rng: &mut TestRng) -> Vec { function check_holders (line 560) | fn check_holders(expected: &[NodeId], gossip_table: &GossipTable, d... function new_data_id (line 575) | fn new_data_id() { function should_noop_if_we_dont_hold_data_and_get_gossip_response (line 636) | fn should_noop_if_we_dont_hold_data_and_get_gossip_response() { function new_complete_data (line 654) | fn new_complete_data() { function should_terminate_via_infection_limit (line 728) | fn should_terminate_via_infection_limit() { function should_not_terminate_via_incoming_gossip (line 768) | fn should_not_terminate_via_incoming_gossip() { function should_terminate_via_checking_timeout (line 807) | fn should_terminate_via_checking_timeout() { function should_terminate_via_reducing_in_flight_count (line 839) | fn should_terminate_via_reducing_in_flight_count() { function should_terminate_via_saturation (line 864) | fn should_terminate_via_saturation() { function should_not_terminate_below_infection_limit_and_saturation (line 907) | fn should_not_terminate_below_infection_limit_and_saturation() { function check_timeout_should_detect_holder (line 946) | fn check_timeout_should_detect_holder() { function check_timeout_should_panic_for_data_we_dont_hold (line 982) | fn check_timeout_should_panic_for_data_we_dont_hold() { function should_remove_holder_if_unresponsive (line 994) | fn should_remove_holder_if_unresponsive() { function should_not_remove_holder_if_responsive (line 1024) | fn should_not_remove_holder_if_responsive() { function should_force_finish (line 1044) | fn should_force_finish() { function should_purge (line 1062) | fn should_purge() { function timeouts_purge_in_order (line 1097) | fn timeouts_purge_in_order() { function timeouts_depends_on_binary_search_by_implementation (line 1115) | fn timeouts_depends_on_binary_search_by_implementation() { FILE: node/src/components/gossiper/item_provider.rs type ItemProvider (line 7) | pub(super) trait ItemProvider { method is_stored (line 8) | async fn is_stored + Send>( method get_from_storage (line 13) | async fn get_from_storage + Send>( FILE: node/src/components/gossiper/message.rs type Message (line 14) | pub(crate) enum Message { method fmt (line 32) | fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result { method largest_specimen (line 62) | fn largest_specimen(estimator: &E, cache: &mut Cache) ... FILE: node/src/components/gossiper/metrics.rs type Metrics (line 7) | pub(super) struct Metrics { method new (line 24) | pub fn new(name: &str, registry: &Registry) -> Result( function get_from_storage (line 24) | async fn get_from_storage( FILE: node/src/components/gossiper/provider_impls/block_provider.rs type Id (line 12) | type Id = BlockHash; constant ID_IS_COMPLETE_ITEM (line 14) | const ID_IS_COMPLETE_ITEM: bool = false; constant REQUIRES_GOSSIP_RECEIVED_ANNOUNCEMENT (line 15) | const REQUIRES_GOSSIP_RECEIVED_ANNOUNCEMENT: bool = true; method gossip_id (line 17) | fn gossip_id(&self) -> Self::Id { method gossip_target (line 21) | fn gossip_target(&self) -> GossipTarget { function is_stored (line 30) | async fn is_stored + Send>( function get_from_storage (line 37) | async fn get_from_storage + Send>( FILE: node/src/components/gossiper/provider_impls/finality_signature_provider.rs type Id (line 11) | type Id = Box; constant ID_IS_COMPLETE_ITEM (line 13) | const ID_IS_COMPLETE_ITEM: bool = false; constant REQUIRES_GOSSIP_RECEIVED_ANNOUNCEMENT (line 14) | const REQUIRES_GOSSIP_RECEIVED_ANNOUNCEMENT: bool = true; method gossip_id (line 16) | fn gossip_id(&self) -> Self::Id { method gossip_target (line 24) | fn gossip_target(&self) -> GossipTarget { function is_stored (line 35) | async fn is_stored + Send>( function get_from_storage (line 42) | async fn get_from_storage + Send>( FILE: node/src/components/gossiper/provider_impls/transaction_provider.rs type Id (line 11) | type Id = TransactionId; constant ID_IS_COMPLETE_ITEM (line 13) | const ID_IS_COMPLETE_ITEM: bool = false; constant REQUIRES_GOSSIP_RECEIVED_ANNOUNCEMENT (line 14) | const REQUIRES_GOSSIP_RECEIVED_ANNOUNCEMENT: bool = false; method gossip_id (line 16) | fn gossip_id(&self) -> Self::Id { method gossip_target (line 20) | fn gossip_target(&self) -> GossipTarget { function is_stored (line 29) | async fn is_stored + Send>( function get_from_storage (line 36) | async fn get_from_storage + Send>( FILE: node/src/components/gossiper/tests.rs constant RECENT_ERA_COUNT (line 57) | const RECENT_ERA_COUNT: u64 = 5; constant MAX_TTL (line 58) | const MAX_TTL: TimeDiff = TimeDiff::from_seconds(86400); constant EXPECTED_GOSSIP_TARGET (line 59) | const EXPECTED_GOSSIP_TARGET: GossipTarget = GossipTarget::All; type Event (line 64) | enum Event { method from (line 98) | fn from(request: NetworkRequest>) -> Self { method from (line 106) | fn from(_: T) -> Self { method is_control (line 88) | fn is_control(&self) -> bool { method try_into_control (line 92) | fn try_into_control(self) -> Option { type Unhandled (line 103) | trait Unhandled {} type Error (line 127) | enum Error { type Reactor (line 132) | struct Reactor { type Event (line 147) | type Event = Event; type Config (line 148) | type Config = Config; type Error (line 149) | type Error = Error; method new (line 151) | fn new( method dispatch_event (line 195) | fn dispatch_event( method drop (line 141) | fn drop(&mut self) { method node_id (line 330) | fn node_id(&self) -> NodeId { function announce_transaction_received (line 335) | fn announce_transaction_received( function run_gossip (line 344) | async fn run_gossip(rng: &mut TestRng, network_size: usize, txn_count: u... function should_gossip (line 396) | async fn should_gossip() { function should_get_from_alternate_source (line 410) | async fn should_get_from_alternate_source() { function should_timeout_gossip_response (line 486) | async fn should_timeout_gossip_response() { function should_timeout_new_item_from_peer (line 554) | async fn should_timeout_new_item_from_peer() { function should_not_gossip_old_stored_item_again (line 623) | async fn should_not_gossip_old_stored_item_again() { type Unexpected (line 687) | enum Unexpected { function should_ignore_unexpected_message (line 693) | async fn should_ignore_unexpected_message(message_type: Unexpected) { function should_ignore_unexpected_response_message (line 754) | async fn should_ignore_unexpected_response_message() { function should_ignore_unexpected_get_item_message (line 759) | async fn should_ignore_unexpected_get_item_message() { function should_ignore_unexpected_item_message (line 764) | async fn should_ignore_unexpected_item_message() { FILE: node/src/components/in_memory_network.rs constant COMPONENT_NAME (line 305) | const COMPONENT_NAME: &str = "in_memory_network"; type Network (line 308) | type Network

= Arc(NetworkRequest

); function from (line 315) | fn from(req: NetworkRequest

) -> Self { method fmt (line 322) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type NetworkController (line 336) | pub(crate) struct NetworkController

{ function new (line 346) | fn new() -> Self { function create_active (line 358) | pub(crate) fn create_active() { function remove_active (line 370) | pub(crate) fn remove_active() { function create_node (line 389) | pub(crate) fn create_node( function remove_node (line 413) | pub(crate) fn remove_node(node_id: &NodeId) { function create_node_local (line 431) | pub(crate) fn create_node_local( type InMemoryNetwork (line 445) | pub(crate) struct InMemoryNetwork

{ function new (line 460) | pub(crate) fn new(event_queue: EventQueueHandle, rng: &mut Nod... function new_with_data (line 468) | fn new_with_data( function node_id (line 492) | pub(crate) fn node_id(&self) -> NodeId { function send (line 502) | fn send( type Event (line 529) | type Event = Event

; function handle_event (line 531) | fn handle_event( function name (line 599) | fn name(&self) -> &str { function receiver_task (line 604) | async fn receiver_task( FILE: node/src/components/metrics.rs constant COMPONENT_NAME (line 36) | const COMPONENT_NAME: &str = "metrics"; type Metrics (line 40) | pub(crate) struct Metrics { type Event (line 47) | type Event = MetricsRequest; method handle_event (line 49) | fn handle_event( method name (line 75) | fn name(&self) -> &str { method new (line 82) | pub(crate) fn new(registry: Registry) -> Self { FILE: node/src/components/network.rs constant COMPONENT_NAME (line 125) | const COMPONENT_NAME: &str = "network"; constant RECONNECTION_ATTEMPTS (line 129) | const RECONNECTION_ATTEMPTS: u8 = 8; constant BASE_RECONNECTION_TIMEOUT (line 134) | const BASE_RECONNECTION_TIMEOUT: Duration = Duration::from_secs(1); constant OUTGOING_MANAGER_SWEEP_INTERVAL (line 137) | const OUTGOING_MANAGER_SWEEP_INTERVAL: Duration = Duration::from_secs(1); constant PING_INTERVAL (line 140) | const PING_INTERVAL: Duration = Duration::from_secs(30); constant PING_TIMEOUT (line 148) | const PING_TIMEOUT: Duration = Duration::from_secs(6); constant PING_RETRIES (line 151) | const PING_RETRIES: u16 = 5; type OutgoingHandle (line 154) | pub(crate) struct OutgoingHandle

{ method fmt (line 161) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type Network (line 167) | pub(crate) struct Network type ChannelManagement (line 208) | struct ChannelManagement { function new (line 244) | pub(crate) fn new>( function initialize (line 311) | fn initialize(&mut self, effect_builder: EffectBuilder) -> Result &ChannelManagement { function broadcast_message_to_validators (line 419) | fn broadcast_message_to_validators(&self, msg: Arc>, era_id: ... function gossip_message (line 443) | fn gossip_message( function send_message (line 489) | fn send_message( function handle_incoming_connection (line 516) | fn handle_incoming_connection( function handle_incoming_closed (line 628) | fn handle_incoming_closed( function is_blockable_offense_for_outgoing (line 654) | fn is_blockable_offense_for_outgoing( function handle_outgoing_connection (line 704) | fn handle_outgoing_connection( function handle_network_request (line 804) | fn handle_network_request( function handle_outgoing_dropped (line 861) | fn handle_outgoing_dropped( function process_dial_requests (line 882) | fn process_dial_requests(&mut self, requests: T) -> Effects> function handle_incoming_message (line 920) | fn handle_incoming_message( function connection_completed (line 965) | fn connection_completed(&self, peer_id: NodeId) { function update_syncing_nodes_set (line 972) | fn update_syncing_nodes_set(&mut self, peer_id: NodeId, is_syncing: bool) { function peers (line 984) | pub(crate) fn peers(&self) -> BTreeMap { function fully_connected_peers_random (line 1006) | pub(crate) fn fully_connected_peers_random( function fully_connected_validators_random (line 1018) | pub(crate) fn fully_connected_validators_random( function has_sufficient_fully_connected_peers (line 1034) | pub(crate) fn has_sufficient_fully_connected_peers(&self) -> bool { function node_id (line 1044) | pub(crate) fn node_id(&self) -> NodeId { constant MAX_METRICS_DROP_ATTEMPTS (line 1050) | const MAX_METRICS_DROP_ATTEMPTS: usize = 25; constant DROP_RETRY_DELAY (line 1053) | const DROP_RETRY_DELAY: Duration = Duration::from_millis(100); function finalize (line 1061) | fn finalize(mut self) -> BoxFuture<'static, ()> { function choose_gossip_peers (line 1095) | fn choose_gossip_peers( type Event (line 1143) | type Event = Event

; function name (line 1145) | fn name(&self) -> &str { function handle_event (line 1149) | fn handle_event( function state (line 1330) | fn state(&self) -> &ComponentState { function set_state (line 1334) | fn set_state(&mut self, new_state: ComponentState) { type Transport (line 1346) | type Transport = SslStream; type FullTransport (line 1349) | pub(crate) type FullTransport

= tokio_serde::Framed< type FramedTransport (line 1356) | pub(crate) type FramedTransport = tokio_util::codec::Framed( function framed_transport (line 1378) | fn framed_transport(transport: Transport, maximum_net_message_size: u32)... method fmt (line 1391) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { constant VALIDATOR_COUNT (line 1412) | const VALIDATOR_COUNT: usize = 10; constant NON_VALIDATOR_COUNT (line 1413) | const NON_VALIDATOR_COUNT: usize = 20; type Fixture (line 1417) | struct Fixture { method new (line 1424) | fn new(rng: &mut TestRng) -> Self { method is_validator_in_era (line 1446) | fn is_validator_in_era(&self) -> impl Fn(EraId, &NodeId) -> bool + '_ { method num_validators (line 1450) | fn num_validators<'a>(&self, input: impl Iterator) ... method num_non_validators (line 1456) | fn num_non_validators<'a>(&self, input: impl Iterator(&self, item: &T) -> io::Result, item: &Arc>) -> Result, src: &BytesMut) -> Result) -> std::fmt::Result { method default (line 57) | fn default() -> Self { FILE: node/src/components/network/blocklist.rs type BlocklistJustification (line 18) | pub(crate) enum BlocklistJustification { method fmt (line 69) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { FILE: node/src/components/network/chain_info.rs type ChainInfo (line 21) | pub(crate) struct ChainInfo { method create_for_testing (line 36) | pub fn create_for_testing() -> Self { method create_handshake (line 47) | pub(super) fn create_handshake

( method from (line 67) | fn from(chainspec: &Chainspec) -> Self { FILE: node/src/components/network/config.rs constant DEFAULT_BIND_ADDRESS (line 14) | const DEFAULT_BIND_ADDRESS: &str = "0.0.0.0:34553"; constant DEFAULT_PUBLIC_ADDRESS (line 19) | const DEFAULT_PUBLIC_ADDRESS: &str = "127.0.0.1:0"; constant DEFAULT_MIN_PEERS_FOR_INITIALIZATION (line 21) | const DEFAULT_MIN_PEERS_FOR_INITIALIZATION: u16 = 1; constant DEFAULT_GOSSIP_INTERVAL (line 24) | const DEFAULT_GOSSIP_INTERVAL: TimeDiff = TimeDiff::from_seconds(30); constant DEFAULT_INITIAL_GOSSIP_DELAY (line 27) | const DEFAULT_INITIAL_GOSSIP_DELAY: TimeDiff = TimeDiff::from_seconds(5); constant DEFAULT_MAX_ADDR_PENDING_TIME (line 30) | const DEFAULT_MAX_ADDR_PENDING_TIME: TimeDiff = TimeDiff::from_seconds(60); constant DEFAULT_HANDSHAKE_TIMEOUT (line 33) | const DEFAULT_HANDSHAKE_TIMEOUT: TimeDiff = TimeDiff::from_seconds(20); method default (line 36) | fn default() -> Self { type IdentityConfig (line 65) | pub struct IdentityConfig { type Config (line 78) | pub struct Config { method new (line 140) | pub(super) fn new(bind_address: SocketAddr) -> Self { method default_local_net_first_node (line 151) | pub(crate) fn default_local_net_first_node(bind_port: u16) -> Self { method default_local_net (line 156) | pub(crate) fn default_local_net(known_peer_port: u16) -> Self { constant DEFAULT_TEST_GOSSIP_INTERVAL (line 130) | const DEFAULT_TEST_GOSSIP_INTERVAL: TimeDiff = TimeDiff::from_seconds(1); constant TEST_BIND_INTERFACE (line 134) | const TEST_BIND_INTERFACE: Ipv4Addr = Ipv4Addr::LOCALHOST; FILE: node/src/components/network/counting_format.rs type TraceId (line 35) | struct TraceId([u8; 8]); method fmt (line 38) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type CountingFormat (line 50) | pub struct CountingFormat { function new (line 69) | pub(super) fn new( type Error (line 91) | type Error = F::Error; function serialize (line 94) | fn serialize(self: Pin<&mut Self>, item: &Arc>) -> Result, src: &BytesMut) -> Result TraceId { method as_bytes (line 264) | pub(crate) fn as_bytes(&self) -> &[u8] { method from_connection (line 270) | pub(crate) fn from_connection(ssl: &SslRef, our_id: NodeId, their_id: ... method random (line 276) | pub(super) fn random(rng: &mut TestRng) -> Self { type TlsRandomData (line 163) | pub(super) struct TlsRandomData { method collect (line 179) | fn collect(ssl: &SslRef) -> Self { method random (line 212) | fn random(rng: &mut TestRng) -> Self { constant ZERO_RANDOMNESS (line 171) | const ZERO_RANDOMNESS: [u8; 12] = [0; 12]; type Role (line 288) | pub(super) enum Role { method in_flag (line 298) | fn in_flag(self) -> u8 { method out_flag (line 304) | fn out_flag(self) -> u8 { function trace_id_has_16_character (line 322) | fn trace_id_has_16_character() { function can_create_deterministic_trace_id (line 331) | fn can_create_deterministic_trace_id() { FILE: node/src/components/network/error.rs type Result (line 15) | pub(super) type Result = result::Result; type Error (line 19) | pub enum Error { constant IS_DYNAMIC (line 78) | const IS_DYNAMIC: bool = false; constant STATIC_HEAP_SIZE (line 80) | const STATIC_HEAP_SIZE: usize = 0; method estimate_heap_size (line 82) | fn estimate_heap_size(&self) -> usize { constant IS_DYNAMIC (line 88) | const IS_DYNAMIC: bool = false; constant STATIC_HEAP_SIZE (line 90) | const STATIC_HEAP_SIZE: usize = 0; method estimate_heap_size (line 92) | fn estimate_heap_size(&self) -> usize { type ConnectionError (line 99) | pub enum ConnectionError { type IoError (line 206) | pub enum IoError FILE: node/src/components/network/event.rs type Event (line 30) | pub(crate) enum Event

{ function from (line 100) | fn from(req: NetworkRequest) -> Self { function from (line 106) | fn from(req: NetworkInfoRequest) -> Self { method fmt (line 112) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type IncomingConnection (line 150) | pub(crate) enum IncomingConnection

{ method fmt (line 186) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type OutgoingConnection (line 222) | pub(crate) enum OutgoingConnection

{ method fmt (line 258) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { FILE: node/src/components/network/gossiped_address.rs type GossipedAddress (line 18) | pub struct GossipedAddress(SocketAddr); method new (line 21) | pub(super) fn new(address: SocketAddr) -> Self { method fmt (line 27) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { constant ID_IS_COMPLETE_ITEM (line 33) | const ID_IS_COMPLETE_ITEM: bool = true; constant REQUIRES_GOSSIP_RECEIVED_ANNOUNCEMENT (line 34) | const REQUIRES_GOSSIP_RECEIVED_ANNOUNCEMENT: bool = false; type Id (line 36) | type Id = GossipedAddress; method gossip_id (line 38) | fn gossip_id(&self) -> Self::Id { method gossip_target (line 42) | fn gossip_target(&self) -> GossipTarget { method id_as_item (line 48) | fn id_as_item(id: &Self::Id) -> &Self { method from (line 54) | fn from(gossiped_address: GossipedAddress) -> Self { method largest_specimen (line 65) | fn largest_specimen(estimator: &E, cache: &mut Cache) ... FILE: node/src/components/network/health.rs type ConnectionHealth (line 22) | pub(crate) struct ConnectionHealth { method new (line 112) | pub(crate) fn new(connected_since: Instant) -> Self { method calc_rrt (line 125) | pub(crate) fn calc_rrt(&self) -> Option { method update_health (line 137) | pub(crate) fn update_health( method record_pong (line 207) | pub(crate) fn record_pong(&mut self, cfg: &HealthConfig, tt: TaggedTim... type HealthConfig (line 37) | pub(crate) struct HealthConfig { method test_config (line 280) | pub(crate) fn test_config() -> Self { type TaggedTimestamp (line 52) | pub(crate) struct TaggedTimestamp { method new (line 61) | pub(crate) fn new(rng: &mut R, timestamp: Instant) -> Self { method from_parts (line 69) | pub(crate) fn from_parts(timestamp: Instant, nonce: Nonce) -> Self { method timestamp (line 74) | pub(crate) fn timestamp(&self) -> Instant { method nonce (line 79) | pub(crate) fn nonce(self) -> Nonce { type Nonce (line 95) | pub(crate) struct Nonce(u64); method fmt (line 98) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { function sample (line 105) | fn sample(&self, rng: &mut R) -> Nonce { type HealthCheckOutcome (line 251) | pub(crate) enum HealthCheckOutcome { method largest_specimen (line 261) | fn largest_specimen(estimator: &E, cache: &mut Cache) ... type Fixtures (line 291) | struct Fixtures { function fixtures (line 299) | fn fixtures() -> Fixtures { function scenario_no_response (line 315) | fn scenario_no_response() { function pings_use_different_nonces (line 396) | fn pings_use_different_nonces() { function scenario_all_working (line 440) | fn scenario_all_working() { function scenario_intermittent_failures (line 511) | fn scenario_intermittent_failures() { function ignores_unwanted_pongs (line 598) | fn ignores_unwanted_pongs() { function ensure_excessive_pongs_result_in_ban (line 632) | fn ensure_excessive_pongs_result_in_ban() { function time_reversal_does_not_crash_but_is_ignored (line 673) | fn time_reversal_does_not_crash_but_is_ignored() { function handles_missed_health_checks (line 712) | fn handles_missed_health_checks() { function ignores_time_travel (line 768) | fn ignores_time_travel() { function duplicate_pong_immediately_terminates (line 805) | fn duplicate_pong_immediately_terminates() { FILE: node/src/components/network/identity.rs type Error (line 20) | pub(crate) enum Error { type Identity (line 33) | pub(crate) struct Identity { method new (line 40) | fn new(secret_key: PKey, tls_certificate: TlsCert, network_ca... method from_config (line 48) | pub(crate) fn from_config(config: WithDir) -> Result Result Result { method from (line 83) | fn from(identity: &Identity) -> Self { FILE: node/src/components/network/insights.rs type NetworkInsights (line 31) | pub(crate) struct NetworkInsights { method collect_from_component (line 272) | pub(super) fn collect_from_component(net: &Network) ->... type OutgoingInsight (line 56) | struct OutgoingInsight { type OutgoingStateInsight (line 65) | enum OutgoingStateInsight { method from_outgoing_state (line 102) | fn from_outgoing_state

( method fmt_time_relative (line 153) | fn fmt_time_relative(&self, now: SystemTime, f: &mut Formatter<'_>) ->... function time_delta (line 91) | fn time_delta(now: SystemTime, then: SystemTime) -> impl Display { type ConnectionSymmetryInsight (line 216) | pub(super) enum ConnectionSymmetryInsight { method from_connection_symmetry (line 232) | fn from_connection_symmetry(anchor: &TimeAnchor, sym: &ConnectionSymme... method fmt_time_relative (line 251) | fn fmt_time_relative(&self, now: SystemTime, f: &mut Formatter<'_>) ->... method fmt (line 332) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { FILE: node/src/components/network/limiter.rs constant STORED_BUFFER_SECS (line 21) | const STORED_BUFFER_SECS: Duration = Duration::from_secs(2); type Limiter (line 30) | pub(super) struct Limiter { method new (line 41) | pub(super) fn new( method create_handle (line 53) | pub(super) fn create_handle( method remove_connected_validator (line 80) | pub(super) fn remove_connected_validator(&self, peer_id: &NodeId) { method is_validator_in_era (line 93) | pub(super) fn is_validator_in_era(&self, era: EraId, peer_id: &NodeId)... method debug_inspect_unspent_allowance (line 114) | pub(super) fn debug_inspect_unspent_allowance(&self) -> Option { method debug_inspect_validators (line 120) | pub(super) fn debug_inspect_validators( method validator_keys_for_era (line 130) | fn validator_keys_for_era(&self, era: &EraId) -> HashSet { type LimiterData (line 140) | struct LimiterData { method new (line 167) | fn new(resources_per_second: u32, wait_time_sec: Counter) -> Self { type ResourceData (line 154) | struct ResourceData { type PeerClass (line 181) | enum PeerClass { type LimiterHandle (line 190) | pub(super) struct LimiterHandle { method request_allowance (line 201) | pub(super) async fn request_allowance(&self, amount: u32) { type ConsumerId (line 285) | struct ConsumerId { constant SHORT_TIME (line 305) | const SHORT_TIME: Duration = Duration::from_millis(250); function new_wait_time_sec (line 308) | fn new_wait_time_sec() -> Counter { function unlimited_limiter_is_unlimited (line 314) | async fn unlimited_limiter_is_unlimited() { function active_validator_is_unlimited (line 339) | async fn active_validator_is_unlimited() { function inactive_validator_limited (line 357) | async fn inactive_validator_limited() { function nonvalidators_parallel_limited (line 398) | async fn nonvalidators_parallel_limited() { function inactive_validators_unlimited_when_no_validators_known (line 450) | async fn inactive_validators_unlimited_when_no_validators_known() { function throttling_of_non_validators_does_not_affect_validators (line 502) | async fn throttling_of_non_validators_does_not_affect_validators() { FILE: node/src/components/network/message.rs constant NETWORK_MESSAGE_LIMIT_SAFETY_MARGIN (line 36) | const NETWORK_MESSAGE_LIMIT_SAFETY_MARGIN: usize = 256; function default_protocol_version (line 40) | fn default_protocol_version() -> ProtocolVersion { type Message (line 47) | pub(crate) enum Message

{ function classify (line 82) | pub(super) fn classify(&self) -> MessageKind { function is_low_priority (line 93) | pub(super) fn is_low_priority(&self) -> bool { function payload_incoming_resource_estimate (line 102) | pub(super) fn payload_incoming_resource_estimate(&self, weights: &Estima... function payload_is_unsafe_for_syncing_nodes (line 115) | pub(super) fn payload_is_unsafe_for_syncing_nodes(&self) -> bool { function try_into_demand (line 125) | pub(super) fn try_into_demand( type NodeKeyPair (line 147) | pub(super) struct NodeKeyPair { method new (line 154) | pub(super) fn new(key_pair: (Arc, PublicKey)) -> Self { method sign (line 162) | fn sign>(&self, value: T) -> Signature { type ConsensusCertificate (line 173) | pub(crate) struct ConsensusCertificate { method create (line 180) | pub(super) fn create(connection_id: ConnectionId, key_pair: &NodeKeyPa... method validate (line 189) | pub(super) fn validate(self, connection_id: ConnectionId) -> Result Self { method deserialize (line 261) | fn deserialize>(deserializer: D) -> Result) -> fmt::Result { type HumanReadableCertificate (line 230) | struct HumanReadableCertificate { type NonHumanReadableCertificate (line 236) | struct NonHumanReadableCertificate { method serialize (line 242) | fn serialize(&self, serializer: S) -> Result) -> fmt::Result { type MessageKind (line 324) | pub(crate) enum MessageKind { method fmt (line 348) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type Payload (line 368) | pub(crate) trait Payload: method message_kind (line 372) | fn message_kind(&self) -> MessageKind; method incoming_resource_estimate (line 375) | fn incoming_resource_estimate(&self, _weights: &EstimatorWeights) -> u32; method is_low_priority (line 378) | fn is_low_priority(&self) -> bool { method is_unsafe_for_syncing_peers (line 385) | fn is_unsafe_for_syncing_peers(&self) -> bool; type FromIncoming (line 389) | pub(crate) trait FromIncoming

{ method from_incoming (line 391) | fn from_incoming(sender: NodeId, payload: P) -> Self; method try_demand_from_incoming (line 397) | fn try_demand_from_incoming( type EstimatorWeights (line 415) | pub struct EstimatorWeights { method largest_specimen (line 457) | fn largest_specimen(estimator: &E, cache: &mut Cache) ... method largest_specimen (line 488) | fn largest_specimen(estimator: &E, cache: &mut Cache) ... type NetworkMessageEstimator (line 499) | pub(crate) struct NetworkMessageEstimator<'a> { function new (line 506) | pub(crate) fn new(chainspec: &'a Chainspec) -> Self { function get_parameter (line 511) | fn get_parameter(&self, name: &'static str) -> Option { function serialize_net_message (line 603) | fn serialize_net_message(data: &T) -> Vec function generate_largest_message (line 613) | fn generate_largest_message(chainspec: &Chainspec) -> Message(&self, val: &T) -> usize { method parameter (line 645) | fn parameter>(&self, name: &'static str) -> T { type V1_0_0_Message (line 683) | pub(crate) enum V1_0_0_Message { constant V1_0_0_HANDSHAKE (line 696) | const V1_0_0_HANDSHAKE: &[u8] = &[ constant V1_4_2_HANDSHAKE (line 704) | const V1_4_2_HANDSHAKE: &[u8] = &[ constant V1_4_3_HANDSHAKE (line 722) | const V1_4_3_HANDSHAKE: &[u8] = &[ constant BROKEN_V1_0_0_HANDSHAKE (line 751) | const BROKEN_V1_0_0_HANDSHAKE: &[u8] = &[ constant TEST_SOCKET_ADDR (line 756) | const TEST_SOCKET_ADDR: SocketAddr = SocketAddr::V4(std::net::SocketAddr... function serialize_message (line 762) | fn serialize_message(msg: &M) -> Vec { function deserialize_message (line 773) | fn deserialize_message(serialized: &[u8]) -> M { function roundtrip_message (line 782) | fn roundtrip_message(from: &F) -> T function v1_0_0_handshake_is_as_expected (line 794) | fn v1_0_0_handshake_is_as_expected() { function v1_0_0_can_decode_current_handshake (line 822) | fn v1_0_0_can_decode_current_handshake() { function current_handshake_decodes_from_v1_0_0 (line 850) | fn current_handshake_decodes_from_v1_0_0() { function current_handshake_decodes_from_historic_v1_0_0 (line 879) | fn current_handshake_decodes_from_historic_v1_0_0() { function current_handshake_decodes_from_historic_v1_4_2 (line 904) | fn current_handshake_decodes_from_historic_v1_4_2() { function current_handshake_decodes_from_historic_v1_4_3 (line 948) | fn current_handshake_decodes_from_historic_v1_4_3() { function roundtrip_certificate (line 991) | fn roundtrip_certificate(use_human_readable: bool) { function serde_json_roundtrip_certificate (line 1006) | fn serde_json_roundtrip_certificate() { function bincode_roundtrip_certificate (line 1011) | fn bincode_roundtrip_certificate() { function assert_the_largest_specimen_type_and_size (line 1016) | fn assert_the_largest_specimen_type_and_size() { FILE: node/src/components/network/message_pack_format.rs type MessagePackFormat (line 15) | pub struct MessagePackFormat; type Error (line 23) | type Error = io::Error; method serialize (line 26) | fn serialize(self: Pin<&mut Self>, item: &M) -> Result, src: &BytesMut) -> Result Result, kind: MessageKind,... method record_payload_in (line 510) | pub(crate) fn record_payload_in(this: &Weak, kind: MessageKind, ... method create_outgoing_metrics (line 560) | pub(super) fn create_outgoing_metrics(&self) -> OutgoingMetrics { method record_trie_request_start (line 571) | pub(super) fn record_trie_request_start(this: &Weak) { method record_trie_request_end (line 580) | pub(super) fn record_trie_request_end(this: &Weak) { method drop (line 590) | fn drop(&mut self) { FILE: node/src/components/network/outgoing.rs type Outgoing (line 115) | pub struct Outgoing type OutgoingState (line 128) | pub(crate) enum OutgoingState method fmt (line 180) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type DialOutcome (line 199) | pub enum DialOutcome { function addr (line 229) | fn addr(&self) -> SocketAddr { type DialRequest (line 241) | pub(crate) enum DialRequest { method fmt (line 270) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type OutgoingConfig (line 287) | pub struct OutgoingConfig { method calc_backoff (line 306) | fn calc_backoff(&self, failed_attempts: u8) -> Duration { type OutgoingManager (line 315) | pub struct OutgoingManager type OutgoingMetrics (line 336) | pub(super) struct OutgoingMetrics { method default (line 352) | fn default() -> Self { function new (line 381) | pub(super) fn new(config: OutgoingConfig) -> Self { function with_metrics (line 386) | pub(super) fn with_metrics(config: OutgoingConfig, metrics: OutgoingMetr... function metrics (line 397) | fn metrics(&self) -> &OutgoingMetrics { function make_span (line 404) | fn make_span(addr: SocketAddr, outgoing: Option<&Outgoing>) ... function change_outgoing_state (line 440) | fn change_outgoing_state( function get_addr (line 521) | pub(crate) fn get_addr(&self, peer_id: NodeId) -> Option { function get_route (line 529) | pub(crate) fn get_route(&self, peer_id: NodeId) -> Option<&H> { function connected_peers (line 540) | pub(crate) fn connected_peers(&'_ self) -> impl Iterator ... function learn_addr (line 550) | pub(crate) fn learn_addr( function block_addr (line 581) | pub(crate) fn block_addr( function is_blocked (line 646) | pub(crate) fn is_blocked(&self, addr: SocketAddr) -> bool { function redeem_addr (line 658) | pub(crate) fn redeem_addr(&mut self, addr: SocketAddr, now: Instant) -> ... function record_pong (line 686) | pub(super) fn record_pong(&mut self, peer_id: NodeId, pong: TaggedTimest... function perform_housekeeping (line 710) | pub(super) fn perform_housekeeping( function handle_dial_outcome (line 888) | pub(crate) fn handle_dial_outcome( function handle_connection_drop (line 977) | pub(crate) fn handle_connection_drop( function calculate_block_until (line 1019) | fn calculate_block_until(&self, now: Instant, rng: &mut R) -> In... type TestDialerError (line 1053) | struct TestDialerError { function test_config (line 1058) | fn test_config() -> OutgoingConfig { function config_variant_unblock (line 1070) | fn config_variant_unblock() -> OutgoingConfig { function dials (line 1082) | fn dials<'a, H, T>(expected: SocketAddr, requests: T) -> bool function disconnects (line 1100) | fn disconnects<'a, H, T>(expected: H, requests: T) -> bool function successful_lifecycle (line 1117) | fn successful_lifecycle() { function connections_forgotten_after_too_many_tries (line 1209) | fn connections_forgotten_after_too_many_tries() { function blocking_works (line 1364) | fn blocking_works() { function loopback_handled_correctly (line 1504) | fn loopback_handled_correctly() { function connected_peers_works (line 1554) | fn connected_peers_works() { function sweeping_works (line 1594) | fn sweeping_works() { function blocking_not_overridden_by_racing_failed_connections (line 1657) | fn blocking_not_overridden_by_racing_failed_connections() { function emits_and_accepts_pings (line 1705) | fn emits_and_accepts_pings() { function indicates_issue_when_excessive_pongs_are_encountered (line 1824) | fn indicates_issue_when_excessive_pongs_are_encountered() { function unblocking_in_variant_block_time (line 1857) | fn unblocking_in_variant_block_time() { FILE: node/src/components/network/symmetry.rs type ConnectionSymmetry (line 13) | pub(super) enum ConnectionSymmetry { method add_incoming (line 40) | pub(super) fn add_incoming(&mut self, peer_addr: SocketAddr, since: In... method remove_incoming (line 83) | pub(super) fn remove_incoming(&mut self, peer_addr: SocketAddr, now: I... method mark_outgoing (line 131) | pub(super) fn mark_outgoing(&mut self, now: Instant) -> bool { method unmark_outgoing (line 160) | pub(super) fn unmark_outgoing(&mut self, now: Instant) -> bool { method incoming_addrs (line 190) | pub(super) fn incoming_addrs(&self) -> Option<&BTreeSet> { function should_be_reaped (line 212) | fn should_be_reaped( function symmetry_successful_lifecycles (line 226) | fn symmetry_successful_lifecycles() { function symmetry_lifecycle_reaps_incoming_only (line 251) | fn symmetry_lifecycle_reaps_incoming_only() { function symmetry_lifecycle_reaps_outgoing_only (line 281) | fn symmetry_lifecycle_reaps_outgoing_only() { FILE: node/src/components/network/tasks.rs type MessageQueueItem (line 72) | pub(super) type MessageQueueItem

= (Arc>, Option( function connect_outgoing (line 132) | pub(super) async fn connect_outgoing( type NetworkContext (line 202) | pub(crate) struct NetworkContext function new (line 244) | pub(super) fn new( function initialize (line 287) | pub(super) fn initialize( function our_id (line 297) | pub(super) fn our_id(&self) -> NodeId { function public_addr (line 302) | pub(super) fn public_addr(&self) -> Option { function chain_info (line 307) | pub(super) fn chain_info(&self) -> &ChainInfo { function validate_peer_cert (line 311) | pub(crate) fn validate_peer_cert(&self, peer_cert: X509) -> Result Option<&Arc> { function is_syncing (line 322) | pub(crate) fn is_syncing(&self) -> &AtomicBool { function handle_incoming (line 330) | async fn handle_incoming( function server_setup_tls (line 411) | pub(super) async fn server_setup_tls( function io_timeout (line 444) | async fn io_timeout(duration: Duration, future: F) -> Result(duration: Duration, future: F) -> Resul... function negotiate_handshake (line 473) | async fn negotiate_handshake( function server (line 594) | pub(super) async fn server( function message_reader (line 669) | pub(super) async fn message_reader( function message_sender (line 808) | pub(super) async fn message_sender

( FILE: node/src/components/network/tests.rs type Event (line 54) | enum Event { method from (line 88) | fn from(request: NetworkRequest>) -... method from (line 102) | fn from(_request: NetworkRequest) -> Self { method from (line 108) | fn from(_request: StorageRequest) -> Self { method from (line 114) | fn from(_request: ChainspecRawBytesRequest) -> Self { method from (line 120) | fn from(_request: ContractRuntimeRequest) -> Self { method from_incoming (line 126) | fn from_incoming(sender: NodeId, payload: Message) -> Self { method is_control (line 74) | fn is_control(&self) -> bool { method try_into_control (line 78) | fn try_into_control(self) -> Option { function from (line 94) | fn from(request: NetworkRequest) -> NetworkEvent { method fmt (line 137) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type Message (line 143) | enum Message { method fmt (line 149) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { method message_kind (line 156) | fn message_kind(&self) -> MessageKind { method incoming_resource_estimate (line 162) | fn incoming_resource_estimate(&self, _weights: &super::EstimatorWeights)... method is_unsafe_for_syncing_peers (line 166) | fn is_unsafe_for_syncing_peers(&self) -> bool { type TestReactor (line 175) | struct TestReactor { type Event (line 181) | type Event = Event; type Config (line 182) | type Config = Config; type Error (line 183) | type Error = anyhow::Error; method dispatch_event (line 185) | fn dispatch_event( method new (line 244) | fn new( method node_id (line 285) | fn node_id(&self) -> NodeId { method finalize (line 291) | fn finalize(self) -> futures::future::BoxFuture<'static, ()> { function network_is_complete (line 297) | fn network_is_complete( function network_started (line 331) | fn network_started(net: &TestingNetwork) -> bool { function run_two_node_network_five_times (line 342) | async fn run_two_node_network_five_times() { function bind_to_real_network_interface (line 406) | async fn bind_to_real_network_interface() { function check_varying_size_network_connects (line 445) | async fn check_varying_size_network_connects() { function ensure_peers_metric_is_correct (line 497) | async fn ensure_peers_metric_is_correct() { FILE: node/src/components/rest_server.rs constant COMPONENT_NAME (line 66) | const COMPONENT_NAME: &str = "rest_server"; type ReactorEventT (line 69) | pub(crate) trait ReactorEventT: type InnerRestServer (line 101) | pub(crate) struct InnerRestServer { type RestServer (line 117) | pub(crate) struct RestServer { method new (line 128) | pub(crate) fn new(config: Config, api_version: ProtocolVersion, networ... type Event (line 143) | type Event = Event; method handle_event (line 145) | fn handle_event( method name (line 258) | fn name(&self) -> &str { method state (line 267) | fn state(&self) -> &ComponentState { method set_state (line 271) | fn set_state(&mut self, new_state: ComponentState) { type Error (line 286) | type Error = ListeningError; type ComponentEvent (line 287) | type ComponentEvent = Event; method listen (line 289) | fn listen( method finalize (line 334) | fn finalize(self) -> BoxFuture<'static, ()> { function json_schema_status_check (line 364) | fn json_schema_status_check() { function json_schema_validator_changes_check (line 374) | fn json_schema_validator_changes_check() { function json_schema_chainspec_bytes_check (line 386) | fn json_schema_chainspec_bytes_check() { FILE: node/src/components/rest_server/config.rs constant DEFAULT_ADDRESS (line 7) | const DEFAULT_ADDRESS: &str = "0.0.0.0:0"; constant DEFAULT_QPS_LIMIT (line 9) | const DEFAULT_QPS_LIMIT: u64 = 100; constant DEFAULT_CORS_ORIGIN (line 11) | const DEFAULT_CORS_ORIGIN: &str = ""; type Config (line 17) | pub struct Config { method new (line 33) | pub fn new() -> Self { method default (line 44) | fn default() -> Self { FILE: node/src/components/rest_server/docs.rs constant DOCS_EXAMPLE_PROTOCOL_VERSION (line 6) | pub(crate) const DOCS_EXAMPLE_PROTOCOL_VERSION: ProtocolVersion = type DocExample (line 10) | pub trait DocExample { method doc_example (line 12) | fn doc_example() -> &'static Self; method doc_example (line 16) | fn doc_example() -> &'static Self { method doc_example (line 37) | fn doc_example() -> &'static Self { FILE: node/src/components/rest_server/event.rs constant _REST_EVENT_SIZE (line 8) | const _REST_EVENT_SIZE: usize = size_of::(); type Event (line 12) | pub(crate) enum Event { method fmt (line 23) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { FILE: node/src/components/rest_server/filters.rs constant STATUS_API_PATH (line 23) | pub const STATUS_API_PATH: &str = "status"; constant METRICS_API_PATH (line 26) | pub const METRICS_API_PATH: &str = "metrics"; constant VALIDATOR_CHANGES_API_PATH (line 29) | pub const VALIDATOR_CHANGES_API_PATH: &str = "validator-changes"; constant CHAINSPEC_API_PATH (line 32) | pub const CHAINSPEC_API_PATH: &str = "chainspec"; function create_status_filter (line 34) | pub(super) fn create_status_filter( function create_metrics_filter (line 54) | pub(super) fn create_metrics_filter( function create_validator_changes_filter (line 82) | pub(super) fn create_validator_changes_filter( function create_chainspec_filter (line 99) | pub(super) fn create_chainspec_filter( FILE: node/src/components/rest_server/http_server.rs function run (line 19) | pub(super) async fn run( function run_with_cors (line 69) | pub(super) async fn run_with_cors( FILE: node/src/components/rest_server/info.rs type JsonValidatorStatusChange (line 13) | pub struct JsonValidatorStatusChange { method new (line 21) | pub(crate) fn new(era_id: EraId, validator_change: ValidatorChange) ->... type JsonValidatorChanges (line 32) | pub struct JsonValidatorChanges { method new (line 40) | pub(crate) fn new( type GetValidatorChangesResult (line 54) | pub struct GetValidatorChangesResult { method new (line 63) | pub(crate) fn new(api_version: ProtocolVersion, changes: ConsensusVali... type GetChainspecResult (line 87) | pub struct GetChainspecResult { method new (line 96) | pub(crate) fn new(api_version: ProtocolVersion, chainspec_bytes: Chain... FILE: node/src/components/shutdown_trigger.rs type CompletedBlockInfo (line 27) | pub(crate) struct CompletedBlockInfo { method new (line 34) | pub(crate) fn new(height: u64, era: EraId, is_switch_block: bool) -> S... type Event (line 45) | pub(crate) enum Event { method fmt (line 54) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { constant COMPONENT_NAME (line 70) | const COMPONENT_NAME: &str = "shutdown_trigger"; type ShutdownTrigger (line 74) | pub(crate) struct ShutdownTrigger { method new (line 86) | pub(crate) fn new() -> Self { type Event (line 98) | type Event = Event; method handle_event (line 100) | fn handle_event( method name (line 179) | fn name(&self) -> &str { FILE: node/src/components/storage.rs constant COMPONENT_NAME (line 109) | const COMPONENT_NAME: &str = "storage"; constant COMPLETED_BLOCKS_STORAGE_KEY (line 112) | const COMPLETED_BLOCKS_STORAGE_KEY: &[u8] = b"completed_blocks_disjoint_... constant FORCE_RESYNC_FILE_NAME (line 114) | const FORCE_RESYNC_FILE_NAME: &str = "force_resync"; constant STORAGE_FILES (line 116) | const STORAGE_FILES: [&str; 5] = [ type Storage (line 126) | pub struct Storage { type Event (line 187) | type Event = Event; method handle_event (line 189) | fn handle_event( method name (line 233) | fn name(&self) -> &str { method new (line 241) | pub fn new( method root_path (line 391) | pub(crate) fn root_path(&self) -> &Path { method handle_net_request_incoming (line 395) | fn handle_net_request_incoming( method handle_storage_request (line 553) | fn handle_storage_request( method read_block_header_by_height (line 1022) | pub(crate) fn read_block_header_by_height( method get_switch_block_by_era_id (line 1035) | pub(crate) fn get_switch_block_by_era_id( method get_transactions_with_finalized_approvals (line 1045) | fn get_transactions_with_finalized_approvals<'a>( method put_executed_block (line 1059) | pub(crate) fn put_executed_block( method handle_mark_block_completed_request (line 1157) | fn handle_mark_block_completed_request( method mark_block_complete (line 1170) | fn mark_block_complete(&mut self, block_height: u64) -> Result Result<(), FatalStorageError> { method highest_complete_block_height (line 1204) | pub(crate) fn highest_complete_block_height(&self) -> Option { method read_blocks_for_replay_protection (line 1214) | pub(crate) fn read_blocks_for_replay_protection( method make_executable_block (line 1252) | pub(crate) fn make_executable_block( method read_block_and_finalized_transactions_by_hash (line 1308) | fn read_block_and_finalized_transactions_by_hash( method get_highest_complete_block_header (line 1346) | fn get_highest_complete_block_header(&self) -> Result Result, Fata... method get_single_block_header_restricted (line 1417) | fn get_single_block_header_restricted( method get_trusted_ancestor_headers (line 1437) | fn get_trusted_ancestor_headers( method get_block_headers_with_signatures (line 1474) | fn get_block_headers_with_signatures( method store_finalized_approvals (line 1532) | fn store_finalized_approvals( method get_transfers (line 1571) | fn get_transfers( method get_legacy_deploy (line 1620) | fn get_legacy_deploy( method get_transaction_by_id (line 1649) | fn get_transaction_by_id( method get_transaction_with_finalized_approvals (line 1706) | fn get_transaction_with_finalized_approvals( method get_sync_leap (line 1723) | pub(crate) fn get_sync_leap( method update_pool_and_send (line 1806) | fn update_pool_and_send( method should_return_block (line 1834) | fn should_return_block( method get_available_block_range (line 1846) | pub(crate) fn get_available_block_range(&self) -> AvailableBlockRange { method get_highest_orphaned_block_header (line 1853) | pub(crate) fn get_highest_orphaned_block_header(&self) -> HighestOrpha... method read_highest_switch_block_headers (line 1876) | pub(crate) fn read_highest_switch_block_headers( method read_block_execution_results_or_chunk (line 1908) | fn read_block_execution_results_or_chunk( method get_default_block_signatures (line 1928) | fn get_default_block_signatures(&self, block: &Block) -> BlockSignatur... method update_chain_height_metrics (line 1941) | fn update_chain_height_metrics(&self) { method read_block_header_by_hash (line 1953) | pub(crate) fn read_block_header_by_hash( method get_execution_results (line 1962) | fn get_execution_results( method get_execution_results_with_transaction_headers (line 2000) | fn get_execution_results_with_transaction_headers( method get_block_utilization_score (line 2036) | fn get_block_utilization_score( method get_transaction_with_finalized_approvals_by_hash (line 2175) | pub(crate) fn get_transaction_with_finalized_approvals_by_hash( method read_execution_result (line 2192) | pub(crate) fn read_execution_result( method get_transaction_by_hash (line 2208) | pub(crate) fn get_transaction_by_hash( method read_block_by_hash (line 2219) | pub(crate) fn read_block_by_hash(&self, block_hash: BlockHash) -> Opti... method read_block_by_height (line 2227) | pub(crate) fn read_block_by_height(&self, height: u64) -> Option { method read_highest_block (line 2235) | pub(crate) fn read_highest_block(&self) -> Option { method read_highest_block_header (line 2243) | pub(crate) fn read_highest_block_header(&self) -> Option { method get_finality_signatures_for_block (line 2251) | pub(crate) fn get_finality_signatures_for_block( method read_switch_block_by_era_id (line 2266) | pub(crate) fn read_switch_block_by_era_id(&self, era_id: EraId) -> Opt... method read_block_with_signatures_by_hash (line 2274) | pub(crate) fn read_block_with_signatures_by_hash( method read_block_with_signatures_by_height (line 2309) | pub(crate) fn read_block_with_signatures_by_height( method read_highest_block_with_signatures (line 2330) | pub(crate) fn read_highest_block_with_signatures( method read_execution_info (line 2352) | pub(crate) fn read_execution_info( type HighestOrphanedBlockResult (line 158) | pub(crate) enum HighestOrphanedBlockResult { method fmt (line 165) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { function decode_item_id (line 2070) | fn decode_item_id(raw: &[u8]) -> Result function should_move_storage_files_to_network_subdir (line 2077) | fn should_move_storage_files_to_network_subdir( function move_storage_files_to_network_subdir (line 2110) | fn move_storage_files_to_network_subdir( function successful_transfers (line 2139) | fn successful_transfers(execution_result: &ExecutionResult) -> Vec (Self, TempDir) { method default (line 45) | fn default() -> Self { FILE: node/src/components/storage/disjoint_sequences.rs type InsertOutcome (line 13) | enum InsertOutcome { type Sequence (line 28) | pub(crate) struct Sequence { method new (line 39) | pub(super) fn new(a: u64, b: u64) -> Self { method single (line 45) | fn single(value: u64) -> Self { method try_insert (line 55) | fn try_insert(&mut self, value: u64) -> InsertOutcome { method high (line 72) | pub(crate) fn high(&self) -> u64 { method low (line 77) | pub(crate) fn low(&self) -> u64 { method from (line 83) | fn from(sequence: Sequence) -> Self { type DisjointSequences (line 103) | pub(super) struct DisjointSequences { method new (line 111) | pub(super) fn new(initial_sequence: Sequence) -> Self { method insert (line 125) | pub(super) fn insert(&mut self, value: u64) -> bool { method highest_sequence (line 189) | pub(super) fn highest_sequence(&self) -> Option<&Sequence> { method sequences (line 194) | pub(super) fn sequences(&self) -> &Vec { method truncate (line 203) | pub(super) fn truncate(&mut self, max_value: u64) { method extend (line 224) | fn extend>(&mut self, iter: T) { method contains (line 231) | fn contains(&self, value: u64) -> bool { method from (line 308) | fn from(mut input: Vec) -> Self { method from_bytes (line 240) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method to_bytes (line 250) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 257) | fn serialized_length(&self) -> usize { method write_bytes (line 262) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 270) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method from_vec (line 276) | fn from_vec(bytes: Vec) -> Result<(Self, Vec), bytesrepr::Error> { method to_bytes (line 284) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 289) | fn serialized_length(&self) -> usize { method into_bytes (line 293) | fn into_bytes(self) -> Result, bytesrepr::Error> method write_bytes (line 300) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method fmt (line 333) | fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result { function new_sequence (line 353) | fn new_sequence(a: u64, b: u64) -> Sequence { function assert_matches (line 359) | fn assert_matches(actual: &DisjointSequences, expected: &BTreeSet) { function should_insert_all_u8s_including_duplicates (line 370) | fn should_insert_all_u8s_including_duplicates() { function should_extend (line 386) | fn should_extend() { function should_insert_with_no_duplicates (line 401) | fn should_insert_with_no_duplicates() { function should_construct_from_random_set (line 425) | fn should_construct_from_random_set() { function should_get_highest_sequence (line 441) | fn should_get_highest_sequence() { function should_truncate (line 465) | fn should_truncate() { function roundtrip_to_bytes (line 551) | fn roundtrip_to_bytes() { FILE: node/src/components/storage/error.rs type FatalStorageError (line 20) | pub enum FatalStorageError { method from (line 169) | fn from(err: Box) -> Self { type GetRequestError (line 178) | pub(super) enum GetRequestError { FILE: node/src/components/storage/event.rs constant _STORAGE_EVENT_SIZE (line 12) | const _STORAGE_EVENT_SIZE: usize = size_of::(); type Event (line 18) | pub(crate) enum Event { method from (line 45) | fn from(incoming: NetRequestIncoming) -> Self { method from (line 52) | fn from(request: StorageRequest) -> Self { method from (line 59) | fn from(request: MakeBlockExecutableRequest) -> Self { method fmt (line 33) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { FILE: node/src/components/storage/metrics.rs constant CHAIN_HEIGHT_NAME (line 5) | const CHAIN_HEIGHT_NAME: &str = "chain_height"; constant CHAIN_HEIGHT_HELP (line 6) | const CHAIN_HEIGHT_HELP: &str = "highest complete block (DEPRECATED)"; constant HIGHEST_AVAILABLE_BLOCK_NAME (line 8) | const HIGHEST_AVAILABLE_BLOCK_NAME: &str = "highest_available_block_heig... constant HIGHEST_AVAILABLE_BLOCK_HELP (line 9) | const HIGHEST_AVAILABLE_BLOCK_HELP: &str = constant LOWEST_AVAILABLE_BLOCK_NAME (line 12) | const LOWEST_AVAILABLE_BLOCK_NAME: &str = "lowest_available_block_height"; constant LOWEST_AVAILABLE_BLOCK_HELP (line 13) | const LOWEST_AVAILABLE_BLOCK_HELP: &str = type Metrics (line 18) | pub struct Metrics { method new (line 28) | pub(super) fn new(registry: &Registry) -> Result { function new (line 42) | pub(super) fn new(garbage_collect_interval: u16) -> Self { constant IS_DYNAMIC (line 59) | const IS_DYNAMIC: bool = true; constant STATIC_HEAP_SIZE (line 61) | const STATIC_HEAP_SIZE: usize = 0; method estimate_heap_size (line 63) | fn estimate_heap_size(&self) -> usize { function put (line 88) | pub(super) fn put(&mut self, id: I, item: Weak<[u8]>) { function get (line 101) | pub(super) fn get(&self, id: &Q) -> Option> function num_entries (line 125) | fn num_entries(&self) -> usize { function can_load_and_store_items (line 131) | fn can_load_and_store_items() { function frees_memory_after_reference_loss (line 167) | fn frees_memory_after_reference_loss() { function garbage_is_collected (line 190) | fn garbage_is_collected() { FILE: node/src/components/storage/tests.rs constant RECENT_ERA_COUNT (line 54) | const RECENT_ERA_COUNT: u64 = 7; constant MAX_TTL (line 55) | const MAX_TTL: TimeDiff = TimeDiff::from_seconds(86400); function new_config (line 57) | fn new_config(harness: &ComponentHarness) -> Config { function block_headers_into_heights (line 72) | fn block_headers_into_heights(block_headers: &[BlockHeader]) -> Vec { function block_headers_with_signatures_into_heights (line 79) | fn block_headers_with_signatures_into_heights( function create_sync_leap_test_chain (line 88) | fn create_sync_leap_test_chain( function storage_fixture (line 187) | fn storage_fixture(harness: &ComponentHarness) -> Storage { function storage_fixture_from_parts (line 211) | fn storage_fixture_from_parts( function storage_fixture_with_force_resync (line 242) | fn storage_fixture_with_force_resync(cfg: &WithDir) -> Storage { function storage_fixture_with_hard_reset (line 265) | fn storage_fixture_with_hard_reset( function random_signatures (line 280) | fn random_signatures( function get_block (line 304) | fn get_block( function is_block_stored (line 320) | fn is_block_stored( function get_block_header_by_height (line 339) | fn get_block_header_by_height( function get_naive_transactions (line 360) | fn get_naive_transactions( function get_naive_transaction_and_execution_info (line 392) | fn get_naive_transaction_and_execution_info( function get_highest_complete_block (line 402) | fn get_highest_complete_block( function get_highest_complete_block_header (line 414) | fn get_highest_complete_block_header( function get_transactions_era_ids (line 426) | fn get_transactions_era_ids( function put_complete_block (line 443) | fn put_complete_block( function mark_block_complete (line 469) | fn mark_block_complete( function put_block (line 486) | fn put_block( function put_block_signatures (line 499) | fn put_block_signatures( function put_finality_signature (line 516) | fn put_finality_signature( function put_transaction (line 533) | fn put_transaction( function put_execution_results (line 551) | fn put_execution_results( function get_available_block_range (line 573) | fn get_available_block_range( function get_approvals_hashes (line 584) | fn get_approvals_hashes( function get_block_header (line 600) | fn get_block_header( function get_block_transfers (line 618) | fn get_block_transfers( function get_block_and_metadata_by_height (line 634) | fn get_block_and_metadata_by_height( function get_execution_results (line 652) | fn get_execution_results( function get_block_signature (line 668) | fn get_block_signature( function get_block_of_non_existing_block_returns_none (line 687) | fn get_block_of_non_existing_block_returns_none() { function read_block_by_height_with_available_block_range (line 699) | fn read_block_by_height_with_available_block_range() { function can_retrieve_block_by_height (line 745) | fn can_retrieve_block_by_height() { function different_block_at_height_is_fatal (line 902) | fn different_block_at_height_is_fatal() { function get_vec_of_non_existing_transaction_returns_nones (line 929) | fn get_vec_of_non_existing_transaction_returns_nones() { function can_retrieve_store_and_load_transactions (line 943) | fn can_retrieve_store_and_load_transactions() { function should_retrieve_transactions_era_ids (line 1030) | fn should_retrieve_transactions_era_ids() { function storing_and_loading_a_lot_of_transactions_does_not_exhaust_handles (line 1188) | fn storing_and_loading_a_lot_of_transactions_does_not_exhaust_handles() { function store_random_execution_results (line 1215) | fn store_random_execution_results() { function store_execution_results_twice_for_same_block_deploy_pair (line 1303) | fn store_execution_results_twice_for_same_block_deploy_pair() { function prepare_exec_result_with_transfer (line 1358) | fn prepare_exec_result_with_transfer( function store_identical_execution_results (line 1392) | fn store_identical_execution_results() { function should_provide_transfers_if_not_stored (line 1462) | fn should_provide_transfers_if_not_stored() { function should_provide_transfers_after_emptied (line 1492) | fn should_provide_transfers_after_emptied() { type StateData (line 1543) | struct StateData { function persist_blocks_txns_and_execution_info_across_instantiations (line 1573) | fn persist_blocks_txns_and_execution_info_across_instantiations() { function should_hard_reset (line 1639) | fn should_hard_reset() { function should_create_subdir_named_after_network (line 1781) | fn should_create_subdir_named_after_network() { function should_not_try_to_move_nonexistent_files (line 1807) | fn should_not_try_to_move_nonexistent_files() { function should_move_files_if_they_exist (line 1818) | fn should_move_files_if_they_exist() { function should_return_error_if_files_missing (line 1838) | fn should_return_error_if_files_missing() { function should_actually_move_specified_files (line 1857) | fn should_actually_move_specified_files() { function can_put_and_get_block (line 1895) | fn can_put_and_get_block() { function should_get_trusted_ancestor_headers (line 1935) | fn should_get_trusted_ancestor_headers() { function should_get_block_headers_with_signatures (line 1956) | fn should_get_block_headers_with_signatures() { function should_get_block_headers_with_signatures_when_no_sufficient_finality_in_most_recent_block (line 2001) | fn should_get_block_headers_with_signatures_when_no_sufficient_finality_... function should_get_sync_leap (line 2047) | fn should_get_sync_leap() { function sync_leap_block_headers_with_signatures_should_be_empty_when_asked_for_a_tip (line 2075) | fn sync_leap_block_headers_with_signatures_should_be_empty_when_asked_fo... function sync_leap_should_populate_trusted_ancestor_headers_if_tip_is_a_switch_block (line 2103) | fn sync_leap_should_populate_trusted_ancestor_headers_if_tip_is_a_switch... function should_respect_allowed_era_diff_in_get_sync_leap (line 2131) | fn should_respect_allowed_era_diff_in_get_sync_leap() { function should_restrict_returned_blocks (line 2146) | fn should_restrict_returned_blocks() { function should_get_block_header_by_height (line 2185) | fn should_get_block_header_by_height() { function check_force_resync_with_marker_file (line 2207) | fn check_force_resync_with_marker_file() { function assert_signatures (line 2287) | fn assert_signatures(storage: &Storage, block_hash: BlockHash, expected:... function store_and_purge_signatures (line 2297) | fn store_and_purge_signatures() { function copy_dir_recursive (line 2424) | fn copy_dir_recursive(src: impl AsRef, dest: impl AsRef) -> ... function can_retrieve_block_by_height_with_different_block_versions (line 2438) | fn can_retrieve_block_by_height_with_different_block_versions() { type Node1_5_2BlockInfo (line 2642) | struct Node1_5_2BlockInfo { type Node1_5_2StorageInfo (line 2652) | struct Node1_5_2StorageInfo { method from_file (line 2661) | fn from_file(path: impl AsRef) -> Result { function assert_block_exists_in_storage (line 2667) | fn assert_block_exists_in_storage( function assert_highest_block_in_storage (line 2779) | fn assert_highest_block_in_storage( function check_block_operations_with_node_1_5_2_storage (line 2838) | fn check_block_operations_with_node_1_5_2_storage() { FILE: node/src/components/storage/utils.rs function db_table_id_from_record_id (line 5) | pub(crate) fn db_table_id_from_record_id( FILE: node/src/components/sync_leaper.rs constant COMPONENT_NAME (line 39) | const COMPONENT_NAME: &str = "sync_leaper"; type PeerState (line 42) | pub(crate) enum PeerState { type RegisterLeapAttemptOutcome (line 50) | enum RegisterLeapAttemptOutcome { type Error (line 56) | enum Error { type SyncLeaper (line 76) | pub(crate) struct SyncLeaper { method new (line 84) | pub(crate) fn new( method leap_status (line 99) | pub(crate) fn leap_status(&mut self) -> LeapState { method purge (line 125) | pub(crate) fn purge(&mut self) { method register_leap_attempt (line 154) | fn register_leap_attempt( method fetch_received (line 200) | fn fetch_received( type Event (line 276) | type Event = Event; method handle_event (line 278) | fn handle_event( method name (line 329) | fn name(&self) -> &str { method peers (line 336) | fn peers(&self) -> Option> { FILE: node/src/components/sync_leaper/error.rs type LeapActivityError (line 10) | pub(crate) enum LeapActivityError { method fmt (line 17) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { FILE: node/src/components/sync_leaper/event.rs type Event (line 11) | pub(crate) enum Event { method fmt (line 23) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { FILE: node/src/components/sync_leaper/leap_activity.rs type LeapActivity (line 10) | pub(crate) struct LeapActivity { method new (line 17) | pub(crate) fn new( method status (line 29) | pub(super) fn status(&self) -> LeapState { method best_response (line 73) | fn best_response(&self) -> Result<(SyncLeap, Vec), LeapActivit... method leap_start (line 124) | pub(crate) fn leap_start(&self) -> Instant { method sync_leap_identifier (line 128) | pub(crate) fn sync_leap_identifier(&self) -> &SyncLeapIdentifier { method peers (line 132) | pub(crate) fn peers(&self) -> &HashMap { method peers_mut (line 136) | pub(crate) fn peers_mut(&mut self) -> &mut HashMap { method register_peer (line 141) | pub(crate) fn register_peer(&mut self, peer: NodeId) -> Option { function make_random_block_with_height (line 168) | fn make_random_block_with_height(rng: &mut TestRng, height: u64) -> Bloc... function make_sync_leap_with_trusted_block_header (line 176) | fn make_sync_leap_with_trusted_block_header(trusted_block_header: BlockH... function assert_peers (line 185) | fn assert_peers(expected_peers: I, leap_activity: &LeapActivity) function best_response_with_single_peer (line 199) | fn best_response_with_single_peer() { function best_response_with_multiple_peers (line 240) | fn best_response_with_multiple_peers() { function best_response_failed (line 366) | fn best_response_failed() { function leap_activity_status_failed (line 400) | fn leap_activity_status_failed() { function leap_activity_status_awaiting (line 428) | fn leap_activity_status_awaiting() { function leap_activity_status_received (line 449) | fn leap_activity_status_received() { function register_peer (line 480) | fn register_peer() { FILE: node/src/components/sync_leaper/leap_state.rs type LeapState (line 10) | pub(crate) enum LeapState { method in_flight (line 76) | pub(super) fn in_flight(&self) -> usize { method active (line 85) | pub(super) fn active(&self) -> bool { method fmt (line 30) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { function leap_state (line 100) | fn leap_state() { FILE: node/src/components/sync_leaper/metrics.rs constant SYNC_LEAP_DURATION_NAME (line 5) | const SYNC_LEAP_DURATION_NAME: &str = "sync_leap_duration_seconds"; constant SYNC_LEAP_DURATION_HELP (line 6) | const SYNC_LEAP_DURATION_HELP: &str = "duration (in sec) to perform a su... constant LINEAR_BUCKET_START (line 10) | const LINEAR_BUCKET_START: f64 = 1.0; constant LINEAR_BUCKET_WIDTH (line 11) | const LINEAR_BUCKET_WIDTH: f64 = 1.0; constant LINEAR_BUCKET_COUNT (line 12) | const LINEAR_BUCKET_COUNT: usize = 4; type Metrics (line 16) | pub(super) struct Metrics { method new (line 31) | pub fn new(registry: &Registry) -> Result { method drop (line 71) | fn drop(&mut self) { FILE: node/src/components/sync_leaper/tests.rs function make_test_sync_leap (line 17) | pub(crate) fn make_test_sync_leap(rng: &mut TestRng) -> SyncLeap { function make_sync_leaper (line 27) | fn make_sync_leaper(rng: &mut TestRng) -> SyncLeaper { function assert_peers (line 33) | fn assert_peers(expected: &[NodeId], actual: &Vec<(NodeId, PeerState)>) { function assert_peer (line 45) | fn assert_peer(sync_leaper: SyncLeaper, (expected_peer, expected_peer_st... function new_sync_leaper_has_no_activity (line 53) | fn new_sync_leaper_has_no_activity() { function register_leap_attempt_no_peers (line 62) | fn register_leap_attempt_no_peers() { function register_leap_attempt_reattempt_for_different_leap_identifier (line 76) | fn register_leap_attempt_reattempt_for_different_leap_identifier() { function register_leap_attempt_with_reattempt_for_the_same_leap_identifier (line 108) | fn register_leap_attempt_with_reattempt_for_the_same_leap_identifier() { function fetch_received_from_storage (line 177) | fn fetch_received_from_storage() { function fetch_received_identifier_mismatch (line 197) | fn fetch_received_identifier_mismatch() { function fetch_received_unexpected_response (line 221) | fn fetch_received_unexpected_response() { function fetch_received_from_unknown_peer (line 241) | fn fetch_received_from_unknown_peer() { function fetch_received_correctly (line 264) | fn fetch_received_correctly() { function fetch_received_peer_rejected (line 284) | fn fetch_received_peer_rejected() { function fetch_received_from_unknown_peer_rejected (line 306) | fn fetch_received_from_unknown_peer_rejected() { function fetch_received_other_error (line 331) | fn fetch_received_other_error() { function fetch_received_from_unknown_peer_other_error (line 353) | fn fetch_received_from_unknown_peer_other_error() { FILE: node/src/components/transaction_acceptor.rs constant COMPONENT_NAME (line 43) | const COMPONENT_NAME: &str = "transaction_acceptor"; constant ARG_TARGET (line 45) | const ARG_TARGET: &str = "target"; type ReactorEventT (line 48) | pub(crate) trait ReactorEventT: type TransactionAcceptor (line 76) | pub struct TransactionAcceptor { method new (line 86) | pub(crate) fn new( method accept (line 108) | fn accept( method handle_get_block_header_result (line 195) | fn handle_get_block_header_result( method handle_get_entity_result (line 232) | fn handle_get_entity_result( method handle_get_balance_result (line 276) | fn handle_get_balance_result( method verify_payment (line 318) | fn verify_payment( method verify_body (line 398) | fn verify_body( method verify_deploy_session (line 414) | fn verify_deploy_session( method verify_transaction_v1_body (line 520) | fn verify_transaction_v1_body( method handle_get_contract_result (line 605) | fn handle_get_contract_result( method handle_get_entry_point_result (line 687) | fn handle_get_entry_point_result( method handle_get_package_result (line 722) | fn handle_get_package_result( method resolve_entity_version_key (line 809) | fn resolve_entity_version_key( method validate_transaction_cryptography (line 841) | fn validate_transaction_cryptography( method reject_transaction (line 877) | fn reject_transaction( method reject_transaction_direct (line 900) | fn reject_transaction_direct( method handle_put_to_storage (line 926) | fn handle_put_to_storage( method handle_stored_finalized_approvals (line 970) | fn handle_stored_finalized_approvals( type Event (line 1002) | type Event = Event; method name (line 1004) | fn name(&self) -> &str { method handle_event (line 1008) | fn handle_event( function is_authorized_entity (line 1111) | fn is_authorized_entity( function deploy_payment_is_valid (line 1139) | fn deploy_payment_is_valid( FILE: node/src/components/transaction_acceptor/config.rs constant DEFAULT_TIMESTAMP_LEEWAY (line 8) | const DEFAULT_TIMESTAMP_LEEWAY: &str = "2sec"; type Config (line 12) | pub struct Config { method default (line 24) | fn default() -> Self { FILE: node/src/components/transaction_acceptor/error.rs type Error (line 14) | pub(crate) enum Error { method parameter_failure (line 58) | pub(super) fn parameter_failure(block_header: &BlockHeader, failure: P... method from (line 69) | fn from(err: Error) -> Self { type ParameterFailure (line 132) | pub(crate) enum ParameterFailure { type DeployParameterFailure (line 181) | pub(crate) enum DeployParameterFailure { FILE: node/src/components/transaction_acceptor/event.rs type EventMetadata (line 15) | pub(crate) struct EventMetadata { method new (line 24) | pub(crate) fn new( type Event (line 43) | pub(crate) enum Event { method fmt (line 111) | fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result { FILE: node/src/components/transaction_acceptor/metrics.rs constant TRANSACTION_ACCEPTED_NAME (line 7) | const TRANSACTION_ACCEPTED_NAME: &str = "transaction_acceptor_accepted_t... constant TRANSACTION_ACCEPTED_HELP (line 8) | const TRANSACTION_ACCEPTED_HELP: &str = constant TRANSACTION_REJECTED_NAME (line 10) | const TRANSACTION_REJECTED_NAME: &str = "transaction_acceptor_rejected_t... constant TRANSACTION_REJECTED_HELP (line 11) | const TRANSACTION_REJECTED_HELP: &str = constant EXPONENTIAL_BUCKET_START_MS (line 15) | const EXPONENTIAL_BUCKET_START_MS: f64 = 10.0; constant EXPONENTIAL_BUCKET_FACTOR (line 18) | const EXPONENTIAL_BUCKET_FACTOR: f64 = 2.0; constant EXPONENTIAL_BUCKET_COUNT (line 21) | const EXPONENTIAL_BUCKET_COUNT: usize = 10; type Metrics (line 24) | pub(super) struct Metrics { method new (line 31) | pub(super) fn new(registry: &Registry) -> Result Self { method from (line 104) | fn from(request: MarkBlockCompletedRequest) -> Self { method from (line 110) | fn from(control_announcement: ControlAnnouncement) -> Self { method is_control (line 116) | fn is_control(&self) -> bool { method try_into_control (line 120) | fn try_into_control(self) -> Option { method fmt (line 130) | fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result { type Error (line 153) | enum Error { type ContractScenario (line 159) | enum ContractScenario { type HashOrName (line 167) | enum HashOrName { type ContractVersionExistance (line 172) | enum ContractVersionExistance { type ContractPackageScenario (line 182) | enum ContractPackageScenario { type TxnType (line 190) | enum TxnType { type TestScenario (line 196) | enum TestScenario { method source (line 256) | fn source(&self, rng: &mut NodeRng) -> Source { method transaction (line 312) | fn transaction(&self, rng: &mut TestRng, admin: &SecretKey) -> Transac... method is_valid_transaction_case (line 866) | fn is_valid_transaction_case(&self) -> bool { method is_repeated_transaction_case (line 943) | fn is_repeated_transaction_case(&self) -> bool { method contract_scenario (line 951) | fn contract_scenario(&self) -> Option { method is_v2_casper_vm (line 963) | fn is_v2_casper_vm(&self) -> bool { function create_account (line 968) | fn create_account(account_hash: AccountHash, test_scenario: &TestScenari... type Reactor (line 991) | struct Reactor { type Event (line 999) | type Event = Event; type Config (line 1000) | type Config = TestScenario; type Error (line 1001) | type Error = Error; method dispatch_event (line 1003) | fn dispatch_event( method new (line 1303) | fn new( function put_block_to_storage_and_mark_complete (line 1345) | fn put_block_to_storage_and_mark_complete( function put_transaction_to_storage (line 1363) | fn put_transaction_to_storage( function schedule_accept_transaction (line 1380) | fn schedule_accept_transaction( function inject_balance_check_for_peer (line 1401) | fn inject_balance_check_for_peer( function run_transaction_acceptor_without_timeout (line 1439) | async fn run_transaction_acceptor_without_timeout( function run_transaction_acceptor (line 1798) | async fn run_transaction_acceptor(test_scenario: TestScenario) -> Result... function should_accept_valid_deploy_from_peer (line 1808) | async fn should_accept_valid_deploy_from_peer() { function should_accept_valid_transaction_v1_from_peer (line 1815) | async fn should_accept_valid_transaction_v1_from_peer() { function should_reject_invalid_deploy_from_peer (line 1822) | async fn should_reject_invalid_deploy_from_peer() { function should_reject_invalid_transaction_v1_from_peer (line 1834) | async fn should_reject_invalid_transaction_v1_from_peer() { function should_reject_zero_payment_transaction_v1_from_peer (line 1844) | async fn should_reject_zero_payment_transaction_v1_from_peer() { function should_accept_valid_deploy_from_peer_for_missing_account (line 1859) | async fn should_accept_valid_deploy_from_peer_for_missing_account() { function should_accept_valid_transaction_v1_from_peer_for_missing_account (line 1866) | async fn should_accept_valid_transaction_v1_from_peer_for_missing_accoun... function should_accept_valid_deploy_from_peer_for_account_with_invalid_associated_keys (line 1872) | async fn should_accept_valid_deploy_from_peer_for_account_with_invalid_a... function should_accept_valid_transaction_v1_from_peer_for_account_with_invalid_associated_keys (line 1881) | async fn should_accept_valid_transaction_v1_from_peer_for_account_with_i... function should_accept_valid_deploy_from_peer_for_account_with_insufficient_weight (line 1890) | async fn should_accept_valid_deploy_from_peer_for_account_with_insuffici... function should_accept_valid_transaction_v1_from_peer_for_account_with_insufficient_weight (line 1899) | async fn should_accept_valid_transaction_v1_from_peer_for_account_with_i... function should_accept_valid_deploy_from_client (line 1908) | async fn should_accept_valid_deploy_from_client() { function should_accept_valid_transaction_v1_from_client (line 1915) | async fn should_accept_valid_transaction_v1_from_client() { function should_reject_invalid_deploy_from_client (line 1922) | async fn should_reject_invalid_deploy_from_client() { function should_reject_invalid_transaction_v1_from_client (line 1934) | async fn should_reject_invalid_transaction_v1_from_client() { function should_reject_invalid_transaction_v1_zero_payment_from_client (line 1944) | async fn should_reject_invalid_transaction_v1_zero_payment_from_client() { function should_accept_slightly_future_dated_deploy_from_client (line 1958) | async fn should_accept_slightly_future_dated_deploy_from_client() { function should_accept_slightly_future_dated_transaction_v1_from_client (line 1967) | async fn should_accept_slightly_future_dated_transaction_v1_from_client() { function should_reject_future_dated_deploy_from_client (line 1976) | async fn should_reject_future_dated_deploy_from_client() { function should_reject_future_dated_transaction_v1_from_client (line 1990) | async fn should_reject_future_dated_transaction_v1_from_client() { function should_reject_valid_deploy_from_client_for_missing_account (line 2002) | async fn should_reject_valid_deploy_from_client_for_missing_account() { function should_reject_valid_transaction_v1_from_client_for_missing_account (line 2015) | async fn should_reject_valid_transaction_v1_from_client_for_missing_acco... function should_reject_valid_deploy_from_client_for_account_with_invalid_associated_keys (line 2028) | async fn should_reject_valid_deploy_from_client_for_account_with_invalid... function should_reject_valid_transaction_v1_from_client_for_account_with_invalid_associated_keys (line 2043) | async fn should_reject_valid_transaction_v1_from_client_for_account_with... function should_reject_valid_deploy_from_client_for_account_with_insufficient_weight (line 2058) | async fn should_reject_valid_deploy_from_client_for_account_with_insuffi... function should_reject_valid_transaction_v1_from_client_for_account_with_insufficient_weight (line 2073) | async fn should_reject_valid_transaction_v1_from_client_for_account_with... function should_reject_valid_deploy_from_client_for_insufficient_balance (line 2088) | async fn should_reject_valid_deploy_from_client_for_insufficient_balance... function should_reject_valid_transaction_v1_from_client_for_insufficient_balance (line 2102) | async fn should_reject_valid_transaction_v1_from_client_for_insufficient... function should_reject_valid_deploy_from_client_for_unknown_balance (line 2115) | async fn should_reject_valid_deploy_from_client_for_unknown_balance() { function should_accept_repeated_valid_deploy_from_peer (line 2127) | async fn should_accept_repeated_valid_deploy_from_peer() { function should_accept_repeated_valid_transaction_v1_from_peer (line 2136) | async fn should_accept_repeated_valid_transaction_v1_from_peer() { function should_accept_repeated_valid_deploy_from_client (line 2143) | async fn should_accept_repeated_valid_deploy_from_client() { function should_accept_repeated_valid_transaction_v1_from_client (line 2152) | async fn should_accept_repeated_valid_transaction_v1_from_client() { function should_accept_deploy_with_valid_custom_payment_from_client (line 2161) | async fn should_accept_deploy_with_valid_custom_payment_from_client() { function should_accept_deploy_with_missing_custom_payment_contract_by_name_from_client (line 2168) | async fn should_accept_deploy_with_missing_custom_payment_contract_by_na... function should_reject_deploy_with_missing_custom_payment_contract_by_hash_from_client (line 2176) | async fn should_reject_deploy_with_missing_custom_payment_contract_by_ha... function should_reject_deploy_with_missing_entry_point_custom_payment_from_client (line 2190) | async fn should_reject_deploy_with_missing_entry_point_custom_payment_fr... function should_accept_deploy_with_valid_payment_contract_package_by_name_from_client (line 2204) | async fn should_accept_deploy_with_valid_payment_contract_package_by_nam... function should_accept_deploy_with_missing_payment_contract_package_at_name_from_client (line 2212) | async fn should_accept_deploy_with_missing_payment_contract_package_at_n... function should_reject_deploy_with_missing_payment_contract_package_at_hash_from_client (line 2221) | async fn should_reject_deploy_with_missing_payment_contract_package_at_h... function should_accept_deploy_with_valid_session_contract_from_client (line 2236) | async fn should_accept_deploy_with_valid_session_contract_from_client() { function should_accept_transaction_v1_with_valid_session_contract_from_client (line 2244) | async fn should_accept_transaction_v1_with_valid_session_contract_from_c... function should_accept_deploy_with_missing_session_contract_by_name_from_client (line 2252) | async fn should_accept_deploy_with_missing_session_contract_by_name_from... function should_accept_transaction_v1_with_missing_session_contract_by_name_from_client (line 2262) | async fn should_accept_transaction_v1_with_missing_session_contract_by_n... function should_reject_deploy_with_missing_session_contract_by_hash_from_client (line 2272) | async fn should_reject_deploy_with_missing_session_contract_by_hash_from... function should_reject_transaction_v1_with_missing_session_contract_by_hash_from_client (line 2288) | async fn should_reject_transaction_v1_with_missing_session_contract_by_h... function should_reject_deploy_with_missing_entry_point_in_session_contract_from_client (line 2304) | async fn should_reject_deploy_with_missing_entry_point_in_session_contra... function should_reject_transaction_v1_with_missing_entry_point_in_session_contract_from_client (line 2320) | async fn should_reject_transaction_v1_with_missing_entry_point_in_sessio... function should_accept_deploy_with_valid_session_contract_package_from_client (line 2334) | async fn should_accept_deploy_with_valid_session_contract_package_from_c... function should_accept_transaction_v1_with_valid_session_contract_package_from_client (line 2344) | async fn should_accept_transaction_v1_with_valid_session_contract_packag... function should_accept_deploy_with_missing_session_contract_package_at_name_from_client (line 2352) | async fn should_accept_deploy_with_missing_session_contract_package_at_n... function should_accept_transaction_v1_with_missing_session_contract_package_at_name_from_client (line 2362) | async fn should_accept_transaction_v1_with_missing_session_contract_pack... function should_reject_deploy_with_missing_session_contract_package_at_hash_from_client (line 2372) | async fn should_reject_deploy_with_missing_session_contract_package_at_h... function should_reject_transaction_v1_with_missing_session_contract_package_at_hash_from_client (line 2388) | async fn should_reject_transaction_v1_with_missing_session_contract_pack... function should_reject_transaction_v1_with_missing_version_in_session_contract_package_from_client (line 2404) | async fn should_reject_transaction_v1_with_missing_version_in_session_co... function should_accept_deploy_with_valid_custom_payment_from_peer (line 2421) | async fn should_accept_deploy_with_valid_custom_payment_from_peer() { function should_accept_deploy_with_missing_custom_payment_contract_by_name_from_peer (line 2428) | async fn should_accept_deploy_with_missing_custom_payment_contract_by_na... function should_reject_deploy_with_missing_custom_payment_contract_by_hash_from_peer (line 2436) | async fn should_reject_deploy_with_missing_custom_payment_contract_by_ha... function should_reject_deploy_with_missing_entry_point_custom_payment_from_peer (line 2450) | async fn should_reject_deploy_with_missing_entry_point_custom_payment_fr... function should_accept_deploy_with_valid_payment_contract_package_by_name_from_peer (line 2464) | async fn should_accept_deploy_with_valid_payment_contract_package_by_nam... function should_accept_deploy_with_missing_payment_contract_package_at_name_from_peer (line 2472) | async fn should_accept_deploy_with_missing_payment_contract_package_at_n... function should_reject_deploy_with_missing_payment_contract_package_at_hash_from_peer (line 2481) | async fn should_reject_deploy_with_missing_payment_contract_package_at_h... function should_accept_deploy_with_valid_session_contract_from_peer (line 2496) | async fn should_accept_deploy_with_valid_session_contract_from_peer() { function should_accept_transaction_v1_with_valid_session_contract_from_peer (line 2504) | async fn should_accept_transaction_v1_with_valid_session_contract_from_p... function should_accept_deploy_with_missing_session_contract_by_name_from_peer (line 2511) | async fn should_accept_deploy_with_missing_session_contract_by_name_from... function should_accept_transaction_v1_with_missing_session_contract_by_name_from_peer (line 2521) | async fn should_accept_transaction_v1_with_missing_session_contract_by_n... function should_reject_deploy_with_missing_session_contract_by_hash_from_peer (line 2529) | async fn should_reject_deploy_with_missing_session_contract_by_hash_from... function should_reject_transaction_v1_with_missing_session_contract_by_hash_from_peer (line 2545) | async fn should_reject_transaction_v1_with_missing_session_contract_by_h... function should_reject_deploy_with_missing_entry_point_in_session_contract_from_peer (line 2559) | async fn should_reject_deploy_with_missing_entry_point_in_session_contra... function should_reject_transaction_v1_with_missing_entry_point_in_session_contract_from_peer (line 2573) | async fn should_reject_transaction_v1_with_missing_entry_point_in_sessio... function should_accept_deploy_with_valid_session_contract_package_from_peer (line 2587) | async fn should_accept_deploy_with_valid_session_contract_package_from_p... function should_accept_transaction_v1_with_valid_session_contract_package_from_peer (line 2597) | async fn should_accept_transaction_v1_with_valid_session_contract_packag... function should_accept_deploy_with_missing_session_contract_package_at_name_from_peer (line 2605) | async fn should_accept_deploy_with_missing_session_contract_package_at_n... function should_accept_transaction_v1_with_missing_session_contract_package_at_name_from_peer (line 2615) | async fn should_accept_transaction_v1_with_missing_session_contract_pack... function should_reject_deploy_with_missing_session_contract_package_at_hash_from_peer (line 2625) | async fn should_reject_deploy_with_missing_session_contract_package_at_h... function should_reject_transaction_v1_with_missing_session_contract_package_at_hash_from_peer (line 2641) | async fn should_reject_transaction_v1_with_missing_session_contract_pack... function should_reject_transaction_v1_with_missing_version_in_session_contract_package_from_peer (line 2657) | async fn should_reject_transaction_v1_with_missing_version_in_session_co... function should_reject_deploy_with_empty_module_bytes_in_session (line 2673) | async fn should_reject_deploy_with_empty_module_bytes_in_session() { function should_reject_deploy_with_insufficient_payment (line 2686) | async fn should_reject_deploy_with_insufficient_payment() { function should_reject_deploy_with_transfer_in_payment (line 2698) | async fn should_reject_deploy_with_transfer_in_payment() { function should_reject_deploy_without_payment_amount (line 2711) | async fn should_reject_deploy_without_payment_amount() { function should_reject_deploy_with_mangled_payment_amount (line 2724) | async fn should_reject_deploy_with_mangled_payment_amount() { function should_reject_deploy_without_transfer_amount (line 2737) | async fn should_reject_deploy_without_transfer_amount() { function should_reject_deploy_without_transfer_target (line 2749) | async fn should_reject_deploy_without_transfer_target() { function should_reject_deploy_with_mangled_transfer_amount (line 2762) | async fn should_reject_deploy_with_mangled_transfer_amount() { function should_reject_expired_deploy_from_client (line 2774) | async fn should_reject_expired_deploy_from_client() { function should_reject_expired_transaction_v1_from_client (line 2781) | async fn should_reject_expired_transaction_v1_from_client() { function should_accept_expired_deploy_from_peer (line 2788) | async fn should_accept_expired_deploy_from_peer() { function should_accept_expired_transaction_v1_from_peer (line 2795) | async fn should_accept_expired_transaction_v1_from_peer() { function should_panic_when_balance_checking_for_deploy_sent_by_peer (line 2803) | async fn should_panic_when_balance_checking_for_deploy_sent_by_peer() { function should_accept_deploy_signed_by_admin_from_client (line 2810) | async fn should_accept_deploy_signed_by_admin_from_client() { function should_accept_transaction_v1_signed_by_admin_from_client (line 2817) | async fn should_accept_transaction_v1_signed_by_admin_from_client() { function should_reject_transaction_v1_with_invalid_pricing_mode (line 2824) | async fn should_reject_transaction_v1_with_invalid_pricing_mode() { function should_reject_transaction_v1_with_too_low_gas_price_tolerance (line 2836) | async fn should_reject_transaction_v1_with_too_low_gas_price_tolerance() { function should_reject_transaction_v1_with_insufficient_payment (line 2848) | async fn should_reject_transaction_v1_with_insufficient_payment() { function should_reject_deploy_with_too_low_gas_price_tolerance (line 2860) | async fn should_reject_deploy_with_too_low_gas_price_tolerance() { function should_reject_transaction_with_unexpected_fields (line 2872) | async fn should_reject_transaction_with_unexpected_fields() { function should_reject_transaction_from_peer_with_unexpected_fields (line 2883) | async fn should_reject_transaction_from_peer_with_unexpected_fields() { function should_reject_transaction_with_invalid_transaction_args (line 2894) | async fn should_reject_transaction_with_invalid_transaction_args() { function should_reject_wasm_transaction_with_limited_too_big_payment (line 2905) | async fn should_reject_wasm_transaction_with_limited_too_big_payment() { function should_reject_deploy_with_payment_amount_larger_than_max_wasm_lane_limit (line 2916) | async fn should_reject_deploy_with_payment_amount_larger_than_max_wasm_l... function should_reject_native_delegate_with_exceeding_amount (line 2927) | async fn should_reject_native_delegate_with_exceeding_amount() { function should_reject_native_redelegate_with_exceeding_amount (line 2938) | async fn should_reject_native_redelegate_with_exceeding_amount() { function foobar (line 2949) | async fn foobar() { function should_fail_if_package_doesnt_exist_by_hash (line 2963) | async fn should_fail_if_package_doesnt_exist_by_hash() { function should_not_fail_if_package_doesnt_exist_by_name (line 2981) | async fn should_not_fail_if_package_doesnt_exist_by_name() { function should_approve_if_transaction_references_no_version_or_major (line 2993) | async fn should_approve_if_transaction_references_no_version_or_major() { function should_approve_if_transaction_references_package_by_name (line 3005) | async fn should_approve_if_transaction_references_package_by_name() { function should_approve_if_transaction_references_version_and_no_major (line 3017) | async fn should_approve_if_transaction_references_version_and_no_major() { function should_fail_when_asking_for_non_active_exact_version (line 3029) | async fn should_fail_when_asking_for_non_active_exact_version() { function should_succeed_when_asking_for_active_exact_version (line 3052) | async fn should_succeed_when_asking_for_active_exact_version() { FILE: node/src/components/transaction_buffer.rs constant COMPONENT_NAME (line 52) | const COMPONENT_NAME: &str = "transaction_buffer"; type TransactionBuffer (line 55) | pub(crate) struct TransactionBuffer { method new (line 80) | pub(crate) fn new( method initialize_component (line 97) | pub(crate) fn initialize_component( method expire (line 149) | fn expire(&mut self, effect_builder: EffectBuilder) -> Effec... method register_transaction_gossiped (line 210) | fn register_transaction_gossiped( method handle_get_appendable_block (line 225) | fn handle_get_appendable_block( method register_transaction (line 257) | fn register_transaction(&mut self, transaction: Transaction) { method register_block_proposed (line 296) | fn register_block_proposed(&mut self, proposed_block: ProposedBlock( method register_block (line 352) | fn register_block(&mut self, block: &BlockV2) { method register_versioned_block (line 360) | fn register_versioned_block(&mut self, block: &Block) { method register_block_finalized (line 383) | fn register_block_finalized(&mut self, finalized_block: &FinalizedBloc... method proposable (line 391) | fn proposable( method buckets (line 406) | fn buckets( method appendable_block (line 423) | fn appendable_block( method update_all_metrics (line 615) | fn update_all_metrics(&mut self) { method state (line 644) | fn state(&self) -> &ComponentState { method set_state (line 648) | fn set_state(&mut self, new_state: ComponentState) { type Event (line 668) | type Event = Event; method handle_event (line 670) | fn handle_event( method name (line 810) | fn name(&self) -> &str { FILE: node/src/components/transaction_buffer/config.rs constant DEFAULT_EXPIRY_CHECK_INTERVAL (line 6) | const DEFAULT_EXPIRY_CHECK_INTERVAL: &str = "1min"; type Config (line 10) | pub struct Config { method expiry_check_interval (line 17) | pub fn expiry_check_interval(&self) -> TimeDiff { method default (line 23) | fn default() -> Self { FILE: node/src/components/transaction_buffer/event.rs type Event (line 18) | pub(crate) enum Event { method fmt (line 40) | fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result { FILE: node/src/components/transaction_buffer/metrics.rs type Metrics (line 7) | pub(super) struct Metrics { method new (line 19) | pub fn new(registry: &Registry) -> Result { method drop (line 47) | fn drop(&mut self) { FILE: node/src/components/transaction_buffer/tests.rs constant ERA_ONE (line 20) | const ERA_ONE: EraId = EraId::new(1u64); constant GAS_PRICE_TOLERANCE (line 21) | const GAS_PRICE_TOLERANCE: u8 = 1; constant DEFAULT_MINIMUM_GAS_PRICE (line 22) | const DEFAULT_MINIMUM_GAS_PRICE: u8 = 1; function get_appendable_block (line 24) | fn get_appendable_block( function create_valid_transaction (line 54) | fn create_valid_transaction( function assert_container_sizes (line 136) | fn assert_container_sizes( function all_categories (line 189) | const fn all_categories() -> [u8; 4] { function register_transaction_and_check_size (line 199) | fn register_transaction_and_check_size() { function register_block_with_valid_transactions (line 241) | fn register_block_with_valid_transactions() { function register_finalized_block_with_valid_transactions (line 271) | fn register_finalized_block_with_valid_transactions() { function get_proposable_transactions (line 293) | fn get_proposable_transactions() { function get_appendable_block_when_transfers_are_of_one_lane (line 373) | fn get_appendable_block_when_transfers_are_of_one_lane() { function get_appendable_block_when_transfers_are_both_legacy_and_v1 (line 408) | fn get_appendable_block_when_transfers_are_both_legacy_and_v1() { function get_appendable_block_when_standards_are_of_one_lane (line 444) | fn get_appendable_block_when_standards_are_of_one_lane() { function get_appendable_block_when_standards_are_both_legacy_and_v1 (line 479) | fn get_appendable_block_when_standards_are_both_legacy_and_v1() { function block_fully_saturated (line 517) | fn block_fully_saturated() { function block_not_fully_saturated (line 633) | fn block_not_fully_saturated() { function generate_and_register_transactions (line 743) | fn generate_and_register_transactions( function register_transactions_and_blocks (line 781) | fn register_transactions_and_blocks() { type ReactorEvent (line 901) | enum ReactorEvent { method from (line 907) | fn from(req: TransactionBufferAnnouncement) -> ReactorEvent { method from (line 913) | fn from(req: Event) -> ReactorEvent { type MockReactor (line 918) | struct MockReactor { method new (line 923) | fn new() -> Self { method expect_transaction_buffer_expire_announcement (line 929) | async fn expect_transaction_buffer_expire_announcement( function expire_transactions_and_check_announcement_when_transactions_are_of_one_lane (line 947) | async fn expire_transactions_and_check_announcement_when_transactions_ar... function expire_transactions_and_check_announcement_when_transactions_are_of_random_categories (line 1028) | async fn expire_transactions_and_check_announcement_when_transactions_ar... function make_test_chainspec (line 1112) | fn make_test_chainspec(max_standard_count: u64, max_mint_count: u64) -> ... function should_have_one_bucket_per_distinct_body_hash (line 1142) | fn should_have_one_bucket_per_distinct_body_hash() { function should_have_diverse_proposable_blocks_with_stocked_buffer (line 1246) | fn should_have_diverse_proposable_blocks_with_stocked_buffer() { function should_be_empty_if_no_time_until_expiry (line 1375) | fn should_be_empty_if_no_time_until_expiry() { function register_random_deploys_unique_hashes (line 1431) | fn register_random_deploys_unique_hashes( function register_random_deploys_same_hash (line 1454) | fn register_random_deploys_same_hash( function test_buckets_single_hash (line 1478) | fn test_buckets_single_hash() { function test_buckets_unique_hashes (line 1499) | fn test_buckets_unique_hashes() { function test_buckets_mixed_load (line 1520) | fn test_buckets_mixed_load() { FILE: node/src/components/upgrade_watcher.rs constant COMPONENT_NAME (line 40) | const COMPONENT_NAME: &str = "upgrade_watcher"; constant DEFAULT_UPGRADE_CHECK_INTERVAL (line 42) | const DEFAULT_UPGRADE_CHECK_INTERVAL: &str = "30sec"; type Config (line 45) | pub struct Config { method default (line 51) | fn default() -> Self { type Event (line 60) | pub(crate) enum Event { method fmt (line 72) | fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result { type Error (line 94) | pub(crate) enum Error { type UpgradeWatcher (line 124) | pub(crate) struct UpgradeWatcher { method new (line 135) | pub(crate) fn new>( method should_upgrade_after (line 160) | pub(crate) fn should_upgrade_after(&self, era_id: EraId) -> bool { method next_upgrade_activation_point (line 166) | pub(crate) fn next_upgrade_activation_point(&self) -> Option { method start_checking_for_upgrades (line 171) | fn start_checking_for_upgrades( method check_for_next_upgrade (line 185) | fn check_for_next_upgrade(&self, effect_builder: EffectBuilder &str { method state (line 306) | fn state(&self) -> &ComponentState { method set_state (line 310) | fn set_state(&mut self, new_state: ComponentState) { type UpgradePoint (line 325) | struct UpgradePoint { method from_chainspec_path (line 332) | fn from_chainspec_path + fmt::Debug>(path: P) -> Result... function dir_name_from_version (line 339) | fn dir_name_from_version(version: ProtocolVersion) -> PathBuf { function next_installed_version (line 348) | fn next_installed_version( function next_upgrade (line 403) | fn next_upgrade(dir: PathBuf, current_version: ProtocolVersion) -> Optio... constant V0_0_0 (line 445) | const V0_0_0: ProtocolVersion = ProtocolVersion::from_parts(0, 0, 0); constant V0_9_9 (line 446) | const V0_9_9: ProtocolVersion = ProtocolVersion::from_parts(0, 9, 9); constant V1_0_0 (line 447) | const V1_0_0: ProtocolVersion = ProtocolVersion::from_parts(1, 0, 0); constant V1_0_3 (line 448) | const V1_0_3: ProtocolVersion = ProtocolVersion::from_parts(1, 0, 3); constant V1_2_3 (line 449) | const V1_2_3: ProtocolVersion = ProtocolVersion::from_parts(1, 2, 3); constant V2_2_2 (line 450) | const V2_2_2: ProtocolVersion = ProtocolVersion::from_parts(2, 2, 2); function should_get_next_installed_version (line 453) | fn should_get_next_installed_version() { function should_ignore_invalid_versions (line 484) | fn should_ignore_invalid_versions() { function install_chainspec (line 538) | fn install_chainspec( function should_get_next_upgrade (line 557) | fn should_get_next_upgrade() { function should_not_get_old_or_invalid_upgrade (line 584) | fn should_not_get_old_or_invalid_upgrade() { function should_register_unstaged_upgrade (line 630) | fn should_register_unstaged_upgrade() { FILE: node/src/config_migration.rs type OldConfig (line 6) | type OldConfig = Config; type Error (line 10) | pub enum Error {} function migrate_config (line 16) | pub(crate) fn migrate_config( FILE: node/src/data_migration.rs constant POST_MIGRATION_STATE_HASH_FILENAME (line 19) | const POST_MIGRATION_STATE_HASH_FILENAME: &str = "post-migration-state-h... constant CONFIG_ROOT_DIR (line 21) | const CONFIG_ROOT_DIR: &str = "/etc/casper"; constant CONFIG_ROOT_DIR_OVERRIDE (line 23) | const CONFIG_ROOT_DIR_OVERRIDE: &str = "CASPER_CONFIG_DIR"; type Error (line 27) | pub(crate) enum Error { type PostMigrationInfo (line 68) | struct PostMigrationInfo { type SignedPostMigrationInfo (line 74) | struct SignedPostMigrationInfo { function read_post_migration_info (line 86) | pub(crate) fn read_post_migration_info( function do_read_post_migration_info (line 95) | fn do_read_post_migration_info( function write_post_migration_info (line 137) | fn write_post_migration_info( function info_path (line 170) | fn info_path() -> PathBuf { function migrate_data (line 178) | pub(crate) fn migrate_data( function should_write_then_read_info (line 211) | fn should_write_then_read_info() { function should_return_none_after_reading_info (line 230) | fn should_return_none_after_reading_info() { function should_fail_to_read_invalid_info (line 261) | fn should_fail_to_read_invalid_info() { FILE: node/src/effect.rs type Effect (line 187) | pub(crate) type Effect = BoxFuture<'static, Multiple>; type Effects (line 190) | pub(crate) type Effects = Multiple>; type Multiple (line 198) | pub(crate) type Multiple = SmallVec<[T; 2]>; type GossipTarget (line 202) | pub(crate) enum GossipTarget { method fmt (line 210) | fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result { type Responder (line 221) | pub(crate) struct Responder { type AutoClosingResponder (line 231) | pub(crate) struct AutoClosingResponder(Responder>); function from_opt_responder (line 235) | pub(crate) fn from_opt_responder(responder: Responder>) -> Self { function into_inner (line 240) | fn into_inner(mut self) -> Responder> { function respond (line 254) | pub(crate) async fn respond(self, data: T) { function respond_none (line 259) | pub(crate) async fn respond_none(self) { method drop (line 265) | fn drop(&mut self) { function new (line 285) | fn new(sender: oneshot::Sender, is_shutting_down: SharedFlag) -> Self { function without_shutdown (line 298) | pub(crate) fn without_shutdown(sender: oneshot::Sender) -> Self { function respond (line 305) | pub(crate) async fn respond(mut self, data: T) { method fmt (line 327) | fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result { method fmt (line 333) | fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result { method drop (line 339) | fn drop(&mut self) { method serialize (line 360) | fn serialize(&self, serializer: S) -> Result(&self, serializer: S) -> Result(self, f: F) -> Effects method ignore (line 383) | fn ignore(self) -> Effects; method event (line 409) | fn event(self, f: F) -> Effects method ignore (line 417) | fn ignore(self) -> Effects { type EffectResultExt (line 388) | pub(crate) trait EffectResultExt { method result (line 398) | fn result(self, f_ok: F, f_err: G) -> Effects type Value (line 426) | type Value = V; type Error (line 427) | type Error = E; method result (line 429) | fn result(self, f_ok: F, f_err: G) -> Effects type EffectBuilder (line 450) | pub(crate) struct EffectBuilder { method clone (line 457) | fn clone(&self) -> Self { function new (line 466) | pub(crate) fn new(event_queue: EventQueueHandle) -> Self { function into_inner (line 471) | pub(crate) fn into_inner(self) -> EventQueueHandle { function make_request (line 490) | pub(crate) async fn make_request(self, f: F, queue_kind: QueueK... function create_request_parts (line 510) | pub(crate) fn create_request_parts(self, f: F) -> (REv, impl Fu... function immediately (line 558) | pub(crate) fn immediately(self) -> impl Future + Send { function fatal (line 567) | pub(crate) async fn fatal(self, file: &'static str, line: u32, msg: String) function set_timeout (line 577) | pub(crate) async fn set_timeout(self, timeout: Duration) -> Duration { function get_metrics (line 586) | pub(crate) async fn get_metrics(self) -> Option function send_message (line 601) | pub(crate) async fn send_message

(self, dest: NodeId, payload: P) function enqueue_message (line 621) | pub(crate) async fn enqueue_message

(self, dest: NodeId, payload: P) function broadcast_message_to_validators (line 638) | pub(crate) async fn broadcast_message_to_validators

(self, payload: P,... function gossip_message (line 662) | pub(crate) async fn gossip_message

( function get_network_insights (line 688) | pub(crate) async fn get_network_insights(self) -> NetworkInsights function network_peers (line 700) | pub(crate) async fn network_peers(self) -> BTreeMap function get_fully_connected_peers (line 712) | pub async fn get_fully_connected_peers(self, count: usize) -> Vec function get_fully_connected_validators (line 724) | pub async fn get_fully_connected_validators(self, count: usize, era_id: ... function announce_expired_transactions (line 740) | pub(crate) async fn announce_expired_transactions(self, hashes: Vec(self, sender: NodeId, payload: P) function announce_complete_item_received_via_gossip (line 766) | pub(crate) async fn announce_complete_item_received_via_gossip( function announce_finality_signature_accepted (line 801) | pub(crate) async fn announce_finality_signature_accepted( function make_block_executable (line 819) | pub(crate) async fn make_block_executable( function mark_block_completed (line 841) | pub(crate) async fn mark_block_completed(self, block_height: u64) -> bool function try_accept_transaction (line 856) | pub(crate) async fn try_accept_transaction( function announce_new_transaction_accepted (line 876) | pub(crate) fn announce_new_transaction_accepted( function announce_gossip_received (line 895) | pub(crate) async fn announce_gossip_received(self, item_id: T::Id, se... function announce_finished_gossiping (line 909) | pub(crate) async fn announce_finished_gossiping(self, item_id: T::Id) function announce_invalid_transaction (line 922) | pub(crate) fn announce_invalid_transaction( function upgrade_watcher_announcement (line 940) | pub(crate) async fn upgrade_watcher_announcement(self, maybe_next_upgrad... function announce_commit_step_success (line 953) | pub(crate) async fn announce_commit_step_success(self, era_id: EraId, ef... function update_contract_runtime_state (line 965) | pub(crate) async fn update_contract_runtime_state(self, new_pre_state: E... function announce_upcoming_era_validators (line 978) | pub(crate) async fn announce_upcoming_era_validators( function announce_new_era_gas_price (line 996) | pub(crate) async fn announce_new_era_gas_price(self, era_id: EraId, next... function begin_gossip (line 1012) | pub(crate) async fn begin_gossip(self, item_id: T::Id, source: Source... function put_block_to_storage (line 1030) | pub(crate) async fn put_block_to_storage(self, block: Arc) -> bool function put_approvals_hashes_to_storage (line 1042) | pub(crate) async fn put_approvals_hashes_to_storage( function put_executed_block_to_storage (line 1060) | pub(crate) async fn put_executed_block_to_storage( function get_block_from_storage (line 1082) | pub(crate) async fn get_block_from_storage(self, block_hash: BlockHash) ... function get_block_utilization (line 1096) | pub(crate) async fn get_block_utilization( function is_block_stored (line 1117) | pub(crate) async fn is_block_stored(self, block_hash: BlockHash) -> bool function get_approvals_hashes_from_storage (line 1132) | pub(crate) async fn get_approvals_hashes_from_storage( function get_raw_data (line 1149) | pub(crate) async fn get_raw_data( function get_block_header_from_storage (line 1169) | pub(crate) async fn get_block_header_from_storage( function get_block_header_at_height_from_storage (line 1188) | pub(crate) async fn get_block_header_at_height_from_storage( function get_latest_switch_block_header_from_storage (line 1207) | pub(crate) async fn get_latest_switch_block_header_from_storage(self) ->... function get_switch_block_header_by_era_id_from_storage (line 1218) | pub(crate) async fn get_switch_block_header_by_era_id_from_storage( function get_signature_from_storage (line 1233) | pub(crate) async fn get_signature_from_storage( function get_execution_results_from_storage (line 1252) | pub(crate) async fn get_execution_results_from_storage( function put_block_header_to_storage (line 1270) | pub(crate) async fn put_block_header_to_storage(self, block_header: Box<... function put_signatures_to_storage (line 1288) | pub(crate) async fn put_signatures_to_storage(self, signatures: BlockSig... function put_finality_signature_to_storage (line 1302) | pub(crate) async fn put_finality_signature_to_storage( function get_block_transfers_from_storage (line 1320) | pub(crate) async fn get_block_transfers_from_storage( function get_transactions_era_ids (line 1339) | pub(crate) async fn get_transactions_era_ids( function get_highest_complete_block_from_storage (line 1357) | pub(crate) async fn get_highest_complete_block_from_storage(self) -> Opt... function get_highest_complete_block_header_from_storage (line 1369) | pub(crate) async fn get_highest_complete_block_header_from_storage(self)... function get_available_block_range_from_storage (line 1381) | pub(crate) async fn get_available_block_range_from_storage(self) -> Avai... function sync_global_state (line 1393) | pub(crate) async fn sync_global_state( function get_trie (line 1413) | pub(crate) async fn get_trie(self, request: TrieRequest) -> TrieResult function get_reactor_state (line 1424) | pub(crate) async fn get_reactor_state(self) -> ReactorState function get_last_progress (line 1435) | pub(crate) async fn get_last_progress(self) -> LastProgress function get_uptime (line 1446) | pub(crate) async fn get_uptime(self) -> Uptime function get_network_name (line 1457) | pub(crate) async fn get_network_name(self) -> NetworkName function get_balance_holds_interval (line 1469) | pub(crate) async fn get_balance_holds_interval(self) -> TimeDiff function get_block_synchronizer_status (line 1480) | pub(crate) async fn get_block_synchronizer_status(self) -> BlockSynchron... function put_trie_if_all_children_present (line 1494) | pub(crate) async fn put_trie_if_all_children_present( function get_current_gas_price (line 1508) | pub(crate) async fn get_current_gas_price(self, era_id: EraId) -> Option... function put_transaction_to_storage (line 1519) | pub(crate) async fn put_transaction_to_storage(self, transaction: Transa... function get_transactions_from_storage (line 1537) | pub(crate) async fn get_transactions_from_storage( function get_transaction_and_exec_info_from_storage (line 1555) | pub(crate) async fn get_transaction_and_exec_info_from_storage( function get_stored_legacy_deploy (line 1578) | pub(crate) async fn get_stored_legacy_deploy( function get_stored_transaction (line 1599) | pub(crate) async fn get_stored_transaction( function is_transaction_stored (line 1616) | pub(crate) async fn is_transaction_stored(self, transaction_id: Transact... function put_execution_artifacts_to_storage (line 1632) | pub(crate) async fn put_execution_artifacts_to_storage( function get_block_at_height_with_metadata_from_storage (line 1655) | pub(crate) async fn get_block_at_height_with_metadata_from_storage( function collect_past_blocks_with_metadata (line 1674) | pub(crate) async fn collect_past_blocks_with_metadata( function get_finality_signature_from_storage (line 1694) | pub(crate) async fn get_finality_signature_from_storage( function is_finality_signature_stored (line 1708) | pub(crate) async fn is_finality_signature_stored(self, id: Box( function fetch_trie (line 1742) | pub(crate) async fn fetch_trie( function request_appendable_block (line 1762) | pub(crate) async fn request_appendable_block( function enqueue_block_for_execution (line 1784) | pub(crate) async fn enqueue_block_for_execution( function enqueue_protocol_upgrade (line 1816) | pub(crate) async fn enqueue_protocol_upgrade( function validate_block (line 1840) | pub(crate) async fn validate_block( function announce_proposed_block (line 1862) | pub(crate) async fn announce_proposed_block(self, proposed_block: Propos... function announce_finalized_block (line 1875) | pub(crate) async fn announce_finalized_block(self, finalized_block: Fina... function announce_meta_block (line 1888) | pub(crate) async fn announce_meta_block(self, meta_block: MetaBlock) function announce_unexecuted_block (line 1899) | pub(crate) async fn announce_unexecuted_block(self, block_height: u64) function announce_fault_event (line 1912) | pub(crate) async fn announce_fault_event( function announce_block_peer_with_justification (line 1935) | pub(crate) async fn announce_block_peer_with_justification( function get_next_upgrade (line 1955) | pub(crate) async fn get_next_upgrade(self) -> Option function query_global_state (line 1964) | pub(crate) async fn query_global_state(self, request: QueryRequest) -> Q... function get_addressable_entity (line 1977) | pub(crate) async fn get_addressable_entity( function does_entry_point_exist (line 1997) | pub(crate) async fn does_entry_point_exist( function get_package (line 2019) | pub(crate) async fn get_package( function get_balance (line 2052) | pub(crate) async fn get_balance(self, request: BalanceRequest) -> Balanc... function get_era_validators_from_contract_runtime (line 2066) | pub(crate) async fn get_era_validators_from_contract_runtime( function get_seigniorage_recipients_snapshot_from_contract_runtime (line 2080) | pub(crate) async fn get_seigniorage_recipients_snapshot_from_contract_ru... function get_tagged_values (line 2095) | pub(crate) async fn get_tagged_values(self, request: TaggedValuesRequest... function get_prefixed_values (line 2106) | pub(crate) async fn get_prefixed_values( function get_execution_results_checksum (line 2122) | pub(crate) async fn get_execution_results_checksum( function consensus_status (line 2140) | pub(crate) async fn consensus_status(self) -> Option function get_consensus_validator_changes (line 2149) | pub(crate) async fn get_consensus_validator_changes(self) -> ConsensusVa... function diagnostics_port_dump_consensus_state (line 2159) | pub(crate) async fn diagnostics_port_dump_consensus_state( function diagnostics_port_dump_queue (line 2179) | pub(crate) async fn diagnostics_port_dump_queue(self, dump_format: Queue... function activate_failpoint (line 2194) | pub(crate) async fn activate_failpoint(self, activation: FailpointActiva... function announce_user_shutdown_request (line 2207) | pub(crate) async fn announce_user_shutdown_request(self) function announce_fetched_new_block (line 2221) | pub(crate) async fn announce_fetched_new_block(self, block: Arc, ... function announce_fetched_new_finality_signature (line 2235) | pub(crate) async fn announce_fetched_new_finality_signature( function get_chainspec_raw_bytes (line 2255) | pub(crate) async fn get_chainspec_raw_bytes(self) -> Arc function store_finalized_approvals (line 2269) | pub(crate) async fn store_finalized_approvals( function speculatively_execute (line 2290) | pub(crate) async fn speculatively_execute( function get_block_execution_results_or_chunk_from_storage (line 2310) | pub(crate) async fn get_block_execution_results_or_chunk_from_storage( function get_block_accumulated_peers (line 2325) | pub(crate) async fn get_block_accumulated_peers( function set_node_stop_at (line 2345) | pub(crate) async fn set_node_stop_at(self, stop_at: Option) ... FILE: node/src/effect/announcements.rs type ControlAnnouncement (line 46) | pub(crate) enum ControlAnnouncement { method fmt (line 80) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { method fmt (line 103) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type FatalAnnouncement (line 128) | pub(crate) struct FatalAnnouncement { method fmt (line 135) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type MetaBlockAnnouncement (line 141) | pub(crate) struct MetaBlockAnnouncement(pub(crate) MetaBlock); method fmt (line 144) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type UnexecutedBlockAnnouncement (line 155) | pub(crate) struct UnexecutedBlockAnnouncement(pub(crate) u64); method fmt (line 158) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type QueueDumpFormat (line 169) | pub(crate) enum QueueDumpFormat { method serde (line 178) | pub(crate) fn serde(serializer: FileSerializer) -> Self { method debug (line 183) | pub(crate) fn debug(file: File) -> Self { type TransactionAcceptorAnnouncement (line 190) | pub(crate) enum TransactionAcceptorAnnouncement { method fmt (line 209) | fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result { type TransactionBufferAnnouncement (line 236) | pub(crate) enum TransactionBufferAnnouncement { method fmt (line 242) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type ConsensusAnnouncement (line 253) | pub(crate) enum ConsensusAnnouncement { method fmt (line 270) | fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result { type PeerBehaviorAnnouncement (line 293) | pub(crate) enum PeerBehaviorAnnouncement { method fmt (line 304) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type GossiperAnnouncement (line 318) | pub(crate) enum GossiperAnnouncement { method fmt (line 333) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type UpgradeWatcherAnnouncement (line 350) | pub(crate) struct UpgradeWatcherAnnouncement(pub(crate) Option) -> fmt::Result { type ContractRuntimeAnnouncement (line 363) | pub(crate) enum ContractRuntimeAnnouncement { method fmt (line 388) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type BlockAccumulatorAnnouncement (line 417) | pub(crate) enum BlockAccumulatorAnnouncement { method fmt (line 426) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type FetchedNewBlockAnnouncement (line 441) | pub(crate) struct FetchedNewBlockAnnouncement { method fmt (line 447) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type FetchedNewFinalitySignatureAnnouncement (line 459) | pub(crate) struct FetchedNewFinalitySignatureAnnouncement { method fmt (line 465) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { FILE: node/src/effect/diagnostics_port.rs type DumpConsensusStateRequest (line 16) | pub(crate) struct DumpConsensusStateRequest { method answer (line 30) | pub(crate) fn answer( method fmt (line 44) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method fmt (line 55) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { FILE: node/src/effect/incoming.rs type MessageIncoming (line 24) | pub struct MessageIncoming { method fmt (line 33) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type DemandIncoming (line 40) | pub struct DemandIncoming { method fmt (line 53) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type ConsensusMessageIncoming (line 59) | pub(crate) type ConsensusMessageIncoming = MessageIncoming = MessageIncoming; type NetResponseIncoming (line 68) | pub(crate) type NetResponseIncoming = MessageIncoming; type TrieRequestIncoming (line 71) | pub(crate) type TrieRequestIncoming = MessageIncoming; type TrieDemand (line 74) | pub(crate) type TrieDemand = DemandIncoming; type ConsensusDemand (line 77) | pub(crate) type ConsensusDemand = DemandIncoming; type FinalitySignatureIncoming (line 83) | pub(crate) type FinalitySignatureIncoming = MessageIncoming Vec { method tag (line 143) | pub(crate) fn tag(&self) -> Tag { method fmt (line 104) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type NetResponse (line 161) | pub(crate) enum NetResponse { constant IS_DYNAMIC (line 174) | const IS_DYNAMIC: bool = false; constant STATIC_HEAP_SIZE (line 176) | const STATIC_HEAP_SIZE: usize = 0; method estimate_heap_size (line 178) | fn estimate_heap_size(&self) -> usize { method fmt (line 184) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type TrieRequest (line 202) | pub(crate) struct TrieRequest(pub(crate) Vec); method fmt (line 205) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type TrieResponse (line 212) | pub(crate) struct TrieResponse(pub(crate) Vec); method fmt (line 215) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { function unique_id_is_unique_across_variants (line 225) | fn unique_id_is_unique_across_variants() { FILE: node/src/effect/requests.rs constant _STORAGE_REQUEST_SIZE (line 66) | const _STORAGE_REQUEST_SIZE: usize = size_of::(); type MetricsRequest (line 71) | pub(crate) enum MetricsRequest { method fmt (line 80) | fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result { constant _NETWORK_EVENT_SIZE (line 87) | const _NETWORK_EVENT_SIZE: usize = size_of::>(); type NetworkRequest (line 93) | pub(crate) enum NetworkRequest

{ function map_payload (line 138) | pub(crate) fn map_payload(self, wrap_payload: F) -> NetworkReques... method fmt (line 184) | fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result { type NetworkInfoRequest (line 199) | pub(crate) enum NetworkInfoRequest { method fmt (line 227) | fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result { type BeginGossipRequest (line 265) | pub(crate) struct BeginGossipRequest method fmt (line 279) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type StorageRequest (line 286) | pub(crate) enum StorageRequest { method fmt (line 531) | fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result { type MakeBlockExecutableRequest (line 688) | pub(crate) struct MakeBlockExecutableRequest { method fmt (line 696) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type MarkBlockCompletedRequest (line 709) | pub(crate) struct MarkBlockCompletedRequest { method fmt (line 716) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type TransactionBufferRequest (line 722) | pub(crate) enum TransactionBufferRequest { method fmt (line 732) | fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result { type RestRequest (line 756) | pub(crate) enum RestRequest { method fmt (line 770) | fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result { type ContractRuntimeRequest (line 781) | pub(crate) enum ContractRuntimeRequest { method fmt (line 903) | fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result { type FetcherRequest (line 1018) | pub(crate) struct FetcherRequest { method fmt (line 1030) | fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result { type TrieAccumulatorRequest (line 1038) | pub(crate) struct TrieAccumulatorRequest { method fmt (line 1048) | fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result { type SyncGlobalStateRequest (line 1054) | pub(crate) struct SyncGlobalStateRequest { method fmt (line 1063) | fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result { type BlockValidationRequest (line 1075) | pub(crate) struct BlockValidationRequest { method fmt (line 1089) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type BlockHeight (line 1095) | type BlockHeight = u64; type ConsensusRequest (line 1100) | pub(crate) enum ConsensusRequest { type ChainspecRawBytesRequest (line 1109) | pub(crate) enum ChainspecRawBytesRequest { method fmt (line 1116) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type UpgradeWatcherRequest (line 1127) | pub(crate) struct UpgradeWatcherRequest(pub(crate) Responder) -> fmt::Result { type ReactorInfoRequest (line 1136) | pub(crate) enum ReactorInfoRequest { method fmt (line 1145) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type BlockAccumulatorRequest (line 1162) | pub(crate) enum BlockAccumulatorRequest { method fmt (line 1170) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type BlockSynchronizerRequest (line 1180) | pub(crate) enum BlockSynchronizerRequest { method fmt (line 1190) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type SetNodeStopRequest (line 1210) | pub(crate) struct SetNodeStopRequest { method fmt (line 1220) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type AcceptTransactionRequest (line 1230) | pub(crate) struct AcceptTransactionRequest { method fmt (line 1237) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { FILE: node/src/failpoints.rs type Failpoint (line 28) | pub(crate) struct Failpoint function new (line 53) | pub(crate) fn new(key: &'static str) -> Self { function new_with_subkey (line 67) | pub(crate) fn new_with_subkey(key: &'static str, subkey: S)... function update_from (line 86) | pub(crate) fn update_from(&mut self, activation: &FailpointActivation) { function fire (line 118) | pub(crate) fn fire(&mut self, rng: &mut R) -> Option<&T> { function do_fire (line 130) | fn do_fire(&mut self, rng: &mut R) -> Option<&T> { function value (line 148) | fn value(&self) -> Option<&T> { type FailpointActivation (line 155) | pub(crate) struct FailpointActivation { method new (line 192) | pub(crate) fn new(key: S) -> FailpointActivation { method key (line 204) | pub(crate) fn key(&self) -> &str { method subkey (line 210) | pub(crate) fn subkey(mut self, subkey: S) -> Self { method value (line 222) | pub(crate) fn value(self, value: T) -> Self method value_json (line 234) | pub(crate) fn value_json(mut self, value: Value) -> Self { method probability (line 243) | pub(crate) fn probability(mut self, probability: f32) -> Self { method once (line 251) | pub(crate) fn once(mut self) -> Self { method fmt (line 165) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type ParseError (line 259) | pub(crate) enum ParseError { type Err (line 275) | type Err = ParseError; method from_str (line 277) | fn from_str(raw: &str) -> Result { function parse_failpoints (line 332) | fn parse_failpoints() { function clamping_works (line 402) | fn clamping_works() { function display_works (line 448) | fn display_works() { function various_usecases (line 472) | fn various_usecases() { function activation_primes_properly (line 540) | fn activation_primes_properly() { function failpoint_probability_affects_failpoint (line 550) | fn failpoint_probability_affects_failpoint() { FILE: node/src/failpoints_disabled.rs type Failpoint (line 18) | pub(crate) struct Failpoint { function new (line 25) | pub(crate) fn new(_key: &'static str) -> Self { function new_with_subkey (line 34) | pub(crate) fn new_with_subkey(_key: &'static str, _subkey: ... function update_from (line 42) | pub(crate) fn update_from(&mut self, _activation: &FailpointActivation) {} function fire (line 46) | pub(crate) fn fire(&mut self, _rng: &mut R) -> Option<&T> { type FailpointActivation (line 53) | pub(crate) struct FailpointActivation; method new (line 57) | pub(crate) fn new(_key: S) -> FailpointActivation { method key (line 61) | pub(crate) fn key(&self) -> &str { method fmt (line 67) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type ParseError (line 75) | pub(crate) struct ParseError; type Err (line 78) | type Err = ParseError; method from_str (line 81) | fn from_str(_raw: &str) -> Result { FILE: node/src/lib.rs constant MAX_THREAD_COUNT (line 76) | pub const MAX_THREAD_COUNT: usize = 512; function version_string (line 78) | fn version_string(color: bool) -> String { function setup_signal_hooks (line 114) | pub(crate) fn setup_signal_hooks() { function new_rng (line 127) | pub(crate) fn new_rng() -> NodeRng { function new_rng (line 133) | pub(crate) fn new_rng() -> NodeRng { function version_string_format (line 142) | fn version_string_format() { function version_string_color_format (line 157) | fn version_string_color_format() { FILE: node/src/logging.rs constant LOG_VERBOSITY_LEVEL_ENVVAR (line 27) | const LOG_VERBOSITY_LEVEL_ENVVAR: &str = "RUST_LOG"; constant LOG_FIELD_MESSAGE (line 29) | const LOG_FIELD_MESSAGE: &str = "message"; constant LOG_FIELD_TARGET (line 30) | const LOG_FIELD_TARGET: &str = "log.target"; constant LOG_FIELD_MODULE (line 31) | const LOG_FIELD_MODULE: &str = "log.module_path"; constant LOG_FIELD_FILE (line 32) | const LOG_FIELD_FILE: &str = "log.file"; constant LOG_FIELD_LINE (line 33) | const LOG_FIELD_LINE: &str = "log.line"; type LoggingConfig (line 43) | pub struct LoggingConfig { method new (line 63) | pub fn new(format: LoggingFormat, color: bool, abbreviate_modules: boo... type LoggingFormat (line 77) | pub enum LoggingFormat { type FmtEvent (line 87) | pub struct FmtEvent { method new (line 95) | fn new(ansi_color: bool, abbreviate_modules: bool) -> Self { method enable_dimmed_if_ansi (line 102) | fn enable_dimmed_if_ansi(&self, writer: &mut dyn fmt::Write) -> fmt::R... method disable_dimmed_if_ansi (line 110) | fn disable_dimmed_if_ansi(&self, writer: &mut dyn fmt::Write) -> fmt::... method format_event (line 151) | fn format_event( type FieldVisitor (line 122) | struct FieldVisitor { method record_str (line 129) | fn record_str(&mut self, field: &Field, value: &str) { method record_u64 (line 137) | fn record_u64(&mut self, field: &Field, value: u64) { method record_debug (line 143) | fn record_debug(&mut self, _field: &Field, _value: &dyn fmt::Debug) {} function init (line 262) | pub fn init() -> anyhow::Result<()> { type ReloadHandle (line 268) | pub enum ReloadHandle { method reload_env_filter (line 277) | fn reload_env_filter(&self, new_filter: EnvFilter) -> Result<(), reloa... method display_log_filter (line 285) | fn display_log_filter(&self) -> Result { function reload_global_env_filter (line 294) | pub fn reload_global_env_filter(new_filter: EnvFilter) -> anyhow::Result... function display_global_env_filter (line 304) | pub fn display_global_env_filter() -> anyhow::Result { type FormatDebugFn (line 314) | pub type FormatDebugFn = fn(&mut Writer, &Field, &dyn fmt::Debug) -> fmt... function format_into_debug_writer (line 316) | fn format_into_debug_writer( function init_with_config (line 336) | pub fn init_with_config(config: &LoggingConfig) -> anyhow::Result<()> { FILE: node/src/protocol.rs type Message (line 38) | pub(crate) enum Message { method new_get_request (line 169) | pub(crate) fn new_get_request(id: &T::Id) -> Result( method new_get_response_from_serialized (line 186) | pub(crate) fn new_get_response_from_serialized(tag: Tag, serialized_it... method message_kind (line 77) | fn message_kind(&self) -> MessageKind { method is_low_priority (line 99) | fn is_low_priority(&self) -> bool { method incoming_resource_estimate (line 117) | fn incoming_resource_estimate(&self, weights: &EstimatorWeights) -> u32 { method is_unsafe_for_syncing_peers (line 151) | fn is_unsafe_for_syncing_peers(&self) -> bool { method fmt (line 195) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { method largest_specimen (line 237) | fn largest_specimen(estimator: &E, cache: &mut Cache) ... method fmt (line 273) | fn fmt(&self, f: &mut Formatter) -> fmt::Result { method from_incoming (line 314) | fn from_incoming(sender: NodeId, payload: Message) -> Self { method try_demand_from_incoming (line 448) | fn try_demand_from_incoming( FILE: node/src/reactor.rs constant DEFAULT_DISPATCH_EVENT_THRESHOLD (line 99) | const DEFAULT_DISPATCH_EVENT_THRESHOLD: Duration = Duration::from_secs(1); constant DISPATCH_EVENT_THRESHOLD_ENV_VAR (line 100) | const DISPATCH_EVENT_THRESHOLD_ENV_VAR: &str = "CL_EVENT_MAX_MICROSECS"; constant POLL_INTERVAL (line 102) | const POLL_INTERVAL: Duration = Duration::from_millis(10); constant TARGET_OPEN_FILES_LIMIT (line 120) | const TARGET_OPEN_FILES_LIMIT: Limit = 64_000; function adjust_open_files_limit (line 124) | fn adjust_open_files_limit() { function adjust_open_files_limit (line 162) | fn adjust_open_files_limit() { type Scheduler (line 175) | pub(crate) type Scheduler = WeightedRoundRobin<(Option, ... type EventQueueHandle (line 183) | pub(crate) struct EventQueueHandle method clone (line 195) | fn clone(&self) -> Self { function new (line 203) | pub(crate) fn new(scheduler: &'static Scheduler, is_shutting_down: ... function without_shutdown (line 214) | pub(crate) fn without_shutdown(scheduler: &'static Scheduler) -> Se... function schedule (line 221) | pub(crate) async fn schedule(self, event: Ev, queue_kind: QueueKind) function schedule_with_ancestor (line 229) | pub(crate) async fn schedule_with_ancestor( function event_queues_counts (line 243) | pub(crate) fn event_queues_counts(&self) -> HashMap { function shutdown_flag (line 248) | pub(crate) fn shutdown_flag(&self) -> SharedFlag { type Reactor (line 256) | pub(crate) trait Reactor: Sized { method dispatch_event (line 276) | fn dispatch_event( method new (line 289) | fn new( method update_metrics (line 300) | fn update_metrics(&mut self, _event_queue_handle: EventQueueHandle Option<&ComponentState> { type ReactorEvent (line 320) | pub(crate) trait ReactorEvent: Send + Debug + From ... method is_control (line 322) | fn is_control(&self) -> bool; method try_into_control (line 327) | fn try_into_control(self) -> Option; method description (line 330) | fn description(&self) -> &'static str { type Finalize (line 339) | pub(crate) trait Finalize: Sized { method finalize (line 344) | fn finalize(self) -> BoxFuture<'static, ()> { type AllocatedMem (line 350) | struct AllocatedMem { type Runner (line 364) | pub(crate) struct Runner type RunnerMetrics (line 398) | struct RunnerMetrics { method new (line 415) | fn new(registry: &Registry) -> Result { method drop (line 474) | fn drop(&mut self) { function with_metrics (line 496) | pub(crate) async fn with_metrics( function crank (line 565) | pub(crate) async fn crank(&mut self, rng: &mut NodeRng) -> Option Option { function run (line 761) | pub(crate) async fn run(&mut self, rng: &mut NodeRng) -> ExitCode { type TryCrankOutcome (line 790) | pub(crate) enum TryCrankOutcome { function new (line 807) | pub(crate) async fn new( function effect_builder (line 829) | pub(crate) fn effect_builder(&self) -> EffectBuilder { function process_injected_effects (line 837) | pub(crate) async fn process_injected_effects(&mut self, create_effect... function try_crank (line 857) | pub(crate) async fn try_crank(&mut self, rng: &mut NodeRng) -> TryCrankO... function reactor (line 874) | pub(crate) fn reactor(&self) -> &R { function reactor_mut (line 879) | pub(crate) fn reactor_mut(&mut self) -> &mut R { function drain_into_inner (line 884) | pub(crate) async fn drain_into_inner(self) -> R { function crank_until (line 906) | pub(crate) async fn crank_until(&mut self, rng: &mut TestRng, conditi... function crank_and_check_indefinitely (line 923) | async fn crank_and_check_indefinitely(&mut self, rng: &mut TestRng) { function process_effects (line 949) | async fn process_effects( function wrap_effect (line 967) | fn wrap_effect(wrap: F, effect: Effect) -> Effect function wrap_effects (line 982) | pub(crate) fn wrap_effects(wrap: F, effects: Effects) ->... function handle_fetch_response (line 994) | fn handle_fetch_response( function handle_get_response (line 1019) | fn handle_get_response( FILE: node/src/reactor/event_queue_metrics.rs type EventQueueMetrics (line 14) | pub(super) struct EventQueueMetrics { method new (line 25) | pub(super) fn new( method record_event_queue_counts (line 60) | pub(super) fn record_event_queue_counts( method drop (line 86) | fn drop(&mut self) { FILE: node/src/reactor/main_reactor.rs type MainReactor (line 140) | pub(crate) struct MainReactor { type Event (line 209) | type Event = MainEvent; type Config (line 210) | type Config = WithDir; type Error (line 211) | type Error = Error; method dispatch_event (line 213) | fn dispatch_event( method new (line 1073) | fn new( method update_metrics (line 1313) | fn update_metrics(&mut self, event_queue_handle: EventQueueHandle &EraSupervisor { method storage (line 1802) | pub(crate) fn storage(&self) -> &Storage { method contract_runtime (line 1806) | pub(crate) fn contract_runtime(&self) -> &ContractRuntime { method node_id (line 1813) | fn node_id(&self) -> crate::types::NodeId { FILE: node/src/reactor/main_reactor/catch_up.rs type CatchUpInstruction (line 25) | pub(super) enum CatchUpInstruction { method catch_up_instruction (line 36) | pub(super) fn catch_up_instruction( method catch_up_process (line 70) | fn catch_up_process(&mut self) -> Either Either Either Option { FILE: node/src/reactor/main_reactor/config.rs type Config (line 19) | pub struct Config { method ensure_valid (line 61) | pub(crate) fn ensure_valid(&mut self, chainspec: &Chainspec) { method with_network_config (line 78) | pub(crate) fn with_network_config(mut self, network_config: NetworkCon... FILE: node/src/reactor/main_reactor/control.rs method crank (line 27) | pub(super) fn crank( method do_crank (line 47) | fn do_crank( method initialize_next_component (line 259) | fn initialize_next_component( method commit_genesis (line 342) | fn commit_genesis(&mut self, effect_builder: EffectBuilder) -... method upgrading_instruction (line 434) | fn upgrading_instruction(&self) -> UpgradingInstruction { method commit_upgrade (line 443) | fn commit_upgrade( method should_shutdown_for_upgrade (line 482) | pub(super) fn should_shutdown_for_upgrade(&self) -> bool { method should_commit_upgrade (line 505) | pub(super) fn should_commit_upgrade(&self) -> bool { method refresh_contract_runtime (line 518) | fn refresh_contract_runtime(&mut self) -> Result<(), String> { method initialize_contract_runtime (line 534) | fn initialize_contract_runtime( method update_last_progress (line 554) | pub(super) fn update_last_progress( method deactivate_consensus_voting (line 583) | fn deactivate_consensus_voting(&mut self) -> Result<(), String> { method switch_to_shutdown_for_upgrade (line 593) | fn switch_to_shutdown_for_upgrade(&mut self) { method get_local_tip_header (line 598) | fn get_local_tip_header(&self) -> Result, String> { FILE: node/src/reactor/main_reactor/error.rs type Error (line 17) | pub(crate) enum Error { method from (line 72) | fn from(err: bytesrepr::Error) -> Self { FILE: node/src/reactor/main_reactor/event.rs constant _MAIN_EVENT_SIZE (line 54) | const _MAIN_EVENT_SIZE: usize = size_of::(); type MainEvent (line 60) | pub(crate) enum MainEvent { method from (line 552) | fn from(request: SyncGlobalStateRequest) -> Self { method from (line 560) | fn from(request: TrieAccumulatorRequest) -> Self { method from (line 568) | fn from(event: GlobalStateSynchronizerEvent) -> Self { method from (line 574) | fn from(event: TrieAccumulatorEvent) -> Self { method from (line 582) | fn from(request: RestRequest) -> Self { method from (line 588) | fn from(request: NetworkRequest) -> Self { method from (line 594) | fn from(request: NetworkRequest>) -> Se... method from (line 600) | fn from(request: NetworkRequest>) -> Self { method from (line 606) | fn from(request: NetworkRequest... method from (line 612) | fn from(request: NetworkRequest>) -... method from (line 618) | fn from(request: ConsensusRequest) -> Self { method is_control (line 251) | fn is_control(&self) -> bool { method try_into_control (line 255) | fn try_into_control(self) -> Option { method description (line 264) | fn description(&self) -> &'static str { method fmt (line 368) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { FILE: node/src/reactor/main_reactor/fetchers.rs type Fetchers (line 18) | pub(super) struct Fetchers { method new (line 31) | pub(super) fn new( method dispatch_fetcher_event (line 56) | pub(super) fn dispatch_fetcher_event( FILE: node/src/reactor/main_reactor/genesis_instruction.rs type GenesisInstruction (line 5) | pub(super) enum GenesisInstruction { FILE: node/src/reactor/main_reactor/keep_up.rs type KeepUpInstruction (line 28) | pub(super) enum KeepUpInstruction { type SyncBackInstruction (line 38) | enum SyncBackInstruction { method fmt (line 50) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { method keep_up_instruction (line 64) | pub(super) fn keep_up_instruction( method keep_up_should_validate (line 117) | fn keep_up_should_validate( method keep_up_process (line 154) | fn keep_up_process(&mut self) -> Either Either { method keep_up_syncing (line 200) | fn keep_up_syncing( method keep_up_executing (line 211) | fn keep_up_executing( method keep_up_synced (line 220) | fn keep_up_synced( method keep_up_sync_instruction (line 232) | fn keep_up_sync_instruction( method sync_back_keep_up_instruction (line 284) | fn sync_back_keep_up_instruction( method try_read_validators_for_block_after_upgrade (line 331) | fn try_read_validators_for_block_after_upgrade( method sync_back_leap (line 404) | fn sync_back_leap( method sync_back_leap_failed (line 447) | fn sync_back_leap_failed( method sync_back_leaper_idle (line 466) | fn sync_back_leaper_idle( method sync_back_leap_received (line 499) | fn sync_back_leap_received( method sync_back_register (line 536) | fn sync_back_register( method sync_back_instruction (line 575) | fn sync_back_instruction( method synched (line 625) | fn synched( method sync_hash_and_era (line 672) | fn sync_hash_and_era( function synced_to_ttl (line 744) | pub(crate) fn synced_to_ttl( function is_timestamp_at_ttl (line 758) | fn is_timestamp_at_ttl( constant TWO_DAYS_SECS (line 774) | const TWO_DAYS_SECS: u32 = 60 * 60 * 24 * 2; constant MAX_TTL (line 775) | const MAX_TTL: TimeDiff = TimeDiff::from_seconds(86400); function should_be_at_ttl (line 778) | fn should_be_at_ttl() { function should_not_be_at_ttl (line 790) | fn should_not_be_at_ttl() { function should_detect_ttl_at_the_boundary (line 802) | fn should_detect_ttl_at_the_boundary() { function should_detect_ttl_at_genesis (line 832) | fn should_detect_ttl_at_genesis() { FILE: node/src/reactor/main_reactor/memory_metrics.rs type MemoryMetrics (line 10) | pub(super) struct MemoryMetrics { method new (line 41) | pub(super) fn new(registry: Registry) -> Result>; function main_reactor (line 56) | fn main_reactor(&self) -> &MainReactor { function node_has_lowest_available_block_at_or_below_height (line 63) | fn node_has_lowest_available_block_at_or_below_height( function is_ping (line 79) | fn is_ping(event: &MainEvent) -> bool { FILE: node/src/reactor/main_reactor/tests/auction.rs function run_withdraw_bid_network (line 14) | async fn run_withdraw_bid_network() { function should_error_on_validator_unbond_to_large (line 85) | async fn should_error_on_validator_unbond_to_large() { function run_undelegate_bid_network (line 147) | async fn run_undelegate_bid_network() { function run_redelegate_bid_network (line 269) | async fn run_redelegate_bid_network() { FILE: node/src/reactor/main_reactor/tests/binary_port.rs constant GUARANTEED_BLOCK_HEIGHT (line 53) | const GUARANTEED_BLOCK_HEIGHT: u64 = 4; constant TEST_DICT_NAME (line 55) | const TEST_DICT_NAME: &str = "test_dict"; constant TEST_DICT_ITEM_KEY (line 56) | const TEST_DICT_ITEM_KEY: &str = "test_key"; constant MESSAGE_SIZE (line 57) | const MESSAGE_SIZE: u32 = 1024 * 1024 * 10; type TestData (line 59) | struct TestData { function network_produced_blocks (line 70) | fn network_produced_blocks( function setup (line 85) | async fn setup() -> ( function test_effects (line 191) | fn test_effects(rng: &mut TestRng) -> TestEffects { type TestEffects (line 345) | struct TestEffects { type TestCase (line 358) | struct TestCase { function validate_metadata (line 364) | fn validate_metadata( function validate_deserialization (line 374) | fn validate_deserialization(response: &BinaryResponse) -> Option function assert_response (line 386) | fn assert_response( function binary_port_component_handles_all_requests (line 401) | async fn binary_port_component_handles_all_requests() { function block_header_info (line 541) | fn block_header_info(hash: BlockHash) -> TestCase { function block_with_signatures_info (line 557) | fn block_with_signatures_info(hash: BlockHash) -> TestCase { function peers (line 575) | fn peers() -> TestCase { function uptime (line 590) | fn uptime() -> TestCase { function last_progress (line 605) | fn last_progress() -> TestCase { function reactor_state (line 622) | fn reactor_state() -> TestCase { function network_name (line 639) | fn network_name() -> TestCase { function consensus_validator_changes (line 656) | fn consensus_validator_changes() -> TestCase { function block_synchronizer_status (line 673) | fn block_synchronizer_status() -> TestCase { function available_block_range (line 690) | fn available_block_range(expected_height: u64) -> TestCase { function next_upgrade (line 707) | fn next_upgrade() -> TestCase { function consensus_status (line 718) | fn consensus_status() -> TestCase { function chainspec_raw_bytes (line 735) | fn chainspec_raw_bytes(network_chainspec_raw_bytes: ChainspecRawBytes) -... function latest_switch_block_header (line 752) | fn latest_switch_block_header() -> TestCase { function node_status (line 767) | fn node_status(expected_version: ProtocolVersion) -> TestCase { function get_block_header (line 794) | fn get_block_header(expected: BlockHeader) -> TestCase { function get_block_transfers (line 809) | fn get_block_transfers(expected: BlockHeader) -> TestCase { function get_era_summary (line 823) | fn get_era_summary(state_root_hash: Digest) -> TestCase { function get_all_bids (line 846) | fn get_all_bids(state_root_hash: Digest) -> TestCase { function get_trie (line 865) | fn get_trie(digest: Digest) -> TestCase { function get_dictionary_item_by_addr (line 879) | fn get_dictionary_item_by_addr(state_root_hash: Digest, addr: Dictionary... function get_dictionary_item_by_seed_uref (line 903) | fn get_dictionary_item_by_seed_uref( function get_dictionary_item_by_legacy_named_key (line 935) | fn get_dictionary_item_by_legacy_named_key( function get_dictionary_item_by_named_key (line 963) | fn get_dictionary_item_by_named_key( function get_balance (line 991) | fn get_balance(state_root_hash: Digest, account_hash: AccountHash) -> Te... function get_balance_account_not_found (line 1010) | fn get_balance_account_not_found(state_root_hash: Digest) -> TestCase { function get_balance_purse_uref_not_found (line 1023) | fn get_balance_purse_uref_not_found(state_root_hash: Digest) -> TestCase { function get_named_keys_by_prefix (line 1036) | fn get_named_keys_by_prefix(state_root_hash: Digest, entity_addr: Entity... function get_reward (line 1055) | fn get_reward( function get_protocol_version (line 1081) | fn get_protocol_version(expected: ProtocolVersion) -> TestCase { function get_entity (line 1100) | fn get_entity(state_root_hash: Digest, entity_addr: EntityAddr) -> TestC... function get_entity_without_bytecode (line 1123) | fn get_entity_without_bytecode(state_root_hash: Digest, entity_addr: Ent... function get_entity_pre_migration_account (line 1146) | fn get_entity_pre_migration_account( function get_entity_post_migration_account (line 1172) | fn get_entity_post_migration_account( function get_entity_pre_migration_contract (line 1198) | fn get_entity_pre_migration_contract( function get_entity_post_migration_contract (line 1224) | fn get_entity_post_migration_contract( function get_package (line 1250) | fn get_package(state_root_hash: Digest, package_addr: PackageAddr) -> Te... function get_package_pre_migration (line 1272) | fn get_package_pre_migration( function get_package_post_migration (line 1297) | fn get_package_post_migration( function try_accept_transaction (line 1322) | fn try_accept_transaction(key: &SecretKey) -> TestCase { function try_accept_transaction_invalid (line 1341) | fn try_accept_transaction_invalid(rng: &mut TestRng) -> TestCase { function try_spec_exec_invalid (line 1350) | fn try_spec_exec_invalid(rng: &mut TestRng) -> TestCase { function binary_port_component_rejects_requests_with_invalid_header_version (line 1360) | async fn binary_port_component_rejects_requests_with_invalid_header_vers... FILE: node/src/reactor/main_reactor/tests/configs_override.rs type ConfigsOverride (line 13) | pub(crate) struct ConfigsOverride { method with_refund_handling (line 44) | pub(crate) fn with_refund_handling(mut self, refund_handling: RefundHa... method with_fee_handling (line 49) | pub(crate) fn with_fee_handling(mut self, fee_handling: FeeHandling) -... method with_pricing_handling (line 54) | pub(crate) fn with_pricing_handling(mut self, pricing_handling: Pricin... method with_allow_prepaid (line 60) | pub(crate) fn with_allow_prepaid(mut self, allow_prepaid: bool) -> Self { method with_balance_hold_interval (line 65) | pub(crate) fn with_balance_hold_interval(mut self, balance_hold_interv... method with_min_gas_price (line 70) | pub(crate) fn with_min_gas_price(mut self, min_gas_price: u8) -> Self { method with_max_gas_price (line 75) | pub(crate) fn with_max_gas_price(mut self, max_gas_price: u8) -> Self { method with_lower_threshold (line 80) | pub(crate) fn with_lower_threshold(mut self, lower_threshold: u64) -> ... method with_upper_threshold (line 85) | pub(crate) fn with_upper_threshold(mut self, upper_threshold: u64) -> ... method with_block_size (line 90) | pub(crate) fn with_block_size(mut self, max_block_size: u32) -> Self { method with_block_gas_limit (line 95) | pub(crate) fn with_block_gas_limit(mut self, block_gas_limit: u64) -> ... method with_minimum_era_height (line 100) | pub(crate) fn with_minimum_era_height(mut self, minimum_era_height: u6... method with_administrators (line 105) | pub(crate) fn with_administrators(mut self, administrators: BTreeSet Self { method with_gas_hold_balance_handling (line 115) | pub(crate) fn with_gas_hold_balance_handling( method with_transaction_v1_config (line 123) | pub(crate) fn with_transaction_v1_config( method with_minimum_delegation_rate (line 131) | pub(crate) fn with_minimum_delegation_rate(mut self, minimum_delegatio... method default (line 138) | fn default() -> Self { type NodeConfigOverride (line 172) | pub(crate) struct NodeConfigOverride { FILE: node/src/reactor/main_reactor/tests/consensus_rules.rs function run_equivocator_network (line 26) | async fn run_equivocator_network() { function empty_proposed_block_validation_regression (line 235) | async fn empty_proposed_block_validation_regression() { FILE: node/src/reactor/main_reactor/tests/fixture.rs type NodeContext (line 48) | pub(crate) struct NodeContext { type TestFixture (line 55) | pub(crate) struct TestFixture { method new (line 68) | pub(crate) async fn new( method new_with_rng (line 76) | pub(crate) async fn new_with_rng( method new_with_keys (line 114) | pub(crate) async fn new_with_keys( method rng_mut (line 270) | pub(crate) fn rng_mut(&mut self) -> &mut TestRng { method highest_complete_block (line 278) | pub(crate) fn highest_complete_block(&self) -> Block { method get_block_by_height (line 296) | pub(crate) fn get_block_by_height(&self, block_height: u64) -> Block { method get_block_gas_price_by_public_key (line 314) | pub(crate) fn get_block_gas_price_by_public_key( method switch_block (line 352) | pub(crate) fn switch_block(&self, era: EraId) -> BlockV2 { method create_node_config (line 370) | pub(crate) fn create_node_config( method add_node (line 430) | pub(crate) async fn add_node( method remove_and_stop_node (line 458) | pub(crate) fn remove_and_stop_node(&mut self, index: usize) -> NodeCon... method try_run_until (line 469) | pub(crate) async fn try_run_until( method run_until (line 485) | pub(crate) async fn run_until(&mut self, condition: F, within: Dura... method try_run_until_block_height (line 497) | pub(crate) async fn try_run_until_block_height( method run_until_block_height (line 522) | pub(crate) async fn run_until_block_height(&mut self, block_height: u6... method run_until_consensus_in_era (line 537) | pub(crate) async fn run_until_consensus_in_era(&mut self, era_id: EraI... method try_until_consensus_in_era (line 550) | pub(crate) async fn try_until_consensus_in_era( method run_until_stored_switch_block_header (line 570) | pub(crate) async fn run_until_stored_switch_block_header( method try_until_stored_switch_block_header (line 588) | pub(crate) async fn try_until_stored_switch_block_header( method run_until_executed_transaction (line 619) | pub(crate) async fn run_until_executed_transaction( method schedule_upgrade_for_era_two (line 665) | pub(crate) async fn schedule_upgrade_for_era_two(&mut self) { method check_bid_existence_at_tip (line 682) | pub(crate) fn check_bid_existence_at_tip( method system_contract_hash (line 737) | pub(crate) fn system_contract_hash(&self, system_contract_name: &str) ... method get_current_era_price (line 779) | pub(crate) fn get_current_era_price(&self) -> u8 { method check_account_balance_hold_at_tip (line 793) | pub(crate) fn check_account_balance_hold_at_tip(&self, account_public_... method inject_transaction (line 832) | pub(crate) async fn inject_transaction(&mut self, txn: Transaction) { method successful_execution_transforms (line 858) | pub(crate) fn successful_execution_transforms( method transaction_execution_result (line 894) | pub(crate) fn transaction_execution_result( method network_mut (line 914) | pub(crate) fn network_mut(&mut self) -> &mut TestingNetwork SwitchBlocks { method equivocators (line 38) | pub(crate) fn equivocators(&self, era_number: u64) -> &[PublicKey] { method inactive_validators (line 45) | pub(crate) fn inactive_validators(&self, era_number: u64) -> &[PublicK... method next_era_validators (line 52) | pub(crate) fn next_era_validators(&self, era_number: u64) -> &BTreeMap... method bids (line 59) | pub(crate) fn bids(&self, nodes: &Nodes, era_number: u64) -> Vec Self { method assert (line 24) | async fn assert(&self, snapshots_at_heights: BTreeMap Self { method expected_error_message (line 47) | pub(crate) fn expected_error_message(hash: TransactionHash, error_mess... method assert (line 57) | async fn assert(&self, snapshots_at_heights: BTreeMap S... method assert (line 130) | async fn assert(&self, snapshots_at_heights: BTreeMap Self { method assert (line 240) | async fn assert(&self, snapshots_at_heights: BTreeMap Result<(), Tes... type TestScenarioError (line 67) | pub(crate) enum TestScenarioError { type ScenarioDataInstance (line 73) | struct ScenarioDataInstance { method inject_transaction (line 79) | pub(crate) async fn inject_transaction(&mut self, txn: Transaction) { method run_until_executed_transaction (line 83) | pub(crate) async fn run_until_executed_transaction( type Assertion (line 95) | pub(crate) trait Assertion: Send + Sync { method assert (line 96) | async fn assert(&self, snapshots_at_heights: BTreeMap Result<(), TestScenarioError> { method run (line 127) | pub(crate) async fn run( method run_until (line 158) | pub(crate) async fn run_until( method chain_name (line 165) | pub(crate) fn chain_name(&self) -> String { method assert (line 169) | pub(crate) async fn assert(&mut self, assertion: T) { method get_state_at_height (line 181) | async fn get_state_at_height(&self, block_height: u64) -> TestStateSna... method get_current_state (line 209) | async fn get_current_state(&self) -> TestStateSnapshot { method get_all_accounts (line 215) | async fn get_all_accounts(&self, block_height: u64) -> Vec { method get_balance (line 241) | pub(crate) fn get_balance( method get_balance_amount (line 282) | async fn get_balance_amount( method get_total_supply (line 302) | async fn get_total_supply(&self, block_height: u64) -> U512 { method mint_const_transfer_cost (line 328) | pub(crate) fn mint_const_transfer_cost(&self) -> u32 { method native_transfer_minimum_motes (line 337) | pub(crate) fn native_transfer_minimum_motes(&self) -> u64 { method get_gas_limit_for_lane (line 345) | pub(crate) fn get_gas_limit_for_lane(&self, lane_id: u8) -> Option { method get_block_height (line 355) | pub(crate) fn get_block_height(&self) -> u64 { type StakesType (line 360) | type StakesType = Option<(Vec>, BTreeMap Self { method build (line 379) | pub async fn build(self, rng: &mut TestRng) -> TestScenario { method with_refund_handling (line 455) | pub fn with_refund_handling(mut self, refund_handling: RefundHandling)... method with_fee_handling (line 460) | pub(crate) fn with_fee_handling(mut self, fee_handling: FeeHandling) -... method with_balance_hold_interval (line 465) | pub(crate) fn with_balance_hold_interval(mut self, balance_hold_interv... method with_minimum_era_height (line 470) | pub(crate) fn with_minimum_era_height(mut self, minimum_era_height: u6... method with_minimum_delegation_rate (line 475) | pub(crate) fn with_minimum_delegation_rate(mut self, minimum_delegatio... function build_wasm_transction (line 481) | pub(super) fn build_wasm_transction( FILE: node/src/reactor/main_reactor/tests/transactions.rs constant DO_NOTHING_WASM_EXECUTION_GAS (line 50) | const DO_NOTHING_WASM_EXECUTION_GAS: u64 = 117720_u64; constant MIN_GAS_PRICE (line 51) | pub(crate) const MIN_GAS_PRICE: u8 = 1; constant CHAIN_NAME (line 52) | const CHAIN_NAME: &str = "single-transaction-test-net"; type SingleTransactionTestCase (line 54) | struct SingleTransactionTestCase { method default_test_config (line 77) | fn default_test_config() -> ConfigsOverride { method new (line 84) | async fn new( method new_with_stakes (line 117) | async fn new_with_stakes( method chainspec (line 145) | fn chainspec(&self) -> &Chainspec { method get_balances (line 149) | fn get_balances( method send_transaction (line 199) | async fn send_transaction( method get_total_supply (line 226) | fn get_total_supply(&mut self, block_height: Option) -> U512 { method get_accumulate_purse_balance (line 258) | fn get_accumulate_purse_balance( type BalanceAmount (line 62) | pub(crate) struct BalanceAmount { method zero (line 68) | pub(crate) fn zero() -> Self { function transfer_to_account (line 298) | async fn transfer_to_account>( function send_add_bid (line 345) | async fn send_add_bid>( function send_wasm_transaction (line 391) | async fn send_wasm_transaction( function get_main_purse (line 440) | fn get_main_purse(fixture: &mut TestFixture, account_key: &PublicKey) ->... function get_balance (line 470) | pub(crate) fn get_balance( function get_bids (line 510) | fn get_bids(fixture: &mut TestFixture, block_height: Option) -> Opt... function get_payment_purse_balance (line 535) | fn get_payment_purse_balance( function get_entity_addr_from_account_hash (line 568) | fn get_entity_addr_from_account_hash( function get_entity (line 606) | fn get_entity( function get_entity_named_key (line 642) | fn get_entity_named_key( function query_global_state (line 695) | fn query_global_state( function get_entity_by_account_hash (line 712) | fn get_entity_by_account_hash( function assert_exec_result_cost (line 737) | pub(crate) fn assert_exec_result_cost( function exec_result_is_success (line 759) | pub fn exec_result_is_success(exec_result: &ExecutionResult) -> bool { function should_accept_transfer_without_id (line 768) | async fn should_accept_transfer_without_id() { function should_native_transfer_nofee_norefund_fixed (line 801) | async fn should_native_transfer_nofee_norefund_fixed() { function erroneous_native_transfer_nofee_norefund_fixed (line 915) | async fn erroneous_native_transfer_nofee_norefund_fixed() { function should_native_transfer_nofee_norefund_payment_limited (line 997) | async fn should_native_transfer_nofee_norefund_payment_limited() { function should_native_auction_with_nofee_norefund_payment_limited (line 1109) | async fn should_native_auction_with_nofee_norefund_payment_limited() { function should_reject_threshold_below_min_gas_price (line 1201) | async fn should_reject_threshold_below_min_gas_price() { function should_not_overcharge_native_operations_fixed (line 1235) | async fn should_not_overcharge_native_operations_fixed() { function should_cancel_refund_for_erroneous_wasm (line 1342) | async fn should_cancel_refund_for_erroneous_wasm() { function should_refund_ratio_of_unconsumed_gas_fixed (line 1433) | async fn should_refund_ratio_of_unconsumed_gas_fixed() { function should_not_refund_erroneous_wasm_burn (line 1519) | async fn should_not_refund_erroneous_wasm_burn(txn_pricing_mode: Pricing... function should_burn_refunds (line 1599) | async fn should_burn_refunds(txn_pricing_mode: PricingMode) { function should_burn_refunds_fixed (line 1690) | async fn should_burn_refunds_fixed() { function should_burn_refunds_payment_limited (line 1699) | async fn should_burn_refunds_payment_limited() { function should_not_refund_erroneous_wasm_burn_fixed (line 1709) | async fn should_not_refund_erroneous_wasm_burn_fixed() { function should_not_refund_erroneous_wasm_burn_payment_limited (line 1718) | async fn should_not_refund_erroneous_wasm_burn_payment_limited() { function should_burn_refund_nofee (line 1727) | async fn should_burn_refund_nofee(txn_pricing_mode: PricingMode) { function should_burn_refund_nofee_fixed (line 1812) | async fn should_burn_refund_nofee_fixed() { function should_burn_refund_nofee_payment_limited (line 1821) | async fn should_burn_refund_nofee_payment_limited() { function should_burn_fee_and_burn_refund (line 1830) | async fn should_burn_fee_and_burn_refund(txn_pricing_mode: PricingMode) { function should_burn_fee_and_burn_refund_fixed (line 1910) | async fn should_burn_fee_and_burn_refund_fixed() { function should_burn_fee_and_burn_refund_payment_limited (line 1919) | async fn should_burn_fee_and_burn_refund_payment_limited() { function should_burn_fee_erroneous_wasm (line 1928) | async fn should_burn_fee_erroneous_wasm(txn_pricing_mode: PricingMode) { function should_burn_fee_erroneous_wasm_fixed (line 2015) | async fn should_burn_fee_erroneous_wasm_fixed() { function should_burn_fee_erroneous_wasm_payment_limited (line 2024) | async fn should_burn_fee_erroneous_wasm_payment_limited() { function should_refund_unconsumed_and_gas_hold_fee (line 2033) | async fn should_refund_unconsumed_and_gas_hold_fee(txn_pricing_mode: Pri... function should_refund_unconsumed_and_gas_hold_fee_fixed (line 2111) | async fn should_refund_unconsumed_and_gas_hold_fee_fixed() { function should_refund_unconsumed_and_gas_hold_fee_payment_limited (line 2120) | async fn should_refund_unconsumed_and_gas_hold_fee_payment_limited() { function should_gas_hold_fee_erroneous_wasm (line 2129) | async fn should_gas_hold_fee_erroneous_wasm(txn_pricing_mode: PricingMod... function should_gas_hold_fee_erroneous_wasm_fixed (line 2218) | async fn should_gas_hold_fee_erroneous_wasm_fixed() { function should_gas_hold_fee_erroneous_wasm_payment_limited (line 2227) | async fn should_gas_hold_fee_erroneous_wasm_payment_limited() { function should_burn_fee_refund_unconsumed_custom_payment (line 2237) | async fn should_burn_fee_refund_unconsumed_custom_payment() { function should_allow_norefund_nofee_custom_payment (line 2338) | async fn should_allow_norefund_nofee_custom_payment() { function transfer_fee_is_burnt_no_refund (line 2446) | async fn transfer_fee_is_burnt_no_refund(txn_pricing_mode: PricingMode) { function transfer_fee_is_burnt_no_refund_fixed_pricing (line 2542) | async fn transfer_fee_is_burnt_no_refund_fixed_pricing() { function transfer_fee_is_burnt_no_refund_payment_limited_pricing (line 2551) | async fn transfer_fee_is_burnt_no_refund_payment_limited_pricing() { function fee_ptp_no_refund (line 2561) | async fn fee_ptp_no_refund(txn_pricing_mode: PricingMode) { function fee_ptp_norefund_fixed_pricing (line 2661) | async fn fee_ptp_norefund_fixed_pricing() { function fee_ptp_norefund_payment_limited (line 2670) | async fn fee_ptp_norefund_payment_limited() { function erroneous_wasm_transaction_no_refund (line 2679) | async fn erroneous_wasm_transaction_no_refund(txn_pricing_mode: PricingM... function wasm_transaction_ptp_fee_and_refund (line 2759) | async fn wasm_transaction_ptp_fee_and_refund(txn_pricing_mode: PricingMo... function erroneous_wasm_transaction_norefund_fixed_pricing (line 2847) | async fn erroneous_wasm_transaction_norefund_fixed_pricing() { function wasm_transaction_refund_fixed_pricing (line 2856) | async fn wasm_transaction_refund_fixed_pricing() { function wasm_transaction_payment_limited_refund (line 2865) | async fn wasm_transaction_payment_limited_refund() { function fee_is_accumulated_and_distributed_no_refund (line 2874) | async fn fee_is_accumulated_and_distributed_no_refund(txn_pricing_mode: ... function fee_is_accumulated_and_distributed_no_refund_fixed_pricing (line 3003) | async fn fee_is_accumulated_and_distributed_no_refund_fixed_pricing() { function fee_is_accumulated_and_distributed_no_refund_payment_limited_pricing (line 3012) | async fn fee_is_accumulated_and_distributed_no_refund_payment_limited_pr... function transfer_txn (line 3021) | fn transfer_txn>( function invalid_wasm_txn (line 3040) | pub(crate) fn invalid_wasm_txn( function valid_wasm_txn (line 3065) | fn valid_wasm_txn(initiator: Arc, pricing_mode: PricingMode) ... function match_pricing_mode (line 3089) | fn match_pricing_mode(txn_pricing_mode: &PricingMode) -> (PricingHandlin... function holds_should_be_added_and_cleared_fixed_pricing (line 3109) | async fn holds_should_be_added_and_cleared_fixed_pricing() { function holds_should_be_added_and_cleared_payment_limited_pricing (line 3118) | async fn holds_should_be_added_and_cleared_payment_limited_pricing() { function holds_should_be_added_and_cleared (line 3127) | async fn holds_should_be_added_and_cleared(txn_pricing_mode: PricingMode) { function fee_holds_are_amortized (line 3224) | async fn fee_holds_are_amortized() { function sufficient_balance_is_available_after_amortization (line 3347) | async fn sufficient_balance_is_available_after_amortization() { function validator_credit_is_written_and_cleared_after_auction (line 3494) | async fn validator_credit_is_written_and_cleared_after_auction() { function add_and_withdraw_bid_transaction (line 3584) | async fn add_and_withdraw_bid_transaction() { function delegate_and_undelegate_bid_transaction (line 3645) | async fn delegate_and_undelegate_bid_transaction() { function insufficient_funds_transfer_from_account (line 3702) | async fn insufficient_funds_transfer_from_account() { function insufficient_funds_add_bid (line 3741) | async fn insufficient_funds_add_bid() { function insufficient_funds_transfer_from_purse (line 3788) | async fn insufficient_funds_transfer_from_purse() { function insufficient_funds_when_caller_lacks_minimum_balance (line 3873) | async fn insufficient_funds_when_caller_lacks_minimum_balance() { function charge_when_session_code_succeeds (line 3916) | async fn charge_when_session_code_succeeds() { function charge_when_session_code_fails_with_user_error (line 3987) | async fn charge_when_session_code_fails_with_user_error() { function charge_when_session_code_runs_out_of_gas (line 4055) | async fn charge_when_session_code_runs_out_of_gas() { function successful_purse_to_purse_transfer (line 4123) | async fn successful_purse_to_purse_transfer() { function successful_purse_to_account_transfer (line 4226) | async fn successful_purse_to_account_transfer() { function bob_transfers_to_charlie_via_native_transfer_deploy (line 4320) | async fn bob_transfers_to_charlie_via_native_transfer_deploy( function should_transfer_with_source_purse_deploy_fixed_norefund_nofee (line 4366) | async fn should_transfer_with_source_purse_deploy_fixed_norefund_nofee() { function should_transfer_with_source_purse_deploy_payment_limited_refund_fee (line 4383) | async fn should_transfer_with_source_purse_deploy_payment_limited_refund... function should_charge_for_insufficient_funds_deploy_payment_limited_refund_fee (line 4406) | async fn should_charge_for_insufficient_funds_deploy_payment_limited_ref... function should_charge_for_marginal_insufficient_funds_deploy_payment_limited_refund_fee (line 4459) | async fn should_charge_for_marginal_insufficient_funds_deploy_payment_li... function make_new_account_and_exec_wasm (line 4540) | async fn make_new_account_and_exec_wasm( function should_charge_new_account_insufficient_funds_deploy_payment_limited_refund_fee (line 4603) | async fn should_charge_new_account_insufficient_funds_deploy_payment_lim... function should_charge_new_account_insufficient_funds_deploy_payment_limited_refund_fee_price_2 (line 4639) | async fn should_charge_new_account_insufficient_funds_deploy_payment_lim... function should_transfer_with_main_purse_deploy_fixed_norefund_nofee (line 4677) | async fn should_transfer_with_main_purse_deploy_fixed_norefund_nofee() { function should_transfer_with_main_purse_deploy_payment_limited_refund_fee (line 4694) | async fn should_transfer_with_main_purse_deploy_payment_limited_refund_f... function out_of_gas_txn_does_not_produce_effects (line 4717) | async fn out_of_gas_txn_does_not_produce_effects() { function gas_holds_accumulate_for_multiple_transactions_in_the_same_block (line 4785) | async fn gas_holds_accumulate_for_multiple_transactions_in_the_same_bloc... function gh_5058_regression_custom_payment_with_deploy_variant_works (line 4974) | async fn gh_5058_regression_custom_payment_with_deploy_variant_works() { function should_penalize_failed_custom_payment (line 5047) | async fn should_penalize_failed_custom_payment() { function gh_5082_install_upgrade_should_allow_adding_new_version (line 5127) | async fn gh_5082_install_upgrade_should_allow_adding_new_version() { function should_allow_custom_payment (line 5218) | async fn should_allow_custom_payment() { function should_allow_native_transfer_v1 (line 5297) | async fn should_allow_native_transfer_v1() { function should_allow_native_burn (line 5346) | async fn should_allow_native_burn() { function should_not_allow_unverified_native_burn (line 5387) | async fn should_not_allow_unverified_native_burn() { type SizingScenario (line 5436) | enum SizingScenario { function run_sizing_scenario (line 5441) | async fn run_sizing_scenario(sizing_scenario: SizingScenario) { function should_correctly_assign_wasm_deploys_in_lanes_for_payment_limited_by_gas_limit (line 5655) | async fn should_correctly_assign_wasm_deploys_in_lanes_for_payment_limit... function should_correctly_assign_wasm_deploys_in_lanes_for_payment_limited_by_serialized_length (line 5660) | async fn should_correctly_assign_wasm_deploys_in_lanes_for_payment_limit... function should_assign_deploy_to_largest_lane_by_payment_amount_only_in_payment_limited (line 5665) | async fn should_assign_deploy_to_largest_lane_by_payment_amount_only_in_... FILE: node/src/reactor/main_reactor/upgrade_shutdown.rs constant DELAY_BEFORE_SHUTDOWN (line 16) | const DELAY_BEFORE_SHUTDOWN: Duration = Duration::from_secs(2); type SignatureGossipTracker (line 19) | pub(super) struct SignatureGossipTracker { method new (line 25) | pub(super) fn new() -> Self { method register_signature (line 32) | pub(super) fn register_signature(&mut self, signature_id: Box NonZeroUsize { method weights (line 118) | pub(crate) fn weights() -> Vec<(Self, NonZeroUsize)> { method metrics_name (line 124) | pub(crate) fn metrics_name(&self) -> &str { method fmt (line 64) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { FILE: node/src/testing.rs constant FATAL_GRACE_TIME (line 52) | const FATAL_GRACE_TIME: time::Duration = time::Duration::from_secs(3); constant TEST_PORT_RANGE (line 60) | const TEST_PORT_RANGE: Range = { constant TEST_PORT_RANGE (line 72) | const TEST_PORT_RANGE: Range = 60001..60998; constant TEST_PORT_STRIDE (line 75) | const TEST_PORT_STRIDE: u16 = 29; constant LARGE_WASM_LANE_ID (line 77) | pub(crate) const LARGE_WASM_LANE_ID: u8 = 3; function unused_port_on_localhost (line 113) | pub(crate) fn unused_port_on_localhost() -> u16 { function init_logging (line 135) | pub(crate) fn init_logging() { type ComponentHarness (line 151) | pub(crate) struct ComponentHarness { type ComponentHarnessBuilder (line 165) | pub(crate) struct ComponentHarnessBuilder { function build (line 177) | pub(crate) fn build(self) -> ComponentHarness { function on_disk (line 182) | pub(crate) fn on_disk(mut self, on_disk: TempDir) -> ComponentHarnessBui... function rng (line 188) | pub(crate) fn rng(mut self, rng: TestRng) -> ComponentHarnessBuilder { function try_build (line 197) | pub(crate) fn try_build(self) -> anyhow::Result> { function builder (line 227) | pub(crate) fn builder() -> ComponentHarnessBuilder { function into_parts (line 236) | pub(crate) fn into_parts(self) -> (TempDir, TestRng) { function is_idle (line 241) | pub(crate) fn is_idle(&self) -> bool { function send_request (line 249) | pub(crate) fn send_request(&mut self, component: &mut C, f: F) ... function send_event (line 346) | pub(crate) fn send_event(&mut self, component: &mut C, ev: C::Event) ... method default (line 355) | fn default() -> Self { type UnitTestEvent (line 365) | pub(crate) enum UnitTestEvent { method is_control (line 377) | fn is_control(&self) -> bool { method try_into_control (line 384) | fn try_into_control(self) -> Option { function advance_time (line 396) | pub(crate) async fn advance_time(duration: time::Duration) { function assert_schema (line 406) | pub fn assert_schema(schema_path: String, actual_schema: String) { function default_works_without_panicking_for_component_harness (line 439) | fn default_works_without_panicking_for_component_harness() { function can_generate_at_least_100_unused_ports (line 444) | fn can_generate_at_least_100_unused_ports() { FILE: node/src/testing/condition_check_reactor.rs type ConditionChecker (line 20) | type ConditionChecker = Box::Event) -> bool + ... type ConditionCheckReactor (line 30) | pub(crate) struct ConditionCheckReactor { function set_condition_checker (line 38) | pub(crate) fn set_condition_checker(&mut self, condition_checker: Condit... function condition_result (line 44) | pub(crate) fn condition_result(&self) -> bool { function inner (line 49) | pub(crate) fn inner(&self) -> &R { function inner_mut (line 54) | pub(crate) fn inner_mut(&mut self) -> &mut R { type Event (line 60) | type Event = R::Event; type Config (line 61) | type Config = R::Config; type Error (line 62) | type Error = R::Error; method new (line 64) | fn new( method dispatch_event (line 92) | fn dispatch_event( method get_component_state (line 109) | fn get_component_state(&self, name: &str) -> Option<&ComponentState> { method finalize (line 115) | fn finalize(self) -> BoxFuture<'static, ()> { method node_id (line 121) | fn node_id(&self) -> NodeId { method fmt (line 127) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { FILE: node/src/testing/fake_transaction_acceptor.rs constant COMPONENT_NAME (line 28) | const COMPONENT_NAME: &str = "fake_transaction_acceptor"; type ReactorEventT (line 30) | pub(crate) trait ReactorEventT: type FakeTransactionAcceptor (line 41) | pub struct FakeTransactionAcceptor { method new (line 47) | pub(crate) fn new() -> Self { method set_active (line 54) | pub(crate) fn set_active(&mut self, new_setting: bool) { method accept (line 58) | fn accept( method handle_put_to_storage (line 86) | fn handle_put_to_storage( type Event (line 116) | type Event = Event; method handle_event (line 118) | fn handle_event( method name (line 147) | fn name(&self) -> &str { FILE: node/src/testing/filter_reactor.rs type EventFilter (line 22) | pub(crate) trait EventFilter: type FilterReactor (line 30) | pub(crate) struct FilterReactor { function set_filter (line 38) | pub(crate) fn set_filter(&mut self, filter: impl EventFilter) { function inner (line 43) | pub(crate) fn inner(&self) -> &R { function inner_mut (line 47) | pub(crate) fn inner_mut(&mut self) -> &mut R { type Event (line 53) | type Event = R::Event; type Config (line 54) | type Config = R::Config; type Error (line 55) | type Error = R::Error; method new (line 57) | fn new( method dispatch_event (line 79) | fn dispatch_event( method activate_failpoint (line 91) | fn activate_failpoint(&mut self, activation: &FailpointActivation) { method finalize (line 97) | fn finalize(self) -> BoxFuture<'static, ()> { method node_id (line 103) | fn node_id(&self) -> NodeId { method fmt (line 109) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { FILE: node/src/testing/network.rs type Nodes (line 38) | pub(crate) type Nodes = HashMap NodeId { constant POLL_INTERVAL (line 58) | const POLL_INTERVAL: Duration = Duration::from_millis(10); type TestingNetwork (line 66) | pub(crate) struct TestingNetwork { function add_node (line 85) | pub(crate) async fn add_node<'a, 'b: 'a>( function add_nodes (line 93) | pub(crate) async fn add_nodes(&mut self, rng: &mut TestRng, count: usize... function new (line 110) | pub(crate) fn new() -> Self { function add_node_with_config (line 121) | pub(crate) async fn add_node_with_config<'a, 'b: 'a>( function add_node_with_config_and_chainspec (line 142) | pub(crate) async fn add_node_with_config_and_chainspec<'a, 'b: 'a>( function remove_node (line 167) | pub(crate) fn remove_node( function crank (line 175) | pub(crate) async fn crank(&mut self, node_id: &NodeId, rng: &mut TestRng... function crank_until (line 189) | pub(crate) async fn crank_until( function crank_all (line 208) | async fn crank_all(&mut self, rng: &mut TestRng) -> usize { function crank_all_until (line 235) | pub(crate) async fn crank_all_until( function crank_and_check_all_indefinitely (line 255) | async fn crank_and_check_all_indefinitely( function settle (line 296) | pub(crate) async fn settle( function settle_indefinitely (line 312) | async fn settle_indefinitely(&mut self, rng: &mut TestRng, quiet_for: Du... function try_settle_on (line 337) | pub(crate) async fn try_settle_on( function settle_on (line 355) | pub(crate) async fn settle_on(&mut self, rng: &mut TestRng, condition... function settle_on_indefinitely (line 369) | async fn settle_on_indefinitely(&mut self, rng: &mut TestRng, conditi... function settle_on_exit (line 391) | pub(crate) async fn settle_on_exit( function settle_on_node_exit (line 406) | pub(crate) async fn settle_on_node_exit( function _settle_on_component_state (line 430) | pub(crate) async fn _settle_on_component_state( function crank_until_stopped (line 456) | pub(crate) fn crank_until_stopped( function settle_on_exit_indefinitely (line 483) | async fn settle_on_exit_indefinitely(&mut self, rng: &mut TestRng, expec... function settle_on_node_exit_indefinitely (line 523) | async fn settle_on_node_exit_indefinitely( function nodes (line 564) | pub(crate) fn nodes(&self) -> &HashMap &mut HashMap impl Iterator { function process_injected_effect_on (line 590) | pub(crate) async fn process_injected_effect_on( method finalize (line 612) | fn finalize(self) -> BoxFuture<'static, ()> { FILE: node/src/testing/test_clock.rs constant TEST_CLOCK_LEEWAY (line 14) | const TEST_CLOCK_LEEWAY: Duration = Duration::from_secs(315_569_520); type TestClock (line 18) | pub struct TestClock { method new (line 33) | pub fn new() -> Self { method now (line 40) | pub fn now(&self) -> Instant { method advance (line 45) | pub fn advance(&mut self, duration: Duration) { method rewind (line 50) | pub fn rewind(&mut self, duration: Duration) { method advance_time (line 55) | pub fn advance_time(&mut self, ms: u64) { method default (line 24) | fn default() -> Self { function test_clock_operation (line 67) | fn test_clock_operation() { FILE: node/src/tls.rs constant SIGNATURE_ALGORITHM (line 67) | const SIGNATURE_ALGORITHM: Nid = Nid::ECDSA_WITH_SHA512; constant SIGNATURE_CURVE (line 70) | const SIGNATURE_CURVE: Nid = Nid::SECP521R1; constant SIGNATURE_DIGEST (line 73) | const SIGNATURE_DIGEST: Nid = Nid::SHA512; type SslResult (line 78) | type SslResult = Result; type Sha512 (line 82) | pub struct Sha512(#[serde(with = "big_array::BigArray")] [u8; Sha512::SI... constant SIZE (line 86) | const SIZE: usize = 64; constant NID (line 89) | const NID: Nid = Nid::SHA512; method new (line 92) | pub fn new>(data: B) -> Self { method bytes (line 99) | fn bytes(&self) -> &[u8] { method from_openssl_digest (line 107) | fn from_openssl_digest(digest: &DigestBytes) -> Self { method create_message_digest (line 123) | fn create_message_digest() -> MessageDigest { type CertFingerprint (line 132) | pub(crate) struct CertFingerprint(Sha512); method fmt (line 135) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type KeyFingerprint (line 142) | pub struct KeyFingerprint(Sha512); constant LENGTH (line 146) | pub const LENGTH: usize = Sha512::SIZE; method as_ref (line 150) | fn as_ref(&self) -> &[u8] { method from (line 162) | fn from(raw_bytes: [u8; KeyFingerprint::LENGTH]) -> Self { method from (line 168) | fn from(hash: Sha512) -> Self { method fmt (line 156) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { method sample (line 175) | fn sample(&self, rng: &mut R) -> KeyFingerprint { type Signature (line 184) | struct Signature(Vec); method fmt (line 187) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type TlsCert (line 196) | pub struct TlsCert { method fingerprint (line 213) | pub(crate) fn fingerprint(&self) -> CertFingerprint { method public_key_fingerprint (line 218) | pub(crate) fn public_key_fingerprint(&self) -> KeyFingerprint { method as_x509 (line 223) | pub(crate) fn as_x509(&self) -> &X509 { method fmt (line 229) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { method hash (line 235) | fn hash(&self, state: &mut H) { method eq (line 241) | fn eq(&self, other: &Self) -> bool { type LoadCertError (line 250) | pub enum LoadCertError { function load_cert (line 266) | pub(crate) fn load_cert>(src: P) -> Result>(src: P) -> Result { function generate_node_cert (line 307) | pub fn generate_node_cert() -> SslResult<(X509, PKey)> { function create_tls_acceptor (line 320) | pub(crate) fn create_tls_acceptor( function create_tls_connector (line 334) | pub(crate) fn create_tls_connector( function set_context_options (line 347) | fn set_context_options( type ValidationError (line 369) | pub enum ValidationError { function validate_cert_with_authority (line 475) | pub(crate) fn validate_cert_with_authority( function validate_self_signed_cert (line 500) | pub(crate) fn validate_self_signed_cert(cert: X509) -> Result Result Result) -> Result Result<(PKey, EcKey Result<(), ValidationEr... function now (line 630) | fn now() -> i64 { function mknum (line 648) | fn mknum(n: u32) -> Result { function mkname (line 657) | fn mkname(c: &str, o: &str, cn: &str) -> Result { function name_to_string (line 673) | fn name_to_string(name: &X509NameRef) -> SslResult { function num_eq (line 687) | fn num_eq(num: &Asn1IntegerRef, other: u32) -> SslResult { function generate_private_key (line 696) | fn generate_private_key() -> SslResult> { function generate_cert (line 719) | fn generate_cert(private_key: &PKey, cn: &str) -> SslResult bool { method cmp (line 770) | fn cmp(&self, other: &Self) -> Ordering { method partial_cmp (line 777) | fn partial_cmp(&self, other: &Self) -> Option { method fmt (line 783) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { method fmt (line 789) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { method fmt (line 795) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { method fmt (line 801) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { method fmt (line 807) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { method fmt (line 816) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { method hash (line 832) | fn hash(&self, state: &mut H) { function simple_name_to_string (line 848) | fn simple_name_to_string() { function test_validate_self_signed_cert (line 858) | fn test_validate_self_signed_cert() { function test_validate_cert_with_authority (line 879) | fn test_validate_cert_with_authority() { function make_ca_signed_cert (line 906) | fn make_ca_signed_cert(private_key: PKey, ca_private_key: PKey<... FILE: node/src/types.rs type CryptoRngCore (line 48) | pub trait CryptoRngCore: CryptoRng + RngCore {} type NodeRng (line 54) | pub type NodeRng = ChaCha20Rng; type NodeRng (line 58) | pub type NodeRng = casper_types::testing::TestRng; type VariantMismatch (line 63) | pub struct VariantMismatch(pub(super) Box); FILE: node/src/types/appendable_block.rs type AddError (line 19) | pub(crate) enum AddError { type AppendableBlock (line 42) | pub(crate) struct AppendableBlock { method new (line 51) | pub(crate) fn new( method add_transaction (line 65) | pub(crate) fn add_transaction( method into_block_payload (line 146) | pub(crate) fn into_block_payload( method timestamp (line 195) | pub(crate) fn timestamp(&self) -> Timestamp { method category_lane (line 199) | fn category_lane(&self, lane: u8) -> usize { method transaction_count (line 207) | pub fn transaction_count(&self) -> usize { method transaction_hashes (line 258) | pub(crate) fn transaction_hashes(&self) -> HashSet { method fmt (line 213) | fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result { function should_build_block_payload_from_all_transactions (line 264) | pub fn should_build_block_payload_from_all_transactions() { FILE: node/src/types/block.rs type ValidatorFinalitySignature (line 70) | type ValidatorFinalitySignature = FinalitySignature; function compute_approvals_checksum (line 73) | pub(crate) fn compute_approvals_checksum( function create_single_block_rewarded_signatures (line 82) | pub(crate) fn create_single_block_rewarded_signatures( FILE: node/src/types/block/approvals_hashes.rs type ApprovalsHashes (line 30) | pub(crate) struct ApprovalsHashes { method new (line 43) | pub(crate) fn new( method verify (line 55) | fn verify(&self, block: &Block) -> Result<(), ApprovalsHashesValidatio... method deploy_ids (line 98) | pub(crate) fn deploy_ids(&self, v1_block: &BlockV1) -> Vec { method transaction_ids (line 107) | pub fn transaction_ids(&self, v2_block: &BlockV2) -> Vec { method block_hash (line 116) | pub(crate) fn block_hash(&self) -> &BlockHash { type Id (line 122) | type Id = BlockHash; type ValidationError (line 123) | type ValidationError = ApprovalsHashesValidationError; type ValidationMetadata (line 124) | type ValidationMetadata = Block; constant TAG (line 126) | const TAG: Tag = Tag::ApprovalsHashes; method fetch_id (line 128) | fn fetch_id(&self) -> Self::Id { method validate (line 132) | fn validate(&self, block: &Block) -> Result<(), Self::ValidationError> { method fmt (line 138) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { method write_bytes (line 144) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method to_bytes (line 150) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 156) | fn serialized_length(&self) -> usize { method from_bytes (line 164) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function compute_legacy_approvals_checksum (line 182) | pub(crate) fn compute_legacy_approvals_checksum( type ApprovalsHashesValidationError (line 194) | pub(crate) enum ApprovalsHashesValidationError { method largest_specimen (line 249) | fn largest_specimen(estimator: &E, cache: &mut Cache) ... method largest_specimen (line 277) | fn largest_specimen(estimator: &E, cache: &mut Cache) ... FILE: node/src/types/block/block_execution_results_or_chunk.rs type BlockExecutionResultsOrChunk (line 31) | pub struct BlockExecutionResultsOrChunk { method new (line 42) | pub(crate) fn new( method validate (line 126) | pub fn validate(&self, expected: &Digest) -> Result ValueOrChunk> { method block_hash (line 165) | pub fn block_hash(&self) -> &BlockHash { method new_mock_value (line 170) | pub(crate) fn new_mock_value(rng: &mut TestRng, block_hash: BlockHash)... method new_mock_value_with_multiple_random_results (line 175) | pub(crate) fn new_mock_value_with_multiple_random_results( method value (line 192) | pub(crate) fn value(&self) -> &ValueOrChunk> { method new_from_value (line 197) | pub(crate) fn new_from_value( method eq (line 210) | fn eq(&self, other: &BlockExecutionResultsOrChunk) -> bool { type Id (line 222) | type Id = BlockExecutionResultsOrChunkId; type ValidationError (line 223) | type ValidationError = ChunkWithProofVerificationError; type ValidationMetadata (line 224) | type ValidationMetadata = ExecutionResultsChecksum; constant TAG (line 226) | const TAG: Tag = Tag::BlockExecutionResults; method fetch_id (line 228) | fn fetch_id(&self) -> Self::Id { method validate (line 239) | fn validate(&self, metadata: &ExecutionResultsChecksum) -> Result<(), Se... method fmt (line 256) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { method largest_specimen (line 276) | fn largest_specimen(estimator: &E, cache: &mut Cache) ... function compute_execution_results_v1_checksum (line 299) | fn compute_execution_results_v1_checksum( function should_not_chunk_for_v1_at_upper_bound (line 309) | fn should_not_chunk_for_v1_at_upper_bound() { function should_validate_v1_unchunked_checksum (line 349) | fn should_validate_v1_unchunked_checksum() { function should_validate_v1_chunked_checksum (line 375) | fn should_validate_v1_chunked_checksum() { function should_validate_v1_empty_checksum (line 411) | fn should_validate_v1_empty_checksum() { function should_validate_versioned_unchunked_checksum (line 421) | fn should_validate_versioned_unchunked_checksum() { function should_validate_versioned_chunked_checksum (line 441) | fn should_validate_versioned_chunked_checksum() { function should_validate_versioned_empty_checksum (line 471) | fn should_validate_versioned_empty_checksum() { FILE: node/src/types/block/block_execution_results_or_chunk_id.rs type BlockExecutionResultsOrChunkId (line 13) | pub(crate) struct BlockExecutionResultsOrChunkId { method new (line 24) | pub fn new(block_hash: BlockHash) -> Self { method next_chunk (line 32) | pub fn next_chunk(&self, next_chunk: u64) -> Self { method block_hash (line 39) | pub(crate) fn block_hash(&self) -> &BlockHash { method chunk_index (line 43) | pub(crate) fn chunk_index(&self) -> u64 { method fmt (line 49) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { method largest_specimen (line 64) | fn largest_specimen(estimator: &E, cache: &mut Cache) ... FILE: node/src/types/block/block_payload.rs type BlockPayload (line 23) | pub struct BlockPayload { method new (line 44) | pub(crate) fn new( method mint (line 61) | pub fn mint(&self) -> impl Iterator impl Iterator impl Iterator BTreeMap) -> usize { method all_transactions (line 137) | pub fn all_transactions(&self) -> impl Iterator &Vec { method random_bit (line 146) | pub(crate) fn random_bit(&self) -> bool { method rewarded_signatures (line 151) | pub(crate) fn rewarded_signatures(&self) -> &RewardedSignatures { method current_gas_price (line 156) | pub(crate) fn current_gas_price(&self) -> u8 { method all_transaction_hashes (line 160) | pub(crate) fn all_transaction_hashes(&self) -> impl Iterator Self { method fmt (line 172) | fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result { FILE: node/src/types/block/block_with_metadata.rs type BlockWithMetadata (line 7) | pub struct BlockWithMetadata { method fmt (line 13) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { FILE: node/src/types/block/executable_block.rs type ExecutableBlock (line 15) | pub struct ExecutableBlock { method mint (line 36) | pub(crate) fn mint(&self) -> Vec { method auction (line 43) | pub(crate) fn auction(&self) -> Vec { method install_upgrade (line 50) | pub(crate) fn install_upgrade(&self) -> Vec { method from_finalized_block_and_transactions (line 58) | pub fn from_finalized_block_and_transactions( method from_block_and_transactions (line 79) | pub fn from_block_and_transactions(block: BlockV2, transactions: Vec) -> fmt::Result { FILE: node/src/types/block/finalized_block.rs type FinalizedBlock (line 29) | pub struct FinalizedBlock { method new (line 53) | pub(crate) fn new( method mint (line 77) | pub(crate) fn mint(&self) -> Vec { method auction (line 84) | pub(crate) fn auction(&self) -> Vec { method install_upgrade (line 90) | pub(crate) fn install_upgrade(&self) -> Vec { method all_transactions (line 98) | pub(crate) fn all_transactions(&self) -> impl Iterator>( method random_with_specifics (line 126) | pub(crate) fn random_with_specifics<'a, I: IntoIterator Self { type InternalEraReport (line 45) | pub struct InternalEraReport { method random (line 214) | pub fn random(rng: &mut TestRng) -> Self { method fmt (line 184) | fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result { function should_convert_from_proposable_to_finalized_without_dropping_hashes (line 237) | fn should_convert_from_proposable_to_finalized_without_dropping_hashes() { FILE: node/src/types/block/invalid_proposal_error.rs type InvalidProposalError (line 5) | pub(crate) enum InvalidProposalError { function from (line 50) | fn from(appendable_block_error: crate::types::appendable_block::AddError... function from (line 59) | fn from(invalid_transaction: InvalidTransaction) -> Self { FILE: node/src/types/block/meta_block.rs type MetaBlock (line 27) | pub(crate) enum MetaBlock { method new_forward (line 33) | pub(crate) fn new_forward( method new_historical (line 45) | pub(crate) fn new_historical( method height (line 57) | pub(crate) fn height(&self) -> u64 { method era_id (line 64) | pub(crate) fn era_id(&self) -> EraId { method is_switch_block (line 71) | pub(crate) fn is_switch_block(&self) -> bool { method hash (line 78) | pub(crate) fn hash(&self) -> BlockHash { method mut_state (line 85) | pub(crate) fn mut_state(&mut self) -> &mut State { method state (line 92) | pub(crate) fn state(&self) -> &State { method from (line 165) | fn from(value: ForwardMetaBlock) -> Self { type ForwardMetaBlock (line 101) | pub(crate) struct ForwardMetaBlock { method merge (line 115) | pub(crate) fn merge(mut self, other: ForwardMetaBlock) -> Result bool { method is_upgrade_boundary (line 141) | pub(crate) fn is_upgrade_boundary(&self, activation_point: ActivationP... type Error (line 152) | type Error = String; method try_from (line 154) | fn try_from(value: MetaBlock) -> Result { type HistoricalMetaBlock (line 108) | pub(crate) struct HistoricalMetaBlock { function should_merge_when_same_non_empty_execution_results (line 181) | fn should_merge_when_same_non_empty_execution_results() { function should_merge_when_both_empty_execution_results (line 212) | fn should_merge_when_both_empty_execution_results() { function should_merge_when_one_empty_execution_results (line 236) | fn should_merge_when_one_empty_execution_results() { function should_fail_to_merge_different_blocks (line 267) | fn should_fail_to_merge_different_blocks() { function should_fail_to_merge_different_execution_results (line 307) | fn should_fail_to_merge_different_execution_results() { FILE: node/src/types/block/meta_block/merge_mismatch_error.rs type MergeMismatchError (line 5) | pub(crate) enum MergeMismatchError { FILE: node/src/types/block/meta_block/state.rs type StateChange (line 7) | pub(crate) enum StateChange { method was_updated (line 13) | pub(crate) fn was_updated(self) -> bool { method was_already_registered (line 17) | pub(crate) fn was_already_registered(self) -> bool { method from (line 23) | fn from(current_state: bool) -> Self { type State (line 33) | pub(crate) struct State { method new (line 51) | pub(crate) fn new() -> Self { method new_not_to_be_gossiped (line 56) | pub(crate) fn new_not_to_be_gossiped() -> Self { method new_already_stored (line 64) | pub(crate) fn new_already_stored() -> Self { method new_after_historical_sync (line 72) | pub(crate) fn new_after_historical_sync() -> Self { method is_stored (line 90) | pub(crate) fn is_stored(&self) -> bool { method is_executed (line 94) | pub(crate) fn is_executed(&self) -> bool { method has_sufficient_finality (line 98) | pub(crate) fn has_sufficient_finality(&self) -> bool { method is_marked_complete (line 102) | pub(crate) fn is_marked_complete(&self) -> bool { method register_as_stored (line 106) | pub(crate) fn register_as_stored(&mut self) -> StateChange { method register_as_sent_to_transaction_buffer (line 112) | pub(crate) fn register_as_sent_to_transaction_buffer(&mut self) -> Sta... method register_updated_validator_matrix (line 118) | pub(crate) fn register_updated_validator_matrix(&mut self) -> StateCha... method register_as_gossiped (line 124) | pub(crate) fn register_as_gossiped(&mut self) -> StateChange { method register_as_executed (line 130) | pub(crate) fn register_as_executed(&mut self) -> StateChange { method register_we_have_tried_to_sign (line 136) | pub(crate) fn register_we_have_tried_to_sign(&mut self) -> StateChange { method register_as_consensus_notified (line 142) | pub(crate) fn register_as_consensus_notified(&mut self) -> StateChange { method register_as_accumulator_notified (line 148) | pub(crate) fn register_as_accumulator_notified(&mut self) -> StateChan... method register_as_synchronizer_notified (line 154) | pub(crate) fn register_as_synchronizer_notified(&mut self) -> StateCha... method register_as_validator_notified (line 160) | pub(crate) fn register_as_validator_notified(&mut self) -> StateChange { method register_has_sufficient_finality (line 166) | pub(crate) fn register_has_sufficient_finality(&mut self) -> StateChan... method register_as_marked_complete (line 172) | pub(crate) fn register_as_marked_complete(&mut self) -> StateChange { method register_all_actions_done (line 178) | pub(crate) fn register_all_actions_done(&mut self) -> StateChange { method merge (line 184) | pub(super) fn merge(mut self, other: State) -> Result bool { method set_sufficient_finality (line 234) | pub(crate) fn set_sufficient_finality(&mut self, has_sufficient_finali... function should_merge (line 244) | fn should_merge() { FILE: node/src/types/chunkable.rs type Chunkable (line 13) | pub trait Chunkable { method as_bytes (line 23) | fn as_bytes(&self) -> Result>, Self::Error>; method hash (line 27) | fn hash(&self) -> Result { type Error (line 34) | type Error = Infallible; method as_bytes (line 36) | fn as_bytes(&self) -> Result>, Self::Error> { type Error (line 42) | type Error = Infallible; method as_bytes (line 44) | fn as_bytes(&self) -> Result>, Self::Error> { type Error (line 50) | type Error = Infallible; method as_bytes (line 52) | fn as_bytes(&self) -> Result>, Self::Error> { type Error (line 58) | type Error = bytesrepr::Error; method as_bytes (line 60) | fn as_bytes(&self) -> Result>, Self::Error> { type Error (line 66) | type Error = bytesrepr::Error; method as_bytes (line 68) | fn as_bytes(&self) -> Result>, Self::Error> { type Error (line 74) | type Error = bytesrepr::Error; method as_bytes (line 76) | fn as_bytes(&self) -> Result>, Self::Error> { type Error (line 82) | type Error = bytesrepr::Error; method as_bytes (line 84) | fn as_bytes(&self) -> Result>, Self::Error> { FILE: node/src/types/exit_code.rs constant SIGNAL_OFFSET (line 6) | const SIGNAL_OFFSET: u8 = 128; type ExitCode (line 15) | pub enum ExitCode { FILE: node/src/types/max_ttl.rs type MaxTtl (line 6) | pub struct MaxTtl(TimeDiff); method new (line 10) | pub fn new(max_ttl: TimeDiff) -> Self { method value (line 15) | pub fn value(&self) -> TimeDiff { method ttl_elapsed (line 20) | pub fn ttl_elapsed(&self, vantage: Timestamp, rearview: Timestamp) -> ... method synced_to_ttl (line 25) | pub fn synced_to_ttl( method from (line 43) | fn from(value: TimeDiff) -> Self { constant SUB_MAX_TTL (line 54) | const SUB_MAX_TTL: TimeDiff = TimeDiff::from_millis(1); constant MAX_TTL (line 55) | const MAX_TTL: TimeDiff = TimeDiff::from_millis(2); function assert_ttl (line 57) | fn assert_ttl( function should_elapse (line 70) | fn should_elapse() { function should_not_elapse (line 85) | fn should_not_elapse() { function should_not_elapse_with_equal_timestamps (line 92) | fn should_not_elapse_with_equal_timestamps() { function should_not_elapse_on_cusp (line 104) | fn should_not_elapse_on_cusp() { function should_not_err (line 117) | fn should_not_err() { function assert_sync_to_ttl (line 128) | fn assert_sync_to_ttl(is_genesis: bool, ttl_synced_expected: bool, msg: ... function should_handle_genesis_special_case (line 163) | fn should_handle_genesis_special_case() { function should_be_synced_to_ttl (line 172) | fn should_be_synced_to_ttl() { function should_not_be_synced_to_ttl (line 177) | fn should_not_be_synced_to_ttl() { FILE: node/src/types/node_config.rs constant DEFAULT_IDLE_TOLERANCE (line 6) | const DEFAULT_IDLE_TOLERANCE: &str = "20min"; constant DEFAULT_MAX_ATTEMPTS (line 7) | const DEFAULT_MAX_ATTEMPTS: usize = 3; constant DEFAULT_CONTROL_LOGIC_DEFAULT_DELAY (line 8) | const DEFAULT_CONTROL_LOGIC_DEFAULT_DELAY: &str = "1sec"; constant DEFAULT_SHUTDOWN_FOR_UPGRADE_TIMEOUT (line 9) | const DEFAULT_SHUTDOWN_FOR_UPGRADE_TIMEOUT: &str = "2min"; constant DEFAULT_UPGRADE_TIMEOUT (line 10) | const DEFAULT_UPGRADE_TIMEOUT: &str = "30sec"; type SyncHandling (line 15) | pub enum SyncHandling { method is_sync_to_genesis (line 33) | pub fn is_sync_to_genesis(&self) -> bool { method is_sync_to_ttl (line 38) | pub fn is_sync_to_ttl(&self) -> bool { method is_no_sync (line 43) | pub fn is_no_sync(&self) -> bool { method is_complete_block (line 48) | pub fn is_complete_block(&self) -> bool { method is_isolated (line 53) | pub fn is_isolated(&self) -> bool { type NodeConfig (line 62) | pub struct NodeConfig { method default (line 97) | fn default() -> NodeConfig { FILE: node/src/types/node_id.rs type NodeId (line 19) | pub struct NodeId(KeyFingerprint); method random (line 24) | pub(crate) fn random(rng: &mut TestRng) -> Self { method hash_bytes (line 30) | pub fn hash_bytes(&self) -> &[u8] { method deserialize (line 58) | fn deserialize>(deserializer: D) -> Result Self { method from (line 106) | fn from(raw_bytes: [u8; KeyFingerprint::LENGTH]) -> Self { type NodeIdAsBytes (line 37) | enum NodeIdAsBytes { type NodeIdAsString (line 43) | enum NodeIdAsString { method serialize (line 48) | fn serialize(&self, serializer: S) -> Result &'static Self { method fmt (line 87) | fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result { method fmt (line 93) | fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result { constant EXAMPLE_HASH_RAW (line 115) | const EXAMPLE_HASH_RAW: [u8; 64] = [ function serde_roundtrip_tls (line 124) | fn serde_roundtrip_tls() { function bincode_known_specimen (line 133) | fn bincode_known_specimen() { function json_known_specimen (line 150) | fn json_known_specimen() { function msgpack_default_settings_known_specimen (line 159) | fn msgpack_default_settings_known_specimen() { function json_roundtrip_tls (line 178) | fn json_roundtrip_tls() { FILE: node/src/types/status_feed.rs type ChainspecInfo (line 59) | pub struct ChainspecInfo { method new (line 72) | pub(crate) fn new(chainspec_network_name: String, next_upgrade: Option... method doc_example (line 66) | fn doc_example() -> &'static Self { type StatusFeed (line 82) | pub struct StatusFeed { method new (line 113) | pub(crate) fn new( type MinimalBlockInfo (line 154) | pub struct MinimalBlockInfo { method from (line 164) | fn from(block: Block) -> Self { type GetStatusResult (line 184) | pub struct GetStatusResult { method new (line 220) | pub(crate) fn new(status_feed: StatusFeed, api_version: ProtocolVersio... method doc_example (line 247) | fn doc_example() -> &'static Self { FILE: node/src/types/sync_leap.rs type SyncLeapValidationError (line 28) | pub(crate) enum SyncLeapValidationError { type SyncLeapIdentifier (line 55) | pub(crate) struct SyncLeapIdentifier { method sync_to_tip (line 63) | pub(crate) fn sync_to_tip(block_hash: BlockHash) -> Self { method sync_to_historical (line 70) | pub(crate) fn sync_to_historical(block_hash: BlockHash) -> Self { method block_hash (line 77) | pub(crate) fn block_hash(&self) -> BlockHash { method trusted_ancestor_only (line 81) | pub(crate) fn trusted_ancestor_only(&self) -> bool { method fmt (line 87) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type GlobalStatesMetadata (line 98) | pub(crate) struct GlobalStatesMetadata { type SyncLeap (line 111) | pub(crate) struct SyncLeap { method era_validator_weights (line 125) | pub(crate) fn era_validator_weights( method global_states_for_sync_across_upgrade (line 185) | pub(crate) fn global_states_for_sync_across_upgrade(&self) -> Option u64 { method highest_block_header_and_signatures (line 218) | pub(crate) fn highest_block_header_and_signatures( method highest_block_hash (line 235) | pub(crate) fn highest_block_hash(&self) -> BlockHash { method headers (line 239) | pub(crate) fn headers(&self) -> impl Iterator { method switch_blocks_headers (line 249) | pub(crate) fn switch_blocks_headers(&self) -> impl Iterator) -> fmt::Result { type Id (line 265) | type Id = SyncLeapIdentifier; type ValidationError (line 266) | type ValidationError = SyncLeapValidationError; type ValidationMetadata (line 267) | type ValidationMetadata = SyncLeapValidationMetaData; constant TAG (line 269) | const TAG: Tag = Tag::SyncLeap; method fetch_id (line 271) | fn fetch_id(&self) -> Self::Id { method validate (line 278) | fn validate( method largest_specimen (line 397) | fn largest_specimen(estimator: &E, cache: &mut Cache) ... method largest_specimen (line 426) | fn largest_specimen(estimator: &E, cache: &mut Cache) ... function make_block_header_with_signatures_from_height (line 470) | fn make_block_header_with_signatures_from_height( function make_block_header_with_signatures_from_header (line 486) | fn make_block_header_with_signatures_from_header( function make_test_sync_leap_with_chain (line 514) | fn make_test_sync_leap_with_chain( function make_test_sync_leap_with_validators (line 552) | fn make_test_sync_leap_with_validators( function make_test_sync_leap (line 577) | fn make_test_sync_leap( function test_sync_leap_validation_metadata (line 606) | fn test_sync_leap_validation_metadata() -> SyncLeapValidationMetaData { function should_validate_correct_sync_leap (line 621) | fn should_validate_correct_sync_leap() { function should_check_trusted_ancestors (line 666) | fn should_check_trusted_ancestors() { function should_check_block_headers_with_signatures_size (line 704) | fn should_check_block_headers_with_signatures_size() { function should_detect_unsorted_trusted_ancestors (line 765) | fn should_detect_unsorted_trusted_ancestors() { function should_detect_missing_ancestor_switch_block (line 821) | fn should_detect_missing_ancestor_switch_block() { function should_detect_unexpected_ancestor_switch_block (line 860) | fn should_detect_unexpected_ancestor_switch_block() { function should_detect_unexpected_block_header_with_signatures (line 893) | fn should_detect_unexpected_block_header_with_signatures() { function should_detect_not_sufficiently_signed_headers (line 927) | fn should_detect_not_sufficiently_signed_headers() { function should_detect_orphaned_headers (line 962) | fn should_detect_orphaned_headers() { function should_detect_orphaned_signatures (line 1008) | fn should_detect_orphaned_signatures() { function should_fail_when_signature_fails_crypto_verification (line 1050) | fn should_fail_when_signature_fails_crypto_verification() { function should_use_correct_validator_weights_on_upgrade (line 1084) | fn should_use_correct_validator_weights_on_upgrade() { function should_return_headers (line 1161) | fn should_return_headers() { function should_return_switch_block_headers (line 1242) | fn should_return_switch_block_headers() { function should_return_highest_block_header_from_trusted_block (line 1353) | fn should_return_highest_block_header_from_trusted_block() { function should_return_highest_block_header_from_trusted_ancestors (line 1418) | fn should_return_highest_block_header_from_trusted_ancestors() { function should_return_highest_block_header_from_block_headers_with_signatures (line 1483) | fn should_return_highest_block_header_from_block_headers_with_signatures... function should_return_sigs_when_highest_block_is_signed (line 1548) | fn should_return_sigs_when_highest_block_is_signed() { function should_not_return_sigs_when_highest_block_is_not_signed (line 1573) | fn should_not_return_sigs_when_highest_block_is_not_signed() { function should_return_era_validator_weights_for_correct_sync_leap (line 1624) | fn should_return_era_validator_weights_for_correct_sync_leap() { function should_not_return_global_states_when_no_upgrade (line 1752) | fn should_not_return_global_states_when_no_upgrade() { function should_return_global_states_when_upgrade (line 1786) | fn should_return_global_states_when_upgrade() { function should_return_global_states_when_immediate_switch_block (line 1835) | fn should_return_global_states_when_immediate_switch_block() { function era_validator_weights_without_genesis_without_upgrade (line 1884) | fn era_validator_weights_without_genesis_without_upgrade() { function era_validator_weights_without_genesis_with_switch_block_preceding_immediate_switch_block (line 1939) | fn era_validator_weights_without_genesis_with_switch_block_preceding_imm... function era_validator_weights_with_genesis_without_upgrade (line 2022) | fn era_validator_weights_with_genesis_without_upgrade() { function make_three_switch_blocks_at_era_and_height_and_version (line 2076) | fn make_three_switch_blocks_at_era_and_height_and_version( function should_construct_proper_sync_leap_identifier (line 2132) | fn should_construct_proper_sync_leap_identifier() { type ValidatorSpec (line 2145) | pub(crate) struct ValidatorSpec { type TestChainSpec (line 2161) | pub(crate) struct TestChainSpec<'a> { function new (line 2170) | pub(crate) fn new( function iter (line 2186) | pub(crate) fn iter(&mut self) -> TestBlockIterator { type TestBlockIterator (line 2227) | pub(crate) struct TestBlockIterator<'a> { function new (line 2238) | pub fn new( type Item (line 2259) | type Item = BlockV2; method next (line 2261) | fn next(&mut self) -> Option { function should_create_valid_chain (line 2395) | fn should_create_valid_chain() { function should_create_switch_blocks (line 2416) | fn should_create_switch_blocks() { FILE: node/src/types/sync_leap_validation_metadata.rs type SyncLeapValidationMetaData (line 7) | pub(crate) struct SyncLeapValidationMetaData { method new (line 17) | pub fn new( method from_chainspec (line 31) | pub(crate) fn from_chainspec(chainspec: &Chainspec) -> Self { FILE: node/src/types/transaction/arg_handling.rs constant TRANSFER_ARG_AMOUNT (line 15) | const TRANSFER_ARG_AMOUNT: RequiredArg = RequiredArg::new("amount"); constant TRANSFER_ARG_SOURCE (line 16) | const TRANSFER_ARG_SOURCE: OptionalArg = OptionalArg::new("source"); constant TRANSFER_ARG_TARGET (line 17) | const TRANSFER_ARG_TARGET: &str = "target"; constant TRANSFER_ARG_ID (line 19) | const TRANSFER_ARG_ID: OptionalArg> = OptionalArg::new("id"); constant BURN_ARG_AMOUNT (line 21) | const BURN_ARG_AMOUNT: RequiredArg = RequiredArg::new("amount"); constant BURN_ARG_SOURCE (line 22) | const BURN_ARG_SOURCE: OptionalArg = OptionalArg::new("source"); constant ADD_BID_ARG_PUBLIC_KEY (line 24) | const ADD_BID_ARG_PUBLIC_KEY: RequiredArg = RequiredArg::new(... constant ADD_BID_ARG_DELEGATION_RATE (line 25) | const ADD_BID_ARG_DELEGATION_RATE: RequiredArg = RequiredArg::new("d... constant ADD_BID_ARG_AMOUNT (line 26) | const ADD_BID_ARG_AMOUNT: RequiredArg = RequiredArg::new("amount"); constant ADD_BID_ARG_MINIMUM_DELEGATION_AMOUNT (line 27) | const ADD_BID_ARG_MINIMUM_DELEGATION_AMOUNT: OptionalArg = constant ADD_BID_ARG_MAXIMUM_DELEGATION_AMOUNT (line 29) | const ADD_BID_ARG_MAXIMUM_DELEGATION_AMOUNT: OptionalArg = constant ADD_BID_ARG_RESERVED_SLOTS (line 31) | const ADD_BID_ARG_RESERVED_SLOTS: OptionalArg = OptionalArg::new("r... constant WITHDRAW_BID_ARG_PUBLIC_KEY (line 33) | const WITHDRAW_BID_ARG_PUBLIC_KEY: RequiredArg = RequiredArg:... constant WITHDRAW_BID_ARG_AMOUNT (line 34) | const WITHDRAW_BID_ARG_AMOUNT: RequiredArg = RequiredArg::new("amo... constant DELEGATE_ARG_DELEGATOR (line 36) | const DELEGATE_ARG_DELEGATOR: RequiredArg = RequiredArg::new(... constant DELEGATE_ARG_VALIDATOR (line 37) | const DELEGATE_ARG_VALIDATOR: RequiredArg = RequiredArg::new(... constant DELEGATE_ARG_AMOUNT (line 38) | const DELEGATE_ARG_AMOUNT: RequiredArg = RequiredArg::new("amount"); constant UNDELEGATE_ARG_DELEGATOR (line 40) | const UNDELEGATE_ARG_DELEGATOR: RequiredArg = RequiredArg::ne... constant UNDELEGATE_ARG_VALIDATOR (line 41) | const UNDELEGATE_ARG_VALIDATOR: RequiredArg = RequiredArg::ne... constant UNDELEGATE_ARG_AMOUNT (line 42) | const UNDELEGATE_ARG_AMOUNT: RequiredArg = RequiredArg::new("amoun... constant REDELEGATE_ARG_DELEGATOR (line 44) | const REDELEGATE_ARG_DELEGATOR: RequiredArg = RequiredArg::ne... constant REDELEGATE_ARG_VALIDATOR (line 45) | const REDELEGATE_ARG_VALIDATOR: RequiredArg = RequiredArg::ne... constant REDELEGATE_ARG_AMOUNT (line 46) | const REDELEGATE_ARG_AMOUNT: RequiredArg = RequiredArg::new("amoun... constant REDELEGATE_ARG_NEW_VALIDATOR (line 47) | const REDELEGATE_ARG_NEW_VALIDATOR: RequiredArg = RequiredArg... constant ACTIVATE_BID_ARG_VALIDATOR (line 49) | const ACTIVATE_BID_ARG_VALIDATOR: RequiredArg = RequiredArg::... constant CHANGE_BID_PUBLIC_KEY_ARG_PUBLIC_KEY (line 51) | const CHANGE_BID_PUBLIC_KEY_ARG_PUBLIC_KEY: RequiredArg = Req... constant CHANGE_BID_PUBLIC_KEY_ARG_NEW_PUBLIC_KEY (line 52) | const CHANGE_BID_PUBLIC_KEY_ARG_NEW_PUBLIC_KEY: RequiredArg = constant ADD_RESERVATIONS_ARG_RESERVATIONS (line 55) | const ADD_RESERVATIONS_ARG_RESERVATIONS: RequiredArg> = constant CANCEL_RESERVATIONS_ARG_VALIDATOR (line 58) | const CANCEL_RESERVATIONS_ARG_VALIDATOR: RequiredArg = Requir... constant CANCEL_RESERVATIONS_ARG_DELEGATORS (line 59) | const CANCEL_RESERVATIONS_ARG_DELEGATORS: RequiredArg> = type RequiredArg (line 62) | struct RequiredArg { function new (line 68) | const fn new(name: &'static str) -> Self { function get (line 75) | fn get(&self, args: &RuntimeArgs) -> Result function insert (line 89) | fn insert(&self, args: &mut RuntimeArgs, value: T) -> Result<(), CLValue... type OptionalArg (line 97) | struct OptionalArg { function new (line 103) | const fn new(name: &'static str) -> Self { function get (line 110) | fn get(&self, args: &RuntimeArgs) -> Result, InvalidTransactio... function insert (line 123) | fn insert(&self, args: &mut RuntimeArgs, value: T) -> Result<(), CLValue... function parse_cl_value (line 131) | fn parse_cl_value( function new_transfer_args (line 154) | pub fn new_transfer_args, T: Into>( function has_valid_transfer_args (line 179) | pub fn has_valid_transfer_args( function new_burn_args (line 240) | pub fn new_burn_args>( function has_valid_burn_args (line 253) | pub fn has_valid_burn_args(args: &TransactionArgs) -> Result<(), Invalid... function new_add_bid_args (line 277) | pub fn new_add_bid_args>( function has_valid_add_bid_args (line 302) | pub fn has_valid_add_bid_args( function new_withdraw_bid_args (line 347) | pub fn new_withdraw_bid_args>( function has_valid_withdraw_bid_args (line 358) | pub fn has_valid_withdraw_bid_args(args: &TransactionArgs) -> Result<(),... function new_delegate_args (line 369) | pub fn new_delegate_args>( function has_valid_delegate_args (line 382) | pub fn has_valid_delegate_args( function new_undelegate_args (line 405) | pub fn new_undelegate_args>( function has_valid_undelegate_args (line 418) | pub fn has_valid_undelegate_args(args: &TransactionArgs) -> Result<(), I... function new_redelegate_args (line 430) | pub fn new_redelegate_args>( function has_valid_redelegate_args (line 445) | pub fn has_valid_redelegate_args( function new_activate_bid_args (line 469) | pub fn new_activate_bid_args(validator: PublicKey) -> Result Result<(),... function new_change_bid_public_key_args (line 486) | pub fn new_change_bid_public_key_args( function has_valid_change_bid_public_key_args (line 497) | pub fn has_valid_change_bid_public_key_args( function new_add_reservations_args (line 510) | pub fn new_add_reservations_args( function has_valid_add_reservations_args (line 519) | pub fn has_valid_add_reservations_args( function new_cancel_reservations_args (line 546) | pub fn new_cancel_reservations_args( function has_valid_cancel_reservations_args (line 557) | pub fn has_valid_cancel_reservations_args( function should_validate_transfer_args (line 580) | fn should_validate_transfer_args() { function transfer_args_with_low_amount_should_be_invalid (line 636) | fn transfer_args_with_low_amount_should_be_invalid() { function transfer_args_with_missing_required_should_be_invalid (line 657) | fn transfer_args_with_missing_required_should_be_invalid() { function transfer_args_with_wrong_type_should_be_invalid (line 687) | fn transfer_args_with_wrong_type_should_be_invalid() { function check_add_bid_args (line 723) | fn check_add_bid_args(args: &TransactionArgs) -> Result<(), InvalidTrans... function should_validate_add_bid_args (line 728) | fn should_validate_add_bid_args() { function add_bid_args_with_missing_required_should_be_invalid (line 755) | fn add_bid_args_with_missing_required_should_be_invalid() { function add_bid_args_with_wrong_type_should_be_invalid (line 799) | fn add_bid_args_with_wrong_type_should_be_invalid() { function should_validate_withdraw_bid_args (line 820) | fn should_validate_withdraw_bid_args() { function withdraw_bid_args_with_missing_required_should_be_invalid (line 833) | fn withdraw_bid_args_with_missing_required_should_be_invalid() { function withdraw_bid_args_with_wrong_type_should_be_invalid (line 862) | fn withdraw_bid_args_with_wrong_type_should_be_invalid() { function should_validate_delegate_args (line 882) | fn should_validate_delegate_args() { function delegate_args_with_too_big_amount_should_fail (line 901) | fn delegate_args_with_too_big_amount_should_fail() { function delegate_args_with_missing_required_should_be_invalid (line 923) | fn delegate_args_with_missing_required_should_be_invalid() { function delegate_args_with_wrong_type_should_be_invalid (line 968) | fn delegate_args_with_wrong_type_should_be_invalid() { function should_validate_undelegate_args (line 990) | fn should_validate_undelegate_args() { function undelegate_args_with_missing_required_should_be_invalid (line 1008) | fn undelegate_args_with_missing_required_should_be_invalid() { function undelegate_args_with_wrong_type_should_be_invalid (line 1052) | fn undelegate_args_with_wrong_type_should_be_invalid() { function should_validate_redelegate_args (line 1073) | fn should_validate_redelegate_args() { function redelegate_args_with_too_much_amount_should_be_invalid (line 1093) | fn redelegate_args_with_too_much_amount_should_be_invalid() { function redelegate_args_with_missing_required_should_be_invalid (line 1114) | fn redelegate_args_with_missing_required_should_be_invalid() { function redelegate_args_with_wrong_type_should_be_invalid (line 1176) | fn redelegate_args_with_wrong_type_should_be_invalid() { function should_validate_change_bid_public_key_args (line 1199) | fn should_validate_change_bid_public_key_args() { function change_bid_public_key_args_with_missing_required_should_be_invalid (line 1213) | fn change_bid_public_key_args_with_missing_required_should_be_invalid() { function change_bid_public_key_args_with_wrong_type_should_be_invalid (line 1242) | fn change_bid_public_key_args_with_wrong_type_should_be_invalid() { function should_validate_add_reservations_args (line 1277) | fn should_validate_add_reservations_args() { function add_reservations_args_with_too_many_reservations_should_be_invalid (line 1293) | fn add_reservations_args_with_too_many_reservations_should_be_invalid() { function add_reservations_args_with_missing_required_should_be_invalid (line 1311) | fn add_reservations_args_with_missing_required_should_be_invalid() { function add_reservations_args_with_wrong_type_should_be_invalid (line 1325) | fn add_reservations_args_with_wrong_type_should_be_invalid() { function should_validate_cancel_reservations_args (line 1345) | fn should_validate_cancel_reservations_args() { function cancel_reservations_args_with_missing_required_should_be_invalid (line 1361) | fn cancel_reservations_args_with_missing_required_should_be_invalid() { function cancel_reservations_args_with_wrong_type_should_be_invalid (line 1390) | fn cancel_reservations_args_with_wrong_type_should_be_invalid() { function native_calls_require_named_args (line 1425) | fn native_calls_require_named_args() { FILE: node/src/types/transaction/deploy/legacy_deploy.rs type LegacyDeploy (line 14) | pub(crate) struct LegacyDeploy(Deploy); method from (line 65) | fn from(deploy: Deploy) -> Self { type Id (line 17) | type Id = DeployHash; type ValidationError (line 18) | type ValidationError = InvalidDeploy; type ValidationMetadata (line 19) | type ValidationMetadata = EmptyValidationMetadata; constant TAG (line 21) | const TAG: Tag = Tag::LegacyDeploy; method fetch_id (line 23) | fn fetch_id(&self) -> Self::Id { method validate (line 27) | fn validate(&self, _metadata: &EmptyValidationMetadata) -> Result<(), Se... method write_bytes (line 33) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method to_bytes (line 37) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 41) | fn serialized_length(&self) -> usize { method from_bytes (line 47) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method from (line 53) | fn from(legacy_deploy: LegacyDeploy) -> Self { method from (line 59) | fn from(legacy_deploy: LegacyDeploy) -> Self { method fmt (line 71) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { function bytesrepr_roundtrip (line 81) | fn bytesrepr_roundtrip() { method largest_specimen (line 94) | fn largest_specimen(estimator: &E, cache: &mut Cache) ... FILE: node/src/types/transaction/fields_container.rs constant ARGS_MAP_KEY (line 17) | pub(crate) const ARGS_MAP_KEY: u16 = 0; constant TARGET_MAP_KEY (line 18) | pub(crate) const TARGET_MAP_KEY: u16 = 1; constant ENTRY_POINT_MAP_KEY (line 19) | pub(crate) const ENTRY_POINT_MAP_KEY: u16 = 2; constant SCHEDULING_MAP_KEY (line 20) | pub(crate) const SCHEDULING_MAP_KEY: u16 = 3; type FieldsContainerError (line 23) | pub(crate) enum FieldsContainerError { type FieldsContainer (line 27) | pub(crate) struct FieldsContainer { method new (line 35) | pub(crate) fn new( method to_map (line 49) | pub(crate) fn to_map(&self) -> Result, FieldsCont... method random (line 88) | pub(crate) fn random(rng: &mut TestRng) -> Self { method random_of_lane (line 268) | pub fn random_of_lane(rng: &mut TestRng, lane_id: u8) -> Self { method random_install_upgrade (line 278) | fn random_install_upgrade(rng: &mut TestRng) -> Self { method random_staking (line 293) | fn random_staking(rng: &mut TestRng) -> Self { method random_transfer (line 319) | fn random_transfer(rng: &mut TestRng) -> Self { method random_standard (line 334) | fn random_standard(rng: &mut TestRng) -> Self { FILE: node/src/types/transaction/initiator_addr_and_secret_key.rs type InitiatorAddrAndSecretKey (line 5) | pub(crate) enum InitiatorAddrAndSecretKey<'a> { function initiator_addr (line 26) | pub fn initiator_addr(&self) -> InitiatorAddr { function secret_key (line 37) | pub fn secret_key(&self) -> Option<&SecretKey> { FILE: node/src/types/transaction/meta_transaction.rs type MetaTransaction (line 24) | pub(crate) enum MetaTransaction { method hash (line 31) | pub(crate) fn hash(&self) -> TransactionHash { method timestamp (line 41) | pub(crate) fn timestamp(&self) -> Timestamp { method ttl (line 49) | pub(crate) fn ttl(&self) -> TimeDiff { method approvals (line 57) | pub(crate) fn approvals(&self) -> BTreeSet { method initiator_addr (line 65) | pub(crate) fn initiator_addr(&self) -> &InitiatorAddr { method signers (line 73) | pub(crate) fn signers(&self) -> BTreeSet { method is_native (line 90) | pub(crate) fn is_native(&self) -> bool { method is_standard_payment (line 98) | pub(crate) fn is_standard_payment(&self) -> bool { method is_custom_payment (line 118) | pub(crate) fn is_custom_payment(&self) -> bool { method authorization_keys (line 138) | pub(crate) fn authorization_keys(&self) -> BTreeSet { method session_args (line 155) | pub(crate) fn session_args(&self) -> Cow { method entry_point (line 165) | pub(crate) fn entry_point(&self) -> TransactionEntryPoint { method transaction_lane (line 175) | pub(crate) fn transaction_lane(&self) -> u8 { method gas_price_tolerance (line 183) | pub(crate) fn gas_price_tolerance(&self) -> Result Result bool { method is_contract_by_hash_invocation (line 212) | pub(crate) fn is_contract_by_hash_invocation(&self) -> bool { method contract_direct_address (line 217) | pub(crate) fn contract_direct_address(&self) -> Option<(HashAddr, Stri... method from_transaction (line 235) | pub(crate) fn from_transaction( method is_config_compliant (line 255) | pub(crate) fn is_config_compliant( method payload_hash (line 272) | pub(crate) fn payload_hash(&self) -> Digest { method to_session_input_data (line 279) | pub(crate) fn to_session_input_data(&self) -> SessionInputData { method to_payment_input_data (line 312) | pub(crate) fn to_payment_input_data(&self) -> SessionInputData { method size_estimate (line 359) | pub(crate) fn size_estimate(&self) -> usize { method is_v1_wasm (line 366) | pub(crate) fn is_v1_wasm(&self) -> bool { method is_v2_wasm (line 373) | pub(crate) fn is_v2_wasm(&self) -> bool { method seed (line 380) | pub(crate) fn seed(&self) -> Option<[u8; 32]> { method is_install_or_upgrade (line 387) | pub(crate) fn is_install_or_upgrade(&self) -> bool { method transferred_value (line 396) | pub(crate) fn transferred_value(&self) -> Option { method target (line 403) | pub(crate) fn target(&self) -> Option { method fmt (line 412) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { function calculate_transaction_lane_for_transaction (line 422) | pub(crate) fn calculate_transaction_lane_for_transaction( FILE: node/src/types/transaction/meta_transaction/meta_deploy.rs type MetaDeploy (line 12) | pub(crate) struct MetaDeploy { method from_deploy (line 22) | pub(crate) fn from_deploy( method initiator_addr (line 37) | pub(crate) fn initiator_addr(&self) -> &InitiatorAddr { method lane_id (line 42) | pub(crate) fn lane_id(&self) -> u8 { method session (line 46) | pub(crate) fn session(&self) -> &ExecutableDeployItem { method deploy (line 50) | pub(crate) fn deploy(&self) -> &Deploy { function calculate_lane_id_of_biggest_wasm (line 56) | pub(crate) fn calculate_lane_id_of_biggest_wasm( function calculate_lane_id_of_biggest_wasm_should_return_none_on_empty (line 72) | fn calculate_lane_id_of_biggest_wasm_should_return_none_on_empty() { function calculate_lane_id_of_biggest_wasm_should_return_biggest (line 78) | fn calculate_lane_id_of_biggest_wasm_should_return_biggest() { FILE: node/src/types/transaction/meta_transaction/meta_transaction_v1.rs constant ARGS_MAP_KEY (line 18) | const ARGS_MAP_KEY: u16 = 0; constant TARGET_MAP_KEY (line 19) | const TARGET_MAP_KEY: u16 = 1; constant ENTRY_POINT_MAP_KEY (line 20) | const ENTRY_POINT_MAP_KEY: u16 = 2; constant SCHEDULING_MAP_KEY (line 21) | const SCHEDULING_MAP_KEY: u16 = 3; constant EXPECTED_NUMBER_OF_FIELDS (line 22) | const EXPECTED_NUMBER_OF_FIELDS: usize = 4; type MetaTransactionV1 (line 25) | pub(crate) struct MetaTransactionV1 { method from_transaction_v1 (line 47) | pub(crate) fn from_transaction_v1( method is_native_mint (line 110) | fn is_native_mint(&self) -> bool { method is_native_auction (line 114) | fn is_native_auction(&self) -> bool { method is_v1_wasm (line 118) | pub(crate) fn is_v1_wasm(&self) -> bool { method is_v2_wasm (line 138) | pub(crate) fn is_v2_wasm(&self) -> bool { method new (line 159) | pub(crate) fn new( method args (line 197) | pub(crate) fn args(&self) -> &TransactionArgs { method hash (line 202) | pub(crate) fn hash(&self) -> &TransactionV1Hash { method approvals (line 207) | pub(crate) fn approvals(&self) -> &BTreeSet { method verify (line 215) | pub(crate) fn verify(&self) -> Result<(), InvalidTransactionV1> { method has_valid_hash (line 221) | pub(crate) fn has_valid_hash(&self) -> &Result<(), InvalidTransactionV... method do_verify (line 225) | fn do_verify(&self) -> Result<(), InvalidTransactionV1> { method entry_point (line 247) | pub(crate) fn entry_point(&self) -> &TransactionEntryPoint { method contract_direct_address (line 252) | pub(crate) fn contract_direct_address(&self) -> Option<(HashAddr, Stri... method lane_id (line 259) | pub(crate) fn lane_id(&self) -> u8 { method payload_hash (line 264) | pub(crate) fn payload_hash(&self) -> &Digest { method pricing_mode (line 269) | pub(crate) fn pricing_mode(&self) -> &PricingMode { method initiator_addr (line 274) | pub(crate) fn initiator_addr(&self) -> &InitiatorAddr { method target (line 279) | pub(crate) fn target(&self) -> &TransactionTarget { method is_valid_size (line 285) | fn is_valid_size( method timestamp (line 300) | pub(crate) fn timestamp(&self) -> Timestamp { method ttl (line 307) | pub(crate) fn ttl(&self) -> TimeDiff { method contract_runtime_tag (line 311) | pub(crate) fn contract_runtime_tag(&self) -> Option { method is_config_compliant (line 322) | pub(crate) fn is_config_compliant( method is_body_metadata_valid (line 581) | fn is_body_metadata_valid( method is_header_metadata_valid (line 724) | fn is_header_metadata_valid( method gas_price_tolerance (line 760) | pub(crate) fn gas_price_tolerance(&self) -> u8 { method serialized_length (line 778) | pub(crate) fn serialized_length(&self) -> usize { method gas_limit (line 783) | pub(crate) fn gas_limit(&self, chainspec: &Chainspec) -> Result Option<[u8; 32]> { method transferred_value (line 808) | pub(crate) fn transferred_value(&self) -> u64 { method is_native_transfer (line 832) | pub(crate) fn is_native_transfer(&self) -> bool { method fmt (line 842) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { function limited_amount_should_determine_transaction_lane_for_session (line 872) | fn limited_amount_should_determine_transaction_lane_for_session() { function limited_amount_should_fail_if_does_not_fit_in_any_lane (line 899) | fn limited_amount_should_fail_if_does_not_fit_in_any_lane() { function limited_amount_should_fail_if_transaction_size_does_not_fit_in_any_lane (line 928) | fn limited_amount_should_fail_if_transaction_size_does_not_fit_in_any_la... function limited_amount_should_determine_transaction_lane_for_stored (line 961) | fn limited_amount_should_determine_transaction_lane_for_stored() { function build_v1_config (line 987) | fn build_v1_config() -> TransactionV1Config { FILE: node/src/types/transaction/meta_transaction/transaction_header.rs type TransactionV1Metadata (line 7) | pub(crate) struct TransactionV1Metadata { method initiator_addr (line 14) | pub(crate) fn initiator_addr(&self) -> &InitiatorAddr { method timestamp (line 18) | pub(crate) fn timestamp(&self) -> Timestamp { method ttl (line 22) | pub(crate) fn ttl(&self) -> TimeDiff { method fmt (line 28) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { type TransactionHeader (line 39) | pub(crate) enum TransactionHeader { method from (line 45) | fn from(header: DeployHeader) -> Self { method from (line 51) | fn from(transaction_v1: &TransactionV1) -> Self { method from (line 62) | fn from(transaction: &Transaction) -> Self { method fmt (line 71) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { FILE: node/src/types/transaction/transaction_footprint.rs type TransactionFootprint (line 18) | pub(crate) struct TransactionFootprint { method new (line 40) | pub(crate) fn new( method new_from_meta_transaction (line 52) | fn new_from_meta_transaction( method with_approvals (line 88) | pub(crate) fn with_approvals(mut self, approvals: BTreeSet) ... method approvals_count (line 94) | pub(crate) fn approvals_count(&self) -> usize { method is_mint (line 99) | pub(crate) fn is_mint(&self) -> bool { method is_auction (line 108) | pub(crate) fn is_auction(&self) -> bool { method is_install_upgrade (line 116) | pub(crate) fn is_install_upgrade(&self) -> bool { method is_wasm_based (line 124) | pub(crate) fn is_wasm_based(&self) -> bool { method gas_price_tolerance (line 132) | pub(crate) fn gas_price_tolerance(&self) -> u8 { method random_of_lane (line 137) | pub fn random_of_lane(lane_id: u8, rng: &mut TestRng) -> Self { FILE: node/src/types/transaction/transaction_v1_builder.rs type TransactionV1Builder (line 70) | pub(crate) struct TransactionV1Builder<'a> { constant DEFAULT_TTL (line 107) | pub const DEFAULT_TTL: TimeDiff = TimeDiff::from_millis(30 * 60 * 1_000); constant DEFAULT_PRICING_MODE (line 109) | pub const DEFAULT_PRICING_MODE: PricingMode = PricingMode::PaymentLimited { constant DEFAULT_SCHEDULING (line 115) | pub const DEFAULT_SCHEDULING: TransactionScheduling = TransactionSchedul... function new (line 154) | pub(crate) fn new() -> Self { function new_transfer (line 178) | pub(crate) fn new_transfer, T: Into>( function new_burn (line 195) | pub(crate) fn new_burn>( function new_reserve_slot (line 210) | pub(crate) fn new_reserve_slot(reservations: Vec) -> Result... function new_add_bid (line 223) | pub(crate) fn new_add_bid>( function new_withdraw_bid (line 250) | pub(crate) fn new_withdraw_bid>( function new_delegate (line 265) | pub(crate) fn new_delegate>( function new_undelegate (line 281) | pub(crate) fn new_undelegate>( function new_redelegate (line 297) | pub(crate) fn new_redelegate>( function new_targeting_stored (line 313) | pub(crate) fn new_targeting_stored>( function new_targeting_stored_with_runtime_args (line 328) | pub(crate) fn new_targeting_stored_with_runtime_args>( function new_targeting_invocable_entity (line 346) | pub(crate) fn new_targeting_invocable_entity>( function new_targeting_invocable_entity_via_alias (line 358) | pub(crate) fn new_targeting_invocable_entity_via_alias, ... function new_targeting_package (line 370) | pub(crate) fn new_targeting_package>( function new_targeting_package_with_runtime_args (line 388) | pub(crate) fn new_targeting_package_with_runtime_args>( function new_targeting_package_via_alias (line 407) | pub(crate) fn new_targeting_package_via_alias, E: Into Self { function new_random_with_category_and_timestamp_and_ttl (line 498) | pub(crate) fn new_random_with_category_and_timestamp_and_ttl( function with_chain_name (line 540) | pub(crate) fn with_chain_name>(mut self, chain_name: C) ... function with_timestamp (line 548) | pub(crate) fn with_timestamp(mut self, timestamp: Timestamp) -> Self { function with_ttl (line 556) | pub(crate) fn with_ttl(mut self, ttl: TimeDiff) -> Self { function with_pricing_mode (line 565) | pub(crate) fn with_pricing_mode(mut self, pricing_mode: PricingMode) -> ... function with_initiator_addr (line 575) | pub(crate) fn with_initiator_addr>(mut self, init... function with_secret_key (line 584) | pub(crate) fn with_secret_key(mut self, secret_key: &'a SecretKey) -> Se... function with_additional_fields (line 601) | pub(crate) fn with_additional_fields( function with_runtime_args (line 614) | pub(crate) fn with_runtime_args(mut self, args: RuntimeArgs) -> Self { function with_transaction_args (line 623) | pub fn with_transaction_args(mut self, args: TransactionArgs) -> Self { function build (line 631) | pub(crate) fn build(self) -> Result Result { function do_build (line 675) | fn do_build(self) -> Result { function build_transaction (line 717) | fn build_transaction( type TransactionV1BuilderError (line 752) | pub(crate) enum TransactionV1BuilderError { method fmt (line 772) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { FILE: node/src/types/validator_matrix.rs constant MINIMUM_CUSP_ERA_COUNT (line 19) | const MINIMUM_CUSP_ERA_COUNT: u64 = 2; constant PROPOSED_BLOCK_ERA_TOLERANCE (line 20) | const PROPOSED_BLOCK_ERA_TOLERANCE: u64 = 1; type SignatureWeight (line 23) | pub(crate) enum SignatureWeight { method is_sufficient (line 33) | pub(crate) fn is_sufficient(&self, requires_strict_finality: bool) -> ... type ValidatorMatrix (line 43) | pub(crate) struct ValidatorMatrix { method new (line 59) | pub(crate) fn new( method new_with_validator (line 86) | pub(crate) fn new_with_validator(secret_signing_key: Arc) -... method new_with_validators (line 111) | pub(crate) fn new_with_validators>( method with_signature_rewards_max_delay (line 142) | pub(crate) fn with_signature_rewards_max_delay( method public_keys (line 151) | pub(crate) fn public_keys(&self, era_id: &EraId) -> Vec { method register_retrograde_latch (line 162) | pub(crate) fn register_retrograde_latch(&mut self, latch_era: Option bool { method validator_weights (line 247) | pub(crate) fn validator_weights(&self, era_id: EraId) -> Option Ratio { method is_empty (line 266) | pub(crate) fn is_empty(&self) -> bool { method is_validator_in_era (line 272) | pub(crate) fn is_validator_in_era( method public_signing_key (line 289) | pub(crate) fn public_signing_key(&self) -> &PublicKey { method secret_signing_key (line 293) | pub(crate) fn secret_signing_key(&self) -> &Arc { method is_self_validator_in_era (line 299) | pub(crate) fn is_self_validator_in_era(&self, era_id: EraId) -> Option... method is_active_or_upcoming_validator (line 305) | pub(crate) fn is_active_or_upcoming_validator(&self, public_key: &Publ... method create_finality_signature (line 315) | pub(crate) fn create_finality_signature( method read_inner (line 334) | fn read_inner(&self) -> RwLockReadGuard Vec { method chain_name_hash (line 342) | pub fn chain_name_hash(&self) -> ChainNameDigest { method purge_era_validators (line 347) | pub(crate) fn purge_era_validators(&mut self, era_id: &EraId) { method cache_head_max_len (line 351) | fn cache_head_max_len(&self) -> usize { method cache_tail_max_len (line 355) | fn cache_tail_max_len(&self) -> usize { method entries_max (line 364) | pub(crate) fn entries_max(&self) -> usize { method fmt (line 370) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type EraValidatorWeights (line 382) | pub(crate) struct EraValidatorWeights { method new (line 390) | pub(crate) fn new( method era_id (line 402) | pub(crate) fn era_id(&self) -> EraId { method is_empty (line 406) | pub(crate) fn is_empty(&self) -> bool { method get_total_weight (line 410) | pub(crate) fn get_total_weight(&self) -> U512 { method validator_public_keys (line 414) | pub(crate) fn validator_public_keys(&self) -> impl Iterator impl Iterator( method bogus_validators (line 432) | pub(crate) fn bogus_validators<'a>( method get_weight (line 442) | pub(crate) fn get_weight(&self, public_key: &PublicKey) -> U512 { method is_validator (line 449) | pub(crate) fn is_validator(&self, public_key: &PublicKey) -> bool { method signed_weight (line 453) | pub(crate) fn signed_weight<'a>( method signature_weight (line 462) | pub(crate) fn signature_weight<'a>( function empty_era_validator_weights (line 507) | fn empty_era_validator_weights(era_id: EraId) -> EraValidatorWeights { function signature_weight_at_boundary_equal_weights (line 516) | fn signature_weight_at_boundary_equal_weights() { function signature_weight_at_boundary_unequal_weights (line 566) | fn signature_weight_at_boundary_unequal_weights() { function register_validator_weights_pruning (line 616) | fn register_validator_weights_pruning() { function register_validator_weights_latched_pruning (line 703) | fn register_validator_weights_latched_pruning() { FILE: node/src/types/value_or_chunk.rs type ValueOrChunk (line 26) | pub enum ValueOrChunk { type ChunkingError (line 35) | pub enum ChunkingError { function new (line 58) | pub fn new(data: V, chunk_index: u64) -> Result method fmt (line 83) | fn fmt(&self, f: &mut Formatter) -> fmt::Result { method fmt (line 97) | fn fmt(&self, f: &mut Formatter) -> fmt::Result { type HashingTrieRaw (line 111) | pub struct HashingTrieRaw { method from (line 119) | fn from(inner: TrieRaw) -> HashingTrieRaw { method hash (line 134) | fn hash(&self) -> Digest { method inner (line 138) | pub fn inner(&self) -> &TrieRaw { method into_inner (line 142) | pub fn into_inner(self) -> TrieRaw { method fmt (line 128) | fn fmt(&self, f: &mut Formatter) -> fmt::Result { type TrieOrChunk (line 148) | pub type TrieOrChunk = ValueOrChunk; type Id (line 151) | type Id = TrieOrChunkId; type ValidationError (line 152) | type ValidationError = ChunkWithProofVerificationError; type ValidationMetadata (line 153) | type ValidationMetadata = EmptyValidationMetadata; constant TAG (line 155) | const TAG: Tag = Tag::TrieOrChunk; method fetch_id (line 157) | fn fetch_id(&self) -> Self::Id { method validate (line 167) | fn validate(&self, _metadata: &EmptyValidationMetadata) -> Result<(), Se... type TrieOrChunkId (line 180) | pub struct TrieOrChunkId(pub u64, pub Digest); method digest (line 184) | pub fn digest(&self) -> &Digest { method fmt_serialized (line 189) | fn fmt_serialized(f: &mut Formatter, serialized_id: &[u8]) -> fmt::Res... type TrieOrChunkIdDisplay (line 198) | pub struct TrieOrChunkIdDisplay<'a>(pub &'a [u8]); method fmt (line 201) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { method fmt (line 207) | fn fmt(&self, f: &mut Formatter) -> fmt::Result { function returns_value_or_chunk (line 219) | fn returns_value_or_chunk() { method largest_specimen (line 270) | fn largest_specimen(estimator: &E, cache: &mut Cache) ... method largest_specimen (line 279) | fn largest_specimen(estimator: &E, cache: &mut Cache) ... FILE: node/src/utils.rs type ResolveAddressError (line 52) | pub struct ResolveAddressError { type ResolveAddressErrorKind (line 61) | enum ResolveAddressErrorKind { method fmt (line 69) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type FlattenResult (line 82) | pub trait FlattenResult { method flatten_result (line 90) | fn flatten_result(self) -> Self::Output; type Output (line 94) | type Output = Result; method flatten_result (line 97) | fn flatten_result(self) -> Self::Output { function resolve_address (line 107) | pub(crate) fn resolve_address(address: &str) -> Result Result(value: T) -> &'static T { type SharedFlag (line 161) | pub(crate) struct SharedFlag(&'static AtomicBool); method new (line 167) | pub(crate) fn new() -> Self { method is_set (line 172) | pub(crate) fn is_set(self) -> bool { method set (line 177) | pub(crate) fn set(self) { method global_shared (line 185) | pub(crate) fn global_shared() -> Self { method default (line 193) | fn default() -> Self { type WithDir (line 202) | pub struct WithDir { function new (line 209) | pub fn new>(path: P, value: T) -> Self { function dir (line 217) | pub fn dir(&self) -> &Path { function into_parts (line 222) | pub(crate) fn into_parts(self) -> (PathBuf, T) { function map_ref (line 227) | pub fn map_ref U>(&self, f: F) -> WithDir { function value (line 235) | pub fn value(&self) -> &T { function value_mut (line 240) | pub fn value_mut(&mut self) -> &mut T { function with_dir (line 245) | pub fn with_dir(&self, path: PathBuf) -> PathBuf { type Source (line 256) | pub(crate) enum Source { method is_client (line 271) | pub(crate) fn is_client(&self) -> bool { method node_id (line 279) | pub(crate) fn node_id(&self) -> Option { method fmt (line 288) | fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result { function div_round (line 303) | pub(crate) fn div_round(numerator: T, denominator: T) -> T function register_histogram_metric (line 311) | pub(crate) fn register_histogram_metric( function xor (line 344) | pub(crate) fn xor(lhs: &mut [u8], rhs: &[u8]) { function wait_for_arc_drop (line 364) | pub(crate) async fn wait_for_arc_drop( type TimeAnchor (line 394) | pub(crate) struct TimeAnchor { method now (line 405) | pub(crate) fn now() -> Self { method convert (line 414) | pub(crate) fn convert(&self, then: Instant) -> SystemTime { function xor_works (line 432) | fn xor_works() { function xor_panics_on_uneven_inputs (line 444) | fn xor_panics_on_uneven_inputs() { function arc_drop_waits_for_drop (line 452) | async fn arc_drop_waits_for_drop() { function shared_flag_sanity_check (line 487) | fn shared_flag_sanity_check() { FILE: node/src/utils/block_signatures.rs function quorum_fraction (line 11) | fn quorum_fraction(fault_tolerance_fraction: Ratio) -> Ratio { function check_sufficient_block_signatures_with_quorum_formula (line 20) | pub(crate) fn check_sufficient_block_signatures_with_quorum_formula( function check_sufficient_block_signatures (line 99) | pub(crate) fn check_sufficient_block_signatures( type BlockSignatureError (line 113) | pub(crate) enum BlockSignatureError { constant TEST_VALIDATOR_WEIGHT (line 154) | const TEST_VALIDATOR_WEIGHT: usize = 1; function generate_validators (line 156) | fn generate_validators( function create_signatures (line 171) | fn create_signatures( function block_signatures_sufficiency (line 193) | fn block_signatures_sufficiency() { function block_signatures_sufficiency_with_quorum_formula (line 243) | fn block_signatures_sufficiency_with_quorum_formula() { function block_signatures_sufficiency_with_quorum_formula_without_signatures (line 299) | fn block_signatures_sufficiency_with_quorum_formula_without_signatures() { function detects_bogus_validator (line 325) | fn detects_bogus_validator() { FILE: node/src/utils/chain_specification.rs function validate_chainspec (line 23) | pub fn validate_chainspec(chainspec: &Chainspec) -> bool { function validate_protocol_config (line 79) | pub(crate) fn validate_protocol_config(_protocol_config: &ProtocolConfig... function validate_core_config (line 85) | pub(crate) fn validate_core_config(core_config: &CoreConfig) -> bool { function validate_transaction_config (line 144) | pub(crate) fn validate_transaction_config(transaction_config: &Transacti... constant EXPECTED_GENESIS_COSTS (line 210) | const EXPECTED_GENESIS_COSTS: OpcodeCosts = OpcodeCosts { function core_config_toml_roundtrip (line 341) | fn core_config_toml_roundtrip() { function transaction_config_toml_roundtrip (line 350) | fn transaction_config_toml_roundtrip() { function protocol_config_toml_roundtrip (line 359) | fn protocol_config_toml_roundtrip() { function highway_config_toml_roundtrip (line 368) | fn highway_config_toml_roundtrip() { function should_validate_round_length (line 377) | fn should_validate_round_length() { function should_have_deterministic_chainspec_hash (line 396) | fn should_have_deterministic_chainspec_hash() { function should_have_valid_finality_threshold (line 425) | fn should_have_valid_finality_threshold() { function should_have_valid_transaction_counts (line 462) | fn should_have_valid_transaction_counts() { function should_perform_checks_with_global_state_update (line 510) | fn should_perform_checks_with_global_state_update() { function should_perform_checks_without_global_state_update (line 523) | fn should_perform_checks_without_global_state_update() { function should_recognize_blocks_before_activation_point (line 536) | fn should_recognize_blocks_before_activation_point() { function should_have_valid_production_chainspec (line 619) | fn should_have_valid_production_chainspec() { function check_spec (line 628) | fn check_spec(spec: Chainspec, is_first_version: bool) { function check_bundled_spec (line 719) | fn check_bundled_spec() { function should_fail_when_wasm_lanes_have_duplicate_max_transaction_length (line 727) | fn should_fail_when_wasm_lanes_have_duplicate_max_transaction_length() { function should_fail_when_wasm_lanes_have_duplicate_max_gas_price (line 757) | fn should_fail_when_wasm_lanes_have_duplicate_max_gas_price() { function should_fail_when_wasm_lanes_have_reseved_ids (line 787) | fn should_fail_when_wasm_lanes_have_reseved_ids() { function fail_validation_with_lane_id (line 793) | fn fail_validation_with_lane_id(lane_id: u8) { function should_valid_no_wasm_lanes (line 805) | fn should_valid_no_wasm_lanes() { FILE: node/src/utils/chain_specification/error.rs type Error (line 8) | pub enum Error { type ChainspecAccountsLoadError (line 32) | pub enum ChainspecAccountsLoadError { type GlobalStateUpdateLoadError (line 56) | pub enum GlobalStateUpdateLoadError { FILE: node/src/utils/chain_specification/parse_toml.rs constant CHAINSPEC_FILENAME (line 48) | pub const CHAINSPEC_FILENAME: &str = "chainspec.toml"; constant CHAINSPEC_ACCOUNTS_FILENAME (line 50) | pub const CHAINSPEC_ACCOUNTS_FILENAME: &str = "accounts.toml"; constant CHAINSPEC_GLOBAL_STATE_FILENAME (line 52) | pub const CHAINSPEC_GLOBAL_STATE_FILENAME: &str = "global_state.toml"; type TomlNetwork (line 57) | struct TomlNetwork { type TomlProtocol (line 65) | struct TomlProtocol { type TomlChainspec (line 75) | pub(super) struct TomlChainspec { method from (line 88) | fn from(chainspec: &Chainspec) -> Self { function parse_toml (line 120) | pub(super) fn parse_toml>( type Error (line 182) | type Error = Error; method from_path (line 184) | fn from_path>(path: P) -> Result { function parse_toml_accounts (line 192) | pub(super) fn parse_toml_accounts>( function parse_toml_global_state (line 206) | pub(super) fn parse_toml_global_state>( FILE: node/src/utils/config_specification.rs function validate_config (line 3) | pub fn validate_config(config: &Config) -> bool { function validate_config_should_fail_malformed_blocklist_definition (line 17) | fn validate_config_should_fail_malformed_blocklist_definition() { function validate_config_should_not_fail_when_blocklist_definitions_are_ok (line 25) | fn validate_config_should_not_fail_when_blocklist_definitions_are_ok() { FILE: node/src/utils/display_error.rs function display_error (line 18) | pub(crate) fn display_error<'a, T>(err: &'a T) -> field::DisplayValue(pub &'a T); method fmt (line 33) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type Baz (line 57) | struct Baz; type Bar (line 61) | struct Bar(#[source] Baz); type MyError (line 64) | enum MyError { function test_formatter_formats_single (line 73) | fn test_formatter_formats_single() { function test_formatter_formats_nested (line 80) | fn test_formatter_formats_nested() { FILE: node/src/utils/ds.rs constant SAMPLE_SIZE (line 15) | const SAMPLE_SIZE: usize = 50; function sampling_rng (line 18) | fn sampling_rng(len: usize) -> StdRng { function scale_sample (line 37) | fn scale_sample(len: usize, sampled: usize) -> usize { function vec_sample (line 43) | pub fn vec_sample(vec: &Vec) -> usize function hashmap_sample (line 63) | pub fn hashmap_sample(map: &HashMap) -> usize function once_cell (line 103) | pub(crate) fn once_cell(cell: &OnceCell) -> usize function maybe_either (line 110) | pub(crate) fn maybe_either(either: &Option>) -> usize function vec_sample_below_sample_size (line 132) | fn vec_sample_below_sample_size() { function vec_sample_above_sample_size (line 144) | fn vec_sample_above_sample_size() { function hashmap_sample_below_sample_size (line 156) | fn hashmap_sample_below_sample_size() { function hashmap_sample_above_sample_size (line 171) | fn hashmap_sample_above_sample_size() { FILE: node/src/utils/external.rs type External (line 48) | pub enum External { method load (line 60) | pub fn load(self, root: P) -> Result> type Loadable (line 87) | pub trait Loadable: Sized { method from_path (line 92) | fn from_path>(path: P) -> Result; method from_resources (line 96) | fn from_resources>(rel_path: P) -> Self { type Error (line 132) | type Error = anyhow::Error; method from_path (line 134) | fn from_path>(path: P) -> Result { type Error (line 149) | type Error = anyhow::Error; method from_path (line 151) | fn from_path>(path: P) -> Result { type Error (line 167) | type Error = crypto::ErrorExt; method from_path (line 169) | fn from_path>(path: P) -> Result { type Error (line 175) | type Error = ReadFileError; method from_path (line 177) | fn from_path>(path: P) -> Result { function display_res_path (line 107) | fn display_res_path(result: &Result) -> String { type LoadError (line 116) | pub enum LoadError { function test_to_string (line 187) | fn test_to_string() { function test_load_from_string (line 196) | fn test_load_from_string() { FILE: node/src/utils/fmt_limit.rs type FmtLimit (line 8) | pub(crate) struct FmtLimit<'a, T> { function new (line 16) | pub(crate) fn new(limit: usize, item: &'a T) -> Self { type LimitWriter (line 22) | struct LimitWriter<'a, W> { function new (line 37) | fn new(inner: &'a mut W, limit: usize) -> Self { method write_str (line 51) | fn write_str(&mut self, s: &str) -> fmt::Result { method write_char (line 71) | fn write_char(&mut self, c: char) -> fmt::Result { method fmt (line 91) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { function limit_debug_works (line 104) | fn limit_debug_works() { FILE: node/src/utils/opt_display.rs type OptDisplay (line 13) | pub struct OptDisplay<'a, T> { method serialize (line 24) | fn serialize(&self, serializer: S) -> core::result::Result, empty_display: &'a str) -> Self { method fmt (line 45) | fn fmt(&self, f: &mut Formatter<'_>) -> Result { function opt_display_works (line 58) | fn opt_display_works() { FILE: node/src/utils/rlimit.rs type Limit (line 18) | pub type Limit = libc::rlim_t; type LimitResourceId (line 21) | pub type LimitResourceId = libc::__rlimit_resource_t; type LimitResourceId (line 24) | pub type LimitResourceId = libc::c_int; type LimitKind (line 27) | pub trait LimitKind { constant LIBC_RESOURCE (line 29) | const LIBC_RESOURCE: LimitResourceId; constant LIBC_RESOURCE (line 37) | const LIBC_RESOURCE: LimitResourceId = libc::RLIMIT_NOFILE; type OpenFiles (line 34) | pub struct OpenFiles; type ResourceLimit (line 42) | pub struct ResourceLimit { method fmt (line 51) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { function new (line 63) | pub fn new(current: Limit, max: Limit) -> Self { function fixed (line 75) | pub fn fixed(limit: Limit) -> Self { function current (line 81) | pub fn current(self) -> Limit { function max (line 87) | pub fn max(self) -> Limit { function get (line 98) | pub fn get() -> io::Result { function set (line 118) | pub fn set(self) -> io::Result<()> { function get_and_reset_ulimit (line 138) | fn get_and_reset_ulimit() { FILE: node/src/utils/round_robin.rs type WeightedRoundRobin (line 31) | pub struct WeightedRoundRobin { type QueueState (line 54) | struct QueueState { function new (line 63) | fn new() -> Self { function drain (line 72) | async fn drain(&self) -> Vec { function push_back (line 80) | async fn push_back(&self, element: I) { function dec_count (line 86) | fn dec_count(&self) { function event_count (line 91) | fn event_count(&self) -> usize { type IterationState (line 98) | struct IterationState { type Slot (line 113) | struct Slot { type QueueDump (line 123) | pub struct QueueDump<'a, K, I> function new (line 143) | pub(crate) fn new( function dump (line 176) | pub async fn dump)>(&self, dumper: F) function lock_queues (line 192) | async fn lock_queues(&self) -> Vec<(K, MutexGuard<'_, VecDeque>)> { function should_dump_queues (line 210) | fn should_dump_queues(total: usize, recent_threshold: usize) -> bool { function push (line 223) | pub(crate) async fn push(&self, item: I, queue: K) { function pop (line 259) | pub(crate) async fn pop(&self) -> (I, K) { function drain_queue (line 297) | pub(crate) async fn drain_queue(&self, queue: K) -> Vec { function drain_queues (line 317) | pub async fn drain_queues(&self) -> Vec { function seal (line 331) | pub fn seal(&self) { function item_count (line 337) | pub(crate) fn item_count(&self) -> usize { function event_queues_counts (line 342) | pub(crate) fn event_queues_counts(&self) -> HashMap { type QueueKind (line 360) | enum QueueKind { function weights (line 365) | fn weights() -> Vec<(QueueKind, NonZeroUsize)> { method fmt (line 375) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function should_respect_weighting (line 384) | async fn should_respect_weighting() { function can_seal_queue (line 407) | async fn can_seal_queue() { function should_calculate_dump_threshold (line 431) | fn should_calculate_dump_threshold() { FILE: node/src/utils/specimen.rs constant HIGHEST_UNICODE_CODEPOINT (line 48) | pub(crate) const HIGHEST_UNICODE_CODEPOINT: char = '\u{10FFFF}'; constant LARGE_WASM_LANE_ID (line 49) | const LARGE_WASM_LANE_ID: u8 = 3; type Cache (line 53) | pub(crate) struct Cache { method get (line 60) | pub(crate) fn get(&mut self) -> Option<&T> { method set (line 70) | pub(crate) fn set(&mut self, item: T) -> &T { method get_all (line 80) | fn get_all(&mut self) -> &mut Vec> { type SizeEstimator (line 86) | pub(crate) trait SizeEstimator { method estimate (line 88) | fn estimate(&self, val: &T) -> usize; method parameter (line 99) | fn parameter>(&self, name: &'static str) -> T; method parameter_bool (line 111) | fn parameter_bool(&self, name: &'static str) -> bool { type LargestSpecimen (line 120) | pub(crate) trait LargestSpecimen: Sized { method largest_specimen (line 122) | fn largest_specimen(estimator: &E, cache: &mut Cache... method largest_specimen (line 240) | fn largest_specimen(estimator: &E, cache: &mut Cache... method largest_specimen (line 246) | fn largest_specimen(estimator: &E, cache: &mut Cache... method largest_specimen (line 257) | fn largest_specimen(_estimator: &E, _cache: &mut Cac... method largest_specimen (line 266) | fn largest_specimen(_estimator: &E, _cache: &mut Cac... method largest_specimen (line 272) | fn largest_specimen(_estimator: &E, _cache: &mut Cac... method largest_specimen (line 278) | fn largest_specimen(_estimator: &E, _cache: &mut Cac... method largest_specimen (line 284) | fn largest_specimen(_estimator: &E, _cache: &mut Cac... method largest_specimen (line 290) | fn largest_specimen(_estimator: &E, _cache: &mut Cac... method largest_specimen (line 296) | fn largest_specimen(_estimator: &E, _cache: &mut Cac... method largest_specimen (line 302) | fn largest_specimen(estimator: &E, cache: &mut Cache... method largest_specimen (line 311) | fn largest_specimen(estimator: &E, cache: &mut Cache... method largest_specimen (line 320) | fn largest_specimen(estimator: &E, cache: &mut Cache... method largest_specimen (line 329) | fn largest_specimen(estimator: &E, cache: &mut Cache... method largest_specimen (line 339) | fn largest_specimen(estimator: &E, cache: &mut Cache... method largest_specimen (line 353) | fn largest_specimen(estimator: &E, cache: &mut Cache... method largest_specimen (line 369) | fn largest_specimen(estimator: &E, cache: &mut Cache... method largest_specimen (line 383) | fn largest_specimen(estimator: &E, cache: &mut Cache... method largest_specimen (line 389) | fn largest_specimen(estimator: &E, cache: &mut Cache... method largest_specimen (line 398) | fn largest_specimen(estimator: &E, cache: &mut Cache... method largest_specimen (line 404) | fn largest_specimen(estimator: &E, cache: &mut Cache... method largest_specimen (line 414) | fn largest_specimen(estimator: &E, cache: &mut Cache... method largest_specimen (line 493) | fn largest_specimen(estimator: &E, cache: &mut Cache... method largest_specimen (line 527) | fn largest_specimen(estimator: &E, cache: &mut Cache... method largest_specimen (line 533) | fn largest_specimen(_estimator: &E, _cache: &mut Cac... method largest_specimen (line 540) | fn largest_specimen(estimator: &E, cache: &mut Cache... method largest_specimen (line 546) | fn largest_specimen(estimator: &E, cache: &mut Cache... method largest_specimen (line 564) | fn largest_specimen(estimator: &E, cache: &mut Cache... method largest_specimen (line 585) | fn largest_specimen(estimator: &E, cache: &mut Cache... method largest_specimen (line 608) | fn largest_specimen(estimator: &E, cache: &mut Cache... method largest_specimen (line 629) | fn largest_specimen(estimator: &E, cache: &mut Cache... method largest_specimen (line 638) | fn largest_specimen(estimator: &E, cache: &mut Cache... method largest_specimen (line 659) | fn largest_specimen(estimator: &E, cache: &mut Cache... method largest_specimen (line 668) | fn largest_specimen(estimator: &E, cache: &mut Cache... method largest_specimen (line 677) | fn largest_specimen(estimator: &E, cache: &mut Cache... method largest_specimen (line 693) | fn largest_specimen(estimator: &E, cache: &mut Cache... method largest_specimen (line 742) | fn largest_specimen(estimator: &E, cache: &mut Cache... method largest_specimen (line 748) | fn largest_specimen(estimator: &E, cache: &mut Cache... method largest_specimen (line 761) | fn largest_specimen(estimator: &E, cache: &mut Cache... method largest_specimen (line 767) | fn largest_specimen(estimator: &E, cache: &mut Cache... method largest_specimen (line 780) | fn largest_specimen(estimator: &E, cache: &mut Cache... method largest_specimen (line 790) | fn largest_specimen(estimator: &E, cache: &mut Cache... method largest_specimen (line 800) | fn largest_specimen(estimator: &E, cache: &mut Cache... method largest_specimen (line 806) | fn largest_specimen(_estimator: &E, _cache: &mut Cac... method largest_specimen (line 814) | fn largest_specimen(_estimator: &E, _cache: &mut Cac... method largest_specimen (line 821) | fn largest_specimen(estimator: &E, cache: &mut Cache... method largest_specimen (line 887) | fn largest_specimen(estimator: &E, cache: &mut Cache... method largest_specimen (line 896) | fn largest_specimen(estimator: &E, _cache: &mut Cach... method largest_specimen (line 904) | fn largest_specimen(estimator: &E, cache: &mut Cache... method largest_specimen (line 910) | fn largest_specimen(estimator: &E, cache: &mut Cache... method largest_specimen (line 937) | fn largest_specimen(estimator: &E, cache: &mut Cache... method largest_specimen (line 961) | fn largest_specimen(estimator: &E, cache: &mut Cache... method largest_specimen (line 984) | fn largest_specimen(estimator: &E, cache: &mut Cache... method largest_specimen (line 993) | fn largest_specimen(estimator: &E, cache: &mut Cache... method largest_specimen (line 1006) | fn largest_specimen(estimator: &E, cache: &mut Cache... method largest_specimen (line 1012) | fn largest_specimen(estimator: &E, cache: &mut Cache... method largest_specimen (line 1035) | fn largest_specimen(estimator: &E, cache: &mut Cache... method largest_specimen (line 1055) | fn largest_specimen(estimator: &E, cache: &mut Cache... method largest_specimen (line 1068) | fn largest_specimen(estimator: &E, cache: &mut Cache... method largest_specimen (line 1083) | fn largest_specimen(estimator: &E, cache: &mut Cache... method largest_specimen (line 1109) | fn largest_specimen(_estimator: &E, _cache: &mut Cac... method largest_specimen (line 1115) | fn largest_specimen(estimator: &E, cache: &mut Cache... method largest_specimen (line 1121) | fn largest_specimen(_estimator: &E, _cache: &mut Cac... method largest_specimen (line 1128) | fn largest_specimen(_estimator: &E, _cache: &mut Cac... method largest_specimen (line 1134) | fn largest_specimen(estimator: &E, cache: &mut Cache... type LargeUniqueSequence (line 126) | pub(crate) trait LargeUniqueSequence method large_unique_sequence (line 136) | fn large_unique_sequence(estimator: &E, count: usize, cache: &mut Cach... function largest_variant (line 140) | pub(crate) fn largest_variant(estimator: &E, generator: F) -> T function vec_of_largest_specimen (line 154) | pub(crate) fn vec_of_largest_specimen( function btree_map_distinct_from_prop (line 183) | pub(crate) fn btree_map_distinct_from_prop( function btree_set_distinct_from_prop (line 207) | pub(crate) fn btree_set_distinct_from_prop( function btree_set_distinct (line 227) | pub(crate) fn btree_set_distinct( method large_unique_sequence (line 427) | fn large_unique_sequence(estimator: &E, count: usize, cache: &mut Cache)... method large_unique_sequence (line 487) | fn large_unique_sequence(_estimator: &E, count: usize, _cache: &mut Cach... type BlockHeaderWithoutEraEnd (line 599) | pub(crate) struct BlockHeaderWithoutEraEnd(BlockHeaderV2); method into_block_header (line 602) | pub(crate) fn into_block_header(self) -> BlockHeader { method large_unique_sequence (line 923) | fn large_unique_sequence(estimator: &E, count: usize, cache: &mut Cache)... function largest_get_request (line 1145) | pub(crate) fn largest_get_request(estimator: &E, cache... function largest_get_response (line 1181) | pub(crate) fn largest_get_response(estimator: &E, cach... function largest_chain_name (line 1219) | fn largest_chain_name(estimator: &E) -> String { function string_max_characters (line 1224) | fn string_max_characters(max_char: usize) -> String { function estimator_max_rounds_per_era (line 1233) | pub(crate) fn estimator_max_rounds_per_era(estimator: &impl SizeEstimato... function memoization_cache_simple (line 1249) | fn memoization_cache_simple() { FILE: node/src/utils/umask.rs type Mode (line 4) | pub(crate) type Mode = libc::mode_t; function umask (line 7) | fn umask(new_mode: Mode) -> Mode { function temp_umask (line 14) | pub(crate) fn temp_umask(new_mode: Mode) -> UmaskGuard { type UmaskGuard (line 21) | pub(crate) struct UmaskGuard { method drop (line 27) | fn drop(&mut self) { FILE: node/src/utils/work_queue.rs type WorkQueue (line 80) | pub struct WorkQueue { type QueueInner (line 89) | struct QueueInner { method default (line 98) | fn default() -> Self { method default (line 107) | fn default() -> Self { function next_job (line 125) | pub async fn next_job(self: &Arc) -> Option> { function push_job (line 165) | pub fn push_job(&self, job: T) { function num_jobs (line 173) | pub fn num_jobs(&self) -> usize { function to_stream (line 179) | pub fn to_stream(self: Arc) -> impl Stream> { function complete_job (line 190) | fn complete_job(&self) { type JobHandle (line 204) | pub struct JobHandle { function inner (line 213) | pub fn inner(&self) -> &T { method drop (line 219) | fn drop(&mut self) { type TestJob (line 240) | struct TestJob(u32); function notification_assumption_holds (line 245) | fn notification_assumption_holds() { function job_worker_simple (line 263) | async fn job_worker_simple(queue: Arc>, sum: Arc>, sum: Arc URef { function set_action_threshold (line 32) | pub fn set_action_threshold( function add_associated_key (line 47) | pub fn add_associated_key(account_hash: AccountHash, weight: Weight) -> ... function remove_associated_key (line 65) | pub fn remove_associated_key(account_hash: AccountHash) -> Result<(), Re... function update_associated_key (line 77) | pub fn update_associated_key( FILE: smart_contracts/contract/src/contract_api/cryptography.rs function generic_hash (line 12) | pub fn generic_hash>(input: T, algo: HashAlgorithm) -> [u... function recover_secp256k1 (line 29) | pub fn recover_secp256k1>( function verify_signature (line 54) | pub fn verify_signature>( FILE: smart_contracts/contract/src/contract_api/entity.rs function get_main_purse (line 18) | pub fn get_main_purse() -> URef { function set_action_threshold (line 32) | pub fn set_action_threshold( function add_associated_key (line 47) | pub fn add_associated_key(account_hash: AccountHash, weight: Weight) -> ... function remove_associated_key (line 65) | pub fn remove_associated_key(account_hash: AccountHash) -> Result<(), Re... function update_associated_key (line 77) | pub fn update_associated_key( FILE: smart_contracts/contract/src/contract_api/mod.rs function size_align_for_array (line 21) | const fn size_align_for_array(n: usize) -> (usize, usize) { function alloc_bytes (line 26) | pub fn alloc_bytes(n: usize) -> NonNull { function to_ptr (line 39) | fn to_ptr(t: T) -> (*const u8, usize, Vec) { function dictionary_item_key_to_ptr (line 46) | fn dictionary_item_key_to_ptr(dictionary_item_key: &str) -> (*const u8, ... FILE: smart_contracts/contract/src/contract_api/runtime.rs constant RANDOM_BYTES_COUNT (line 21) | const RANDOM_BYTES_COUNT: usize = 32; constant ACCOUNT (line 23) | const ACCOUNT: u8 = 0; type CallerIndex (line 26) | enum CallerIndex { function ret (line 37) | pub fn ret(value: CLValue) -> ! { function revert (line 48) | pub fn revert>(error: T) -> ! { function call_contract (line 59) | pub fn call_contract( function call_versioned_contract (line 95) | pub fn call_versioned_contract( function call_package_version (line 137) | pub fn call_package_version( function deserialize_contract_result (line 176) | fn deserialize_contract_result(bytes_written: us... function get_named_arg_size (line 199) | fn get_named_arg_size(name: &str) -> Option { function get_named_arg (line 219) | pub fn get_named_arg(name: &str) -> T { function try_get_named_arg (line 250) | pub fn try_get_named_arg(name: &str) -> Option { function get_caller (line 278) | pub fn get_caller() -> AccountHash { function get_blocktime (line 290) | pub fn get_blocktime() -> BlockTime { constant DEFAULT_HASH_LENGTH (line 304) | pub const DEFAULT_HASH_LENGTH: u8 = 32; constant PROTOCOL_VERSION_LENGTH (line 306) | pub const PROTOCOL_VERSION_LENGTH: u8 = 12; constant ADDRESSABLE_ENTITY_LENGTH (line 308) | pub const ADDRESSABLE_ENTITY_LENGTH: u8 = 1; constant BLOCK_TIME_FIELD_IDX (line 310) | pub const BLOCK_TIME_FIELD_IDX: u8 = 0; constant BLOCK_HEIGHT_FIELD_IDX (line 312) | pub const BLOCK_HEIGHT_FIELD_IDX: u8 = 1; constant PARENT_BLOCK_HASH_FIELD_IDX (line 314) | pub const PARENT_BLOCK_HASH_FIELD_IDX: u8 = 2; constant STATE_HASH_FIELD_IDX (line 316) | pub const STATE_HASH_FIELD_IDX: u8 = 3; constant PROTOCOL_VERSION_FIELD_IDX (line 318) | pub const PROTOCOL_VERSION_FIELD_IDX: u8 = 4; constant ADDRESSABLE_ENTITY_FIELD_IDX (line 320) | pub const ADDRESSABLE_ENTITY_FIELD_IDX: u8 = 5; function get_block_height (line 323) | pub fn get_block_height() -> u64 { function get_parent_block_hash (line 337) | pub fn get_parent_block_hash() -> Digest { function get_state_hash (line 351) | pub fn get_state_hash() -> Digest { function get_protocol_version (line 365) | pub fn get_protocol_version() -> ProtocolVersion { function get_addressable_entity (line 379) | pub fn get_addressable_entity() -> bool { function get_phase (line 393) | pub fn get_phase() -> Phase { function get_key (line 410) | pub fn get_key(name: &str) -> Option { function has_key (line 437) | pub fn has_key(name: &str) -> bool { function put_key (line 447) | pub fn put_key(name: &str, key: Key) { function remove_key (line 457) | pub fn remove_key(name: &str) { function list_authorization_keys (line 463) | pub fn list_authorization_keys() -> BTreeSet { function list_named_keys (line 491) | pub fn list_named_keys() -> NamedKeys { function is_valid_uref (line 510) | pub fn is_valid_uref(uref: URef) -> bool { function blake2b (line 517) | pub fn blake2b>(input: T) -> [u8; BLAKE2B_DIGEST_LENGTH] { function random_bytes (line 533) | pub fn random_bytes() -> [u8; RANDOM_BYTES_COUNT] { function read_host_buffer_into (line 540) | fn read_host_buffer_into(dest: &mut [u8]) -> Result { function read_host_buffer (line 552) | pub(crate) fn read_host_buffer(size: usize) -> Result, ApiError> { function get_call_stack (line 564) | pub fn get_call_stack() -> Vec { function get_initiator_or_immediate (line 585) | fn get_initiator_or_immediate(action: u8) -> Result { function get_call_initiator (line 613) | pub fn get_call_initiator() -> Result { function get_immediate_caller (line 632) | pub fn get_immediate_caller() -> Result { function manage_message_topic (line 637) | pub fn manage_message_topic( function emit_message (line 658) | pub fn emit_message(topic_name: &str, message: &MessagePayload) -> Resul... function print (line 679) | pub fn print(text: &str) { FILE: smart_contracts/contract/src/contract_api/storage.rs function read (line 29) | pub fn read(uref: URef) -> Result, byt... function read_from_key (line 35) | pub fn read_from_key(key: Key) -> Result(uref: URef) -> T { function write (line 60) | pub fn write(uref: URef, value: T) { function add (line 73) | pub fn add(uref: URef, value: T) { function new_uref (line 87) | pub fn new_uref(init: T) -> URef { function new_contract (line 111) | pub fn new_contract( function new_locked_contract (line 136) | pub fn new_locked_contract( function create_contract (line 153) | fn create_contract( function create_contract_package_at_hash (line 186) | pub fn create_contract_package_at_hash() -> (ContractPackageHash, URef) { function create_contract_package (line 190) | fn create_contract_package(is_locked: bool) -> (ContractPackageHash, URe... function create_contract_user_group (line 213) | pub fn create_contract_user_group( function provision_contract_user_group_uref (line 247) | pub fn provision_contract_user_group_uref( function remove_contract_user_group_urefs (line 273) | pub fn remove_contract_user_group_urefs( function remove_contract_user_group (line 296) | pub fn remove_contract_user_group( function add_contract_version (line 315) | pub fn add_contract_version( function disable_contract_version (line 377) | pub fn disable_contract_version( function enable_contract_version (line 408) | pub fn enable_contract_version( function new_dictionary (line 430) | pub fn new_dictionary(dictionary_name: &str) -> Result { function dictionary_get (line 449) | pub fn dictionary_get( function dictionary_put (line 484) | pub fn dictionary_put( function dictionary_read (line 516) | pub fn dictionary_read(dictionary_key: Key) -> R... function get_named_uref (line 538) | fn get_named_uref(name: &str) -> URef { function named_dictionary_get (line 546) | pub fn named_dictionary_get( function named_dictionary_put (line 554) | pub fn named_dictionary_put( FILE: smart_contracts/contract/src/contract_api/system.rs function get_system_contract (line 18) | fn get_system_contract(system_contract: SystemEntityType) -> ContractHash { function get_mint (line 44) | pub fn get_mint() -> ContractHash { function get_handle_payment (line 51) | pub fn get_handle_payment() -> ContractHash { function get_standard_payment (line 58) | pub fn get_standard_payment() -> ContractHash { function get_auction (line 65) | pub fn get_auction() -> ContractHash { function create_purse (line 70) | pub fn create_purse() -> URef { function get_purse_balance (line 87) | pub fn get_purse_balance(purse: URef) -> Option { function get_balance (line 106) | pub fn get_balance() -> Option { function transfer_to_account (line 112) | pub fn transfer_to_account(target: AccountHash, amount: U512, id: Option... function transfer_to_public_key (line 140) | pub fn transfer_to_public_key(target: PublicKey, amount: U512, id: Optio... function transfer_from_purse_to_account (line 147) | pub fn transfer_from_purse_to_account( function transfer_from_purse_to_public_key (line 183) | pub fn transfer_from_purse_to_public_key( function transfer_from_purse_to_purse (line 195) | pub fn transfer_from_purse_to_purse( FILE: smart_contracts/contract/src/ext_ffi.rs function casper_read_value (line 21) | pub fn casper_read_value(key_ptr: *const u8, key_size: usize, output_siz... function casper_write (line 35) | pub fn casper_write( function casper_add (line 55) | pub fn casper_add(key_ptr: *const u8, key_size: usize, value_ptr: *const... function casper_new_uref (line 69) | pub fn casper_new_uref(uref_ptr: *mut u8, value_ptr: *const u8, value_si... function casper_load_authorization_keys (line 78) | pub fn casper_load_authorization_keys(total_keys: *mut usize, result_siz... function casper_load_named_keys (line 81) | pub fn casper_load_named_keys(total_keys: *mut usize, result_size: *mut ... function casper_ret (line 97) | pub fn casper_ret(value_ptr: *const u8, value_size: usize) -> !; function casper_get_key (line 99) | pub fn casper_get_key( function casper_has_key (line 107) | pub fn casper_has_key(name_ptr: *const u8, name_size: usize) -> i32; function casper_put_key (line 109) | pub fn casper_put_key( function casper_remove_key (line 116) | pub fn casper_remove_key(name_ptr: *const u8, name_size: usize); function casper_revert (line 127) | pub fn casper_revert(status: u32) -> !; function casper_is_valid_uref (line 133) | pub fn casper_is_valid_uref(uref_ptr: *const u8, uref_size: usize) -> i32; function casper_add_associated_key (line 156) | pub fn casper_add_associated_key( function casper_remove_associated_key (line 181) | pub fn casper_remove_associated_key( function casper_update_associated_key (line 205) | pub fn casper_update_associated_key( function casper_set_action_threshold (line 227) | pub fn casper_set_action_threshold(permission_level: u32, threshold: u32... function casper_get_caller (line 235) | pub fn casper_get_caller(output_size_ptr: *mut usize) -> i32; function casper_get_blocktime (line 245) | pub fn casper_get_blocktime(dest_ptr: *const u8); function casper_create_purse (line 257) | pub fn casper_create_purse(purse_ptr: *const u8, purse_size: usize) -> i32; function casper_transfer_to_account (line 286) | pub fn casper_transfer_to_account( function casper_transfer_from_purse_to_account (line 327) | pub fn casper_transfer_from_purse_to_account( function casper_transfer_from_purse_to_purse (line 364) | pub fn casper_transfer_from_purse_to_purse( function casper_get_balance (line 388) | pub fn casper_get_balance( function casper_get_phase (line 405) | pub fn casper_get_phase(dest_ptr: *mut u8); function casper_get_system_contract (line 407) | pub fn casper_get_system_contract( function casper_get_main_purse (line 413) | pub fn casper_get_main_purse(dest_ptr: *mut u8); function casper_read_host_buffer (line 430) | pub fn casper_read_host_buffer( function casper_create_contract_package_at_hash (line 438) | pub fn casper_create_contract_package_at_hash( function casper_create_contract_user_group (line 456) | pub fn casper_create_contract_user_group( function casper_add_contract_version (line 481) | pub fn casper_add_contract_version( function casper_add_contract_version_with_message_topics (line 509) | pub fn casper_add_contract_version_with_message_topics( function casper_add_package_version_with_message_topics (line 538) | pub fn casper_add_package_version_with_message_topics( function casper_disable_contract_version (line 560) | pub fn casper_disable_contract_version( function casper_call_contract (line 580) | pub fn casper_call_contract( function casper_call_versioned_contract (line 607) | pub fn casper_call_versioned_contract( function casper_get_named_arg_size (line 630) | pub fn casper_get_named_arg_size( function casper_get_named_arg (line 653) | pub fn casper_get_named_arg( function casper_remove_contract_user_group (line 667) | pub fn casper_remove_contract_user_group( function casper_provision_contract_user_group_uref (line 684) | pub fn casper_provision_contract_user_group_uref( function casper_remove_contract_user_group_urefs (line 702) | pub fn casper_remove_contract_user_group_urefs( function casper_blake2b (line 718) | pub fn casper_blake2b( function casper_load_call_stack (line 730) | pub fn casper_load_call_stack( function casper_print (line 741) | pub fn casper_print(text_ptr: *const u8, text_size: usize); function casper_new_dictionary (line 747) | pub fn casper_new_dictionary(output_size_ptr: *mut usize) -> i32; function casper_dictionary_get (line 761) | pub fn casper_dictionary_get( function casper_dictionary_read (line 780) | pub fn casper_dictionary_read( function casper_dictionary_put (line 800) | pub fn casper_dictionary_put( function casper_random_bytes (line 813) | pub fn casper_random_bytes(out_ptr: *mut u8, out_size: usize) -> i32; function casper_enable_contract_version (line 823) | pub fn casper_enable_contract_version( function casper_manage_message_topic (line 838) | pub fn casper_manage_message_topic( function casper_emit_message (line 853) | pub fn casper_emit_message( function casper_load_caller_information (line 870) | pub fn casper_load_caller_information( function casper_get_block_info (line 890) | pub fn casper_get_block_info(field_idx: u8, dest_ptr: *const u8); function casper_generic_hash (line 901) | pub fn casper_generic_hash( function casper_recover_secp256k1 (line 926) | pub fn casper_recover_secp256k1( function casper_verify_signature (line 945) | pub fn casper_verify_signature( function casper_call_package_version (line 969) | pub fn casper_call_package_version( FILE: smart_contracts/contract/src/no_std_handlers.rs function panic (line 6) | pub fn panic(_info: &core::panic::PanicInfo) -> ! { function oom (line 16) | pub fn oom(_: core::alloc::Layout) -> ! { function eh_personality (line 21) | extern "C" fn eh_personality() {} FILE: smart_contracts/contract/src/unwrap_or_revert.rs type UnwrapOrRevert (line 9) | pub trait UnwrapOrRevert { method unwrap_or_revert (line 12) | fn unwrap_or_revert(self) -> T; method unwrap_or_revert_with (line 16) | fn unwrap_or_revert_with>(self, error: E) -> T; function unwrap_or_revert (line 20) | fn unwrap_or_revert(self) -> T { function unwrap_or_revert_with (line 24) | fn unwrap_or_revert_with>(self, error: F) -> T { function unwrap_or_revert (line 30) | fn unwrap_or_revert(self) -> T { function unwrap_or_revert_with (line 34) | fn unwrap_or_revert_with>(self, error: E) -> T { FILE: smart_contracts/contract/tests/version_numbers.rs function test_html_root_url (line 3) | fn test_html_root_url() { FILE: smart_contracts/contracts/SRE/create-test-node-01/src/main.rs constant NODE_01_ADDR (line 4) | const NODE_01_ADDR: &[u8; 64] = b"d853ee569a6cf4315a26cf1190f9b55003aae4... constant INITIAL_AMOUNT (line 5) | const INITIAL_AMOUNT: u64 = 1_000_000; function call (line 8) | pub extern "C" fn call() { FILE: smart_contracts/contracts/SRE/create-test-node-02/src/main.rs constant NODE_02_ADDR (line 4) | const NODE_02_ADDR: &[u8; 64] = b"4ee7ad9b21fd625481d0a94c618a15ab92503a... constant INITIAL_AMOUNT (line 5) | const INITIAL_AMOUNT: u64 = 1_000_000; function call (line 8) | pub extern "C" fn call() { FILE: smart_contracts/contracts/SRE/create-test-node-03/src/main.rs constant NODE_03_ADDR (line 4) | const NODE_03_ADDR: &[u8; 64] = b"a3b2fd2971f2de5145d2342df38555ce97070a... constant INITIAL_AMOUNT (line 5) | const INITIAL_AMOUNT: u64 = 1_000_000; function call (line 8) | pub extern "C" fn call() { FILE: smart_contracts/contracts/SRE/create-test-node-shared/src/lib.rs type Error (line 10) | enum Error { method from (line 17) | fn from(error: Error) -> Self { function parse_account_hash (line 22) | fn parse_account_hash(hex: &[u8]) -> AccountHash { function create_account (line 33) | pub fn create_account(account_addr: &[u8; 64], initial_amount: u64) { FILE: smart_contracts/contracts/admin/disable-contract/src/main.rs constant ARG_CONTRACT_PACKAGE_HASH (line 10) | const ARG_CONTRACT_PACKAGE_HASH: &str = "contract_package_hash"; constant ARG_CONTRACT_HASH (line 11) | const ARG_CONTRACT_HASH: &str = "contract_hash"; function call (line 14) | pub extern "C" fn call() { FILE: smart_contracts/contracts/admin/enable-contract/src/main.rs constant ARG_CONTRACT_PACKAGE_HASH (line 10) | const ARG_CONTRACT_PACKAGE_HASH: &str = "contract_package_hash"; constant ARG_CONTRACT_HASH (line 11) | const ARG_CONTRACT_HASH: &str = "contract_hash"; function call (line 14) | pub extern "C" fn call() { FILE: smart_contracts/contracts/bench/create-accounts/src/main.rs constant ARG_ACCOUNTS (line 14) | const ARG_ACCOUNTS: &str = "accounts"; constant ARG_AMOUNT (line 15) | const ARG_AMOUNT: &str = "amount"; function call (line 18) | pub extern "C" fn call() { FILE: smart_contracts/contracts/bench/create-purses/src/main.rs constant ARG_TOTAL_PURSES (line 13) | const ARG_TOTAL_PURSES: &str = "total_purses"; constant ARG_AMOUNT (line 14) | const ARG_AMOUNT: &str = "amount"; function call (line 17) | pub extern "C" fn call() { FILE: smart_contracts/contracts/bench/transfer-to-existing-account/src/main.rs constant ARG_TARGET (line 10) | const ARG_TARGET: &str = "target"; constant ARG_AMOUNT (line 11) | const ARG_AMOUNT: &str = "amount"; type Error (line 14) | enum Error { function call (line 19) | pub extern "C" fn call() { FILE: smart_contracts/contracts/bench/transfer-to-purse/src/main.rs constant ARG_TARGET_PURSE (line 10) | const ARG_TARGET_PURSE: &str = "target_purse"; constant ARG_AMOUNT (line 11) | const ARG_AMOUNT: &str = "amount"; function call (line 14) | pub extern "C" fn call() { FILE: smart_contracts/contracts/client/activate-bid/src/main.rs constant ARG_VALIDATOR (line 7) | const ARG_VALIDATOR: &str = "validator"; function activate_bid (line 9) | fn activate_bid(public_key: PublicKey) { function call (line 19) | pub extern "C" fn call() { FILE: smart_contracts/contracts/client/add-bid/src/main.rs function get_named_arg_size (line 19) | fn get_named_arg_size(name: &str) -> Option { function get_optional_named_args (line 38) | pub fn get_optional_named_args(name: &str) -> Option { function add_bid (line 65) | fn add_bid( function call (line 103) | pub extern "C" fn call() { FILE: smart_contracts/contracts/client/add-reservations/src/main.rs function add_reservations (line 14) | fn add_reservations(reservations: Vec) { function call (line 27) | pub extern "C" fn call() { FILE: smart_contracts/contracts/client/burn/src/main.rs constant ARG_PURSE_NAME (line 14) | const ARG_PURSE_NAME: &str = "purse_name"; function burn (line 16) | fn burn(uref: URef, amount: U512) -> Result<(), mint::Error> { function call (line 26) | pub extern "C" fn call() { function get_named_arg_size (line 44) | fn get_named_arg_size(name: &str) -> Option { function get_named_arg_option (line 60) | fn get_named_arg_option(name: &str) -> Option { FILE: smart_contracts/contracts/client/call-contract/src/main.rs constant ARG_CONTRACT_HASH (line 17) | const ARG_CONTRACT_HASH: &str = "contract_hash"; constant ARG_ENTRYPOINT (line 18) | const ARG_ENTRYPOINT: &str = "entrypoint"; constant ARG_ARGUMENTS (line 19) | const ARG_ARGUMENTS: &str = "arguments"; function call (line 25) | pub extern "C" fn call() { function deserialize_contract_result (line 33) | fn deserialize_contract_result(bytes_written: usize) -> Option { function read_host_buffer_into (line 50) | fn read_host_buffer_into(dest: &mut [u8]) -> Result { function call_contract_forward (line 60) | fn call_contract_forward( FILE: smart_contracts/contracts/client/call-package-version-by-hash/src/main.rs constant ARG_PURSE_NAME (line 10) | const ARG_PURSE_NAME: &str = "purse_name"; function call (line 13) | pub extern "C" fn call() { FILE: smart_contracts/contracts/client/cancel-reservations/src/main.rs function cancel_reservations (line 15) | fn cancel_reservations(validator: PublicKey, delegators: Vec(name: &str) -> Option { FILE: smart_contracts/contracts/client/redelegate/src/main.rs constant ARG_AMOUNT (line 9) | const ARG_AMOUNT: &str = "amount"; constant ARG_DELEGATOR (line 10) | const ARG_DELEGATOR: &str = "delegator"; constant ARG_VALIDATOR (line 11) | const ARG_VALIDATOR: &str = "validator"; constant ARG_NEW_VALIDATOR (line 12) | const ARG_NEW_VALIDATOR: &str = "new_validator"; function redelegate (line 14) | fn redelegate(delegator: PublicKey, validator: PublicKey, amount: U512, ... function call (line 31) | pub extern "C" fn call() { FILE: smart_contracts/contracts/client/revert/src/main.rs function call (line 8) | pub extern "C" fn call() { FILE: smart_contracts/contracts/client/transfer-to-account-u512/src/bin/main.rs function call (line 5) | pub extern "C" fn call() { FILE: smart_contracts/contracts/client/transfer-to-account-u512/src/lib.rs constant ARG_TARGET (line 9) | const ARG_TARGET: &str = "target"; constant ARG_AMOUNT (line 10) | const ARG_AMOUNT: &str = "amount"; function delegate (line 15) | pub fn delegate() { FILE: smart_contracts/contracts/client/transfer-to-account/src/bin/main.rs function call (line 5) | pub extern "C" fn call() { FILE: smart_contracts/contracts/client/transfer-to-account/src/lib.rs constant ARG_TARGET (line 9) | const ARG_TARGET: &str = "target"; constant ARG_AMOUNT (line 10) | const ARG_AMOUNT: &str = "amount"; function delegate (line 14) | pub fn delegate() { FILE: smart_contracts/contracts/client/transfer-to-named-purse/src/main.rs constant ARG_PURSE_NAME (line 13) | const ARG_PURSE_NAME: &str = "purse_name"; constant ARG_AMOUNT (line 14) | const ARG_AMOUNT: &str = "amount"; function call (line 17) | pub extern "C" fn call() { FILE: smart_contracts/contracts/client/transfer-to-public-key/src/main.rs constant ARG_TARGET (line 10) | const ARG_TARGET: &str = "target"; constant ARG_AMOUNT (line 11) | const ARG_AMOUNT: &str = "amount"; function call (line 16) | pub extern "C" fn call() { FILE: smart_contracts/contracts/client/undelegate/src/main.rs constant ARG_AMOUNT (line 9) | const ARG_AMOUNT: &str = "amount"; constant ARG_DELEGATOR (line 10) | const ARG_DELEGATOR: &str = "delegator"; constant ARG_VALIDATOR (line 11) | const ARG_VALIDATOR: &str = "validator"; function undelegate (line 13) | fn undelegate(delegator: PublicKey, validator: PublicKey, amount: U512) { function call (line 28) | pub extern "C" fn call() { FILE: smart_contracts/contracts/client/withdraw-bid/src/main.rs constant ARG_PUBLIC_KEY (line 9) | const ARG_PUBLIC_KEY: &str = "public_key"; constant ARG_AMOUNT (line 10) | const ARG_AMOUNT: &str = "amount"; function withdraw_bid (line 12) | fn withdraw_bid(public_key: PublicKey, unbond_amount: U512) -> U512 { function call (line 26) | pub extern "C" fn call() { FILE: smart_contracts/contracts/explorer/faucet-stored/src/main.rs type InstallerSessionError (line 19) | enum InstallerSessionError { function call_faucet (line 24) | pub extern "C" fn call_faucet() { function build_named_keys_and_purse (line 28) | fn build_named_keys_and_purse() -> (NamedKeys, URef) { function call (line 103) | pub extern "C" fn call() { FILE: smart_contracts/contracts/explorer/faucet/src/bin/main.rs function call (line 5) | pub extern "C" fn call() { FILE: smart_contracts/contracts/explorer/faucet/src/lib.rs constant ARG_AMOUNT (line 20) | pub const ARG_AMOUNT: &str = "amount"; constant ARG_TARGET (line 21) | pub const ARG_TARGET: &str = "target"; constant ARG_ID (line 22) | pub const ARG_ID: &str = "id"; constant ARG_TIME_INTERVAL (line 23) | pub const ARG_TIME_INTERVAL: &str = "time_interval"; constant ARG_AVAILABLE_AMOUNT (line 24) | pub const ARG_AVAILABLE_AMOUNT: &str = "available_amount"; constant ARG_DISTRIBUTIONS_PER_INTERVAL (line 25) | pub const ARG_DISTRIBUTIONS_PER_INTERVAL: &str = "distributions_per_inte... constant REMAINING_REQUESTS (line 26) | pub const REMAINING_REQUESTS: &str = "remaining_requests"; constant AVAILABLE_AMOUNT (line 27) | pub const AVAILABLE_AMOUNT: &str = "available_amount"; constant TIME_INTERVAL (line 28) | pub const TIME_INTERVAL: &str = "time_interval"; constant DISTRIBUTIONS_PER_INTERVAL (line 29) | pub const DISTRIBUTIONS_PER_INTERVAL: &str = "distributions_per_interval"; constant LAST_DISTRIBUTION_TIME (line 30) | pub const LAST_DISTRIBUTION_TIME: &str = "last_distribution_time"; constant FAUCET_PURSE (line 31) | pub const FAUCET_PURSE: &str = "faucet_purse"; constant INSTALLER (line 32) | pub const INSTALLER: &str = "installer"; constant TWO_HOURS_AS_MILLIS (line 33) | pub const TWO_HOURS_AS_MILLIS: u64 = 7_200_000; constant CONTRACT_NAME (line 34) | pub const CONTRACT_NAME: &str = "faucet"; constant HASH_KEY_NAME (line 35) | pub const HASH_KEY_NAME: &str = "faucet_package"; constant ACCESS_KEY_NAME (line 36) | pub const ACCESS_KEY_NAME: &str = "faucet_package_access"; constant CONTRACT_VERSION (line 37) | pub const CONTRACT_VERSION: &str = "faucet_contract_version"; constant AUTHORIZED_ACCOUNT (line 38) | pub const AUTHORIZED_ACCOUNT: &str = "authorized_account"; constant ENTRY_POINT_FAUCET (line 40) | pub const ENTRY_POINT_FAUCET: &str = "call_faucet"; constant ENTRY_POINT_INIT (line 41) | pub const ENTRY_POINT_INIT: &str = "init"; constant ENTRY_POINT_SET_VARIABLES (line 42) | pub const ENTRY_POINT_SET_VARIABLES: &str = "set_variables"; constant ENTRY_POINT_AUTHORIZE_TO (line 43) | pub const ENTRY_POINT_AUTHORIZE_TO: &str = "authorize_to"; type FaucetError (line 46) | enum FaucetError { method from (line 75) | fn from(e: FaucetError) -> Self { function set_variables (line 81) | pub fn set_variables() { function authorize_to (line 147) | pub fn authorize_to() { function delegate (line 174) | pub fn delegate() { function transfer (line 266) | fn transfer(target: AccountHash, amount: U512, id: Option) { function get_distribution_amount_rate_limited (line 277) | fn get_distribution_amount_rate_limited() -> U512 { function reset_remaining_requests (line 329) | fn reset_remaining_requests() { function decrease_remaining_requests (line 354) | fn decrease_remaining_requests() -> U512 { function set_last_distribution_time (line 373) | fn set_last_distribution_time(t: BlockTime) { function get_named_arg_size (line 383) | fn get_named_arg_size(name: &str) -> Option { function get_optional_named_arg_with_user_errors (line 399) | fn get_optional_named_arg_with_user_errors( function get_named_arg_with_user_errors (line 411) | fn get_named_arg_with_user_errors( function get_account_hash_with_user_errors (line 442) | fn get_account_hash_with_user_errors( function get_uref_with_user_errors (line 452) | fn get_uref_with_user_errors(name: &str, missing: FaucetError, invalid: ... function get_key_with_user_errors (line 458) | fn get_key_with_user_errors(name: &str, missing: FaucetError, invalid: F... function read_with_user_errors (line 481) | fn read_with_user_errors( function read_host_buffer_into (line 504) | fn read_host_buffer_into(dest: &mut [u8]) -> Result { function read_host_buffer (line 516) | fn read_host_buffer(size: usize) -> Result, ApiError> { function to_ptr (line 527) | fn to_ptr(t: T) -> (*const u8, usize, Vec) { FILE: smart_contracts/contracts/nctl/nctl-dictionary/src/main.rs function call (line 14) | pub extern "C" fn call() { FILE: smart_contracts/contracts/profiling/host-function-metrics/src/lib.rs constant MIN_FUNCTION_NAME_LENGTH (line 22) | const MIN_FUNCTION_NAME_LENGTH: usize = 1; constant MAX_FUNCTION_NAME_LENGTH (line 23) | const MAX_FUNCTION_NAME_LENGTH: usize = 100; constant NAMED_KEY_COUNT (line 25) | const NAMED_KEY_COUNT: usize = 100; constant MIN_NAMED_KEY_NAME_LENGTH (line 26) | const MIN_NAMED_KEY_NAME_LENGTH: usize = 10; constant MAX_NAMED_KEY_NAME_LENGTH (line 27) | const MAX_NAMED_KEY_NAME_LENGTH: usize = 100; constant VALUE_FOR_ADDITION_1 (line 28) | const VALUE_FOR_ADDITION_1: u64 = 1; constant VALUE_FOR_ADDITION_2 (line 29) | const VALUE_FOR_ADDITION_2: u64 = 2; constant TRANSFER_AMOUNT (line 30) | const TRANSFER_AMOUNT: u64 = 1_000_000; constant ARG_SEED (line 32) | const ARG_SEED: &str = "seed"; constant ARG_OTHERS (line 33) | const ARG_OTHERS: &str = "others"; constant ARG_BYTES (line 34) | const ARG_BYTES: &str = "bytes"; type Error (line 37) | enum Error { method from (line 51) | fn from(error: Error) -> ApiError { function create_random_names (line 56) | fn create_random_names(rng: &mut SmallRng) -> impl Iterator Nam... function large_function (line 76) | fn large_function() { function small_function (line 117) | fn small_function() { function call (line 124) | pub extern "C" fn call() { function store_function (line 214) | fn store_function( function s (line 242) | pub extern "C" fn s() { small_function() } function ss (line 246) | pub extern "C" fn ss() { small_function() } function sss (line 250) | pub extern "C" fn sss() { small_function() } function ssss (line 254) | pub extern "C" fn ssss() { small_function() } function sssss (line 258) | pub extern "C" fn sssss() { small_function() } function ssssss (line 262) | pub extern "C" fn ssssss() { small_function() } function sssssss (line 266) | pub extern "C" fn sssssss() { small_function() } function ssssssss (line 270) | pub extern "C" fn ssssssss() { small_function() } function sssssssss (line 274) | pub extern "C" fn sssssssss() { small_function() } function ssssssssss (line 278) | pub extern "C" fn ssssssssss() { small_function() } function sssssssssss (line 282) | pub extern "C" fn sssssssssss() { small_function() } function ssssssssssss (line 286) | pub extern "C" fn ssssssssssss() { small_function() } function sssssssssssss (line 290) | pub extern "C" fn sssssssssssss() { small_function() } function ssssssssssssss (line 294) | pub extern "C" fn ssssssssssssss() { small_function() } function sssssssssssssss (line 298) | pub extern "C" fn sssssssssssssss() { small_function() } function ssssssssssssssss (line 302) | pub extern "C" fn ssssssssssssssss() { small_function() } function sssssssssssssssss (line 306) | pub extern "C" fn sssssssssssssssss() { small_function() } function ssssssssssssssssss (line 310) | pub extern "C" fn ssssssssssssssssss() { small_function() } function sssssssssssssssssss (line 314) | pub extern "C" fn sssssssssssssssssss() { small_function() } function ssssssssssssssssssss (line 318) | pub extern "C" fn ssssssssssssssssssss() { small_function() } function sssssssssssssssssssss (line 322) | pub extern "C" fn sssssssssssssssssssss() { small_function() } function ssssssssssssssssssssss (line 326) | pub extern "C" fn ssssssssssssssssssssss() { small_function() } function sssssssssssssssssssssss (line 330) | pub extern "C" fn sssssssssssssssssssssss() { small_function() } function ssssssssssssssssssssssss (line 334) | pub extern "C" fn ssssssssssssssssssssssss() { small_function() } function sssssssssssssssssssssssss (line 338) | pub extern "C" fn sssssssssssssssssssssssss() { small_function() } function ssssssssssssssssssssssssss (line 342) | pub extern "C" fn ssssssssssssssssssssssssss() { small_function() } function sssssssssssssssssssssssssss (line 346) | pub extern "C" fn sssssssssssssssssssssssssss() { function ssssssssssssssssssssssssssss (line 352) | pub extern "C" fn ssssssssssssssssssssssssssss() { function sssssssssssssssssssssssssssss (line 358) | pub extern "C" fn function ssssssssssssssssssssssssssssss (line 363) | pub extern "C" function sssssssssssssssssssssssssssssss (line 368) | pub extern function ssssssssssssssssssssssssssssssss (line 373) | pub function sssssssssssssssssssssssssssssssss (line 378) | pub extern "C" fn sssssssssssssssssssssssssssssssss() { small_function() } function ssssssssssssssssssssssssssssssssss (line 382) | pub extern "C" fn ssssssssssssssssssssssssssssssssss() { function sssssssssssssssssssssssssssssssssss (line 388) | pub extern "C" fn function ssssssssssssssssssssssssssssssssssss (line 393) | pub function sssssssssssssssssssssssssssssssssssss (line 398) | pub extern "C" fn sssssssssssssssssssssssssssssssssssss() { small_functi... function ssssssssssssssssssssssssssssssssssssss (line 402) | pub extern "C" fn ssssssssssssssssssssssssssssssssssssss() { function sssssssssssssssssssssssssssssssssssssss (line 408) | pub extern "C" fn function ssssssssssssssssssssssssssssssssssssssss (line 413) | pub function sssssssssssssssssssssssssssssssssssssssss (line 418) | pub extern "C" fn sssssssssssssssssssssssssssssssssssssssss() { small_fu... function ssssssssssssssssssssssssssssssssssssssssss (line 422) | pub extern "C" fn ssssssssssssssssssssssssssssssssssssssssss() { function sssssssssssssssssssssssssssssssssssssssssss (line 428) | pub extern "C" fn function ssssssssssssssssssssssssssssssssssssssssssss (line 433) | pub extern "C" fn ssssssssssssssssssssssssssssssssssssssssssss() { small... function sssssssssssssssssssssssssssssssssssssssssssss (line 438) | pub extern "C" fn sssssssssssssssssssssssssssssssssssssssssssss() { function ssssssssssssssssssssssssssssssssssssssssssssss (line 444) | pub extern "C" fn function sssssssssssssssssssssssssssssssssssssssssssssss (line 449) | pub extern "C" fn sssssssssssssssssssssssssssssssssssssssssssssss() { function ssssssssssssssssssssssssssssssssssssssssssssssss (line 455) | pub extern "C" fn function sssssssssssssssssssssssssssssssssssssssssssssssss (line 460) | pub extern "C" fn sssssssssssssssssssssssssssssssssssssssssssssssss() { function ssssssssssssssssssssssssssssssssssssssssssssssssss (line 466) | pub extern "C" fn function sssssssssssssssssssssssssssssssssssssssssssssssssss (line 471) | pub extern "C" fn sssssssssssssssssssssssssssssssssssssssssssssssssss() { function ssssssssssssssssssssssssssssssssssssssssssssssssssss (line 477) | pub extern "C" fn function sssssssssssssssssssssssssssssssssssssssssssssssssssss (line 482) | pub extern "C" fn sssssssssssssssssssssssssssssssssssssssssssssssssssss() { function ssssssssssssssssssssssssssssssssssssssssssssssssssssss (line 488) | pub extern "C" fn function sssssssssssssssssssssssssssssssssssssssssssssssssssssss (line 493) | pub extern "C" fn ssssssssssssssssssssssssssssssssssssssssssssssssssssss... function ssssssssssssssssssssssssssssssssssssssssssssssssssssssss (line 499) | pub extern "C" fn function sssssssssssssssssssssssssssssssssssssssssssssssssssssssss (line 504) | pub extern "C" fn ssssssssssssssssssssssssssssssssssssssssssssssssssssss... function ssssssssssssssssssssssssssssssssssssssssssssssssssssssssss (line 510) | pub extern "C" fn function sssssssssssssssssssssssssssssssssssssssssssssssssssssssssss (line 516) | pub extern "C" fn function ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss (line 522) | pub extern "C" fn function sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss (line 528) | pub extern "C" fn function ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss (line 534) | pub extern "C" fn function sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss (line 540) | pub extern "C" fn function ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss (line 545) | pub extern "C" fn function sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss (line 550) | pub extern "C" fn function ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss (line 555) | pub extern "C" fn function sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss (line 560) | pub extern "C" fn function ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss (line 565) | pub extern "C" fn function sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss (line 570) | pub extern "C" fn function ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss (line 575) | pub extern "C" fn function sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss (line 580) | pub extern "C" fn function ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss (line 585) | pub extern "C" fn function sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss (line 590) | pub extern "C" fn function ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss (line 595) | pub extern "C" fn function sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss (line 600) | pub extern "C" fn function ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss (line 607) | pub extern "C" fn function sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss (line 614) | pub extern "C" fn function ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss (line 621) | pub extern "C" fn function sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss (line 628) | pub extern "C" fn function ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss (line 635) | pub extern "C" fn function sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss (line 642) | pub extern "C" fn function ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss (line 649) | pub extern "C" fn function sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss (line 656) | pub extern "C" fn function ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss (line 663) | pub extern "C" fn function sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss (line 670) | pub extern "C" fn function ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss (line 677) | pub extern "C" fn function sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss (line 684) | pub extern "C" fn function ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss (line 691) | pub extern "C" fn function sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss (line 698) | pub extern "C" fn function ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss (line 705) | pub extern "C" fn function sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss (line 712) | pub extern "C" fn function ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss (line 719) | pub extern "C" fn function sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss (line 726) | pub extern "C" fn function ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss (line 733) | pub extern "C" fn function sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss (line 739) | pub extern "C" fn function ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss (line 745) | pub extern "C" fn function sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss (line 751) | pub extern "C" fn function ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss (line 757) | pub extern "C" fn function sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss (line 763) | pub extern "C" fn function ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss (line 769) | pub extern "C" fn function l (line 775) | pub extern "C" fn l() { large_function() } function ll (line 779) | pub extern "C" fn ll() { large_function() } function lll (line 783) | pub extern "C" fn lll() { large_function() } function llll (line 787) | pub extern "C" fn llll() { large_function() } function lllll (line 791) | pub extern "C" fn lllll() { large_function() } function llllll (line 795) | pub extern "C" fn llllll() { large_function() } function lllllll (line 799) | pub extern "C" fn lllllll() { large_function() } function llllllll (line 803) | pub extern "C" fn llllllll() { large_function() } function lllllllll (line 807) | pub extern "C" fn lllllllll() { large_function() } function llllllllll (line 811) | pub extern "C" fn llllllllll() { large_function() } function lllllllllll (line 815) | pub extern "C" fn lllllllllll() { large_function() } function llllllllllll (line 819) | pub extern "C" fn llllllllllll() { large_function() } function lllllllllllll (line 823) | pub extern "C" fn lllllllllllll() { large_function() } function llllllllllllll (line 827) | pub extern "C" fn llllllllllllll() { large_function() } function lllllllllllllll (line 831) | pub extern "C" fn lllllllllllllll() { large_function() } function llllllllllllllll (line 835) | pub extern "C" fn llllllllllllllll() { large_function() } function lllllllllllllllll (line 839) | pub extern "C" fn lllllllllllllllll() { large_function() } function llllllllllllllllll (line 843) | pub extern "C" fn llllllllllllllllll() { large_function() } function lllllllllllllllllll (line 847) | pub extern "C" fn lllllllllllllllllll() { large_function() } function llllllllllllllllllll (line 851) | pub extern "C" fn llllllllllllllllllll() { large_function() } function lllllllllllllllllllll (line 855) | pub extern "C" fn lllllllllllllllllllll() { large_function() } function llllllllllllllllllllll (line 859) | pub extern "C" fn llllllllllllllllllllll() { large_function() } function lllllllllllllllllllllll (line 863) | pub extern "C" fn lllllllllllllllllllllll() { large_function() } function llllllllllllllllllllllll (line 867) | pub extern "C" fn llllllllllllllllllllllll() { large_function() } function lllllllllllllllllllllllll (line 871) | pub extern "C" fn lllllllllllllllllllllllll() { large_function() } function llllllllllllllllllllllllll (line 875) | pub extern "C" fn llllllllllllllllllllllllll() { large_function() } function lllllllllllllllllllllllllll (line 879) | pub extern "C" fn lllllllllllllllllllllllllll() { function llllllllllllllllllllllllllll (line 885) | pub extern "C" fn llllllllllllllllllllllllllll() { function lllllllllllllllllllllllllllll (line 891) | pub extern "C" fn function llllllllllllllllllllllllllllll (line 896) | pub extern "C" function lllllllllllllllllllllllllllllll (line 901) | pub extern function llllllllllllllllllllllllllllllll (line 906) | pub function lllllllllllllllllllllllllllllllll (line 911) | pub extern "C" fn lllllllllllllllllllllllllllllllll() { large_function() } function llllllllllllllllllllllllllllllllll (line 915) | pub extern "C" fn llllllllllllllllllllllllllllllllll() { function lllllllllllllllllllllllllllllllllll (line 921) | pub extern "C" fn function llllllllllllllllllllllllllllllllllll (line 926) | pub function lllllllllllllllllllllllllllllllllllll (line 931) | pub extern "C" fn lllllllllllllllllllllllllllllllllllll() { large_functi... function llllllllllllllllllllllllllllllllllllll (line 935) | pub extern "C" fn llllllllllllllllllllllllllllllllllllll() { function lllllllllllllllllllllllllllllllllllllll (line 941) | pub extern "C" fn function llllllllllllllllllllllllllllllllllllllll (line 946) | pub function lllllllllllllllllllllllllllllllllllllllll (line 951) | pub extern "C" fn lllllllllllllllllllllllllllllllllllllllll() { large_fu... function llllllllllllllllllllllllllllllllllllllllll (line 955) | pub extern "C" fn llllllllllllllllllllllllllllllllllllllllll() { function lllllllllllllllllllllllllllllllllllllllllll (line 961) | pub extern "C" fn function llllllllllllllllllllllllllllllllllllllllllll (line 966) | pub extern "C" fn llllllllllllllllllllllllllllllllllllllllllll() { large... function lllllllllllllllllllllllllllllllllllllllllllll (line 971) | pub extern "C" fn lllllllllllllllllllllllllllllllllllllllllllll() { function llllllllllllllllllllllllllllllllllllllllllllll (line 977) | pub extern "C" fn function lllllllllllllllllllllllllllllllllllllllllllllll (line 982) | pub extern "C" fn lllllllllllllllllllllllllllllllllllllllllllllll() { function llllllllllllllllllllllllllllllllllllllllllllllll (line 988) | pub extern "C" fn function lllllllllllllllllllllllllllllllllllllllllllllllll (line 993) | pub extern "C" fn lllllllllllllllllllllllllllllllllllllllllllllllll() { function llllllllllllllllllllllllllllllllllllllllllllllllll (line 999) | pub extern "C" fn function lllllllllllllllllllllllllllllllllllllllllllllllllll (line 1004) | pub extern "C" fn lllllllllllllllllllllllllllllllllllllllllllllllllll() { function llllllllllllllllllllllllllllllllllllllllllllllllllll (line 1010) | pub extern "C" fn function lllllllllllllllllllllllllllllllllllllllllllllllllllll (line 1015) | pub extern "C" fn lllllllllllllllllllllllllllllllllllllllllllllllllllll() { function llllllllllllllllllllllllllllllllllllllllllllllllllllll (line 1021) | pub extern "C" fn function lllllllllllllllllllllllllllllllllllllllllllllllllllllll (line 1026) | pub extern "C" fn llllllllllllllllllllllllllllllllllllllllllllllllllllll... function llllllllllllllllllllllllllllllllllllllllllllllllllllllll (line 1032) | pub extern "C" fn function lllllllllllllllllllllllllllllllllllllllllllllllllllllllll (line 1037) | pub extern "C" fn llllllllllllllllllllllllllllllllllllllllllllllllllllll... function llllllllllllllllllllllllllllllllllllllllllllllllllllllllll (line 1043) | pub extern "C" fn function lllllllllllllllllllllllllllllllllllllllllllllllllllllllllll (line 1049) | pub extern "C" fn function llllllllllllllllllllllllllllllllllllllllllllllllllllllllllll (line 1055) | pub extern "C" fn function lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll (line 1061) | pub extern "C" fn function llllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll (line 1067) | pub extern "C" fn function lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll (line 1073) | pub extern "C" fn function llllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll (line 1078) | pub extern "C" fn function lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll (line 1083) | pub extern "C" fn function llllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll (line 1088) | pub extern "C" fn function lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll (line 1093) | pub extern "C" fn function llllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll (line 1098) | pub extern "C" fn function lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll (line 1103) | pub extern "C" fn function llllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll (line 1108) | pub extern "C" fn function lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll (line 1113) | pub extern "C" fn function llllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll (line 1118) | pub extern "C" fn function lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll (line 1123) | pub extern "C" fn function llllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll (line 1128) | pub extern "C" fn function lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll (line 1133) | pub extern "C" fn function llllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll (line 1140) | pub extern "C" fn function lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll (line 1147) | pub extern "C" fn function llllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll (line 1154) | pub extern "C" fn function lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll (line 1161) | pub extern "C" fn function llllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll (line 1168) | pub extern "C" fn function lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll (line 1175) | pub extern "C" fn function llllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll (line 1182) | pub extern "C" fn function lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll (line 1189) | pub extern "C" fn function llllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll (line 1196) | pub extern "C" fn function lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll (line 1203) | pub extern "C" fn function llllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll (line 1210) | pub extern "C" fn function lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll (line 1217) | pub extern "C" fn function llllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll (line 1224) | pub extern "C" fn function lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll (line 1231) | pub extern "C" fn function llllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll (line 1238) | pub extern "C" fn function lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll (line 1245) | pub extern "C" fn function llllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll (line 1252) | pub extern "C" fn function lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll (line 1259) | pub extern "C" fn function llllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll (line 1266) | pub extern "C" fn function lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll (line 1272) | pub extern "C" fn function llllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll (line 1278) | pub extern "C" fn function lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll (line 1284) | pub extern "C" fn function llllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll (line 1290) | pub extern "C" fn function lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll (line 1296) | pub extern "C" fn function llllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll (line 1302) | pub extern "C" fn FILE: smart_contracts/contracts/profiling/state-initializer/src/main.rs constant ARG_ACCOUNT1_ACCOUNT_HASH (line 9) | const ARG_ACCOUNT1_ACCOUNT_HASH: &str = "account_1_account_hash"; constant ARG_ACCOUNT1_AMOUNT (line 10) | const ARG_ACCOUNT1_AMOUNT: &str = "account_1_amount"; constant ARG_ACCOUNT2_ACCOUNT_HASH (line 11) | const ARG_ACCOUNT2_ACCOUNT_HASH: &str = "account_2_account_hash"; type Error (line 14) | enum Error { function create_account_with_amount (line 18) | fn create_account_with_amount(account: AccountHash, amount: U512) { function call (line 29) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/add-associated-key/src/main.rs constant ARG_ACCOUNT (line 10) | const ARG_ACCOUNT: &str = "account"; constant ARG_WEIGHT (line 11) | const ARG_WEIGHT: &str = "weight"; function call (line 14) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/add-gas-subcall/src/main.rs constant SUBCALL_NAME (line 17) | const SUBCALL_NAME: &str = "add_gas"; constant DATA_KEY (line 18) | const DATA_KEY: &str = "data"; constant ADD_GAS_FROM_SESSION (line 19) | const ADD_GAS_FROM_SESSION: &str = "add-gas-from-session"; constant ADD_GAS_VIA_SUBCALL (line 20) | const ADD_GAS_VIA_SUBCALL: &str = "add-gas-via-subcall"; constant ARG_GAS_AMOUNT (line 22) | const ARG_GAS_AMOUNT: &str = "gas_amount"; constant ARG_METHOD_NAME (line 23) | const ARG_METHOD_NAME: &str = "method_name"; function consume_at_least_gas_amount (line 27) | fn consume_at_least_gas_amount(amount: usize) { function add_gas (line 45) | pub extern "C" fn add_gas() { function store (line 51) | fn store() -> (ContractHash, ContractVersion) { function call (line 71) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/add-update-associated-key/src/main.rs constant INIT_WEIGHT (line 10) | const INIT_WEIGHT: u8 = 1; constant MOD_WEIGHT (line 11) | const MOD_WEIGHT: u8 = 2; constant ARG_ACCOUNT (line 13) | const ARG_ACCOUNT: &str = "account"; function call (line 16) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/auction-bidding/src/main.rs constant ARG_AMOUNT (line 19) | const ARG_AMOUNT: &str = "amount"; constant ARG_ENTRY_POINT (line 20) | const ARG_ENTRY_POINT: &str = "entry_point"; constant ARG_ACCOUNT_HASH (line 21) | const ARG_ACCOUNT_HASH: &str = "account_hash"; constant ARG_PUBLIC_KEY (line 22) | const ARG_PUBLIC_KEY: &str = "public_key"; constant TEST_BOND (line 23) | const TEST_BOND: &str = "bond"; constant TEST_SEED_NEW_ACCOUNT (line 24) | const TEST_SEED_NEW_ACCOUNT: &str = "seed_new_account"; constant DELEGATION_RATE (line 25) | const DELEGATION_RATE: DelegationRate = 42; type Error (line 28) | enum Error { function call (line 34) | pub extern "C" fn call() { function bond (line 44) | fn bond() { function call_bond (line 51) | fn call_bond(auction: ContractHash, public_key: PublicKey, bond_amount: ... function seed_new_account (line 61) | fn seed_new_account() { FILE: smart_contracts/contracts/test/auction-bids/src/main.rs constant ARG_ENTRY_POINT (line 20) | const ARG_ENTRY_POINT: &str = "entry_point"; constant ARG_AMOUNT (line 21) | const ARG_AMOUNT: &str = "amount"; constant ARG_DELEGATE (line 22) | const ARG_DELEGATE: &str = "delegate"; constant ARG_UNDELEGATE (line 23) | const ARG_UNDELEGATE: &str = "undelegate"; constant ARG_RUN_AUCTION (line 24) | const ARG_RUN_AUCTION: &str = "run_auction"; constant ARG_ADD_BID (line 25) | const ARG_ADD_BID: &str = "add_bid"; type Error (line 28) | enum Error { function call (line 33) | pub extern "C" fn call() { function delegate (line 52) | fn delegate() -> U512 { function undelegate (line 66) | fn undelegate() -> U512 { function add_bid (line 81) | fn add_bid() -> U512 { function run_auction (line 96) | fn run_auction() { function distribute (line 103) | fn distribute() { FILE: smart_contracts/contracts/test/blake2b/src/main.rs constant INPUT_LENGTH (line 6) | const INPUT_LENGTH: usize = 32; constant HASH_RESULT (line 8) | const HASH_RESULT: &str = "hash_result"; constant ARG_BYTES (line 10) | const ARG_BYTES: &str = "bytes"; function call (line 13) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/contract-context/src/main.rs constant PACKAGE_HASH_KEY (line 18) | const PACKAGE_HASH_KEY: &str = "package_hash_key"; constant PACKAGE_ACCESS_KEY (line 19) | const PACKAGE_ACCESS_KEY: &str = "package_access_key"; constant CONTRACT_HASH_KEY (line 20) | const CONTRACT_HASH_KEY: &str = "contract_hash_key"; constant CONTRACT_CODE (line 21) | const CONTRACT_CODE: &str = "contract_code_test"; constant SESSION_CODE (line 22) | const SESSION_CODE: &str = "session_code_test"; constant NEW_KEY (line 23) | const NEW_KEY: &str = "new_key"; constant NAMED_KEY (line 24) | const NAMED_KEY: &str = "contract_named_key"; constant CONTRACT_VERSION (line 25) | const CONTRACT_VERSION: &str = "contract_version"; function session_code_test (line 28) | pub extern "C" fn session_code_test() { function contract_code_test (line 35) | pub extern "C" fn contract_code_test() { function session_code_caller_as_session (line 42) | pub extern "C" fn session_code_caller_as_session() { function add_new_key (line 57) | pub extern "C" fn add_new_key() { function add_new_key_as_session (line 63) | pub extern "C" fn add_new_key_as_session() { function session_code_caller_as_contract (line 81) | pub extern "C" fn session_code_caller_as_contract() { function create_entrypoints_1 (line 92) | fn create_entrypoints_1() -> EntryPoints { function install_version_1 (line 118) | fn install_version_1(package_hash: ContractPackageHash) -> (ContractHash... function call (line 137) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/contract-funds-call/src/main.rs constant GET_PAYMENT_PURSE_NAME (line 13) | const GET_PAYMENT_PURSE_NAME: &str = "get_payment_purse"; constant HASH_KEY_NAME (line 14) | const HASH_KEY_NAME: &str = "contract_own_funds_hash"; constant ARG_AMOUNT (line 15) | const ARG_AMOUNT: &str = "amount"; function get_payment_purse (line 17) | fn get_payment_purse() -> URef { function get_entity_hash_name (line 26) | fn get_entity_hash_name() -> ContractHash { function call (line 34) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/contract-funds/src/main.rs constant GET_PAYMENT_PURSE_NAME (line 20) | const GET_PAYMENT_PURSE_NAME: &str = "get_payment_purse"; constant PACKAGE_HASH_KEY_NAME (line 21) | const PACKAGE_HASH_KEY_NAME: &str = "contract_own_funds"; constant HASH_KEY_NAME (line 22) | const HASH_KEY_NAME: &str = "contract_own_funds_hash"; constant ACCESS_KEY_NAME (line 23) | const ACCESS_KEY_NAME: &str = "contract_own_funds_access"; constant ARG_TARGET (line 24) | const ARG_TARGET: &str = "target"; constant CONTRACT_VERSION (line 25) | const CONTRACT_VERSION: &str = "contract_version"; constant PAYMENT_PURSE_KEY (line 26) | const PAYMENT_PURSE_KEY: &str = "payment_purse"; function get_payment_purse (line 29) | pub extern "C" fn get_payment_purse() { function call (line 40) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/contract-messages-emitter/src/main.rs constant ENTRY_POINT_INIT (line 26) | const ENTRY_POINT_INIT: &str = "init"; constant ENTRY_POINT_EMIT_MESSAGE (line 27) | const ENTRY_POINT_EMIT_MESSAGE: &str = "emit_message"; constant ENTRY_POINT_EMIT_MULTIPLE_MESSAGES (line 28) | const ENTRY_POINT_EMIT_MULTIPLE_MESSAGES: &str = "emit_multiple_messages"; constant ENTRY_POINT_ADD_TOPIC (line 29) | const ENTRY_POINT_ADD_TOPIC: &str = "add_topic"; constant MESSAGE_EMITTER_INITIALIZED (line 30) | const MESSAGE_EMITTER_INITIALIZED: &str = "message_emitter_initialized"; constant ARG_MESSAGE_SUFFIX_NAME (line 31) | const ARG_MESSAGE_SUFFIX_NAME: &str = "message_suffix"; constant ARG_NUM_MESSAGES_TO_EMIT (line 32) | const ARG_NUM_MESSAGES_TO_EMIT: &str = "num_messages_to_emit"; constant ARG_REGISTER_DEFAULT_TOPIC_WITH_INIT (line 33) | const ARG_REGISTER_DEFAULT_TOPIC_WITH_INIT: &str = "register_default_top... constant ARG_TOPIC_NAME (line 34) | const ARG_TOPIC_NAME: &str = "topic_name"; constant PACKAGE_HASH_KEY_NAME (line 35) | const PACKAGE_HASH_KEY_NAME: &str = "messages_emitter_package_hash"; constant ACCESS_KEY_NAME (line 36) | const ACCESS_KEY_NAME: &str = "messages_emitter_access"; constant MESSAGE_EMITTER_GENERIC_TOPIC (line 38) | pub const MESSAGE_EMITTER_GENERIC_TOPIC: &str = "generic_messages"; constant MESSAGE_PREFIX (line 39) | pub const MESSAGE_PREFIX: &str = "generic message: "; function emit_message (line 42) | pub extern "C" fn emit_message() { function emit_multiple_messages (line 53) | pub extern "C" fn emit_multiple_messages() { function add_topic (line 66) | pub extern "C" fn add_topic() { function init (line 74) | pub extern "C" fn init() { function call (line 86) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/contract-messages-from-account/src/main.rs constant TOPIC_NAME (line 10) | const TOPIC_NAME: &str = "messages_topic"; function call (line 13) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/contract-messages-upgrader/src/main.rs constant ENTRY_POINT_INIT (line 26) | const ENTRY_POINT_INIT: &str = "init"; constant FIRST_VERSION_ENTRY_POINT_EMIT_MESSAGE (line 27) | const FIRST_VERSION_ENTRY_POINT_EMIT_MESSAGE: &str = "emit_message"; constant ENTRY_POINT_EMIT_MESSAGE (line 28) | const ENTRY_POINT_EMIT_MESSAGE: &str = "upgraded_emit_message"; constant ENTRY_POINT_EMIT_MESSAGE_FROM_EACH_VERSION (line 29) | const ENTRY_POINT_EMIT_MESSAGE_FROM_EACH_VERSION: &str = "emit_message_f... constant UPGRADED_MESSAGE_EMITTER_INITIALIZED (line 30) | const UPGRADED_MESSAGE_EMITTER_INITIALIZED: &str = "upgraded_message_emi... constant ARG_MESSAGE_SUFFIX_NAME (line 31) | const ARG_MESSAGE_SUFFIX_NAME: &str = "message_suffix"; constant PACKAGE_HASH_KEY_NAME (line 32) | const PACKAGE_HASH_KEY_NAME: &str = "messages_emitter_package_hash"; constant ARG_REGISTER_DEFAULT_TOPIC_WITH_INIT (line 33) | const ARG_REGISTER_DEFAULT_TOPIC_WITH_INIT: &str = "register_default_top... constant MESSAGE_EMITTER_GENERIC_TOPIC (line 35) | pub const MESSAGE_EMITTER_GENERIC_TOPIC: &str = "new_topic_after_upgrade"; constant MESSAGE_PREFIX (line 36) | pub const MESSAGE_PREFIX: &str = "generic message: "; function upgraded_emit_message (line 39) | pub extern "C" fn upgraded_emit_message() { function emit_message_from_each_version (line 50) | pub extern "C" fn emit_message_from_each_version() { function init (line 86) | pub extern "C" fn init() { function call (line 101) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/counter-factory/src/main.rs constant ACCESS_KEY_NAME (line 20) | const ACCESS_KEY_NAME: &str = "factory_access"; constant ARG_INITIAL_VALUE (line 21) | const ARG_INITIAL_VALUE: &str = "initial_value"; constant ARG_NAME (line 22) | const ARG_NAME: &str = "name"; constant CONTRACT_FACTORY_DEFAULT_ENTRY_POINT (line 23) | const CONTRACT_FACTORY_DEFAULT_ENTRY_POINT: &str = "contract_factory_def... constant CONTRACT_FACTORY_ENTRY_POINT (line 24) | const CONTRACT_FACTORY_ENTRY_POINT: &str = "contract_factory"; constant CONTRACT_VERSION (line 25) | const CONTRACT_VERSION: &str = "contract_version"; constant CURRENT_VALUE_KEY (line 26) | const CURRENT_VALUE_KEY: &str = "current_value"; constant DECREASE_ENTRY_POINT (line 27) | const DECREASE_ENTRY_POINT: &str = "decrement"; constant HASH_KEY_NAME (line 28) | const HASH_KEY_NAME: &str = "factory_hash"; constant INCREASE_ENTRY_POINT (line 29) | const INCREASE_ENTRY_POINT: &str = "increment"; constant PACKAGE_HASH_KEY_NAME (line 30) | const PACKAGE_HASH_KEY_NAME: &str = "factory_package_hash"; function get_named_uref (line 32) | fn get_named_uref(name: &str) -> Result { function read_uref (line 39) | fn read_uref(uref: URef) -> Result { function modify_counter (line 44) | fn modify_counter(func: impl FnOnce(U512) -> U512) -> Result<(), ApiErro... function increment (line 53) | pub extern "C" fn increment() { function decrement (line 58) | pub extern "C" fn decrement() { function contract_factory (line 63) | pub extern "C" fn contract_factory() { function contract_factory_default (line 70) | pub extern "C" fn contract_factory_default() { function installer (line 75) | fn installer(name: String, initial_value: U512) { function call (line 120) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/create-purse-01/src/bin/main.rs function call (line 5) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/create-purse-01/src/lib.rs constant ARG_PURSE_NAME (line 9) | const ARG_PURSE_NAME: &str = "purse_name"; function delegate (line 11) | pub fn delegate() { FILE: smart_contracts/contracts/test/deserialize-error/src/main.rs function do_nothing (line 15) | pub extern "C" fn do_nothing() { function to_ptr (line 21) | fn to_ptr(t: T) -> (*const u8, usize, Vec) { function casper_call_contract (line 31) | pub fn casper_call_contract( function my_call_contract (line 45) | pub fn my_call_contract(contract_hash: ContractHash, entry_point_name: &... function call (line 70) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/dictionary-call/src/bin/main.rs function call_dictionary_contract (line 29) | fn call_dictionary_contract(entrypoint: &str) ->... function call (line 35) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/dictionary-call/src/lib.rs constant ARG_OPERATION (line 9) | pub const ARG_OPERATION: &str = "operation"; constant ARG_CONTRACT_HASH (line 10) | pub const ARG_CONTRACT_HASH: &str = "contract_hash"; constant OP_WRITE (line 11) | pub const OP_WRITE: &str = "write"; constant OP_READ (line 12) | pub const OP_READ: &str = "read"; constant OP_FORGED_UREF_WRITE (line 13) | pub const OP_FORGED_UREF_WRITE: &str = "forged_uref_write"; constant OP_INVALID_PUT_DICTIONARY_ITEM_KEY (line 14) | pub const OP_INVALID_PUT_DICTIONARY_ITEM_KEY: &str = "invalid_put_dictio... constant OP_INVALID_GET_DICTIONARY_ITEM_KEY (line 15) | pub const OP_INVALID_GET_DICTIONARY_ITEM_KEY: &str = "invalid_get_dictio... constant NEW_DICTIONARY_ITEM_KEY (line 16) | pub const NEW_DICTIONARY_ITEM_KEY: &str = "New key"; constant NEW_DICTIONARY_VALUE (line 17) | pub const NEW_DICTIONARY_VALUE: &str = "New value"; constant ARG_SHARE_UREF_ENTRYPOINT (line 18) | pub const ARG_SHARE_UREF_ENTRYPOINT: &str = "share_uref_entrypoint"; constant ARG_FORGED_UREF (line 19) | pub const ARG_FORGED_UREF: &str = "forged_uref"; type Error (line 22) | pub enum Error { method from (line 27) | fn from(error: Error) -> Self { type Operation (line 32) | pub enum Operation { type Err (line 41) | type Err = Error; method from_str (line 43) | fn from_str(s: &str) -> Result { FILE: smart_contracts/contracts/test/dictionary-item-key-length/src/main.rs constant OVERSIZED_DICTIONARY_ITEM_KEY (line 13) | const OVERSIZED_DICTIONARY_ITEM_KEY: &str = "nZ1a27wa2MYty0KpPcl9WOYAFyg... constant DICTIONARY_NAME (line 14) | const DICTIONARY_NAME: &str = "dictionary-name"; constant DICTIONARY_VALUE (line 15) | const DICTIONARY_VALUE: &str = "dictionary-value"; constant DICTIONARY_OP (line 16) | const DICTIONARY_OP: &str = "dictionary-operation"; constant OP_PUT (line 17) | const OP_PUT: &str = "put"; constant OP_GET (line 18) | const OP_GET: &str = "get"; function call (line 21) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/dictionary-read/src/main.rs constant DICTIONARY_NAME (line 14) | const DICTIONARY_NAME: &str = "dictionary-name"; constant DICTIONARY_ITEM_KEY (line 15) | const DICTIONARY_ITEM_KEY: &str = "dictionary-item-key"; constant DICTIONARY_VALUE (line 16) | const DICTIONARY_VALUE: &str = "dictionary-value"; function call (line 19) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/dictionary/src/bin/main.rs function call (line 5) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/dictionary/src/lib.rs constant DICTIONARY_NAME (line 21) | pub const DICTIONARY_NAME: &str = "local"; constant DICTIONARY_PUT_KEY (line 22) | pub const DICTIONARY_PUT_KEY: &str = "item_key"; constant HELLO_PREFIX (line 23) | pub const HELLO_PREFIX: &str = " Hello, "; constant WORLD_SUFFIX (line 24) | pub const WORLD_SUFFIX: &str = "world!"; constant MODIFY_WRITE_ENTRYPOINT (line 25) | pub const MODIFY_WRITE_ENTRYPOINT: &str = "modify_write"; constant SHARE_RO_ENTRYPOINT (line 26) | pub const SHARE_RO_ENTRYPOINT: &str = "share_ro"; constant SHARE_W_ENTRYPOINT (line 27) | pub const SHARE_W_ENTRYPOINT: &str = "share_w"; constant CONTRACT_HASH_NAME (line 28) | pub const CONTRACT_HASH_NAME: &str = "contract_hash"; constant CONTRACT_PACKAGE_HASH_NAME (line 29) | const CONTRACT_PACKAGE_HASH_NAME: &str = "package_hash_name"; constant DEFAULT_DICTIONARY_NAME (line 30) | pub const DEFAULT_DICTIONARY_NAME: &str = "Default Key"; constant DEFAULT_DICTIONARY_VALUE (line 31) | pub const DEFAULT_DICTIONARY_VALUE: &str = "Default Value"; constant DICTIONARY_REF (line 32) | pub const DICTIONARY_REF: &str = "new_dictionary"; constant MALICIOUS_KEY_NAME (line 33) | pub const MALICIOUS_KEY_NAME: &str = "invalid dictionary name"; constant INVALID_PUT_DICTIONARY_ITEM_KEY_ENTRYPOINT (line 34) | pub const INVALID_PUT_DICTIONARY_ITEM_KEY_ENTRYPOINT: &str = "invalid_pu... constant INVALID_GET_DICTIONARY_ITEM_KEY_ENTRYPOINT (line 35) | pub const INVALID_GET_DICTIONARY_ITEM_KEY_ENTRYPOINT: &str = "invalid_ge... function modify_write (line 38) | fn modify_write() { function get_dictionary_seed_uref (line 69) | fn get_dictionary_seed_uref() -> URef { function share_ro (line 75) | fn share_ro() { function share_w (line 81) | fn share_w() { function to_ptr (line 86) | fn to_ptr(t: T) -> (*const u8, usize, Vec) { function invalid_put_dictionary_item_key (line 94) | fn invalid_put_dictionary_item_key() { function invalid_get_dictionary_item_key (line 121) | fn invalid_get_dictionary_item_key() { function casper_dictionary_put (line 149) | pub fn casper_dictionary_put( function casper_dictionary_get (line 158) | pub fn casper_dictionary_get( function delegate (line 168) | pub fn delegate() { FILE: smart_contracts/contracts/test/do-nothing-stored-caller/src/main.rs constant ENTRY_FUNCTION_NAME (line 11) | const ENTRY_FUNCTION_NAME: &str = "delegate"; constant PURSE_NAME_ARG_NAME (line 12) | const PURSE_NAME_ARG_NAME: &str = "purse_name"; constant ARG_CONTRACT_PACKAGE (line 13) | const ARG_CONTRACT_PACKAGE: &str = "contract_package"; constant ARG_NEW_PURSE_NAME (line 14) | const ARG_NEW_PURSE_NAME: &str = "new_purse_name"; constant ARG_MAJOR_VERSION (line 15) | const ARG_MAJOR_VERSION: &str = "major_version"; constant ARG_VERSION (line 16) | const ARG_VERSION: &str = "version"; function call (line 19) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/do-nothing-stored-upgrader/src/main.rs constant ENTRY_FUNCTION_NAME (line 23) | const ENTRY_FUNCTION_NAME: &str = "delegate"; constant DO_NOTHING_PACKAGE_HASH_KEY_NAME (line 24) | const DO_NOTHING_PACKAGE_HASH_KEY_NAME: &str = "do_nothing_package_hash"; constant DO_NOTHING_ACCESS_KEY_NAME (line 25) | const DO_NOTHING_ACCESS_KEY_NAME: &str = "do_nothing_access"; constant CONTRACT_VERSION (line 26) | const CONTRACT_VERSION: &str = "contract_version"; constant ARG_PURSE_NAME (line 27) | const ARG_PURSE_NAME: &str = "purse_name"; function delegate (line 30) | pub extern "C" fn delegate() { function call (line 37) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/do-nothing-stored/src/main.rs constant ENTRY_FUNCTION_NAME (line 10) | const ENTRY_FUNCTION_NAME: &str = "delegate"; constant HASH_KEY_NAME (line 11) | const HASH_KEY_NAME: &str = "do_nothing_hash"; constant PACKAGE_HASH_KEY_NAME (line 12) | const PACKAGE_HASH_KEY_NAME: &str = "do_nothing_package_hash"; constant ACCESS_KEY_NAME (line 13) | const ACCESS_KEY_NAME: &str = "do_nothing_access"; constant CONTRACT_VERSION (line 14) | const CONTRACT_VERSION: &str = "contract_version"; function delegate (line 17) | pub extern "C" fn delegate() { function call (line 22) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/do-nothing/src/main.rs function call (line 7) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/ee-1071-regression/src/lib.rs function new_uref (line 6) | pub extern "C" fn new_uref() { FILE: smart_contracts/contracts/test/ee-1071-regression/src/main.rs constant CONTRACT_HASH_NAME (line 10) | const CONTRACT_HASH_NAME: &str = "contract"; constant NEW_UREF (line 12) | const NEW_UREF: &str = "new_uref"; function call (line 20) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/ee-1129-regression/src/main.rs constant ENTRY_POINT_NAME (line 14) | const ENTRY_POINT_NAME: &str = "create_purse"; constant CONTRACT_KEY (line 15) | const CONTRACT_KEY: &str = "contract"; constant ACCESS_KEY (line 16) | const ACCESS_KEY: &str = "access"; constant CONTRACT_PACKAGE_KEY (line 17) | const CONTRACT_PACKAGE_KEY: &str = "contract_package"; function create_purse (line 20) | pub extern "C" fn create_purse() { function call (line 27) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/ee-1217-regression/src/main.rs constant PACKAGE_NAME (line 15) | const PACKAGE_NAME: &str = "call_auction"; constant PACKAGE_ACCESS_KEY_NAME (line 16) | const PACKAGE_ACCESS_KEY_NAME: &str = "call_auction_access"; constant METHOD_ADD_BID_CONTRACT_NAME (line 18) | const METHOD_ADD_BID_CONTRACT_NAME: &str = "add_bid_contract"; constant METHOD_ADD_BID_SESSION_NAME (line 19) | const METHOD_ADD_BID_SESSION_NAME: &str = "add_bid_session"; constant METHOD_WITHDRAW_BID_CONTRACT_NAME (line 20) | const METHOD_WITHDRAW_BID_CONTRACT_NAME: &str = "withdraw_bid_contract"; constant METHOD_WITHDRAW_BID_SESSION_NAME (line 21) | const METHOD_WITHDRAW_BID_SESSION_NAME: &str = "withdraw_bid_session"; constant METHOD_DELEGATE_CONTRACT_NAME (line 22) | const METHOD_DELEGATE_CONTRACT_NAME: &str = "delegate_contract"; constant METHOD_DELEGATE_SESSION_NAME (line 23) | const METHOD_DELEGATE_SESSION_NAME: &str = "delegate_session"; constant METHOD_UNDELEGATE_CONTRACT_NAME (line 24) | const METHOD_UNDELEGATE_CONTRACT_NAME: &str = "undelegate_contract"; constant METHOD_UNDELEGATE_SESSION_NAME (line 25) | const METHOD_UNDELEGATE_SESSION_NAME: &str = "undelegate_session"; constant METHOD_ACTIVATE_BID_CONTRACT_NAME (line 26) | const METHOD_ACTIVATE_BID_CONTRACT_NAME: &str = "activate_bid_contract"; constant METHOD_ACTIVATE_BID_SESSION_NAME (line 27) | const METHOD_ACTIVATE_BID_SESSION_NAME: &str = "activate_bid_session"; function add_bid (line 29) | fn add_bid() { function add_bid_contract (line 41) | pub extern "C" fn add_bid_contract() { function add_bid_session (line 46) | pub extern "C" fn add_bid_session() { function withdraw_bid (line 50) | pub fn withdraw_bid() { function withdraw_bid_contract (line 61) | pub extern "C" fn withdraw_bid_contract() { function withdraw_bid_session (line 66) | pub extern "C" fn withdraw_bid_session() { function activate_bid (line 70) | fn activate_bid() { function activate_bid_contract (line 80) | pub extern "C" fn activate_bid_contract() { function activate_bid_session (line 85) | pub extern "C" fn activate_bid_session() { function delegate (line 90) | pub extern "C" fn delegate() { function delegate_contract (line 103) | pub extern "C" fn delegate_contract() { function delegate_session (line 108) | pub extern "C" fn delegate_session() { function undelegate (line 113) | pub extern "C" fn undelegate() { function undelegate_contract (line 126) | pub extern "C" fn undelegate_contract() { function undelegate_session (line 131) | pub extern "C" fn undelegate_session() { function call (line 136) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/ee-1225-regression/src/main.rs constant ARG_AMOUNT (line 12) | const ARG_AMOUNT: &str = "amount"; type Error (line 15) | enum Error { method from (line 20) | fn from(e: Error) -> Self { function get_payment_purse (line 25) | fn get_payment_purse() -> URef { function set_refund_purse (line 33) | fn set_refund_purse(new_refund_purse: URef) { function call (line 46) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/ee-221-regression/src/main.rs function call (line 8) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/ee-401-regression-call/src/main.rs function call (line 15) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/ee-401-regression/src/main.rs constant HELLO_EXT (line 17) | const HELLO_EXT: &str = "hello_ext"; constant CONTRACT_VERSION (line 18) | const CONTRACT_VERSION: &str = "contract_version"; function hello_ext (line 21) | pub extern "C" fn hello_ext() { function call (line 29) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/ee-441-rng-state/src/main.rs constant ARG_FLAG (line 17) | const ARG_FLAG: &str = "flag"; function do_nothing (line 20) | pub extern "C" fn do_nothing() { function do_something (line 26) | pub extern "C" fn do_something() { function call (line 36) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/ee-460-regression/src/main.rs constant ARG_AMOUNT (line 7) | const ARG_AMOUNT: &str = "amount"; function call (line 10) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/ee-532-regression/src/main.rs function call (line 8) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/ee-536-regression/src/main.rs function call (line 16) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/ee-539-regression/src/main.rs constant ARG_KEY_MANAGEMENT_THRESHOLD (line 10) | const ARG_KEY_MANAGEMENT_THRESHOLD: &str = "key_management_threshold"; constant ARG_DEPLOYMENT_THRESHOLD (line 11) | const ARG_DEPLOYMENT_THRESHOLD: &str = "deployment_threshold"; function call (line 14) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/ee-549-regression/src/main.rs constant SET_REFUND_PURSE (line 7) | const SET_REFUND_PURSE: &str = "set_refund_purse"; constant ARG_PURSE (line 8) | const ARG_PURSE: &str = "purse"; function malicious_revenue_stealing_contract (line 10) | fn malicious_revenue_stealing_contract() { function call (line 21) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/ee-550-regression/src/main.rs type Error (line 18) | enum Error { method from (line 28) | fn from(error: Error) -> Self { constant KEY_1_ADDR (line 33) | const KEY_1_ADDR: [u8; 32] = [100; 32]; constant KEY_2_ADDR (line 34) | const KEY_2_ADDR: [u8; 32] = [101; 32]; constant ARG_PASS (line 36) | const ARG_PASS: &str = "pass"; function call (line 39) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/ee-572-regression-create/src/main.rs constant DATA (line 15) | const DATA: &str = "data"; constant CONTRACT_NAME (line 16) | const CONTRACT_NAME: &str = "create"; constant CONTRACT_VERSION (line 17) | const CONTRACT_VERSION: &str = "contract_version"; function create (line 20) | pub extern "C" fn create() { function call (line 28) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/ee-572-regression-escalate/src/main.rs constant REPLACEMENT_DATA (line 7) | const REPLACEMENT_DATA: &str = "bawitdaba"; constant ARG_CONTRACT_HASH (line 8) | const ARG_CONTRACT_HASH: &str = "contract_hash"; function call (line 11) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/ee-584-regression/src/main.rs function call (line 12) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/ee-597-regression/src/main.rs constant DELEGATION_RATE (line 14) | const DELEGATION_RATE: DelegationRate = 42; function bond (line 16) | fn bond(contract_hash: ContractHash, bond_amount: U512) { function call (line 29) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/ee-598-regression/src/main.rs constant ARG_AMOUNT (line 8) | const ARG_AMOUNT: &str = "amount"; constant ARG_PUBLIC_KEY (line 9) | const ARG_PUBLIC_KEY: &str = "public_key"; constant DELEGATION_RATE (line 10) | const DELEGATION_RATE: DelegationRate = 42; function add_bid (line 12) | fn add_bid(contract_hash: ContractHash, public_key: PublicKey, bond_amou... function withdraw_bid (line 21) | fn withdraw_bid(contract_hash: ContractHash, public_key: PublicKey, unbo... function call (line 30) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/ee-599-regression/src/main.rs constant DONATION_AMOUNT (line 19) | const DONATION_AMOUNT: u64 = 1; constant DONATION_PURSE_COPY (line 22) | const DONATION_PURSE_COPY: &str = "donation_purse_copy"; constant DONATION_PURSE (line 23) | const DONATION_PURSE: &str = "donation_purse"; constant MAINTAINER (line 24) | const MAINTAINER: &str = "maintainer"; constant METHOD_CALL (line 25) | const METHOD_CALL: &str = "call"; constant METHOD_INSTALL (line 26) | const METHOD_INSTALL: &str = "install"; constant TRANSFER_FROM_PURSE_TO_ACCOUNT (line 27) | const TRANSFER_FROM_PURSE_TO_ACCOUNT: &str = "transfer_from_purse_to_acc... constant TRANSFER_FROM_PURSE_TO_PURSE (line 28) | const TRANSFER_FROM_PURSE_TO_PURSE: &str = "transfer_from_purse_to_purse... constant TRANSFER_FUNDS_KEY (line 29) | const TRANSFER_FUNDS_KEY: &str = "transfer_funds"; constant TRANSFER_TO_ACCOUNT (line 30) | const TRANSFER_TO_ACCOUNT: &str = "transfer_to_account_ext"; constant ARG_METHOD (line 32) | const ARG_METHOD: &str = "method"; constant ARG_CONTRACTKEY (line 33) | const ARG_CONTRACTKEY: &str = "contract_key"; constant ARG_SUBCONTRACTMETHODFWD (line 34) | const ARG_SUBCONTRACTMETHODFWD: &str = "sub_contract_method_fwd"; type ContractError (line 37) | enum ContractError { method from (line 42) | fn from(error: ContractError) -> Self { function get_maintainer_account_hash (line 47) | fn get_maintainer_account_hash() -> Result { function get_donation_purse (line 55) | fn get_donation_purse() -> Result { function transfer_from_purse_to_purse_ext (line 63) | pub extern "C" fn transfer_from_purse_to_purse_ext() { function get_main_purse_ext (line 79) | pub extern "C" fn get_main_purse_ext() {} function transfer_from_purse_to_account_ext (line 82) | pub extern "C" fn transfer_from_purse_to_account_ext() { function transfer_to_account_ext (line 96) | pub extern "C" fn transfer_to_account_ext() { function delegate (line 105) | fn delegate() -> Result<(), ApiError> { function call (line 205) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/ee-601-regression/src/main.rs constant GET_PAYMENT_PURSE (line 14) | const GET_PAYMENT_PURSE: &str = "get_payment_purse"; constant NEW_UREF_RESULT_UREF_NAME (line 15) | const NEW_UREF_RESULT_UREF_NAME: &str = "new_uref_result"; constant ARG_AMOUNT (line 16) | const ARG_AMOUNT: &str = "amount"; type Error (line 19) | enum Error { function call (line 24) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/ee-771-regression/src/main.rs constant ENTRY_POINT_NAME (line 16) | const ENTRY_POINT_NAME: &str = "contract_ext"; constant CONTRACT_KEY (line 17) | const CONTRACT_KEY: &str = "contract"; function contract_ext (line 20) | pub extern "C" fn contract_ext() { function store (line 56) | fn store(named_keys: NamedKeys) -> (ContractHash, ContractVersion) { function install (line 77) | fn install() -> ContractHash { function dispatch (line 102) | fn dispatch(contract_hash: ContractHash) { function call (line 107) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/ee-966-regression/src/main.rs constant MAX_MEMORY_PAGES (line 11) | const MAX_MEMORY_PAGES: usize = 64; constant GROW_MARGIN (line 12) | const GROW_MARGIN: usize = 2; function casper_revert (line 16) | pub fn casper_revert(status: u32) -> !; type ApiError (line 21) | pub enum ApiError { function revert (line 26) | fn revert(value: ApiError) -> ! { constant DEFAULT_MEMORY_INDEX (line 33) | const DEFAULT_MEMORY_INDEX: u32 = 0; function memory_size (line 36) | pub fn memory_size() -> usize { function memory_size (line 41) | pub fn memory_size() -> usize { function memory_grow (line 46) | pub fn memory_grow(new_pages: usize) { function memory_grow (line 55) | pub fn memory_grow(_: usize) { function panic (line 60) | pub fn panic(_info: &::core::panic::PanicInfo) -> ! { function eh_personality (line 65) | extern "C" fn eh_personality() {} function call (line 68) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/endless-loop-with-effects/src/main.rs function call (line 10) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/endless-loop/src/main.rs function call (line 11) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/expensive-calculation/src/main.rs constant ENTRY_FUNCTION_NAME (line 12) | const ENTRY_FUNCTION_NAME: &str = "calculate"; function calculate (line 15) | pub extern "C" fn calculate() -> u64 { function call (line 29) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/finalize-payment/src/main.rs constant ARG_AMOUNT (line 14) | pub const ARG_AMOUNT: &str = "amount"; constant ARG_AMOUNT_SPENT (line 15) | pub const ARG_AMOUNT_SPENT: &str = "amount_spent"; constant ARG_REFUND_FLAG (line 16) | pub const ARG_REFUND_FLAG: &str = "refund"; constant ARG_PURSE (line 17) | pub const ARG_PURSE: &str = "purse"; constant ARG_ACCOUNT_KEY (line 18) | pub const ARG_ACCOUNT_KEY: &str = "account"; constant ARG_PURSE_NAME (line 19) | pub const ARG_PURSE_NAME: &str = "purse_name"; function set_refund_purse (line 21) | fn set_refund_purse(contract_hash: ContractHash, purse: URef) { function get_payment_purse (line 31) | fn get_payment_purse(contract_hash: ContractHash) -> URef { function submit_payment (line 35) | fn submit_payment(contract_hash: ContractHash, amount: U512) { function finalize_payment (line 41) | fn finalize_payment(contract_hash: ContractHash, amount_spent: U512, acc... function call (line 53) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/generic-hash/src/main.rs constant ARG_ALGORITHM (line 10) | const ARG_ALGORITHM: &str = "algorithm"; constant ARG_DATA (line 11) | const ARG_DATA: &str = "data"; constant ARG_EXPECTED (line 12) | const ARG_EXPECTED: &str = "expected"; function call (line 15) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/get-arg/src/main.rs constant ARG_VALUE0 (line 11) | const ARG_VALUE0: &str = "value0"; constant ARG_VALUE1 (line 12) | const ARG_VALUE1: &str = "value1"; function call (line 15) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/get-blockinfo/src/main.rs constant ARG_FIELD_IDX (line 13) | const ARG_FIELD_IDX: &str = "field_idx"; constant FIELD_IDX_BLOCK_TIME (line 14) | const FIELD_IDX_BLOCK_TIME: u8 = 0; constant FIELD_IDX_BLOCK_HEIGHT (line 15) | const FIELD_IDX_BLOCK_HEIGHT: u8 = 1; constant FIELD_IDX_PARENT_BLOCK_HASH (line 16) | const FIELD_IDX_PARENT_BLOCK_HASH: u8 = 2; constant FIELD_IDX_STATE_HASH (line 17) | const FIELD_IDX_STATE_HASH: u8 = 3; constant FIELD_IDX_PROTOCOL_VERSION (line 18) | const FIELD_IDX_PROTOCOL_VERSION: u8 = 4; constant FIELD_IDX_ADDRESSABLE_ENTITY (line 19) | const FIELD_IDX_ADDRESSABLE_ENTITY: u8 = 5; constant CURRENT_UBOUND (line 21) | const CURRENT_UBOUND: u8 = FIELD_IDX_ADDRESSABLE_ENTITY; constant ARG_KNOWN_BLOCK_TIME (line 22) | const ARG_KNOWN_BLOCK_TIME: &str = "known_block_time"; constant ARG_KNOWN_BLOCK_HEIGHT (line 23) | const ARG_KNOWN_BLOCK_HEIGHT: &str = "known_block_height"; constant ARG_KNOWN_BLOCK_PARENT_HASH (line 24) | const ARG_KNOWN_BLOCK_PARENT_HASH: &str = "known_block_parent_hash"; constant ARG_KNOWN_STATE_HASH (line 25) | const ARG_KNOWN_STATE_HASH: &str = "known_state_hash"; constant ARG_KNOWN_PROTOCOL_VERSION (line 26) | const ARG_KNOWN_PROTOCOL_VERSION: &str = "known_protocol_version"; constant ARG_KNOWN_ADDRESSABLE_ENTITY (line 27) | const ARG_KNOWN_ADDRESSABLE_ENTITY: &str = "known_addressable_entity"; function call (line 30) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/get-blocktime/src/main.rs constant ARG_KNOWN_BLOCK_TIME (line 7) | const ARG_KNOWN_BLOCK_TIME: &str = "known_block_time"; function call (line 10) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/get-call-stack-call-recursive-subcall/src/main.rs constant ARG_CALLS (line 12) | const ARG_CALLS: &str = "calls"; constant ARG_CURRENT_DEPTH (line 13) | const ARG_CURRENT_DEPTH: &str = "current_depth"; constant AMOUNT (line 14) | const AMOUNT: &str = "amount"; function call (line 17) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/get-call-stack-recursive-subcall/src/lib.rs constant CONTRACT_PACKAGE_NAME (line 19) | pub const CONTRACT_PACKAGE_NAME: &str = "forwarder"; constant PACKAGE_ACCESS_KEY_NAME (line 20) | pub const PACKAGE_ACCESS_KEY_NAME: &str = "forwarder_access"; constant CONTRACT_NAME (line 21) | pub const CONTRACT_NAME: &str = "our_contract_name"; constant METHOD_FORWARDER_CONTRACT_NAME (line 23) | pub const METHOD_FORWARDER_CONTRACT_NAME: &str = "forwarder_contract"; constant METHOD_FORWARDER_SESSION_NAME (line 24) | pub const METHOD_FORWARDER_SESSION_NAME: &str = "forwarder_session"; constant ARG_CALLS (line 26) | pub const ARG_CALLS: &str = "calls"; constant ARG_CURRENT_DEPTH (line 27) | pub const ARG_CURRENT_DEPTH: &str = "current_depth"; constant DEFAULT_PAYMENT (line 29) | const DEFAULT_PAYMENT: u64 = 1_500_000_000_000; type ContractAddressTag (line 32) | enum ContractAddressTag { type ContractAddress (line 38) | pub enum ContractAddress { method tag (line 44) | fn tag(&self) -> u8 { method to_bytes (line 55) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 69) | fn serialized_length(&self) -> usize { method from_bytes (line 81) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { type Call (line 102) | pub struct Call { method to_bytes (line 109) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 117) | fn serialized_length(&self) -> usize { method from_bytes (line 125) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { method cl_type (line 141) | fn cl_type() -> CLType { function standard_payment (line 146) | pub fn standard_payment(amount: U512) { function recurse (line 162) | pub fn recurse() { FILE: smart_contracts/contracts/test/get-call-stack-recursive-subcall/src/main.rs function forwarder_contract (line 20) | pub extern "C" fn forwarder_contract() { function forwarder_session (line 25) | pub extern "C" fn forwarder_session() { function call (line 30) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/get-caller-subcall/src/main.rs constant ENTRY_POINT_NAME (line 17) | const ENTRY_POINT_NAME: &str = "get_caller_ext"; constant HASH_KEY_NAME (line 18) | const HASH_KEY_NAME: &str = "caller_subcall"; constant ACCESS_KEY_NAME (line 19) | const ACCESS_KEY_NAME: &str = "caller_subcall_access"; constant ARG_ACCOUNT (line 20) | const ARG_ACCOUNT: &str = "account"; function get_caller_ext (line 23) | pub extern "C" fn get_caller_ext() { function call (line 29) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/get-caller/src/main.rs constant ARG_ACCOUNT (line 7) | const ARG_ACCOUNT: &str = "account"; function call (line 10) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/get-payment-purse/src/main.rs type Error (line 11) | enum Error { constant ARG_AMOUNT (line 18) | const ARG_AMOUNT: &str = "amount"; constant ENTRY_POINT_GET_PAYMENT_PURSE (line 19) | const ENTRY_POINT_GET_PAYMENT_PURSE: &str = "get_payment_purse"; function call (line 22) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/get-phase-payment/src/main.rs constant GET_PAYMENT_PURSE (line 10) | const GET_PAYMENT_PURSE: &str = "get_payment_purse"; constant ARG_PHASE (line 11) | const ARG_PHASE: &str = "phase"; constant ARG_AMOUNT (line 12) | const ARG_AMOUNT: &str = "amount"; function standard_payment (line 14) | fn standard_payment(amount: U512) { function call (line 29) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/get-phase/src/main.rs constant ARG_PHASE (line 7) | const ARG_PHASE: &str = "phase"; function call (line 10) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/gh-1470-regression-call/src/bin/main.rs function call (line 16) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/gh-1470-regression-call/src/lib.rs constant ARG_CONTRACT_HASH (line 7) | pub const ARG_CONTRACT_HASH: &str = "payment_contract"; constant ARG_CONTRACT_PACKAGE_HASH (line 8) | pub const ARG_CONTRACT_PACKAGE_HASH: &str = "contract_package_hash"; constant ARG_TEST_METHOD (line 9) | pub const ARG_TEST_METHOD: &str = "test_method"; type Error (line 12) | pub enum Error { method from (line 17) | fn from(error: Error) -> Self { constant METHOD_CALL_DO_NOTHING (line 22) | pub const METHOD_CALL_DO_NOTHING: &str = "call_do_nothing"; constant METHOD_CALL_VERSIONED_DO_NOTHING (line 23) | pub const METHOD_CALL_VERSIONED_DO_NOTHING: &str = "call_versioned_do_no... constant METHOD_CALL_DO_NOTHING_NO_ARGS (line 25) | pub const METHOD_CALL_DO_NOTHING_NO_ARGS: &str = "call_do_nothing_no_args"; constant METHOD_CALL_VERSIONED_DO_NOTHING_NO_ARGS (line 26) | pub const METHOD_CALL_VERSIONED_DO_NOTHING_NO_ARGS: &str = "call_version... constant METHOD_CALL_DO_NOTHING_TYPE_MISMATCH (line 28) | pub const METHOD_CALL_DO_NOTHING_TYPE_MISMATCH: &str = "call_do_nothing_... constant METHOD_CALL_VERSIONED_DO_NOTHING_TYPE_MISMATCH (line 29) | pub const METHOD_CALL_VERSIONED_DO_NOTHING_TYPE_MISMATCH: &str = constant METHOD_CALL_DO_NOTHING_OPTIONAL_TYPE_MISMATCH (line 32) | pub const METHOD_CALL_DO_NOTHING_OPTIONAL_TYPE_MISMATCH: &str = constant METHOD_CALL_VERSIONED_DO_NOTHING_OPTIONAL_TYPE_MISMATCH (line 34) | pub const METHOD_CALL_VERSIONED_DO_NOTHING_OPTIONAL_TYPE_MISMATCH: &str = constant METHOD_CALL_DO_NOTHING_NO_OPTIONALS (line 37) | pub const METHOD_CALL_DO_NOTHING_NO_OPTIONALS: &str = "call_do_nothing_n... constant METHOD_CALL_VERSIONED_DO_NOTHING_NO_OPTIONALS (line 38) | pub const METHOD_CALL_VERSIONED_DO_NOTHING_NO_OPTIONALS: &str = constant METHOD_CALL_DO_NOTHING_EXTRA (line 41) | pub const METHOD_CALL_DO_NOTHING_EXTRA: &str = "call_do_nothing_extra"; constant METHOD_CALL_VERSIONED_DO_NOTHING_EXTRA (line 42) | pub const METHOD_CALL_VERSIONED_DO_NOTHING_EXTRA: &str = "call_versioned... type TestMethod (line 44) | pub enum TestMethod { type Err (line 60) | type Err = Error; method from_str (line 62) | fn from_str(s: &str) -> Result { FILE: smart_contracts/contracts/test/gh-1470-regression/src/bin/main.rs function restricted_do_nothing_contract (line 21) | pub extern "C" fn restricted_do_nothing_contract() { function restricted_with_extra_arg (line 29) | pub extern "C" fn restricted_with_extra_arg() { function call (line 40) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/gh-1470-regression/src/lib.rs constant GROUP_LABEL (line 9) | pub const GROUP_LABEL: &str = "group_label"; constant GROUP_UREF_NAME (line 10) | pub const GROUP_UREF_NAME: &str = "group_uref"; constant CONTRACT_HASH_NAME (line 11) | pub const CONTRACT_HASH_NAME: &str = "contract_hash"; constant PACKAGE_HASH_NAME (line 12) | pub const PACKAGE_HASH_NAME: &str = "contract_package_hash"; constant RESTRICTED_DO_NOTHING_ENTRYPOINT (line 13) | pub const RESTRICTED_DO_NOTHING_ENTRYPOINT: &str = "restricted_do_nothin... constant RESTRICTED_WITH_EXTRA_ARG_ENTRYPOINT (line 14) | pub const RESTRICTED_WITH_EXTRA_ARG_ENTRYPOINT: &str = "restricted_with_... constant ARG1 (line 16) | pub const ARG1: &str = "arg1"; type Arg1Type (line 17) | pub type Arg1Type = String; constant ARG2 (line 19) | pub const ARG2: &str = "arg2"; type Arg2Type (line 20) | pub type Arg2Type = U512; constant ARG3 (line 22) | pub const ARG3: &str = "arg3"; type Arg3Type (line 23) | pub type Arg3Type = Option; constant ARG4 (line 25) | pub const ARG4: &str = "arg4"; type Arg4Type (line 26) | pub type Arg4Type = bool; constant ARG5 (line 28) | pub const ARG5: &str = "arg5"; type Arg5Type (line 29) | pub type Arg5Type = Option; FILE: smart_contracts/contracts/test/gh-1688-regression/src/main.rs constant METHOD_PUT_KEY (line 13) | const METHOD_PUT_KEY: &str = "put_key"; constant NEW_KEY_NAME (line 14) | const NEW_KEY_NAME: &str = "Hello"; constant NEW_KEY_VALUE (line 15) | const NEW_KEY_VALUE: &str = "World"; constant CONTRACT_PACKAGE_KEY (line 16) | const CONTRACT_PACKAGE_KEY: &str = "contract_package"; constant CONTRACT_HASH_KEY (line 17) | const CONTRACT_HASH_KEY: &str = "contract_hash"; function put_key (line 20) | fn put_key() { function call (line 26) | fn call() { FILE: smart_contracts/contracts/test/gh-2280-regression-call/src/main.rs constant FAUCET_NAME (line 10) | const FAUCET_NAME: &str = "faucet"; constant ARG_TARGET (line 11) | const ARG_TARGET: &str = "target"; constant ARG_CONTRACT_HASH (line 12) | const ARG_CONTRACT_HASH: &str = "contract_hash"; function call_faucet (line 14) | fn call_faucet(contract_hash: ContractHash, target: AccountHash) { function call (line 22) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/gh-2280-regression/src/main.rs constant FAUCET_NAME (line 21) | const FAUCET_NAME: &str = "faucet"; constant PACKAGE_HASH_KEY_NAME (line 22) | const PACKAGE_HASH_KEY_NAME: &str = "gh_2280"; constant HASH_KEY_NAME (line 23) | const HASH_KEY_NAME: &str = "gh_2280_hash"; constant ACCESS_KEY_NAME (line 24) | const ACCESS_KEY_NAME: &str = "gh_2280_access"; constant ARG_TARGET (line 25) | const ARG_TARGET: &str = "target"; constant CONTRACT_VERSION (line 26) | const CONTRACT_VERSION: &str = "contract_version"; constant ARG_FAUCET_FUNDS (line 27) | const ARG_FAUCET_FUNDS: &str = "faucet_initial_balance"; constant FAUCET_FUNDS_KEY (line 28) | const FAUCET_FUNDS_KEY: &str = "faucet_funds"; function faucet (line 31) | pub extern "C" fn faucet() { function call (line 42) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/gh-3097-regression-call/src/main.rs constant CONTRACT_PACKAGE_HASH_KEY (line 13) | const CONTRACT_PACKAGE_HASH_KEY: &str = "contract_package_hash"; constant DO_SOMETHING_ENTRYPOINT (line 14) | const DO_SOMETHING_ENTRYPOINT: &str = "do_something"; constant ARG_METHOD (line 15) | const ARG_METHOD: &str = "method"; constant ARG_CONTRACT_HASH_KEY (line 16) | const ARG_CONTRACT_HASH_KEY: &str = "contract_hash_key"; constant ARG_MAJOR_VERSION (line 17) | const ARG_MAJOR_VERSION: &str = "major_version"; constant ARG_CONTRACT_VERSION (line 18) | const ARG_CONTRACT_VERSION: &str = "contract_version"; constant METHOD_CALL_CONTRACT (line 19) | const METHOD_CALL_CONTRACT: &str = "call_contract"; constant METHOD_CALL_VERSIONED_CONTRACT (line 20) | const METHOD_CALL_VERSIONED_CONTRACT: &str = "call_versioned_contract"; function call (line 23) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/gh-3097-regression/src/main.rs constant CONTRACT_PACKAGE_HASH_KEY (line 17) | const CONTRACT_PACKAGE_HASH_KEY: &str = "contract_package_hash"; constant DISABLED_CONTRACT_HASH_KEY (line 18) | const DISABLED_CONTRACT_HASH_KEY: &str = "disabled_contract_hash"; constant ENABLED_CONTRACT_HASH_KEY (line 19) | const ENABLED_CONTRACT_HASH_KEY: &str = "enabled_contract_hash"; function do_something (line 22) | pub extern "C" fn do_something() { function call (line 27) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/gh-4771-regression/src/main.rs constant METHOD_TEST_ENTRY_POINT (line 13) | const METHOD_TEST_ENTRY_POINT: &str = "test_entry_point"; constant NEW_KEY_NAME (line 14) | const NEW_KEY_NAME: &str = "Hello"; constant NEW_KEY_VALUE (line 15) | const NEW_KEY_VALUE: &str = "World"; constant CONTRACT_PACKAGE_KEY (line 16) | const CONTRACT_PACKAGE_KEY: &str = "contract_package"; constant CONTRACT_HASH_KEY (line 17) | const CONTRACT_HASH_KEY: &str = "contract_hash"; function test_entry_point (line 20) | fn test_entry_point() { function call (line 26) | fn call() { FILE: smart_contracts/contracts/test/gh-4898-regression/src/main.rs constant ARG_DATA (line 10) | const ARG_DATA: &str = "data"; function is_key (line 13) | fn is_key(key_str: &str) -> bool { function call (line 18) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/gh-5058-regression/src/main.rs constant ARG_AMOUNT (line 15) | const ARG_AMOUNT: &str = "amount"; type Error (line 18) | enum Error { method from (line 23) | fn from(e: Error) -> Self { function get_payment_purse (line 28) | fn get_payment_purse() -> URef { function set_refund_purse (line 36) | fn set_refund_purse(new_refund_purse: URef) { function call (line 49) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/groups/src/main.rs constant PACKAGE_HASH_KEY (line 26) | const PACKAGE_HASH_KEY: &str = "package_hash_key"; constant PACKAGE_ACCESS_KEY (line 27) | const PACKAGE_ACCESS_KEY: &str = "package_access_key"; constant RESTRICTED_CONTRACT (line 28) | const RESTRICTED_CONTRACT: &str = "restricted_contract"; constant RESTRICTED_SESSION (line 29) | const RESTRICTED_SESSION: &str = "restricted_session"; constant RESTRICTED_SESSION_CALLER (line 30) | const RESTRICTED_SESSION_CALLER: &str = "restricted_session_caller"; constant UNRESTRICTED_CONTRACT_CALLER (line 31) | const UNRESTRICTED_CONTRACT_CALLER: &str = "unrestricted_contract_caller"; constant RESTRICTED_CONTRACT_CALLER_AS_SESSION (line 32) | const RESTRICTED_CONTRACT_CALLER_AS_SESSION: &str = "restricted_contract... constant UNCALLABLE_SESSION (line 33) | const UNCALLABLE_SESSION: &str = "uncallable_session"; constant UNCALLABLE_CONTRACT (line 34) | const UNCALLABLE_CONTRACT: &str = "uncallable_contract"; constant CALL_RESTRICTED_ENTRY_POINTS (line 35) | const CALL_RESTRICTED_ENTRY_POINTS: &str = "call_restricted_entry_points"; constant RESTRICTED_STANDARD_PAYMENT (line 36) | const RESTRICTED_STANDARD_PAYMENT: &str = "restricted_standard_payment"; constant ARG_PACKAGE_HASH (line 37) | const ARG_PACKAGE_HASH: &str = "package_hash"; function restricted_session (line 40) | pub extern "C" fn restricted_session() {} function restricted_contract (line 43) | pub extern "C" fn restricted_contract() {} function restricted_session_caller (line 46) | pub extern "C" fn restricted_session_caller() { function contract_caller (line 60) | fn contract_caller() { function unrestricted_contract_caller (line 73) | pub extern "C" fn unrestricted_contract_caller() { function restricted_contract_caller_as_session (line 78) | pub extern "C" fn restricted_contract_caller_as_session() { function uncallable_session (line 83) | pub extern "C" fn uncallable_session() {} function uncallable_contract (line 86) | pub extern "C" fn uncallable_contract() {} function get_payment_purse (line 88) | fn get_payment_purse() -> URef { function restricted_standard_payment (line 97) | pub extern "C" fn restricted_standard_payment() { function call_restricted_entry_points (line 106) | pub extern "C" fn call_restricted_entry_points() { function create_group (line 113) | fn create_group(package_hash: ContractPackageHash) -> URef { function create_entry_points_1 (line 127) | fn create_entry_points_1() -> EntryPoints { function install_version_1 (line 257) | fn install_version_1(contract_package_hash: ContractPackageHash, restric... function call (line 277) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/host-function-costs/src/main.rs constant DO_NOTHING_NAME (line 24) | const DO_NOTHING_NAME: &str = "do_nothing"; constant DO_SOMETHING_NAME (line 25) | const DO_SOMETHING_NAME: &str = "do_something"; constant DO_HOST_FUNCTION_CALLS_NAME (line 26) | const DO_HOST_FUNCTION_CALLS_NAME: &str = "do_host_function_calls"; constant HASH_KEY_NAME (line 27) | const HASH_KEY_NAME: &str = "contract_package"; constant CONTRACT_KEY_NAME (line 28) | const CONTRACT_KEY_NAME: &str = "contract"; constant CALLS_DO_NOTHING_LEVEL1_NAME (line 29) | const CALLS_DO_NOTHING_LEVEL1_NAME: &str = "calls_do_nothing_level1"; constant CALLS_DO_NOTHING_LEVEL2_NAME (line 30) | const CALLS_DO_NOTHING_LEVEL2_NAME: &str = "calls_do_nothing_level2"; constant TRANSFER_AMOUNT (line 31) | const TRANSFER_AMOUNT: u64 = 1_000_000; constant ARG_SOURCE_ACCOUNT (line 32) | const ARG_SOURCE_ACCOUNT: &str = "source_account"; constant ARG_KEY_NAME (line 33) | const ARG_KEY_NAME: &str = "seed"; constant ARG_BYTES (line 34) | const ARG_BYTES: &str = "bytes"; constant NAMED_KEY_COUNT (line 35) | const NAMED_KEY_COUNT: usize = 10; constant VALUE_FOR_ADDITION_1 (line 36) | const VALUE_FOR_ADDITION_1: u64 = 1; constant VALUE_FOR_ADDITION_2 (line 37) | const VALUE_FOR_ADDITION_2: u64 = 2; constant SHORT_FUNCTION_NAME_1 (line 38) | const SHORT_FUNCTION_NAME_1: &str = "s"; constant SHORT_FUNCTION_NAME_100 (line 39) | const SHORT_FUNCTION_NAME_100: &str = "sssssssssssssssssssssssssssssssss... constant LONG_FUNCTION_NAME_1 (line 40) | const LONG_FUNCTION_NAME_1: &str = "l"; constant LONG_FUNCTION_NAME_100 (line 41) | const LONG_FUNCTION_NAME_100: &str = "llllllllllllllllllllllllllllllllll... constant ARG_SIZE_FUNCTION_NAME (line 42) | const ARG_SIZE_FUNCTION_NAME: &str = "arg_size_function"; constant ARG_SIZE_FUNCTION_CALL_1_NAME (line 43) | const ARG_SIZE_FUNCTION_CALL_1_NAME: &str = "arg_size_function_call_1"; constant ARG_SIZE_FUNCTION_CALL_100_NAME (line 44) | const ARG_SIZE_FUNCTION_CALL_100_NAME: &str = "arg_size_function_call_100"; constant DESTINATION_ACCOUNT_HASH (line 47) | const DESTINATION_ACCOUNT_HASH: AccountHash = AccountHash::new([0x0A; 32]); type Error (line 50) | enum Error { method from (line 63) | fn from(error: Error) -> ApiError { function do_nothing (line 69) | pub extern "C" fn do_nothing() {} function do_something (line 72) | pub extern "C" fn do_something() { function uses_opcodes (line 76) | fn uses_opcodes() -> Box { function small_function (line 98) | pub extern "C" fn small_function() { function s (line 105) | pub extern "C" fn s() { function sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss (line 110) | pub extern "C" fn ssssssssssssssssssssssssssssssssssssssssssssssssssssss... function l (line 116) | pub extern "C" fn l() { function llllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll (line 121) | pub extern "C" fn llllllllllllllllllllllllllllllllllllllllllllllllllllll... function arg_size_function (line 127) | pub extern "C" fn arg_size_function() { function storage_function (line 134) | pub extern "C" fn storage_function() { function account_function (line 171) | pub extern "C" fn account_function() { function calls_do_nothing_level1 (line 221) | pub extern "C" fn calls_do_nothing_level1() { function calls_do_nothing_level2 (line 235) | pub extern "C" fn calls_do_nothing_level2() { function measure_arg_size (line 248) | fn measure_arg_size(bytes: usize) { function arg_size_function_call_1 (line 267) | pub extern "C" fn arg_size_function_call_1() { function arg_size_function_call_100 (line 272) | pub extern "C" fn arg_size_function_call_100() { function call (line 277) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/key-management-thresholds/src/main.rs constant ARG_STAGE (line 20) | const ARG_STAGE: &str = "stage"; function call (line 22) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/key-putter/src/main.rs constant CONTRACT_PACKAGE_NAME (line 26) | const CONTRACT_PACKAGE_NAME: &str = "package_name"; constant CONTRACT_ACCESS_UREF (line 27) | const CONTRACT_ACCESS_UREF: &str = "access_uref"; constant ENTRY_POINT_PUT_KEY (line 30) | const ENTRY_POINT_PUT_KEY: &str = "put_key"; constant CONTRACT_VERSION_KEY (line 33) | const CONTRACT_VERSION_KEY: &str = "version"; constant ALL_CONTRACTS_COUNTER (line 34) | const ALL_CONTRACTS_COUNTER: &str = "all_contracts_counter"; constant CONTRACT_KEY (line 35) | const CONTRACT_KEY: &str = "key_putter"; constant KEY_PLACEHOLDER (line 37) | const KEY_PLACEHOLDER: &str = "key_placeholder"; function put_key (line 40) | fn put_key() { function install (line 61) | pub fn install(contract_version: u32) { function upgrade (line 98) | pub fn upgrade(contract_version: u32) { function call (line 137) | pub extern "C" fn call() { function get_stored_value (line 149) | pub fn get_stored_value(name: &str) -> Option function get_uref (line 158) | fn get_uref(name: &str) -> URef { FILE: smart_contracts/contracts/test/list-authorization-keys/src/main.rs constant ARG_EXPECTED_AUTHORIZATION_KEYS (line 11) | const ARG_EXPECTED_AUTHORIZATION_KEYS: &str = "expected_authorization_ke... type UserError (line 14) | enum UserError { method from (line 19) | fn from(error: UserError) -> ApiError { function call (line 25) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/list-named-keys/src/main.rs constant ARG_INITIAL_NAMED_KEYS (line 11) | const ARG_INITIAL_NAMED_KEYS: &str = "initial_named_args"; constant ARG_NEW_NAMED_KEYS (line 12) | const ARG_NEW_NAMED_KEYS: &str = "new_named_keys"; function call (line 15) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/load-caller-info/src/main.rs constant PACKAGE_NAME (line 17) | const PACKAGE_NAME: &str = "load_caller_info_package"; constant CONTRACT_HASH (line 18) | const CONTRACT_HASH: &str = "load_caller_info_contract_hash"; constant PACKAGE_ACCESS_KEY (line 19) | const PACKAGE_ACCESS_KEY: &str = "package_access_key"; function initiator (line 22) | pub extern "C" fn initiator() { function get_immediate_caller (line 28) | pub extern "C" fn get_immediate_caller() { function get_full_stack (line 34) | pub extern "C" fn get_full_stack() { function call (line 43) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/main-purse/src/main.rs constant ARG_PURSE (line 7) | const ARG_PURSE: &str = "purse"; type Error (line 10) | enum Error { function call (line 16) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/manage-groups/src/main.rs constant PACKAGE_HASH_KEY (line 29) | const PACKAGE_HASH_KEY: &str = "package_hash_key"; constant PACKAGE_ACCESS_KEY (line 30) | const PACKAGE_ACCESS_KEY: &str = "package_access_key"; constant CREATE_GROUP (line 31) | const CREATE_GROUP: &str = "create_group"; constant REMOVE_GROUP (line 32) | const REMOVE_GROUP: &str = "remove_group"; constant EXTEND_GROUP_UREFS (line 33) | const EXTEND_GROUP_UREFS: &str = "extend_group_urefs"; constant REMOVE_GROUP_UREFS (line 34) | const REMOVE_GROUP_UREFS: &str = "remove_group_urefs"; constant GROUP_NAME_ARG (line 35) | const GROUP_NAME_ARG: &str = "group_name"; constant UREFS_ARG (line 36) | const UREFS_ARG: &str = "urefs"; constant TOTAL_NEW_UREFS_ARG (line 37) | const TOTAL_NEW_UREFS_ARG: &str = "total_new_urefs"; constant TOTAL_EXISTING_UREFS_ARG (line 38) | const TOTAL_EXISTING_UREFS_ARG: &str = "total_existing_urefs"; constant UREF_INDICES_ARG (line 39) | const UREF_INDICES_ARG: &str = "uref_indices"; function create_group (line 42) | pub extern "C" fn create_group() { function remove_group (line 63) | pub extern "C" fn remove_group() { function extend_group_urefs (line 78) | pub extern "C" fn extend_group_urefs() { function read_host_buffer_into (line 97) | fn read_host_buffer_into(dest: &mut [u8]) -> Result { function read_contract_package (line 109) | fn read_contract_package( function remove_group_urefs (line 145) | pub extern "C" fn remove_group_urefs() { function create_entry_points_1 (line 189) | fn create_entry_points_1() -> EntryPoints { function install_version_1 (line 245) | fn install_version_1(package_hash: ContractPackageHash) { function call (line 258) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/measure-gas-subcall/src/main.rs constant ARG_TARGET (line 18) | const ARG_TARGET: &str = "target_contract"; constant NOOP_EXT (line 19) | const NOOP_EXT: &str = "noop_ext"; constant GET_PHASE_EXT (line 20) | const GET_PHASE_EXT: &str = "get_phase_ext"; type CustomError (line 23) | enum CustomError { function get_phase_ext (line 29) | pub extern "C" fn get_phase_ext() { function noop_ext (line 35) | pub extern "C" fn noop_ext() { function store (line 39) | fn store() -> (ContractHash, EntityVersion) { function call (line 71) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/mint-purse/src/main.rs constant METHOD_MINT (line 10) | const METHOD_MINT: &str = "mint"; constant METHOD_BALANCE (line 11) | const METHOD_BALANCE: &str = "balance"; constant ARG_AMOUNT (line 13) | const ARG_AMOUNT: &str = "amount"; constant ARG_PURSE (line 14) | const ARG_PURSE: &str = "purse"; type Error (line 17) | enum Error { function mint_purse (line 22) | fn mint_purse(amount: U512) -> Result { function call (line 33) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/mint-transfer-proxy/src/main.rs function mint_transfer (line 11) | fn mint_transfer( function delegate (line 29) | fn delegate() { function call (line 39) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/multisig-authorization/src/main.rs constant ROLE_A_KEYS (line 13) | const ROLE_A_KEYS: [AccountHash; 3] = [ constant ROLE_B_KEYS (line 18) | const ROLE_B_KEYS: [AccountHash; 3] = [ constant ACCESS_KEY (line 24) | const ACCESS_KEY: &str = "access_key"; constant CONTRACT_KEY (line 25) | const CONTRACT_KEY: &str = "contract"; constant ENTRYPOINT_A (line 26) | const ENTRYPOINT_A: &str = "entrypoint_a"; constant ENTRYPOINT_B (line 27) | const ENTRYPOINT_B: &str = "entrypoint_b"; constant CONTRACT_PACKAGE_KEY (line 28) | const CONTRACT_PACKAGE_KEY: &str = "contract_package"; type UserError (line 31) | enum UserError { method from (line 37) | fn from(user_error: UserError) -> Self { function has_role_access_to (line 44) | fn has_role_access_to(role_keys: &[AccountHash]) -> bool { function entrypoint_a (line 51) | pub extern "C" fn entrypoint_a() { function entrypoint_b (line 61) | pub extern "C" fn entrypoint_b() { function call (line 71) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/named-dictionary-test/src/main.rs type DictIndex (line 15) | type DictIndex = u8; type KeySeed (line 16) | type KeySeed = u8; type Value (line 17) | type Value = u8; constant DICTIONARY_NAMES (line 18) | const DICTIONARY_NAMES: &[&str] = &[ function call (line 23) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/named-keys-stored-call/src/main.rs constant CONTRACT_HASH_NAME (line 11) | const CONTRACT_HASH_NAME: &str = "contract_stored"; function call (line 14) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/named-keys-stored/src/main.rs constant ENTRY_POINT_CONTRACT (line 18) | const ENTRY_POINT_CONTRACT: &str = "named_keys_contract"; constant ENTRY_POINT_CONTRACT_TO_CONTRACT (line 19) | const ENTRY_POINT_CONTRACT_TO_CONTRACT: &str = "named_keys_contract_to_c... constant ENTRY_POINT_SESSION_TO_SESSION (line 20) | const ENTRY_POINT_SESSION_TO_SESSION: &str = "named_keys_session_to_sess... constant ENTRY_POINT_SESSION (line 21) | const ENTRY_POINT_SESSION: &str = "named_keys_session"; constant CONTRACT_PACKAGE_HASH_NAME (line 22) | const CONTRACT_PACKAGE_HASH_NAME: &str = "contract_package_stored"; constant CONTRACT_HASH_NAME (line 23) | const CONTRACT_HASH_NAME: &str = "contract_stored"; constant CONTRACT_VERSION (line 24) | const CONTRACT_VERSION: &str = "contract_version"; type Error (line 27) | enum Error { method from (line 38) | fn from(error: Error) -> Self { function named_keys_contract (line 44) | pub extern "C" fn named_keys_contract() { function named_keys_session (line 70) | pub extern "C" fn named_keys_session() { function named_keys_contract_to_contract (line 100) | pub extern "C" fn named_keys_contract_to_contract() { function named_keys_session_to_session (line 115) | pub extern "C" fn named_keys_session_to_session() { function call (line 130) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/named-keys/src/main.rs function create_uref (line 15) | fn create_uref(key_name: &str, value: T) { constant COMMAND_CREATE_UREF1 (line 20) | const COMMAND_CREATE_UREF1: &str = "create-uref1"; constant COMMAND_CREATE_UREF2 (line 21) | const COMMAND_CREATE_UREF2: &str = "create-uref2"; constant COMMAND_REMOVE_UREF1 (line 22) | const COMMAND_REMOVE_UREF1: &str = "remove-uref1"; constant COMMAND_REMOVE_UREF2 (line 23) | const COMMAND_REMOVE_UREF2: &str = "remove-uref2"; constant COMMAND_TEST_READ_UREF1 (line 24) | const COMMAND_TEST_READ_UREF1: &str = "test-read-uref1"; constant COMMAND_TEST_READ_UREF2 (line 25) | const COMMAND_TEST_READ_UREF2: &str = "test-read-uref2"; constant COMMAND_INCREASE_UREF2 (line 26) | const COMMAND_INCREASE_UREF2: &str = "increase-uref2"; constant COMMAND_OVERWRITE_UREF2 (line 27) | const COMMAND_OVERWRITE_UREF2: &str = "overwrite-uref2"; constant ARG_COMMAND (line 28) | const ARG_COMMAND: &str = "command"; function call (line 31) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/new-named-uref/src/main.rs constant ARG_UREF_NAME (line 10) | const ARG_UREF_NAME: &str = "uref_name"; constant INITIAL_DATA (line 11) | const INITIAL_DATA: &str = "bawitdaba"; function call (line 14) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/ordered-transforms/src/main.rs function call (line 19) | pub extern "C" fn call() { function perform_operations (line 49) | pub extern "C" fn perform_operations() { FILE: smart_contracts/contracts/test/overwrite-uref-content/src/main.rs constant ARG_CONTRACT_UREF (line 7) | const ARG_CONTRACT_UREF: &str = "contract_uref"; type Error (line 10) | enum Error { constant REPLACEMENT_DATA (line 14) | const REPLACEMENT_DATA: &str = "bawitdaba"; function call (line 17) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/payment-purse-persist/src/main.rs constant GET_PAYMENT_PURSE (line 10) | const GET_PAYMENT_PURSE: &str = "get_payment_purse"; constant THIS_SHOULD_FAIL (line 11) | const THIS_SHOULD_FAIL: &str = "this_should_fail"; constant ARG_METHOD (line 13) | const ARG_METHOD: &str = "method"; function call (line 19) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/purse-holder-stored-caller/src/main.rs constant METHOD_VERSION (line 11) | const METHOD_VERSION: &str = "version"; constant HASH_KEY_NAME (line 12) | const HASH_KEY_NAME: &str = "purse_holder"; constant ENTRY_POINT_NAME (line 13) | const ENTRY_POINT_NAME: &str = "entry_point"; constant PURSE_NAME (line 14) | const PURSE_NAME: &str = "purse_name"; function call (line 17) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/purse-holder-stored-upgrader-v2-2/src/main.rs constant METHOD_DELEGATE (line 18) | pub const METHOD_DELEGATE: &str = "delegate"; constant METHOD_REMOVE (line 19) | pub const METHOD_REMOVE: &str = "remove"; constant METHOD_VERSION (line 20) | pub const METHOD_VERSION: &str = "version"; constant ARG_PURSE_NAME (line 21) | pub const ARG_PURSE_NAME: &str = "purse_name"; constant NEW_VERSION (line 22) | pub const NEW_VERSION: &str = "1.0.1"; constant VERSION (line 23) | const VERSION: &str = "version"; constant ACCESS_KEY_NAME (line 24) | const ACCESS_KEY_NAME: &str = "purse_holder_access"; constant PURSE_HOLDER_STORED_CONTRACT_NAME (line 25) | const PURSE_HOLDER_STORED_CONTRACT_NAME: &str = "purse_holder_stored"; constant ARG_CONTRACT_PACKAGE (line 26) | const ARG_CONTRACT_PACKAGE: &str = "contract_package"; constant CONTRACT_VERSION (line 27) | const CONTRACT_VERSION: &str = "contract_version"; function purse_name (line 29) | fn purse_name() -> String { function delegate (line 34) | pub extern "C" fn delegate() { function remove (line 41) | pub extern "C" fn remove() { function version (line 47) | pub extern "C" fn version() { function call (line 52) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/purse-holder-stored-upgrader/src/main.rs constant METHOD_ADD (line 18) | pub const METHOD_ADD: &str = "add"; constant METHOD_REMOVE (line 19) | pub const METHOD_REMOVE: &str = "remove"; constant METHOD_VERSION (line 20) | pub const METHOD_VERSION: &str = "version"; constant ARG_PURSE_NAME (line 21) | pub const ARG_PURSE_NAME: &str = "purse_name"; constant NEW_VERSION (line 22) | pub const NEW_VERSION: &str = "1.0.1"; constant VERSION (line 23) | const VERSION: &str = "version"; constant ACCESS_KEY_NAME (line 24) | const ACCESS_KEY_NAME: &str = "purse_holder_access"; constant PURSE_HOLDER_STORED_CONTRACT_NAME (line 25) | const PURSE_HOLDER_STORED_CONTRACT_NAME: &str = "purse_holder_stored"; constant ARG_CONTRACT_PACKAGE (line 26) | const ARG_CONTRACT_PACKAGE: &str = "contract_package"; constant CONTRACT_VERSION (line 27) | const CONTRACT_VERSION: &str = "contract_version"; function purse_name (line 29) | fn purse_name() -> String { function add (line 34) | pub extern "C" fn add() { function remove (line 41) | pub extern "C" fn remove() { function version (line 47) | pub extern "C" fn version() { function call (line 52) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/purse-holder-stored/src/main.rs constant METHOD_ADD (line 19) | pub const METHOD_ADD: &str = "add"; constant METHOD_REMOVE (line 20) | pub const METHOD_REMOVE: &str = "remove"; constant METHOD_VERSION (line 21) | pub const METHOD_VERSION: &str = "version"; constant ENTRY_POINT_ADD (line 23) | const ENTRY_POINT_ADD: &str = "add_named_purse"; constant ENTRY_POINT_VERSION (line 24) | const ENTRY_POINT_VERSION: &str = "version"; constant HASH_KEY_NAME (line 25) | const HASH_KEY_NAME: &str = "purse_holder"; constant ACCESS_KEY_NAME (line 26) | const ACCESS_KEY_NAME: &str = "purse_holder_access"; constant ARG_PURSE (line 27) | const ARG_PURSE: &str = "purse_name"; constant ARG_IS_LOCKED (line 28) | const ARG_IS_LOCKED: &str = "is_locked"; constant VERSION (line 29) | const VERSION: &str = "1.0.0"; constant PURSE_HOLDER_STORED_CONTRACT_NAME (line 30) | const PURSE_HOLDER_STORED_CONTRACT_NAME: &str = "purse_holder_stored"; constant CONTRACT_VERSION (line 31) | const CONTRACT_VERSION: &str = "contract_version"; function add_named_purse (line 34) | pub extern "C" fn add_named_purse() { function version (line 41) | pub extern "C" fn version() { function call (line 47) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/random-bytes-payment/src/main.rs constant GET_PAYMENT_PURSE (line 10) | const GET_PAYMENT_PURSE: &str = "get_payment_purse"; constant ARG_AMOUNT (line 11) | const ARG_AMOUNT: &str = "amount"; function standard_payment (line 13) | fn standard_payment(amount: U512) { constant RANDOM_BYTES_PAYMENT_RESULT (line 27) | const RANDOM_BYTES_PAYMENT_RESULT: &str = "random_bytes_payment_result"; function call (line 30) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/random-bytes/src/main.rs constant RANDOM_BYTES_RESULT (line 7) | const RANDOM_BYTES_RESULT: &str = "random_bytes_result"; function call (line 10) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/read-from-key/src/main.rs constant DICTIONARY_NAME (line 14) | const DICTIONARY_NAME: &str = "dictionary-name"; constant DICTIONARY_ITEM_KEY (line 15) | const DICTIONARY_ITEM_KEY: &str = "dictionary-item-key"; constant DICTIONARY_VALUE (line 16) | const DICTIONARY_VALUE: &str = "dictionary-value"; function call (line 19) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/recover-secp256k1/src/main.rs constant ARG_MESSAGE (line 15) | const ARG_MESSAGE: &str = "message"; constant ARG_SIGNATURE_BYTES (line 16) | const ARG_SIGNATURE_BYTES: &str = "signature_bytes"; constant ARG_RECOVERY_ID (line 17) | const ARG_RECOVERY_ID: &str = "recovery_id"; constant ARG_EXPECTED (line 18) | const ARG_EXPECTED: &str = "expected"; function call (line 21) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/refund-purse/src/main.rs type Error (line 15) | enum Error { constant ARG_PURSE (line 22) | pub const ARG_PURSE: &str = "purse"; constant ARG_PAYMENT_AMOUNT (line 23) | const ARG_PAYMENT_AMOUNT: &str = "payment_amount"; constant SET_REFUND_PURSE (line 24) | const SET_REFUND_PURSE: &str = "set_refund_purse"; constant GET_REFUND_PURSE (line 25) | const GET_REFUND_PURSE: &str = "get_refund_purse"; constant GET_PAYMENT_PURSE (line 26) | const GET_PAYMENT_PURSE: &str = "get_payment_purse"; constant ARG_PURSE_NAME_1 (line 27) | const ARG_PURSE_NAME_1: &str = "purse_name_1"; constant ARG_PURSE_NAME_2 (line 28) | const ARG_PURSE_NAME_2: &str = "purse_name_2"; function set_refund_purse (line 30) | fn set_refund_purse(contract_hash: ContractHash, p: &URef) { function get_refund_purse (line 40) | fn get_refund_purse(handle_payment: ContractHash) -> Option { function get_payment_purse (line 44) | fn get_payment_purse(handle_payment: ContractHash) -> URef { function submit_payment (line 48) | fn submit_payment(handle_payment: ContractHash, amount: U512) { function call (line 55) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/regression-20210707/src/main.rs constant HARDCODED_UREF (line 22) | const HARDCODED_UREF: URef = URef::new([42; 32], AccessRights::READ_ADD_... constant PACKAGE_HASH_NAME (line 24) | const PACKAGE_HASH_NAME: &str = "package_hash_name"; constant ACCESS_UREF_NAME (line 25) | const ACCESS_UREF_NAME: &str = "uref_name"; constant CONTRACT_HASH_NAME (line 26) | const CONTRACT_HASH_NAME: &str = "contract_hash"; constant ARG_SOURCE (line 28) | const ARG_SOURCE: &str = "source"; constant ARG_RECIPIENT (line 29) | const ARG_RECIPIENT: &str = "recipient"; constant ARG_AMOUNT (line 30) | const ARG_AMOUNT: &str = "amount"; constant ARG_TARGET (line 31) | const ARG_TARGET: &str = "target"; constant METHOD_SEND_TO_ACCOUNT (line 33) | const METHOD_SEND_TO_ACCOUNT: &str = "send_to_account"; constant METHOD_SEND_TO_PURSE (line 34) | const METHOD_SEND_TO_PURSE: &str = "send_to_purse"; constant METHOD_HARDCODED_PURSE_SRC (line 35) | const METHOD_HARDCODED_PURSE_SRC: &str = "hardcoded_purse_src"; constant METHOD_STORED_PAYMENT (line 36) | const METHOD_STORED_PAYMENT: &str = "stored_payment"; constant METHOD_HARDCODED_PAYMENT (line 37) | const METHOD_HARDCODED_PAYMENT: &str = "hardcoded_payment"; function get_payment_purse (line 39) | pub fn get_payment_purse() -> URef { function set_refund_purse (line 47) | pub fn set_refund_purse(refund_purse: URef) { function send_to_account (line 59) | pub extern "C" fn send_to_account() { function send_to_purse (line 71) | pub extern "C" fn send_to_purse() { function hardcoded_purse_src (line 83) | pub extern "C" fn hardcoded_purse_src() { function stored_payment (line 96) | pub extern "C" fn stored_payment() { function hardcoded_payment (line 118) | pub extern "C" fn hardcoded_payment() { function call (line 140) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/regression-20210831/src/main.rs constant METHOD_ADD_BID_PROXY_CALL_1 (line 22) | const METHOD_ADD_BID_PROXY_CALL_1: &str = "add_bid_proxy_call_1"; constant METHOD_ADD_BID_PROXY_CALL (line 23) | const METHOD_ADD_BID_PROXY_CALL: &str = "add_bid_proxy_call"; constant METHOD_WITHDRAW_PROXY_CALL (line 25) | const METHOD_WITHDRAW_PROXY_CALL: &str = "withdraw_proxy_call"; constant METHOD_WITHDRAW_PROXY_CALL_1 (line 26) | const METHOD_WITHDRAW_PROXY_CALL_1: &str = "withdraw_proxy_call_1"; constant METHOD_DELEGATE_PROXY_CALL (line 28) | const METHOD_DELEGATE_PROXY_CALL: &str = "delegate_proxy_call"; constant METHOD_DELEGATE_PROXY_CALL_1 (line 29) | const METHOD_DELEGATE_PROXY_CALL_1: &str = "delegate_proxy_call_1"; constant METHOD_UNDELEGATE_PROXY_CALL (line 31) | const METHOD_UNDELEGATE_PROXY_CALL: &str = "undelegate_proxy_call"; constant METHOD_UNDELEGATE_PROXY_CALL_1 (line 32) | const METHOD_UNDELEGATE_PROXY_CALL_1: &str = "undelegate_proxy_call_1"; constant METHOD_ACTIVATE_BID_CALL (line 34) | const METHOD_ACTIVATE_BID_CALL: &str = "activate_bid_proxy_call"; constant METHOD_ACTIVATE_BID_CALL_1 (line 35) | const METHOD_ACTIVATE_BID_CALL_1: &str = "activate_bid_proxy_call_1"; constant PACKAGE_HASH_NAME (line 37) | const PACKAGE_HASH_NAME: &str = "package_hash_name"; constant ACCESS_UREF_NAME (line 38) | const ACCESS_UREF_NAME: &str = "uref_name"; constant CONTRACT_HASH_NAME (line 39) | const CONTRACT_HASH_NAME: &str = "contract_hash"; function forwarded_add_bid_args (line 41) | fn forwarded_add_bid_args() -> RuntimeArgs { function forwarded_withdraw_bid_args (line 53) | fn forwarded_withdraw_bid_args() -> RuntimeArgs { function forwarded_delegate_args (line 63) | fn forwarded_delegate_args() -> RuntimeArgs { function forwarded_undelegate_args (line 75) | fn forwarded_undelegate_args() -> RuntimeArgs { function forwarded_activate_bid_args (line 87) | fn forwarded_activate_bid_args() -> RuntimeArgs { function withdraw_proxy_call_1 (line 96) | pub extern "C" fn withdraw_proxy_call_1() { function forward_call_to_this (line 110) | fn forward_call_to_this(entry_point: &str, runti... function call_auction (line 118) | fn call_auction(entry_point: &str, args: Runtime... function add_bid_proxy_call (line 123) | pub extern "C" fn add_bid_proxy_call() { function add_bid_proxy_call_1 (line 128) | pub extern "C" fn add_bid_proxy_call_1() { function withdraw_proxy_call (line 133) | pub extern "C" fn withdraw_proxy_call() { function delegate_proxy_call_1 (line 139) | pub extern "C" fn delegate_proxy_call_1() { function delegate_proxy_call (line 145) | pub extern "C" fn delegate_proxy_call() { function undelegate_proxy_call_1 (line 151) | pub extern "C" fn undelegate_proxy_call_1() { function undelegate_proxy_call (line 157) | pub extern "C" fn undelegate_proxy_call() { function activate_bid_proxy_call_1 (line 163) | pub extern "C" fn activate_bid_proxy_call_1() { function activate_bid_proxy_call (line 168) | pub extern "C" fn activate_bid_proxy_call() { function call (line 173) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/regression-20220204-call/src/main.rs constant ARG_PURSE (line 14) | const ARG_PURSE: &str = "purse"; constant CONTRACT_HASH_NAME (line 15) | const CONTRACT_HASH_NAME: &str = "regression-contract-hash"; constant ARG_ENTRYPOINT (line 16) | const ARG_ENTRYPOINT: &str = "entrypoint"; function call (line 19) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/regression-20220204-nontrivial/src/main.rs constant ARG_PURSE (line 17) | const ARG_PURSE: &str = "purse"; constant CONTRACT_HASH_NAME (line 18) | const CONTRACT_HASH_NAME: &str = "regression-contract-hash"; constant ARG_ENTRYPOINT (line 19) | const ARG_ENTRYPOINT: &str = "entrypoint"; type NonTrivialArg (line 21) | type NonTrivialArg = BTreeMap; function call (line 24) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/regression-20220204/src/main.rs constant TRANSFER_AS_CONTRACT (line 17) | const TRANSFER_AS_CONTRACT: &str = "transfer_as_contract"; constant NONTRIVIAL_ARG_AS_CONTRACT (line 18) | const NONTRIVIAL_ARG_AS_CONTRACT: &str = "nontrivial_arg_as_contract"; constant ARG_PURSE (line 19) | const ARG_PURSE: &str = "purse"; constant PURSE_KEY (line 20) | const PURSE_KEY: &str = "purse"; constant CONTRACT_HASH_NAME (line 21) | const CONTRACT_HASH_NAME: &str = "regression-contract-hash"; constant PACKAGE_HASH_NAME (line 22) | const PACKAGE_HASH_NAME: &str = "package-contract-hash"; type NonTrivialArg (line 24) | type NonTrivialArg = BTreeMap; function call (line 27) | pub extern "C" fn call() { function transfer_as_contract (line 71) | pub extern "C" fn transfer_as_contract() { function transfer_as_session (line 92) | pub extern "C" fn transfer_as_session() { function transfer_main_purse_as_session (line 111) | pub extern "C" fn transfer_main_purse_as_session() { function nontrivial_arg_as_contract (line 128) | pub extern "C" fn nontrivial_arg_as_contract() { FILE: smart_contracts/contracts/test/regression-20220207/src/main.rs constant ARG_TARGET (line 10) | const ARG_TARGET: &str = "target"; constant ARG_AMOUNT_TO_SEND (line 11) | const ARG_AMOUNT_TO_SEND: &str = "amount_to_send"; function call (line 14) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/regression-20220208/src/main.rs constant ARG_TARGET (line 10) | const ARG_TARGET: &str = "target"; constant ARG_AMOUNT_PART_1 (line 11) | const ARG_AMOUNT_PART_1: &str = "amount_part_1"; constant ARG_AMOUNT_PART_2 (line 12) | const ARG_AMOUNT_PART_2: &str = "amount_part_2"; function call (line 15) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/regression-20220211-call/src/main.rs constant CONTRACT_HASH_NAME (line 10) | const CONTRACT_HASH_NAME: &str = "regression-contract-hash"; constant ARG_ENTRYPOINT (line 11) | const ARG_ENTRYPOINT: &str = "entrypoint"; function call (line 14) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/regression-20220211/src/main.rs constant RET_AS_CONTRACT (line 13) | const RET_AS_CONTRACT: &str = "ret_as_contract"; constant RET_AS_SESSION (line 14) | const RET_AS_SESSION: &str = "ret_as_session"; constant PUT_KEY_AS_SESSION (line 15) | const PUT_KEY_AS_SESSION: &str = "put_key_as_session"; constant PUT_KEY_AS_CONTRACT (line 16) | const PUT_KEY_AS_CONTRACT: &str = "put_key_as_contract"; constant READ_AS_SESSION (line 17) | const READ_AS_SESSION: &str = "read_as_session"; constant READ_AS_CONTRACT (line 18) | const READ_AS_CONTRACT: &str = "read_as_contract"; constant WRITE_AS_SESSION (line 19) | const WRITE_AS_SESSION: &str = "write_as_session"; constant WRITE_AS_CONTRACT (line 20) | const WRITE_AS_CONTRACT: &str = "write_as_contract"; constant ADD_AS_SESSION (line 21) | const ADD_AS_SESSION: &str = "add_as_session"; constant ADD_AS_CONTRACT (line 22) | const ADD_AS_CONTRACT: &str = "add_as_contract"; constant CONTRACT_HASH_NAME (line 23) | const CONTRACT_HASH_NAME: &str = "regression-contract-hash"; function call (line 26) | pub extern "C" fn call() { function ret_as_contract (line 118) | pub extern "C" fn ret_as_contract() { function ret_as_session (line 124) | pub extern "C" fn ret_as_session() { function write_as_contract (line 130) | pub extern "C" fn write_as_contract() { function write_as_session (line 136) | pub extern "C" fn write_as_session() { function read_as_contract (line 142) | pub extern "C" fn read_as_contract() { function read_as_session (line 148) | pub extern "C" fn read_as_session() { function put_key_as_contract (line 154) | pub extern "C" fn put_key_as_contract() { function put_key_as_session (line 160) | pub extern "C" fn put_key_as_session() { function add_as_contract (line 166) | pub extern "C" fn add_as_contract() { function add_as_session (line 172) | pub extern "C" fn add_as_session() { FILE: smart_contracts/contracts/test/regression-20220222/src/main.rs constant ALICE_ADDR (line 12) | const ALICE_ADDR: AccountHash = AccountHash::new([42; 32]); type Error (line 15) | enum Error { method from (line 21) | fn from(error: Error) -> Self { function call (line 27) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/regression-add-bid/src/main.rs constant ARG_AMOUNT (line 13) | const ARG_AMOUNT: &str = "amount"; constant ARG_DELEGATION_RATE (line 14) | const ARG_DELEGATION_RATE: &str = "delegation_rate"; constant ARG_PUBLIC_KEY (line 15) | const ARG_PUBLIC_KEY: &str = "public_key"; function add_bid (line 17) | fn add_bid(public_key: PublicKey, bond_amount: U512, delegation_rate: De... function call (line 28) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/regression-delegate/src/main.rs constant ARG_AMOUNT (line 9) | const ARG_AMOUNT: &str = "amount"; constant ARG_VALIDATOR (line 11) | const ARG_VALIDATOR: &str = "validator"; constant ARG_DELEGATOR (line 12) | const ARG_DELEGATOR: &str = "delegator"; function delegate (line 14) | fn delegate(delegator: PublicKey, validator: PublicKey, amount: U512) { function call (line 25) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/regression-payment/src/main.rs function pay (line 15) | fn pay(amount: U512) { function call (line 35) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/regression-transfer/src/main.rs function call_mint_transfer (line 12) | fn call_mint_transfer( function call (line 30) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/regression_20211110/src/main.rs constant RECURSE_ENTRYPOINT (line 14) | const RECURSE_ENTRYPOINT: &str = "recurse"; constant ARG_TARGET (line 15) | const ARG_TARGET: &str = "target"; constant CONTRACT_HASH_NAME (line 16) | const CONTRACT_HASH_NAME: &str = "regression-contract-hash"; function call (line 19) | pub extern "C" fn call() { function recurse (line 40) | pub extern "C" fn recurse() { FILE: smart_contracts/contracts/test/regression_20220119/src/main.rs function custom_create_purse (line 10) | fn custom_create_purse(buffer_size: usize) -> Result<(), ApiError> { function call (line 17) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/regression_20240105/src/main.rs constant NOOP (line 32) | const NOOP: &str = "noop"; function to_ptr (line 34) | fn to_ptr(t: &T) -> (*const u8, usize, Vec) { function noop (line 42) | extern "C" fn noop() {} function store_noop_contract (line 44) | fn store_noop_contract(maybe_contract_pkg_hash: Option String { function get_named_arg_size (line 81) | fn get_named_arg_size(name: &str) -> usize { function call (line 95) | pub extern "C" fn call() { function function_0 (line 771) | extern "C" fn function_0() {} function function_1 (line 773) | extern "C" fn function_1() {} function function_2 (line 775) | extern "C" fn function_2() {} function function_3 (line 777) | extern "C" fn function_3() {} function function_4 (line 779) | extern "C" fn function_4() {} function function_5 (line 781) | extern "C" fn function_5() {} function function_6 (line 783) | extern "C" fn function_6() {} function function_7 (line 785) | extern "C" fn function_7() {} function function_8 (line 787) | extern "C" fn function_8() {} function function_9 (line 789) | extern "C" fn function_9() {} function function_10 (line 791) | extern "C" fn function_10() {} function function_11 (line 793) | extern "C" fn function_11() {} function function_12 (line 795) | extern "C" fn function_12() {} function function_13 (line 797) | extern "C" fn function_13() {} function function_14 (line 799) | extern "C" fn function_14() {} function function_15 (line 801) | extern "C" fn function_15() {} function function_16 (line 803) | extern "C" fn function_16() {} function function_17 (line 805) | extern "C" fn function_17() {} function function_18 (line 807) | extern "C" fn function_18() {} function function_19 (line 809) | extern "C" fn function_19() {} function function_20 (line 811) | extern "C" fn function_20() {} function function_21 (line 813) | extern "C" fn function_21() {} function function_22 (line 815) | extern "C" fn function_22() {} function function_23 (line 817) | extern "C" fn function_23() {} function function_24 (line 819) | extern "C" fn function_24() {} function function_25 (line 821) | extern "C" fn function_25() {} function function_26 (line 823) | extern "C" fn function_26() {} function function_27 (line 825) | extern "C" fn function_27() {} function function_28 (line 827) | extern "C" fn function_28() {} function function_29 (line 829) | extern "C" fn function_29() {} function function_30 (line 831) | extern "C" fn function_30() {} function function_31 (line 833) | extern "C" fn function_31() {} function function_32 (line 835) | extern "C" fn function_32() {} function function_33 (line 837) | extern "C" fn function_33() {} function function_34 (line 839) | extern "C" fn function_34() {} function function_35 (line 841) | extern "C" fn function_35() {} function function_36 (line 843) | extern "C" fn function_36() {} function function_37 (line 845) | extern "C" fn function_37() {} function function_38 (line 847) | extern "C" fn function_38() {} function function_39 (line 849) | extern "C" fn function_39() {} function function_40 (line 851) | extern "C" fn function_40() {} function function_41 (line 853) | extern "C" fn function_41() {} function function_42 (line 855) | extern "C" fn function_42() {} function function_43 (line 857) | extern "C" fn function_43() {} function function_44 (line 859) | extern "C" fn function_44() {} function function_45 (line 861) | extern "C" fn function_45() {} function function_46 (line 863) | extern "C" fn function_46() {} function function_47 (line 865) | extern "C" fn function_47() {} function function_48 (line 867) | extern "C" fn function_48() {} function function_49 (line 869) | extern "C" fn function_49() {} function function_50 (line 871) | extern "C" fn function_50() {} function function_51 (line 873) | extern "C" fn function_51() {} function function_52 (line 875) | extern "C" fn function_52() {} function function_53 (line 877) | extern "C" fn function_53() {} function function_54 (line 879) | extern "C" fn function_54() {} function function_55 (line 881) | extern "C" fn function_55() {} function function_56 (line 883) | extern "C" fn function_56() {} function function_57 (line 885) | extern "C" fn function_57() {} function function_58 (line 887) | extern "C" fn function_58() {} function function_59 (line 889) | extern "C" fn function_59() {} function function_60 (line 891) | extern "C" fn function_60() {} function function_61 (line 893) | extern "C" fn function_61() {} function function_62 (line 895) | extern "C" fn function_62() {} function function_63 (line 897) | extern "C" fn function_63() {} function function_64 (line 899) | extern "C" fn function_64() {} function function_65 (line 901) | extern "C" fn function_65() {} function function_66 (line 903) | extern "C" fn function_66() {} function function_67 (line 905) | extern "C" fn function_67() {} function function_68 (line 907) | extern "C" fn function_68() {} function function_69 (line 909) | extern "C" fn function_69() {} function function_70 (line 911) | extern "C" fn function_70() {} function function_71 (line 913) | extern "C" fn function_71() {} function function_72 (line 915) | extern "C" fn function_72() {} function function_73 (line 917) | extern "C" fn function_73() {} function function_74 (line 919) | extern "C" fn function_74() {} function function_75 (line 921) | extern "C" fn function_75() {} function function_76 (line 923) | extern "C" fn function_76() {} function function_77 (line 925) | extern "C" fn function_77() {} function function_78 (line 927) | extern "C" fn function_78() {} function function_79 (line 929) | extern "C" fn function_79() {} function function_80 (line 931) | extern "C" fn function_80() {} function function_81 (line 933) | extern "C" fn function_81() {} function function_82 (line 935) | extern "C" fn function_82() {} function function_83 (line 937) | extern "C" fn function_83() {} function function_84 (line 939) | extern "C" fn function_84() {} function function_85 (line 941) | extern "C" fn function_85() {} function function_86 (line 943) | extern "C" fn function_86() {} function function_87 (line 945) | extern "C" fn function_87() {} function function_88 (line 947) | extern "C" fn function_88() {} function function_89 (line 949) | extern "C" fn function_89() {} function function_90 (line 951) | extern "C" fn function_90() {} function function_91 (line 953) | extern "C" fn function_91() {} function function_92 (line 955) | extern "C" fn function_92() {} function function_93 (line 957) | extern "C" fn function_93() {} function function_94 (line 959) | extern "C" fn function_94() {} function function_95 (line 961) | extern "C" fn function_95() {} function function_96 (line 963) | extern "C" fn function_96() {} function function_97 (line 965) | extern "C" fn function_97() {} function function_98 (line 967) | extern "C" fn function_98() {} function function_99 (line 969) | extern "C" fn function_99() {} FILE: smart_contracts/contracts/test/remove-associated-key/src/main.rs constant ARG_ACCOUNT (line 10) | const ARG_ACCOUNT: &str = "account"; function call (line 13) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/ret-uref/src/main.rs constant ACCESS_UREF (line 19) | const ACCESS_UREF: &str = "access_uref"; constant PUT_UREF (line 20) | const PUT_UREF: &str = "put_uref"; constant GET_UREF (line 21) | const GET_UREF: &str = "get_uref"; constant INSERT_UREF (line 22) | const INSERT_UREF: &str = "insert_uref"; constant HASH_KEY_NAME (line 23) | const HASH_KEY_NAME: &str = "ret_uref_contract_hash"; function put_uref (line 26) | pub extern "C" fn put_uref() { function get_uref (line 32) | pub extern "C" fn get_uref() { function insert_uref (line 41) | pub extern "C" fn insert_uref() { function call (line 49) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/set-action-thresholds/src/main.rs constant ARG_KEY_MANAGEMENT_THRESHOLD (line 10) | const ARG_KEY_MANAGEMENT_THRESHOLD: &str = "key_management_threshold"; constant ARG_DEPLOY_THRESHOLD (line 11) | const ARG_DEPLOY_THRESHOLD: &str = "deploy_threshold"; function call (line 14) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/staking-stored/src/main.rs type InstallerSessionError (line 18) | enum InstallerSessionError { function call_staking (line 23) | pub extern "C" fn call_staking() { function build_named_keys_and_purse (line 27) | fn build_named_keys_and_purse() -> (NamedKeys, URef) { function entry_points (line 37) | fn entry_points() -> EntryPoints { function call (line 58) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/staking/src/bin/main.rs function call (line 5) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/staking/src/lib.rs constant STAKING_ID (line 29) | pub const STAKING_ID: &str = "staking_contract"; constant ARG_ACTION (line 31) | pub const ARG_ACTION: &str = "action"; constant ARG_AMOUNT (line 32) | pub const ARG_AMOUNT: &str = "amount"; constant ARG_VALIDATOR (line 33) | pub const ARG_VALIDATOR: &str = "validator"; constant ARG_NEW_VALIDATOR (line 34) | pub const ARG_NEW_VALIDATOR: &str = "new_validator"; constant STAKING_PURSE (line 36) | pub const STAKING_PURSE: &str = "staking_purse"; constant INSTALLER (line 37) | pub const INSTALLER: &str = "installer"; constant CONTRACT_NAME (line 38) | pub const CONTRACT_NAME: &str = "staking"; constant HASH_KEY_NAME (line 39) | pub const HASH_KEY_NAME: &str = "staking_package"; constant ACCESS_KEY_NAME (line 40) | pub const ACCESS_KEY_NAME: &str = "staking_package_access"; constant CONTRACT_VERSION (line 41) | pub const CONTRACT_VERSION: &str = "staking_contract_version"; constant ENTRY_POINT_RUN (line 42) | pub const ENTRY_POINT_RUN: &str = "run"; type StakingError (line 45) | enum StakingError { method from (line 58) | fn from(e: StakingError) -> Self { function run (line 64) | pub fn run() { function unstake (line 93) | fn unstake() { function restake (line 99) | fn restake() { function stake (line 105) | fn stake() { function stake_all (line 125) | fn stake_all() { function read_staked_amount_gs (line 145) | pub fn read_staked_amount_gs() { function get_unstaking_args (line 173) | fn get_unstaking_args(is_restake: bool) -> casper_types::RuntimeArgs { function get_account_hash_with_user_errors (line 205) | fn get_account_hash_with_user_errors( function get_uref_with_user_errors (line 215) | fn get_uref_with_user_errors(name: &str, missing: StakingError, invalid:... function get_key_with_user_errors (line 221) | fn get_key_with_user_errors(name: &str, missing: StakingError, invalid: ... function to_ptr (line 244) | fn to_ptr(t: T) -> (*const u8, usize, Vec) { FILE: smart_contracts/contracts/test/storage-costs/src/main.rs constant WRITE_FUNCTION_SMALL_NAME (line 17) | const WRITE_FUNCTION_SMALL_NAME: &str = "write_function_small"; constant WRITE_FUNCTION_LARGE_NAME (line 18) | const WRITE_FUNCTION_LARGE_NAME: &str = "write_function_large"; constant ADD_FUNCTION_SMALL_NAME (line 19) | const ADD_FUNCTION_SMALL_NAME: &str = "add_function_small"; constant ADD_FUNCTION_LARGE_NAME (line 20) | const ADD_FUNCTION_LARGE_NAME: &str = "add_function_large"; constant WRITE_KEY_NAME (line 21) | const WRITE_KEY_NAME: &str = "write"; constant ADD_KEY_NAME (line 22) | const ADD_KEY_NAME: &str = "add"; constant WRITE_SMALL_VALUE (line 23) | const WRITE_SMALL_VALUE: &[u8] = b"1"; constant WRITE_LARGE_VALUE (line 24) | const WRITE_LARGE_VALUE: &[u8] = b"1111111111111111111111111111111111111... constant HASH_KEY_NAME (line 25) | const HASH_KEY_NAME: &str = "contract_package"; constant CONTRACT_KEY_NAME (line 26) | const CONTRACT_KEY_NAME: &str = "contract"; constant ADD_SMALL_VALUE (line 27) | const ADD_SMALL_VALUE: u64 = 1; constant ADD_LARGE_VALUE (line 28) | const ADD_LARGE_VALUE: u64 = u64::MAX; constant NEW_UREF_FUNCTION (line 29) | const NEW_UREF_FUNCTION: &str = "new_uref_function"; constant PUT_KEY_FUNCTION (line 30) | const PUT_KEY_FUNCTION: &str = "put_key_function"; constant REMOVE_KEY_FUNCTION (line 31) | const REMOVE_KEY_FUNCTION: &str = "remove_key_function"; constant NEW_KEY_NAME (line 32) | const NEW_KEY_NAME: &str = "new_key"; constant CREATE_CONTRACT_PACKAGE_AT_HASH_FUNCTION (line 33) | const CREATE_CONTRACT_PACKAGE_AT_HASH_FUNCTION: &str = "create_contract_... constant CREATE_CONTRACT_USER_GROUP_FUNCTION_FUNCTION (line 34) | const CREATE_CONTRACT_USER_GROUP_FUNCTION_FUNCTION: &str = "create_contr... constant PROVISION_UREFS_FUNCTION (line 35) | const PROVISION_UREFS_FUNCTION: &str = "provision_urefs_function"; constant ACCESS_KEY_NAME (line 36) | const ACCESS_KEY_NAME: &str = "access_key"; constant REMOVE_CONTRACT_USER_GROUP_FUNCTION (line 37) | const REMOVE_CONTRACT_USER_GROUP_FUNCTION: &str = "remove_contract_user_... constant LABEL_NAME (line 38) | const LABEL_NAME: &str = "Label"; constant NEW_UREF_SUBCALL_FUNCTION (line 39) | const NEW_UREF_SUBCALL_FUNCTION: &str = "new_uref_subcall"; function write_function_small (line 42) | pub extern "C" fn write_function_small() { function write_function_large (line 50) | pub extern "C" fn write_function_large() { function add_function_small (line 58) | pub extern "C" fn add_function_small() { function add_function_large (line 66) | pub extern "C" fn add_function_large() { function new_uref_function (line 74) | pub extern "C" fn new_uref_function() { function put_key_function (line 79) | pub extern "C" fn put_key_function() { function remove_key_function (line 84) | pub extern "C" fn remove_key_function() { function create_contract_package_at_hash_function (line 89) | pub extern "C" fn create_contract_package_at_hash_function() { function create_contract_user_group_function (line 94) | pub extern "C" fn create_contract_user_group_function() { function provision_urefs_function (line 108) | pub extern "C" fn provision_urefs_function() { function remove_contract_user_group_function (line 118) | pub extern "C" fn remove_contract_user_group_function() { function new_uref_subcall (line 127) | pub extern "C" fn new_uref_subcall() { function call (line 140) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/system-contract-hashes/src/main.rs function call (line 8) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/test-payment-stored/src/main.rs constant ENTRY_FUNCTION_NAME (line 20) | const ENTRY_FUNCTION_NAME: &str = "pay"; constant HASH_KEY_NAME (line 21) | const HASH_KEY_NAME: &str = "test_payment_hash"; constant PACKAGE_HASH_KEY_NAME (line 22) | const PACKAGE_HASH_KEY_NAME: &str = "test_payment_package_hash"; constant ACCESS_KEY_NAME (line 23) | const ACCESS_KEY_NAME: &str = "test_payment_access"; constant CONTRACT_VERSION (line 24) | const CONTRACT_VERSION: &str = "contract_version"; constant GET_PAYMENT_PURSE (line 25) | const GET_PAYMENT_PURSE: &str = "get_payment_purse"; function pay (line 28) | pub extern "C" fn pay() { function call (line 50) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/transfer-main-purse-to-new-purse/src/main.rs constant ARG_AMOUNT (line 14) | const ARG_AMOUNT: &str = "amount"; constant ARG_DESTINATION (line 15) | const ARG_DESTINATION: &str = "destination"; function call (line 18) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/transfer-main-purse-to-two-purses/src/main.rs constant DESTINATION_PURSE_ONE (line 14) | const DESTINATION_PURSE_ONE: &str = "destination_purse_one"; constant DESTINATION_PURSE_TWO (line 15) | const DESTINATION_PURSE_TWO: &str = "destination_purse_two"; constant TRANSFER_AMOUNT_ONE (line 16) | const TRANSFER_AMOUNT_ONE: &str = "transfer_amount_one"; constant TRANSFER_AMOUNT_TWO (line 17) | const TRANSFER_AMOUNT_TWO: &str = "transfer_amount_two"; type CustomError (line 20) | enum CustomError { function get_or_create_purse (line 25) | fn get_or_create_purse(purse_name: &str) -> URef { function call (line 41) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/transfer-purse-to-account-stored/src/main.rs constant ENTRY_FUNCTION_NAME (line 17) | const ENTRY_FUNCTION_NAME: &str = "transfer"; constant PACKAGE_HASH_KEY_NAME (line 18) | const PACKAGE_HASH_KEY_NAME: &str = "transfer_purse_to_account"; constant HASH_KEY_NAME (line 19) | const HASH_KEY_NAME: &str = "transfer_purse_to_account_hash"; constant ACCESS_KEY_NAME (line 20) | const ACCESS_KEY_NAME: &str = "transfer_purse_to_account_access"; constant ARG_0_NAME (line 21) | const ARG_0_NAME: &str = "target_account_addr"; constant ARG_1_NAME (line 22) | const ARG_1_NAME: &str = "amount"; constant CONTRACT_VERSION (line 23) | const CONTRACT_VERSION: &str = "contract_version"; function transfer (line 26) | pub extern "C" fn transfer() { function call (line 31) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/transfer-purse-to-account-with-id/src/bin/main.rs function call (line 5) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/transfer-purse-to-account-with-id/src/lib.rs constant TRANSFER_RESULT_UREF_NAME (line 13) | const TRANSFER_RESULT_UREF_NAME: &str = "transfer_result"; constant MAIN_PURSE_FINAL_BALANCE_UREF_NAME (line 14) | const MAIN_PURSE_FINAL_BALANCE_UREF_NAME: &str = "final_balance"; constant ARG_TARGET (line 16) | const ARG_TARGET: &str = "target"; constant ARG_AMOUNT (line 17) | const ARG_AMOUNT: &str = "amount"; constant ARG_ID (line 18) | const ARG_ID: &str = "id"; function delegate (line 20) | pub fn delegate() { FILE: smart_contracts/contracts/test/transfer-purse-to-account/src/bin/main.rs function call (line 5) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/transfer-purse-to-account/src/lib.rs constant ARG_TARGET (line 9) | const ARG_TARGET: &str = "target"; constant ARG_AMOUNT (line 10) | const ARG_AMOUNT: &str = "amount"; function delegate (line 12) | pub fn delegate() { FILE: smart_contracts/contracts/test/transfer-purse-to-accounts-stored/src/main.rs constant ENTRY_FUNCTION_NAME (line 22) | const ENTRY_FUNCTION_NAME: &str = "transfer"; constant PACKAGE_HASH_KEY_NAME (line 24) | const PACKAGE_HASH_KEY_NAME: &str = "transfer_purse_to_accounts"; constant HASH_KEY_NAME (line 25) | const HASH_KEY_NAME: &str = "transfer_purse_to_accounts_hash"; constant ACCESS_KEY_NAME (line 26) | const ACCESS_KEY_NAME: &str = "transfer_purse_to_accounts_access"; constant ARG_AMOUNT (line 28) | const ARG_AMOUNT: &str = "amount"; constant ARG_SOURCE (line 29) | const ARG_SOURCE: &str = "source"; constant ARG_TARGETS (line 30) | const ARG_TARGETS: &str = "targets"; constant CONTRACT_VERSION (line 32) | const CONTRACT_VERSION: &str = "contract_version"; constant PURSE_KEY_NAME (line 34) | const PURSE_KEY_NAME: &str = "purse"; function transfer (line 37) | pub extern "C" fn transfer() { function call (line 46) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/transfer-purse-to-accounts-subcall/src/bin/main.rs function call (line 5) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/transfer-purse-to-accounts-subcall/src/lib.rs constant ENTRYPOINT (line 13) | const ENTRYPOINT: &str = "transfer"; constant ARG_SOURCE (line 14) | const ARG_SOURCE: &str = "source"; constant ARG_TARGETS (line 15) | const ARG_TARGETS: &str = "targets"; constant HASH_KEY_NAME (line 17) | const HASH_KEY_NAME: &str = "transfer_purse_to_accounts_hash"; function delegate (line 19) | pub fn delegate() { FILE: smart_contracts/contracts/test/transfer-purse-to-accounts/src/bin/main.rs function call (line 7) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/transfer-purse-to-accounts/src/lib.rs constant ARG_TARGETS (line 13) | const ARG_TARGETS: &str = "targets"; function delegate (line 15) | pub fn delegate(source: URef) { FILE: smart_contracts/contracts/test/transfer-purse-to-public-key/src/main.rs constant ARG_TARGET (line 10) | const ARG_TARGET: &str = "target"; constant ARG_SOURCE_PURSE (line 11) | const ARG_SOURCE_PURSE: &str = "source_purse"; constant ARG_AMOUNT (line 12) | const ARG_AMOUNT: &str = "amount"; function call (line 15) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/transfer-purse-to-purse/src/main.rs constant PURSE_MAIN (line 14) | const PURSE_MAIN: &str = "purse:main"; constant PURSE_TRANSFER_RESULT (line 15) | const PURSE_TRANSFER_RESULT: &str = "purse_transfer_result"; constant MAIN_PURSE_BALANCE (line 16) | const MAIN_PURSE_BALANCE: &str = "main_purse_balance"; constant ARG_SOURCE (line 18) | const ARG_SOURCE: &str = "source"; constant ARG_TARGET (line 19) | const ARG_TARGET: &str = "target"; constant ARG_AMOUNT (line 20) | const ARG_AMOUNT: &str = "amount"; type CustomError (line 23) | enum CustomError { function call (line 32) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/update-associated-key/src/main.rs constant ARG_ACCOUNT (line 10) | const ARG_ACCOUNT: &str = "account"; constant ARG_WEIGHT (line 11) | const ARG_WEIGHT: &str = "weight"; function call (line 14) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/upgrade-threshold-upgrader/src/main.rs constant ARG_ENTITY_ACCOUNT_HASH (line 19) | const ARG_ENTITY_ACCOUNT_HASH: &str = "entity_account_hash"; constant ARG_KEY_WEIGHT (line 20) | const ARG_KEY_WEIGHT: &str = "key_weight"; constant ARG_NEW_UPGRADE_THRESHOLD (line 21) | const ARG_NEW_UPGRADE_THRESHOLD: &str = "new_threshold"; constant ARG_CONTRACT_PACKAGE (line 22) | const ARG_CONTRACT_PACKAGE: &str = "contract_package_hash"; constant ENTRYPOINT_ADD_ASSOCIATED_KEY (line 24) | const ENTRYPOINT_ADD_ASSOCIATED_KEY: &str = "add_associated_key"; constant ENTRYPOINT_MANAGE_ACTION_THRESHOLD (line 25) | const ENTRYPOINT_MANAGE_ACTION_THRESHOLD: &str = "manage_action_threshold"; constant ENTRYPOINT_REMOVE_ASSOCIATED_KEY (line 26) | const ENTRYPOINT_REMOVE_ASSOCIATED_KEY: &str = "remove_associated_key"; constant CONTRACT_HASH_NAME (line 28) | const CONTRACT_HASH_NAME: &str = "contract_hash_name"; function add_associated_key (line 31) | pub extern "C" fn add_associated_key() { function manage_action_threshold (line 38) | pub extern "C" fn manage_action_threshold() { function remove_associated_key (line 44) | pub extern "C" fn remove_associated_key() { function call (line 50) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/upgrade-threshold/src/main.rs constant ARG_ENTITY_ACCOUNT_HASH (line 18) | const ARG_ENTITY_ACCOUNT_HASH: &str = "entity_account_hash"; constant ARG_KEY_WEIGHT (line 19) | const ARG_KEY_WEIGHT: &str = "key_weight"; constant ARG_NEW_UPGRADE_THRESHOLD (line 20) | const ARG_NEW_UPGRADE_THRESHOLD: &str = "new_threshold"; constant ENTRYPOINT_ADD_ASSOCIATED_KEY (line 22) | const ENTRYPOINT_ADD_ASSOCIATED_KEY: &str = "add_associated_key"; constant ENTRYPOINT_MANAGE_ACTION_THRESHOLD (line 23) | const ENTRYPOINT_MANAGE_ACTION_THRESHOLD: &str = "manage_action_threshold"; constant PACKAGE_HASH_KEY_NAME (line 25) | const PACKAGE_HASH_KEY_NAME: &str = "contract_package_hash"; constant ACCESS_UREF_NAME (line 26) | const ACCESS_UREF_NAME: &str = "access_uref"; constant CONTRACT_HASH_NAME (line 27) | const CONTRACT_HASH_NAME: &str = "contract_hash_name"; function add_associated_key (line 30) | pub extern "C" fn add_associated_key() { function manage_action_threshold (line 37) | pub extern "C" fn manage_action_threshold() { function call (line 44) | pub extern "C" fn call() { FILE: smart_contracts/contracts/test/verify-signature/src/main.rs constant ARG_MESSAGE (line 12) | const ARG_MESSAGE: &str = "message"; constant ARG_SIGNATURE_BYTES (line 13) | const ARG_SIGNATURE_BYTES: &str = "signature_bytes"; constant ARG_PUBLIC_KEY (line 14) | const ARG_PUBLIC_KEY: &str = "public_key"; function call (line 17) | pub extern "C" fn call() { FILE: smart_contracts/contracts/tutorial/counter-installer/src/main.rs constant COUNT_KEY (line 24) | const COUNT_KEY: &str = "count"; constant COUNTER_INC (line 25) | const COUNTER_INC: &str = "counter_inc"; constant COUNTER_GET (line 26) | const COUNTER_GET: &str = "counter_get"; constant COUNTER_KEY (line 27) | const COUNTER_KEY: &str = "counter"; constant CONTRACT_VERSION_KEY (line 28) | const CONTRACT_VERSION_KEY: &str = "version"; function counter_inc (line 31) | pub extern "C" fn counter_inc() { function counter_get (line 40) | pub extern "C" fn counter_get() { function call (line 53) | pub extern "C" fn call() { FILE: smart_contracts/contracts/tutorial/hello-world/src/main.rs constant KEY (line 10) | const KEY: &str = "special_value"; constant ARG_MESSAGE (line 11) | const ARG_MESSAGE: &str = "message"; function store (line 13) | fn store(value: String) { function call (line 26) | pub extern "C" fn call() { FILE: smart_contracts/contracts/tutorial/increment-counter/src/main.rs constant COUNTER_KEY (line 14) | const COUNTER_KEY: &str = "counter"; constant COUNTER_INC (line 15) | const COUNTER_INC: &str = "counter_inc"; constant COUNTER_GET (line 16) | const COUNTER_GET: &str = "counter_get"; function call (line 19) | pub extern "C" fn call() { FILE: smart_contracts/contracts/vm2/vm2-cep18-caller/build.rs function main (line 7) | fn main() { FILE: smart_contracts/contracts/vm2/vm2-cep18-caller/src/lib.rs function call (line 13) | pub fn call(address: Address) -> String { FILE: smart_contracts/contracts/vm2/vm2-cep18/build.rs function main (line 7) | fn main() { FILE: smart_contracts/contracts/vm2/vm2-cep18/src/lib.rs type TokenContract (line 12) | pub struct TokenContract { method new (line 27) | pub fn new(token_name: String) -> Self { method my_balance (line 47) | pub fn my_balance(&self) -> U256 { method default (line 18) | fn default() -> Self { method state (line 57) | fn state(&self) -> &CEP18State { method state_mut (line 61) | fn state_mut(&mut self) -> &mut CEP18State { method state (line 68) | fn state(&self) -> &AccessControlState { method state_mut (line 72) | fn state_mut(&mut self) -> &mut AccessControlState { constant ALICE (line 101) | const ALICE: Entity = Entity::Account([1; 32]); constant BOB (line 102) | const BOB: Entity = Entity::Account([2; 32]); function it_works (line 105) | fn it_works() { function e2e (line 137) | fn e2e() { FILE: smart_contracts/contracts/vm2/vm2-flipper/build.rs function main (line 1) | fn main() { FILE: smart_contracts/contracts/vm2/vm2-flipper/src/lib.rs type Flipper (line 8) | pub struct Flipper { method new (line 22) | pub fn new(init_value: bool) -> Self { method default (line 27) | pub fn default() -> Self { method flip (line 31) | pub fn flip(&mut self) { method get (line 35) | pub fn get(&self) -> bool { method default (line 14) | fn default() -> Self { function test_flipper (line 45) | fn test_flipper() { FILE: smart_contracts/contracts/vm2/vm2-harness/build.rs function main (line 1) | fn main() { FILE: smart_contracts/contracts/vm2/vm2-harness/src/contracts/harness.rs constant INITIAL_GREETING (line 25) | pub(crate) const INITIAL_GREETING: &str = "This is initial data set from... constant BALANCES_PREFIX (line 26) | pub(crate) const BALANCES_PREFIX: &str = "b"; type Harness (line 30) | pub struct Harness { method constructor_with_args (line 95) | pub fn constructor_with_args(who: String) -> Self { method failing_constructor (line 140) | pub fn failing_constructor(who: String) -> Self { method trapping_constructor (line 146) | pub fn trapping_constructor() -> Self { method initialize (line 154) | pub fn initialize() -> Self { method payable_constructor (line 166) | pub fn payable_constructor() -> Self { method payable_failing_constructor (line 181) | pub fn payable_failing_constructor() -> Self { method payable_trapping_constructor (line 190) | pub fn payable_trapping_constructor() -> Self { method get_greeting (line 198) | pub fn get_greeting(&self) -> &str { method increment_counter (line 202) | pub fn increment_counter(&mut self) { method counter (line 206) | pub fn counter(&self) -> u64 { method set_greeting (line 210) | pub fn set_greeting(&mut self, greeting: String) { method emit_unreachable_trap (line 216) | pub fn emit_unreachable_trap(&mut self) -> ! { method emit_revert_with_data (line 222) | pub fn emit_revert_with_data(&mut self) -> Result<(), CustomError> { method emit_revert_without_data (line 241) | pub fn emit_revert_without_data(&mut self) -> ! { method get_address_inside_constructor (line 246) | pub fn get_address_inside_constructor(&self) -> Entity { method should_revert_on_error (line 252) | pub fn should_revert_on_error(&self, flag: bool) -> Result2 { method private_function_that_should_not_be_exported (line 261) | fn private_function_that_should_not_be_exported(&self) { method restricted_function_that_should_be_part_of_manifest (line 265) | pub(crate) fn restricted_function_that_should_be_part_of_manifest(&sel... method entry_point_without_state (line 269) | pub fn entry_point_without_state() { method entry_point_without_state_with_args_and_output (line 273) | pub fn entry_point_without_state_with_args_and_output(mut arg: String)... method into_modified_greeting (line 279) | pub fn into_modified_greeting(mut self) -> String { method into_greeting (line 284) | pub fn into_greeting(self) -> String { method payable_entrypoint (line 289) | pub fn payable_entrypoint(&mut self) -> Result<(), CustomError> { method payable_failing_entrypoint (line 317) | pub fn payable_failing_entrypoint(&self) -> Result<(), CustomError> { method perform_token_deposit (line 330) | pub fn perform_token_deposit(&mut self, balance_before: u64) -> Result... method withdraw (line 355) | pub fn withdraw(&mut self, balance_before: u64, amount: u64) -> Result... method balance (line 416) | pub fn balance(&self) -> u64 { method new_method (line 424) | pub fn new_method( type CustomError (line 60) | pub enum CustomError { method default (line 76) | fn default() -> Self { type Result2 (line 87) | pub type Result2 = Result<(), CustomError>; FILE: smart_contracts/contracts/vm2/vm2-harness/src/contracts/no_fallback.rs type NoFallback (line 7) | pub struct NoFallback { method no_fallback_initialize (line 15) | pub fn no_fallback_initialize() -> Self { method hello (line 22) | pub fn hello(&self) -> &str { method receive_funds (line 27) | pub fn receive_funds(&mut self) { FILE: smart_contracts/contracts/vm2/vm2-harness/src/contracts/token_owner.rs type TokenOwnerError (line 17) | pub enum TokenOwnerError { method from (line 24) | fn from(v: CallError) -> Self { type Data (line 29) | pub type Data = Vec; type FallbackHandler (line 34) | pub enum FallbackHandler { type TokenOwnerContract (line 48) | pub struct TokenOwnerContract { method token_owner_initialize (line 57) | pub fn token_owner_initialize() -> Self { method do_deposit (line 65) | pub fn do_deposit( method do_withdraw (line 84) | pub fn do_withdraw( method total_received_tokens (line 129) | pub fn total_received_tokens(&self) -> u64 { method set_fallback_handler (line 133) | pub fn set_fallback_handler(&mut self, handler: FallbackHandler) { method deposit (line 140) | fn deposit(&mut self) { FILE: smart_contracts/contracts/vm2/vm2-harness/src/lib.rs function test (line 14) | fn test() { function exports (line 22) | fn exports() { function should_greet (line 35) | fn should_greet() { function unittest (line 43) | fn unittest() { function foo (line 54) | fn foo() { function main (line 60) | fn main() { FILE: smart_contracts/contracts/vm2/vm2-harness/src/main.rs type TestMessage (line 20) | pub struct TestMessage { type Seed (line 25) | struct Seed { method next_seed (line 30) | fn next_seed(&mut self) -> [u8; 32] { function next_test (line 41) | fn next_test(counter: &mut u32, name: &str) -> u32 { function perform_test (line 48) | fn perform_test(seed: &mut Seed, flipper_address: Address) { function call (line 668) | pub fn call(flipper_address: Address) { function yet_another_exported_function (line 674) | pub fn yet_another_exported_function(arg1: u64, arg2: String) { function can_call_exported_function (line 686) | fn can_call_exported_function() { function exports (line 702) | fn exports() { function should_greet (line 709) | fn should_greet() { function unittest (line 717) | fn unittest() { function foo (line 728) | fn foo() { function main (line 734) | fn main() { FILE: smart_contracts/contracts/vm2/vm2-harness/src/traits.rs type Deposit (line 7) | pub trait Deposit { method deposit (line 10) | fn deposit(&mut self); type SupportsALotOfArguments (line 14) | pub trait SupportsALotOfArguments { method very_long_list_of_arguments (line 15) | fn very_long_list_of_arguments( FILE: smart_contracts/contracts/vm2/vm2-host/build.rs function main (line 1) | fn main() { FILE: smart_contracts/contracts/vm2/vm2-host/src/lib.rs constant CURRENT_VERSION (line 8) | const CURRENT_VERSION: &str = "v1"; type MinHostWrapper (line 17) | pub struct MinHostWrapper; method new (line 28) | pub fn new(with_host_fn_call: String) -> Self { method new_with_write (line 79) | pub fn new_with_write(byte_count: u64) -> Self { method default (line 86) | pub fn default() -> Self { method version (line 90) | pub fn version(&self) -> &str { method get_caller (line 94) | pub fn get_caller(&self) -> Entity { method get_block_time (line 98) | pub fn get_block_time(&self) -> u64 { method get_transferred_value (line 102) | pub fn get_transferred_value(&self) -> u64 { method get_balance_of (line 106) | pub fn get_balance_of(&self) -> u64 { method call (line 110) | pub fn call(&self) { method input (line 114) | pub fn input(&self) { method create (line 118) | pub fn create(&self) { method print (line 122) | pub fn print(&self) { method read (line 126) | pub fn read(&self) { method ret (line 130) | pub fn ret(&self) { method transfer (line 134) | pub fn transfer(&self) { method upgrade (line 138) | pub fn upgrade(&self) { method write (line 142) | pub fn write(&self) { method write_n_bytes (line 146) | pub fn write_n_bytes(&self, n: u64) { method default (line 20) | fn default() -> Self { FILE: smart_contracts/contracts/vm2/vm2-legacy-counter-proxy/build.rs function main (line 7) | fn main() { FILE: smart_contracts/contracts/vm2/vm2-legacy-counter-proxy/src/lib.rs type LegacyCounterProxy (line 10) | pub struct LegacyCounterProxy { method new (line 21) | pub fn new(legacy_address: Address) -> Self { method perform_test (line 25) | pub fn perform_test(&self) { constant EMPTY_RUNTIME_ARGS (line 15) | const EMPTY_RUNTIME_ARGS: [u8; 4] = 0u32.to_le_bytes(); constant CL_VALUE_UNIT_BYTES (line 16) | const CL_VALUE_UNIT_BYTES: [u8; 5] = [0, 0, 0, 0, 9]; FILE: smart_contracts/contracts/vm2/vm2-trait/build.rs function main (line 1) | fn main() { FILE: smart_contracts/contracts/vm2/vm2-trait/src/lib.rs constant GREET_RETURN_VALUE (line 16) | pub const GREET_RETURN_VALUE: u64 = 123456789; type HasFallback (line 19) | pub trait HasFallback { method this_is_fallback_method (line 21) | fn this_is_fallback_method(&self) { type Trait1 (line 27) | pub trait Trait1 { method abstract_greet (line 28) | fn abstract_greet(&self); method greet (line 30) | fn greet(&self, who: String) -> u64 { method adder (line 35) | fn adder(&self, lhs: u64, rhs: u64) -> u64; method abstract_greet (line 81) | fn abstract_greet(&self) { method adder (line 85) | fn adder(&self, lhs: u64, rhs: u64) -> u64 { type CounterState (line 40) | pub struct CounterState { type Counter (line 45) | pub trait Counter { method increment (line 46) | fn increment(&mut self) { method decrement (line 51) | fn decrement(&mut self) { method get_counter_value (line 56) | fn get_counter_value(&self) -> u64 { method get_counter_state (line 60) | fn get_counter_state(&self) -> CounterState { method counter_state (line 65) | fn counter_state(&self) -> &CounterState; method counter_state_mut (line 68) | fn counter_state_mut(&mut self) -> &mut CounterState; method counter_state_mut (line 97) | fn counter_state_mut(&mut self) -> &mut CounterState { method counter_state (line 100) | fn counter_state(&self) -> &CounterState { type HasTraits (line 73) | pub struct HasTraits { method new (line 143) | pub fn new(counter_value: u64) -> Self { method foobar (line 153) | pub fn foobar(&self) { method only_for_owner (line 159) | pub fn only_for_owner(&mut self) -> Result<(), OwnableError> { method multiple_impl_blocks_should_work (line 168) | pub fn multiple_impl_blocks_should_work() { method state (line 107) | fn state(&self) -> &OwnableState { method state_mut (line 110) | fn state_mut(&mut self) -> &mut OwnableState { type UserRole (line 116) | pub enum UserRole { method into (line 122) | fn into(self) -> Role { method state (line 132) | fn state(&self) -> &AccessControlState { method state_mut (line 135) | fn state_mut(&mut self) -> &mut AccessControlState { function perform_test (line 173) | fn perform_test() { function call (line 242) | pub fn call() { function unit_test (line 265) | fn unit_test() { function trait_has_schema (line 274) | fn trait_has_schema() { function schema_has_traits (line 319) | fn schema_has_traits() { function foo (line 386) | fn foo() { function bar (line 395) | fn bar() { FILE: smart_contracts/contracts/vm2/vm2-upgradable-v2/build.rs function main (line 1) | fn main() { FILE: smart_contracts/contracts/vm2/vm2-upgradable-v2/src/lib.rs constant CURRENT_VERSION (line 11) | const CURRENT_VERSION: &str = "v2"; type UpgradableContractV1 (line 15) | pub struct UpgradableContractV1 { method default (line 23) | fn default() -> Self { type UpgradableContractV2 (line 31) | pub struct UpgradableContractV2 { method from (line 39) | fn from(old: UpgradableContractV1) -> Self { method new (line 56) | pub fn new(initial_value: u64) -> Self { method default (line 65) | pub fn default() -> Self { method increment (line 69) | pub fn increment(&mut self) { method increment_by (line 73) | pub fn increment_by(&mut self, value: u64) { method get (line 83) | pub fn get(&self) -> u64 { method version (line 87) | pub fn version(&self) -> &str { method migrate (line 92) | pub fn migrate() { method perform_upgrade (line 102) | pub fn perform_upgrade() { method default (line 48) | fn default() -> Self { FILE: smart_contracts/contracts/vm2/vm2-upgradable/build.rs function main (line 1) | fn main() { FILE: smart_contracts/contracts/vm2/vm2-upgradable/src/lib.rs constant CURRENT_VERSION (line 6) | const CURRENT_VERSION: &str = "v1"; type UpgradableContract (line 10) | pub struct UpgradableContract { method new (line 31) | pub fn new(initial_value: u8) -> Self { method default (line 40) | pub fn default() -> Self { method increment (line 44) | pub fn increment(&mut self) { method get (line 48) | pub fn get(&self) -> u8 { method version (line 52) | pub fn version(&self) -> &str { method perform_upgrade (line 68) | pub fn perform_upgrade(&self, new_code: Vec) { method default (line 18) | fn default() -> Self { FILE: smart_contracts/macros/src/lib.rs constant CASPER_RESERVED_FALLBACK_EXPORT (line 15) | const CASPER_RESERVED_FALLBACK_EXPORT: &str = "__casper_fallback"; type MethodAttribute (line 19) | struct MethodAttribute { type StructMeta (line 36) | struct StructMeta { type EnumMeta (line 48) | struct EnumMeta { type TraitMeta (line 54) | struct TraitMeta { type ItemFnMeta (line 60) | enum ItemFnMeta { type ImplTraitForContractMeta (line 65) | struct ImplTraitForContractMeta { function generate_call_data_return (line 74) | fn generate_call_data_return(output: &syn::ReturnType) -> proc_macro2::T... function casper (line 97) | pub fn casper(attrs: TokenStream, item: TokenStream) -> TokenStream { function process_casper_message_for_struct (line 155) | fn process_casper_message_for_struct( function generate_export_function (line 233) | fn generate_export_function(func: &ItemFn) -> TokenStream { function generate_impl_for_contract (line 294) | fn generate_impl_for_contract( function generate_impl_trait_for_contract (line 845) | fn generate_impl_trait_for_contract( function casper_trait_definition (line 968) | fn casper_trait_definition(mut item_trait: ItemTrait, trait_meta: TraitM... function generate_casper_state_for_struct (line 1295) | fn generate_casper_state_for_struct( function generate_casper_state_for_enum (line 1324) | fn generate_casper_state_for_enum( function get_maybe_derive_abi (line 1355) | fn get_maybe_derive_abi(_crate_path: impl ToTokens) -> impl ToTokens { function process_casper_contract_state_for_struct (line 1369) | fn process_casper_contract_state_for_struct( function entry_point (line 1433) | pub fn entry_point(_attr: TokenStream, item: TokenStream) -> TokenStream { function derive_casper_abi (line 1564) | pub fn derive_casper_abi(input: TokenStream) -> TokenStream { function blake2b256 (line 1785) | pub fn blake2b256(input: TokenStream) -> TokenStream { function test (line 1797) | pub fn test(item: TokenStream) -> TokenStream { function derive_no_default (line 1811) | pub fn derive_no_default(item: TokenStream) -> TokenStream { FILE: smart_contracts/macros/src/utils.rs function compute_blake2b256 (line 1) | pub(crate) fn compute_blake2b256(bytes: &[u8]) -> [u8; 32] { FILE: smart_contracts/sdk/src/abi.rs type EnumVariant (line 12) | pub struct EnumVariant { type StructField (line 19) | pub struct StructField { type Primitive (line 25) | pub enum Primitive { type Err (line 43) | type Err = &'static str; method from_str (line 45) | fn from_str(s: &str) -> Result { type Keyable (line 67) | pub trait Keyable { constant PRIMITIVE (line 68) | const PRIMITIVE: Primitive; type Definition (line 73) | pub enum Definition { method unit (line 114) | pub fn unit() -> Self { method as_struct (line 119) | pub fn as_struct(&self) -> Option<&[StructField]> { method as_enum (line 127) | pub fn as_enum(&self) -> Option<&[EnumVariant]> { method as_tuple (line 135) | pub fn as_tuple(&self) -> Option<&[Declaration]> { type Definitions (line 145) | pub struct Definitions(BTreeMap); method populate_one (line 148) | pub fn populate_one(&mut self) { method populate_custom (line 157) | pub fn populate_custom(&mut self, decl: Declaration, def: Definition) { method iter (line 164) | pub fn iter(&self) -> impl Iterator { method get (line 168) | pub fn get(&self, decl: &str) -> Option<&Definition> { method first (line 172) | pub fn first(&self) -> Option<(&Declaration, &Definition)> { method has_definition (line 177) | pub fn has_definition(&self, decl: &Declaration) -> bool { type Item (line 183) | type Item = (Declaration, Definition); type IntoIter (line 184) | type IntoIter = collections::btree_map::IntoIter; method into_iter (line 186) | fn into_iter(self) -> Self::IntoIter { type Declaration (line 191) | pub type Declaration = String; type CasperABI (line 193) | pub trait CasperABI { method populate_definitions (line 194) | fn populate_definitions(definitions: &mut Definitions); method declaration (line 195) | fn declaration() -> Declaration; method definition (line 196) | fn definition() -> Definition; method populate_definitions (line 203) | fn populate_definitions(definitions: &mut Definitions) { method declaration (line 207) | fn declaration() -> Declaration { method definition (line 211) | fn definition() -> Definition { method populate_definitions (line 220) | fn populate_definitions(definitions: &mut Definitions) { method declaration (line 224) | fn declaration() -> Declaration { method definition (line 228) | fn definition() -> Definition { method populate_definitions (line 271) | fn populate_definitions(_definitions: &mut Definitions) {} method declaration (line 273) | fn declaration() -> Declaration { method definition (line 277) | fn definition() -> Definition { method populate_definitions (line 301) | fn populate_definitions(_definitions: &mut Definitions) { method declaration (line 305) | fn declaration() -> Declaration { method definition (line 310) | fn definition() -> Definition { method populate_definitions (line 317) | fn populate_definitions(definitions: &mut Definitions) { method declaration (line 322) | fn declaration() -> Declaration { method definition (line 328) | fn definition() -> Definition { method declaration (line 347) | fn declaration() -> Declaration { method definition (line 350) | fn definition() -> Definition { method populate_definitions (line 367) | fn populate_definitions(definitions: &mut Definitions) { method populate_definitions (line 374) | fn populate_definitions(definitions: &mut Definitions) { method declaration (line 378) | fn declaration() -> Declaration { method definition (line 381) | fn definition() -> Definition { method populate_definitions (line 389) | fn populate_definitions(definitions: &mut Definitions) { method declaration (line 393) | fn declaration() -> Declaration { method definition (line 396) | fn definition() -> Definition { method populate_definitions (line 405) | fn populate_definitions(definitions: &mut Definitions) { method declaration (line 410) | fn declaration() -> Declaration { method definition (line 414) | fn definition() -> Definition { method populate_definitions (line 423) | fn populate_definitions(definitions: &mut Definitions) { method declaration (line 428) | fn declaration() -> Declaration { method definition (line 432) | fn definition() -> Definition { method populate_definitions (line 441) | fn populate_definitions(_definitions: &mut Definitions) {} method declaration (line 443) | fn declaration() -> Declaration { method definition (line 446) | fn definition() -> Definition { method populate_definitions (line 454) | fn populate_definitions(_definitions: &mut Definitions) {} method declaration (line 456) | fn declaration() -> Declaration { method definition (line 459) | fn definition() -> Definition { method populate_definitions (line 467) | fn populate_definitions(_definitions: &mut Definitions) {} method declaration (line 469) | fn declaration() -> Declaration { method definition (line 473) | fn definition() -> Definition { method populate_definitions (line 481) | fn populate_definitions(definitions: &mut Definitions) { method declaration (line 485) | fn declaration() -> Declaration { method definition (line 488) | fn definition() -> Definition { method populate_definitions (line 496) | fn populate_definitions(definitions: &mut Definitions) { method declaration (line 500) | fn declaration() -> Declaration { method definition (line 503) | fn definition() -> Definition { method populate_definitions (line 511) | fn populate_definitions(definitions: &mut Definitions) { method declaration (line 515) | fn declaration() -> Declaration { method definition (line 521) | fn definition() -> Definition { function u256_schema (line 538) | fn u256_schema() { FILE: smart_contracts/sdk/src/abi_generator.rs type Param (line 10) | pub struct Param { type EntryPoint (line 16) | pub struct EntryPoint { type Message (line 23) | pub struct Message { type Manifest (line 28) | pub struct Manifest { function casper_collect_schema (line 46) | pub fn casper_collect_schema() -> Schema { function cargo_casper_collect_schema (line 103) | pub unsafe extern "C" fn cargo_casper_collect_schema(size_ptr: *mut u64)... FILE: smart_contracts/sdk/src/casper.rs function print (line 28) | pub fn print(msg: &str) { type Alloc (line 32) | pub enum Alloc Option>> { function alloc_callback (line 37) | extern "C" fn alloc_callback Option>>( function copy_input_into (line 51) | pub fn copy_input_into Option>>( function copy_input (line 64) | pub fn copy_input() -> Vec { function copy_input_to (line 78) | pub fn copy_input_to(dest: &mut [u8]) -> Option<&[u8]> { function ret (line 96) | pub fn ret(flags: ReturnFlags, data: Option<&[u8]>) { function read (line 107) | pub fn read Option>>( function write (line 156) | pub fn write(key: Keyspace, value: &[u8]) -> Result<(), CommonResult> { function remove (line 176) | pub fn remove(key: Keyspace) -> Result<(), CommonResult> { function create (line 190) | pub fn create( function call_into (line 227) | pub(crate) fn call_into Option>>( function call_result_from_code (line 250) | fn call_result_from_code(result_code: u32) -> Result<(), CallError> { function casper_call (line 259) | pub fn casper_call( function upgrade (line 283) | pub fn upgrade( function read_into_vec (line 312) | pub fn read_into_vec(key: Keyspace) -> Result>, CommonRes... function has_state (line 319) | pub fn has_state() -> Result { function read_state (line 330) | pub fn read_state() -> Result(state: &T) -> Result<(), CommonRes... type CallResult (line 347) | pub struct CallResult { function into_result (line 354) | pub fn into_result<'a>(self) -> Result, CallError> function did_revert (line 367) | pub fn did_revert(&self) -> bool { function call (line 373) | pub fn call( function get_env_info (line 397) | pub fn get_env_info() -> EnvInfo { function get_caller (line 416) | pub fn get_caller() -> Entity { function get_callee (line 422) | pub fn get_callee() -> Entity { type Entity (line 431) | pub enum Entity { method tag (line 439) | pub fn tag(&self) -> u32 { method from_parts (line 447) | pub fn from_parts(tag: u32, address: [u8; 32]) -> Option { method address (line 456) | pub fn address(&self) -> &Address { method populate_definitions (line 464) | fn populate_definitions(definitions: &mut crate::abi::Definitions) { method declaration (line 468) | fn declaration() -> crate::abi::Declaration { method definition (line 472) | fn definition() -> crate::abi::Definition { function get_balance_of (line 492) | pub fn get_balance_of(entity_kind: &Entity) -> u64 { function transferred_value (line 515) | pub fn transferred_value() -> u64 { function transfer (line 521) | pub fn transfer(target_account: &Address, amount: u64) -> Result<(), Cal... function get_block_time (line 535) | pub fn get_block_time() -> u64 { function emit_raw (line 541) | pub fn emit_raw(topic: &str, payload: &[u8]) -> Result<(), CommonResult> { function emit (line 554) | pub fn emit(message: M) -> Result<(), CommonResult> FILE: smart_contracts/sdk/src/casper/native.rs type EntryPointKind (line 41) | pub enum EntryPointKind { method name (line 73) | pub fn name(&self) -> &'static str { type EntryPoint (line 86) | pub struct EntryPoint { method fmt (line 100) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function invoke_export_by_name (line 123) | pub fn invoke_export_by_name(name: &str) { type NativeTrap (line 139) | pub enum NativeTrap { type Container (line 144) | pub type Container = BTreeMap>; type NativeParam (line 148) | pub struct NativeParam(pub(crate) String); method from (line 151) | fn from(val: &casper_contract_sdk_sys::Param) -> Self { type Environment (line 160) | pub struct Environment { method new (line 185) | pub fn new(db: Container, caller: Entity) -> Self { method with_caller (line 196) | pub fn with_caller(&self, caller: Entity) -> Self { method smart_contract (line 203) | pub fn smart_contract(&self, callee: Entity) -> Self { method session (line 211) | pub fn session(&self, callee: Entity) -> Self { method with_callee (line 219) | pub fn with_callee(&self, callee: Entity) -> Self { method with_input_data (line 226) | pub fn with_input_data(&self, input_data: Vec) -> Self { method key_prefix (line 234) | fn key_prefix(&self, key: &[u8]) -> Vec { method casper_read (line 245) | fn casper_read( method casper_write (line 290) | fn casper_write( method casper_remove (line 314) | fn casper_remove( method casper_print (line 333) | fn casper_print(&self, msg_ptr: *const u8, msg_size: usize) -> Result<... method casper_return (line 340) | fn casper_return( method casper_copy_input (line 355) | fn casper_copy_input( method casper_create (line 382) | fn casper_create( method casper_call (line 480) | fn casper_call( method casper_env_read (line 569) | fn casper_env_read( method casper_env_info (line 579) | fn casper_env_info(&self, info_ptr: *const u8, info_size: u32) -> Resu... method default (line 170) | fn default() -> Self { constant DEFAULT_ADDRESS (line 181) | pub const DEFAULT_ADDRESS: Entity = Entity::Account([42; 32]); function with_current_environment (line 605) | pub fn with_current_environment(f: impl FnOnce(Environment) -> T) -> T { function current_environment (line 616) | pub fn current_environment() -> Environment { function handle_ret_with (line 620) | fn handle_ret_with(value: Result, ret: impl FnOnce() -... function dispatch_export_call (line 634) | fn dispatch_export_call(func: F) -> Result<(), NativeTrap> function handle_ret (line 653) | fn handle_ret(value: Result) -> T { function dispatch (line 658) | pub fn dispatch(f: impl FnOnce() -> T) -> Result { function dispatch_with (line 663) | pub fn dispatch_with(stub: Environment, f: impl FnOnce() -> T) -> Res... function casper_read (line 698) | pub extern "C" fn casper_read( function casper_write (line 715) | pub extern "C" fn casper_write( function casper_remove (line 731) | pub extern "C" fn casper_remove(key_space: u64, key_ptr: *const u8, key_... function casper_print (line 740) | pub extern "C" fn casper_print(msg_ptr: *const u8, msg_size: usize) { function casper_return (line 752) | pub extern "C" fn casper_return(flags: u32, data_ptr: *const u8, data_le... function casper_copy_input (line 762) | pub extern "C" fn casper_copy_input( function casper_create (line 774) | pub extern "C" fn casper_create( function casper_call (line 804) | pub extern "C" fn casper_call( function casper_upgrade (line 833) | pub extern "C" fn casper_upgrade( function casper_env_read (line 850) | pub extern "C" fn casper_env_read( function casper_env_balance (line 864) | pub extern "C" fn casper_env_balance( function casper_transfer (line 872) | pub extern "C" fn casper_transfer( function casper_emit (line 881) | pub extern "C" fn casper_emit( function casper_env_info (line 895) | pub extern "C" fn casper_env_info(info_ptr: *const u8, info_size: u32) -... function foo (line 910) | fn foo() { function test (line 947) | fn test() { function test_returns (line 957) | fn test_returns() { FILE: smart_contracts/sdk/src/cli/validation.rs type Validation (line 5) | pub enum Validation { FILE: smart_contracts/sdk/src/collections/iterable_map.rs type IterableMapPtr (line 12) | pub struct IterableMapPtr { type IterableMapHash (line 25) | pub trait IterableMapHash: PartialEq + BorshSerialize + BorshDeserialize { method compute_hash (line 26) | fn compute_hash(&self) -> u64 { method compute_hash (line 813) | fn compute_hash(&self) -> u64 { type IterableMap (line 60) | pub struct IterableMap { type IterableMapEntry (line 73) | pub struct IterableMapEntry { function new (line 85) | pub fn new>(prefix: S) -> Self { function insert (line 101) | pub fn insert(&mut self, key: K, value: V) -> Option { function get (line 148) | pub fn get(&self, key: &K) -> Option { function remove (line 157) | pub fn remove(&mut self, key: &K) -> Option { function clear (line 234) | pub fn clear(&mut self) { function contains_key (line 247) | pub fn contains_key(&self, key: &K) -> bool { function keys (line 252) | pub fn keys(&self) -> impl Iterator + '_ { function values (line 257) | pub fn values(&self) -> impl Iterator + '_ { function is_empty (line 262) | pub fn is_empty(&self) -> bool { function iter (line 270) | pub fn iter(&self) -> IterableMapIter { function len (line 281) | pub fn len(&self) -> usize { function find_slot (line 286) | fn find_slot(&self, key: &K) -> Option<(IterableMapPtr, IterableMapEntry... function get_writable_slot (line 315) | fn get_writable_slot(&self, key: &K) -> (IterableMapPtr, Option Option> { function create_prefix_from_key (line 358) | fn create_prefix_from_key(&self, key: &K) -> Vec { function create_root_ptr_from_key (line 363) | fn create_root_ptr_from_key(&self, key: &K) -> IterableMapPtr { function create_prefix_from_ptr (line 370) | fn create_prefix_from_ptr(&self, hash: &IterableMapPtr) -> Vec { type IterableMapIter (line 393) | pub struct IterableMapIter<'a, K, V> { type Item (line 404) | type Item = (K, V); type IntoIter (line 405) | type IntoIter = IterableMapIter<'a, K, V>; method into_iter (line 407) | fn into_iter(self) -> Self::IntoIter { type Item (line 421) | type Item = (K, V); method next (line 423) | fn next(&mut self) -> Option { constant TEST_MAP_PREFIX (line 456) | const TEST_MAP_PREFIX: &str = "test_map"; function insert_and_get (line 459) | fn insert_and_get() { function overwrite_existing_key (line 480) | fn overwrite_existing_key() { function remove_tail_entry (line 492) | fn remove_tail_entry() { function remove_middle_entry (line 509) | fn remove_middle_entry() { function remove_nonexistent_key_does_nothing (line 536) | fn remove_nonexistent_key_does_nothing() { function iterates_all_entries_in_reverse_insertion_order (line 549) | fn iterates_all_entries_in_reverse_insertion_order() { function iteration_skips_deleted_entries (line 567) | fn iteration_skips_deleted_entries() { function empty_map_behaves_sanely (line 584) | fn empty_map_behaves_sanely() { function separate_maps_do_not_conflict (line 596) | fn separate_maps_do_not_conflict() { function insert_same_value_under_different_keys (line 611) | fn insert_same_value_under_different_keys() { function clear_removes_all_entries (line 625) | fn clear_removes_all_entries() { function keys_returns_reverse_insertion_order (line 638) | fn keys_returns_reverse_insertion_order() { function values_returns_values_in_reverse_insertion_order (line 650) | fn values_returns_values_in_reverse_insertion_order() { function contains_key_returns_correctly (line 662) | fn contains_key_returns_correctly() { function multiple_removals_and_insertions (line 675) | fn multiple_removals_and_insertions() { function struct_as_key (line 694) | fn struct_as_key() { function remove_middle_of_long_chain (line 724) | fn remove_middle_of_long_chain() { function insert_after_remove_updates_head (line 749) | fn insert_after_remove_updates_head() { function reinsert_removed_key (line 764) | fn reinsert_removed_key() { function iteration_reflects_modifications (line 778) | fn iteration_reflects_modifications() { function unit_struct_as_key (line 795) | fn unit_struct_as_key() { type CollidingKey (line 810) | struct CollidingKey(u64, u64); function basic_collision_handling (line 822) | fn basic_collision_handling() { function tombstone_handling (line 840) | fn tombstone_handling() { function tombstone_reuse (line 867) | fn tombstone_reuse() { function full_deletion_handling (line 891) | fn full_deletion_handling() { function collision_chain_iteration (line 908) | fn collision_chain_iteration() { function complex_collision_chain (line 932) | fn complex_collision_chain() { function cross_bucket_reference (line 969) | fn cross_bucket_reference() { FILE: smart_contracts/sdk/src/collections/iterable_set.rs type IterableSet (line 6) | pub struct IterableSet { function new (line 12) | pub fn new>(prefix: S) -> Self { function insert (line 19) | pub fn insert(&mut self, value: V) { function remove (line 26) | pub fn remove(&mut self, value: &V) { function contains (line 31) | pub fn contains(&self, value: &V) -> bool { function iter (line 36) | pub fn iter(&self) -> impl Iterator + '_ { function is_empty (line 41) | pub fn is_empty(&self) -> bool { function clear (line 46) | pub fn clear(&mut self) { function basic_insert_contains (line 58) | fn basic_insert_contains() { function remove_elements (line 73) | fn remove_elements() { function iterator_order_and_contents (line 90) | fn iterator_order_and_contents() { function clear_functionality (line 105) | fn clear_functionality() { function multiple_sets_independence (line 120) | fn multiple_sets_independence() { type TestStruct (line 139) | struct TestStruct { function struct_values (line 147) | fn struct_values() { function duplicate_insertions (line 173) | fn duplicate_insertions() { function empty_set_behavior (line 187) | fn empty_set_behavior() { function complex_operations_sequence (line 201) | fn complex_operations_sequence() { FILE: smart_contracts/sdk/src/collections/lookup_key.rs type LookupKey (line 3) | pub trait LookupKey<'a>: Default { method lookup (line 5) | fn lookup(&self, prefix: &'a [u8], key: &T) -> Self... type LookupKeyOwned (line 8) | pub trait LookupKeyOwned: for<'a> LookupKey<'a> {} type Identity (line 12) | pub struct Identity; type Output (line 14) | type Output = &'a [u8]; method lookup (line 17) | fn lookup(&self, prefix: &'a [u8], _key: &T) -> Sel... function identity_should_work (line 27) | fn identity_should_work() { FILE: smart_contracts/sdk/src/collections/map.rs type Map (line 13) | pub struct Map { function compute_prefix (line 20) | pub(crate) const fn compute_prefix(input: &str) -> [u8; 8] { function new (line 30) | pub fn new>(name: S) -> Self { function insert (line 37) | pub fn insert(&mut self, key: &K, value: &V) { function remove (line 47) | pub fn remove(&mut self, key: &K) { function get (line 53) | pub fn get(&self, key: &K) -> Option { function compute_prefix_for_key (line 62) | fn compute_prefix_for_key(&self, key: &K) -> Vec { method populate_definitions (line 71) | fn populate_definitions(definitions: &mut crate::abi::Definitions) { method declaration (line 76) | fn declaration() -> Declaration { method definition (line 80) | fn definition() -> Definition { function test_compute_prefix (line 95) | fn test_compute_prefix() { function test_map (line 104) | fn test_map() { FILE: smart_contracts/sdk/src/collections/set.rs type Set (line 9) | pub struct Set function new (line 24) | pub fn new(prefix: String) -> Self { function insert (line 32) | pub fn insert(&mut self, key: T) { function contains_key (line 37) | pub fn contains_key(&self, key: T) -> bool { type Flag (line 54) | pub enum Flag { function should_insert (line 62) | fn should_insert() { FILE: smart_contracts/sdk/src/collections/sorted_vector.rs type SortedVector (line 9) | pub struct SortedVector { method populate_definitions (line 14) | fn populate_definitions(definitions: &mut crate::abi::Definitions) { method declaration (line 18) | fn declaration() -> crate::abi::Declaration { method definition (line 22) | fn definition() -> crate::abi::Definition { function new (line 42) | pub fn new>(prefix: S) -> Self { function push (line 48) | pub fn push(&mut self, value: T) { function remove (line 53) | pub fn remove(&mut self, index: u64) -> Option { function contains (line 58) | pub fn contains(&self, value: &T) -> bool { function get (line 63) | pub fn get(&self, index: u64) -> Option { function iter (line 68) | pub fn iter(&self) -> impl Iterator + '_ { function len (line 73) | pub fn len(&self) -> u64 { function is_empty (line 78) | pub fn is_empty(&self) -> bool { function retain (line 83) | pub fn retain(&mut self, f: F) function test_sorted_vector (line 98) | fn test_sorted_vector() { FILE: smart_contracts/sdk/src/collections/vector.rs type Vector (line 12) | pub struct Vector { method populate_definitions (line 19) | fn populate_definitions(_definitions: &mut Definitions) {} method declaration (line 21) | fn declaration() -> Declaration { method definition (line 25) | fn definition() -> Definition { function new (line 49) | pub fn new>(prefix: S) -> Self { function push (line 58) | pub fn push(&mut self, value: T) { function pop (line 66) | pub fn pop(&mut self) -> Option { function contains (line 76) | pub fn contains(&self, value: &T) -> bool function get (line 84) | pub fn get(&self, index: u64) -> Option { function iter (line 93) | pub fn iter(&self) -> impl Iterator + '_ { function insert (line 99) | pub fn insert(&mut self, index: u64, value: T) { function clear (line 118) | pub fn clear(&mut self) { function len (line 129) | pub fn len(&self) -> u64 { function is_empty (line 135) | pub fn is_empty(&self) -> bool { function binary_search (line 141) | pub fn binary_search(&self, value: &T) -> Result function binary_search_by (line 154) | pub fn binary_search_by(&self, mut f: F) -> Result function remove (line 200) | pub fn remove(&mut self, index: u64) -> Option { function swap_remove (line 228) | pub fn swap_remove(&mut self, index: u64) -> Option { function retain (line 250) | pub fn retain(&mut self, mut f: F) function compute_prefix_bytes_for_index (line 265) | fn compute_prefix_bytes_for_index(&self, index: u64) -> Vec { function write (line 269) | fn write(&self, index: u64, value: T) { function compute_prefix_bytes_for_index (line 276) | fn compute_prefix_bytes_for_index(prefix: &str, index: u64) -> Vec { constant TEST_VEC_PREFIX (line 290) | const TEST_VEC_PREFIX: &str = "test_vector"; type VecU64 (line 291) | type VecU64 = Vector; function get_vec_elements_from_storage (line 293) | fn get_vec_elements_from_storage(prefix: &str) -> Vec { function should_not_panic_with_empty_vec (line 312) | fn should_not_panic_with_empty_vec() { function should_retain (line 328) | fn should_retain() { function test_vec (line 349) | fn test_vec() { function test_pop (line 403) | fn test_pop() { function test_contains (line 423) | fn test_contains() { function test_clear (line 439) | fn test_clear() { function test_binary_search (line 457) | fn test_binary_search() { function test_swap_remove (line 473) | fn test_swap_remove() { function test_insert_at_len (line 491) | fn test_insert_at_len() { function test_struct_elements (line 503) | fn test_struct_elements() { function test_multiple_operations (line 519) | fn test_multiple_operations() { function test_remove_invalid_index (line 543) | fn test_remove_invalid_index() { function test_insert_out_of_bounds (line 556) | fn test_insert_out_of_bounds() { FILE: smart_contracts/sdk/src/contrib/access_control.rs type Role (line 14) | pub type Role = [u8; 32]; constant ROLES_PREFIX (line 17) | const ROLES_PREFIX: &str = "roles"; type AccessControlState (line 21) | pub struct AccessControlState { method new (line 27) | pub fn new() -> Self { method default (line 35) | fn default() -> Self { type AccessControlError (line 43) | pub enum AccessControlError { type AccessControl (line 62) | pub trait AccessControl { method state (line 65) | fn state(&self) -> &AccessControlState; method state_mut (line 68) | fn state_mut(&mut self) -> &mut AccessControlState; method has_role (line 72) | fn has_role(&self, entity: Entity, role: Role) -> bool { method has_any_role (line 80) | fn has_any_role(&self, entity: Entity, roles: &[Role]) -> bool { method grant_role (line 89) | fn grant_role(&mut self, entity: Entity, role: Role) { method revoke_role (line 111) | fn revoke_role(&mut self, entity: Entity, role: Role) { method require_role (line 119) | fn require_role(&self, role: Role) -> Result<(), AccessControlError> { method require_any_role (line 130) | fn require_any_role(&self, roles: &[Role]) -> Result<(), AccessControl... FILE: smart_contracts/sdk/src/contrib/cep18.rs type Cep18Error (line 75) | pub enum Cep18Error { method from (line 115) | fn from(error: AccessControlError) -> Self { type Transfer (line 123) | pub struct Transfer { type Approve (line 130) | pub struct Approve { constant ADMIN_ROLE (line 136) | pub const ADMIN_ROLE: Role = blake2b256!("admin"); constant MINTER_ROLE (line 137) | pub const MINTER_ROLE: Role = blake2b256!("minter"); type CEP18State (line 140) | pub struct CEP18State { method transfer_balance (line 151) | fn transfer_balance( method new (line 180) | pub fn new(name: &str, symbol: &str, decimals: u8, total_supply: U256)... type CEP18 (line 194) | pub trait CEP18 { method state (line 196) | fn state(&self) -> &CEP18State; method state_mut (line 199) | fn state_mut(&mut self) -> &mut CEP18State; method name (line 201) | fn name(&self) -> &str { method symbol (line 205) | fn symbol(&self) -> &str { method decimals (line 209) | fn decimals(&self) -> u8 { method total_supply (line 213) | fn total_supply(&self) -> U256 { method balance_of (line 217) | fn balance_of(&self, address: Entity) -> U256 { method allowance (line 221) | fn allowance(&self, spender: Entity, owner: Entity) { method approve (line 229) | fn approve(&mut self, spender: Entity, amount: U256) -> Result<(), Cep... method decrease_allowance (line 246) | fn decrease_allowance(&mut self, spender: Entity, amount: U256) -> Res... method increase_allowance (line 259) | fn increase_allowance(&mut self, spender: Entity, amount: U256) -> Res... method transfer (line 272) | fn transfer(&mut self, recipient: Entity, amount: U256) -> Result<(), ... method transfer_from (line 294) | fn transfer_from( type Mintable (line 337) | pub trait Mintable: CEP18 + AccessControl { method mint (line 339) | fn mint(&mut self, owner: Entity, amount: U256) -> Result<(), Cep18Err... type Burnable (line 366) | pub trait Burnable: CEP18 { method burn (line 368) | fn burn(&mut self, owner: Entity, amount: U256) -> Result<(), Cep18Err... FILE: smart_contracts/sdk/src/contrib/ownable.rs type OwnableState (line 15) | pub struct OwnableState { method default (line 20) | fn default() -> Self { type OwnableError (line 30) | pub enum OwnableError { type Ownable (line 39) | pub trait Ownable { method state (line 41) | fn state(&self) -> &OwnableState; method state_mut (line 43) | fn state_mut(&mut self) -> &mut OwnableState; method only_owner (line 49) | fn only_owner(&self) -> Result<(), OwnableError> { method transfer_ownership (line 65) | fn transfer_ownership(&mut self, new_owner: Entity) -> Result<(), Owna... method owner (line 72) | fn owner(&self) -> Option { method renounce_ownership (line 83) | fn renounce_ownership(&mut self) -> Result<(), OwnableError> { FILE: smart_contracts/sdk/src/contrib/pausable.rs type PausedState (line 16) | pub struct PausedState { type PausableError (line 21) | pub enum PausableError { type Paused (line 28) | pub struct Paused { type Unpaused (line 34) | pub struct Unpaused { type Pausable (line 40) | pub trait Pausable { method state (line 43) | fn state(&self) -> &PausedState; method state_mut (line 46) | fn state_mut(&mut self) -> &mut PausedState; method paused (line 50) | fn paused(&self) -> bool { method pause (line 55) | fn pause(&mut self) -> Result<(), PausableError> { method unpause (line 66) | fn unpause(&mut self) -> Result<(), PausableError> { method enforce_paused (line 77) | fn enforce_paused(&self) -> Result<(), PausableError> { method enforce_unpaused (line 86) | fn enforce_unpaused(&self) -> Result<(), PausableError> { FILE: smart_contracts/sdk/src/lib.rs function reserve_vec_space (line 51) | pub fn reserve_vec_space(vec: &mut Vec, size: usize) -> Option Self; type ToCallData (line 67) | pub trait ToCallData { method entry_point (line 70) | fn entry_point(&self) -> &str; method input_data (line 72) | fn input_data(&self) -> Option>; type Contract (line 78) | pub trait Contract { method name (line 81) | fn name() -> &'static str; method create (line 82) | fn create( method default_create (line 86) | fn default_create() -> Result, CallError>; method upgrade (line 87) | fn upgrade(code: Option<&[u8]>, call_data: T) -> Result... type Access (line 91) | pub enum Access { type UnwrapOrRevert (line 135) | pub trait UnwrapOrRevert { method unwrap_or_revert (line 138) | fn unwrap_or_revert(self) -> T; function unwrap_or_revert (line 145) | fn unwrap_or_revert(self) -> T { type ContractHandle (line 158) | pub struct ContractHandle { function from_address (line 165) | pub const fn from_address(contract_address: Address) -> Self { function build_call (line 172) | pub fn build_call(&self) -> CallBuilder { function call (line 182) | pub fn call<'a, CallData: ToCallData>( function try_call (line 194) | pub fn try_call( function contract_address (line 202) | pub fn contract_address(&self) -> Address { function entity (line 207) | pub fn entity(&self) -> Entity { function balance (line 213) | pub fn balance(&self) -> u64 { type CallBuilder (line 218) | pub struct CallBuilder { function new (line 226) | pub fn new(address: Address) -> Self { function with_transferred_value (line 235) | pub fn with_transferred_value(mut self, transferred_value: u64) -> Self { function cast (line 242) | pub fn cast(self) -> CallBuilder { function try_call (line 250) | pub fn try_call( function call (line 263) | pub fn call<'a, CallData: ToCallData>( type ContractBuilder (line 281) | pub struct ContractBuilder<'a, T: ContractRef> { method default (line 289) | fn default() -> Self { function new (line 296) | pub fn new() -> Self { function with_transferred_value (line 306) | pub fn with_transferred_value(mut self, transferred_value: u64) -> Self { function with_code (line 312) | pub fn with_code(mut self, code: &'a [u8]) -> Self { function with_seed (line 318) | pub fn with_seed(mut self, seed: &'a [u8; 32]) -> Self { function create (line 323) | pub fn create( function default_create (line 344) | pub fn default_create(&self) -> Result, CallError> { type Message (line 357) | pub trait Message: BorshSerialize { constant TOPIC (line 358) | const TOPIC: &'static str; method payload (line 360) | fn payload(&self) -> Vec; function test_call_builder (line 366) | fn test_call_builder() {} FILE: smart_contracts/sdk/src/prelude.rs function test_format (line 46) | fn test_format() { function test_string (line 51) | fn test_string() { function test_vec (line 58) | fn test_vec() { FILE: smart_contracts/sdk/src/schema.rs type CasperSchema (line 1) | pub trait CasperSchema { method schema (line 2) | fn schema() -> Schema; function serialize_bits (line 13) | pub fn serialize_bits(data: &T, serializer: S) -> Result(deserializer: D) -> Result type SchemaArgument (line 35) | pub struct SchemaArgument { type SchemaEntryPoint (line 41) | pub struct SchemaEntryPoint { type SchemaType (line 54) | pub enum SchemaType { type SchemaMessage (line 62) | pub struct SchemaMessage { type Schema (line 68) | pub struct Schema { type EntryPoint (line 79) | pub struct EntryPoint<'a, F: Fn()> { FILE: smart_contracts/sdk/src/types.rs type Address (line 11) | pub type Address = [u8; 32]; type CallError (line 17) | pub enum CallError { method fmt (line 25) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Error (line 36) | type Error = (); method try_from (line 38) | fn try_from(value: u32) -> Result { method populate_definitions (line 50) | fn populate_definitions(_definitions: &mut crate::abi::Definitions) {} method declaration (line 52) | fn declaration() -> Declaration { method definition (line 56) | fn definition() -> Definition { FILE: smart_contracts/sdk_codegen/src/lib.rs constant DEFAULT_DERIVED_TRAITS (line 17) | const DEFAULT_DERIVED_TRAITS: &[&str] = &[ function slugify_type (line 30) | fn slugify_type(input: &str) -> String { type Specialized (line 45) | enum Specialized { type Codegen (line 51) | pub struct Codegen { method new (line 67) | pub fn new(schema: Schema) -> Self { method from_file (line 75) | pub fn from_file(path: &str) -> Result { method gen (line 81) | pub fn gen(&mut self) -> String { type Err (line 58) | type Err = serde_json::Error; method from_str (line 60) | fn from_str(s: &str) -> Result { function should_slugify_complex_type (line 608) | fn should_slugify_complex_type() { FILE: smart_contracts/sdk_codegen/src/support.rs type IntoResult (line 3) | pub trait IntoResult { method into_result (line 4) | fn into_result(self) -> Result; type IntoOption (line 7) | pub trait IntoOption { method into_option (line 8) | fn into_option(self) -> Option; type MyOk (line 16) | struct MyOk; type MyErr (line 18) | struct MyErr; type CustomResult (line 22) | enum CustomResult { method into_result (line 34) | fn into_result(self) -> Result { type CustomOption (line 28) | enum CustomOption { method into_option (line 43) | fn into_option(self) -> Option { function test_into_result (line 52) | fn test_into_result() { function test_into_option (line 61) | fn test_into_option() { FILE: smart_contracts/sdk_codegen/tests/fixtures/cep18_schema.rs type U8 (line 5) | pub type U8 = u8; type FixedSequence0_32_U8 (line 6) | type FixedSequence0_32_U8 = [U8; 32]; type __U8__32____U8__32__ (line 9) | struct __U8__32____U8__32__(FixedSequence0_32_U8, FixedSequence0_32_U8); type Bool (line 11) | pub type Bool = bool; type U64 (line 12) | pub type U64 = u64; type Map___U8__32____U8__32____U64_ (line 14) | struct Map___U8__32____U8__32____U64_ { type Map__U8__32___U64_ (line 20) | struct Map__U8__32___U64_ { type Map__U8__32___vm2_cep18__security_badge__SecurityBadge_ (line 26) | struct Map__U8__32___vm2_cep18__security_badge__SecurityBadge_ { type vm2_cep18__error__Cep18Error (line 33) | pub enum vm2_cep18__error__Cep18Error { type Result_____vm2_cep18__error__Cep18Error_ (line 57) | pub enum Result_____vm2_cep18__error__Cep18Error_ { method into_result (line 63) | fn into_result(self) -> Result<(), vm2_cep18__error__Cep18Error> { type Char (line 71) | pub type Char = char; type vm2_cep18__traits__CEP18State (line 73) | struct vm2_cep18__traits__CEP18State { type vm2_cep18__contract__TokenContract (line 93) | struct vm2_cep18__contract__TokenContract { type vm2_cep18__security_badge__SecurityBadge (line 100) | pub enum vm2_cep18__security_badge__SecurityBadge { type TokenContractClient (line 107) | pub struct TokenContractClient { method new (line 112) | pub fn new(token_name: String) -> Result Result Result Result Result Result Result R... method decrease_allowance (line 189) | pub fn decrease_allowance(&self, spender: FixedSequence0_32_U8, amount... method increase_allowance (line 199) | pub fn increase_allowance(&self, spender: FixedSequence0_32_U8, amount... method transfer (line 209) | pub fn transfer(&self, recipient: FixedSequence0_32_U8, amount: U64) -... method transfer_from (line 219) | pub fn transfer_from(&self, owner: FixedSequence0_32_U8, recipient: Fi... method mint (line 230) | pub fn mint(&self, owner: FixedSequence0_32_U8, amount: U64) -> Result... method burn (line 240) | pub fn burn(&self, owner: FixedSequence0_32_U8, amount: U64) -> Result... type TokenContract_new (line 252) | struct TokenContract_new { constant SELECTOR (line 257) | const SELECTOR: Selector = Selector::new(2611912030); method input_data (line 258) | fn input_data(&self) -> Option> { type TokenContract_my_balance (line 265) | struct TokenContract_my_balance; constant SELECTOR (line 268) | const SELECTOR: Selector = Selector::new(926069361); method input_data (line 269) | fn input_data(&self) -> Option> { type TokenContract_name (line 275) | struct TokenContract_name; constant SELECTOR (line 278) | const SELECTOR: Selector = Selector::new(987428621); method input_data (line 279) | fn input_data(&self) -> Option> { type TokenContract_symbol (line 285) | struct TokenContract_symbol; constant SELECTOR (line 288) | const SELECTOR: Selector = Selector::new(2614203198); method input_data (line 289) | fn input_data(&self) -> Option> { type TokenContract_decimals (line 295) | struct TokenContract_decimals; constant SELECTOR (line 298) | const SELECTOR: Selector = Selector::new(2176884103); method input_data (line 299) | fn input_data(&self) -> Option> { type TokenContract_total_supply (line 305) | struct TokenContract_total_supply; constant SELECTOR (line 308) | const SELECTOR: Selector = Selector::new(3680728488); method input_data (line 309) | fn input_data(&self) -> Option> { type TokenContract_balance_of (line 315) | struct TokenContract_balance_of { constant SELECTOR (line 320) | const SELECTOR: Selector = Selector::new(259349078); method input_data (line 321) | fn input_data(&self) -> Option> { type TokenContract_allowance (line 328) | struct TokenContract_allowance { constant SELECTOR (line 334) | const SELECTOR: Selector = Selector::new(1778390622); method input_data (line 335) | fn input_data(&self) -> Option> { type TokenContract_approve (line 342) | struct TokenContract_approve { constant SELECTOR (line 348) | const SELECTOR: Selector = Selector::new(1746036384); method input_data (line 349) | fn input_data(&self) -> Option> { type TokenContract_decrease_allowance (line 356) | struct TokenContract_decrease_allowance { constant SELECTOR (line 362) | const SELECTOR: Selector = Selector::new(4187548633); method input_data (line 363) | fn input_data(&self) -> Option> { type TokenContract_increase_allowance (line 370) | struct TokenContract_increase_allowance { constant SELECTOR (line 376) | const SELECTOR: Selector = Selector::new(4115780642); method input_data (line 377) | fn input_data(&self) -> Option> { type TokenContract_transfer (line 384) | struct TokenContract_transfer { constant SELECTOR (line 390) | const SELECTOR: Selector = Selector::new(2225167777); method input_data (line 391) | fn input_data(&self) -> Option> { type TokenContract_transfer_from (line 398) | struct TokenContract_transfer_from { constant SELECTOR (line 405) | const SELECTOR: Selector = Selector::new(188313368); method input_data (line 406) | fn input_data(&self) -> Option> { type TokenContract_mint (line 413) | struct TokenContract_mint { constant SELECTOR (line 419) | const SELECTOR: Selector = Selector::new(3487406754); method input_data (line 420) | fn input_data(&self) -> Option> { type TokenContract_burn (line 427) | struct TokenContract_burn { constant SELECTOR (line 433) | const SELECTOR: Selector = Selector::new(2985279867); method input_data (line 434) | fn input_data(&self) -> Option> { function main (line 438) | fn main() {} FILE: smart_contracts/sdk_codegen/tests/test_build.rs constant FIXTURE_1 (line 5) | const FIXTURE_1: &str = include_str!("fixtures/cep18_schema.json"); constant PROLOG (line 7) | const PROLOG: &str = "#![allow(dead_code, unused_variables, non_camel_ca... constant EPILOG (line 8) | const EPILOG: &str = "fn main() {}"; function it_works (line 12) | fn it_works() -> Result<(), std::io::Error> { FILE: smart_contracts/sdk_sys/src/lib.rs type Param (line 4) | pub struct Param { type Fptr (line 10) | pub type Fptr = extern "C" fn() -> (); type ReadInfo (line 14) | pub struct ReadInfo { type CreateResult (line 22) | pub struct CreateResult { type UpgradeResult (line 28) | pub struct UpgradeResult { constant HOST_FUNCTIONS (line 56) | pub const HOST_FUNCTIONS: &[&str] = for_each_host_function!(visit_host_f... function different_module (line 82) | fn different_module() { function all_host_functions (line 88) | fn all_host_functions() { FILE: storage/benches/global_state_key_write_bench.rs constant DB_SIZE (line 23) | pub(crate) const DB_SIZE: usize = 8_520_428_800; constant MAX_READERS (line 24) | pub(crate) const MAX_READERS: u32 = 512; function write_sequential (line 26) | fn write_sequential( function create_empty_store (line 46) | fn create_empty_store() -> (LmdbEnvironment, LmdbTrieStore) { function store_empty_root (line 54) | fn store_empty_root(env: &LmdbEnvironment, store: &LmdbTrieStore) -> Dig... function sequential_write_bench (line 66) | fn sequential_write_bench(c: &mut Criterion, rng: &mut TestRng) { function batch_write_with_empty_store (line 98) | fn batch_write_with_empty_store(c: &mut Criterion, rng: &mut TestRng) { function batch_write_with_populated_store (line 137) | fn batch_write_with_populated_store(c: &mut Criterion, rng: &mut TestRng) { function trie_store_batch_write_bench (line 184) | fn trie_store_batch_write_bench(c: &mut Criterion) { FILE: storage/src/address_generator.rs constant ADDRESS_LENGTH (line 8) | pub const ADDRESS_LENGTH: usize = 32; type Address (line 11) | pub type Address = [u8; ADDRESS_LENGTH]; constant SEED_LENGTH (line 13) | const SEED_LENGTH: usize = 32; type AddressGenerator (line 16) | pub struct AddressGenerator(ChaChaRng); method new (line 20) | pub fn new(hash: &[u8], phase: Phase) -> AddressGenerator { method create_address (line 28) | pub fn create_address(&mut self) -> Address { method new_hash_address (line 36) | pub fn new_hash_address(&mut self) -> Address { method new_uref (line 41) | pub fn new_uref(&mut self, access_rights: AccessRights) -> URef { type AddressGeneratorBuilder (line 49) | pub struct AddressGeneratorBuilder { method new (line 55) | pub fn new() -> Self { method seed_with (line 60) | pub fn seed_with(mut self, bytes: &[u8]) -> Self { method build (line 68) | pub fn build(self) -> AddressGenerator { constant DEPLOY_HASH_1 (line 80) | const DEPLOY_HASH_1: [u8; 32] = [1u8; 32]; constant DEPLOY_HASH_2 (line 81) | const DEPLOY_HASH_2: [u8; 32] = [2u8; 32]; function should_generate_different_numbers_for_different_seeds (line 84) | fn should_generate_different_numbers_for_different_seeds() { function should_generate_same_numbers_for_same_seed (line 94) | fn should_generate_same_numbers_for_same_seed() { function should_not_generate_same_numbers_for_different_phase (line 104) | fn should_not_generate_same_numbers_for_different_phase() { FILE: storage/src/block_store/block_provider.rs type BlockStoreProvider (line 4) | pub trait BlockStoreProvider { method checkout_ro (line 15) | fn checkout_ro(&self) -> Result, BlockStoreError>; method checkout_rw (line 17) | fn checkout_rw(&mut self) -> Result, BlockStore... type BlockStoreTransaction (line 21) | pub trait BlockStoreTransaction { method commit (line 23) | fn commit(self) -> Result<(), BlockStoreError>; method rollback (line 26) | fn rollback(self); type DataReader (line 30) | pub trait DataReader { method read (line 32) | fn read(&self, key: K) -> Result, BlockStoreError>; method exists (line 34) | fn exists(&self, key: K) -> Result; type DataWriter (line 38) | pub trait DataWriter { method write (line 40) | fn write(&mut self, data: &T) -> Result; method delete (line 42) | fn delete(&mut self, key: K) -> Result<(), BlockStoreError>; FILE: storage/src/block_store/error.rs type BlockStoreError (line 7) | pub enum BlockStoreError { FILE: storage/src/block_store/lmdb/indexed_lmdb_block_store.rs type IndexedLmdbBlockStore (line 32) | pub struct IndexedLmdbBlockStore { method get_reader (line 44) | fn get_reader(&self) -> Result { function should_update_block_height_index (line 353) | fn should_update_block_height_index( function should_update_switch_block_index (line 377) | fn should_update_switch_block_index( function should_update_transaction_hash_index (line 406) | fn should_update_transaction_hash_index( type IndexedLmdbBlockStoreReadTransaction (line 426) | pub struct IndexedLmdbBlockStoreReadTransaction<'t> { type LmdbBlockStoreIndex (line 431) | enum LmdbBlockStoreIndex { type IndexPosition (line 436) | enum IndexPosition { type DataType (line 441) | enum DataType { function block_hash_from_index (line 449) | fn block_hash_from_index(&self, index: LmdbBlockStoreIndex) -> Option<&B... function read_block_indexed (line 464) | fn read_block_indexed( function read_block_header_indexed (line 478) | fn read_block_header_indexed( function read_block_signatures_indexed (line 492) | fn read_block_signatures_indexed( function read_approvals_hashes_indexed (line 506) | fn read_approvals_hashes_indexed( function contains_data_indexed (line 520) | fn contains_data_indexed( method commit (line 548) | fn commit(self) -> Result<(), BlockStoreError> { method rollback (line 552) | fn rollback(self) { method commit (line 558) | fn commit(self) -> Result<(), BlockStoreError> { method rollback (line 569) | fn rollback(self) { type Reader (line 575) | type Reader<'t> = IndexedLmdbBlockStoreReadTransaction<'t>; type ReaderWriter (line 576) | type ReaderWriter<'t> = IndexedLmdbBlockStoreRWTransaction<'t>; method checkout_ro (line 578) | fn checkout_ro(&self) -> Result, BlockStoreError> { method checkout_rw (line 582) | fn checkout_rw(&mut self) -> Result, BlockStoreEr... function read (line 600) | fn read(&self, key: BlockHash) -> Result, BlockStoreError> { function exists (line 606) | fn exists(&self, key: BlockHash) -> Result { function read (line 612) | fn read(&self, key: BlockHash) -> Result, BlockStore... function exists (line 618) | fn exists(&self, key: BlockHash) -> Result { function read (line 626) | fn read(&self, key: BlockHash) -> Result, BlockS... function exists (line 632) | fn exists(&self, key: BlockHash) -> Result { function read (line 640) | fn read(&self, key: BlockHash) -> Result, BlockS... function exists (line 646) | fn exists(&self, key: BlockHash) -> Result { function read (line 654) | fn read(&self, key: BlockHeight) -> Result, BlockStoreErro... function exists (line 658) | fn exists(&self, key: BlockHeight) -> Result { function read (line 667) | fn read(&self, key: BlockHeight) -> Result, BlockSto... function exists (line 671) | fn exists(&self, key: BlockHeight) -> Result { function read (line 680) | fn read(&self, key: BlockHeight) -> Result, Bloc... function exists (line 686) | fn exists(&self, key: BlockHeight) -> Result { function read (line 695) | fn read(&self, key: BlockHeight) -> Result, Bloc... function exists (line 701) | fn exists(&self, key: BlockHeight) -> Result { function read (line 711) | fn read(&self, key: EraId) -> Result, BlockStoreError> { function exists (line 717) | fn exists(&self, key: EraId) -> Result { function read (line 728) | fn read(&self, key: EraId) -> Result, BlockStoreErro... function exists (line 734) | fn exists(&self, key: EraId) -> Result { function read (line 743) | fn read(&self, key: EraId) -> Result, BlockStore... function exists (line 749) | fn exists(&self, key: EraId) -> Result { function read (line 758) | fn read(&self, key: EraId) -> Result, BlockStore... function exists (line 764) | fn exists(&self, key: EraId) -> Result { function read (line 773) | fn read(&self, _key: Tip) -> Result, BlockStoreError> { function exists (line 777) | fn exists(&self, _key: Tip) -> Result { function read (line 786) | fn read(&self, _key: Tip) -> Result, BlockStoreError> { function exists (line 790) | fn exists(&self, _key: Tip) -> Result { function read (line 799) | fn read(&self, _key: LatestSwitchBlock) -> Result, B... function exists (line 803) | fn exists(&self, _key: LatestSwitchBlock) -> Result Result Result { function read (line 824) | fn read(&self, key: TransactionHash) -> Result, Bloc... function exists (line 832) | fn exists(&self, key: TransactionHash) -> Result { function read (line 840) | fn read(&self, key: TransactionHash) -> Result... function exists (line 848) | fn exists(&self, key: TransactionHash) -> Result { function read (line 858) | fn read(&self, key: TransactionHash) -> Result, ... function exists (line 866) | fn exists(&self, key: TransactionHash) -> Result { function read (line 876) | fn read(&self, StateStoreKey(key): StateStoreKey) -> Result Result)) -> Result Result { function delete (line 964) | fn delete(&mut self, key: BlockHash) -> Result<(), BlockStoreError> { function write (line 1002) | fn write(&mut self, data: &ApprovalsHashes) -> Result Result<(), BlockStoreError> { function write (line 1013) | fn write(&mut self, data: &BlockSignatures) -> Result Result<(), BlockStoreError> { function write (line 1025) | fn write(&mut self, data: &BlockHeader) -> Result Result<(), BlockStoreError> { function write (line 1064) | fn write(&mut self, data: &Transaction) -> Result Result<(), BlockStoreError> { function write (line 1076) | fn write( function delete (line 1092) | fn delete(&mut self, key: TransactionHash) -> Result<(), BlockStoreError> { function write (line 1103) | fn write( function delete (line 1133) | fn delete(&mut self, _key: BlockHashHeightAndEra) -> Result<(), BlockSto... function write (line 1139) | fn write(&mut self, data: &BlockTransfers) -> Result Result<(), BlockStoreError> { function write (line 1151) | fn write(&mut self, data: &StateStore) -> Result, Blo... function delete (line 1157) | fn delete(&mut self, key: Cow<'static, [u8]>) -> Result<(), BlockStoreEr... function read (line 1163) | fn read(&self, query: TransactionHash) -> Result, Bl... function exists (line 1170) | fn exists(&self, query: TransactionHash) -> Result { function read (line 1176) | fn read(&self, key: BlockHash) -> Result, BlockS... function exists (line 1180) | fn exists(&self, key: BlockHash) -> Result { function read (line 1186) | fn read(&self, query: TransactionHash) -> Result Result { function read (line 1202) | fn read(&self, key: BlockHash) -> Result, BlockStoreError> { function exists (line 1206) | fn exists(&self, key: BlockHash) -> Result { function read (line 1212) | fn read(&self, key: BlockHash) -> Result, BlockStore... function exists (line 1216) | fn exists(&self, key: BlockHash) -> Result { function read (line 1222) | fn read(&self, query: TransactionHash) -> Result... function exists (line 1229) | fn exists(&self, query: TransactionHash) -> Result { function read (line 1238) | fn read(&self, key: BlockHash) -> Result>, BlockSto... function exists (line 1242) | fn exists(&self, key: BlockHash) -> Result { FILE: storage/src/block_store/lmdb/lmdb_block_store.rs constant STORAGE_DB_FILENAME (line 35) | const STORAGE_DB_FILENAME: &str = "storage.lmdb"; constant MAX_TRANSACTIONS (line 39) | const MAX_TRANSACTIONS: u32 = 5; constant MAX_DB_COUNT (line 42) | const MAX_DB_COUNT: u32 = 17; constant OS_FLAGS (line 46) | const OS_FLAGS: EnvironmentFlags = EnvironmentFlags::WRITE_MAP; constant OS_FLAGS (line 52) | const OS_FLAGS: EnvironmentFlags = EnvironmentFlags::empty(); type LmdbBlockStore (line 56) | pub struct LmdbBlockStore { method new (line 87) | pub fn new(root_path: &Path, total_size: usize) -> Result( method block_exists (line 168) | pub(crate) fn block_exists( method block_header_exists (line 185) | pub(crate) fn block_header_exists( method get_transfers (line 195) | pub(crate) fn get_transfers( method has_transfers (line 207) | pub(crate) fn has_transfers( method read_state_store (line 217) | pub(crate) fn read_state_store, Tx: lmdb::Transaction>( method read_approvals_hashes (line 231) | pub(crate) fn read_approvals_hashes( method approvals_hashes_exist (line 241) | pub(crate) fn approvals_hashes_exist( method write_transaction (line 252) | pub(crate) fn write_transaction( method delete_transaction (line 264) | pub(crate) fn delete_transaction( method write_transfers (line 274) | pub(crate) fn write_transfers( method delete_transfers (line 290) | pub(crate) fn delete_transfers( method write_state_store (line 302) | pub(crate) fn write_state_store( method state_store_key_exists (line 317) | pub(crate) fn state_store_key_exists, Tx: lmdb::Transac... method delete_state_store (line 326) | pub(crate) fn delete_state_store( method get_single_block_header (line 336) | pub(crate) fn get_single_block_header( method get_block_signatures (line 354) | pub(crate) fn get_block_signatures( method block_signatures_exist (line 364) | pub(crate) fn block_signatures_exist( method get_single_block (line 375) | pub(crate) fn get_single_block( method write_block (line 415) | pub(crate) fn write_block( method write_block_header (line 435) | pub(crate) fn write_block_header( method delete_block_header (line 447) | pub(crate) fn delete_block_header( method delete_block_body (line 457) | pub(crate) fn delete_block_body( method write_approvals_hashes (line 468) | pub(crate) fn write_approvals_hashes( method delete_approvals_hashes (line 481) | pub(crate) fn delete_approvals_hashes( method write_execution_results (line 491) | pub(crate) fn write_execution_results( method delete_execution_results (line 540) | pub(crate) fn delete_execution_results( function new_environment (line 558) | pub(crate) fn new_environment( function successful_transfers (line 581) | fn successful_transfers(execution_result: &ExecutionResult) -> Vec = LmdbBlockStoreTransaction<'t, RoTransaction<'t>>; type ReaderWriter (line 611) | type ReaderWriter<'t> = LmdbBlockStoreTransaction<'t, RwTransaction<'t>>; method checkout_ro (line 613) | fn checkout_ro(&self) -> Result, BlockStoreError> { method checkout_rw (line 624) | fn checkout_rw(&mut self) -> Result, BlockStoreEr... type LmdbBlockStoreTransaction (line 637) | pub struct LmdbBlockStoreTransaction<'t, T> method commit (line 649) | fn commit(self) -> Result<(), BlockStoreError> { method rollback (line 655) | fn rollback(self) { function read (line 664) | fn read(&self, key: BlockHash) -> Result, BlockStoreError> { function exists (line 668) | fn exists(&self, key: BlockHash) -> Result { function read (line 677) | fn read(&self, key: BlockHash) -> Result, BlockStore... function exists (line 681) | fn exists(&self, key: BlockHash) -> Result { function read (line 690) | fn read(&self, key: BlockHash) -> Result, BlockS... function exists (line 694) | fn exists(&self, key: BlockHash) -> Result { function read (line 703) | fn read(&self, key: BlockHash) -> Result, BlockS... function exists (line 707) | fn exists(&self, key: BlockHash) -> Result { function read (line 716) | fn read(&self, key: TransactionHash) -> Result, Bloc... function exists (line 723) | fn exists(&self, key: TransactionHash) -> Result { function read (line 732) | fn read(&self, key: TransactionHash) -> Result... function exists (line 739) | fn exists(&self, key: TransactionHash) -> Result { function read (line 751) | fn read(&self, key: TransactionHash) -> Result, ... function exists (line 758) | fn exists(&self, key: TransactionHash) -> Result { function read (line 770) | fn read(&self, key: BlockHash) -> Result>, BlockSto... function exists (line 774) | fn exists(&self, key: BlockHash) -> Result { function read (line 784) | fn read(&self, key: K) -> Result>, BlockStoreError> { function exists (line 788) | fn exists(&self, key: K) -> Result { function write (line 795) | fn write(&mut self, data: &Block) -> Result { function delete (line 799) | fn delete(&mut self, key: BlockHash) -> Result<(), BlockStoreError> { function write (line 814) | fn write(&mut self, data: &ApprovalsHashes) -> Result Result<(), BlockStoreError> { function write (line 827) | fn write(&mut self, data: &BlockSignatures) -> Result Result<(), BlockStoreError> { function write (line 839) | fn write(&mut self, data: &BlockHeader) -> Result Result<(), BlockStoreError> { function write (line 851) | fn write(&mut self, data: &Transaction) -> Result Result<(), BlockStoreError> { function write (line 863) | fn write(&mut self, data: &BlockTransfers) -> Result Result<(), BlockStoreError> { function write (line 877) | fn write(&mut self, data: &StateStore) -> Result, Blo... function delete (line 883) | fn delete(&mut self, key: Cow<'static, [u8]>) -> Result<(), BlockStoreEr... function write (line 891) | fn write( function delete (line 907) | fn delete(&mut self, key: TransactionHash) -> Result<(), BlockStoreError> { function write (line 918) | fn write( function delete (line 933) | fn delete(&mut self, key: BlockHashHeightAndEra) -> Result<(), BlockStor... FILE: storage/src/block_store/lmdb/lmdb_ext.rs constant UNBONDING_PURSE_V2_MAGIC_BYTES (line 30) | const UNBONDING_PURSE_V2_MAGIC_BYTES: &[u8] = &[121, 17, 133, 179, 91, 6... type LmdbExtError (line 40) | pub enum LmdbExtError { method from (line 63) | fn from(lmdb_error: lmdb::Error) -> Self { type BytesreprError (line 58) | pub struct BytesreprError(pub bytesrepr::Error); type TransactionExt (line 93) | pub(super) trait TransactionExt { method get_value (line 95) | fn get_value, V: 'static + DeserializeOwned>( method value_exists (line 102) | fn value_exists>(&self, db: Database, key: &K) -> Resul... method get_value_bytesrepr (line 106) | fn get_value_bytesrepr( method get_value (line 155) | fn get_value, V: 'static + DeserializeOwned>( method value_exists (line 169) | fn value_exists>(&self, db: Database, key: &K) -> Resul... method get_value_bytesrepr (line 178) | fn get_value_bytesrepr( type WriteTransactionExt (line 120) | pub(super) trait WriteTransactionExt { method put_value (line 127) | fn put_value, V: 'static + Serialize>( method put_value_bytesrepr (line 141) | fn put_value_bytesrepr( method put_value (line 246) | fn put_value, V: 'static + Serialize>( method put_value_bytesrepr (line 269) | fn put_value_bytesrepr( function serialize_internal (line 219) | pub(crate) fn serialize_internal( function deserialize_internal (line 234) | pub(crate) fn deserialize_internal( function deserialize (line 296) | pub(super) fn deserialize(raw: &[u8]) -> ... function is_legacy (line 333) | fn is_legacy(raw: &[u8]) -> bool { function deserialize_unbonding_purse (line 345) | pub(super) fn deserialize_unbonding_purse( function serialize (line 359) | pub(super) fn serialize(value: &T) -> Result, Lmdb... function serialize_unbonding_purse (line 369) | pub(super) fn serialize_unbonding_purse(value: &T) -> Resu... function deserialize_bytesrepr (line 377) | pub(super) fn deserialize_bytesrepr(raw: &[u8]) ... function serialize_bytesrepr (line 415) | pub(super) fn serialize_bytesrepr(value: &T) -> Result Self { type Error (line 60) | type Error = UnknownDbTableId; method try_from (line 62) | fn try_from(value: u16) -> Result { method fmt (line 84) | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { function from (line 78) | fn from(value: DbTableId) -> Self { type UnknownDbTableId (line 100) | pub struct UnknownDbTableId(u16); function tag_roundtrip (line 108) | fn tag_roundtrip() { FILE: storage/src/block_store/lmdb/temp_map.rs type EntryState (line 3) | enum EntryState { type TempMap (line 10) | pub(crate) struct TempMap<'a, K, V: 'a> { function new (line 21) | pub(crate) fn new(base_index: &'a mut BTreeMap) -> Self { function get (line 29) | pub(crate) fn get(&self, key: &K) -> Option { function contains_key (line 41) | pub(crate) fn contains_key(&self, key: &K) -> bool { function insert (line 50) | pub(crate) fn insert(&mut self, key: K, val: V) { function remove (line 55) | pub(crate) fn remove(&mut self, key: K) { function commit (line 62) | pub(crate) fn commit(self) { FILE: storage/src/block_store/lmdb/versioned_databases.rs type VersionedKey (line 28) | pub(crate) trait VersionedKey: ToBytes { method legacy_key (line 31) | fn legacy_key(&self) -> Option<&Self::Legacy>; type Legacy (line 39) | type Legacy = DeployHash; method legacy_key (line 41) | fn legacy_key(&self) -> Option<&Self::Legacy> { type Legacy (line 50) | type Legacy = BlockHash; method legacy_key (line 52) | fn legacy_key(&self) -> Option<&Self::Legacy> { type Legacy (line 58) | type Legacy = Digest; method legacy_key (line 60) | fn legacy_key(&self) -> Option<&Self::Legacy> { type VersionedValue (line 34) | pub(crate) trait VersionedValue: ToBytes + FromBytes { type Legacy (line 66) | type Legacy = Deploy; type Legacy (line 70) | type Legacy = BlockHeaderV1; type Legacy (line 74) | type Legacy = BlockBodyV1; type Legacy (line 78) | type Legacy = LegacyApprovalsHashes; type Legacy (line 82) | type Legacy = DeployMetadataV1; type Legacy (line 86) | type Legacy = BTreeSet; type Legacy (line 90) | type Legacy = BlockSignaturesV1; type Legacy (line 94) | type Legacy = Vec; type VersionedDatabases (line 108) | pub(crate) struct VersionedDatabases { method clone (line 121) | fn clone(&self) -> Self { function new (line 133) | pub(super) fn new( function put (line 145) | pub(super) fn put( function get (line 155) | pub(super) fn get( function get_raw (line 181) | pub(super) fn get_raw( function exists (line 204) | pub(super) fn exists( function delete (line 225) | pub(super) fn delete(&self, txn: &mut RwTransaction, key: &K) -> Result<... function for_each_value_in_current (line 253) | pub(super) fn for_each_value_in_current<'a, F>( function for_each_value_in_legacy (line 276) | pub(super) fn for_each_value_in_legacy<'a, F>( function put_legacy (line 299) | pub(super) fn put_legacy( type Fixture (line 326) | struct Fixture { method new (line 336) | fn new() -> Fixture { function should_put (line 366) | fn should_put() { function should_get (line 391) | fn should_get() { function should_exist (line 427) | fn should_exist() { function should_delete (line 457) | fn should_delete() { function should_iterate_current (line 503) | fn should_iterate_current() { function should_iterate_legacy (line 549) | fn should_iterate_legacy() { function should_get_on_empty_key (line 600) | fn should_get_on_empty_key() { FILE: storage/src/block_store/mod.rs type DbRawBytesSpec (line 14) | pub struct DbRawBytesSpec { method new_legacy (line 21) | pub fn new_legacy(raw_bytes: &[u8]) -> Self { method new_current (line 29) | pub fn new_current(raw_bytes: &[u8]) -> Self { method is_legacy (line 37) | pub fn is_legacy(&self) -> bool { method into_raw_bytes (line 42) | pub fn into_raw_bytes(self) -> Vec { FILE: storage/src/block_store/types/approvals_hashes.rs constant APPROVALS_CHECKSUM_NAME (line 20) | pub(crate) const APPROVALS_CHECKSUM_NAME: &str = "approvals_checksum"; function compute_approvals_checksum (line 23) | fn compute_approvals_checksum(txn_ids: Vec) -> Result Result<(), ApprovalsHashesValid... method deploy_ids (line 98) | pub(crate) fn deploy_ids( method transaction_ids (line 113) | pub fn transaction_ids( method block_hash (line 127) | pub fn block_hash(&self) -> &BlockHash { method approvals_hashes (line 132) | pub fn approvals_hashes(&self) -> Vec { method from (line 244) | fn from( method fmt (line 138) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { method write_bytes (line 144) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method to_bytes (line 150) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 156) | fn serialized_length(&self) -> usize { method from_bytes (line 164) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function compute_legacy_approvals_checksum (line 182) | pub(crate) fn compute_legacy_approvals_checksum( type ApprovalsHashesValidationError (line 194) | pub enum ApprovalsHashesValidationError { type LegacyApprovalsHashes (line 237) | pub(crate) struct LegacyApprovalsHashes { FILE: storage/src/block_store/types/block_hash_height_and_era.rs type BlockHashHeightAndEra (line 11) | pub struct BlockHashHeightAndEra { method new (line 22) | pub fn new(block_hash: BlockHash, block_height: u64, era_id: EraId) ->... method random (line 32) | pub fn random(rng: &mut TestRng) -> Self { method from (line 42) | fn from(bhhe: BlockHashHeightAndEra) -> Self { FILE: storage/src/block_store/types/deploy_metadata_v1.rs type DeployMetadataV1 (line 12) | pub(crate) struct DeployMetadataV1 { method from (line 22) | fn from(v1_results: DeployMetadataV1) -> Self { FILE: storage/src/block_store/types/mod.rs type ExecutionResults (line 22) | pub type ExecutionResults = HashMap; type TransactionFinalizedApprovals (line 25) | pub struct TransactionFinalizedApprovals { type BlockExecutionResults (line 33) | pub struct BlockExecutionResults { type BlockTransfers (line 41) | pub struct BlockTransfers { type StateStore (line 49) | pub struct StateStore { type StateStoreKey (line 57) | pub struct StateStoreKey(pub(super) Cow<'static, [u8]>); method new (line 61) | pub fn new(key: Cow<'static, [u8]>) -> Self { type Tip (line 67) | pub struct Tip; type LatestSwitchBlock (line 70) | pub struct LatestSwitchBlock; type BlockHeight (line 73) | pub type BlockHeight = u64; type SwitchBlockHeader (line 76) | pub type SwitchBlockHeader = BlockHeader; type SwitchBlock (line 79) | pub type SwitchBlock = Block; FILE: storage/src/block_store/types/transfers.rs type Transfers (line 13) | pub(in crate::block_store) struct Transfers(Vec); method into_owned (line 16) | pub(in crate::block_store) fn into_owned(self) -> Vec { method from (line 22) | fn from(v1_transfers: Vec) -> Self { method from (line 28) | fn from(transfers: Vec) -> Self { method to_bytes (line 34) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 38) | fn serialized_length(&self) -> usize { method write_bytes (line 42) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 48) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { FILE: storage/src/data_access_layer.rs type BlockStore (line 102) | pub struct BlockStore(()); method new (line 106) | pub fn new() -> Self { type DataAccessLayer (line 113) | pub struct DataAccessLayer { function state (line 126) | pub fn state(&self) -> &S { method commit_effects (line 135) | fn commit_effects( method commit_values (line 143) | fn commit_values( type Reader (line 158) | type Reader = S::Reader; method flush (line 160) | fn flush(&self, request: FlushRequest) -> FlushResult { method empty_root (line 164) | fn empty_root(&self) -> Digest { method tracking_copy (line 168) | fn tracking_copy( method checkout (line 182) | fn checkout(&self, state_hash: Digest) -> Result, G... method trie (line 186) | fn trie(&self, request: TrieRequest) -> TrieResult { method put_trie (line 190) | fn put_trie(&self, request: PutTrieRequest) -> PutTrieResult { method missing_children (line 194) | fn missing_children(&self, trie_raw: &[u8]) -> Result, Globa... method enable_entity (line 198) | fn enable_entity(&self) -> bool { FILE: storage/src/data_access_layer/addressable_entity.rs type AddressableEntityRequest (line 6) | pub struct AddressableEntityRequest { method new (line 13) | pub fn new(state_hash: Digest, key: Key) -> Self { method state_hash (line 18) | pub fn state_hash(&self) -> Digest { method key (line 23) | pub fn key(&self) -> Key { type AddressableEntityResult (line 30) | pub enum AddressableEntityResult { method into_option (line 46) | pub fn into_option(self) -> Option { FILE: storage/src/data_access_layer/auction.rs type AuctionMethodError (line 25) | pub enum AuctionMethodError { type AuctionMethod (line 44) | pub enum AuctionMethod { method from_parts (line 137) | pub fn from_parts( method new_activate_bid (line 173) | fn new_activate_bid(runtime_args: &RuntimeArgs) -> Result Result Result Result Result( method try_get_named_argument (line 328) | fn try_get_named_argument( type BiddingRequest (line 350) | pub struct BiddingRequest { method new (line 370) | pub fn new( method config (line 391) | pub fn config(&self) -> &NativeRuntimeConfig { method state_hash (line 396) | pub fn state_hash(&self) -> Digest { method protocol_version (line 401) | pub fn protocol_version(&self) -> ProtocolVersion { method auction_method (line 406) | pub fn auction_method(&self) -> &AuctionMethod { method transaction_hash (line 411) | pub fn transaction_hash(&self) -> TransactionHash { method initiator (line 416) | pub fn initiator(&self) -> &InitiatorAddr { method authorization_keys (line 421) | pub fn authorization_keys(&self) -> &BTreeSet { type AuctionMethodRet (line 428) | pub enum AuctionMethodRet { type BiddingResult (line 437) | pub enum BiddingResult { method is_success (line 455) | pub fn is_success(&self) -> bool { method effects (line 460) | pub fn effects(&self) -> Effects { method maybe_error (line 468) | pub fn maybe_error(&self) -> Option { FILE: storage/src/data_access_layer/balance.rs type BalanceHandling (line 30) | pub enum BalanceHandling { type ProofHandling (line 40) | pub enum ProofHandling { type BalanceIdentifier (line 50) | pub enum BalanceIdentifier { method as_purse_addr (line 75) | pub fn as_purse_addr(&self) -> Option { method purse_uref (line 91) | pub fn purse_uref( method get_system_purse (line 141) | fn get_system_purse( method is_penalty (line 176) | pub fn is_penalty(&self) -> bool { method from (line 191) | fn from(value: InitiatorAddr) -> Self { method default (line 185) | fn default() -> Self { type ProcessingHoldBalanceHandling (line 201) | pub struct ProcessingHoldBalanceHandling {} method new (line 205) | pub fn new() -> Self { method handling (line 210) | pub fn handling(&self) -> HoldBalanceHandling { method is_amortized (line 215) | pub fn is_amortized(&self) -> bool { method interval (line 220) | pub fn interval(&self) -> TimeDiff { method from (line 226) | fn from(_value: (HoldBalanceHandling, u64)) -> Self { type GasHoldBalanceHandling (line 233) | pub struct GasHoldBalanceHandling { method new (line 240) | pub fn new(handling: HoldBalanceHandling, interval: TimeDiff) -> Self { method handling (line 245) | pub fn handling(&self) -> HoldBalanceHandling { method interval (line 250) | pub fn interval(&self) -> TimeDiff { method is_amortized (line 255) | pub fn is_amortized(&self) -> bool { method from (line 261) | fn from(value: (HoldBalanceHandling, TimeDiff)) -> Self { method from (line 270) | fn from(value: (HoldBalanceHandling, u64)) -> Self { type BalanceRequest (line 280) | pub struct BalanceRequest { method new (line 290) | pub fn new( method from_purse (line 307) | pub fn from_purse( method from_public_key (line 324) | pub fn from_public_key( method from_account_hash (line 341) | pub fn from_account_hash( method from_entity_addr (line 358) | pub fn from_entity_addr( method from_internal (line 375) | pub fn from_internal( method state_hash (line 392) | pub fn state_hash(&self) -> Digest { method protocol_version (line 397) | pub fn protocol_version(&self) -> ProtocolVersion { method identifier (line 402) | pub fn identifier(&self) -> &BalanceIdentifier { method balance_handling (line 407) | pub fn balance_handling(&self) -> BalanceHandling { method proof_handling (line 412) | pub fn proof_handling(&self) -> ProofHandling { type AvailableBalanceChecker (line 418) | pub trait AvailableBalanceChecker { method available_balance (line 420) | fn available_balance( method amortization (line 467) | fn amortization( method accrued (line 514) | fn accrued(&self, hold_kind: BalanceHoldAddrTag) -> U512; method holds (line 517) | fn holds(&self, hold_kind: BalanceHoldAddrTag) -> BTreeMap bool; method accrued (line 527) | fn accrued(&self, hold_kind: BalanceHoldAddrTag) -> U512 { method holds (line 535) | fn holds(&self, hold_kind: BalanceHoldAddrTag) -> BTreeMap bool { method accrued (line 557) | fn accrued(&self, hold_kind: BalanceHoldAddrTag) -> U512 { method holds (line 566) | fn holds(&self, hold_kind: BalanceHoldAddrTag) -> BTreeMap bool { type BalanceHolds (line 524) | pub type BalanceHolds = BTreeMap; type BalanceHoldsWithProof (line 553) | pub type BalanceHoldsWithProof = type ProofsResult (line 595) | pub enum ProofsResult { method total_balance_proof (line 612) | pub fn total_balance_proof(&self) -> Option<&TrieMerkleProof Option<&BTreeMap Option<&BTreeMap U512 { method available_balance (line 658) | pub fn available_balance( type BalanceFailure (line 684) | pub enum BalanceFailure { method fmt (line 692) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { type BalanceResult (line 712) | pub enum BalanceResult { method purse_addr (line 732) | pub fn purse_addr(&self) -> Option { method total_balance (line 740) | pub fn total_balance(&self) -> Option<&U512> { method available_balance (line 748) | pub fn available_balance(&self) -> Option<&U512> { method proofs_result (line 758) | pub fn proofs_result(self) -> Option { method is_sufficient (line 766) | pub fn is_sufficient(&self, cost: U512) -> bool { method is_success (line 776) | pub fn is_success(&self) -> bool { method error (line 784) | pub fn error(&self) -> Option<&TrackingCopyError> { method from (line 793) | fn from(tce: TrackingCopyError) -> Self { FILE: storage/src/data_access_layer/balance_hold.rs type BalanceHoldKind (line 16) | pub enum BalanceHoldKind { method matches (line 26) | pub fn matches(&self, balance_hold_addr_tag: BalanceHoldAddrTag) -> bo... type BalanceHoldMode (line 36) | pub enum BalanceHoldMode { method default (line 54) | fn default() -> Self { type InsufficientBalanceHandling (line 65) | pub enum InsufficientBalanceHandling { type BalanceHoldRequest (line 75) | pub struct BalanceHoldRequest { method new_gas_hold (line 85) | pub fn new_gas_hold( method new_processing_hold (line 108) | pub fn new_processing_hold( method new_clear (line 130) | pub fn new_clear( method state_hash (line 146) | pub fn state_hash(&self) -> Digest { method protocol_version (line 151) | pub fn protocol_version(&self) -> ProtocolVersion { method balance_hold_kind (line 156) | pub fn balance_hold_kind(&self) -> BalanceHoldKind { method balance_hold_mode (line 161) | pub fn balance_hold_mode(&self) -> BalanceHoldMode { type BalanceHoldError (line 169) | pub enum BalanceHoldError { method from (line 186) | fn from(be: BalanceFailure) -> Self { method from (line 192) | fn from(tce: TrackingCopyError) -> Self { method fmt (line 198) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { type BalanceHoldResult (line 222) | pub enum BalanceHoldResult { method success (line 248) | pub fn success( method total_balance (line 267) | pub fn total_balance(&self) -> Option<&U512> { method available_balance (line 275) | pub fn available_balance(&self) -> Option<&U512> { method held (line 285) | pub fn held(&self) -> Option<&U512> { method holds (line 293) | pub fn holds(&self) -> Option> { method has_holds (line 303) | pub fn has_holds(&self) -> bool { method is_fully_covered (line 311) | pub fn is_fully_covered(&self) -> bool { method is_success (line 321) | pub fn is_success(&self) -> bool { method is_root_not_found (line 326) | pub fn is_root_not_found(&self) -> bool { method effects (line 331) | pub fn effects(&self) -> Effects { method error_message (line 341) | pub fn error_message(&self) -> Option { method from (line 364) | fn from(be: BalanceFailure) -> Self { method from (line 370) | fn from(tce: TrackingCopyError) -> Self { FILE: storage/src/data_access_layer/balance_identifier_purse.rs type BalanceIdentifierPurseRequest (line 6) | pub struct BalanceIdentifierPurseRequest { method new (line 14) | pub fn new( method state_hash (line 27) | pub fn state_hash(&self) -> Digest { method protocol_version (line 32) | pub fn protocol_version(&self) -> ProtocolVersion { method identifier (line 37) | pub fn identifier(&self) -> &BalanceIdentifier { type BalanceIdentifierPurseResult (line 44) | pub enum BalanceIdentifierPurseResult { method purse_addr (line 58) | pub fn purse_addr(&self) -> Option { method is_success (line 66) | pub fn is_success(&self) -> bool { method error (line 75) | pub fn error(&self) -> Option<&TrackingCopyError> { method from (line 85) | fn from(tce: TrackingCopyError) -> Self { FILE: storage/src/data_access_layer/bids.rs type BidsRequest (line 8) | pub struct BidsRequest { method new (line 14) | pub fn new(state_hash: Digest) -> Self { method state_hash (line 19) | pub fn state_hash(&self) -> Digest { type BidsResult (line 26) | pub enum BidsResult { method into_option (line 40) | pub fn into_option(self) -> Option> { FILE: storage/src/data_access_layer/block_global.rs type BlockGlobalKind (line 8) | pub enum BlockGlobalKind { method default (line 20) | fn default() -> Self { type BlockGlobalRequest (line 27) | pub struct BlockGlobalRequest { method block_time (line 35) | pub fn block_time( method set_protocol_version (line 49) | pub fn set_protocol_version(state_hash: Digest, protocol_version: Prot... method set_addressable_entity (line 59) | pub fn set_addressable_entity( method state_hash (line 73) | pub fn state_hash(&self) -> Digest { method protocol_version (line 78) | pub fn protocol_version(&self) -> ProtocolVersion { method block_global_kind (line 83) | pub fn block_global_kind(&self) -> BlockGlobalKind { type BlockGlobalResult (line 90) | pub enum BlockGlobalResult { method fmt (line 105) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { FILE: storage/src/data_access_layer/block_rewards.rs type BlockRewardsRequest (line 17) | pub struct BlockRewardsRequest { method new (line 27) | pub fn new( method config (line 44) | pub fn config(&self) -> &Config { method state_hash (line 49) | pub fn state_hash(&self) -> Digest { method protocol_version (line 54) | pub fn protocol_version(&self) -> ProtocolVersion { method rewards (line 59) | pub fn rewards(&self) -> &BTreeMap> { method block_time (line 64) | pub fn block_time(&self) -> BlockTime { type BlockRewardsError (line 71) | pub enum BlockRewardsError { type BlockRewardsResult (line 91) | pub enum BlockRewardsResult { method is_success (line 107) | pub fn is_success(&self) -> bool { FILE: storage/src/data_access_layer/contract.rs type ContractRequest (line 5) | pub struct ContractRequest { method new (line 12) | pub fn new(state_hash: Digest, key: Key) -> Self { method key (line 17) | pub fn key(&self) -> Key { method state_hash (line 21) | pub fn state_hash(&self) -> Digest { type ContractResult (line 28) | pub enum ContractResult { FILE: storage/src/data_access_layer/entry_points.rs type EntryPointRequest (line 6) | pub struct EntryPointRequest { method new (line 14) | pub fn new(state_hash: Digest, entry_point_name: String, contract_hash... method state_hash (line 23) | pub fn state_hash(&self) -> Digest { method entry_point_name (line 28) | pub fn entry_point_name(&self) -> &str { method contract_hash (line 33) | pub fn contract_hash(&self) -> HashAddr { method from (line 39) | fn from(value: EntryPointExistsRequest) -> Self { type EntryPointResult (line 50) | pub enum EntryPointResult { type EntryPointExistsRequest (line 66) | pub struct EntryPointExistsRequest { method new (line 74) | pub fn new(state_hash: Digest, entry_point_name: String, contract_hash... method state_hash (line 83) | pub fn state_hash(&self) -> Digest { method entry_point_name (line 88) | pub fn entry_point_name(&self) -> &str { method contract_hash (line 93) | pub fn contract_hash(&self) -> HashAddr { type EntryPointExistsResult (line 100) | pub enum EntryPointExistsResult { method is_success (line 113) | pub fn is_success(self) -> bool { FILE: storage/src/data_access_layer/era_validators.rs type EraValidatorsRequest (line 9) | pub struct EraValidatorsRequest { method new (line 15) | pub fn new(state_hash: Digest) -> Self { method state_hash (line 20) | pub fn state_hash(&self) -> Digest { type EraValidatorsResult (line 27) | pub enum EraValidatorsResult { method is_success (line 45) | pub fn is_success(&self) -> bool { method take_era_validators (line 50) | pub fn take_era_validators(self) -> Option { method fmt (line 62) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { FILE: storage/src/data_access_layer/execution_results_checksum.rs constant EXECUTION_RESULTS_CHECKSUM_NAME (line 5) | pub const EXECUTION_RESULTS_CHECKSUM_NAME: &str = "execution_results_che... type ExecutionResultsChecksumRequest (line 9) | pub struct ExecutionResultsChecksumRequest { method new (line 15) | pub fn new(state_hash: Digest) -> Self { method state_hash (line 20) | pub fn state_hash(&self) -> Digest { type ExecutionResultsChecksumResult (line 27) | pub enum ExecutionResultsChecksumResult { method as_legacy (line 45) | pub fn as_legacy(&self) -> Result, TrackingCopyError> { FILE: storage/src/data_access_layer/fee.rs type FeeRequest (line 17) | pub struct FeeRequest { method new (line 26) | pub fn new( method config (line 41) | pub fn config(&self) -> &NativeRuntimeConfig { method state_hash (line 46) | pub fn state_hash(&self) -> Digest { method protocol_version (line 51) | pub fn protocol_version(&self) -> ProtocolVersion { method fee_handling (line 56) | pub fn fee_handling(&self) -> &FeeHandling { method block_time (line 61) | pub fn block_time(&self) -> BlockTime { method administrative_accounts (line 66) | pub fn administrative_accounts(&self) -> Option<&BTreeSet> { method should_distribute_fees (line 77) | pub fn should_distribute_fees(&self) -> bool { type FeeError (line 94) | pub enum FeeError { type FeeResult (line 117) | pub enum FeeResult { method is_success (line 135) | pub fn is_success(&self) -> bool { FILE: storage/src/data_access_layer/flush.rs type FlushRequest (line 4) | pub struct FlushRequest {} method new (line 8) | pub fn new() -> Self { method default (line 14) | fn default() -> Self { type FlushResult (line 20) | pub enum FlushResult { method flushed (line 31) | pub fn flushed(&self) -> bool { method as_error (line 36) | pub fn as_error(self) -> Result<(), GlobalStateError> { FILE: storage/src/data_access_layer/forced_undelegate.rs type ForcedUndelegateRequest (line 13) | pub struct ForcedUndelegateRequest { method new (line 22) | pub fn new( method config (line 37) | pub fn config(&self) -> &Config { method state_hash (line 42) | pub fn state_hash(&self) -> Digest { method protocol_version (line 47) | pub fn protocol_version(&self) -> ProtocolVersion { method block_time (line 52) | pub fn block_time(&self) -> BlockTime { type ForcedUndelegateError (line 59) | pub enum ForcedUndelegateError { type ForcedUndelegateResult (line 76) | pub enum ForcedUndelegateResult { method is_success (line 92) | pub fn is_success(&self) -> bool { FILE: storage/src/data_access_layer/genesis.rs type GenesisRequest (line 17) | pub struct GenesisRequest { method new (line 26) | pub fn new( method set_enable_entity (line 41) | pub fn set_enable_entity(&mut self, enable: bool) { method push_genesis_account (line 46) | pub fn push_genesis_account(&mut self, genesis_account: GenesisAccount) { method push_genesis_validator (line 51) | pub fn push_genesis_validator( method chainspec_hash (line 61) | pub fn chainspec_hash(&self) -> Digest { method protocol_version (line 66) | pub fn protocol_version(&self) -> ProtocolVersion { method config (line 71) | pub fn config(&self) -> &GenesisConfig { method chainspec_registry (line 76) | pub fn chainspec_registry(&self) -> &ChainspecRegistry { method push_rewards_ratio (line 81) | pub fn push_rewards_ratio(&mut self, rewards_ratio: Ratio) { method sample (line 88) | fn sample(&self, rng: &mut R) -> GenesisRequest { type GenesisResult (line 104) | pub enum GenesisResult { method is_success (line 120) | pub fn is_success(&self) -> bool { method as_legacy (line 125) | pub fn as_legacy(self) -> Result<(Digest, Effects), Box> { FILE: storage/src/data_access_layer/handle_fee.rs type HandleFeeMode (line 12) | pub enum HandleFeeMode { method pay (line 44) | pub fn pay( method burn (line 62) | pub fn burn(source: BalanceIdentifier, amount: Option) -> Self { method credit (line 68) | pub fn credit(validator: Box, amount: U512, era_id: EraId) ... type HandleFeeRequest (line 79) | pub struct HandleFeeRequest { method new (line 95) | pub fn new( method config (line 112) | pub fn config(&self) -> &NativeRuntimeConfig { method state_hash (line 117) | pub fn state_hash(&self) -> Digest { method protocol_version (line 122) | pub fn protocol_version(&self) -> ProtocolVersion { method transaction_hash (line 127) | pub fn transaction_hash(&self) -> TransactionHash { method handle_fee_mode (line 132) | pub fn handle_fee_mode(&self) -> &HandleFeeMode { type HandleFeeResult (line 139) | pub enum HandleFeeResult { method effects (line 155) | pub fn effects(&self) -> Effects { method error_message (line 163) | pub fn error_message(&self) -> Option { FILE: storage/src/data_access_layer/handle_refund.rs type HandleRefundMode (line 13) | pub enum HandleRefundMode { method phase (line 92) | pub fn phase(&self) -> Phase { type HandleRefundRequest (line 108) | pub struct HandleRefundRequest { method new (line 123) | pub fn new( method config (line 140) | pub fn config(&self) -> &NativeRuntimeConfig { method state_hash (line 145) | pub fn state_hash(&self) -> Digest { method protocol_version (line 150) | pub fn protocol_version(&self) -> ProtocolVersion { method transaction_hash (line 155) | pub fn transaction_hash(&self) -> TransactionHash { method refund_mode (line 160) | pub fn refund_mode(&self) -> &HandleRefundMode { type HandleRefundResult (line 167) | pub enum HandleRefundResult { method effects (line 187) | pub fn effects(&self) -> Effects { method refund_amount (line 197) | pub fn refund_amount(&self) -> U512 { method error_message (line 210) | pub fn error_message(&self) -> Option { FILE: storage/src/data_access_layer/key_prefix.rs type KeyPrefix (line 11) | pub enum KeyPrefix { method to_bytes (line 31) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 37) | fn serialized_length(&self) -> usize { method write_bytes (line 63) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 109) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function key_prefix_arb (line 185) | pub fn key_prefix_arb() -> impl Strategy { function key_serializer_compat (line 208) | fn key_serializer_compat() { FILE: storage/src/data_access_layer/message_topics.rs type MessageTopicsRequest (line 6) | pub struct MessageTopicsRequest { method new (line 13) | pub fn new(state_hash: Digest, entity_addr: EntityAddr) -> Self { method state_hash (line 21) | pub fn state_hash(&self) -> Digest { method entity_addr (line 26) | pub fn entity_addr(&self) -> EntityAddr { type MessageTopicsResult (line 33) | pub enum MessageTopicsResult { FILE: storage/src/data_access_layer/mint.rs type BalanceIdentifierTransferArgs (line 19) | pub struct BalanceIdentifierTransferArgs { method new (line 29) | pub fn new( method to (line 46) | pub fn to(&self) -> Option { method source (line 51) | pub fn source(&self) -> &BalanceIdentifier { method target (line 56) | pub fn target(&self) -> &BalanceIdentifier { method amount (line 61) | pub fn amount(&self) -> U512 { method arg_id (line 66) | pub fn arg_id(&self) -> Option { type TransferRequestArgs (line 73) | pub enum TransferRequestArgs { type TransferRequest (line 85) | pub struct TransferRequest { method new (line 105) | pub fn new( method with_runtime_args (line 128) | pub fn with_runtime_args( method new_indirect (line 151) | pub fn new_indirect( method config (line 173) | pub fn config(&self) -> &NativeRuntimeConfig { method transfer_config (line 178) | pub fn transfer_config(&self) -> &TransferConfig { method state_hash (line 183) | pub fn state_hash(&self) -> Digest { method initiator (line 188) | pub fn initiator(&self) -> &InitiatorAddr { method authorization_keys (line 193) | pub fn authorization_keys(&self) -> &BTreeSet { method protocol_version (line 198) | pub fn protocol_version(&self) -> ProtocolVersion { method transaction_hash (line 203) | pub fn transaction_hash(&self) -> TransactionHash { method args (line 208) | pub fn args(&self) -> &TransferRequestArgs { method into_args (line 213) | pub fn into_args(self) -> TransferRequestArgs { method set_state_hash_and_config (line 220) | pub fn set_state_hash_and_config(&mut self, state_hash: Digest, config... type TransferResult (line 228) | pub enum TransferResult { method effects (line 246) | pub fn effects(&self) -> Effects { method transfers (line 254) | pub fn transfers(&self) -> Vec { method error (line 262) | pub fn error(&self) -> Option { type BurnRequestArgs (line 273) | pub enum BurnRequestArgs { type BurnRequest (line 281) | pub struct BurnRequest { method new (line 301) | pub fn new( method with_runtime_args (line 324) | pub fn with_runtime_args( method config (line 346) | pub fn config(&self) -> &NativeRuntimeConfig { method state_hash (line 351) | pub fn state_hash(&self) -> Digest { method initiator (line 356) | pub fn initiator(&self) -> &InitiatorAddr { method authorization_keys (line 361) | pub fn authorization_keys(&self) -> &BTreeSet { method protocol_version (line 366) | pub fn protocol_version(&self) -> ProtocolVersion { method transaction_hash (line 371) | pub fn transaction_hash(&self) -> TransactionHash { method args (line 376) | pub fn args(&self) -> &BurnRequestArgs { method into_args (line 381) | pub fn into_args(self) -> BurnRequestArgs { method set_state_hash_and_config (line 388) | pub fn set_state_hash_and_config(&mut self, state_hash: Digest, config... type BurnResult (line 396) | pub enum BurnResult { method effects (line 412) | pub fn effects(&self) -> Effects { method error (line 420) | pub fn error(&self) -> Option { FILE: storage/src/data_access_layer/prefixed_values.rs type PrefixedValuesRequest (line 7) | pub struct PrefixedValuesRequest { method new (line 14) | pub fn new(state_hash: Digest, key_prefix: KeyPrefix) -> Self { method state_hash (line 22) | pub fn state_hash(&self) -> Digest { method key_prefix (line 27) | pub fn key_prefix(&self) -> &KeyPrefix { type PrefixedValuesResult (line 34) | pub enum PrefixedValuesResult { FILE: storage/src/data_access_layer/protocol_upgrade.rs type ProtocolUpgradeRequest (line 7) | pub struct ProtocolUpgradeRequest { method new (line 13) | pub fn new(config: ProtocolUpgradeConfig) -> Self { method config (line 18) | pub fn config(&self) -> &ProtocolUpgradeConfig { method pre_state_hash (line 23) | pub fn pre_state_hash(&self) -> Digest { type ProtocolUpgradeResult (line 30) | pub enum ProtocolUpgradeResult { method is_success (line 46) | pub fn is_success(&self) -> bool { method is_err (line 51) | pub fn is_err(&self) -> bool { method from (line 60) | fn from(err: ProtocolUpgradeError) -> Self { FILE: storage/src/data_access_layer/prune.rs type PruneRequest (line 9) | pub struct PruneRequest { method new (line 16) | pub fn new(state_hash: Digest, keys_to_prune: Vec) -> Self { method state_hash (line 24) | pub fn state_hash(&self) -> Digest { method keys_to_prune (line 29) | pub fn keys_to_prune(&self) -> &[Key] { type PruneResult (line 36) | pub enum PruneResult { method from (line 53) | fn from(value: TriePruneResult) -> Self { FILE: storage/src/data_access_layer/query.rs type QueryRequest (line 8) | pub struct QueryRequest { method new (line 16) | pub fn new(state_hash: Digest, key: Key, path: Vec) -> Self { method state_hash (line 25) | pub fn state_hash(&self) -> Digest { method key (line 30) | pub fn key(&self) -> Key { method path (line 35) | pub fn path(&self) -> &[String] { type QueryResult (line 61) | pub enum QueryResult { method from (line 41) | fn from(tracking_copy_query_result: TrackingCopyQueryResult) -> Self { FILE: storage/src/data_access_layer/round_seigniorage.rs type RoundSeigniorageRateRequest (line 7) | pub struct RoundSeigniorageRateRequest { method new (line 14) | pub fn new(state_hash: Digest, protocol_version: ProtocolVersion) -> S... method state_hash (line 22) | pub fn state_hash(&self) -> Digest { method protocol_version (line 27) | pub fn protocol_version(&self) -> ProtocolVersion { type RoundSeigniorageRateResult (line 34) | pub enum RoundSeigniorageRateResult { FILE: storage/src/data_access_layer/seigniorage_recipients.rs type SeigniorageRecipientsRequest (line 10) | pub struct SeigniorageRecipientsRequest { method new (line 16) | pub fn new(state_hash: Digest) -> Self { method state_hash (line 21) | pub fn state_hash(&self) -> Digest { type SeigniorageRecipientsResult (line 28) | pub enum SeigniorageRecipientsResult { method is_success (line 48) | pub fn is_success(&self) -> bool { method into_option (line 53) | pub fn into_option(self) -> Option { method fmt (line 68) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { FILE: storage/src/data_access_layer/step.rs type SlashItem (line 19) | pub struct SlashItem { method new (line 26) | pub fn new(validator_id: PublicKey) -> Self { type RewardItem (line 33) | pub struct RewardItem { method new (line 42) | pub fn new(validator_id: PublicKey, value: u64) -> Self { type EvictItem (line 52) | pub struct EvictItem { method new (line 59) | pub fn new(validator_id: PublicKey) -> Self { type StepRequest (line 66) | pub struct StepRequest { method new (line 97) | pub fn new( method config (line 118) | pub fn config(&self) -> &Config { method transfer_config (line 123) | pub fn transfer_config(&self) -> TransferConfig { method slashed_validators (line 128) | pub fn slashed_validators(&self) -> Vec { method state_hash (line 136) | pub fn state_hash(&self) -> Digest { method protocol_version (line 141) | pub fn protocol_version(&self) -> ProtocolVersion { method slash_items (line 146) | pub fn slash_items(&self) -> &Vec { method evict_items (line 151) | pub fn evict_items(&self) -> &Vec { method next_era_id (line 155) | pub fn next_era_id(&self) -> EraId { method era_end_timestamp_millis (line 160) | pub fn era_end_timestamp_millis(&self) -> u64 { type StepError (line 167) | pub enum StepError { method from (line 186) | fn from(tce: TrackingCopyError) -> Self { method from (line 192) | fn from(gse: GlobalStateError) -> Self { method from (line 198) | fn from(cve: CLValueError) -> Self { type StepResult (line 205) | pub enum StepResult { method is_success (line 221) | pub fn is_success(&self) -> bool { FILE: storage/src/data_access_layer/system_entity_registry.rs type SystemEntityRegistrySelector (line 9) | pub enum SystemEntityRegistrySelector { method all (line 18) | pub fn all() -> Self { method mint (line 23) | pub fn mint() -> Self { method auction (line 28) | pub fn auction() -> Self { method handle_payment (line 33) | pub fn handle_payment() -> Self { method name (line 38) | pub fn name(&self) -> Option { type SystemEntityRegistryRequest (line 48) | pub struct SystemEntityRegistryRequest { method new (line 60) | pub fn new( method state_hash (line 75) | pub fn state_hash(&self) -> Digest { method selector (line 80) | pub fn selector(&self) -> &SystemEntityRegistrySelector { method protocol_version (line 85) | pub fn protocol_version(&self) -> ProtocolVersion { method enable_addressable_entity (line 90) | pub fn enable_addressable_entity(&self) -> bool { type SystemEntityRegistryPayload (line 97) | pub enum SystemEntityRegistryPayload { type SystemEntityRegistryResult (line 106) | pub enum SystemEntityRegistryResult { method is_success (line 128) | pub fn is_success(&self) -> bool { method as_registry_payload (line 133) | pub fn as_registry_payload(&self) -> Result Se... method state_hash (line 29) | pub fn state_hash(&self) -> Digest { method key_tag (line 34) | pub fn key_tag(&self) -> KeyTag { method selection (line 41) | pub fn selection(&self) -> TaggedValuesSelection { type TaggedValuesResult (line 48) | pub enum TaggedValuesResult { FILE: storage/src/data_access_layer/total_supply.rs type TotalSupplyRequest (line 6) | pub struct TotalSupplyRequest { method new (line 13) | pub fn new(state_hash: Digest, protocol_version: ProtocolVersion) -> S... method state_hash (line 21) | pub fn state_hash(&self) -> Digest { method protocol_version (line 26) | pub fn protocol_version(&self) -> ProtocolVersion { type TotalSupplyResult (line 33) | pub enum TotalSupplyResult { FILE: storage/src/data_access_layer/trie.rs type TrieRequest (line 7) | pub struct TrieRequest { method new (line 14) | pub fn new(trie_key: Digest, chunk_id: Option) -> Self { method trie_key (line 19) | pub fn trie_key(&self) -> Digest { method chunk_id (line 24) | pub fn chunk_id(&self) -> Option { method has_chunk_id (line 29) | pub fn has_chunk_id(&self) -> bool { type TrieElement (line 36) | pub enum TrieElement { type TrieResult (line 45) | pub enum TrieResult { method into_raw (line 59) | pub fn into_raw(self) -> Result, GlobalStateError> { type PutTrieRequest (line 72) | pub struct PutTrieRequest { method new (line 78) | pub fn new(raw: TrieRaw) -> Self { method raw (line 83) | pub fn raw(&self) -> &TrieRaw { method take_raw (line 88) | pub fn take_raw(self) -> TrieRaw { type PutTrieResult (line 95) | pub enum PutTrieResult { method as_legacy (line 107) | pub fn as_legacy(&self) -> Result { FILE: storage/src/global_state.rs constant MAX_DBS (line 14) | const MAX_DBS: u32 = 2; constant DEFAULT_MAX_DB_SIZE (line 16) | pub(crate) const DEFAULT_MAX_DB_SIZE: usize = 52_428_800; constant DEFAULT_MAX_READERS (line 18) | pub(crate) const DEFAULT_MAX_READERS: u32 = 512; constant DEFAULT_MAX_QUERY_DEPTH (line 20) | pub(crate) const DEFAULT_MAX_QUERY_DEPTH: u64 = 5; type GlobalStateReader (line 23) | pub trait GlobalStateReader: constant DEFAULT_ENABLE_ENTITY (line 33) | pub(crate) const DEFAULT_ENABLE_ENTITY: bool = false; FILE: storage/src/global_state/error.rs type Error (line 14) | pub enum Error { method from (line 53) | fn from(_error: sync::PoisonError) -> Self { FILE: storage/src/global_state/state/lmdb.rs type LmdbGlobalState (line 43) | pub struct LmdbGlobalState { method empty (line 68) | pub fn empty( method new (line 93) | pub fn new( method create_scratch (line 110) | pub fn create_scratch(&self) -> ScratchGlobalState { method get_scratch_store (line 121) | pub(crate) fn get_scratch_store(&self) -> ScratchTrieStore { method put_stored_values (line 126) | pub fn put_stored_values( method environment (line 144) | pub fn environment(&self) -> &LmdbEnvironment { method trie_store (line 150) | pub fn trie_store(&self) -> &LmdbTrieStore { method empty_state_root_hash (line 155) | pub fn empty_state_root_hash(&self) -> Digest { type LmdbGlobalStateView (line 57) | pub struct LmdbGlobalStateView { type Error (line 166) | type Error = GlobalStateError; method read (line 168) | fn read(&self, key: &Key) -> Result, Self::Error> { method read_with_proof (line 184) | fn read_with_proof( method keys_with_prefix (line 205) | fn keys_with_prefix(&self, prefix: &[u8]) -> Result, Self::Er... function compute_empty_root_hash (line 160) | fn compute_empty_root_hash() -> Result<(Digest, Trie),... method commit_effects (line 226) | fn commit_effects( method commit_values (line 239) | fn commit_values( type Reader (line 295) | type Reader = LmdbGlobalStateView; method flush (line 297) | fn flush(&self, _: FlushRequest) -> FlushResult { method checkout (line 308) | fn checkout(&self, state_hash: Digest) -> Result, G... method tracking_copy (line 320) | fn tracking_copy( method empty_root (line 334) | fn empty_root(&self) -> Digest { method trie (line 338) | fn trie(&self, request: TrieRequest) -> TrieResult { method put_trie (line 371) | fn put_trie(&self, request: PutTrieRequest) -> PutTrieResult { method missing_children (line 413) | fn missing_children(&self, trie_raw: &[u8]) -> Result, Globa... method enable_entity (line 426) | fn enable_entity(&self) -> bool { method get_scratch_global_state (line 433) | fn get_scratch_global_state(&self) -> ScratchGlobalState { method write_scratch_to_db (line 438) | fn write_scratch_to_db( method prune_keys (line 460) | fn prune_keys(&self, mut state_root_hash: Digest, keys: &[Key]) -> TrieP... function make_temporary_global_state (line 500) | pub fn make_temporary_global_state( function create_test_pairs (line 548) | fn create_test_pairs() -> Vec<(Key, StoredValue)> { function create_test_pairs_updated (line 561) | fn create_test_pairs_updated() -> [TestPair; 3] { function reads_from_a_checkout_return_expected_values (line 579) | fn reads_from_a_checkout_return_expected_values() { function checkout_fails_if_unknown_hash_is_given (line 589) | fn checkout_fails_if_unknown_hash_is_given() { function commit_updates_state (line 597) | fn commit_updates_state() { function commit_updates_state_and_original_state_stays_intact (line 621) | fn commit_updates_state_and_original_state_stays_intact() { FILE: storage/src/global_state/state/mod.rs type StateReader (line 103) | pub trait StateReader: Sized + Send + Sync { method read (line 108) | fn read(&self, key: &K) -> Result, Self::Error>; method read_with_proof (line 111) | fn read_with_proof(&self, key: &K) -> Result Result, Self::Error>; type CommitError (line 119) | pub enum CommitError { type ScratchProvider (line 141) | pub trait ScratchProvider: CommitProvider { method get_scratch_global_state (line 143) | fn get_scratch_global_state(&self) -> ScratchGlobalState; method write_scratch_to_db (line 145) | fn write_scratch_to_db( method prune_keys (line 151) | fn prune_keys(&self, state_root_hash: Digest, keys: &[Key]) -> TriePru... type CommitProvider (line 155) | pub trait CommitProvider: StateProvider { method commit_effects (line 158) | fn commit_effects( method commit_values (line 165) | fn commit_values( method genesis (line 173) | fn genesis(&self, request: GenesisRequest) -> GenesisResult { method protocol_upgrade (line 209) | fn protocol_upgrade(&self, request: ProtocolUpgradeRequest) -> Protoco... method prune (line 244) | fn prune(&self, request: PruneRequest) -> PruneResult { method step (line 277) | fn step(&self, request: StepRequest) -> StepResult { method distribute_block_rewards (line 379) | fn distribute_block_rewards(&self, request: BlockRewardsRequest) -> Bl... method distribute_fees (line 481) | fn distribute_fees(&self, request: FeeRequest) -> FeeResult { method block_global (line 573) | fn block_global(&self, request: BlockGlobalRequest) -> BlockGlobalResu... type StateProvider (line 652) | pub trait StateProvider: Send + Sync + Sized { method flush (line 657) | fn flush(&self, request: FlushRequest) -> FlushResult; method empty_root (line 660) | fn empty_root(&self) -> Digest; method tracking_copy (line 663) | fn tracking_copy( method checkout (line 669) | fn checkout(&self, state_hash: Digest) -> Result,... method query (line 672) | fn query(&self, request: QueryRequest) -> QueryResult { method message_topics (line 684) | fn message_topics(&self, message_topics_request: MessageTopicsRequest)... method balance_purse (line 698) | fn balance_purse( method balance (line 718) | fn balance(&self, request: BalanceRequest) -> BalanceResult { method balance_hold (line 839) | fn balance_hold(&self, request: BalanceHoldRequest) -> BalanceHoldResu... method era_validators (line 1055) | fn era_validators(&self, request: EraValidatorsRequest) -> EraValidato... method seigniorage_recipients (line 1081) | fn seigniorage_recipients( method bids (line 1119) | fn bids(&self, request: BidsRequest) -> BidsResult { method bidding (line 1155) | fn bidding( method handle_refund (line 1378) | fn handle_refund( method handle_fee (line 1640) | fn handle_fee( method execution_result_checksum (line 1738) | fn execution_result_checksum( method addressable_entity (line 1763) | fn addressable_entity(&self, request: AddressableEntityRequest) -> Add... method system_entity_registry (line 1861) | fn system_entity_registry( method entry_point (line 1908) | fn entry_point(&self, request: EntryPointRequest) -> EntryPointResult { method contract (line 1968) | fn contract(&self, request: ContractRequest) -> ContractResult { method entry_point_exists (line 1987) | fn entry_point_exists(&self, request: EntryPointExistsRequest) -> Entr... method total_supply (line 1997) | fn total_supply(&self, request: TotalSupplyRequest) -> TotalSupplyResu... method round_seigniorage_rate (line 2030) | fn round_seigniorage_rate( method transfer (line 2068) | fn transfer(&self, request: TransferRequest) -> TransferResult { method burn (line 2266) | fn burn(&self, request: BurnRequest) -> BurnResult { method tagged_values (line 2384) | fn tagged_values(&self, request: TaggedValuesRequest) -> TaggedValuesR... method prefixed_values (line 2417) | fn prefixed_values(&self, request: PrefixedValuesRequest) -> PrefixedV... method trie (line 2443) | fn trie(&self, request: TrieRequest) -> TrieResult; method put_trie (line 2446) | fn put_trie(&self, request: PutTrieRequest) -> PutTrieResult; method missing_children (line 2449) | fn missing_children(&self, trie_raw: &[u8]) -> Result, Glo... method enable_entity (line 2452) | fn enable_entity(&self) -> bool; function get_round_seigniorage_rate_data (line 2455) | fn get_round_seigniorage_rate_data( function get_total_supply_data (line 2503) | fn get_total_supply_data( function get_snapshot_data (line 2546) | fn get_snapshot_data( function query_snapshot (line 2606) | fn query_snapshot( function query_snapshot_version (line 2662) | fn query_snapshot_version( function build_query_requests (line 2693) | fn build_query_requests( function put_stored_values (line 2723) | pub fn put_stored_values<'a, R, S, E>( function commit (line 2753) | pub fn commit<'a, R, S, E>( FILE: storage/src/global_state/state/scratch.rs type SharedCache (line 40) | type SharedCache = Arc>; type Cache (line 42) | struct Cache { method new (line 138) | fn new() -> Self { method is_empty (line 147) | pub fn is_empty(&self) -> bool { method insert_write (line 151) | fn insert_write(&mut self, key: Key, value: StoredValue) -> Result<(),... method insert_read (line 160) | fn insert_read(&mut self, key: Key, value: StoredValue) -> Result<(), ... method prune (line 167) | fn prune(&mut self, key: Key) -> Result<(), bytesrepr::Error> { method get (line 174) | fn get(&self, key: &Key) -> Option<&StoredValue> { method into_dirty_writes (line 183) | fn into_dirty_writes(self) -> (Vec<(Key, StoredValue)>, BTreeSet) { type CacheTrieNode (line 48) | struct CacheTrieNode { function new (line 54) | fn new() -> Self { function remove (line 61) | fn remove(&mut self, bytes: &[u8], depth: usize) -> bool { type CacheTrie (line 80) | struct CacheTrie { function new (line 85) | fn new() -> Self { function insert (line 91) | fn insert(&mut self, key_bytes: &[u8], key: T) { function keys_with_prefix (line 102) | fn keys_with_prefix(&self, prefix: &[u8]) -> Vec { function collect_keys (line 117) | fn collect_keys(&self, start_node: &CacheTrieNode, result: &mut Vec bool { type ScratchGlobalState (line 210) | pub struct ScratchGlobalState { method new (line 246) | pub fn new( method into_inner (line 264) | pub fn into_inner(self) -> (Vec<(Key, StoredValue)>, BTreeSet) { type ScratchGlobalStateView (line 226) | pub struct ScratchGlobalStateView { method is_empty (line 238) | pub fn is_empty(&self) -> bool { type Error (line 271) | type Error = GlobalStateError; method read (line 273) | fn read(&self, key: &Key) -> Result, Self::Error> { method read_with_proof (line 304) | fn read_with_proof( method keys_with_prefix (line 330) | fn keys_with_prefix(&self, prefix: &[u8]) -> Result, Self::Er... method commit_effects (line 364) | fn commit_effects( method commit_values (line 436) | fn commit_values( type Reader (line 456) | type Reader = ScratchGlobalStateView; method flush (line 458) | fn flush(&self, _: FlushRequest) -> FlushResult { method empty_root (line 469) | fn empty_root(&self) -> Digest { method tracking_copy (line 473) | fn tracking_copy( method checkout (line 487) | fn checkout(&self, state_hash: Digest) -> Result, G... method trie (line 500) | fn trie(&self, request: TrieRequest) -> TrieResult { method put_trie (line 533) | fn put_trie(&self, request: PutTrieRequest) -> PutTrieResult { method missing_children (line 575) | fn missing_children(&self, trie_raw: &[u8]) -> Result, Globa... method enable_entity (line 588) | fn enable_entity(&self) -> bool { type TestPair (line 614) | pub(crate) struct TestPair { function create_test_pairs (line 619) | pub(crate) fn create_test_pairs() -> [TestPair; 2] { function create_test_pairs_updated (line 632) | pub(crate) fn create_test_pairs_updated() -> [TestPair; 3] { function create_test_transforms (line 649) | pub(crate) fn create_test_transforms() -> Effects { type TestState (line 659) | pub(crate) struct TestState { function create_test_state (line 665) | pub(crate) fn create_test_state() -> TestState { function commit_updates_state (line 719) | fn commit_updates_state() { function commit_updates_state_with_add (line 768) | fn commit_updates_state_with_add() { function commit_updates_state_and_original_state_stays_intact (line 814) | fn commit_updates_state_and_original_state_stays_intact() { function cache_trie_basic_insert_get (line 854) | fn cache_trie_basic_insert_get() { function cache_trie_overlapping_prefix (line 869) | fn cache_trie_overlapping_prefix() { function cache_trie_leaf_removal (line 887) | fn cache_trie_leaf_removal() { function cache_trie_internal_node_removal (line 900) | fn cache_trie_internal_node_removal() { function cache_trie_non_existent_prefix (line 913) | fn cache_trie_non_existent_prefix() { function cache_trie_empty_trie_search (line 926) | fn cache_trie_empty_trie_search() { function cache_trie_empty_prefix_search_all_keys (line 933) | fn cache_trie_empty_prefix_search_all_keys() { FILE: storage/src/global_state/store/mod.rs type Store (line 14) | pub trait Store { method handle (line 22) | fn handle(&self) -> Self::Handle; method deserialize_value (line 26) | fn deserialize_value(&self, bytes: &[u8]) -> Result method serialize_value (line 35) | fn serialize_value(&self, value: &V) -> Result, bytesrepr::Error> method get (line 44) | fn get(&self, txn: &T, key: &K) -> Result, Self::Error> method get_raw (line 63) | fn get_raw(&self, txn: &T, key: &K) -> Result, Self::... method put (line 75) | fn put(&self, txn: &mut T, key: &K, value: &V) -> Result<(), Self::... method put_raw (line 92) | fn put_raw( FILE: storage/src/global_state/store/store_ext.rs type StoreExt (line 11) | pub trait StoreExt: Store { method get_many (line 13) | fn get_many<'a, T>( method put_many (line 34) | fn put_many<'a, T>( FILE: storage/src/global_state/store/tests.rs function roundtrip (line 11) | fn roundtrip<'a, K, V, X, S>( function roundtrip_succeeds (line 31) | pub fn roundtrip_succeeds<'a, K, V, X, S>( FILE: storage/src/global_state/transaction_source/lmdb.rs constant EE_DB_FILENAME (line 16) | const EE_DB_FILENAME: &str = "data.lmdb"; type Error (line 19) | type Error = error::Error; type Handle (line 20) | type Handle = ScratchTrieStore; method commit (line 21) | fn commit(self) -> Result<(), Self::Error> { method read (line 28) | fn read(&self, handle: Self::Handle, key: &[u8]) -> Result... method write (line 39) | fn write(&mut self, handle: Self::Handle, key: &[u8], value: &[u8]) -> R... type Error (line 48) | type Error = error::Error; type Handle (line 49) | type Handle = ScratchTrieStore; type ReadTransaction (line 50) | type ReadTransaction = ScratchTrieStore; type ReadWriteTransaction (line 51) | type ReadWriteTransaction = ScratchTrieStore; method create_read_txn (line 52) | fn create_read_txn(&'a self) -> Result Result Result<(), Self::Error> { method read (line 72) | fn read(&self, handle: Self::Handle, key: &[u8]) -> Result... type Error (line 82) | type Error = lmdb::Error; type Handle (line 84) | type Handle = Database; method commit (line 86) | fn commit(self) -> Result<(), Self::Error> { method read (line 92) | fn read(&self, handle: Self::Handle, key: &[u8]) -> Result... method write (line 102) | fn write(&mut self, handle: Self::Handle, key: &[u8], value: &[u8]) -> R... type LmdbEnvironment (line 111) | pub struct LmdbEnvironment { method new (line 118) | pub fn new>( method env (line 149) | pub fn env(&self) -> &Environment { method is_manual_sync_enabled (line 154) | pub fn is_manual_sync_enabled(&self) -> bool { method sync (line 159) | pub fn sync(&self) -> Result<(), lmdb::Error> { type Error (line 165) | type Error = lmdb::Error; type Handle (line 167) | type Handle = Database; type ReadTransaction (line 169) | type ReadTransaction = RoTransaction<'a>; type ReadWriteTransaction (line 171) | type ReadWriteTransaction = RwTransaction<'a>; method create_read_txn (line 173) | fn create_read_txn(&'a self) -> Result, Self::Error> { method create_read_write_txn (line 177) | fn create_read_write_txn(&'a self) -> Result, Self::... FILE: storage/src/global_state/transaction_source/mod.rs type Transaction (line 7) | pub trait Transaction: Sized { method commit (line 16) | fn commit(self) -> Result<(), Self::Error>; method abort (line 21) | fn abort(self) { type Readable (line 27) | pub trait Readable: Transaction { method read (line 29) | fn read(&self, handle: Self::Handle, key: &[u8]) -> Result... type TransactionSource (line 40) | pub trait TransactionSource<'a> { method create_read_txn (line 56) | fn create_read_txn(&'a self) -> Result Result impl Strategy { function trie_leaf_arb (line 21) | pub fn trie_leaf_arb() -> impl Strategy> { function trie_extension_arb (line 26) | pub fn trie_extension_arb() -> impl Strategy impl Strategy> { FILE: storage/src/global_state/trie/mod.rs constant USIZE_EXCEEDS_U8 (line 32) | pub(crate) const USIZE_EXCEEDS_U8: &str = "usize exceeds u8"; constant RADIX (line 33) | pub(crate) const RADIX: usize = 256; type Parents (line 36) | pub type Parents = Vec<(u8, Trie)>; type PointerBlockValue (line 39) | pub type PointerBlockValue = Option; type PointerBlockArray (line 42) | pub type PointerBlockArray = [PointerBlockValue; RADIX]; type PointerBlock (line 46) | pub struct PointerBlock(PointerBlockArray); method deserialize (line 71) | fn deserialize(deserializer: D) -> Result method new (line 107) | pub fn new() -> Self { method from_indexed_pointers (line 112) | pub fn from_indexed_pointers(indexed_pointers: &[(u8, Pointer)]) -> Se... method as_indexed_pointers (line 121) | pub fn as_indexed_pointers(&self) -> impl Iterator usize { method from (line 138) | fn from(src: PointerBlockArray) -> Self { type Output (line 205) | type Output = PointerBlockValue; method index (line 208) | fn index(&self, index: usize) -> &Self::Output { method index_mut (line 216) | fn index_mut(&mut self, index: usize) -> &mut Self::Output { type Output (line 223) | type Output = [PointerBlockValue]; method index (line 226) | fn index(&self, index: core::ops::Range) -> &[PointerBlockValue] { type Output (line 233) | type Output = [PointerBlockValue]; method index (line 236) | fn index(&self, index: core::ops::RangeTo) -> &[PointerBlockVal... type Output (line 243) | type Output = [PointerBlockValue]; method index (line 246) | fn index(&self, index: core::ops::RangeFrom) -> &[PointerBlockV... type Output (line 253) | type Output = [PointerBlockValue]; method index (line 256) | fn index(&self, index: core::ops::RangeFull) -> &[PointerBlockValue] { method fmt (line 264) | fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { method serialize (line 49) | fn serialize(&self, serializer: S) -> Result method eq (line 145) | fn eq(&self, other: &PointerBlock) -> bool { method default (line 153) | fn default() -> Self { method to_bytes (line 159) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 167) | fn serialized_length(&self) -> usize { method write_bytes (line 171) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 180) | fn from_bytes(mut bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Erro... type TrieRaw (line 277) | pub struct TrieRaw(Bytes); method new (line 281) | pub fn new(bytes: Bytes) -> Self { method into_inner (line 286) | pub fn into_inner(self) -> Bytes { method inner (line 291) | pub fn inner(&self) -> &Bytes { method hash (line 296) | pub fn hash(&self) -> Digest { method to_bytes (line 302) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 306) | fn serialized_length(&self) -> usize { method from_bytes (line 312) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { type TrieTag (line 321) | pub(crate) enum TrieTag { function from (line 331) | fn from(value: TrieTag) -> Self { type Trie (line 338) | pub enum Trie { method fmt (line 365) | fn fmt(&self, f: &mut Formatter) -> fmt::Result { function tag (line 371) | fn tag(&self) -> TrieTag { function tag_type (line 380) | pub fn tag_type(&self) -> String { function leaf (line 389) | pub fn leaf(key: K, value: V) -> Self { function node (line 394) | pub fn node(indexed_pointers: &[(u8, Pointer)]) -> Self { function extension (line 401) | pub fn extension(affix: Vec, pointer: Pointer) -> Self { function key (line 409) | pub fn key(&self) -> Option<&K> { function trie_hash (line 417) | pub fn trie_hash(&self) -> Result function trie_hash_and_bytes (line 426) | pub fn trie_hash_and_bytes(&self) -> Result<(Digest, Vec), bytesrepr... function as_pointer_block (line 435) | pub fn as_pointer_block(&self) -> Option<&PointerBlock> { function iter_children (line 444) | pub fn iter_children(&self) -> DescendantsIterator { type TrieLeafBytes (line 460) | pub(crate) struct TrieLeafBytes(Bytes); method bytes (line 463) | pub(crate) fn bytes(&self) -> &Bytes { method try_deserialize_leaf_key (line 467) | pub(crate) fn try_deserialize_leaf_key( method from (line 483) | fn from(value: &[u8]) -> Self { method from (line 489) | fn from(value: Vec) -> Self { type LazilyDeserializedTrie (line 496) | pub(crate) enum LazilyDeserializedTrie { method iter_children (line 506) | pub(crate) fn iter_children(&self) -> DescendantsIterator { type Error (line 551) | type Error = bytesrepr::Error; method try_from (line 553) | fn try_from(value: Trie) -> Result { method from_bytes (line 523) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { type DescendantsIterator (line 568) | pub enum DescendantsIterator<'a> { type Item (line 579) | type Item = Digest; method next (line 581) | fn next(&mut self) -> Option { method to_bytes (line 596) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 602) | fn serialized_length(&self) -> usize { method write_bytes (line 613) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 633) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { type Error (line 661) | type Error = bytesrepr::Error; function try_from (line 663) | fn try_from(value: LazilyDeserializedTrie) -> Result { function create_hashed_empty_trie (line 688) | pub fn create_hashed_empty_trie( FILE: storage/src/global_state/trie/tests.rs function radix_is_256 (line 2) | fn radix_is_256() { function debug_formatter_succeeds (line 17) | fn debug_formatter_succeeds() { function assignment_and_indexing (line 22) | fn assignment_and_indexing() { function assignment_off_end (line 36) | fn assignment_off_end() { function indexing_off_end (line 45) | fn indexing_off_end() { function trie_node_descendants_iterator (line 51) | fn trie_node_descendants_iterator() { function test_trie_roundtrip_to_lazy_trie (line 107) | fn test_trie_roundtrip_to_lazy_trie(trie: &Trie) FILE: storage/src/global_state/trie_store/cache/mod.rs type CacheError (line 16) | pub enum CacheError { type CachePointer (line 24) | enum CachePointer { function load_from_store (line 32) | fn load_from_store(&mut self, txn: &T, store: &S) -> Result<(), E> type TrieCacheNode (line 55) | enum TrieCacheNode { function from (line 70) | fn from(node: Trie) -> Self { type TrieCache (line 91) | pub struct TrieCache<'a, K, V, S> { function new (line 102) | pub fn new(txn: &T, store: &'a S, root: &Digest) -> Result function insert (line 117) | pub fn insert(&mut self, key: K, value: V, txn: &T) -> Result<(), E> function traverse_and_store (line 259) | fn traverse_and_store( function store_cache (line 312) | pub fn store_cache(self, txn: &mut T) -> Result function traverse (line 333) | fn traverse(node: TrieCacheNode) -> Pointer { function calculate_root_hash (line 370) | pub fn calculate_root_hash(self) -> Digest { FILE: storage/src/global_state/trie_store/lmdb.rs type LmdbTrieStore (line 133) | pub struct LmdbTrieStore { method new (line 139) | pub fn new( method open (line 150) | pub fn open(env: &LmdbEnvironment, maybe_name: Option<&str>) -> Result... method name (line 156) | fn name(maybe_name: Option<&str>) -> String { method get_db (line 163) | pub fn get_db(&self) -> Database { type Error (line 169) | type Error = error::Error; type Handle (line 171) | type Handle = Database; method handle (line 173) | fn handle(&self) -> Self::Handle { type Cache (line 183) | pub(crate) type Cache = Arc>>; type ScratchTrieStore (line 187) | pub(crate) struct ScratchTrieStore { method new (line 195) | pub fn new(store: Arc, env: Arc) -> Se... method write_root_to_db (line 205) | pub fn write_root_to_db(self, state_root: Digest) -> Result<(), error:... type Error (line 239) | type Error = error::Error; type Handle (line 241) | type Handle = ScratchTrieStore; method handle (line 243) | fn handle(&self) -> Self::Handle { method get (line 247) | fn get(&self, txn: &T, key: &Digest) -> Result(&self, txn: &T, key: &Digest) -> Result, S... method put (line 293) | fn put( method put_raw (line 307) | fn put_raw( FILE: storage/src/global_state/trie_store/mod.rs constant NAME (line 20) | const NAME: &str = "TRIE_STORE"; type TrieStore (line 23) | pub trait TrieStore: Store> {} FILE: storage/src/global_state/trie_store/operations/mod.rs type ReadResult (line 33) | pub enum ReadResult { function is_found (line 45) | pub fn is_found(&self) -> bool { function read (line 51) | pub fn read(txn: &T, store: &S, root: &Digest, key: &K) -... function read_with_proof (line 145) | pub fn read_with_proof( function missing_children (line 244) | pub fn missing_children( type TrieScanRaw (line 297) | struct TrieScanRaw { function new (line 303) | fn new(tip: LazilyDeserializedTrie, parents: Parents) -> Self { function scan_raw (line 312) | fn scan_raw( type TriePruneResult (line 413) | pub enum TriePruneResult { function prune (line 425) | pub(crate) fn prune( function rehash (line 638) | fn rehash( function common_prefix (line 681) | pub(super) fn common_prefix(ls: &[A], rs: &[A]) -> Vec { function get_parents_path (line 689) | fn get_parents_path(parents: &[(u8, Trie)]) -> Vec { function add_node_to_parents (line 706) | fn add_node_to_parents( function reparent_leaf (line 750) | fn reparent_leaf( type SplitResult (line 792) | struct SplitResult { function split_extension (line 806) | fn split_extension( type WriteResult (line 867) | pub enum WriteResult { function write (line 877) | pub fn write( function batch_write (line 971) | pub fn batch_write( function put_trie (line 995) | pub fn put_trie(txn: &mut T, store: &S, trie_bytes: &[u8]... type KeysIteratorState (line 1009) | enum KeysIteratorState> { type VisitedTrieNode (line 1019) | struct VisitedTrieNode { type KeysIterator (line 1026) | pub struct KeysIterator<'a, 'b, K, V, T, S: TrieStore> { type Item (line 1042) | type Item = Result; method next (line 1044) | fn next(&mut self) -> Option { function keys_with_prefix (line 1196) | pub fn keys_with_prefix<'a, 'b, K, V, T, S>( function keys (line 1242) | pub fn keys<'a, 'b, K, V, T, S>( function check_integrity (line 1259) | pub fn check_integrity( function compute_state_hash (line 1355) | pub fn compute_state_hash(proof: &TrieMerkleProof) -> Result... FILE: storage/src/global_state/trie_store/operations/store_wrappers.rs type NonDeserializingStore (line 24) | pub(crate) struct NonDeserializingStore<'a, K, V, S>(&'a S, PhantomData<... function new (line 32) | pub(crate) fn new(store: &'a S) -> Self { type Error (line 41) | type Error = S::Error; type Handle (line 43) | type Handle = S::Handle; function handle (line 46) | fn handle(&self) -> Self::Handle { function deserialize_value (line 51) | fn deserialize_value(&self, bytes: &[u8]) -> Result, bytesrep... function serialize_value (line 70) | fn serialize_value(&self, value: &Trie) -> Result, bytesre... function get (line 78) | fn get(&self, txn: &T, key: &Digest) -> Result>, Se... function get_raw (line 89) | fn get_raw(&self, txn: &T, key: &Digest) -> Result(&self, txn: &mut T, key: &Digest, value: &Trie) -> Resul... function put_raw (line 110) | fn put_raw( type OnceDeserializingStore (line 125) | pub(crate) struct OnceDeserializingStore<'a, K: ToBytes, V: ToBytes, S: ... function new (line 138) | pub(crate) fn new(store: &'a S) -> Self { type Error (line 154) | type Error = S::Error; type Handle (line 156) | type Handle = S::Handle; function handle (line 159) | fn handle(&self) -> Self::Handle { function deserialize_value (line 164) | fn deserialize_value(&self, bytes: &[u8]) -> Result, bytesrep... function serialize_value (line 189) | fn serialize_value(&self, value: &Trie) -> Result, bytesre... function get (line 197) | fn get(&self, txn: &T, key: &Digest) -> Result>, Se... function get_raw (line 208) | fn get_raw(&self, txn: &T, key: &Digest) -> Result(&self, txn: &mut T, key: &Digest, value: &Trie) -> Resul... function put_raw (line 229) | fn put_raw( FILE: storage/src/global_state/trie_store/operations/tests/bytesrepr_utils.rs type PanickingFromBytes (line 4) | pub(crate) struct PanickingFromBytes(T); function new (line 7) | pub(crate) fn new(inner: T) -> PanickingFromBytes { method from_bytes (line 16) | fn from_bytes(_: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method into_bytes (line 25) | fn into_bytes(self) -> Result, bytesrepr::Error> method write_bytes (line 32) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method to_bytes (line 36) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 40) | fn serialized_length(&self) -> usize { FILE: storage/src/global_state/trie_store/operations/tests/ee_699.rs constant BASIC_LENGTH (line 11) | pub const BASIC_LENGTH: usize = 4; constant SIMILAR_LENGTH (line 12) | pub const SIMILAR_LENGTH: usize = 4; constant FANCY_LENGTH (line 13) | pub const FANCY_LENGTH: usize = 5; constant LONG_LENGTH (line 14) | pub const LONG_LENGTH: usize = 8; constant PUBLIC_KEY_BASIC_ID (line 16) | const PUBLIC_KEY_BASIC_ID: u8 = 0; constant PUBLIC_KEY_SIMILAR_ID (line 17) | const PUBLIC_KEY_SIMILAR_ID: u8 = 1; constant PUBLIC_KEY_FANCY_ID (line 18) | const PUBLIC_KEY_FANCY_ID: u8 = 2; constant PUBLIC_KEY_LONG_ID (line 19) | const PUBLIC_KEY_LONG_ID: u8 = 3; constant KEY_HASH_LENGTH (line 21) | pub const KEY_HASH_LENGTH: usize = 32; constant KEY_ACCOUNT_ID (line 23) | const KEY_ACCOUNT_ID: u8 = 0; constant KEY_HASH_ID (line 24) | const KEY_HASH_ID: u8 = 1; constant KEY_UREF_ID (line 25) | const KEY_UREF_ID: u8 = 2; type PublicKey (line 193) | pub enum PublicKey { method to_bytes (line 201) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 224) | fn serialized_length(&self) -> usize { method from_bytes (line 236) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function public_key_arb (line 260) | fn public_key_arb() -> impl Strategy { type TestKey (line 270) | pub enum TestKey { method to_bytes (line 277) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 296) | fn serialized_length(&self) -> usize { method from_bytes (line 307) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function test_key_arb (line 327) | fn test_key_arb() -> impl Strategy { function random_key_generation_works_as_expected (line 342) | fn random_key_generation_works_as_expected() { type TestTrie (line 358) | type TestTrie = Trie; constant TEST_LEAVES_LENGTH (line 360) | const TEST_LEAVES_LENGTH: usize = 6; constant TEST_LEAVES (line 364) | const TEST_LEAVES: [TestTrie; TEST_LEAVES_LENGTH] = [ function create_0_leaf_trie (line 391) | fn create_0_leaf_trie() -> Result<(Digest, Vec RangeInclusive { function lmdb_roundtrip_succeeds (line 464) | fn lmdb_roundtrip_succeeds(pairs: &[(TestKey, TestValue)]) -> bool { function test_value_arb (line 488) | fn test_value_arb() -> impl Strategy { FILE: storage/src/global_state/trie_store/operations/tests/keys.rs function lmdb_keys_from_n_leaf_partial_trie_had_expected_results (line 15) | fn lmdb_keys_from_n_leaf_partial_trie_had_expected_results() { function lmdb_keys_from_n_leaf_full_trie_had_expected_results (line 65) | fn lmdb_keys_from_n_leaf_full_trie_had_expected_results() { function create_invalid_extension_trie (line 122) | fn create_invalid_extension_trie() -> Result<(Digest, Vec Result<(Digest, Vec), b... function create_invalid_hash_trie (line 148) | fn create_invalid_hash_trie() -> Result<(Digest, Vec), b... function test_trie (line 170) | fn test_trie(root_hash: Digest, tries: Vec) { function should_panic_on_leaf_after_extension (line 183) | fn should_panic_on_leaf_after_extension() { function should_panic_when_key_not_matching_path (line 190) | fn should_panic_when_key_not_matching_path() { function should_panic_on_pointer_to_nonexisting_hash (line 197) | fn should_panic_on_pointer_to_nonexisting_hash() { function expected_keys (line 216) | fn expected_keys(prefix: &[u8]) -> Vec { function test_prefix (line 227) | fn test_prefix(prefix: &[u8]) { function test_prefixes (line 249) | fn test_prefixes() { FILE: storage/src/global_state/trie_store/operations/tests/mod.rs constant TEST_KEY_LENGTH (line 38) | const TEST_KEY_LENGTH: usize = 7; type TestKey (line 42) | struct TestKey([u8; TEST_KEY_LENGTH]); method to_bytes (line 45) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 49) | fn serialized_length(&self) -> usize { method from_bytes (line 55) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { type VariableAddr (line 64) | enum VariableAddr { type VariableAddrTag (line 69) | pub enum VariableAddrTag { method to_bytes (line 75) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 81) | fn serialized_length(&self) -> usize { method write_bytes (line 88) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 101) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { type MultiVariantTestKey (line 117) | enum MultiVariantTestKey { constant VARIABLE_SIZE_KEY_TAG (line 121) | const VARIABLE_SIZE_KEY_TAG: u8 = 1; method to_bytes (line 124) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 130) | fn serialized_length(&self) -> usize { method write_bytes (line 136) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 148) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { constant TEST_VAL_LENGTH (line 160) | const TEST_VAL_LENGTH: usize = 6; type TestValue (line 164) | struct TestValue([u8; TEST_VAL_LENGTH]); method to_bytes (line 167) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 171) | fn serialized_length(&self) -> usize { method from_bytes (line 177) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { type TestTrie (line 186) | type TestTrie = Trie; type HashedTestTrie (line 188) | type HashedTestTrie = HashedTrie; type HashedTrie (line 192) | struct HashedTrie { function new (line 198) | pub fn new(trie: Trie) -> Result { constant EMPTY_HASHED_TEST_TRIES (line 205) | const EMPTY_HASHED_TEST_TRIES: &[HashedTestTrie] = &[]; constant TEST_LEAVES_LENGTH (line 207) | const TEST_LEAVES_LENGTH: usize = 6; constant TEST_LEAVES (line 211) | const TEST_LEAVES: [TestTrie; TEST_LEAVES_LENGTH] = [ constant TEST_LEAVES_UPDATED (line 238) | const TEST_LEAVES_UPDATED: [TestTrie; TEST_LEAVES_LENGTH] = [ constant TEST_LEAVES_NON_COLLIDING (line 265) | const TEST_LEAVES_NON_COLLIDING: [TestTrie; TEST_LEAVES_LENGTH] = [ constant TEST_LEAVES_ADJACENTS (line 292) | const TEST_LEAVES_ADJACENTS: [TestTrie; TEST_LEAVES_LENGTH] = [ type TrieGenerator (line 319) | type TrieGenerator = fn() -> Result<(Digest, Vec>... constant TEST_TRIE_GENERATORS_LENGTH (line 321) | const TEST_TRIE_GENERATORS_LENGTH: usize = 7; constant TEST_TRIE_GENERATORS (line 323) | const TEST_TRIE_GENERATORS: [TrieGenerator; TEST_TRI... function hash_test_tries (line 333) | fn hash_test_tries(tries: &[TestTrie]) -> Result, by... function create_0_leaf_trie (line 340) | fn create_0_leaf_trie() -> Result<(Digest, Vec), bytesre... function create_empty_trie (line 356) | fn create_empty_trie() -> Result<(Digest, Vec>), ... function create_1_leaf_trie (line 368) | fn create_1_leaf_trie() -> Result<(Digest, Vec), bytesre... function create_2_leaf_trie (line 387) | fn create_2_leaf_trie() -> Result<(Digest, Vec), bytesre... function create_3_leaf_trie (line 416) | fn create_3_leaf_trie() -> Result<(Digest, Vec), bytesre... function create_4_leaf_trie (line 455) | fn create_4_leaf_trie() -> Result<(Digest, Vec), bytesre... function create_5_leaf_trie (line 499) | fn create_5_leaf_trie() -> Result<(Digest, Vec), bytesre... function create_6_leaf_trie (line 548) | fn create_6_leaf_trie() -> Result<(Digest, Vec), bytesre... function put_tries (line 597) | fn put_tries<'a, K, V, R, S, E>( type LmdbTestContext (line 622) | struct LmdbTestContext { method new (line 629) | fn new(tries: &[HashedTrie]) -> anyhow::Result method update (line 650) | fn update(&self, tries: &[HashedTrie]) -> anyhow::Result<()> function check_leaves_exist (line 660) | fn check_leaves_exist( function check_merkle_proofs (line 690) | fn check_merkle_proofs( function check_keys (line 727) | fn check_keys(txn: &T, store: &S, root: &Digest, leaves: &[T... function check_leaves (line 754) | fn check_leaves<'a, K, V, R, S, E>( function write_leaves (line 801) | fn write_leaves<'a, K, V, R, S, E>( function check_pairs_proofs (line 844) | fn check_pairs_proofs<'a, K, V, R, S, E>( function check_pairs (line 877) | fn check_pairs<'a, K, V, R, S, E>( function write_pairs (line 922) | fn write_pairs<'a, K, V, R, S, E>( function writes_to_n_leaf_empty_trie_had_expected_results (line 960) | fn writes_to_n_leaf_empty_trie_had_expected_results<'a, K, V, R, WR, S, ... FILE: storage/src/global_state/trie_store/operations/tests/proptests.rs constant DEFAULT_MIN_LENGTH (line 11) | const DEFAULT_MIN_LENGTH: usize = 0; constant DEFAULT_MAX_LENGTH (line 13) | const DEFAULT_MAX_LENGTH: usize = 100; function get_range (line 15) | fn get_range() -> RangeInclusive { function lmdb_roundtrip_succeeds (line 25) | fn lmdb_roundtrip_succeeds(pairs: &[(TestKey, TestValue)]) -> bool { function test_key_arb (line 57) | fn test_key_arb() -> impl Strategy { function test_value_arb (line 61) | fn test_value_arb() -> impl Strategy { FILE: storage/src/global_state/trie_store/operations/tests/prune.rs function checked_prune (line 4) | fn checked_prune<'a, K, V, R, WR, S, WS, E>( function prune_from_partial_trie_had_expected_results (line 45) | fn prune_from_partial_trie_had_expected_results<'a, K, V, R, WR, S, WS, E>( function lmdb_prune_from_partial_trie_had_expected_results (line 97) | fn lmdb_prune_from_partial_trie_had_expected_results() { function prune_non_existent_key_from_partial_trie_should_return_does_not_exist (line 126) | fn prune_non_existent_key_from_partial_trie_should_return_does_not_exist< function lmdb_prune_non_existent_key_from_partial_trie_should_return_does_not_exist (line 174) | fn lmdb_prune_non_existent_key_from_partial_trie_should_return_does_not_... function serially_insert_and_prune (line 226) | fn serially_insert_and_prune<'a, K, V, R, S, E>( function lmdb_serially_insert_and_prune (line 273) | fn lmdb_serially_insert_and_prune() { constant INTERLEAVED_INSERT_AND_PRUNE_TEST_LEAVES_1 (line 291) | const INTERLEAVED_INSERT_AND_PRUNE_TEST_LEAVES_1: [(TestKey, TestValue);... constant INTERLEAVED_PRUNE_TEST_KEYS_1 (line 297) | const INTERLEAVED_PRUNE_TEST_KEYS_1: [TestKey; 1] = [TestKey([1u8; 7])]; function interleaved_insert_and_prune (line 299) | fn interleaved_insert_and_prune<'a, K, V, R, S, E>( function lmdb_interleaved_insert_and_prune (line 373) | fn lmdb_interleaved_insert_and_prune() { constant DEFAULT_MIN_LENGTH (line 387) | const DEFAULT_MIN_LENGTH: usize = 1; constant DEFAULT_MAX_LENGTH (line 389) | const DEFAULT_MAX_LENGTH: usize = 6; function get_range (line 391) | fn get_range() -> RangeInclusive { FILE: storage/src/global_state/trie_store/operations/tests/read.rs function lmdb_reads_from_n_leaf_partial_trie_had_expected_results (line 23) | fn lmdb_reads_from_n_leaf_partial_trie_had_expected_results() { function lmdb_reads_from_n_leaf_full_trie_had_expected_results (line 53) | fn lmdb_reads_from_n_leaf_full_trie_had_expected_results() { FILE: storage/src/global_state/trie_store/operations/tests/scan.rs function check_scan (line 11) | fn check_scan<'a, R, S, E>( function lmdb_scans_from_n_leaf_partial_trie_had_expected_results (line 80) | fn lmdb_scans_from_n_leaf_partial_trie_had_expected_results() { function lmdb_scans_from_n_leaf_full_trie_had_expected_results (line 103) | fn lmdb_scans_from_n_leaf_full_trie_had_expected_results() { FILE: storage/src/global_state/trie_store/operations/tests/synchronize.rs function missing_trie_keys (line 28) | fn missing_trie_keys( function copy_state (line 110) | fn copy_state<'a, K, V, R, S, E>( function lmdb_copy_state (line 215) | fn lmdb_copy_state() { FILE: storage/src/global_state/trie_store/operations/tests/write.rs function lmdb_non_colliding_writes_to_n_leaf_empty_trie_had_expected_results (line 7) | fn lmdb_non_colliding_writes_to_n_leaf_empty_trie_had_expected_results() { function lmdb_writes_to_n_leaf_empty_trie_had_expected_results (line 26) | fn lmdb_writes_to_n_leaf_empty_trie_had_expected_results() { function noop_writes_to_n_leaf_partial_trie_had_expected_results (line 48) | fn noop_writes_to_n_leaf_partial_trie_had_expected_results<'a, R, WR, S,... function lmdb_noop_writes_to_n_leaf_partial_trie_had_expected_results (line 101) | fn lmdb_noop_writes_to_n_leaf_partial_trie_had_expected_results() { function update_writes_to_n_leaf_partial_trie_had_expected_results (line 119) | fn update_writes_to_n_leaf_partial_trie_had_expected_results<'a, R, WR, ... function lmdb_update_writes_to_n_leaf_partial_trie_had_expected_results (line 193) | fn lmdb_update_writes_to_n_leaf_partial_trie_had_expected_results() { function noop_writes_to_n_leaf_full_trie_had_expected_results (line 215) | fn noop_writes_to_n_leaf_full_trie_had_expected_results<'a, R, WR, S, WS... function lmdb_noop_writes_to_n_leaf_full_trie_had_expected_results (line 274) | fn lmdb_noop_writes_to_n_leaf_full_trie_had_expected_results() { function update_writes_to_n_leaf_full_trie_had_expected_results (line 295) | fn update_writes_to_n_leaf_full_trie_had_expected_results<'a, R, WR, S, ... function lmdb_update_writes_to_n_leaf_full_trie_had_expected_results (line 375) | fn lmdb_update_writes_to_n_leaf_full_trie_had_expected_results() { function node_writes_to_5_leaf_full_trie_had_expected_results (line 396) | fn node_writes_to_5_leaf_full_trie_had_expected_results<'a, R, WR, S, WS... function lmdb_node_writes_to_5_leaf_full_trie_had_expected_results (line 475) | fn lmdb_node_writes_to_5_leaf_full_trie_had_expected_results() { function assert_write_result (line 499) | fn assert_write_result(result: WriteResult) -> Option { function write_variable_len_keys (line 508) | fn write_variable_len_keys() { function compare_random_keys_seq_write_with_batch_cache_write (line 566) | fn compare_random_keys_seq_write_with_batch_cache_write() { function compare_random_keys_write_with_cache_and_readback (line 630) | fn compare_random_keys_write_with_cache_and_readback() { FILE: storage/src/global_state/trie_store/tests/concurrent.rs function lmdb_writer_mutex_does_not_collide_with_readers (line 19) | fn lmdb_writer_mutex_does_not_collide_with_readers() { FILE: storage/src/global_state/trie_store/tests/mod.rs type TestData (line 14) | struct TestData(Digest, Trie); function from (line 17) | fn from(test_data: &'a TestData) -> Self { function create_data (line 22) | fn create_data() -> Vec> { FILE: storage/src/global_state/trie_store/tests/proptests.rs constant DEFAULT_MIN_LENGTH (line 18) | const DEFAULT_MIN_LENGTH: usize = 1; constant DEFAULT_MAX_LENGTH (line 19) | const DEFAULT_MAX_LENGTH: usize = 4; function get_range (line 21) | fn get_range() -> RangeInclusive { function lmdb_roundtrip_succeeds (line 31) | fn lmdb_roundtrip_succeeds(inputs: Vec>) -> bool { FILE: storage/src/global_state/trie_store/tests/simple.rs function put_succeeds (line 16) | fn put_succeeds<'a, K, V, S, X, E>( function lmdb_put_succeeds (line 37) | fn lmdb_put_succeeds() { function put_get_succeeds (line 54) | fn put_get_succeeds<'a, K, V, S, X, E>( function lmdb_put_get_succeeds (line 77) | fn lmdb_put_get_succeeds() { function lmdb_put_get_many_succeeds (line 104) | fn lmdb_put_get_many_succeeds() { function uncommitted_read_write_txn_does_not_persist (line 130) | fn uncommitted_read_write_txn_does_not_persist<'a, K, V, S, X, E>( function lmdb_uncommitted_read_write_txn_does_not_persist (line 158) | fn lmdb_uncommitted_read_write_txn_does_not_persist() { function read_write_transaction_does_not_block_read_transaction (line 183) | fn read_write_transaction_does_not_block_read_transaction<'a, X, E>( function lmdb_read_write_transaction_does_not_block_read_transaction (line 198) | fn lmdb_read_write_transaction_does_not_block_read_transaction() { function reads_are_isolated (line 206) | fn reads_are_isolated<'a, S, X, E>(store: &S, env: &'a X) -> Result<(), E> function lmdb_reads_are_isolated (line 242) | fn lmdb_reads_are_isolated() { function reads_are_isolated_2 (line 251) | fn reads_are_isolated_2<'a, S, X, E>(store: &S, env: &'a X) -> Result<()... function lmdb_reads_are_isolated_2 (line 291) | fn lmdb_reads_are_isolated_2() { function dbs_are_isolated (line 300) | fn dbs_are_isolated<'a, S, X, E>(env: &'a X, store_a: &S, store_b: &S) -... function lmdb_dbs_are_isolated (line 345) | fn lmdb_dbs_are_isolated() { function transactions_can_be_used_across_sub_databases (line 355) | fn transactions_can_be_used_across_sub_databases<'a, S, X, E>( function lmdb_transactions_can_be_used_across_sub_databases (line 390) | fn lmdb_transactions_can_be_used_across_sub_databases() { function uncommitted_transactions_across_sub_databases_do_not_persist (line 405) | fn uncommitted_transactions_across_sub_databases_do_not_persist<'a, S, X... function lmdb_uncommitted_transactions_across_sub_databases_do_not_persist (line 439) | fn lmdb_uncommitted_transactions_across_sub_databases_do_not_persist() { FILE: storage/src/system/auction.rs type Auction (line 30) | pub trait Auction: method get_era_validators (line 35) | fn get_era_validators(&mut self) -> Result { method read_seigniorage_recipients (line 45) | fn read_seigniorage_recipients(&mut self) -> Result) -> Result<(... method run_auction (line 543) | fn run_auction( method distribute (line 644) | fn distribute( method read_era_id (line 937) | fn read_era_id(&mut self) -> Result { method activate_bid (line 943) | fn activate_bid(&mut self, validator: PublicKey, minimum_bid: u64) -> ... method change_bid_public_key (line 971) | fn change_bid_public_key( method write_validator_credit (line 1042) | fn write_validator_credit( FILE: storage/src/system/auction/auction_native.rs method get_caller (line 29) | fn get_caller(&self) -> AccountHash { method is_allowed_session_caller (line 33) | fn is_allowed_session_caller(&self, account_hash: &AccountHash) -> bool { method is_valid_uref (line 41) | fn is_valid_uref(&self, uref: URef) -> bool { method named_keys_get (line 45) | fn named_keys_get(&self, name: &str) -> Option { method get_keys (line 49) | fn get_keys(&mut self, key_tag: &KeyTag) -> Result, Error> { method get_keys_by_prefix (line 59) | fn get_keys_by_prefix(&mut self, prefix: &[u8]) -> Result, Erro... method delegator_count (line 70) | fn delegator_count(&mut self, bid_addr: &BidAddr) -> Result { method reservation_count (line 90) | fn reservation_count(&mut self, bid_addr: &BidAddr) -> Result Result u64 { method allow_auction_bids (line 170) | fn allow_auction_bids(&self) -> bool { method should_compute_rewards (line 174) | fn should_compute_rewards(&self) -> bool { method read (line 183) | fn read(&mut self, uref: URef) -> Result(&mut self, uref: URef, value: T) -> Resul... method read_bid (line 221) | fn read_bid(&mut self, key: &Key) -> Result, Error> { method write_bid (line 237) | fn write_bid(&mut self, key: Key, bid_kind: BidKind) -> Result<(), Error> { method read_unbond (line 248) | fn read_unbond(&mut self, bid_addr: BidAddr) -> Result, E... method write_unbond (line 268) | fn write_unbond(&mut self, bid_addr: BidAddr, unbond: Option) ->... method record_era_info (line 284) | fn record_era_info(&mut self, era_info: EraInfo) -> Result<(), Error> { method prune_bid (line 294) | fn prune_bid(&mut self, bid_addr: BidAddr) { method unbond (line 303) | fn unbond(&mut self, unbond_kind: &UnbondKind, unbond_era: &UnbondEra) -... method mint_transfer_direct (line 380) | fn mint_transfer_direct( method mint_into_existing_purse (line 412) | fn mint_into_existing_purse( method create_purse (line 430) | fn create_purse(&mut self) -> Result { method available_balance (line 441) | fn available_balance(&mut self, purse: URef) -> Result, Err... method read_base_round_reward (line 451) | fn read_base_round_reward(&mut self) -> Result { method mint (line 461) | fn mint(&mut self, amount: U512) -> Result { method reduce_total_supply (line 471) | fn reduce_total_supply(&mut self, amount: U512) -> Result<(), Error> { method get_main_purse (line 486) | fn get_main_purse(&self) -> Result { method set_main_purse (line 499) | fn set_main_purse(&mut self, purse: URef) { FILE: storage/src/system/auction/detail.rs constant MAX_BRIDGE_CHAIN_LENGTH (line 25) | const MAX_BRIDGE_CHAIN_LENGTH: u64 = 20; function read_from (line 27) | fn read_from(provider: &mut P, name: &str) -> Result function write_to (line 44) | fn write_to(provider: &mut P, name: &str, value: T) -> Result<(), ... type ValidatorBidsDetail (line 56) | pub struct ValidatorBidsDetail { method new (line 65) | pub fn new() -> Self { method insert_bid (line 75) | pub fn insert_bid( method insert_credit (line 88) | pub fn insert_credit( method validator_weights_breakout (line 119) | pub fn validator_weights_breakout( method credit_amount (line 163) | fn credit_amount( method validator_bids (line 189) | pub(crate) fn validator_bids(&self) -> &ValidatorBids { method validator_bids_mut (line 193) | pub(crate) fn validator_bids_mut(&mut self) -> &mut ValidatorBids { method pick_winners (line 199) | pub fn pick_winners( method destructure (line 228) | pub fn destructure(self) -> (ValidatorBids, ValidatorCredits, Delegato... function prune_validator_credits (line 241) | pub fn prune_validator_credits

( function get_validator_bids (line 256) | pub fn get_validator_bids

(provider: &mut P, era_id: EraId) -> Result<... function set_validator_bids (line 291) | pub fn set_validator_bids

(provider: &mut P, validators: ValidatorBids... function get_unbonding_purses (line 303) | pub fn get_unbonding_purses

(provider: &mut P) -> Result(provider: &mut P) -> Result function set_era_id (line 366) | pub fn set_era_id

(provider: &mut P, era_id: EraId) -> Result<(), Error> function get_era_end_timestamp_millis (line 374) | pub fn get_era_end_timestamp_millis

(provider: &mut P) -> Result( function get_seigniorage_recipients_snapshot (line 397) | pub fn get_seigniorage_recipients_snapshot

( function get_legacy_seigniorage_recipients_snapshot (line 407) | pub fn get_legacy_seigniorage_recipients_snapshot

( function set_seigniorage_recipients_snapshot (line 417) | pub fn set_seigniorage_recipients_snapshot

( function get_validator_slots (line 428) | pub fn get_validator_slots

(provider: &mut P) -> Result function get_auction_delay (line 446) | pub fn get_auction_delay

(provider: &mut P) -> Result function get_unbonding_delay (line 460) | fn get_unbonding_delay

(provider: &mut P) -> Result function process_unbond_requests (line 471) | pub fn process_unbond_requests( function create_unbonding_purse (line 537) | pub fn create_unbonding_purse( type DistributeTarget (line 591) | pub enum DistributeTarget { method bonding_purse (line 613) | pub fn bonding_purse(&self) -> Result { function get_distribution_target (line 630) | pub fn get_distribution_target( type UnbondRedelegationOutcome (line 723) | enum UnbondRedelegationOutcome { function handle_redelegation (line 733) | fn handle_redelegation

( function has_reservation (line 795) | fn has_reservation

( function handle_delegation (line 825) | pub fn handle_delegation

( function handle_add_reservation (line 919) | pub fn handle_add_reservation

( function handle_cancel_reservation (line 980) | pub fn handle_cancel_reservation

( function read_validator_bid (line 1045) | pub fn read_validator_bid

(provider: &mut P, bid_key: &Key) -> Result<... function read_current_validator_bid (line 1060) | pub fn read_current_validator_bid

( function read_delegator_bids (line 1090) | pub fn read_delegator_bids

( function read_delegator_bid (line 1120) | pub fn read_delegator_bid

(provider: &mut P, bid_key: &Key) -> Result<... function read_reservation_bids (line 1135) | pub fn read_reservation_bids

( function read_reservation_bid (line 1165) | pub fn read_reservation_bid

(provider: &mut P, bid_key: &Key) -> Resul... function seigniorage_recipients (line 1180) | pub fn seigniorage_recipients( function era_validators_from_snapshot (line 1234) | pub fn era_validators_from_snapshot(snapshot: SeigniorageRecipientsSnaps... function era_validators_from_legacy_snapshot (line 1248) | pub(crate) fn era_validators_from_legacy_snapshot( function process_with_vesting_schedule (line 1268) | pub fn process_with_vesting_schedule

( function delegators (line 1314) | pub fn delegators

( function reservations (line 1345) | pub fn reservations

( function process_updated_delegator_stake_boundaries (line 1377) | pub fn process_updated_delegator_stake_boundaries( function process_updated_delegator_reservation_slots (line 1466) | pub fn process_updated_delegator_reservation_slots( function process_undelegation (line 1500) | pub fn process_undelegation( function reward (line 1588) | pub fn reward( function rewards_per_validator (line 1632) | pub(crate) fn rewards_per_validator( type RewardsPerValidator (line 1748) | pub struct RewardsPerValidator { method validator_reward (line 1755) | pub fn validator_reward(&self) -> U512 { method delegator_rewards (line 1760) | pub fn delegator_rewards(&self) -> &BTreeMap { method take_delegator_rewards (line 1765) | pub fn take_delegator_rewards(self) -> BTreeMap { FILE: storage/src/system/auction/providers.rs type RuntimeProvider (line 14) | pub trait RuntimeProvider { method get_caller (line 16) | fn get_caller(&self) -> AccountHash; method is_allowed_session_caller (line 19) | fn is_allowed_session_caller(&self, account_hash: &AccountHash) -> bool; method is_valid_uref (line 22) | fn is_valid_uref(&self, uref: URef) -> bool; method named_keys_get (line 25) | fn named_keys_get(&self, name: &str) -> Option; method get_keys (line 28) | fn get_keys(&mut self, key_tag: &KeyTag) -> Result, Error>; method get_keys_by_prefix (line 31) | fn get_keys_by_prefix(&mut self, prefix: &[u8]) -> Result, Er... method delegator_count (line 34) | fn delegator_count(&mut self, bid_addr: &BidAddr) -> Result Result Result u64; method allow_auction_bids (line 46) | fn allow_auction_bids(&self) -> bool; method should_compute_rewards (line 49) | fn should_compute_rewards(&self) -> bool; type StorageProvider (line 53) | pub trait StorageProvider { method read (line 55) | fn read(&mut self, uref: URef) -> Result(&mut self, uref: URef, value: T) -> Res... method read_bid (line 61) | fn read_bid(&mut self, key: &Key) -> Result, Error>; method write_bid (line 64) | fn write_bid(&mut self, key: Key, bid_kind: BidKind) -> Result<(), Err... method read_unbond (line 67) | fn read_unbond(&mut self, bid_addr: BidAddr) -> Result,... method write_unbond (line 70) | fn write_unbond(&mut self, bid_addr: BidAddr, unbond: Option) ... method record_era_info (line 73) | fn record_era_info(&mut self, era_info: EraInfo) -> Result<(), Error>; method prune_bid (line 76) | fn prune_bid(&mut self, bid_addr: BidAddr); type MintProvider (line 80) | pub trait MintProvider { method unbond (line 82) | fn unbond(&mut self, unbond_kind: &UnbondKind, unbond_era: &UnbondEra)... method mint_transfer_direct (line 86) | fn mint_transfer_direct( method mint_into_existing_purse (line 97) | fn mint_into_existing_purse(&mut self, amount: U512, existing_purse: U... method create_purse (line 101) | fn create_purse(&mut self) -> Result; method available_balance (line 104) | fn available_balance(&mut self, purse: URef) -> Result, E... method read_base_round_reward (line 107) | fn read_base_round_reward(&mut self) -> Result; method mint (line 111) | fn mint(&mut self, amount: U512) -> Result; method reduce_total_supply (line 115) | fn reduce_total_supply(&mut self, amount: U512) -> Result<(), Error>; type AccountProvider (line 119) | pub trait AccountProvider { method get_main_purse (line 121) | fn get_main_purse(&self) -> Result; method set_main_purse (line 124) | fn set_main_purse(&mut self, purse: URef); FILE: storage/src/system/burn.rs type BurnError (line 18) | pub enum BurnError { method from (line 67) | fn from(gse: GlobalStateError) -> Self { method from (line 73) | fn from(tce: TrackingCopyError) -> Self { type BurnArgs (line 82) | pub struct BurnArgs { method new (line 89) | pub fn new(source: URef, amount: U512) -> Self { method source (line 94) | pub fn source(&self) -> URef { method amount (line 99) | pub fn amount(&self) -> U512 { type Error (line 105) | type Error = CLValueError; method try_from (line 107) | fn try_from(burn_args: BurnArgs) -> Result { type BurnRuntimeArgsBuilder (line 122) | pub struct BurnRuntimeArgsBuilder { method new (line 130) | pub fn new(imputed_runtime_args: RuntimeArgs) -> BurnRuntimeArgsBuilder { method purse_exists (line 137) | fn purse_exists(&self, uref: URef, tracking_copy: Rc( method resolve_amount (line 225) | fn resolve_amount(&self) -> Result { method build (line 248) | pub fn build( method map_cl_value (line 261) | fn map_cl_value(&self, cl_value: &CLValue) -> ... FILE: storage/src/system/error.rs type ProviderError (line 5) | pub enum ProviderError { FILE: storage/src/system/genesis.rs constant DEFAULT_ADDRESS (line 65) | const DEFAULT_ADDRESS: [u8; 32] = [0; 32]; constant NO_WASM (line 67) | const NO_WASM: bool = true; type GenesisError (line 71) | pub enum GenesisError { method fmt (line 141) | fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> { type GenesisInstaller (line 147) | pub enum GenesisInstaller function new (line 161) | pub fn new( function finalize (line 185) | pub fn finalize(self) -> Effects { function install (line 193) | pub fn install( function bytesrepr_roundtrip (line 213) | fn bytesrepr_roundtrip() { function system_account_bytesrepr_roundtrip (line 220) | fn system_account_bytesrepr_roundtrip() { function genesis_account_bytesrepr_roundtrip (line 227) | fn genesis_account_bytesrepr_roundtrip() { function delegator_bytesrepr_roundtrip (line 245) | fn delegator_bytesrepr_roundtrip() { function administrator_account_bytesrepr_roundtrip (line 268) | fn administrator_account_bytesrepr_roundtrip() { FILE: storage/src/system/genesis/account_contract_installer.rs type AccountContractInstaller (line 60) | pub struct AccountContractInstaller function new (line 74) | pub(crate) fn new( function finalize (line 96) | pub(crate) fn finalize(self) -> Effects { function create_mint (line 100) | fn create_mint(&mut self) -> Result<(Key, Key), Box> { function create_handle_payment (line 218) | fn create_handle_payment( function create_auction (line 252) | fn create_auction(&self, total_supply_key: Key) -> Result Result> { function store_contract (line 691) | fn store_contract( function store_system_contract (line 742) | fn store_system_contract( function store_chainspec_registry (line 769) | fn store_chainspec_registry( function store_block_time (line 787) | fn store_block_time(&self) -> Result<(), Box> { function handle_sustain_purse (line 798) | pub(crate) fn handle_sustain_purse( function install (line 830) | pub(crate) fn install( FILE: storage/src/system/genesis/entity_installer.rs type EntityGenesisInstaller (line 51) | pub struct EntityGenesisInstaller function new (line 65) | pub fn new( function finalize (line 87) | pub fn finalize(self) -> Effects { function setup_system_account (line 91) | fn setup_system_account(&mut self) -> Result<(), Box> { function create_mint (line 105) | fn create_mint(&mut self) -> Result> { function create_handle_payment (line 222) | fn create_handle_payment(&self) -> Result> { function create_auction (line 251) | fn create_auction(&self, total_supply_key: Key) -> Result Result<(), Box Result> { function store_system_contract (line 652) | fn store_system_contract( function store_addressable_entity (line 667) | fn store_addressable_entity( function store_system_contract_named_keys (line 766) | fn store_system_contract_named_keys( function store_system_entry_points (line 790) | fn store_system_entry_points( function store_system_entity_registry (line 810) | fn store_system_entity_registry( function store_chainspec_registry (line 836) | fn store_chainspec_registry( function store_block_time (line 854) | fn store_block_time(&self) -> Result<(), Box> { function install (line 866) | pub fn install( function bytesrepr_roundtrip (line 904) | fn bytesrepr_roundtrip() { function system_account_bytesrepr_roundtrip (line 911) | fn system_account_bytesrepr_roundtrip() { function genesis_account_bytesrepr_roundtrip (line 918) | fn genesis_account_bytesrepr_roundtrip() { function delegator_bytesrepr_roundtrip (line 936) | fn delegator_bytesrepr_roundtrip() { function administrator_account_bytesrepr_roundtrip (line 959) | fn administrator_account_bytesrepr_roundtrip() { FILE: storage/src/system/handle_payment.rs type HandlePayment (line 23) | pub trait HandlePayment: MintProvider + RuntimeProvider + StorageProvide... method get_payment_purse (line 25) | fn get_payment_purse(&mut self) -> Result { method set_refund_purse (line 32) | fn set_refund_purse(&mut self, purse: URef) -> Result<(), Error> { method get_refund_purse (line 40) | fn get_refund_purse(&mut self) -> Result, Error> { method clear_refund_purse (line 49) | fn clear_refund_purse(&mut self) -> Result<(), Error> { method calculate_overpayment_and_fee (line 60) | fn calculate_overpayment_and_fee( method distribute_accumulated_fees (line 85) | fn distribute_accumulated_fees( method payment_burn (line 99) | fn payment_burn(&mut self, source_uref: URef, amount: Option) ->... FILE: storage/src/system/handle_payment/handle_payment_native.rs method transfer_purse_to_account (line 27) | fn transfer_purse_to_account( method transfer_purse_to_purse (line 92) | fn transfer_purse_to_purse( method available_balance (line 108) | fn available_balance(&mut self, purse: URef) -> Result, Err... method reduce_total_supply (line 118) | fn reduce_total_supply(&mut self, amount: U512) -> Result<(), Error> { method get_key (line 133) | fn get_key(&mut self, name: &str) -> Option { method put_key (line 137) | fn put_key(&mut self, name: &str, key: Key) -> Result<(), Error> { method remove_key (line 170) | fn remove_key(&mut self, name: &str) -> Result<(), Error> { method get_phase (line 229) | fn get_phase(&self) -> Phase { method get_caller (line 233) | fn get_caller(&self) -> AccountHash { method refund_handling (line 237) | fn refund_handling(&self) -> RefundHandling { method fee_handling (line 241) | fn fee_handling(&self) -> FeeHandling { method administrative_accounts (line 245) | fn administrative_accounts(&self) -> BTreeSet { method write_balance (line 254) | fn write_balance(&mut self, purse_uref: URef, amount: U512) -> Result<()... FILE: storage/src/system/handle_payment/internal.rs function get_payment_purse (line 14) | pub fn get_payment_purse(runtime_provider: &mut R) -... function set_refund (line 25) | pub fn set_refund(runtime_provider: &mut R, purse: U... function get_refund_purse (line 34) | pub fn get_refund_purse( function calculate_overpayment_and_fee (line 50) | pub fn calculate_overpayment_and_fee( function payment_burn (line 119) | pub fn payment_burn( function distribute_accumulated_fees (line 145) | pub fn distribute_accumulated_fees

( function should_calculate_expected_amounts (line 193) | fn should_calculate_expected_amounts() { function should_handle_straight_percentages (line 218) | fn should_handle_straight_percentages() { function should_roll_over_dust (line 251) | fn should_roll_over_dust() { function should_take_all_of_insufficient_balance (line 279) | fn should_take_all_of_insufficient_balance() { function should_handle_non_1_gas_price (line 302) | fn should_handle_non_1_gas_price() { function should_handle_extra_cost (line 327) | fn should_handle_extra_cost() { FILE: storage/src/system/handle_payment/mint_provider.rs type MintProvider (line 6) | pub trait MintProvider { method transfer_purse_to_account (line 11) | fn transfer_purse_to_account( method transfer_purse_to_purse (line 22) | fn transfer_purse_to_purse( method available_balance (line 30) | fn available_balance(&mut self, purse: URef) -> Result, E... method reduce_total_supply (line 33) | fn reduce_total_supply(&mut self, amount: U512) -> Result<(), Error>; FILE: storage/src/system/handle_payment/runtime_provider.rs type RuntimeProvider (line 8) | pub trait RuntimeProvider { method get_key (line 10) | fn get_key(&mut self, name: &str) -> Option; method put_key (line 13) | fn put_key(&mut self, name: &str, key: Key) -> Result<(), Error>; method remove_key (line 16) | fn remove_key(&mut self, name: &str) -> Result<(), Error>; method get_phase (line 19) | fn get_phase(&self) -> Phase; method get_caller (line 22) | fn get_caller(&self) -> AccountHash; method refund_handling (line 25) | fn refund_handling(&self) -> RefundHandling; method fee_handling (line 28) | fn fee_handling(&self) -> FeeHandling; method administrative_accounts (line 31) | fn administrative_accounts(&self) -> BTreeSet; FILE: storage/src/system/handle_payment/storage_provider.rs type StorageProvider (line 6) | pub trait StorageProvider { method write_balance (line 8) | fn write_balance(&mut self, purse_uref: URef, amount: U512) -> Result<... FILE: storage/src/system/mint.rs type Mint (line 29) | pub trait Mint: RuntimeProvider + StorageProvider + SystemProvider { method mint (line 32) | fn mint(&mut self, initial_balance: U512) -> Result { method burn (line 60) | fn burn(&mut self, purse: URef, amount: U512) -> Result<(), Error> { method reduce_total_supply (line 85) | fn reduce_total_supply(&mut self, amount: U512) -> Result<(), Error> { method balance (line 96) | fn balance(&mut self, purse: URef) -> Result, Error> { method transfer (line 104) | fn transfer( method read_base_round_reward (line 262) | fn read_base_round_reward(&mut self) -> Result { method mint_into_existing_purse (line 289) | fn mint_into_existing_purse( method purse_exists (line 323) | fn purse_exists(&mut self, uref: URef) -> Result; FILE: storage/src/system/mint/detail.rs function reduce_total_supply_unsafe (line 12) | pub(crate) fn reduce_total_supply_unsafe

(mint: &mut P, amount: U512) ... FILE: storage/src/system/mint/mint_native.rs method get_caller (line 27) | fn get_caller(&self) -> AccountHash { method get_immediate_caller (line 31) | fn get_immediate_caller(&self) -> Option { method is_called_from_standard_payment (line 38) | fn is_called_from_standard_payment(&self) -> bool { method get_system_entity_registry (line 42) | fn get_system_entity_registry(&self) -> Result Phase { method get_key (line 73) | fn get_key(&self, name: &str) -> Option { method get_approved_spending_limit (line 77) | fn get_approved_spending_limit(&self) -> U512 { method sub_approved_spending_limit (line 81) | fn sub_approved_spending_limit(&mut self, amount: U512) { method get_main_purse (line 94) | fn get_main_purse(&self) -> Option { method is_administrator (line 98) | fn is_administrator(&self, account_hash: &AccountHash) -> bool { method allow_unrestricted_transfers (line 102) | fn allow_unrestricted_transfers(&self) -> bool { method is_valid_uref (line 106) | fn is_valid_uref(&self, uref: &URef) -> bool { method new_uref (line 115) | fn new_uref(&mut self, value: T) -> Result(&mut self, uref: URef) -> Result Result<(), Error> { method add (line 168) | fn add(&mut self, uref: URef, value: T) -> Result<... method total_balance (line 177) | fn total_balance(&mut self, purse: URef) -> Result { method available_balance (line 192) | fn available_balance(&mut self, purse: URef) -> Result, Err... method write_balance (line 206) | fn write_balance(&mut self, uref: URef, balance: U512) -> Result<(), Err... method add_balance (line 214) | fn add_balance(&mut self, uref: URef, value: U512) -> Result<(), Error> { method record_transfer (line 228) | fn record_transfer( method purse_exists (line 261) | fn purse_exists(&mut self, uref: URef) -> Result { FILE: storage/src/system/mint/runtime_provider.rs type RuntimeProvider (line 8) | pub trait RuntimeProvider { method get_caller (line 10) | fn get_caller(&self) -> AccountHash; method get_immediate_caller (line 13) | fn get_immediate_caller(&self) -> Option; method is_called_from_standard_payment (line 16) | fn is_called_from_standard_payment(&self) -> bool; method get_system_entity_registry (line 19) | fn get_system_entity_registry(&self) -> Result Phase; method get_key (line 31) | fn get_key(&self, name: &str) -> Option; method get_approved_spending_limit (line 34) | fn get_approved_spending_limit(&self) -> U512; method sub_approved_spending_limit (line 37) | fn sub_approved_spending_limit(&mut self, amount: U512); method get_main_purse (line 40) | fn get_main_purse(&self) -> Option; method is_administrator (line 43) | fn is_administrator(&self, account_hash: &AccountHash) -> bool; method allow_unrestricted_transfers (line 47) | fn allow_unrestricted_transfers(&self) -> bool; method is_valid_uref (line 50) | fn is_valid_uref(&self, uref: &URef) -> bool; FILE: storage/src/system/mint/storage_provider.rs type StorageProvider (line 8) | pub trait StorageProvider { method new_uref (line 10) | fn new_uref(&mut self, init: T) -> Result(&mut self, uref: URef) -> Result Result<(), Err... method add (line 19) | fn add(&mut self, uref: URef, value: T) -> Resul... method total_balance (line 22) | fn total_balance(&mut self, uref: URef) -> Result; method available_balance (line 25) | fn available_balance(&mut self, uref: URef) -> Result, Er... method write_balance (line 28) | fn write_balance(&mut self, uref: URef, balance: U512) -> Result<(), E... method add_balance (line 31) | fn add_balance(&mut self, uref: URef, value: U512) -> Result<(), Error>; FILE: storage/src/system/mint/system_provider.rs type SystemProvider (line 4) | pub trait SystemProvider { method record_transfer (line 6) | fn record_transfer( FILE: storage/src/system/protocol_upgrade.rs constant NO_CARRY_FORWARD (line 49) | const NO_CARRY_FORWARD: bool = false; constant CARRY_FORWARD (line 50) | const CARRY_FORWARD: bool = true; type ProtocolUpgradeError (line 54) | pub enum ProtocolUpgradeError { method from (line 94) | fn from(v: CLValueError) -> Self { method from (line 100) | fn from(err: crate::tracking_copy::TrackingCopyError) -> Self { method from (line 106) | fn from(error: bytesrepr::Error) -> Self { type SystemHashAddresses (line 112) | pub struct SystemHashAddresses { method new (line 120) | pub fn new(mint: HashAddr, auction: HashAddr, handle_payment: HashAddr... method mint (line 129) | pub fn mint(&self) -> HashAddr { method auction (line 134) | pub fn auction(&self) -> HashAddr { method handle_payment (line 139) | pub fn handle_payment(&self) -> HashAddr { type ProtocolUpgrader (line 145) | pub struct ProtocolUpgrader function new (line 159) | pub fn new( function upgrade (line 179) | pub fn upgrade( function check_next_protocol_version_validity (line 229) | pub fn check_next_protocol_version_validity(&self) -> Result<(), Protoco... function system_hash_registry (line 246) | fn system_hash_registry(&self) -> Result Result Result<(), ProtocolUpgrade... function handle_bids_migration (line 1232) | pub fn handle_bids_migration( function handle_era_info_migration (line 1481) | pub fn handle_era_info_migration(&mut self) -> Result<(), ProtocolUpgrad... function handle_seignorage_snapshot_migration (line 1514) | pub fn handle_seignorage_snapshot_migration( function handle_total_supply_calc (line 1576) | pub fn handle_total_supply_calc(&mut self, mint: HashAddr) -> Result<(),... function handle_rewards_handling (line 1662) | pub fn handle_rewards_handling(&mut self, mint: HashAddr) -> Result<(), ... function handle_global_state_updates (line 1727) | pub fn handle_global_state_updates(&mut self) { function handle_minimum_delegation_rate (line 1735) | pub fn handle_minimum_delegation_rate( FILE: storage/src/system/runtime_native.rs type Config (line 21) | pub struct Config { method new (line 43) | pub const fn new( method from_chainspec (line 82) | pub fn from_chainspec(chainspec: &Chainspec) -> Self { method transfer_config (line 123) | pub fn transfer_config(&self) -> &TransferConfig { method fee_handling (line 128) | pub fn fee_handling(&self) -> &FeeHandling { method refund_handling (line 133) | pub fn refund_handling(&self) -> &RefundHandling { method vesting_schedule_period_millis (line 138) | pub fn vesting_schedule_period_millis(&self) -> u64 { method allow_auction_bids (line 143) | pub fn allow_auction_bids(&self) -> bool { method compute_rewards (line 148) | pub fn compute_rewards(&self) -> bool { method max_delegators_per_validator (line 153) | pub fn max_delegators_per_validator(&self) -> u32 { method minimum_bid_amount (line 158) | pub fn minimum_bid_amount(&self) -> u64 { method global_minimum_delegation_amount (line 163) | pub fn global_minimum_delegation_amount(&self) -> u64 { method global_maximum_delegation_amount (line 168) | pub fn global_maximum_delegation_amount(&self) -> u64 { method balance_hold_interval (line 173) | pub fn balance_hold_interval(&self) -> u64 { method include_credits (line 178) | pub fn include_credits(&self) -> bool { method credit_cap (line 183) | pub fn credit_cap(&self) -> Ratio { method enable_addressable_entity (line 188) | pub fn enable_addressable_entity(&self) -> bool { method rewards_handling (line 193) | pub fn rewards_handling(&self) -> RewardsHandling { method set_transfer_config (line 198) | pub fn set_transfer_config(self, transfer_config: TransferConfig) -> S... type TransferConfig (line 222) | pub enum TransferConfig { method new (line 240) | pub fn new( method from_chainspec (line 255) | pub fn from_chainspec(chainspec: &Chainspec) -> Self { method is_administrator (line 274) | pub fn is_administrator(&self, account_hash: &AccountHash) -> bool { method administrative_accounts (line 285) | pub fn administrative_accounts(&self) -> BTreeSet { method allow_unrestricted_transfers (line 296) | pub fn allow_unrestricted_transfers(&self) -> bool { method enforce_transfer_restrictions (line 307) | pub fn enforce_transfer_restrictions(&self, account_hash: &AccountHash... type Id (line 313) | pub enum Id { method seed (line 322) | pub fn seed(&self) -> Vec { type RuntimeNative (line 331) | pub struct RuntimeNative { function new (line 354) | pub fn new( function new_system_runtime (line 387) | pub fn new_system_runtime( function new_system_contract_runtime (line 424) | pub fn new_system_contract_runtime( function address_generator (line 474) | pub fn address_generator(&mut self) -> Arc> { function config (line 479) | pub fn config(&self) -> &Config { function transfer_config (line 484) | pub fn transfer_config(&self) -> &TransferConfig { function protocol_version (line 489) | pub fn protocol_version(&self) -> ProtocolVersion { function tracking_copy (line 494) | pub fn tracking_copy(&self) -> Rc>> { function address (line 499) | pub fn address(&self) -> AccountHash { function with_address (line 504) | pub fn with_address(&mut self, account_hash: AccountHash) { function context_key (line 509) | pub fn context_key(&self) -> &Key { function runtime_footprint (line 514) | pub fn runtime_footprint(&self) -> &RuntimeFootprint { function runtime_footprint_mut (line 519) | pub fn runtime_footprint_mut(&mut self) -> &mut RuntimeFootprint { function with_addressable_entity (line 524) | pub fn with_addressable_entity(&mut self, runtime_footprint: RuntimeFoot... function named_keys (line 529) | pub fn named_keys(&self) -> &NamedKeys { function named_keys_mut (line 534) | pub fn named_keys_mut(&mut self) -> &mut NamedKeys { function access_rights (line 539) | pub fn access_rights(&self) -> &ContextAccessRights { function access_rights_mut (line 544) | pub fn access_rights_mut(&mut self) -> &mut ContextAccessRights { function extend_access_rights (line 549) | pub fn extend_access_rights(&mut self, urefs: &[URef]) { function remaining_spending_limit (line 554) | pub fn remaining_spending_limit(&self) -> U512 { function set_remaining_spending_limit (line 559) | pub fn set_remaining_spending_limit(&mut self, remaining: U512) { function transfers (line 564) | pub fn transfers(&self) -> &Vec { function push_transfer (line 569) | pub fn push_transfer(&mut self, transfer: Transfer) { function id (line 574) | pub fn id(&self) -> &Id { function phase (line 579) | pub fn phase(&self) -> Phase { function vesting_schedule_period_millis (line 584) | pub fn vesting_schedule_period_millis(&self) -> u64 { function allow_auction_bids (line 589) | pub fn allow_auction_bids(&self) -> bool { function compute_rewards (line 594) | pub fn compute_rewards(&self) -> bool { function into_transfers (line 599) | pub fn into_transfers(self) -> Vec { function native_transfer_cost (line 603) | pub(crate) fn native_transfer_cost(&self) -> u32 { function get_minimum_delegation_rate (line 607) | pub(crate) fn get_minimum_delegation_rate(&self) -> Result Self { method from (line 74) | fn from(tce: TrackingCopyError) -> Self { type TransferTargetMode (line 82) | pub enum TransferTargetMode { method target_account_hash (line 103) | pub fn target_account_hash(&self) -> Option { type TransferArgs (line 122) | pub struct TransferArgs { method new (line 132) | pub fn new( method to (line 149) | pub fn to(&self) -> Option { method source (line 154) | pub fn source(&self) -> URef { method target (line 159) | pub fn target(&self) -> URef { method amount (line 164) | pub fn amount(&self) -> U512 { method arg_id (line 169) | pub fn arg_id(&self) -> Option { type Error (line 175) | type Error = CLValueError; method try_from (line 177) | fn try_from(transfer_args: TransferArgs) -> Result { type TransferRuntimeArgsBuilder (line 195) | pub struct TransferRuntimeArgsBuilder { method new (line 203) | pub fn new(imputed_runtime_args: RuntimeArgs) -> TransferRuntimeArgsBu... method purse_exists (line 210) | fn purse_exists(&self, uref: URef, tracking_copy: Rc( method resolve_transfer_target_mode (line 307) | pub fn resolve_transfer_target_mode( method resolve_amount (line 381) | fn resolve_amount(&self) -> Result { method resolve_id (line 403) | fn resolve_id(&self) -> Result, TransferError> { method build (line 413) | pub fn build( method map_cl_value (line 460) | fn map_cl_value(&self, cl_value: &CLValue) -> ... FILE: storage/src/tracking_copy/byte_size.rs type ByteSize (line 4) | pub trait ByteSize { method byte_size (line 5) | fn byte_size(&self) -> usize; method byte_size (line 9) | fn byte_size(&self) -> usize { method byte_size (line 15) | fn byte_size(&self) -> usize { method byte_size (line 21) | fn byte_size(&self) -> usize { method byte_size (line 85) | fn byte_size(&self) -> usize { type HeapSizeOf (line 57) | pub trait HeapSizeOf { method heap_size (line 58) | fn heap_size(&self) -> usize; method heap_size (line 62) | fn heap_size(&self) -> usize { method heap_size (line 69) | fn heap_size(&self) -> usize { method heap_size (line 79) | fn heap_size(&self) -> usize { method heap_size (line 92) | fn heap_size(&self) -> usize { function assert_byte_size (line 101) | fn assert_byte_size(el: T, expected: usize) { function byte_size_of_string (line 106) | fn byte_size_of_string() { FILE: storage/src/tracking_copy/error.rs type Error (line 12) | pub enum Error { method type_mismatch (line 95) | pub fn type_mismatch(expected: CLType, found: CLType) -> Error { method from (line 104) | fn from(e: bytesrepr::Error) -> Self { method from (line 110) | fn from(err: AddKeyFailure) -> Self { method from (line 116) | fn from(err: RemoveKeyFailure) -> Self { method from (line 122) | fn from(err: UpdateKeyFailure) -> Self { method from (line 128) | fn from(err: SetThresholdFailure) -> Self { method from (line 134) | fn from(e: CLValueError) -> Self { method from (line 140) | fn from(gse: crate::global_state::error::Error) -> Self { FILE: storage/src/tracking_copy/ext.rs type TrackingCopyExt (line 35) | pub trait TrackingCopyExt { method read_account_key (line 40) | fn read_account_key(&mut self, account_hash: AccountHash) -> Result Result, Self::Error>; method get_balance_hold_config (line 46) | fn get_balance_hold_config( method get_purse_balance_key (line 52) | fn get_purse_balance_key(&self, purse_key: Key) -> Result Result; method get_available_balance (line 64) | fn get_available_balance(&mut self, balance_key: Key) -> Result Result Result Result Result Result Result Result... method get_byte_code (line 121) | fn get_byte_code(&mut self, byte_code_hash: ByteCodeHash) -> Result Result Result, Self::Error> { function get_balance_hold_config (line 155) | fn get_balance_hold_config( function get_purse_balance_key (line 252) | fn get_purse_balance_key(&self, purse_key: Key) -> Result Result { function get_available_balance (line 307) | fn get_available_balance(&mut self, key: Key) -> Result Result Result Result Result Result Result Result, ... function get_byte_code (line 665) | fn get_byte_code(&mut self, byte_code_hash: ByteCodeHash) -> Result { method runtime_footprint_by_entity_addr (line 43) | fn runtime_footprint_by_entity_addr( method runtime_footprint_by_hash_addr (line 49) | fn runtime_footprint_by_hash_addr( method runtime_footprint_by_account_hash (line 55) | fn runtime_footprint_by_account_hash( method authorized_runtime_footprint_by_account (line 62) | fn authorized_runtime_footprint_by_account( method authorized_runtime_footprint_with_access_rights (line 71) | fn authorized_runtime_footprint_with_access_rights( method system_entity_runtime_footprint (line 80) | fn system_entity_runtime_footprint( method migrate_named_keys (line 86) | fn migrate_named_keys( method migrate_entry_points (line 93) | fn migrate_entry_points( method upsert_uref_to_named_keys (line 100) | fn upsert_uref_to_named_keys( method migrate_account (line 110) | fn migrate_account( method create_new_addressable_entity_on_transfer (line 117) | fn create_new_addressable_entity_on_transfer( method create_addressable_entity_from_account (line 125) | fn create_addressable_entity_from_account( method migrate_package (line 132) | fn migrate_package( method fees_purse (line 139) | fn fees_purse( method system_contract_named_key (line 146) | fn system_contract_named_key( type Error (line 157) | type Error = TrackingCopyError; function runtime_footprint_by_entity_addr (line 159) | fn runtime_footprint_by_entity_addr( function runtime_footprint_by_hash_addr (line 316) | fn runtime_footprint_by_hash_addr( function runtime_footprint_by_account_hash (line 329) | fn runtime_footprint_by_account_hash( function authorized_runtime_footprint_by_account (line 384) | fn authorized_runtime_footprint_by_account( function authorized_runtime_footprint_with_access_rights (line 417) | fn authorized_runtime_footprint_with_access_rights( function system_entity_runtime_footprint (line 438) | fn system_entity_runtime_footprint( function migrate_named_keys (line 504) | fn migrate_named_keys( function migrate_entry_points (line 524) | fn migrate_entry_points( function upsert_uref_to_named_keys (line 547) | fn upsert_uref_to_named_keys( function migrate_account (line 597) | fn migrate_account( function create_new_addressable_entity_on_transfer (line 623) | fn create_new_addressable_entity_on_transfer( function create_addressable_entity_from_account (line 677) | fn create_addressable_entity_from_account( function migrate_package (line 758) | fn migrate_package( function fees_purse (line 881) | fn fees_purse( function system_contract_named_key (line 931) | fn system_contract_named_key( FILE: storage/src/tracking_copy/meter.rs type Meter (line 4) | pub trait Meter: Copy + Default + Debug { method measure (line 5) | fn measure(&self, k: &K, v: &V) -> usize; method measure_keys (line 7) | fn measure_keys(&self, keys: &BTreeSet) -> usize; type HeapSize (line 16) | pub struct HeapSize; method measure (line 19) | fn measure(&self, _: &K, v: &V) -> usize { method measure_keys (line 23) | fn measure_keys(&self, keys: &BTreeSet) -> usize { type Count (line 38) | pub struct Count; method measure (line 41) | fn measure(&self, _k: &K, _v: &V) -> usize { method measure_keys (line 45) | fn measure_keys(&self, _keys: &BTreeSet) -> usize { FILE: storage/src/tracking_copy/mod.rs type TrackingCopyQueryResult (line 52) | pub enum TrackingCopyQueryResult { method is_success (line 75) | pub fn is_success(&self) -> bool { method into_result (line 80) | pub fn into_result(self) -> Result { type CacheEntry (line 101) | pub enum CacheEntry<'a> { type Query (line 111) | struct Query { method new (line 129) | fn new(base_key: Key, path: &[String]) -> Self { method next_name (line 141) | fn next_name(&mut self) -> Option<&String> { method navigate (line 147) | fn navigate(&mut self, key: Key) { method navigate_for_named_key (line 152) | fn navigate_for_named_key(&mut self, named_key: Key) { method into_not_found_result (line 158) | fn into_not_found_result(self, msg_prefix: &str) -> TrackingCopyQueryR... method into_circular_ref_result (line 163) | fn into_circular_ref_result(self) -> TrackingCopyQueryResult { method into_depth_limit_result (line 172) | fn into_depth_limit_result(self) -> TrackingCopyQueryResult { method current_path (line 176) | fn current_path(&self) -> String { type GenericTrackingCopyCache (line 190) | pub struct GenericTrackingCopyCache { function new (line 204) | pub fn new(max_cache_size: usize, meter: M) -> GenericTrackingCopyCache<... function new_default (line 218) | pub fn new_default(max_cache_size: usize) -> GenericTrackingCopyCache { function insert_read (line 223) | pub fn insert_read(&mut self, key: Key, value: StoredValue) { function insert_write (line 239) | pub fn insert_write(&mut self, key: Key, value: StoredValue) { function insert_prune (line 246) | pub fn insert_prune(&mut self, key: Key) { function get (line 253) | pub fn get<'a>(&'a mut self, key: &Key) -> CacheEntry<'a> { function get_muts_cached_by_byte_prefix (line 271) | fn get_muts_cached_by_byte_prefix(&self, prefix: &[u8]) -> Vec { function is_pruned (line 280) | pub fn is_pruned(&self, key: &Key) -> bool { function into_muts (line 284) | pub(self) fn into_muts(self) -> (BTreeMap,... type KeyWithByteRepr (line 293) | struct KeyWithByteRepr(Key, Vec); method new (line 297) | fn new(key: Key) -> Self { method starts_with (line 303) | fn starts_with(&self, prefix: &[u8]) -> bool { method to_key (line 308) | fn to_key(&self) -> Key { method borrow (line 315) | fn borrow(&self) -> &Vec { method eq (line 322) | fn eq(&self, other: &Self) -> bool { method partial_cmp (line 331) | fn partial_cmp(&self, other: &Self) -> Option { method cmp (line 338) | fn cmp(&self, other: &Self) -> std::cmp::Ordering { type TrackingCopyCache (line 344) | pub type TrackingCopyCache = GenericTrackingCopyCache; type TrackingCopy (line 350) | pub struct TrackingCopy { type AddResult (line 361) | pub enum AddResult { method from (line 375) | fn from(error: CLValueError) -> Self { type TrackingCopyParts (line 388) | pub type TrackingCopyParts = (TrackingCopyCache, Effects, Messages); function new (line 395) | pub fn new( function reader (line 412) | pub fn reader(&self) -> &R { function shared_reader (line 417) | pub fn shared_reader(&self) -> Arc { function fork (line 432) | pub fn fork(&self) -> TrackingCopy<&TrackingCopy> { function fork2 (line 446) | pub fn fork2(&self) -> Self { function apply_changes (line 463) | pub fn apply_changes( function effects (line 475) | pub fn effects(&self) -> Effects { function cache (line 480) | pub fn cache(&self) -> TrackingCopyCache { function destructure (line 485) | pub fn destructure(self) -> (Vec<(Key, StoredValue)>, BTreeSet, Eff... function enable_addressable_entity (line 493) | pub fn enable_addressable_entity(&self) -> bool { function get (line 498) | pub fn get(&mut self, key: &Key) -> Result, Tracking... function get_keys (line 518) | pub fn get_keys(&self, key_tag: &KeyTag) -> Result, Tracki... function get_keys_by_prefix (line 523) | pub fn get_keys_by_prefix( function get_by_byte_prefix (line 534) | pub(crate) fn get_by_byte_prefix( function read (line 543) | pub fn read(&mut self, key: &Key) -> Result, Trackin... function read_first (line 555) | pub fn read_first(&mut self, keys: &[&Key]) -> Result Result Messages { function query (line 700) | pub fn query( type Error (line 905) | type Error = R::Error; function read (line 907) | fn read(&self, key: &Key) -> Result, Self::Error> { function read_with_proof (line 919) | fn read_with_proof( function keys_with_prefix (line 926) | fn keys_with_prefix(&self, byte_prefix: &[u8]) -> Result, Self:... type ValidationError (line 942) | pub enum ValidationError { method from (line 981) | fn from(err: CLValueError) -> Self { method from (line 987) | fn from(error: bytesrepr::Error) -> Self { function validate_query_proof (line 995) | pub fn validate_query_proof( function validate_query_merkle_proof (line 1064) | pub fn validate_query_merkle_proof( function validate_balance_proof (line 1100) | pub fn validate_balance_proof( function new_temporary_tracking_copy (line 1144) | pub fn new_temporary_tracking_copy( FILE: storage/src/tracking_copy/tests.rs type CountingDb (line 38) | struct CountingDb { method new (line 44) | fn new(counter: Arc>) -> CountingDb { type Error (line 53) | type Error = crate::global_state::error::Error; method read (line 54) | fn read(&self, _key: &Key) -> Result, Self::Error> { method read_with_proof (line 64) | fn read_with_proof( method keys_with_prefix (line 71) | fn keys_with_prefix(&self, _prefix: &[u8]) -> Result, Self::E... function effects (line 76) | fn effects(transform_keys_and_kinds: Vec<(Key, TransformKindV2)>) -> Eff... function tracking_copy_new (line 85) | fn tracking_copy_new() { function tracking_copy_caching (line 94) | fn tracking_copy_caching() { function tracking_copy_read (line 114) | fn tracking_copy_read() { function tracking_copy_write (line 129) | fn tracking_copy_write() { function tracking_copy_add_i32 (line 163) | fn tracking_copy_add_i32() { function tracking_copy_rw (line 188) | fn tracking_copy_rw() { function tracking_copy_ra (line 208) | fn tracking_copy_ra() { function tracking_copy_aw (line 228) | fn tracking_copy_aw() { function should_return_value_not_found (line 249) | fn should_return_value_not_found() { function should_find_existing_entry (line 261) | fn should_find_existing_entry() { function should_query_empty_path (line 282) | fn should_query_empty_path() { function should_traverse_contract_pathing (line 314) | fn should_traverse_contract_pathing() { function should_traverse_account_pathing (line 353) | fn should_traverse_account_pathing() { function should_traverse_all_paths (line 392) | fn should_traverse_all_paths() { function handle_stored_value_into (line 528) | fn handle_stored_value_into( function cache_reads_invalidation (line 682) | fn cache_reads_invalidation() { function cache_writes_not_invalidated (line 705) | fn cache_writes_not_invalidated() { function query_for_circular_references_should_fail (line 729) | fn query_for_circular_references_should_fail() { function validate_query_proof_should_work (line 802) | fn validate_query_proof_should_work() { function get_keys_should_return_keys_in_the_account_keyspace (line 874) | fn get_keys_should_return_keys_in_the_account_keyspace() { function get_keys_should_return_keys_in_the_uref_keyspace (line 917) | fn get_keys_should_return_keys_in_the_uref_keyspace() { function get_keys_should_handle_reads_from_empty_trie (line 972) | fn get_keys_should_handle_reads_from_empty_trie() { function val_to_hashaddr (line 1038) | fn val_to_hashaddr>(value: T) -> HashAddr { function query_with_large_depth_with_fixed_path_should_fail (line 1045) | fn query_with_large_depth_with_fixed_path_should_fail() { function query_with_large_depth_with_urefs_should_fail (line 1105) | fn query_with_large_depth_with_urefs_should_fail() { function add_should_work (line 1171) | fn add_should_work() { function tracking_copy_get_should_not_return_value_if_pruned (line 1207) | fn tracking_copy_get_should_not_return_value_if_pruned() { function tracking_copy_keys_with_prefix_should_include_pruning_of_uncommited_keys (line 1231) | fn tracking_copy_keys_with_prefix_should_include_pruning_of_uncommited_k... FILE: types/benches/bytesrepr_bench.rs constant TEST_I32 (line 26) | const TEST_I32: i32 = 123_456_789; constant TEST_U128 (line 27) | const TEST_U128: U128 = U128([123_456_789, 0]); constant TEST_U256 (line 28) | const TEST_U256: U256 = U256([123_456_789, 0, 0, 0]); constant TEST_U512 (line 29) | const TEST_U512: U512 = U512([123_456_789, 0, 0, 0, 0, 0, 0, 0]); constant TEST_STR_1 (line 30) | const TEST_STR_1: &str = "String One"; constant TEST_STR_2 (line 31) | const TEST_STR_2: &str = "String Two"; function prepare_vector (line 33) | fn prepare_vector(size: usize) -> Vec { function serialize_vector_of_i32s (line 37) | fn serialize_vector_of_i32s(b: &mut Bencher) { function deserialize_vector_of_i32s (line 42) | fn deserialize_vector_of_i32s(b: &mut Bencher) { function serialize_vector_of_u8 (line 50) | fn serialize_vector_of_u8(b: &mut Bencher) { function deserialize_vector_of_u8 (line 59) | fn deserialize_vector_of_u8(b: &mut Bencher) { function serialize_u8 (line 70) | fn serialize_u8(b: &mut Bencher) { function deserialize_u8 (line 74) | fn deserialize_u8(b: &mut Bencher) { function serialize_i32 (line 78) | fn serialize_i32(b: &mut Bencher) { function deserialize_i32 (line 82) | fn deserialize_i32(b: &mut Bencher) { function serialize_u64 (line 86) | fn serialize_u64(b: &mut Bencher) { function deserialize_u64 (line 90) | fn deserialize_u64(b: &mut Bencher) { function serialize_some_u64 (line 94) | fn serialize_some_u64(b: &mut Bencher) { function deserialize_some_u64 (line 100) | fn deserialize_some_u64(b: &mut Bencher) { function serialize_none_u64 (line 107) | fn serialize_none_u64(b: &mut Bencher) { function deserialize_ok_u64 (line 113) | fn deserialize_ok_u64(b: &mut Bencher) { function make_test_vec_of_vec8 (line 119) | fn make_test_vec_of_vec8() -> Vec { function serialize_vector_of_vector_of_u8 (line 133) | fn serialize_vector_of_vector_of_u8(b: &mut Bencher) { function deserialize_vector_of_vector_of_u8 (line 138) | fn deserialize_vector_of_vector_of_u8(b: &mut Bencher) { function serialize_tree_map (line 143) | fn serialize_tree_map(b: &mut Bencher) { function deserialize_treemap (line 155) | fn deserialize_treemap(b: &mut Bencher) { function serialize_string (line 167) | fn serialize_string(b: &mut Bencher) { function deserialize_string (line 173) | fn deserialize_string(b: &mut Bencher) { function serialize_vec_of_string (line 179) | fn serialize_vec_of_string(b: &mut Bencher) { function deserialize_vec_of_string (line 186) | fn deserialize_vec_of_string(b: &mut Bencher) { function serialize_unit (line 194) | fn serialize_unit(b: &mut Bencher) { function deserialize_unit (line 198) | fn deserialize_unit(b: &mut Bencher) { function serialize_key_account (line 204) | fn serialize_key_account(b: &mut Bencher) { function deserialize_key_account (line 210) | fn deserialize_key_account(b: &mut Bencher) { function serialize_key_hash (line 217) | fn serialize_key_hash(b: &mut Bencher) { function deserialize_key_hash (line 222) | fn deserialize_key_hash(b: &mut Bencher) { function serialize_key_uref (line 229) | fn serialize_key_uref(b: &mut Bencher) { function deserialize_key_uref (line 234) | fn deserialize_key_uref(b: &mut Bencher) { function serialize_vec_of_keys (line 241) | fn serialize_vec_of_keys(b: &mut Bencher) { function deserialize_vec_of_keys (line 248) | fn deserialize_vec_of_keys(b: &mut Bencher) { function serialize_access_rights_read (line 256) | fn serialize_access_rights_read(b: &mut Bencher) { function deserialize_access_rights_read (line 260) | fn deserialize_access_rights_read(b: &mut Bencher) { function serialize_access_rights_write (line 265) | fn serialize_access_rights_write(b: &mut Bencher) { function deserialize_access_rights_write (line 269) | fn deserialize_access_rights_write(b: &mut Bencher) { function serialize_access_rights_add (line 274) | fn serialize_access_rights_add(b: &mut Bencher) { function deserialize_access_rights_add (line 278) | fn deserialize_access_rights_add(b: &mut Bencher) { function serialize_access_rights_read_add (line 283) | fn serialize_access_rights_read_add(b: &mut Bencher) { function deserialize_access_rights_read_add (line 287) | fn deserialize_access_rights_read_add(b: &mut Bencher) { function serialize_access_rights_read_write (line 292) | fn serialize_access_rights_read_write(b: &mut Bencher) { function deserialize_access_rights_read_write (line 296) | fn deserialize_access_rights_read_write(b: &mut Bencher) { function serialize_access_rights_add_write (line 301) | fn serialize_access_rights_add_write(b: &mut Bencher) { function deserialize_access_rights_add_write (line 305) | fn deserialize_access_rights_add_write(b: &mut Bencher) { function serialize_cl_value (line 310) | fn serialize_cl_value(raw_value: T) -> Vec { function benchmark_deserialization (line 317) | fn benchmark_deserialization(b: &mut B... function serialize_cl_value_int32 (line 325) | fn serialize_cl_value_int32(b: &mut Bencher) { function deserialize_cl_value_int32 (line 329) | fn deserialize_cl_value_int32(b: &mut Bencher) { function serialize_cl_value_uint128 (line 333) | fn serialize_cl_value_uint128(b: &mut Bencher) { function deserialize_cl_value_uint128 (line 337) | fn deserialize_cl_value_uint128(b: &mut Bencher) { function serialize_cl_value_uint256 (line 341) | fn serialize_cl_value_uint256(b: &mut Bencher) { function deserialize_cl_value_uint256 (line 345) | fn deserialize_cl_value_uint256(b: &mut Bencher) { function serialize_cl_value_uint512 (line 349) | fn serialize_cl_value_uint512(b: &mut Bencher) { function deserialize_cl_value_uint512 (line 353) | fn deserialize_cl_value_uint512(b: &mut Bencher) { function serialize_cl_value_bytearray (line 357) | fn serialize_cl_value_bytearray(b: &mut Bencher) { function deserialize_cl_value_bytearray (line 367) | fn deserialize_cl_value_bytearray(b: &mut Bencher) { function serialize_cl_value_listint32 (line 373) | fn serialize_cl_value_listint32(b: &mut Bencher) { function deserialize_cl_value_listint32 (line 377) | fn deserialize_cl_value_listint32(b: &mut Bencher) { function serialize_cl_value_string (line 381) | fn serialize_cl_value_string(b: &mut Bencher) { function deserialize_cl_value_string (line 385) | fn deserialize_cl_value_string(b: &mut Bencher) { function serialize_cl_value_liststring (line 389) | fn serialize_cl_value_liststring(b: &mut Bencher) { function deserialize_cl_value_liststring (line 393) | fn deserialize_cl_value_liststring(b: &mut Bencher) { function serialize_cl_value_namedkey (line 397) | fn serialize_cl_value_namedkey(b: &mut Bencher) { function deserialize_cl_value_namedkey (line 406) | fn deserialize_cl_value_namedkey(b: &mut Bencher) { function serialize_u128 (line 416) | fn serialize_u128(b: &mut Bencher) { function deserialize_u128 (line 421) | fn deserialize_u128(b: &mut Bencher) { function serialize_u256 (line 428) | fn serialize_u256(b: &mut Bencher) { function deserialize_u256 (line 433) | fn deserialize_u256(b: &mut Bencher) { function serialize_u512 (line 440) | fn serialize_u512(b: &mut Bencher) { function deserialize_u512 (line 445) | fn deserialize_u512(b: &mut Bencher) { function serialize_contract (line 452) | fn serialize_contract(b: &mut Bencher) { function deserialize_contract (line 457) | fn deserialize_contract(b: &mut Bencher) { function sample_contract (line 463) | fn sample_contract() -> AddressableEntity { function contract_version_key_fn (line 475) | fn contract_version_key_fn(i: u8) -> EntityVersionKey { function contract_hash_fn (line 479) | fn contract_hash_fn(i: u8) -> EntityAddr { function sample_map (line 483) | fn sample_map(key_fn: FK, value_fn: FV, count: u8) ->... function sample_set (line 497) | fn sample_set(fun: F, count: u8) -> BTreeSet function sample_group (line 504) | fn sample_group(i: u8) -> Group { function sample_uref (line 508) | fn sample_uref(i: u8) -> URef { function sample_contract_package (line 512) | fn sample_contract_package( function serialize_contract_package (line 532) | fn serialize_contract_package(b: &mut Bencher) { function deserialize_contract_package (line 537) | fn deserialize_contract_package(b: &mut Bencher) { function u32_to_pk (line 543) | fn u32_to_pk(i: u32) -> PublicKey { function sample_delegators (line 550) | fn sample_delegators(delegators_len: u32) -> Vec { function sample_delegator_bids (line 562) | fn sample_delegator_bids(delegators_len: u32) -> Vec { function sample_bid (line 579) | fn sample_bid(delegators_len: u32) -> Bid { function serialize_bid (line 601) | fn serialize_bid(delegators_len: u32, b: &mut Bencher) { function serialize_delegation_bid (line 605) | fn serialize_delegation_bid(delegators_len: u32, b: &mut Bencher) { function sample_validator_bid (line 612) | fn sample_validator_bid() -> BidKind { function serialize_validator_bid (line 628) | fn serialize_validator_bid(b: &mut Bencher) { function deserialize_bid (line 633) | fn deserialize_bid(delegators_len: u32, b: &mut Bencher) { function sample_transfer (line 639) | fn sample_transfer() -> TransferV2 { function serialize_transfer (line 652) | fn serialize_transfer(b: &mut Bencher) { function deserialize_transfer (line 657) | fn deserialize_transfer(b: &mut Bencher) { function sample_deploy_info (line 663) | fn sample_deploy_info(transfer_len: u16) -> DeployInfo { function serialize_deploy_info (line 680) | fn serialize_deploy_info(b: &mut Bencher) { function deserialize_deploy_info (line 685) | fn deserialize_deploy_info(b: &mut Bencher) { function sample_era_info (line 691) | fn sample_era_info(delegators_len: u32) -> EraInfo { function serialize_era_info (line 701) | fn serialize_era_info(delegators_len: u32, b: &mut Bencher) { function deserialize_era_info (line 706) | fn deserialize_era_info(delegators_len: u32, b: &mut Bencher) { function bytesrepr_bench (line 712) | fn bytesrepr_bench(c: &mut Criterion) { FILE: types/src/access_rights.rs constant ACCESS_RIGHTS_SERIALIZED_LENGTH (line 18) | pub const ACCESS_RIGHTS_SERIALIZED_LENGTH: usize = 1; method default (line 54) | fn default() -> Self { method is_readable (line 61) | pub fn is_readable(self) -> bool { method is_writeable (line 66) | pub fn is_writeable(self) -> bool { method is_addable (line 71) | pub fn is_addable(self) -> bool { method is_none (line 76) | pub fn is_none(self) -> bool { method fmt (line 82) | fn fmt(&self, f: &mut Formatter) -> fmt::Result { method to_bytes (line 98) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 102) | fn serialized_length(&self) -> usize { method write_bytes (line 106) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 113) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method serialize (line 123) | fn serialize(&self, serializer: S) -> Result>(deserializer: D) -> Result(&self, rng: &mut R) -> AccessRights { type GrantedAccess (line 154) | pub enum GrantedAccess { type ContextAccessRights (line 168) | pub struct ContextAccessRights { method new (line 176) | pub fn new>(hash_addr: HashAddr, uref_ite... method extend_access_rights (line 186) | pub fn extend_access_rights(&mut self, access_rights: BTreeMap HashAddr { method extend (line 205) | pub fn extend(&mut self, urefs: &[URef]) { method do_extend (line 210) | fn do_extend>(&mut self, uref_iter: T) { method has_access_rights_to_uref (line 224) | pub fn has_access_rights_to_uref(&self, uref: &URef) -> bool { method access_rights (line 235) | pub fn access_rights(&self) -> &BTreeMap { method take_access_rights (line 240) | pub fn take_access_rights(self) -> BTreeMap { method grant_access (line 245) | pub fn grant_access(&mut self, uref: URef) -> GrantedAccess { method remove_access (line 271) | pub fn remove_access(&mut self, uref_addr: URefAddr, access_rights: Ac... constant ENTITY_HASH (line 283) | const ENTITY_HASH: HashAddr = [1u8; 32]; constant UREF_ADDRESS (line 284) | const UREF_ADDRESS: [u8; UREF_ADDR_LENGTH] = [1; UREF_ADDR_LENGTH]; constant UREF_NO_PERMISSIONS (line 285) | const UREF_NO_PERMISSIONS: URef = URef::new(UREF_ADDRESS, AccessRights::... constant UREF_READ (line 286) | const UREF_READ: URef = URef::new(UREF_ADDRESS, AccessRights::READ); constant UREF_ADD (line 287) | const UREF_ADD: URef = URef::new(UREF_ADDRESS, AccessRights::ADD); constant UREF_WRITE (line 288) | const UREF_WRITE: URef = URef::new(UREF_ADDRESS, AccessRights::WRITE); constant UREF_READ_ADD (line 289) | const UREF_READ_ADD: URef = URef::new(UREF_ADDRESS, AccessRights::READ_A... constant UREF_READ_ADD_WRITE (line 290) | const UREF_READ_ADD_WRITE: URef = URef::new(UREF_ADDRESS, AccessRights::... function test_readable (line 292) | fn test_readable(right: AccessRights, is_true: bool) { function test_is_readable (line 297) | fn test_is_readable() { function test_writable (line 307) | fn test_writable(right: AccessRights, is_true: bool) { function test_is_writable (line 312) | fn test_is_writable() { function test_addable (line 322) | fn test_addable(right: AccessRights, is_true: bool) { function test_is_addable (line 327) | fn test_is_addable() { function should_check_has_access_rights_to_uref (line 338) | fn should_check_has_access_rights_to_uref() { function should_check_does_not_have_access_rights_to_uref (line 347) | fn should_check_does_not_have_access_rights_to_uref() { function should_extend_access_rights (line 355) | fn should_extend_access_rights() { function should_perform_union_of_access_rights_in_new (line 378) | fn should_perform_union_of_access_rights_in_new() { function should_grant_access_rights (line 389) | fn should_grant_access_rights() { function should_remove_access_rights (line 415) | fn should_remove_access_rights() { FILE: types/src/account.rs type Account (line 65) | pub struct Account { method new (line 75) | pub fn new( method create (line 96) | pub fn create(account: AccountHash, named_keys: NamedKeys, main_purse:... method named_keys_append (line 110) | pub fn named_keys_append(&mut self, keys: NamedKeys) { method named_keys (line 115) | pub fn named_keys(&self) -> &NamedKeys { method named_keys_mut (line 120) | pub fn named_keys_mut(&mut self) -> &mut NamedKeys { method remove_named_key (line 125) | pub fn remove_named_key(&mut self, name: &str) -> Option { method account_hash (line 130) | pub fn account_hash(&self) -> AccountHash { method main_purse (line 135) | pub fn main_purse(&self) -> URef { method main_purse_add_only (line 140) | pub fn main_purse_add_only(&self) -> URef { method associated_keys (line 145) | pub fn associated_keys(&self) -> &AssociatedKeys { method action_thresholds (line 150) | pub fn action_thresholds(&self) -> &ActionThresholds { method add_associated_key (line 155) | pub fn add_associated_key( method can_remove_key (line 164) | fn can_remove_key(&self, account_hash: AccountHash) -> bool { method can_update_key (line 177) | fn can_update_key(&self, account_hash: AccountHash, weight: Weight) ->... method remove_associated_key (line 196) | pub fn remove_associated_key( method update_associated_key (line 212) | pub fn update_associated_key( method set_action_threshold_unchecked (line 235) | pub fn set_action_threshold_unchecked( method set_action_threshold (line 247) | pub fn set_action_threshold( method can_set_threshold (line 260) | pub fn can_set_threshold(&self, new_threshold: Weight) -> Result<(), S... method can_authorize (line 269) | pub fn can_authorize(&self, authorization_keys: &BTreeSet... method can_deploy_with (line 278) | pub fn can_deploy_with(&self, authorization_keys: &BTreeSet &'static Self { method to_bytes (line 305) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 315) | fn serialized_length(&self) -> usize { method write_bytes (line 323) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 334) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function account_hash_from_slice (line 400) | fn account_hash_from_slice() { function account_hash_from_slice_too_small (line 410) | fn account_hash_from_slice_too_small() { function account_hash_from_slice_too_big (line 416) | fn account_hash_from_slice_too_big() { function try_from_i32_for_set_threshold_failure (line 422) | fn try_from_i32_for_set_threshold_failure() { function try_from_i32_for_add_key_failure (line 433) | fn try_from_i32_for_add_key_failure() { function try_from_i32_for_remove_key_failure (line 444) | fn try_from_i32_for_remove_key_failure() { function try_from_i32_for_update_key_failure (line 455) | fn try_from_i32_for_update_key_failure() { function account_hash_from_str (line 466) | fn account_hash_from_str() { function account_hash_serde_roundtrip (line 494) | fn account_hash_serde_roundtrip() { function account_hash_json_roundtrip (line 502) | fn account_hash_json_roundtrip() { function associated_keys_can_authorize_keys (line 510) | fn associated_keys_can_authorize_keys() { function account_can_deploy_with (line 558) | fn account_can_deploy_with() { function account_can_manage_keys_with (line 602) | fn account_can_manage_keys_with() { function set_action_threshold_higher_than_total_weight (line 646) | fn set_action_threshold_higher_than_total_weight() { function remove_key_would_violate_action_thresholds (line 686) | fn remove_key_would_violate_action_thresholds() { function updating_key_would_violate_action_thresholds (line 718) | fn updating_key_would_violate_action_thresholds() { function overflowing_should_allow_removal (line 782) | fn overflowing_should_allow_removal() { function overflowing_should_allow_updating (line 814) | fn overflowing_should_allow_updating() { FILE: types/src/account/account_hash.rs constant ACCOUNT_HASH_LENGTH (line 24) | pub const ACCOUNT_HASH_LENGTH: usize = 32; constant ACCOUNT_HASH_FORMATTED_STRING_PREFIX (line 27) | pub const ACCOUNT_HASH_FORMATTED_STRING_PREFIX: &str = "account-hash-"; type AccountHash (line 38) | pub struct AccountHash( method new (line 45) | pub const fn new(value: [u8; ACCOUNT_HASH_LENGTH]) -> AccountHash { method value (line 50) | pub fn value(&self) -> [u8; ACCOUNT_HASH_LENGTH] { method as_bytes (line 55) | pub fn as_bytes(&self) -> &[u8] { method to_formatted_string (line 60) | pub fn to_formatted_string(self) -> String { method to_hex_string (line 69) | pub fn to_hex_string(&self) -> String { method from_formatted_str (line 74) | pub fn from_formatted_str(input: &str) -> Result { method from_public_key (line 84) | pub fn from_public_key( method deserialize (line 124) | fn deserialize>(deserializer: D) -> Result Result) -> Result { method from (line 156) | fn from(public_key: &PublicKey) -> Self { method as_ref (line 205) | fn as_ref(&self) -> &[u8] { method serialize (line 114) | fn serialize(&self, serializer: S) -> Result) -> core::fmt::Result { method fmt (line 168) | fn fmt(&self, f: &mut Formatter) -> core::fmt::Result { method cl_type (line 174) | fn cl_type() -> CLType { method to_bytes (line 181) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 186) | fn serialized_length(&self) -> usize { method write_bytes (line 191) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), Error> { method from_bytes (line 198) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { type TryFromSliceForAccountHashError (line 212) | pub struct TryFromSliceForAccountHashError(()); method sample (line 216) | fn sample(&self, rng: &mut R) -> AccountHash { FILE: types/src/account/action_thresholds.rs type ActionThresholds (line 22) | pub struct ActionThresholds { method new (line 34) | pub fn new( method set_deployment_threshold (line 52) | pub fn set_deployment_threshold( method set_key_management_threshold (line 65) | pub fn set_key_management_threshold( method deployment (line 78) | pub fn deployment(&self) -> &Weight { method key_management (line 83) | pub fn key_management(&self) -> &Weight { method set_threshold (line 89) | pub fn set_threshold( method default (line 102) | fn default() -> Self { method to_bytes (line 111) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 118) | fn serialized_length(&self) -> usize { method write_bytes (line 122) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 130) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { function account_action_thresholds_arb (line 148) | pub fn account_action_thresholds_arb() -> impl Strategy Result { FILE: types/src/account/associated_keys.rs type AddKeyFailure (line 30) | pub enum AddKeyFailure { type Error (line 57) | type Error = TryFromIntError; method try_from (line 59) | fn try_from(value: i32) -> Result { method fmt (line 41) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { type RemoveKeyFailure (line 73) | pub enum RemoveKeyFailure { type Error (line 102) | type Error = TryFromIntError; method try_from (line 104) | fn try_from(value: i32) -> Result { method fmt (line 85) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { type UpdateKeyFailure (line 123) | pub enum UpdateKeyFailure { type Error (line 153) | type Error = TryFromIntError; method try_from (line 155) | fn try_from(value: i32) -> Result { method fmt (line 136) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { type AssociatedKeys (line 176) | pub struct AssociatedKeys( method new (line 183) | pub fn new(key: AccountHash, weight: Weight) -> AssociatedKeys { method add_key (line 192) | pub fn add_key(&mut self, key: AccountHash, weight: Weight) -> Result<... method remove_key (line 205) | pub fn remove_key(&mut self, key: &AccountHash) -> Result<(), RemoveKe... method update_key (line 214) | pub fn update_key(&mut self, key: AccountHash, weight: Weight) -> Resu... method get (line 227) | pub fn get(&self, key: &AccountHash) -> Option<&Weight> { method contains_key (line 232) | pub fn contains_key(&self, key: &AccountHash) -> bool { method iter (line 237) | pub fn iter(&self) -> impl Iterator { method len (line 242) | pub fn len(&self) -> usize { method is_empty (line 247) | pub fn is_empty(&self) -> bool { method calculate_any_keys_weight (line 258) | fn calculate_any_keys_weight<'a>(&self, keys: impl Iterator Weight { method total_keys_weight_excluding (line 277) | pub fn total_keys_weight_excluding(&self, account_hash: AccountHash) -... method from (line 283) | fn from(associated_keys: BTreeMap) -> Self { function from (line 289) | fn from(associated_keys: AssociatedKeys) -> Self { method to_bytes (line 295) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 299) | fn serialized_length(&self) -> usize { method write_bytes (line 303) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 309) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { type Labels (line 315) | struct Labels; constant KEY (line 318) | const KEY: &'static str = "account_hash"; constant VALUE (line 319) | const VALUE: &'static str = "weight"; constant JSON_SCHEMA_KV_NAME (line 324) | const JSON_SCHEMA_KV_NAME: Option<&'static str> = Some("AssociatedKey"); constant JSON_SCHEMA_KV_DESCRIPTION (line 325) | const JSON_SCHEMA_KV_DESCRIPTION: Option<&'static str> = Some("A weighte... constant JSON_SCHEMA_KEY_DESCRIPTION (line 326) | const JSON_SCHEMA_KEY_DESCRIPTION: Option<&'static str> = constant JSON_SCHEMA_VALUE_DESCRIPTION (line 328) | const JSON_SCHEMA_VALUE_DESCRIPTION: Option<&'static str> = function account_associated_keys_arb (line 341) | pub fn account_associated_keys_arb() -> impl Strategy Self { method from (line 30) | fn from(error: TryFromSliceError) -> Self { method fmt (line 36) | fn fmt(&self, f: &mut Formatter) -> fmt::Result { type SetThresholdFailure (line 53) | pub enum SetThresholdFailure { type Error (line 69) | type Error = TryFromIntError; method try_from (line 71) | fn try_from(value: i32) -> Result { method fmt (line 91) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { FILE: types/src/account/weight.rs constant WEIGHT_SERIALIZED_LENGTH (line 16) | pub const WEIGHT_SERIALIZED_LENGTH: usize = U8_SERIALIZED_LENGTH; type Weight (line 26) | pub struct Weight(u8); constant MAX (line 30) | pub const MAX: Weight = Weight(u8::MAX); method new (line 33) | pub const fn new(weight: u8) -> Weight { method value (line 38) | pub fn value(self) -> u8 { method to_bytes (line 44) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 48) | fn serialized_length(&self) -> usize { method write_bytes (line 52) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 59) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { method cl_type (line 66) | fn cl_type() -> CLType { FILE: types/src/addressable_entity.rs constant MAX_GROUPS (line 77) | pub const MAX_GROUPS: u8 = 10; constant MAX_TOTAL_UREFS (line 79) | pub const MAX_TOTAL_UREFS: usize = 100; constant ADDRESSABLE_ENTITY_STRING_PREFIX (line 83) | pub const ADDRESSABLE_ENTITY_STRING_PREFIX: &str = "addressable-entity-"; constant ENTITY_PREFIX (line 86) | pub const ENTITY_PREFIX: &str = "entity-"; constant ACCOUNT_ENTITY_PREFIX (line 89) | pub const ACCOUNT_ENTITY_PREFIX: &str = "account-"; constant CONTRACT_ENTITY_PREFIX (line 92) | pub const CONTRACT_ENTITY_PREFIX: &str = "contract-"; constant SYSTEM_ENTITY_PREFIX (line 95) | pub const SYSTEM_ENTITY_PREFIX: &str = "system-"; constant NAMED_KEY_PREFIX (line 98) | pub const NAMED_KEY_PREFIX: &str = "named-key-"; type Error (line 104) | pub enum Error { type Error (line 168) | type Error = (); method try_from (line 170) | fn try_from(value: u8) -> Result { type TryFromSliceForContractHashError (line 189) | pub struct TryFromSliceForContractHashError(()); method fmt (line 192) | fn fmt(&self, f: &mut Formatter) -> fmt::Result { type FromStrError (line 200) | pub enum FromStrError { method from (line 216) | fn from(error: base16::DecodeError) -> Self { method from (line 222) | fn from(error: TryFromSliceError) -> Self { method from (line 228) | fn from(error: uref::FromStrError) -> Self { method fmt (line 234) | fn fmt(&self, f: &mut Formatter) -> fmt::Result { type AddressableEntityHash (line 258) | pub struct AddressableEntityHash( method new (line 264) | pub const fn new(value: HashAddr) -> AddressableEntityHash { method entity_addr (line 269) | pub fn entity_addr(&self, entity: AddressableEntity) -> EntityAddr { method value (line 274) | pub fn value(&self) -> HashAddr { method as_bytes (line 279) | pub fn as_bytes(&self) -> &[u8] { method to_formatted_string (line 284) | pub fn to_formatted_string(self) -> String { method to_hex_string (line 293) | pub fn to_hex_string(&self) -> String { method from_formatted_str (line 299) | pub fn from_formatted_str(input: &str) -> Result { method from (line 309) | fn from(contract_hash: ContractHash) -> Self { method from (line 362) | fn from(bytes: [u8; 32]) -> Self { type Error (line 368) | type Error = ApiError; method try_from (line 370) | fn try_from(value: Key) -> Result { method deserialize (line 390) | fn deserialize>(deserializer: D) -> Result &[u8] { type Error (line 408) | type Error = TryFromSliceForContractHashError; method try_from (line 410) | fn try_from(bytes: &[u8]) -> Result) -> Result { method from (line 927) | fn from(entity_addr: EntityAddr) -> Self { method fmt (line 315) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { method fmt (line 321) | fn fmt(&self, f: &mut Formatter) -> fmt::Result { method cl_type (line 331) | fn cl_type() -> CLType { method to_bytes (line 338) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 343) | fn serialized_length(&self) -> usize { method write_bytes (line 348) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 355) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method serialize (line 380) | fn serialize(&self, serializer: S) -> Result(&self, rng: &mut R) -> AddressableEntityHash { type EntityKindTag (line 438) | pub enum EntityKindTag { type Error (line 448) | type Error = bytesrepr::Error; method try_from (line 450) | fn try_from(value: u8) -> Result { method to_bytes (line 461) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 465) | fn serialized_length(&self) -> usize { method write_bytes (line 469) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 475) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method fmt (line 482) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { method sample (line 499) | fn sample(&self, rng: &mut R) -> EntityKindTag { type ContractRuntimeTag (line 520) | pub enum ContractRuntimeTag { method tag (line 574) | pub fn tag(&self) -> u8 { method sample (line 528) | fn sample(&self, rng: &mut R) -> ContractRuntimeTag { method to_bytes (line 538) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 542) | fn serialized_length(&self) -> usize { method write_bytes (line 546) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 552) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method fmt (line 565) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type EntityKind (line 583) | pub enum EntityKind { method maybe_account_hash (line 594) | pub fn maybe_account_hash(&self) -> Option { method associated_keys (line 602) | pub fn associated_keys(&self) -> AssociatedKeys { method is_system (line 610) | pub fn is_system(&self) -> bool { method is_system_mint (line 615) | pub fn is_system_mint(&self) -> bool { method is_system_auction (line 620) | pub fn is_system_auction(&self) -> bool { method is_system_account (line 625) | pub fn is_system_account(&self) -> bool { method tag (line 639) | fn tag(&self) -> EntityKindTag { method tag (line 649) | fn tag(&self) -> u8 { method to_bytes (line 656) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 662) | fn serialized_length(&self) -> usize { method write_bytes (line 673) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 692) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method fmt (line 712) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { method sample (line 729) | fn sample(&self, rng: &mut R) -> EntityKind { type EntityAddr (line 743) | pub enum EntityAddr { constant LENGTH (line 754) | pub const LENGTH: usize = U8_SERIALIZED_LENGTH + KEY_HASH_LENGTH; method new_system (line 757) | pub const fn new_system(hash_addr: HashAddr) -> Self { method new_account (line 762) | pub const fn new_account(hash_addr: HashAddr) -> Self { method new_smart_contract (line 767) | pub const fn new_smart_contract(hash_addr: HashAddr) -> Self { method new_of_kind (line 772) | pub fn new_of_kind(entity_kind: EntityKind, hash_addr: HashAddr) -> Se... method tag (line 781) | pub fn tag(&self) -> EntityKindTag { method is_system (line 790) | pub fn is_system(&self) -> bool { method is_contract (line 796) | pub fn is_contract(&self) -> bool { method is_account (line 801) | pub fn is_account(&self) -> bool { method value (line 806) | pub fn value(&self) -> HashAddr { method to_formatted_string (line 815) | pub fn to_formatted_string(&self) -> String { method from_formatted_str (line 845) | pub fn from_formatted_str(input: &str) -> Result { method into_smart_contract (line 870) | pub fn into_smart_contract(&self) -> Option<[u8; 32]> { method deserialize (line 974) | fn deserialize>(deserializer: D) -> Result Result, bytesrepr::Error> { method serialized_length (line 885) | fn serialized_length(&self) -> usize { method write_bytes (line 889) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 908) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method cl_type (line 921) | fn cl_type() -> CLType { method fmt (line 933) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { method fmt (line 939) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { method serialize (line 963) | fn serialize(&self, serializer: S) -> Result(&self, rng: &mut R) -> EntityAddr { type NamedKeyAddr (line 1005) | pub struct NamedKeyAddr { constant NAMED_KEY_ADDR_BASE_LENGTH (line 1014) | pub const NAMED_KEY_ADDR_BASE_LENGTH: usize = 1 + EntityAddr::LENGTH; method new_named_key_entry (line 1017) | pub const fn new_named_key_entry( method new_from_string (line 1029) | pub fn new_from_string( method entity_addr (line 1048) | pub fn entity_addr(&self) -> EntityAddr { method to_formatted_string (line 1053) | pub fn to_formatted_string(&self) -> String { method from_formatted_str (line 1058) | pub fn from_formatted_str(input: &str) -> Result { method default (line 1075) | fn default() -> Self { method to_bytes (line 1084) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 1091) | fn serialized_length(&self) -> usize { method from_bytes (line 1097) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method fmt (line 1111) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { method fmt (line 1123) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { method sample (line 1135) | fn sample(&self, rng: &mut R) -> NamedKeyAddr { type NamedKeyValue (line 1147) | pub struct NamedKeyValue { method new (line 1156) | pub fn new(key: CLValue, name: CLValue) -> Self { method from_concrete_values (line 1164) | pub fn from_concrete_values(named_key: Key, name: String) -> Result &CLValue { method get_name_as_cl_value (line 1176) | pub fn get_name_as_cl_value(&self) -> &CLValue { method get_key (line 1181) | pub fn get_key(&self) -> Result { method get_name (line 1186) | pub fn get_name(&self) -> Result { method to_bytes (line 1192) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 1199) | fn serialized_length(&self) -> usize { method from_bytes (line 1205) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { type MessageTopics (line 1217) | pub struct MessageTopics( method add_topic (line 1245) | pub fn add_topic( method has_topic (line 1260) | pub fn has_topic(&self, topic_name: &str) -> bool { method get (line 1265) | pub fn get(&self, topic_name: &str) -> Option<&TopicNameHash> { method len (line 1270) | pub fn len(&self) -> usize { method is_empty (line 1275) | pub fn is_empty(&self) -> bool { method iter (line 1280) | pub fn iter(&self) -> impl Iterator { method from (line 1298) | fn from(topics: BTreeMap) -> MessageTopics { method to_bytes (line 1223) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 1227) | fn serialized_length(&self) -> usize { method write_bytes (line 1231) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 1237) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { type MessageTopicLabels (line 1285) | struct MessageTopicLabels; constant KEY (line 1288) | const KEY: &'static str = "topic_name"; constant VALUE (line 1289) | const VALUE: &'static str = "topic_name_hash"; constant JSON_SCHEMA_KV_NAME (line 1294) | const JSON_SCHEMA_KV_NAME: Option<&'static str> = Some("MessageTopic"); type MessageTopicError (line 1306) | pub enum MessageTopicError { type ContractAddress (line 1341) | pub type ContractAddress = PackageHash; type AddressableEntity (line 1347) | pub struct AddressableEntity { method new (line 1383) | pub fn new( method entity_addr (line 1404) | pub fn entity_addr(&self, entity_hash: AddressableEntityHash) -> Entit... method entity_kind (line 1413) | pub fn entity_kind(&self) -> EntityKind { method package_hash (line 1418) | pub fn package_hash(&self) -> PackageHash { method byte_code_hash (line 1423) | pub fn byte_code_hash(&self) -> ByteCodeHash { method protocol_version (line 1428) | pub fn protocol_version(&self) -> ProtocolVersion { method main_purse (line 1433) | pub fn main_purse(&self) -> URef { method main_purse_add_only (line 1438) | pub fn main_purse_add_only(&self) -> URef { method associated_keys (line 1443) | pub fn associated_keys(&self) -> &AssociatedKeys { method action_thresholds (line 1448) | pub fn action_thresholds(&self) -> &ActionThresholds { method add_associated_key (line 1453) | pub fn add_associated_key( method can_remove_key (line 1462) | fn can_remove_key(&self, account_hash: AccountHash) -> bool { method can_update_key (line 1475) | fn can_update_key(&self, account_hash: AccountHash, weight: Weight) ->... method remove_associated_key (line 1494) | pub fn remove_associated_key( method update_associated_key (line 1510) | pub fn update_associated_key( method set_action_threshold (line 1530) | pub fn set_action_threshold( method set_action_threshold_unchecked (line 1549) | pub fn set_action_threshold_unchecked( method can_set_threshold (line 1558) | pub fn can_set_threshold(&self, new_threshold: Weight) -> Result<(), S... method can_authorize (line 1567) | pub fn can_authorize(&self, authorization_keys: &BTreeSet... method can_deploy_with (line 1576) | pub fn can_deploy_with(&self, authorization_keys: &BTreeSet HashAddr { method set_protocol_version (line 1610) | pub fn set_protocol_version(&mut self, protocol_version: ProtocolVersi... method is_compatible_protocol_version (line 1615) | pub fn is_compatible_protocol_version(&self, protocol_version: Protoco... method kind (line 1629) | pub fn kind(&self) -> EntityKind { method is_account_kind (line 1634) | pub fn is_account_kind(&self) -> bool { method entity_key (line 1639) | pub fn entity_key(&self, entity_hash: AddressableEntityHash) -> Key { method extract_access_rights (line 1654) | pub fn extract_access_rights( method example (line 1669) | pub fn example() -> &'static Self { method from (line 1748) | fn from(value: Contract) -> Self { method from (line 1762) | fn from(value: Account) -> Self { function from (line 1368) | fn from(entity: AddressableEntity) -> Self { method to_bytes (line 1675) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 1687) | fn serialized_length(&self) -> usize { method write_bytes (line 1697) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 1710) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method default (line 1734) | fn default() -> Self { function entity_hash_from_slice (line 1784) | fn entity_hash_from_slice() { function entity_hash_from_str (line 1792) | fn entity_hash_from_str() { function named_key_addr_from_str (line 1816) | fn named_key_addr_from_str() { function entity_hash_serde_roundtrip (line 1825) | fn entity_hash_serde_roundtrip() { function entity_hash_json_roundtrip (line 1833) | fn entity_hash_json_roundtrip() { function entity_addr_formatted_string_roundtrip (line 1841) | fn entity_addr_formatted_string_roundtrip() { function entity_addr_serialization_roundtrip (line 1859) | fn entity_addr_serialization_roundtrip() { function entity_addr_serde_roundtrip (line 1870) | fn entity_addr_serde_roundtrip() { function entity_addr_json_roundtrip (line 1883) | fn entity_addr_json_roundtrip() { function entity_addr_schema (line 1897) | fn entity_addr_schema() { function should_extract_access_rights (line 1915) | fn should_extract_access_rights() { FILE: types/src/addressable_entity/action_thresholds.rs type ActionThresholds (line 22) | pub struct ActionThresholds { method new (line 36) | pub fn new( method set_deployment_threshold (line 56) | pub fn set_deployment_threshold( method set_key_management_threshold (line 69) | pub fn set_key_management_threshold( method set_upgrade_management_threshold (line 82) | pub fn set_upgrade_management_threshold( method deployment (line 91) | pub fn deployment(&self) -> &Weight { method key_management (line 96) | pub fn key_management(&self) -> &Weight { method upgrade_management (line 101) | pub fn upgrade_management(&self) -> &Weight { method set_threshold (line 107) | pub fn set_threshold( method from (line 131) | fn from(value: AccountActionThresholds) -> Self { method default (line 121) | fn default() -> Self { method to_bytes (line 141) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 149) | fn serialized_length(&self) -> usize { method write_bytes (line 153) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 162) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { function action_thresholds_arb (line 182) | pub fn action_thresholds_arb() -> impl Strategy { function should_create_new_action_thresholds (line 192) | fn should_create_new_action_thresholds() { function should_not_create_action_thresholds_with_invalid_deployment_threshold (line 201) | fn should_not_create_action_thresholds_with_invalid_deployment_threshold... function serialization_roundtrip (line 207) | fn serialization_roundtrip() { FILE: types/src/addressable_entity/action_type.rs type ActionType (line 7) | pub enum ActionType { type Error (line 25) | type Error = TryFromIntError; method try_from (line 27) | fn try_from(value: u32) -> Result { FILE: types/src/addressable_entity/associated_keys.rs type AssociatedKeys (line 33) | pub struct AssociatedKeys( method new (line 40) | pub fn new(key: AccountHash, weight: Weight) -> AssociatedKeys { method add_key (line 49) | pub fn add_key(&mut self, key: AccountHash, weight: Weight) -> Result<... method remove_key (line 62) | pub fn remove_key(&mut self, key: &AccountHash) -> Result<(), RemoveKe... method update_key (line 71) | pub fn update_key(&mut self, key: AccountHash, weight: Weight) -> Resu... method get (line 84) | pub fn get(&self, key: &AccountHash) -> Option<&Weight> { method contains_key (line 89) | pub fn contains_key(&self, key: &AccountHash) -> bool { method iter (line 94) | pub fn iter(&self) -> impl Iterator { method len (line 99) | pub fn len(&self) -> usize { method is_empty (line 104) | pub fn is_empty(&self) -> bool { method calculate_any_keys_weight (line 115) | fn calculate_any_keys_weight<'a>(&self, keys: impl Iterator Weight { method total_keys_weight_excluding (line 134) | pub fn total_keys_weight_excluding(&self, account_hash: AccountHash) -... method empty_keys (line 138) | pub fn empty_keys() -> Self { method from (line 144) | fn from(associated_keys: BTreeMap) -> Self { method from (line 171) | fn from(value: AccountAssociatedKeys) -> Self { method to_bytes (line 150) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 154) | fn serialized_length(&self) -> usize { method write_bytes (line 158) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 164) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { type Labels (line 182) | struct Labels; constant KEY (line 185) | const KEY: &'static str = "account_hash"; constant VALUE (line 186) | const VALUE: &'static str = "weight"; constant JSON_SCHEMA_KV_NAME (line 191) | const JSON_SCHEMA_KV_NAME: Option<&'static str> = Some("AssociatedKey"); constant JSON_SCHEMA_KV_DESCRIPTION (line 192) | const JSON_SCHEMA_KV_DESCRIPTION: Option<&'static str> = Some("A weighte... constant JSON_SCHEMA_KEY_DESCRIPTION (line 193) | const JSON_SCHEMA_KEY_DESCRIPTION: Option<&'static str> = constant JSON_SCHEMA_VALUE_DESCRIPTION (line 195) | const JSON_SCHEMA_VALUE_DESCRIPTION: Option<&'static str> = function associated_keys_arb (line 208) | pub fn associated_keys_arb() -> impl Strategy { function associated_keys_add (line 232) | fn associated_keys_add() { function associated_keys_add_duplicate (line 242) | fn associated_keys_add_duplicate() { function associated_keys_remove (line 254) | fn associated_keys_remove() { function associated_keys_update (line 265) | fn associated_keys_update() { function associated_keys_calculate_keys_once (line 282) | fn associated_keys_calculate_keys_once() { function associated_keys_total_weight (line 304) | fn associated_keys_total_weight() { function associated_keys_total_weight_excluding (line 322) | fn associated_keys_total_weight_excluding() { function overflowing_keys_weight (line 349) | fn overflowing_keys_weight() { function serialization_roundtrip (line 383) | fn serialization_roundtrip() { FILE: types/src/addressable_entity/entry_points.rs constant V1_ENTRY_POINT_TAG (line 35) | const V1_ENTRY_POINT_TAG: u8 = 0; constant V1_ENTRY_POINT_PREFIX (line 37) | const V1_ENTRY_POINT_PREFIX: &str = "entry-point-v1-"; type EntryPointType (line 47) | pub enum EntryPointType { method is_legacy_pattern (line 72) | pub fn is_legacy_pattern(&self) -> bool { method bits (line 77) | pub fn bits(self) -> u8 { method is_invalid_context (line 82) | pub fn is_invalid_context(&self) -> bool { method to_bytes (line 91) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 95) | fn serialized_length(&self) -> usize { method write_bytes (line 99) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 106) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { constant DEFAULT_ENTRY_POINT_NAME (line 115) | pub const DEFAULT_ENTRY_POINT_NAME: &str = "call"; type Parameters (line 118) | pub type Parameters = Vec; type EntryPointPayment (line 125) | pub enum EntryPointPayment { method will_pay_direct_invocation (line 136) | pub fn will_pay_direct_invocation(&self) -> bool { method to_bytes (line 145) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 151) | fn serialized_length(&self) -> usize { method write_bytes (line 155) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), Error> { method from_bytes (line 162) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { type EntityEntryPoint (line 181) | pub struct EntityEntryPoint { method new (line 214) | pub fn new>( method default_with_name (line 233) | pub fn default_with_name>(name: T) -> Self { method name (line 241) | pub fn name(&self) -> &str { method access (line 246) | pub fn access(&self) -> &EntryPointAccess { method args (line 251) | pub fn args(&self) -> &[Parameter] { method ret (line 256) | pub fn ret(&self) -> &CLType { method entry_point_type (line 261) | pub fn entry_point_type(&self) -> EntryPointType { method entry_point_payment (line 266) | pub fn entry_point_payment(&self) -> EntryPointPayment { function from (line 200) | fn from(entry_point: EntityEntryPoint) -> Self { method default (line 273) | fn default() -> Self { method to_bytes (line 286) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 292) | fn serialized_length(&self) -> usize { method write_bytes (line 301) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 313) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { type EntryPointAccess (line 340) | pub enum EntryPointAccess { method groups (line 357) | pub fn groups(labels: &[&str]) -> Self { constant ENTRYPOINTACCESS_PUBLIC_TAG (line 351) | const ENTRYPOINTACCESS_PUBLIC_TAG: u8 = 1; constant ENTRYPOINTACCESS_GROUPS_TAG (line 352) | const ENTRYPOINTACCESS_GROUPS_TAG: u8 = 2; constant ENTRYPOINTACCESS_ABSTRACT_TAG (line 353) | const ENTRYPOINTACCESS_ABSTRACT_TAG: u8 = 3; method to_bytes (line 367) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 385) | fn serialized_length(&self) -> usize { method write_bytes (line 393) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 411) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { type Parameter (line 431) | pub struct Parameter { method new (line 438) | pub fn new>(name: T, cl_type: CLType) -> Self { method cl_type (line 446) | pub fn cl_type(&self) -> &CLType { method name (line 451) | pub fn name(&self) -> &str { function from (line 457) | fn from(parameter: Parameter) -> Self { method to_bytes (line 463) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 470) | fn serialized_length(&self) -> usize { method write_bytes (line 474) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 481) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { type EntryPoints (line 492) | pub struct EntryPoints(BTreeMap); method new (line 527) | pub const fn new() -> EntryPoints { method new_with_default_entry_point (line 532) | pub fn new_with_default_entry_point() -> Self { method add_entry_point (line 540) | pub fn add_entry_point(&mut self, entry_point: EntityEntryPoint) { method has_entry_point (line 545) | pub fn has_entry_point(&self, entry_point_name: &str) -> bool { method get (line 550) | pub fn get(&self, entry_point_name: &str) -> Option<&EntityEntryPoint> { method keys (line 555) | pub fn keys(&self) -> impl Iterator { method take_entry_points (line 560) | pub fn take_entry_points(self) -> Vec { method len (line 565) | pub fn len(&self) -> usize { method is_empty (line 570) | pub fn is_empty(&self) -> bool { method contains_stored_session (line 575) | pub fn contains_stored_session(&self) -> bool { method from (line 583) | fn from(entry_points: Vec) -> EntryPoints { method to_bytes (line 495) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 499) | fn serialized_length(&self) -> usize { method write_bytes (line 503) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 509) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method default (line 517) | fn default() -> Self { type EntryPointAddr (line 596) | pub enum EntryPointAddr { method new_v1_entry_point_addr (line 608) | pub fn new_v1_entry_point_addr( method entity_addr (line 630) | pub fn entity_addr(&self) -> EntityAddr { method to_formatted_string (line 637) | pub fn to_formatted_string(&self) -> String { method from_formatted_str (line 642) | pub fn from_formatted_str(input: &str) -> Result { method to_bytes (line 662) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 677) | fn serialized_length(&self) -> usize { method from_bytes (line 689) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { method fmt (line 709) | fn fmt(&self, f: &mut Formatter<'_>) -> core::fmt::Result { method fmt (line 728) | fn fmt(&self, f: &mut Formatter<'_>) -> core::fmt::Result { method sample (line 742) | fn sample(&self, rng: &mut R) -> EntryPointAddr { type EntryPointValue (line 754) | pub enum EntryPointValue { method new_v1_entry_point_value (line 761) | pub fn new_v1_entry_point_value(entry_point: EntityEntryPoint) -> Self { method will_pay_direct_invocation (line 766) | pub fn will_pay_direct_invocation(&self) -> bool { method to_bytes (line 774) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 780) | fn serialized_length(&self) -> usize { method write_bytes (line 787) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), Error> { method from_bytes (line 799) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { function entry_point_type_serialization_roundtrip (line 816) | fn entry_point_type_serialization_roundtrip() { FILE: types/src/addressable_entity/error.rs type TryFromIntError (line 9) | pub struct TryFromIntError(pub ()); type FromAccountHashStrError (line 14) | pub enum FromAccountHashStrError { method from (line 24) | fn from(error: base16::DecodeError) -> Self { method from (line 30) | fn from(error: TryFromSliceError) -> Self { method fmt (line 36) | fn fmt(&self, f: &mut Formatter) -> fmt::Result { type TryFromSliceForAccountHashError (line 51) | pub struct TryFromSliceForAccountHashError(()); FILE: types/src/addressable_entity/named_keys.rs type NamedKeys (line 23) | pub struct NamedKeys( method new (line 31) | pub const fn new() -> Self { method into_inner (line 36) | pub fn into_inner(self) -> BTreeMap { method insert (line 44) | pub fn insert(&mut self, name: String, key: Key) -> Option { method append (line 49) | pub fn append(&mut self, mut other: Self) { method remove (line 54) | pub fn remove(&mut self, name: &str) -> Option { method get (line 59) | pub fn get(&self, name: &str) -> Option<&Key> { method contains (line 64) | pub fn contains(&self, name: &str) -> bool { method names (line 69) | pub fn names(&self) -> impl Iterator { method keys (line 74) | pub fn keys(&self) -> impl Iterator { method keys_mut (line 79) | pub fn keys_mut(&mut self) -> impl Iterator { method iter (line 84) | pub fn iter(&self) -> impl Iterator { method len (line 89) | pub fn len(&self) -> usize { method is_empty (line 94) | pub fn is_empty(&self) -> bool { method from (line 100) | fn from(value: BTreeMap) -> Self { method write_bytes (line 106) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method to_bytes (line 110) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 116) | fn serialized_length(&self) -> usize { method from_bytes (line 122) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method cl_type (line 129) | fn cl_type() -> CLType { type Labels (line 134) | struct Labels; constant KEY (line 137) | const KEY: &'static str = "name"; constant VALUE (line 138) | const VALUE: &'static str = "key"; function should_be_backwards_compatible (line 151) | fn should_be_backwards_compatible() { function should_match_field_names (line 168) | fn should_match_field_names() { FILE: types/src/addressable_entity/weight.rs constant WEIGHT_SERIALIZED_LENGTH (line 16) | pub const WEIGHT_SERIALIZED_LENGTH: usize = U8_SERIALIZED_LENGTH; type Weight (line 26) | pub struct Weight(u8); method new (line 30) | pub const fn new(weight: u8) -> Weight { method value (line 35) | pub fn value(self) -> u8 { method to_bytes (line 41) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 45) | fn serialized_length(&self) -> usize { method write_bytes (line 49) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 56) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { method cl_type (line 63) | fn cl_type() -> CLType { FILE: types/src/api_error.rs constant RESERVED_ERROR_MAX (line 20) | const RESERVED_ERROR_MAX: u32 = u16::MAX as u32; constant POS_ERROR_OFFSET (line 23) | const POS_ERROR_OFFSET: u32 = RESERVED_ERROR_MAX - u8::MAX as u32; constant MINT_ERROR_OFFSET (line 26) | const MINT_ERROR_OFFSET: u32 = (POS_ERROR_OFFSET - 1) - u8::MAX as u32; constant HEADER_ERROR_OFFSET (line 29) | const HEADER_ERROR_OFFSET: u32 = (MINT_ERROR_OFFSET - 1) - u8::MAX as u32; constant AUCTION_ERROR_OFFSET (line 32) | const AUCTION_ERROR_OFFSET: u32 = (HEADER_ERROR_OFFSET - 1) - u8::MAX as... constant USER_ERROR_MIN (line 35) | const USER_ERROR_MIN: u32 = RESERVED_ERROR_MAX + 1; constant USER_ERROR_MAX (line 38) | const USER_ERROR_MAX: u32 = 2 * RESERVED_ERROR_MAX + 1; constant MINT_ERROR_MIN (line 41) | const MINT_ERROR_MIN: u32 = MINT_ERROR_OFFSET; constant MINT_ERROR_MAX (line 44) | const MINT_ERROR_MAX: u32 = POS_ERROR_OFFSET - 1; constant HP_ERROR_MIN (line 47) | const HP_ERROR_MIN: u32 = POS_ERROR_OFFSET; constant HP_ERROR_MAX (line 50) | const HP_ERROR_MAX: u32 = RESERVED_ERROR_MAX; constant HEADER_ERROR_MIN (line 53) | const HEADER_ERROR_MIN: u32 = HEADER_ERROR_OFFSET; constant HEADER_ERROR_MAX (line 56) | const HEADER_ERROR_MAX: u32 = HEADER_ERROR_OFFSET + u8::MAX as u32; constant AUCTION_ERROR_MIN (line 59) | const AUCTION_ERROR_MIN: u32 = AUCTION_ERROR_OFFSET; constant AUCTION_ERROR_MAX (line 62) | const AUCTION_ERROR_MAX: u32 = AUCTION_ERROR_OFFSET + u8::MAX as u32; type ApiError (line 105) | pub enum ApiError { method from (line 464) | fn from(error: bytesrepr::Error) -> Self { method from (line 477) | fn from(error: AddKeyFailure) -> Self { method from (line 487) | fn from(error: UpdateKeyFailure) -> Self { method from (line 497) | fn from(error: RemoveKeyFailure) -> Self { method from (line 507) | fn from(error: SetThresholdFailure) -> Self { method from (line 518) | fn from(error: CLValueError) -> Self { method from (line 527) | fn from(error: addressable_entity::Error) -> Self { method from (line 533) | fn from(error: contracts::Error) -> Self { method from (line 539) | fn from(error: auction::Error) -> Self { method from (line 547) | fn from(_error: TryFromIntError) -> Self { method from (line 553) | fn from(_error: TryFromSliceForAccountHashError) -> Self { method from (line 559) | fn from(error: mint::Error) -> Self { method from (line 565) | fn from(error: handle_payment::Error) -> Self { method from (line 571) | fn from(error: MessageTopicError) -> Self { method from (line 643) | fn from(value: u32) -> ApiError { method fmt (line 801) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { function from (line 581) | fn from(error: ApiError) -> Self { method fmt (line 706) | fn fmt(&self, f: &mut Formatter) -> fmt::Result { function i32_from (line 814) | pub fn i32_from(result: Result<(), T>) -> i32 function result_from (line 830) | pub fn result_from(value: i32) -> Result<(), ApiError> { function round_trip (line 841) | fn round_trip(result: Result<(), ApiError>) { function error_values (line 847) | fn error_values() { function error_descriptions_getkey (line 857) | fn error_descriptions_getkey() { function error_descriptions_contract_header (line 863) | fn error_descriptions_contract_header() { function error_descriptions_mint (line 882) | fn error_descriptions_mint() { function error_descriptions_handle_payment (line 892) | fn error_descriptions_handle_payment() { function error_descriptions_handle_payment_display (line 903) | fn error_descriptions_handle_payment_display() { function error_descriptions_user_errors (line 914) | fn error_descriptions_user_errors() { function error_edge_cases (line 932) | fn error_edge_cases() { function error_round_trips (line 943) | fn error_round_trips() { FILE: types/src/auction_state.rs type JsonValidatorWeights (line 82) | pub struct JsonValidatorWeights { type JsonEraValidators (line 92) | pub struct JsonEraValidators { type AuctionState (line 102) | pub struct AuctionState { method new (line 118) | pub fn new( method example (line 205) | pub fn example() -> &'static Self { type BidLabels (line 210) | struct BidLabels; constant KEY (line 213) | const KEY: &'static str = "public_key"; constant VALUE (line 214) | const VALUE: &'static str = "bid"; constant JSON_SCHEMA_KV_NAME (line 219) | const JSON_SCHEMA_KV_NAME: Option<&'static str> = Some("PublicKeyAndBid"); constant JSON_SCHEMA_KV_DESCRIPTION (line 220) | const JSON_SCHEMA_KV_DESCRIPTION: Option<&'static str> = constant JSON_SCHEMA_KEY_DESCRIPTION (line 222) | const JSON_SCHEMA_KEY_DESCRIPTION: Option<&'static str> = Some("The publ... constant JSON_SCHEMA_VALUE_DESCRIPTION (line 223) | const JSON_SCHEMA_VALUE_DESCRIPTION: Option<&'static str> = Some("The bi... FILE: types/src/block.rs type BlockValidationError (line 84) | pub enum BlockValidationError { method from (line 139) | fn from(error: bytesrepr::Error) -> Self { method fmt (line 106) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { method source (line 146) | fn source(&self) -> Option<&(dyn StdError + 'static)> { type BlockConversionError (line 157) | pub enum BlockConversionError { method fmt (line 163) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { constant TAG_LENGTH (line 176) | const TAG_LENGTH: usize = U8_SERIALIZED_LENGTH; constant BLOCK_V1_TAG (line 179) | const BLOCK_V1_TAG: u8 = 0; constant BLOCK_V2_TAG (line 181) | const BLOCK_V2_TAG: u8 = 1; type Block (line 191) | pub enum Block { method new_from_header_and_body (line 209) | pub fn new_from_header_and_body( method clone_header (line 229) | pub fn clone_header(&self) -> BlockHeader { method take_header (line 237) | pub fn take_header(self) -> BlockHeader { method timestamp (line 245) | pub fn timestamp(&self) -> Timestamp { method protocol_version (line 253) | pub fn protocol_version(&self) -> ProtocolVersion { method hash (line 261) | pub fn hash(&self) -> &BlockHash { method body_hash (line 269) | pub fn body_hash(&self) -> &Digest { method random_bit (line 277) | pub fn random_bit(&self) -> bool { method accumulated_seed (line 285) | pub fn accumulated_seed(&self) -> &Digest { method parent_hash (line 293) | pub fn parent_hash(&self) -> &BlockHash { method proposer (line 301) | pub fn proposer(&self) -> &PublicKey { method clone_body (line 309) | pub fn clone_body(&self) -> BlockBody { method take_body (line 317) | pub fn take_body(self) -> BlockBody { method verify (line 325) | pub fn verify(&self) -> Result<(), BlockValidationError> { method height (line 333) | pub fn height(&self) -> u64 { method era_id (line 341) | pub fn era_id(&self) -> EraId { method clone_era_end (line 349) | pub fn clone_era_end(&self) -> Option { method is_switch_block (line 357) | pub fn is_switch_block(&self) -> bool { method is_genesis (line 365) | pub fn is_genesis(&self) -> bool { method state_root_hash (line 373) | pub fn state_root_hash(&self) -> &Digest { method rewarded_signatures (line 381) | pub fn rewarded_signatures(&self) -> &RewardedSignatures { method maybe_current_gas_price (line 389) | pub fn maybe_current_gas_price(&self) -> Option { method transaction_count (line 397) | pub fn transaction_count(&self) -> u64 { method all_transaction_hashes (line 407) | pub fn all_transaction_hashes(&self) -> impl Iterator &'static Self { method from (line 571) | fn from(block: &BlockV2) -> Self { method from (line 577) | fn from(block: BlockV2) -> Self { method from (line 583) | fn from(block: &BlockV1) -> Self { method from (line 589) | fn from(block: BlockV1) -> Self { method from (line 596) | fn from(block_with_signatures: JsonBlockWithSignatures) -> Self { method fmt (line 506) | fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result { method to_bytes (line 529) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 544) | fn serialized_length(&self) -> usize { method from_bytes (line 554) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function bytesrepr_roundtrip (line 608) | fn bytesrepr_roundtrip() { FILE: types/src/block/available_block_range.rs type AvailableBlockRange (line 19) | pub struct AvailableBlockRange { constant RANGE_0_0 (line 28) | pub const RANGE_0_0: AvailableBlockRange = AvailableBlockRange { low: ... method new (line 31) | pub fn new(low: u64, high: u64) -> Self { method contains (line 40) | pub fn contains(&self, height: u64) -> bool { method low (line 45) | pub fn low(&self) -> u64 { method high (line 50) | pub fn high(&self) -> u64 { method random (line 56) | pub fn random(rng: &mut TestRng) -> Self { method fmt (line 64) | fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result { method to_bytes (line 74) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method write_bytes (line 80) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method serialized_length (line 85) | fn serialized_length(&self) -> usize { method from_bytes (line 91) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function bytesrepr_roundtrip (line 104) | fn bytesrepr_roundtrip() { FILE: types/src/block/block_body.rs constant TAG_LENGTH (line 16) | const TAG_LENGTH: usize = U8_SERIALIZED_LENGTH; constant BLOCK_BODY_V1_TAG (line 19) | pub const BLOCK_BODY_V1_TAG: u8 = 0; constant BLOCK_BODY_V2_TAG (line 21) | pub const BLOCK_BODY_V2_TAG: u8 = 1; type BlockBody (line 29) | pub enum BlockBody { method from (line 49) | fn from(body: BlockBodyV1) -> Self { method from (line 55) | fn from(body: &BlockBodyV2) -> Self { method fmt (line 40) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { method to_bytes (line 61) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 76) | fn serialized_length(&self) -> usize { method from_bytes (line 86) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function bytesrepr_roundtrip (line 107) | fn bytesrepr_roundtrip() { FILE: types/src/block/block_body/block_body_v1.rs type BlockBodyV1 (line 21) | pub struct BlockBodyV1 { method new (line 39) | pub(crate) fn new( method proposer (line 54) | pub fn proposer(&self) -> &PublicKey { method deploy_hashes (line 59) | pub fn deploy_hashes(&self) -> &[DeployHash] { method transfer_hashes (line 64) | pub fn transfer_hashes(&self) -> &[DeployHash] { method deploy_and_transfer_hashes (line 69) | pub fn deploy_and_transfer_hashes(&self) -> impl Iterator Digest { method compute_hash (line 84) | fn compute_hash(&self) -> Digest { method eq (line 93) | fn eq(&self, other: &BlockBodyV1) -> bool { method fmt (line 115) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { method write_bytes (line 127) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method to_bytes (line 133) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 139) | fn serialized_length(&self) -> usize { method from_bytes (line 147) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { FILE: types/src/block/block_body/block_body_v2.rs type BlockBodyV2 (line 22) | pub struct BlockBodyV2 { method new (line 38) | pub(crate) fn new( method transaction_by_lane (line 51) | pub fn transaction_by_lane(&self, lane_id: u8) -> impl Iterator impl Iterator { method auction (line 65) | pub fn auction(&self) -> impl Iterator { method install_upgrade (line 70) | pub fn install_upgrade(&self) -> impl Iterator { method transactions_by_lane_id (line 75) | pub fn transactions_by_lane_id(&self, lane_id: u8) -> impl Iterator &BTreeMap> { method all_transactions (line 85) | pub fn all_transactions(&self) -> impl Iterator Digest { method compute_hash (line 98) | fn compute_hash(&self) -> Digest { method rewarded_signatures (line 106) | pub fn rewarded_signatures(&self) -> &RewardedSignatures { method eq (line 112) | fn eq(&self, other: &BlockBodyV2) -> bool { method fmt (line 130) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { method write_bytes (line 145) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method to_bytes (line 151) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 157) | fn serialized_length(&self) -> usize { method from_bytes (line 163) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { FILE: types/src/block/block_global.rs constant BLOCK_TIME_TAG (line 28) | const BLOCK_TIME_TAG: u8 = 0; constant MESSAGE_COUNT_TAG (line 29) | const MESSAGE_COUNT_TAG: u8 = 1; constant PROTOCOL_VERSION_TAG (line 30) | const PROTOCOL_VERSION_TAG: u8 = 2; constant ADDRESSABLE_ENTITY_TAG (line 31) | const ADDRESSABLE_ENTITY_TAG: u8 = 3; type BlockGlobalAddrTag (line 40) | pub enum BlockGlobalAddrTag { constant BLOCK_GLOBAL_ADDR_TAG_LENGTH (line 54) | pub const BLOCK_GLOBAL_ADDR_TAG_LENGTH: usize = 1; method try_from_u8 (line 57) | pub fn try_from_u8(value: u8) -> Option { method fmt (line 76) | fn fmt(&self, f: &mut Formatter<'_>) -> core::fmt::Result { method to_bytes (line 88) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 94) | fn serialized_length(&self) -> usize { method write_bytes (line 98) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 105) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { type BlockGlobalAddr (line 121) | pub enum BlockGlobalAddr { constant BLOCK_GLOBAL_ADDR_LENGTH (line 135) | pub const BLOCK_GLOBAL_ADDR_LENGTH: usize = BlockGlobalAddrTag::BLOCK_... method serialized_length (line 138) | pub fn serialized_length(&self) -> usize { method tag (line 143) | pub fn tag(&self) -> BlockGlobalAddrTag { method to_formatted_string (line 153) | pub fn to_formatted_string(self) -> String { method from_formatted_string (line 167) | pub fn from_formatted_string(hex: &str) -> Result { type Error (line 235) | type Error = (); method try_from (line 237) | fn try_from(value: Key) -> Result { method to_bytes (line 195) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 201) | fn serialized_length(&self) -> usize { method from_bytes (line 207) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method from (line 228) | fn from(block_global_addr: BlockGlobalAddr) -> Self { method fmt (line 247) | fn fmt(&self, f: &mut Formatter<'_>) -> core::fmt::Result { method fmt (line 254) | fn fmt(&self, f: &mut Formatter) -> core::fmt::Result { method sample (line 266) | fn sample(&self, rng: &mut R) -> BlockGlobalAddr { function serialization_roundtrip (line 282) | fn serialization_roundtrip() { FILE: types/src/block/block_hash.rs type BlockHash (line 40) | pub struct BlockHash(Digest); constant LENGTH (line 44) | pub const LENGTH: usize = Digest::LENGTH; method new (line 47) | pub fn new(hash: Digest) -> Self { method inner (line 52) | pub fn inner(&self) -> &Digest { method to_hex_string (line 57) | pub fn to_hex_string(&self) -> String { method example (line 64) | pub fn example() -> &'static Self { method from_raw (line 70) | pub const fn from_raw(raw_digest: [u8; Self::LENGTH]) -> Self { method random (line 76) | pub fn random(rng: &mut TestRng) -> Self { method from (line 83) | fn from(digest: Digest) -> Self { method as_ref (line 101) | fn as_ref(&self) -> &[u8] { method from (line 89) | fn from(block_hash: BlockHash) -> Self { method fmt (line 95) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { method write_bytes (line 107) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method to_bytes (line 111) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 115) | fn serialized_length(&self) -> usize { method from_bytes (line 121) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function bytesrepr_roundtrip (line 131) | fn bytesrepr_roundtrip() { FILE: types/src/block/block_hash_and_height.rs type BlockHashAndHeight (line 25) | pub struct BlockHashAndHeight { method new (line 34) | pub fn new(block_hash: BlockHash, block_height: u64) -> Self { method block_hash (line 42) | pub fn block_hash(&self) -> &BlockHash { method block_height (line 47) | pub fn block_height(&self) -> u64 { method random (line 53) | pub fn random(rng: &mut TestRng) -> Self { method fmt (line 62) | fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result { method to_bytes (line 72) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method write_bytes (line 78) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method serialized_length (line 83) | fn serialized_length(&self) -> usize { method from_bytes (line 89) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function bytesrepr_roundtrip (line 108) | fn bytesrepr_roundtrip() { FILE: types/src/block/block_header.rs constant TAG_LENGTH (line 24) | const TAG_LENGTH: usize = U8_SERIALIZED_LENGTH; constant BLOCK_HEADER_V1_TAG (line 27) | pub const BLOCK_HEADER_V1_TAG: u8 = 0; constant BLOCK_HEADER_V2_TAG (line 29) | pub const BLOCK_HEADER_V2_TAG: u8 = 1; type BlockHeader (line 38) | pub enum BlockHeader { method block_hash (line 49) | pub fn block_hash(&self) -> BlockHash { method parent_hash (line 57) | pub fn parent_hash(&self) -> &BlockHash { method state_root_hash (line 65) | pub fn state_root_hash(&self) -> &Digest { method body_hash (line 73) | pub fn body_hash(&self) -> &Digest { method random_bit (line 81) | pub fn random_bit(&self) -> bool { method accumulated_seed (line 89) | pub fn accumulated_seed(&self) -> &Digest { method clone_era_end (line 97) | pub fn clone_era_end(&self) -> Option { method maybe_equivocators (line 105) | pub fn maybe_equivocators(&self) -> Option<&[PublicKey]> { method maybe_inactive_validators (line 113) | pub fn maybe_inactive_validators(&self) -> Option<&[PublicKey]> { method timestamp (line 121) | pub fn timestamp(&self) -> Timestamp { method era_id (line 129) | pub fn era_id(&self) -> EraId { method next_block_era_id (line 138) | pub fn next_block_era_id(&self) -> EraId { method height (line 146) | pub fn height(&self) -> u64 { method protocol_version (line 154) | pub fn protocol_version(&self) -> ProtocolVersion { method is_switch_block (line 162) | pub fn is_switch_block(&self) -> bool { method next_era_validator_weights (line 171) | pub fn next_era_validator_weights(&self) -> Option<&BTreeMap bool { method is_last_block_before_activation (line 189) | pub fn is_last_block_before_activation(&self, protocol_config: &Protoc... method set_block_hash (line 201) | pub fn set_block_hash(&self, block_hash: BlockHash) { method from (line 219) | fn from(header: BlockHeaderV1) -> Self { method from (line 225) | fn from(header: BlockHeaderV2) -> Self { method fmt (line 210) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { method to_bytes (line 231) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 246) | fn serialized_length(&self) -> usize { method from_bytes (line 256) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function bytesrepr_roundtrip (line 277) | fn bytesrepr_roundtrip() { FILE: types/src/block/block_header/block_header_v1.rs type BlockHeaderV1 (line 56) | pub struct BlockHeaderV1 { method block_hash (line 88) | pub fn block_hash(&self) -> BlockHash { method parent_hash (line 97) | pub fn parent_hash(&self) -> &BlockHash { method state_root_hash (line 102) | pub fn state_root_hash(&self) -> &Digest { method body_hash (line 107) | pub fn body_hash(&self) -> &Digest { method random_bit (line 112) | pub fn random_bit(&self) -> bool { method accumulated_seed (line 117) | pub fn accumulated_seed(&self) -> &Digest { method era_end (line 122) | pub fn era_end(&self) -> Option<&EraEndV1> { method timestamp (line 127) | pub fn timestamp(&self) -> Timestamp { method era_id (line 132) | pub fn era_id(&self) -> EraId { method next_block_era_id (line 138) | pub fn next_block_era_id(&self) -> EraId { method height (line 147) | pub fn height(&self) -> u64 { method protocol_version (line 152) | pub fn protocol_version(&self) -> ProtocolVersion { method is_switch_block (line 157) | pub fn is_switch_block(&self) -> bool { method next_era_validator_weights (line 163) | pub fn next_era_validator_weights(&self) -> Option<&BTreeMap bool { method is_last_block_before_activation (line 177) | pub fn is_last_block_before_activation(&self, protocol_config: &Protoc... method compute_block_hash (line 183) | pub(crate) fn compute_block_hash(&self) -> BlockHash { method new (line 193) | pub fn new( method set_block_hash (line 227) | pub fn set_block_hash(&self, block_hash: BlockHash) { method example (line 234) | pub fn example() -> &'static Self { method set_body_hash (line 239) | pub(crate) fn set_body_hash(&mut self, new_body_hash: Digest) { method eq (line 245) | fn eq(&self, other: &BlockHeaderV1) -> bool { method fmt (line 288) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { method write_bytes (line 311) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method to_bytes (line 324) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 330) | fn serialized_length(&self) -> usize { method from_bytes (line 345) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { FILE: types/src/block/block_header/block_header_v2.rs type BlockHeaderV2 (line 61) | pub struct BlockHeaderV2 { method block_hash (line 99) | pub fn block_hash(&self) -> BlockHash { method parent_hash (line 108) | pub fn parent_hash(&self) -> &BlockHash { method state_root_hash (line 113) | pub fn state_root_hash(&self) -> &Digest { method body_hash (line 118) | pub fn body_hash(&self) -> &Digest { method random_bit (line 123) | pub fn random_bit(&self) -> bool { method accumulated_seed (line 128) | pub fn accumulated_seed(&self) -> &Digest { method era_end (line 133) | pub fn era_end(&self) -> Option<&EraEndV2> { method timestamp (line 138) | pub fn timestamp(&self) -> Timestamp { method era_id (line 143) | pub fn era_id(&self) -> EraId { method next_block_era_id (line 149) | pub fn next_block_era_id(&self) -> EraId { method height (line 158) | pub fn height(&self) -> u64 { method protocol_version (line 163) | pub fn protocol_version(&self) -> ProtocolVersion { method is_switch_block (line 168) | pub fn is_switch_block(&self) -> bool { method proposer (line 173) | pub fn proposer(&self) -> &PublicKey { method next_era_validator_weights (line 179) | pub fn next_era_validator_weights(&self) -> Option<&BTreeMap bool { method current_gas_price (line 191) | pub fn current_gas_price(&self) -> u8 { method last_switch_block_hash (line 196) | pub fn last_switch_block_hash(&self) -> Option { method is_last_block_before_activation (line 203) | pub fn is_last_block_before_activation(&self, protocol_config: &Protoc... method compute_block_hash (line 209) | pub(crate) fn compute_block_hash(&self) -> BlockHash { method new (line 219) | pub fn new( method set_block_hash (line 259) | pub fn set_block_hash(&self, block_hash: BlockHash) { method example (line 266) | pub fn example() -> &'static Self { method set_body_hash (line 271) | pub(crate) fn set_body_hash(&mut self, new_body_hash: Digest) { method eq (line 277) | fn eq(&self, other: &BlockHeaderV2) -> bool { method fmt (line 329) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { method write_bytes (line 361) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method to_bytes (line 377) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 383) | fn serialized_length(&self) -> usize { method from_bytes (line 401) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { FILE: types/src/block/block_header_with_signatures.rs type BlockHeaderWithSignaturesValidationError (line 18) | pub enum BlockHeaderWithSignaturesValidationError { method fmt (line 36) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { type BlockHeaderWithSignatures (line 67) | pub struct BlockHeaderWithSignatures { method new (line 74) | pub fn new(block_header: BlockHeader, block_signatures: BlockSignature... method block_header (line 82) | pub fn block_header(&self) -> &BlockHeader { method block_signatures (line 87) | pub fn block_signatures(&self) -> &BlockSignatures { method is_valid (line 96) | pub fn is_valid(&self) -> Result<(), BlockHeaderWithSignaturesValidati... method invalidate_era (line 118) | pub fn invalidate_era(&mut self) { method invalidate_last_signature (line 129) | pub fn invalidate_last_signature(&mut self) { method fmt (line 135) | fn fmt(&self, f: &mut Formatter) -> fmt::Result { FILE: types/src/block/block_identifier.rs constant HASH_TAG (line 17) | const HASH_TAG: u8 = 0; constant HEIGHT_TAG (line 18) | const HEIGHT_TAG: u8 = 1; type BlockIdentifier (line 24) | pub enum BlockIdentifier { method random (line 34) | pub fn random(rng: &mut TestRng) -> Self { type Err (line 90) | type Err = ParseBlockIdentifierError; method from_str (line 92) | fn from_str(maybe_block_identifier: &str) -> Result { method from_bytes (line 44) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method to_bytes (line 60) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method write_bytes (line 66) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method serialized_length (line 80) | fn serialized_length(&self) -> usize { type ParseBlockIdentifierError (line 113) | pub enum ParseBlockIdentifierError { function bytesrepr_roundtrip (line 134) | fn bytesrepr_roundtrip() { FILE: types/src/block/block_signatures.rs constant TAG_LENGTH (line 30) | const TAG_LENGTH: usize = U8_SERIALIZED_LENGTH; constant BLOCK_SIGNATURES_V1_TAG (line 33) | pub const BLOCK_SIGNATURES_V1_TAG: u8 = 0; constant BLOCK_SIGNATURES_V2_TAG (line 35) | pub const BLOCK_SIGNATURES_V2_TAG: u8 = 1; type BlockSignatures (line 42) | pub enum BlockSignatures { method block_hash (line 51) | pub fn block_hash(&self) -> &BlockHash { method era_id (line 59) | pub fn era_id(&self) -> EraId { method finality_signature (line 67) | pub fn finality_signature(&self, public_key: &PublicKey) -> Option bool { method finality_signatures (line 91) | pub fn finality_signatures(&self) -> impl Iterator &BTreeMap { method signers (line 115) | pub fn signers(&self) -> impl Iterator + '_ { method len (line 123) | pub fn len(&self) -> usize { method is_empty (line 131) | pub fn is_empty(&self) -> bool { method merge (line 142) | pub fn merge(&mut self, mut other: Self) -> Result<(), BlockSignatures... method is_verified (line 185) | pub fn is_verified(&self) -> Result<(), crypto::Error> { method into_proofs (line 193) | pub fn into_proofs(self) -> BTreeMap { method insert_signature (line 201) | pub fn insert_signature(&mut self, public_key: PublicKey, signature: S... method remove_signature (line 213) | pub fn remove_signature(&mut self, public_key: &PublicKey) -> Option Self { method from (line 265) | fn from(block_signatures: BlockSignaturesV1) -> Self { method from (line 271) | fn from(block_signatures: BlockSignaturesV2) -> Self { method fmt (line 256) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { method to_bytes (line 277) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method write_bytes (line 283) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method serialized_length (line 297) | fn serialized_length(&self) -> usize { method from_bytes (line 307) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { type BlockSignaturesMergeError (line 326) | pub enum BlockSignaturesMergeError { method fmt (line 360) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { function bytesrepr_roundtrip (line 424) | fn bytesrepr_roundtrip() { FILE: types/src/block/block_signatures/block_signatures_v1.rs type BlockSignaturesV1 (line 24) | pub struct BlockSignaturesV1 { method new (line 35) | pub fn new(block_hash: BlockHash, era_id: EraId) -> Self { method block_hash (line 44) | pub fn block_hash(&self) -> &BlockHash { method era_id (line 49) | pub fn era_id(&self) -> EraId { method finality_signature (line 54) | pub fn finality_signature(&self, public_key: &PublicKey) -> Option bool { method finality_signatures (line 73) | pub fn finality_signatures(&self) -> impl Iterator impl Iterator + '_ { method len (line 92) | pub fn len(&self) -> usize { method is_empty (line 97) | pub fn is_empty(&self) -> bool { method insert_signature (line 102) | pub fn insert_signature(&mut self, public_key: PublicKey, signature: S... method is_verified (line 107) | pub fn is_verified(&self) -> Result<(), crypto::Error> { method random (line 124) | pub fn random(rng: &mut TestRng) -> Self { method fmt (line 144) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { method to_bytes (line 156) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method write_bytes (line 162) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method serialized_length (line 168) | fn serialized_length(&self) -> usize { method from_bytes (line 176) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function bytesrepr_roundtrip (line 196) | fn bytesrepr_roundtrip() { FILE: types/src/block/block_signatures/block_signatures_v2.rs type BlockSignaturesV2 (line 23) | pub struct BlockSignaturesV2 { method new (line 38) | pub fn new( method block_hash (line 54) | pub fn block_hash(&self) -> &BlockHash { method block_height (line 59) | pub fn block_height(&self) -> u64 { method era_id (line 64) | pub fn era_id(&self) -> EraId { method chain_name_hash (line 69) | pub fn chain_name_hash(&self) -> ChainNameDigest { method finality_signature (line 74) | pub fn finality_signature(&self, public_key: &PublicKey) -> Option bool { method finality_signatures (line 95) | pub fn finality_signatures(&self) -> impl Iterator impl Iterator + '_ { method len (line 116) | pub fn len(&self) -> usize { method is_empty (line 121) | pub fn is_empty(&self) -> bool { method insert_signature (line 126) | pub fn insert_signature(&mut self, public_key: PublicKey, signature: S... method is_verified (line 131) | pub fn is_verified(&self) -> Result<(), crypto::Error> { method random (line 150) | pub fn random(rng: &mut TestRng) -> Self { method fmt (line 174) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { method to_bytes (line 186) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method write_bytes (line 192) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method serialized_length (line 201) | fn serialized_length(&self) -> usize { method from_bytes (line 211) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function bytesrepr_roundtrip (line 235) | fn bytesrepr_roundtrip() { FILE: types/src/block/block_sync_status.rs type BlockSyncStatus (line 50) | pub struct BlockSyncStatus { method new (line 61) | pub fn new( method random (line 75) | pub fn random(rng: &mut TestRng) -> Self { method to_bytes (line 85) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method write_bytes (line 91) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method serialized_length (line 97) | fn serialized_length(&self) -> usize { method from_bytes (line 105) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { type BlockSynchronizerStatus (line 124) | pub struct BlockSynchronizerStatus { method new (line 133) | pub fn new(historical: Option, forward: Option &'static Self { method random (line 148) | pub fn random(rng: &mut TestRng) -> Self { method historical (line 159) | pub fn historical(&self) -> &Option { method forward (line 165) | pub fn forward(&self) -> &Option { method to_bytes (line 171) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method write_bytes (line 177) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method serialized_length (line 182) | fn serialized_length(&self) -> usize { method from_bytes (line 188) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function bytesrepr_roundtrip (line 207) | fn bytesrepr_roundtrip() { FILE: types/src/block/block_v1.rs type BlockV1 (line 36) | pub struct BlockV1 { method new (line 49) | pub fn new( method new_from_header_and_body (line 85) | pub fn new_from_header_and_body(header: BlockHeaderV1, body: BlockBody... method hash (line 91) | pub fn hash(&self) -> &BlockHash { method header (line 96) | pub fn header(&self) -> &BlockHeaderV1 { method take_header (line 101) | pub fn take_header(self) -> BlockHeaderV1 { method body (line 106) | pub fn body(&self) -> &BlockBodyV1 { method take_body (line 111) | pub fn take_body(self) -> BlockBodyV1 { method parent_hash (line 116) | pub fn parent_hash(&self) -> &BlockHash { method state_root_hash (line 121) | pub fn state_root_hash(&self) -> &Digest { method body_hash (line 126) | pub fn body_hash(&self) -> &Digest { method random_bit (line 131) | pub fn random_bit(&self) -> bool { method accumulated_seed (line 136) | pub fn accumulated_seed(&self) -> &Digest { method era_end (line 141) | pub fn era_end(&self) -> Option<&EraEndV1> { method timestamp (line 146) | pub fn timestamp(&self) -> Timestamp { method era_id (line 151) | pub fn era_id(&self) -> EraId { method height (line 156) | pub fn height(&self) -> u64 { method protocol_version (line 161) | pub fn protocol_version(&self) -> ProtocolVersion { method is_switch_block (line 166) | pub fn is_switch_block(&self) -> bool { method is_genesis (line 171) | pub fn is_genesis(&self) -> bool { method proposer (line 176) | pub fn proposer(&self) -> &PublicKey { method deploy_hashes (line 181) | pub fn deploy_hashes(&self) -> &[DeployHash] { method transfer_hashes (line 186) | pub fn transfer_hashes(&self) -> &[DeployHash] { method deploy_and_transfer_hashes (line 191) | pub fn deploy_and_transfer_hashes(&self) -> impl Iterator Result<(), BlockValidationError> { method random_with_specifics (line 225) | pub fn random_with_specifics>( method fmt (line 277) | fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result { method write_bytes (line 300) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method to_bytes (line 306) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 312) | fn serialized_length(&self) -> usize { method from_bytes (line 320) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function bytesrepr_roundtrip (line 336) | fn bytesrepr_roundtrip() { function block_check_bad_body_hash_sad_path (line 343) | fn block_check_bad_body_hash_sad_path() { function block_check_bad_block_hash_sad_path (line 359) | fn block_check_bad_block_hash_sad_path() { FILE: types/src/block/block_v2.rs type BlockV2 (line 87) | pub struct BlockV2 { method new (line 100) | pub fn new( method new_from_header_and_body (line 141) | pub fn new_from_header_and_body(header: BlockHeaderV2, body: BlockBody... method hash (line 147) | pub fn hash(&self) -> &BlockHash { method header (line 152) | pub fn header(&self) -> &BlockHeaderV2 { method take_header (line 157) | pub fn take_header(self) -> BlockHeaderV2 { method body (line 162) | pub fn body(&self) -> &BlockBodyV2 { method take_body (line 167) | pub fn take_body(self) -> BlockBodyV2 { method parent_hash (line 172) | pub fn parent_hash(&self) -> &BlockHash { method state_root_hash (line 177) | pub fn state_root_hash(&self) -> &Digest { method body_hash (line 182) | pub fn body_hash(&self) -> &Digest { method random_bit (line 187) | pub fn random_bit(&self) -> bool { method accumulated_seed (line 192) | pub fn accumulated_seed(&self) -> &Digest { method era_end (line 197) | pub fn era_end(&self) -> Option<&EraEndV2> { method timestamp (line 202) | pub fn timestamp(&self) -> Timestamp { method era_id (line 207) | pub fn era_id(&self) -> EraId { method height (line 212) | pub fn height(&self) -> u64 { method protocol_version (line 217) | pub fn protocol_version(&self) -> ProtocolVersion { method is_switch_block (line 222) | pub fn is_switch_block(&self) -> bool { method is_genesis (line 227) | pub fn is_genesis(&self) -> bool { method proposer (line 232) | pub fn proposer(&self) -> &PublicKey { method rewarded_signatures (line 237) | pub fn rewarded_signatures(&self) -> &RewardedSignatures { method mint (line 242) | pub fn mint(&self) -> impl Iterator { method auction (line 247) | pub fn auction(&self) -> impl Iterator { method install_upgrade (line 252) | pub fn install_upgrade(&self) -> impl Iterator { method transactions_by_lane_id (line 257) | pub fn transactions_by_lane_id(&self, lane_id: u8) -> impl Iterator impl Iterator &BTreeMap> { method last_switch_block_hash (line 272) | pub fn last_switch_block_hash(&self) -> Option { method verify (line 278) | pub fn verify(&self) -> Result<(), BlockValidationError> { method example (line 301) | pub fn example() -> &'static Self { method make_invalid (line 307) | pub fn make_invalid(self, rng: &mut TestRng) -> Self { type Error (line 372) | type Error = BlockConversionError; method try_from (line 374) | fn try_from(value: Block) -> Result { method fmt (line 319) | fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result { method write_bytes (line 342) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method to_bytes (line 348) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 354) | fn serialized_length(&self) -> usize { method from_bytes (line 362) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function bytesrepr_roundtrip (line 391) | fn bytesrepr_roundtrip() { function block_check_bad_body_hash_sad_path (line 398) | fn block_check_bad_body_hash_sad_path() { function block_check_bad_block_hash_sad_path (line 414) | fn block_check_bad_block_hash_sad_path() { FILE: types/src/block/block_with_signatures.rs type BlockWithSignatures (line 17) | pub struct BlockWithSignatures { method new (line 26) | pub fn new(block: Block, block_signatures: BlockSignatures) -> Self { method block (line 34) | pub fn block(&self) -> &Block { method block_signatures (line 39) | pub fn block_signatures(&self) -> &BlockSignatures { method into_inner (line 44) | pub fn into_inner(self) -> (Block, BlockSignatures) { method from_bytes (line 50) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method to_bytes (line 58) | fn to_bytes(&self) -> Result, crate::bytesrepr::Error> { method write_bytes (line 64) | fn write_bytes(&self, bytes: &mut Vec) -> Result<(), crate::bytesrep... method serialized_length (line 70) | fn serialized_length(&self) -> usize { method fmt (line 76) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { FILE: types/src/block/chain_name_digest.rs type ChainNameDigest (line 31) | pub struct ChainNameDigest(Digest); constant LENGTH (line 35) | pub const LENGTH: usize = Digest::LENGTH; method from_chain_name (line 38) | pub fn from_chain_name(name: &str) -> Self { method inner (line 43) | pub fn inner(&self) -> &Digest { method from_digest (line 50) | pub const fn from_digest(digest: Digest) -> Self { method random (line 56) | pub fn random(rng: &mut TestRng) -> Self { method fmt (line 63) | fn fmt(&self, f: &mut Formatter) -> fmt::Result { method write_bytes (line 69) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method to_bytes (line 73) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 77) | fn serialized_length(&self) -> usize { method from_bytes (line 83) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function bytesrepr_roundtrip (line 93) | fn bytesrepr_roundtrip() { FILE: types/src/block/era_end.rs constant TAG_LENGTH (line 18) | const TAG_LENGTH: usize = U8_SERIALIZED_LENGTH; constant ERA_END_V1_TAG (line 21) | pub const ERA_END_V1_TAG: u8 = 0; constant ERA_END_V2_TAG (line 23) | pub const ERA_END_V2_TAG: u8 = 1; type EraEnd (line 30) | pub enum EraEnd { method equivocators (line 40) | pub fn equivocators(&self) -> &[PublicKey] { method inactive_validators (line 48) | pub fn inactive_validators(&self) -> &[PublicKey] { method next_era_validator_weights (line 56) | pub fn next_era_validator_weights(&self) -> &BTreeMap { method rewards (line 64) | pub fn rewards(&self) -> Rewards { method from (line 82) | fn from(era_end: EraEndV1) -> Self { method from (line 88) | fn from(era_end: EraEndV2) -> Self { method fmt (line 73) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { method to_bytes (line 94) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 109) | fn serialized_length(&self) -> usize { method from_bytes (line 119) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { FILE: types/src/block/era_end/era_end_v1.rs type EraEndV1 (line 55) | pub struct EraEndV1 { method era_report (line 65) | pub fn era_report(&self) -> &EraReport { method equivocators (line 70) | pub fn equivocators(&self) -> &[PublicKey] { method inactive_validators (line 75) | pub fn inactive_validators(&self) -> &[PublicKey] { method rewards (line 80) | pub fn rewards(&self) -> &BTreeMap { method next_era_validator_weights (line 85) | pub fn next_era_validator_weights(&self) -> &BTreeMap { method new (line 91) | pub fn new( method example (line 104) | pub fn example() -> &'static Self { method write_bytes (line 110) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method to_bytes (line 117) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 123) | fn serialized_length(&self) -> usize { method from_bytes (line 129) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method fmt (line 142) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { type NextEraValidatorLabels (line 147) | struct NextEraValidatorLabels; constant KEY (line 150) | const KEY: &'static str = "validator"; constant VALUE (line 151) | const VALUE: &'static str = "weight"; constant JSON_SCHEMA_KV_NAME (line 156) | const JSON_SCHEMA_KV_NAME: Option<&'static str> = Some("ValidatorWeight"); constant JSON_SCHEMA_KV_DESCRIPTION (line 157) | const JSON_SCHEMA_KV_DESCRIPTION: Option<&'static str> = Some( constant JSON_SCHEMA_KEY_DESCRIPTION (line 161) | const JSON_SCHEMA_KEY_DESCRIPTION: Option<&'static str> = Some("The vali... constant JSON_SCHEMA_VALUE_DESCRIPTION (line 162) | const JSON_SCHEMA_VALUE_DESCRIPTION: Option<&'static str> = Some("The va... FILE: types/src/block/era_end/era_end_v1/era_report.rs type EraReport (line 59) | pub struct EraReport { function new (line 71) | pub fn new( function equivocators (line 84) | pub fn equivocators(&self) -> &[VID] { function rewards (line 92) | pub fn rewards(&self) -> &BTreeMap { function inactive_validators (line 97) | pub fn inactive_validators(&self) -> &[VID] { function hash (line 102) | pub fn hash(&self) -> Digest method default (line 136) | fn default() -> Self { method fmt (line 146) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { method write_bytes (line 158) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method to_bytes (line 164) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 170) | fn serialized_length(&self) -> usize { method from_bytes (line 178) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function example (line 195) | pub fn example() -> &'static Self { function random (line 201) | pub fn random(rng: &mut TestRng) -> Self { type EraRewardsLabels (line 224) | struct EraRewardsLabels; constant KEY (line 227) | const KEY: &'static str = "validator"; constant VALUE (line 228) | const VALUE: &'static str = "amount"; constant JSON_SCHEMA_KV_NAME (line 233) | const JSON_SCHEMA_KV_NAME: Option<&'static str> = Some("EraReward"); constant JSON_SCHEMA_KV_DESCRIPTION (line 234) | const JSON_SCHEMA_KV_DESCRIPTION: Option<&'static str> = Some( constant JSON_SCHEMA_KEY_DESCRIPTION (line 238) | const JSON_SCHEMA_KEY_DESCRIPTION: Option<&'static str> = Some("The vali... constant JSON_SCHEMA_VALUE_DESCRIPTION (line 239) | const JSON_SCHEMA_VALUE_DESCRIPTION: Option<&'static str> = Some("The re... function bytesrepr_roundtrip (line 247) | fn bytesrepr_roundtrip() { FILE: types/src/block/era_end/era_end_v2.rs type EraEndV2 (line 63) | pub struct EraEndV2 { method equivocators (line 78) | pub fn equivocators(&self) -> &[PublicKey] { method inactive_validators (line 83) | pub fn inactive_validators(&self) -> &[PublicKey] { method next_era_validator_weights (line 88) | pub fn next_era_validator_weights(&self) -> &BTreeMap { method rewards (line 93) | pub fn rewards(&self) -> &BTreeMap> { method next_era_gas_price (line 98) | pub fn next_era_gas_price(&self) -> u8 { method new (line 104) | pub fn new( method example (line 123) | pub fn example() -> &'static Self { method random (line 129) | pub fn random(rng: &mut crate::testing::TestRng) -> Self { method fmt (line 236) | fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { method write_bytes (line 175) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method to_bytes (line 193) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 199) | fn serialized_length(&self) -> usize { method from_bytes (line 217) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { type NextEraValidatorLabels (line 252) | struct NextEraValidatorLabels; constant KEY (line 255) | const KEY: &'static str = "validator"; constant VALUE (line 256) | const VALUE: &'static str = "weight"; constant JSON_SCHEMA_KV_NAME (line 261) | const JSON_SCHEMA_KV_NAME: Option<&'static str> = Some("ValidatorWeight"); constant JSON_SCHEMA_KV_DESCRIPTION (line 262) | const JSON_SCHEMA_KV_DESCRIPTION: Option<&'static str> = Some( constant JSON_SCHEMA_KEY_DESCRIPTION (line 266) | const JSON_SCHEMA_KEY_DESCRIPTION: Option<&'static str> = Some("The vali... constant JSON_SCHEMA_VALUE_DESCRIPTION (line 267) | const JSON_SCHEMA_VALUE_DESCRIPTION: Option<&'static str> = Some("The va... FILE: types/src/block/finality_signature.rs type FinalitySignature (line 35) | pub enum FinalitySignature { method block_hash (line 44) | pub fn block_hash(&self) -> &BlockHash { method era_id (line 52) | pub fn era_id(&self) -> EraId { method public_key (line 60) | pub fn public_key(&self) -> &PublicKey { method signature (line 68) | pub fn signature(&self) -> &Signature { method is_verified (line 76) | pub fn is_verified(&self) -> Result<(), crypto::Error> { method random (line 85) | pub fn random(rng: &mut TestRng) -> Self { method random_for_block (line 95) | pub fn random_for_block( method from (line 119) | fn from(fs: FinalitySignatureV1) -> Self { method from (line 125) | fn from(fs: FinalitySignatureV2) -> Self { method fmt (line 131) | fn fmt(&self, f: &mut Formatter) -> fmt::Result { FILE: types/src/block/finality_signature/finality_signature_v1.rs type FinalitySignatureV1 (line 31) | pub struct FinalitySignatureV1 { method create (line 51) | pub fn create(block_hash: BlockHash, era_id: EraId, secret_key: &Secre... method block_hash (line 66) | pub fn block_hash(&self) -> &BlockHash { method era_id (line 71) | pub fn era_id(&self) -> EraId { method signature (line 76) | pub fn signature(&self) -> &Signature { method public_key (line 81) | pub fn public_key(&self) -> &PublicKey { method is_verified (line 86) | pub fn is_verified(&self) -> Result<(), crypto::Error> { method new (line 96) | pub fn new( method random (line 114) | pub fn random(rng: &mut TestRng) -> Self { method random_for_block (line 120) | pub fn random_for_block(block_hash: BlockHash, era_id: EraId, rng: &mu... method bytes_to_sign (line 125) | fn bytes_to_sign(block_hash: &BlockHash, era_id: EraId) -> Vec { method verify (line 131) | fn verify(&self) -> Result<(), crypto::Error> { method hash (line 138) | fn hash(&self, state: &mut H) { method eq (line 166) | fn eq(&self, other: &FinalitySignatureV1) -> bool { method cmp (line 194) | fn cmp(&self, other: &FinalitySignatureV1) -> Ordering { method partial_cmp (line 223) | fn partial_cmp(&self, other: &FinalitySignatureV1) -> Option { method fmt (line 229) | fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result { function finality_signature (line 244) | fn finality_signature() { FILE: types/src/block/finality_signature/finality_signature_v2.rs type FinalitySignatureV2 (line 33) | pub struct FinalitySignatureV2 { method create (line 57) | pub fn create( method block_hash (line 80) | pub fn block_hash(&self) -> &BlockHash { method block_height (line 85) | pub fn block_height(&self) -> u64 { method era_id (line 90) | pub fn era_id(&self) -> EraId { method chain_name_hash (line 95) | pub fn chain_name_hash(&self) -> ChainNameDigest { method signature (line 100) | pub fn signature(&self) -> &Signature { method public_key (line 105) | pub fn public_key(&self) -> &PublicKey { method is_verified (line 110) | pub fn is_verified(&self) -> Result<(), crypto::Error> { method new (line 120) | pub fn new( method random (line 142) | pub fn random(rng: &mut TestRng) -> Self { method random_for_block (line 155) | pub fn random_for_block( method bytes_to_sign (line 172) | fn bytes_to_sign( method verify (line 185) | fn verify(&self) -> Result<(), crypto::Error> { method hash (line 197) | fn hash(&self, state: &mut H) { method eq (line 231) | fn eq(&self, other: &FinalitySignatureV2) -> bool { method cmp (line 265) | fn cmp(&self, other: &FinalitySignatureV2) -> Ordering { method partial_cmp (line 300) | fn partial_cmp(&self, other: &FinalitySignatureV2) -> Option { method fmt (line 306) | fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result { function finality_signature (line 321) | fn finality_signature() { FILE: types/src/block/finality_signature_id.rs type FinalitySignatureId (line 15) | pub struct FinalitySignatureId { method new (line 23) | pub fn new(block_hash: BlockHash, era_id: EraId, public_key: PublicKey... method block_hash (line 32) | pub fn block_hash(&self) -> &BlockHash { method era_id (line 37) | pub fn era_id(&self) -> EraId { method public_key (line 42) | pub fn public_key(&self) -> &PublicKey { method fmt (line 48) | fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result { FILE: types/src/block/json_compatibility/json_block_with_signatures.rs type JsonBlockWithSignatures (line 31) | pub struct JsonBlockWithSignatures { method new (line 41) | pub fn new(block: Block, maybe_signatures: Option) ->... method example (line 51) | pub fn example() -> &'static Self { type BlockProofLabels (line 55) | struct BlockProofLabels; constant KEY (line 58) | const KEY: &'static str = "public_key"; constant VALUE (line 59) | const VALUE: &'static str = "signature"; constant JSON_SCHEMA_KV_NAME (line 63) | const JSON_SCHEMA_KV_NAME: Option<&'static str> = Some("BlockProof"); constant JSON_SCHEMA_KV_DESCRIPTION (line 64) | const JSON_SCHEMA_KV_DESCRIPTION: Option<&'static str> = Some( constant JSON_SCHEMA_KEY_DESCRIPTION (line 67) | const JSON_SCHEMA_KEY_DESCRIPTION: Option<&'static str> = Some("The vali... constant JSON_SCHEMA_VALUE_DESCRIPTION (line 68) | const JSON_SCHEMA_VALUE_DESCRIPTION: Option<&'static str> = Some("The va... function block_to_and_from_json_block_with_signatures_v1 (line 80) | fn block_to_and_from_json_block_with_signatures_v1() { function block_to_and_from_json_block_with_signatures_v2 (line 91) | fn block_to_and_from_json_block_with_signatures_v2() { function json_block_roundtrip (line 106) | fn json_block_roundtrip() { FILE: types/src/block/rewarded_signatures.rs type RewardedSignatures (line 23) | pub struct RewardedSignatures(Vec); method new (line 164) | pub fn new>( method pack (line 172) | pub fn pack(unpacked: Vec>) -> Self { method unpack (line 185) | pub fn unpack(&self) -> Vec> { method left_padded (line 194) | pub fn left_padded(self, num_blocks: usize) -> Self { method difference (line 204) | pub fn difference(self, other: &RewardedSignatures) -> Self { method intersection (line 217) | pub fn intersection(&self, other: &RewardedSignatures) -> Self { method iter (line 232) | pub fn iter(&self) -> impl Iterator bool { type SingleBlockRewardedSignatures (line 35) | pub struct SingleBlockRewardedSignatures(Vec); method from_validator_set (line 40) | pub fn from_validator_set<'a>( method to_validator_set (line 67) | pub fn to_validator_set( method pack (line 82) | pub fn pack(bits: impl Iterator) -> Self { method unpack (line 106) | pub fn unpack(&self) -> impl Iterator + '_ { method difference (line 119) | pub fn difference(mut self, other: &SingleBlockRewardedSignatures) -> ... method intersection (line 127) | pub fn intersection(mut self, other: &SingleBlockRewardedSignatures) -... method has_some (line 138) | pub fn has_some(&self) -> bool { method random (line 328) | pub fn random(rng: &mut crate::testing::TestRng, n_validators: usize) ... method to_bytes (line 144) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 150) | fn serialized_length(&self) -> usize { method from_bytes (line 156) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method to_bytes (line 262) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 266) | fn serialized_length(&self) -> usize { method from_bytes (line 272) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function chunks_8 (line 279) | fn chunks_8(bits: impl Iterator) -> impl Iterator { FILE: types/src/block/test_block_builder/test_block_v1_builder.rs type TestBlockV1Builder (line 13) | pub struct TestBlockV1Builder { method new (line 43) | pub fn new() -> Self { method parent_hash (line 48) | pub fn parent_hash(self, parent_hash: BlockHash) -> Self { method state_root_hash (line 56) | pub fn state_root_hash(self, state_root_hash: Digest) -> Self { method timestamp (line 64) | pub fn timestamp(self, timestamp: Timestamp) -> Self { method era (line 72) | pub fn era(self, era: impl Into) -> Self { method height (line 80) | pub fn height(self, height: u64) -> Self { method protocol_version (line 88) | pub fn protocol_version(self, protocol_version: ProtocolVersion) -> Se... method deploys (line 96) | pub fn deploys<'a, I: IntoIterator>(self, deploys_i... method random_deploys (line 104) | pub fn random_deploys(mut self, count: usize, rng: &mut TestRng) -> Se... method switch_block (line 113) | pub fn switch_block(self, is_switch: bool) -> Self { method validator_weights (line 121) | pub fn validator_weights(self, validator_weights: ValidatorWeights) ->... method build (line 129) | pub fn build(self, rng: &mut TestRng) -> BlockV1 { method build_versioned (line 180) | pub fn build_versioned(self, rng: &mut TestRng) -> Block { method default (line 26) | fn default() -> Self { FILE: types/src/block/test_block_builder/test_block_v2_builder.rs type TestBlockV2Builder (line 14) | pub struct TestBlockV2Builder { method new (line 48) | pub fn new() -> Self { method parent_hash (line 53) | pub fn parent_hash(self, parent_hash: BlockHash) -> Self { method state_root_hash (line 61) | pub fn state_root_hash(self, state_root_hash: Digest) -> Self { method timestamp (line 69) | pub fn timestamp(self, timestamp: Timestamp) -> Self { method era (line 77) | pub fn era(self, era: impl Into) -> Self { method height (line 85) | pub fn height(self, height: u64) -> Self { method proposer (line 93) | pub fn proposer(self, proposer: PublicKey) -> Self { method protocol_version (line 101) | pub fn protocol_version(self, protocol_version: ProtocolVersion) -> Se... method transactions (line 109) | pub fn transactions<'a, I: IntoIterator>(self,... method rewarded_signatures (line 117) | pub fn rewarded_signatures(self, rewarded_signatures: RewardedSignatur... method random_transactions (line 125) | pub fn random_transactions(mut self, count: usize, rng: &mut TestRng) ... method switch_block (line 133) | pub fn switch_block(self, is_switch: bool) -> Self { method validator_weights (line 141) | pub fn validator_weights(self, validator_weights: ValidatorWeights) ->... method build (line 149) | pub fn build(self, rng: &mut TestRng) -> BlockV2 { method build_versioned (line 239) | pub fn build_versioned(self, rng: &mut TestRng) -> Block { method build_invalid (line 244) | pub fn build_invalid(self, rng: &mut TestRng) -> BlockV2 { method default (line 29) | fn default() -> Self { function simplified_calculate_transaction_lane_from_values (line 253) | fn simplified_calculate_transaction_lane_from_values( function gen_era_end_v2 (line 317) | fn gen_era_end_v2( FILE: types/src/block_time.rs constant BLOCKTIME_SERIALIZED_LENGTH (line 15) | pub const BLOCKTIME_SERIALIZED_LENGTH: usize = U64_SERIALIZED_LENGTH; type HoldsEpoch (line 19) | pub struct HoldsEpoch(Option); constant NOT_APPLICABLE (line 23) | pub const NOT_APPLICABLE: HoldsEpoch = HoldsEpoch(None); method from_block_time (line 26) | pub fn from_block_time(block_time: BlockTime, hold_internal: TimeDiff)... method from_timestamp (line 33) | pub fn from_timestamp(timestamp: Timestamp, hold_internal: TimeDiff) -... method from_millis (line 40) | pub fn from_millis(timestamp_millis: u64, hold_internal_millis: u64) -... method value (line 45) | pub fn value(&self) -> Option { type BlockTime (line 56) | pub struct BlockTime(u64); method new (line 60) | pub const fn new(value: u64) -> Self { method saturating_sub (line 67) | pub fn saturating_sub(self, other: BlockTime) -> Self { method value (line 72) | pub fn value(&self) -> u64 { method from (line 90) | fn from(value: u64) -> Self { method from (line 96) | fn from(value: Timestamp) -> Self { function from (line 78) | fn from(blocktime: BlockTime) -> Self { method from (line 84) | fn from(value: BlockTime) -> Self { method to_bytes (line 102) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 106) | fn serialized_length(&self) -> usize { method from_bytes (line 112) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { method cl_type (line 119) | fn cl_type() -> CLType { FILE: types/src/byte_code.rs constant BYTE_CODE_MAX_DISPLAY_LEN (line 25) | const BYTE_CODE_MAX_DISPLAY_LEN: usize = 16; constant KEY_HASH_LENGTH (line 26) | const KEY_HASH_LENGTH: usize = 32; constant WASM_STRING_PREFIX (line 27) | const WASM_STRING_PREFIX: &str = "byte-code-"; constant BYTE_CODE_PREFIX (line 29) | const BYTE_CODE_PREFIX: &str = "byte-code-"; constant V1_WASM_PREFIX (line 30) | const V1_WASM_PREFIX: &str = "v1-wasm-"; constant V2_WASM_PREFIX (line 31) | const V2_WASM_PREFIX: &str = "v2-wasm-"; constant EMPTY_PREFIX (line 32) | const EMPTY_PREFIX: &str = "empty-"; type TryFromSliceForContractHashError (line 36) | pub struct TryFromSliceForContractHashError(()); type FromStrError (line 40) | pub enum FromStrError { method from (line 49) | fn from(error: base16::DecodeError) -> Self { method from (line 55) | fn from(error: TryFromSliceError) -> Self { method from (line 61) | fn from(error: addressable_entity::FromAccountHashStrError) -> Self { method from (line 67) | fn from(error: uref::FromStrError) -> Self { method fmt (line 73) | fn fmt(&self, f: &mut Formatter) -> fmt::Result { type ByteCodeAddr (line 90) | pub enum ByteCodeAddr { method new_wasm_addr (line 101) | pub const fn new_wasm_addr(hash_addr: HashAddr) -> Self { method tag (line 106) | pub fn tag(&self) -> ByteCodeKind { method to_formatted_string (line 115) | pub fn to_formatted_string(&self) -> String { method from_formatted_string (line 121) | pub fn from_formatted_string(input: &str) -> Result { method to_bytes (line 146) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 152) | fn serialized_length(&self) -> usize { method write_bytes (line 161) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), Error> { method from_bytes (line 178) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { method fmt (line 195) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { method fmt (line 229) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { method sample (line 246) | fn sample(&self, rng: &mut R) -> ByteCodeAddr { type ByteCodeHash (line 260) | pub struct ByteCodeHash(HashAddr); method new (line 264) | pub const fn new(value: HashAddr) -> ByteCodeHash { method value (line 269) | pub fn value(&self) -> HashAddr { method as_bytes (line 274) | pub fn as_bytes(&self) -> &[u8] { method to_formatted_string (line 279) | pub fn to_formatted_string(self) -> String { method from_formatted_str (line 285) | pub fn from_formatted_str(input: &str) -> Result { method from (line 343) | fn from(bytes: [u8; KEY_HASH_LENGTH]) -> Self { method deserialize (line 359) | fn deserialize>(deserializer: D) -> Result &[u8] { type Error (line 377) | type Error = TryFromSliceForContractHashError; method try_from (line 379) | fn try_from(bytes: &[u8]) -> Result) -> Result { method default (line 295) | fn default() -> Self { method fmt (line 301) | fn fmt(&self, f: &mut Formatter<'_>) -> core::fmt::Result { method fmt (line 307) | fn fmt(&self, f: &mut Formatter) -> core::fmt::Result { method cl_type (line 313) | fn cl_type() -> CLType { method to_bytes (line 320) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 325) | fn serialized_length(&self) -> usize { method write_bytes (line 330) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), Error> { method from_bytes (line 336) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { method serialize (line 349) | fn serialize(&self, serializer: S) -> Result String { method json_schema (line 402) | fn json_schema(gen: &mut SchemaGenerator) -> Schema { type ByteCodeKind (line 416) | pub enum ByteCodeKind { method to_bytes (line 426) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 430) | fn serialized_length(&self) -> usize { method write_bytes (line 434) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), Error> { method from_bytes (line 440) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { method fmt (line 458) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { method sample (line 475) | fn sample(&self, rng: &mut R) -> ByteCodeKind { type ByteCode (line 489) | pub struct ByteCode { method new (line 510) | pub fn new(kind: ByteCodeKind, bytes: Vec) -> Self { method take_bytes (line 518) | pub fn take_bytes(self) -> Vec { method bytes (line 523) | pub fn bytes(&self) -> &[u8] { method kind (line 528) | pub fn kind(&self) -> ByteCodeKind { method fmt (line 495) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { method to_bytes (line 534) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 540) | fn serialized_length(&self) -> usize { method write_bytes (line 544) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), Error> { method from_bytes (line 552) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { function debug_repr_of_short_wasm (line 567) | fn debug_repr_of_short_wasm() { function debug_repr_of_long_wasm (line 575) | fn debug_repr_of_long_wasm() { function byte_code_bytesrepr_roundtrip (line 587) | fn byte_code_bytesrepr_roundtrip() { function contract_wasm_hash_from_slice (line 599) | fn contract_wasm_hash_from_slice() { function contract_wasm_hash_from_str (line 607) | fn contract_wasm_hash_from_str() { function byte_code_addr_from_str (line 631) | fn byte_code_addr_from_str() { function byte_code_serialization_roundtrip (line 644) | fn byte_code_serialization_roundtrip() { function contract_wasm_hash_bytesrepr_roundtrip (line 654) | fn contract_wasm_hash_bytesrepr_roundtrip() { function contract_wasm_hash_bincode_roundtrip (line 661) | fn contract_wasm_hash_bincode_roundtrip() { function contract_wasm_hash_json_roundtrip (line 670) | fn contract_wasm_hash_json_roundtrip() { FILE: types/src/bytesrepr.rs constant UNIT_SERIALIZED_LENGTH (line 32) | pub const UNIT_SERIALIZED_LENGTH: usize = 0; constant BOOL_SERIALIZED_LENGTH (line 34) | pub const BOOL_SERIALIZED_LENGTH: usize = 1; constant I32_SERIALIZED_LENGTH (line 36) | pub const I32_SERIALIZED_LENGTH: usize = size_of::(); constant I64_SERIALIZED_LENGTH (line 38) | pub const I64_SERIALIZED_LENGTH: usize = size_of::(); constant U8_SERIALIZED_LENGTH (line 40) | pub const U8_SERIALIZED_LENGTH: usize = size_of::(); constant U16_SERIALIZED_LENGTH (line 42) | pub const U16_SERIALIZED_LENGTH: usize = size_of::(); constant U32_SERIALIZED_LENGTH (line 44) | pub const U32_SERIALIZED_LENGTH: usize = size_of::(); constant U64_SERIALIZED_LENGTH (line 46) | pub const U64_SERIALIZED_LENGTH: usize = size_of::(); constant U128_SERIALIZED_LENGTH (line 48) | pub const U128_SERIALIZED_LENGTH: usize = size_of::(); constant U256_SERIALIZED_LENGTH (line 50) | pub const U256_SERIALIZED_LENGTH: usize = U128_SERIALIZED_LENGTH * 2; constant U512_SERIALIZED_LENGTH (line 52) | pub const U512_SERIALIZED_LENGTH: usize = U256_SERIALIZED_LENGTH * 2; constant OPTION_NONE_TAG (line 54) | pub const OPTION_NONE_TAG: u8 = 0; constant OPTION_SOME_TAG (line 56) | pub const OPTION_SOME_TAG: u8 = 1; constant RESULT_ERR_TAG (line 58) | pub const RESULT_ERR_TAG: u8 = 0; constant RESULT_OK_TAG (line 60) | pub const RESULT_OK_TAG: u8 = 1; type ToBytes (line 63) | pub trait ToBytes { method to_bytes (line 65) | fn to_bytes(&self) -> Result, Error>; method into_bytes (line 67) | fn into_bytes(self) -> Result, Error> method serialized_length (line 76) | fn serialized_length(&self) -> usize; method write_bytes (line 79) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), Error> { method to_bytes (line 165) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 169) | fn serialized_length(&self) -> usize { method write_bytes (line 173) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), Error> { method to_bytes (line 243) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 247) | fn serialized_length(&self) -> usize { method to_bytes (line 259) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 263) | fn serialized_length(&self) -> usize { method write_bytes (line 267) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), Error> { method to_bytes (line 287) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 291) | fn serialized_length(&self) -> usize { method write_bytes (line 295) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), Error> { method to_bytes (line 311) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 315) | fn serialized_length(&self) -> usize { method write_bytes (line 319) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), Error> { method to_bytes (line 335) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 339) | fn serialized_length(&self) -> usize { method write_bytes (line 343) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), Error> { method to_bytes (line 359) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 363) | fn serialized_length(&self) -> usize { method write_bytes (line 367) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), Error> { method to_bytes (line 383) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 387) | fn serialized_length(&self) -> usize { method write_bytes (line 391) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), Error> { method to_bytes (line 407) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 411) | fn serialized_length(&self) -> usize { method write_bytes (line 415) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), Error> { method to_bytes (line 431) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 435) | fn serialized_length(&self) -> usize { method write_bytes (line 439) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), Error> { method to_bytes (line 455) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 460) | fn serialized_length(&self) -> usize { method write_bytes (line 464) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), Error> { method to_bytes (line 493) | fn to_bytes(&self) -> Result, Error> { method into_bytes (line 507) | fn into_bytes(self) -> Result, Error> { method serialized_length (line 521) | fn serialized_length(&self) -> usize { method write_bytes (line 525) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), Error> { method to_bytes (line 578) | fn to_bytes(&self) -> Result, Error> { method into_bytes (line 589) | fn into_bytes(self) -> Result, Error> { method serialized_length (line 594) | fn serialized_length(&self) -> usize { method to_bytes (line 614) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 619) | fn serialized_length(&self) -> usize { method write_bytes (line 624) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), Error> { method to_bytes (line 641) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 654) | fn serialized_length(&self) -> usize { method write_bytes (line 658) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), Error> { method to_bytes (line 686) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 700) | fn serialized_length(&self) -> usize { method write_bytes (line 708) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), Error> { method to_bytes (line 738) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 753) | fn serialized_length(&self) -> usize { method write_bytes (line 761) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), Error> { method to_bytes (line 788) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 799) | fn serialized_length(&self) -> usize { method write_bytes (line 807) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), Error> { method to_bytes (line 840) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 844) | fn serialized_length(&self) -> usize { method to_bytes (line 857) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 864) | fn serialized_length(&self) -> usize { method to_bytes (line 878) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 886) | fn serialized_length(&self) -> usize { method to_bytes (line 901) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 910) | fn serialized_length(&self) -> usize { method to_bytes (line 931) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 941) | fn serialized_length(&self) -> usize { method to_bytes (line 966) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 977) | fn serialized_length(&self) -> usize { method to_bytes (line 1004) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 1016) | fn serialized_length(&self) -> usize { method to_bytes (line 1060) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 1073) | fn serialized_length(&self) -> usize { method to_bytes (line 1121) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 1135) | fn serialized_length(&self) -> usize { method to_bytes (line 1187) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 1202) | fn serialized_length(&self) -> usize { method to_bytes (line 1246) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 1251) | fn serialized_length(&self) -> usize { method write_bytes (line 1256) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), Error> { method to_bytes (line 1264) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 1269) | fn serialized_length(&self) -> usize { method write_bytes (line 1274) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), Error> { method to_bytes (line 1284) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 1288) | fn serialized_length(&self) -> usize { method to_bytes (line 1297) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 1301) | fn serialized_length(&self) -> usize { method to_bytes (line 1310) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 1317) | fn serialized_length(&self) -> usize { type FromBytes (line 86) | pub trait FromBytes: Sized { method from_bytes (line 88) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error>; method from_vec (line 91) | fn from_vec(bytes: Vec) -> Result<(Self, Vec), Error> { method from_bytes (line 179) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { method from_bytes (line 253) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { method from_bytes (line 274) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { method from_bytes (line 302) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { method from_bytes (line 326) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { method from_bytes (line 350) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { method from_bytes (line 374) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { method from_bytes (line 398) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { method from_bytes (line 422) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { method from_bytes (line 446) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { method from_bytes (line 471) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { method from_bytes (line 552) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { method from_vec (line 572) | fn from_vec(bytes: Vec) -> Result<(Self, Vec), Error> { method from_bytes (line 601) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { method from_vec (line 606) | fn from_vec(bytes: Vec) -> Result<(Self, Vec), Error> { method from_bytes (line 631) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { method from_bytes (line 669) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { method from_bytes (line 724) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { method from_bytes (line 774) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { method from_bytes (line 823) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { method from_bytes (line 850) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { method from_bytes (line 870) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { method from_bytes (line 892) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { method from_bytes (line 919) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { method from_bytes (line 953) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { method from_bytes (line 990) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { method from_bytes (line 1037) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { method from_bytes (line 1096) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { method from_bytes (line 1160) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { method from_bytes (line 1229) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { method from_bytes (line 1326) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { function unchecked_allocate_buffer (line 98) | pub fn unchecked_allocate_buffer(to_be_serialized: &T) -> Ve... function allocate_buffer (line 105) | pub fn allocate_buffer(to_be_serialized: &T) -> Result Result,... type Error (line 131) | pub enum Error { method fmt (line 148) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { function deserialize (line 206) | pub fn deserialize(bytes: Vec) -> Result { function deserialize_from_slice (line 219) | pub fn deserialize_from_slice, O: FromBytes>(bytes: I) ->... function serialize (line 229) | pub fn serialize(t: impl ToBytes) -> Result, Error> { function safe_split_at (line 234) | pub(crate) fn safe_split_at(bytes: &[u8], n: usize) -> Result<(&[u8], &[... function ensure_efficient_serialization (line 479) | fn ensure_efficient_serialization() { function iterator_serialized_length (line 488) | fn iterator_serialized_length<'a, T: 'a + ToBytes>(ts: impl Iterator(bytes: Vec) -> Result<(Vec, Vec... function cautious (line 546) | fn cautious(hint: usize) -> usize { function u8_slice_to_bytes (line 1341) | fn u8_slice_to_bytes(bytes: &[u8]) -> Result, Error> { function write_u8_slice (line 1354) | fn write_u8_slice(bytes: &[u8], writer: &mut Vec) -> Result<(), Erro... function vec_u8_to_bytes (line 1369) | pub(crate) fn vec_u8_to_bytes(vec: &Vec) -> Result, Error> { function u8_slice_serialized_length (line 1377) | fn u8_slice_serialized_length(bytes: &[u8]) -> usize { function vec_u8_serialized_length (line 1383) | pub(crate) fn vec_u8_serialized_length(vec: &Vec) -> usize { function test_serialization_roundtrip (line 1394) | pub fn test_serialization_roundtrip(t: &T) function should_not_serialize_zero_denominator (line 1427) | fn should_not_serialize_zero_denominator() { function should_not_deserialize_zero_denominator (line 1433) | fn should_not_deserialize_zero_denominator() { function should_have_generic_tobytes_impl_for_borrowed_types (line 1440) | fn should_have_generic_tobytes_impl_for_borrowed_types() { function should_fail_to_serialize_slice_of_u8 (line 1465) | fn should_fail_to_serialize_slice_of_u8() { function should_calculate_capacity (line 1471) | fn should_calculate_capacity() { function deserializing_empty_vec_has_no_capacity (line 1510) | fn deserializing_empty_vec_has_no_capacity() { FILE: types/src/bytesrepr/bytes.rs type Bytes (line 34) | pub struct Bytes( method new (line 41) | pub fn new() -> Bytes { method inner_bytes (line 47) | pub fn inner_bytes(&self) -> &Vec { method as_slice (line 52) | pub fn as_slice(&self) -> &[u8] { method take_inner (line 57) | pub fn take_inner(self) -> Vec { method from (line 71) | fn from(vec: Vec) -> Self { method from (line 83) | fn from(bytes: &[u8]) -> Self { method as_ref (line 95) | fn as_ref(&self) -> &[u8] { type Output (line 142) | type Output = u8; method index (line 144) | fn index(&self, index: usize) -> &u8 { type Output (line 151) | type Output = [u8]; method index (line 153) | fn index(&self, index: Range) -> &[u8] { type Output (line 160) | type Output = [u8]; method index (line 162) | fn index(&self, index: RangeTo) -> &[u8] { type Output (line 169) | type Output = [u8]; method index (line 171) | fn index(&self, index: RangeFrom) -> &[u8] { type Output (line 178) | type Output = [u8]; method index (line 180) | fn index(&self, _: RangeFull) -> &[u8] { method from_iter (line 188) | fn from_iter>(iter: I) -> Bytes { constant IS_DYNAMIC (line 216) | const IS_DYNAMIC: bool = true; constant STATIC_HEAP_SIZE (line 218) | const STATIC_HEAP_SIZE: usize = 0; method estimate_heap_size (line 220) | fn estimate_heap_size(&self) -> usize { method deserialize (line 291) | fn deserialize(deserializer: D) -> Result type Target (line 63) | type Target = [u8]; method deref (line 65) | fn deref(&self) -> &Self::Target { function from (line 77) | fn from(bytes: Bytes) -> Self { method cl_type (line 89) | fn cl_type() -> CLType { method to_bytes (line 102) | fn to_bytes(&self) -> Result, Error> { method into_bytes (line 107) | fn into_bytes(self) -> Result, Error> { method serialized_length (line 112) | fn serialized_length(&self) -> usize { method write_bytes (line 117) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), Error> { method from_bytes (line 123) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), super::Error> { method from_vec (line 129) | fn from_vec(stream: Vec) -> Result<(Self, Vec), Error> { type Item (line 195) | type Item = &'a u8; type IntoIter (line 197) | type IntoIter = slice::Iter<'a, u8>; method into_iter (line 199) | fn into_iter(self) -> Self::IntoIter { type Item (line 205) | type Item = u8; type IntoIter (line 207) | type IntoIter = IntoIter; method into_iter (line 209) | fn into_iter(self) -> Self::IntoIter { constant RANDOM_BYTES_MAX_LENGTH (line 225) | const RANDOM_BYTES_MAX_LENGTH: usize = 100; method sample (line 228) | fn sample(&self, rng: &mut R) -> Bytes { type BytesVisitor (line 238) | struct BytesVisitor; type Value (line 241) | type Value = Bytes; method expecting (line 243) | fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { method visit_seq (line 247) | fn visit_seq(self, mut visitor: V) -> Result method visit_bytes (line 261) | fn visit_bytes(self, v: &[u8]) -> Result method visit_byte_buf (line 268) | fn visit_byte_buf(self, v: Vec) -> Result method visit_str (line 275) | fn visit_str(self, v: &str) -> Result method visit_string (line 282) | fn visit_string(self, v: String) -> Result method serialize (line 308) | fn serialize(&self, serializer: S) -> Result constant TRUTH (line 330) | const TRUTH: &[u8] = &[0xde, 0xad, 0xbe, 0xef]; function vec_u8_from_bytes (line 333) | fn vec_u8_from_bytes() { function should_serialize_deserialize_bytes (line 342) | fn should_serialize_deserialize_bytes() { function should_fail_to_serialize_deserialize_malicious_bytes (line 348) | fn should_fail_to_serialize_deserialize_malicious_bytes() { function should_serialize_deserialize_bytes_and_keep_rem (line 357) | fn should_serialize_deserialize_bytes_and_keep_rem() { function should_ser_de_human_readable (line 369) | fn should_ser_de_human_readable() { function should_ser_de_readable (line 382) | fn should_ser_de_readable() { function should_ser_de_compact (line 388) | fn should_ser_de_compact() { function bytes_arb (line 402) | pub fn bytes_arb(size: impl Into) -> impl Strategy ChainNameDigest { method hash (line 147) | pub fn hash(&self) -> Digest { method try_hash (line 156) | pub fn try_hash(&self) -> Result { method protocol_version (line 164) | pub fn protocol_version(&self) -> ProtocolVersion { method hard_reset_to_start_of_era (line 170) | pub fn hard_reset_to_start_of_era(&self) -> Option { method upgrade_config_from_parts (line 177) | pub fn upgrade_config_from_parts( method balance_holds_epoch (line 228) | pub fn balance_holds_epoch(&self, timestamp: Timestamp) -> u64 { method is_supported (line 235) | pub fn is_supported(&self, lane: u8) -> bool { method get_max_serialized_length_by_category (line 242) | pub fn get_max_serialized_length_by_category(&self, lane: u8) -> u64 { method get_max_args_length_by_category (line 249) | pub fn get_max_args_length_by_category(&self, lane: u8) -> u64 { method get_max_gas_limit_by_category (line 256) | pub fn get_max_gas_limit_by_category(&self, lane: u8) -> u64 { method get_max_transaction_count_by_category (line 263) | pub fn get_max_transaction_count_by_category(&self, lane: u8) -> u64 { method random (line 273) | pub fn random(rng: &mut TestRng) -> Self { method with_chain_name (line 297) | pub fn with_chain_name(&mut self, chain_name: String) -> &mut Self { method with_max_associated_keys (line 303) | pub fn with_max_associated_keys(&mut self, max_associated_keys: u32) -... method with_pricing_handling (line 309) | pub fn with_pricing_handling(&mut self, pricing_handling: PricingHandl... method with_allow_prepaid (line 315) | pub fn with_allow_prepaid(&mut self, allow_prepaid: bool) -> &mut Self { method with_block_gas_limit (line 321) | pub fn with_block_gas_limit(&mut self, block_gas_limit: u64) -> &mut S... method with_vm_casper_v2 (line 327) | pub fn with_vm_casper_v2(&mut self, vm_casper_v2: bool) -> &mut Self { method write_bytes (line 334) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method to_bytes (line 346) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 352) | fn serialized_length(&self) -> usize { method from_bytes (line 366) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function bytesrepr_roundtrip (line 398) | fn bytesrepr_roundtrip() { FILE: types/src/chainspec/accounts_config.rs function sorted_vec_deserializer (line 23) | fn sorted_vec_deserializer<'de, T, D>(deserializer: D) -> Result,... type AccountsConfig (line 36) | pub struct AccountsConfig { method new (line 51) | pub fn new( method accounts (line 64) | pub fn accounts(&self) -> &[AccountConfig] { method delegators (line 69) | pub fn delegators(&self) -> &[DelegatorConfig] { method administrators (line 74) | pub fn administrators(&self) -> &[AdministratorAccount] { method account (line 79) | pub fn account(&self, public_key: &PublicKey) -> Option<&AccountConfig> { method validators (line 86) | pub fn validators(&self) -> impl Iterator { method is_genesis_validator (line 93) | pub fn is_genesis_validator(&self, public_key: &PublicKey) -> bool { method random (line 102) | pub fn random(rng: &mut TestRng) -> Self { method to_bytes (line 135) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 143) | fn serialized_length(&self) -> usize { method from_bytes (line 151) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function from (line 161) | fn from(accounts_config: AccountsConfig) -> Self { function serialization_roundtrip (line 187) | fn serialization_roundtrip() { FILE: types/src/chainspec/accounts_config/account_config.rs type AccountConfig (line 24) | pub struct AccountConfig { method new (line 35) | pub fn new(public_key: PublicKey, balance: Motes, validator: Option PublicKey { method balance (line 49) | pub fn balance(&self) -> Motes { method bonded_amount (line 54) | pub fn bonded_amount(&self) -> Motes { method is_genesis_validator (line 62) | pub fn is_genesis_validator(&self) -> bool { method random (line 68) | pub fn random(rng: &mut TestRng) -> Self { method sample (line 84) | fn sample(&self, rng: &mut R) -> AccountConfig { method to_bytes (line 99) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 107) | fn serialized_length(&self) -> usize { method from_bytes (line 115) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method from (line 129) | fn from(account_config: AccountConfig) -> Self { FILE: types/src/chainspec/accounts_config/delegator_config.rs type DelegatorConfig (line 19) | pub struct DelegatorConfig { method new (line 32) | pub fn new( method random (line 48) | pub fn random(rng: &mut TestRng) -> Self { method sample (line 67) | fn sample(&self, rng: &mut R) -> DelegatorConfig { method to_bytes (line 91) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 100) | fn serialized_length(&self) -> usize { method from_bytes (line 109) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method from (line 125) | fn from(delegator_config: DelegatorConfig) -> Self { FILE: types/src/chainspec/accounts_config/genesis.rs constant TAG_LENGTH (line 20) | const TAG_LENGTH: usize = U8_SERIALIZED_LENGTH; type GenesisAccountTag (line 23) | enum GenesisAccountTag { type GenesisValidator (line 34) | pub struct GenesisValidator { method new (line 68) | pub fn new(bonded_amount: Motes, delegation_rate: DelegationRate) -> S... method bonded_amount (line 76) | pub fn bonded_amount(&self) -> Motes { method delegation_rate (line 81) | pub fn delegation_rate(&self) -> DelegationRate { method to_bytes (line 42) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 49) | fn serialized_length(&self) -> usize { method from_bytes (line 55) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method sample (line 88) | fn sample(&self, rng: &mut R) -> GenesisValidator { type AdministratorAccount (line 99) | pub struct AdministratorAccount { method new (line 106) | pub fn new(public_key: PublicKey, balance: Motes) -> Self { method public_key (line 114) | pub fn public_key(&self) -> &PublicKey { method to_bytes (line 120) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 131) | fn serialized_length(&self) -> usize { method from_bytes (line 141) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { type GenesisAccount (line 155) | pub enum GenesisAccount { method from (line 191) | fn from(v: AdministratorAccount) -> Self { method system (line 198) | pub fn system() -> Self { method account (line 203) | pub fn account( method delegator (line 216) | pub fn delegator( method sustain (line 231) | pub fn sustain(public_key: PublicKey) -> Self { method public_key (line 236) | pub fn public_key(&self) -> PublicKey { method account_hash (line 252) | pub fn account_hash(&self) -> AccountHash { method balance (line 268) | pub fn balance(&self) -> Motes { method staked_amount (line 282) | pub fn staked_amount(&self) -> Motes { method delegation_rate (line 308) | pub fn delegation_rate(&self) -> DelegationRate { method is_system_account (line 329) | pub fn is_system_account(&self) -> bool { method is_validator (line 334) | pub fn is_validator(&self) -> bool { method validator (line 350) | pub fn validator(&self) -> Option<&GenesisValidator> { method is_delegator (line 361) | pub fn is_delegator(&self) -> bool { method as_delegator (line 366) | pub fn as_delegator(&self) -> Option<(&PublicKey, &PublicKey, &Motes, ... method as_administrator_account (line 384) | pub fn as_administrator_account(&self) -> Option<&AdministratorAccount> { method try_set_validator (line 393) | pub fn try_set_validator(&mut self, genesis_validator: GenesisValidato... method is_sustain_account (line 406) | pub fn is_sustain_account(&self) -> bool { method sample (line 413) | fn sample(&self, rng: &mut R) -> GenesisAccount { method to_bytes (line 426) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 466) | fn serialized_length(&self) -> usize { method from_bytes (line 502) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { FILE: types/src/chainspec/accounts_config/validator_config.rs type ValidatorConfig (line 19) | pub struct ValidatorConfig { method new (line 27) | pub fn new(bonded_amount: Motes, delegation_rate: DelegationRate) -> S... method delegation_rate (line 35) | pub fn delegation_rate(&self) -> DelegationRate { method bonded_amount (line 40) | pub fn bonded_amount(&self) -> Motes { method random (line 46) | pub fn random(rng: &mut TestRng) -> Self { method sample (line 59) | fn sample(&self, rng: &mut R) -> ValidatorConfig { method to_bytes (line 71) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 78) | fn serialized_length(&self) -> usize { method from_bytes (line 84) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method from (line 96) | fn from(account_config: ValidatorConfig) -> Self { FILE: types/src/chainspec/activation_point.rs constant ERA_ID_TAG (line 18) | const ERA_ID_TAG: u8 = 0; constant GENESIS_TAG (line 19) | const GENESIS_TAG: u8 = 1; type ActivationPoint (line 26) | pub enum ActivationPoint { method should_upgrade (line 36) | pub fn should_upgrade(&self, era_being_deactivated: &EraId) -> bool { method era_id (line 44) | pub fn era_id(&self) -> EraId { method genesis_timestamp (line 52) | pub fn genesis_timestamp(&self) -> Option { method random (line 61) | pub fn random(rng: &mut TestRng) -> Self { method default (line 71) | fn default() -> Self { method fmt (line 77) | fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result { method to_bytes (line 88) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 103) | fn serialized_length(&self) -> usize { method from_bytes (line 113) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { FILE: types/src/chainspec/chainspec_raw_bytes.rs type ChainspecRawBytes (line 16) | pub struct ChainspecRawBytes { method new (line 27) | pub fn new( method chainspec_bytes (line 40) | pub fn chainspec_bytes(&self) -> &[u8] { method maybe_genesis_accounts_bytes (line 45) | pub fn maybe_genesis_accounts_bytes(&self) -> Option<&[u8]> { method maybe_global_state_bytes (line 53) | pub fn maybe_global_state_bytes(&self) -> Option<&[u8]> { method random (line 62) | pub fn random(rng: &mut TestRng) -> Self { method fmt (line 81) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { method fmt (line 116) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { method to_bytes (line 137) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method write_bytes (line 143) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method serialized_length (line 155) | fn serialized_length(&self) -> usize { method from_bytes (line 168) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function bytesrepr_roundtrip (line 190) | fn bytesrepr_roundtrip() { FILE: types/src/chainspec/core_config.rs constant DEFAULT_MAX_ASSOCIATED_KEYS (line 30) | pub const DEFAULT_MAX_ASSOCIATED_KEYS: u32 = 100; constant DEFAULT_MAX_RUNTIME_CALL_STACK_HEIGHT (line 33) | pub const DEFAULT_MAX_RUNTIME_CALL_STACK_HEIGHT: u32 = 12; constant DEFAULT_REFUND_HANDLING (line 36) | pub const DEFAULT_REFUND_HANDLING: RefundHandling = RefundHandling::NoRe... constant DEFAULT_PRICING_HANDLING (line 39) | pub const DEFAULT_PRICING_HANDLING: PricingHandling = PricingHandling::F... constant DEFAULT_FEE_HANDLING (line 42) | pub const DEFAULT_FEE_HANDLING: FeeHandling = FeeHandling::NoFee; constant DEFAULT_ALLOW_PREPAID (line 45) | pub const DEFAULT_ALLOW_PREPAID: bool = false; constant DEFAULT_MINIMUM_BID_AMOUNT (line 48) | pub const DEFAULT_MINIMUM_BID_AMOUNT: u64 = 2; constant DEFAULT_PROCESSING_HOLD_BALANCE_HANDLING (line 52) | pub const DEFAULT_PROCESSING_HOLD_BALANCE_HANDLING: HoldBalanceHandling = constant DEFAULT_GAS_HOLD_BALANCE_HANDLING (line 56) | pub const DEFAULT_GAS_HOLD_BALANCE_HANDLING: HoldBalanceHandling = HoldB... constant DEFAULT_GAS_HOLD_INTERVAL (line 59) | pub const DEFAULT_GAS_HOLD_INTERVAL: TimeDiff = TimeDiff::from_seconds(2... constant DEFAULT_ENABLE_ENTITY (line 62) | pub const DEFAULT_ENABLE_ENTITY: bool = false; constant DEFAULT_BASELINE_MOTES_AMOUNT (line 65) | pub const DEFAULT_BASELINE_MOTES_AMOUNT: u64 = 2_500_000_000; type CoreConfig (line 72) | pub struct CoreConfig { method enable_addressable_entity (line 203) | pub fn enable_addressable_entity(&self) -> bool { method recent_era_count (line 208) | pub fn recent_era_count(&self) -> u64 { method production_rewards_proportion (line 214) | pub fn production_rewards_proportion(&self) -> Ratio { method collection_rewards_proportion (line 220) | pub fn collection_rewards_proportion(&self) -> Ratio { method contribution_rewards_proportion (line 225) | pub fn contribution_rewards_proportion(&self) -> Ratio { method baseline_motes_amount_u512 (line 230) | pub fn baseline_motes_amount_u512(&self) -> U512 { method random (line 238) | pub fn random(rng: &mut TestRng) -> Self { method default (line 351) | fn default() -> Self { method to_bytes (line 400) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 449) | fn serialized_length(&self) -> usize { method from_bytes (line 497) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { type ConsensusProtocolName (line 590) | pub enum ConsensusProtocolName { method deserialize (line 612) | fn deserialize>(deserializer: D) -> Result(&self, serializer: S) -> Result constant CONSENSUS_HIGHWAY_TAG (line 621) | const CONSENSUS_HIGHWAY_TAG: u8 = 0; constant CONSENSUS_ZUG_TAG (line 622) | const CONSENSUS_ZUG_TAG: u8 = 1; method to_bytes (line 625) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 633) | fn serialized_length(&self) -> usize { method from_bytes (line 639) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method sample (line 652) | fn sample(&self, rng: &mut R) -> ConsensusProtocolName { type LegacyRequiredFinality (line 664) | pub enum LegacyRequiredFinality { method deserialize (line 689) | fn deserialize>(deserializer: D) -> Result(&self, serializer: S) -> Result constant LEGACY_REQUIRED_FINALITY_STRICT_TAG (line 699) | const LEGACY_REQUIRED_FINALITY_STRICT_TAG: u8 = 0; constant LEGACY_REQUIRED_FINALITY_WEAK_TAG (line 700) | const LEGACY_REQUIRED_FINALITY_WEAK_TAG: u8 = 1; constant LEGACY_REQUIRED_FINALITY_ANY_TAG (line 701) | const LEGACY_REQUIRED_FINALITY_ANY_TAG: u8 = 2; method to_bytes (line 704) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 713) | fn serialized_length(&self) -> usize { method from_bytes (line 719) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method sample (line 732) | fn sample(&self, rng: &mut R) -> LegacyRequiredFinality { function bytesrepr_roundtrip (line 749) | fn bytesrepr_roundtrip() { FILE: types/src/chainspec/fee_handling.rs constant FEE_HANDLING_PROPOSER_TAG (line 7) | const FEE_HANDLING_PROPOSER_TAG: u8 = 0; constant FEE_HANDLING_ACCUMULATE_TAG (line 8) | const FEE_HANDLING_ACCUMULATE_TAG: u8 = 1; constant FEE_HANDLING_BURN_TAG (line 9) | const FEE_HANDLING_BURN_TAG: u8 = 2; constant FEE_HANDLING_NONE_TAG (line 10) | const FEE_HANDLING_NONE_TAG: u8 = 3; type FeeHandling (line 16) | pub enum FeeHandling { method is_accumulate (line 38) | pub fn is_accumulate(&self) -> bool { method is_no_fee (line 43) | pub fn is_no_fee(&self) -> bool { method to_bytes (line 49) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 58) | fn serialized_length(&self) -> usize { method from_bytes (line 64) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function bytesrepr_roundtrip_for_refund (line 81) | fn bytesrepr_roundtrip_for_refund() { function bytesrepr_roundtrip_for_accumulate (line 87) | fn bytesrepr_roundtrip_for_accumulate() { function bytesrepr_roundtrip_for_burn (line 93) | fn bytesrepr_roundtrip_for_burn() { function bytesrepr_roundtrip_for_no_fee (line 99) | fn bytesrepr_roundtrip_for_no_fee() { FILE: types/src/chainspec/genesis_config.rs type GenesisConfig (line 24) | pub struct GenesisConfig { method new (line 45) | pub fn new( method wasm_config (line 82) | pub fn wasm_config(&self) -> &WasmConfig { method system_config (line 87) | pub fn system_config(&self) -> &SystemConfig { method get_bonded_validators (line 92) | pub fn get_bonded_validators(&self) -> impl Iterator &[GenesisAccount] { method accounts_iter (line 112) | pub fn accounts_iter(&self) -> impl Iterator { method administrative_accounts (line 117) | pub fn administrative_accounts(&self) -> impl Iterator u32 { method auction_delay (line 134) | pub fn auction_delay(&self) -> u64 { method locked_funds_period_millis (line 139) | pub fn locked_funds_period_millis(&self) -> u64 { method round_seigniorage_rate (line 144) | pub fn round_seigniorage_rate(&self) -> Ratio { method unbonding_delay (line 149) | pub fn unbonding_delay(&self) -> u64 { method genesis_timestamp_millis (line 154) | pub fn genesis_timestamp_millis(&self) -> u64 { method gas_hold_balance_handling (line 159) | pub fn gas_hold_balance_handling(&self) -> HoldBalanceHandling { method gas_hold_interval_millis (line 164) | pub fn gas_hold_interval_millis(&self) -> u64 { method enable_entity (line 169) | pub fn enable_entity(&self) -> bool { method set_enable_entity (line 174) | pub fn set_enable_entity(&mut self, enable: bool) { method push_genesis_validator (line 179) | pub fn push_genesis_validator( method rewards_ratio (line 193) | pub fn rewards_ratio(&self) -> Option> { method push_rewards_ratio (line 196) | pub fn push_rewards_ratio(&mut self, rewards_ratio: Ratio) { method minimum_delegation_rate (line 200) | pub fn minimum_delegation_rate(&self) -> DelegationRate { method from (line 256) | fn from(chainspec: &Chainspec) -> Self { method sample (line 207) | fn sample(&self, rng: &mut R) -> GenesisConfig { FILE: types/src/chainspec/global_state_update.rs type GlobalStateUpdateEntry (line 19) | pub struct GlobalStateUpdateEntry { type GlobalStateUpdateValidatorInfo (line 27) | pub struct GlobalStateUpdateValidatorInfo { type GlobalStateUpdateConfig (line 36) | pub struct GlobalStateUpdateConfig { type GlobalStateUpdate (line 47) | pub struct GlobalStateUpdate { method random (line 58) | pub fn random(rng: &mut TestRng) -> Self { type Error (line 127) | type Error = GlobalStateUpdateError; method try_from (line 129) | fn try_from(config: GlobalStateUpdateConfig) -> Result) -> Result<(), bytesrepr::Err... method to_bytes (line 86) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 92) | fn serialized_length(&self) -> usize { method from_bytes (line 98) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { type GlobalStateUpdateError (line 111) | pub enum GlobalStateUpdateError { function global_state_update_bytesrepr_roundtrip (line 176) | fn global_state_update_bytesrepr_roundtrip() { FILE: types/src/chainspec/highway_config.rs type HighwayConfig (line 20) | pub struct HighwayConfig { method is_valid (line 27) | pub fn is_valid(&self) -> Result<(), String> { method random (line 33) | pub fn random(rng: &mut TestRng) -> Self { method to_bytes (line 43) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 49) | fn serialized_length(&self) -> usize { method from_bytes (line 55) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function bytesrepr_roundtrip (line 71) | fn bytesrepr_roundtrip() { FILE: types/src/chainspec/hold_balance_handling.rs constant HOLD_BALANCE_ACCRUED_TAG (line 16) | const HOLD_BALANCE_ACCRUED_TAG: u8 = 0; constant HOLD_BALANCE_AMORTIZED_TAG (line 17) | const HOLD_BALANCE_AMORTIZED_TAG: u8 = 1; constant HOLD_BALANCE_HANDLING_TAG_LENGTH (line 18) | const HOLD_BALANCE_HANDLING_TAG_LENGTH: u8 = 1; type HoldBalanceHandling (line 27) | pub enum HoldBalanceHandling { method from_tag (line 42) | pub fn from_tag(tag: u8) -> Result { method tag (line 53) | pub fn tag(&self) -> u8 { method fmt (line 62) | fn fmt(&self, f: &mut Formatter<'_>) -> core::fmt::Result { method to_bytes (line 75) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 90) | fn serialized_length(&self) -> usize { method from_bytes (line 96) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method sample (line 108) | fn sample(&self, rng: &mut R) -> HoldBalanceHandling { function bytesrepr_roundtrip_for_accrued (line 122) | fn bytesrepr_roundtrip_for_accrued() { function bytesrepr_roundtrip_for_amortized (line 128) | fn bytesrepr_roundtrip_for_amortized() { FILE: types/src/chainspec/network_config.rs type NetworkConfig (line 17) | pub struct NetworkConfig { method random (line 31) | pub fn random(rng: &mut TestRng) -> Self { method to_bytes (line 45) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 53) | fn serialized_length(&self) -> usize { method from_bytes (line 61) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function bytesrepr_roundtrip (line 81) | fn bytesrepr_roundtrip() { FILE: types/src/chainspec/next_upgrade.rs type NextUpgrade (line 24) | pub struct NextUpgrade { method new (line 31) | pub fn new(activation_point: ActivationPoint, protocol_version: Protoc... method activation_point (line 39) | pub fn activation_point(&self) -> ActivationPoint { method random (line 45) | pub fn random(rng: &mut TestRng) -> Self { method from (line 54) | fn from(protocol_config: ProtocolConfig) -> Self { method fmt (line 63) | fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result { method to_bytes (line 74) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method write_bytes (line 80) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method serialized_length (line 85) | fn serialized_length(&self) -> usize { method from_bytes (line 91) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function bytesrepr_roundtrip (line 110) | fn bytesrepr_roundtrip() { FILE: types/src/chainspec/pricing_handling.rs constant PRICING_HANDLING_TAG_LENGTH (line 10) | const PRICING_HANDLING_TAG_LENGTH: u8 = 1; constant PRICING_HANDLING_PAYMENT_LIMITED_TAG (line 12) | const PRICING_HANDLING_PAYMENT_LIMITED_TAG: u8 = 0; constant PRICING_HANDLING_FIXED_TAG (line 13) | const PRICING_HANDLING_FIXED_TAG: u8 = 1; type PricingHandling (line 20) | pub enum PricingHandling { method fmt (line 30) | fn fmt(&self, f: &mut Formatter<'_>) -> core::fmt::Result { method to_bytes (line 43) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 58) | fn serialized_length(&self) -> usize { method from_bytes (line 64) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function bytesrepr_roundtrip_for_payment_limited (line 80) | fn bytesrepr_roundtrip_for_payment_limited() { function bytesrepr_roundtrip_for_fixed (line 86) | fn bytesrepr_roundtrip_for_fixed() { FILE: types/src/chainspec/protocol_config.rs type ProtocolConfig (line 20) | pub struct ProtocolConfig { method get_update_mapping (line 37) | pub(crate) fn get_update_mapping( method random (line 54) | pub fn random(rng: &mut TestRng) -> Self { method to_bytes (line 72) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 81) | fn serialized_length(&self) -> usize { method from_bytes (line 90) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method default (line 108) | fn default() -> Self { function activation_point_bytesrepr_roundtrip (line 124) | fn activation_point_bytesrepr_roundtrip() { function protocol_config_bytesrepr_roundtrip (line 131) | fn protocol_config_bytesrepr_roundtrip() { FILE: types/src/chainspec/refund_handling.rs constant REFUND_HANDLING_REFUND_TAG (line 9) | const REFUND_HANDLING_REFUND_TAG: u8 = 0; constant REFUND_HANDLING_BURN_TAG (line 10) | const REFUND_HANDLING_BURN_TAG: u8 = 1; constant REFUND_HANDLING_NONE_TAG (line 11) | const REFUND_HANDLING_NONE_TAG: u8 = 2; type RefundHandling (line 16) | pub enum RefundHandling { method skip_refund (line 48) | pub fn skip_refund(&self) -> bool { method refund_ratio (line 57) | pub fn refund_ratio(&self) -> Ratio { method to_bytes (line 68) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 88) | fn serialized_length(&self) -> usize { method from_bytes (line 98) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function bytesrepr_roundtrip_for_refund (line 120) | fn bytesrepr_roundtrip_for_refund() { function bytesrepr_roundtrip_for_burn (line 128) | fn bytesrepr_roundtrip_for_burn() { function bytesrepr_roundtrip_for_no_refund (line 136) | fn bytesrepr_roundtrip_for_no_refund() { FILE: types/src/chainspec/rewards_handling.rs constant REWARDS_HANDLING_RATIO_TAG (line 11) | pub const REWARDS_HANDLING_RATIO_TAG: u8 = 0; constant REWARDS_HANDLING_STANDARD_TAG (line 13) | const REWARDS_HANDLING_STANDARD_TAG: u8 = 0; constant REWARDS_HANDLING_SUSTAIN_TAG (line 15) | const REWARDS_HANDLING_SUSTAIN_TAG: u8 = 1; type RewardsHandling (line 19) | pub enum RewardsHandling { method purse_address (line 30) | pub fn purse_address(&self) -> Option> { method maybe_ratio (line 37) | pub fn maybe_ratio(&self) -> Option> { method is_valid_configuration (line 44) | pub fn is_valid_configuration(&self) -> bool { method to_bytes (line 66) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 86) | fn serialized_length(&self) -> usize { method from_bytes (line 98) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { function bytesrepr_roundtrip_for_sustain (line 125) | fn bytesrepr_roundtrip_for_sustain() { function bytesrepr_roundtrip_for_standard (line 134) | fn bytesrepr_roundtrip_for_standard() { FILE: types/src/chainspec/transaction_config.rs constant DEFAULT_MIN_TRANSFER_MOTES (line 27) | pub const DEFAULT_MIN_TRANSFER_MOTES: u64 = 2_500_000_000; type TransactionConfig (line 34) | pub struct TransactionConfig { method random (line 66) | pub fn random(rng: &mut TestRng) -> Self { method default (line 93) | fn default() -> Self { method write_bytes (line 113) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method to_bytes (line 125) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 131) | fn serialized_length(&self) -> usize { method from_bytes (line 145) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function bytesrepr_roundtrip (line 176) | fn bytesrepr_roundtrip() { FILE: types/src/chainspec/transaction_config/deploy_config.rs constant DEFAULT_MAX_PAYMENT_MOTES (line 15) | pub const DEFAULT_MAX_PAYMENT_MOTES: u64 = 2_500_000_000; type DeployConfig (line 22) | pub struct DeployConfig { method random (line 34) | pub fn random(rng: &mut TestRng) -> Self { method default (line 49) | fn default() -> Self { method write_bytes (line 59) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method to_bytes (line 65) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 71) | fn serialized_length(&self) -> usize { method from_bytes (line 79) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function bytesrepr_roundtrip (line 97) | fn bytesrepr_roundtrip() { FILE: types/src/chainspec/transaction_config/runtime_config.rs type RuntimeConfig (line 14) | pub struct RuntimeConfig { method random (line 24) | pub fn random(rng: &mut TestRng) -> Self { method from_bytes (line 33) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), crate::bytesrepr::E... method to_bytes (line 47) | fn to_bytes(&self) -> Result, crate::bytesrepr::Error> { method serialized_length (line 53) | fn serialized_length(&self) -> usize { method write_bytes (line 57) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), crate::bytesre... FILE: types/src/chainspec/transaction_config/transaction_v1_config.rs constant DEFAULT_LARGE_TRANSACTION_GAS_LIMIT (line 23) | pub const DEFAULT_LARGE_TRANSACTION_GAS_LIMIT: u64 = 6_000_000_000_000; constant DEFAULT_NATIVE_MINT_LANE (line 25) | const DEFAULT_NATIVE_MINT_LANE: [u64; 5] = [0, 1_048_576, 1024, 2_500_00... constant DEFAULT_NATIVE_AUCTION_LANE (line 26) | const DEFAULT_NATIVE_AUCTION_LANE: [u64; 5] = [1, 1_048_576, 1024, 5_000... constant DEFAULT_INSTALL_UPGRADE_LANE (line 27) | const DEFAULT_INSTALL_UPGRADE_LANE: [u64; 5] = [2, 1_048_576, 2048, 3_50... constant TRANSACTION_ID_INDEX (line 29) | const TRANSACTION_ID_INDEX: usize = 0; constant TRANSACTION_LENGTH_INDEX (line 30) | const TRANSACTION_LENGTH_INDEX: usize = 1; constant TRANSACTION_ARGS_LENGTH_INDEX (line 31) | const TRANSACTION_ARGS_LENGTH_INDEX: usize = 2; constant TRANSACTION_GAS_LIMIT_INDEX (line 32) | const TRANSACTION_GAS_LIMIT_INDEX: usize = 3; constant TRANSACTION_COUNT_INDEX (line 33) | const TRANSACTION_COUNT_INDEX: usize = 4; type TransactionLaneDefinition (line 38) | pub struct TransactionLaneDefinition { type Error (line 68) | type Error = TransactionConfigError; method try_from (line 70) | fn try_from(v: Vec) -> Result { method new (line 87) | pub fn new( method as_vec (line 103) | fn as_vec(&self) -> Vec { method max_transaction_length (line 114) | pub fn max_transaction_length(&self) -> u64 { method max_transaction_args_length (line 119) | pub fn max_transaction_args_length(&self) -> u64 { method max_transaction_gas_limit (line 124) | pub fn max_transaction_gas_limit(&self) -> u64 { method max_transaction_count (line 129) | pub fn max_transaction_count(&self) -> u64 { method id (line 134) | pub fn id(&self) -> u8 { method set_id (line 138) | pub fn set_id(&mut self, id: u8) { method set_max_transaction_count (line 142) | pub fn set_max_transaction_count(&mut self, max_transaction_count: u64) { method set_max_transaction_gas_limit (line 146) | pub fn set_max_transaction_gas_limit(&mut self, max_transaction_gas_li... method set_max_transaction_args_length (line 150) | pub fn set_max_transaction_args_length(&mut self, max_transaction_args... method set_max_transaction_length (line 154) | pub fn set_max_transaction_length(&mut self, max_transaction_length: u... type TransactionConfigError (line 160) | pub enum TransactionConfigError { type TransactionV1Config (line 169) | pub struct TransactionV1Config { method new (line 233) | pub fn new( method random (line 261) | pub fn random(rng: &mut TestRng) -> Self { method get_max_serialized_length (line 286) | pub fn get_max_serialized_length(&self, lane_id: u8) -> u64 { method get_max_args_length (line 299) | pub fn get_max_args_length(&self, lane_id: u8) -> u64 { method get_max_transaction_gas_limit (line 312) | pub fn get_max_transaction_gas_limit(&self, lane_id: u8) -> u64 { method get_max_transaction_count (line 325) | pub fn get_max_transaction_count(&self, lane_id: u8) -> u64 { method get_max_wasm_transaction_count (line 338) | pub fn get_max_wasm_transaction_count(&self) -> u64 { method is_supported (line 347) | pub fn is_supported(&self, lane_id: u8) -> bool { method get_supported_lanes (line 355) | pub fn get_supported_lanes(&self) -> Vec { method with_count_limits (line 365) | pub fn with_count_limits( method get_max_block_count (line 396) | pub fn get_max_block_count(&self) -> u64 { method is_predefined_lane (line 408) | pub fn is_predefined_lane(&self, lane: u8) -> bool { method get_wasm_lane_id_by_size (line 414) | pub fn get_wasm_lane_id_by_size( method get_lane_by_id (line 442) | pub fn get_lane_by_id(&self, lane_id: u8) -> Option<&TransactionLaneDe... method get_wasm_lane_id_by_payment_limited (line 455) | pub fn get_wasm_lane_id_by_payment_limited( method get_wasm_lanes_ordered_by_transaction_size (line 481) | fn get_wasm_lanes_ordered_by_transaction_size(&self) -> &Vec &Vec { method build_wasm_lanes_ordered (line 506) | fn build_wasm_lanes_ordered( method build_wasm_lanes_ordered_by_transaction_size (line 521) | fn build_wasm_lanes_ordered_by_transaction_size( method wasm_lanes (line 529) | pub fn wasm_lanes(&self) -> &Vec { method set_wasm_lanes (line 534) | pub fn set_wasm_lanes(&mut self, wasm_lanes: Vec Option bool { method default (line 560) | fn default() -> Self { method write_bytes (line 586) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method to_bytes (line 598) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 604) | fn serialized_length(&self) -> usize { method from_bytes (line 618) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function vec_to_limit_definition (line 646) | fn vec_to_limit_definition<'de, D>(deserializer: D) -> Result( function definition_to_wasms (line 675) | fn definition_to_wasms<'de, D>(deserializer: D) -> Result( constant EXAMPLE_JSON (line 710) | const EXAMPLE_JSON: &str = r#"{ function bytesrepr_roundtrip (line 717) | fn bytesrepr_roundtrip() { function should_correctly_track_supported (line 724) | fn should_correctly_track_supported() { function should_get_configuration_for_wasm (line 734) | fn should_get_configuration_for_wasm() { function given_too_big_transaction_should_return_none (line 744) | fn given_too_big_transaction_should_return_none() { function given_wasm_should_return_first_fit (line 757) | fn given_wasm_should_return_first_fit() { function given_additional_computation_factor_should_be_applied (line 788) | fn given_additional_computation_factor_should_be_applied() { function given_additional_computation_factor_should_not_overflow (line 799) | fn given_additional_computation_factor_should_not_overflow() { function given_no_wasm_lanes_should_return_none (line 814) | fn given_no_wasm_lanes_should_return_none() { function given_wasm_when_by_payment_should_find_smallest_lane (line 828) | fn given_wasm_when_by_payment_should_find_smallest_lane() { function given_wasm_when_by_payment_should_take_size_into_consideration (line 846) | fn given_wasm_when_by_payment_should_take_size_into_consideration() { function given_wasm_when_by_payment_should_return_none_if_no_size_fits (line 862) | fn given_wasm_when_by_payment_should_return_none_if_no_size_fits() { function should_deserialize (line 880) | fn should_deserialize() { function should_serialize (line 896) | fn should_serialize() { function should_order_by_nested_predicates (line 914) | fn should_order_by_nested_predicates() { function example_native (line 990) | fn example_native() -> TransactionLaneDefinition { function example_auction (line 994) | fn example_auction() -> TransactionLaneDefinition { function example_install_upgrade (line 998) | fn example_install_upgrade() -> TransactionLaneDefinition { function wasm_small (line 1002) | fn wasm_small(id: u8) -> TransactionLaneDefinition { function wasm_medium (line 1006) | fn wasm_medium(id: u8) -> TransactionLaneDefinition { function wasm_large (line 1010) | fn wasm_large(id: u8) -> TransactionLaneDefinition { function example_wasm (line 1014) | fn example_wasm() -> Vec { function example_wasm_reversed_ids (line 1018) | fn example_wasm_reversed_ids() -> Vec { function build_example_transaction_config_no_wasms (line 1022) | fn build_example_transaction_config_no_wasms() -> TransactionV1Config { function build_example_transaction_config (line 1031) | fn build_example_transaction_config() -> TransactionV1Config { function build_example_transaction_config_reverse_wasm_ids (line 1040) | fn build_example_transaction_config_reverse_wasm_ids() -> TransactionV1C... FILE: types/src/chainspec/upgrade_config.rs type ProtocolUpgradeConfig (line 12) | pub struct ProtocolUpgradeConfig { method new (line 38) | pub fn new( method pre_state_hash (line 85) | pub fn pre_state_hash(&self) -> Digest { method current_protocol_version (line 90) | pub fn current_protocol_version(&self) -> ProtocolVersion { method new_protocol_version (line 95) | pub fn new_protocol_version(&self) -> ProtocolVersion { method activation_point (line 100) | pub fn activation_point(&self) -> Option { method new_gas_hold_handling (line 105) | pub fn new_gas_hold_handling(&self) -> Option { method new_gas_hold_interval (line 110) | pub fn new_gas_hold_interval(&self) -> Option { method new_validator_slots (line 115) | pub fn new_validator_slots(&self) -> Option { method new_auction_delay (line 120) | pub fn new_auction_delay(&self) -> Option { method new_locked_funds_period_millis (line 125) | pub fn new_locked_funds_period_millis(&self) -> Option { method new_round_seigniorage_rate (line 130) | pub fn new_round_seigniorage_rate(&self) -> Option> { method new_unbonding_delay (line 135) | pub fn new_unbonding_delay(&self) -> Option { method global_state_update (line 140) | pub fn global_state_update(&self) -> &BTreeMap { method chainspec_registry (line 145) | pub fn chainspec_registry(&self) -> &ChainspecRegistry { method with_pre_state_hash (line 150) | pub fn with_pre_state_hash(&mut self, pre_state_hash: Digest) { method fee_handling (line 155) | pub fn fee_handling(&self) -> FeeHandling { method validator_minimum_bid_amount (line 160) | pub fn validator_minimum_bid_amount(&self) -> u64 { method maximum_delegation_amount (line 165) | pub fn maximum_delegation_amount(&self) -> u64 { method minimum_delegation_amount (line 170) | pub fn minimum_delegation_amount(&self) -> u64 { method enable_addressable_entity (line 174) | pub fn enable_addressable_entity(&self) -> bool { method rewards_handling (line 178) | pub fn rewards_handling(&self) -> RewardsHandling { method new_minimum_delegation_rate (line 183) | pub fn new_minimum_delegation_rate(&self) -> Option { FILE: types/src/chainspec/vacancy_config.rs type VacancyConfig (line 17) | pub struct VacancyConfig { method random (line 42) | pub fn random(rng: &mut TestRng) -> Self { method default (line 29) | fn default() -> Self { method write_bytes (line 53) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), Error> { method to_bytes (line 59) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 64) | fn serialized_length(&self) -> usize { method from_bytes (line 73) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { function bytesrepr_roundtrip (line 95) | fn bytesrepr_roundtrip() { FILE: types/src/chainspec/vm_config/auction_costs.rs constant DEFAULT_GET_ERA_VALIDATORS_COST (line 14) | pub const DEFAULT_GET_ERA_VALIDATORS_COST: u64 = 2_500_000_000; constant DEFAULT_READ_SEIGNIORAGE_RECIPIENTS_COST (line 16) | pub const DEFAULT_READ_SEIGNIORAGE_RECIPIENTS_COST: u64 = 5_000_000_000; constant DEFAULT_ADD_BID_COST (line 18) | pub const DEFAULT_ADD_BID_COST: u64 = 2_500_000_000; constant DEFAULT_WITHDRAW_BID_COST (line 20) | pub const DEFAULT_WITHDRAW_BID_COST: u64 = 2_500_000_000; constant DEFAULT_DELEGATE_COST (line 22) | pub const DEFAULT_DELEGATE_COST: u64 = DEFAULT_WITHDRAW_BID_COST; constant DEFAULT_REDELEGATE_COST (line 24) | pub const DEFAULT_REDELEGATE_COST: u64 = DEFAULT_WITHDRAW_BID_COST; constant DEFAULT_UNDELEGATE_COST (line 26) | pub const DEFAULT_UNDELEGATE_COST: u64 = DEFAULT_WITHDRAW_BID_COST; constant DEFAULT_RUN_AUCTION_COST (line 28) | pub const DEFAULT_RUN_AUCTION_COST: u64 = 2_500_000_000; constant DEFAULT_SLASH_COST (line 30) | pub const DEFAULT_SLASH_COST: u64 = 2_500_000_000; constant DEFAULT_DISTRIBUTE_COST (line 32) | pub const DEFAULT_DISTRIBUTE_COST: u64 = 2_500_000_000; constant DEFAULT_WITHDRAW_DELEGATOR_REWARD_COST (line 34) | pub const DEFAULT_WITHDRAW_DELEGATOR_REWARD_COST: u64 = 5_000_000_000; constant DEFAULT_WITHDRAW_VALIDATOR_REWARD_COST (line 36) | pub const DEFAULT_WITHDRAW_VALIDATOR_REWARD_COST: u64 = 5_000_000_000; constant DEFAULT_READ_ERA_ID_COST (line 38) | pub const DEFAULT_READ_ERA_ID_COST: u64 = 2_500_000_000; constant DEFAULT_ACTIVATE_BID_COST (line 40) | pub const DEFAULT_ACTIVATE_BID_COST: u64 = 2_500_000_000; constant DEFAULT_CHANGE_BID_PUBLIC_KEY_COST (line 42) | pub const DEFAULT_CHANGE_BID_PUBLIC_KEY_COST: u64 = 5_000_000_000; constant DEFAULT_ADD_RESERVATIONS_COST (line 44) | pub const DEFAULT_ADD_RESERVATIONS_COST: u64 = DEFAULT_WITHDRAW_BID_COST; constant DEFAULT_CANCEL_RESERVATIONS_COST (line 46) | pub const DEFAULT_CANCEL_RESERVATIONS_COST: u64 = DEFAULT_WITHDRAW_BID_C... type AuctionCosts (line 52) | pub struct AuctionCosts { method default (line 90) | fn default() -> Self { method to_bytes (line 114) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 158) | fn serialized_length(&self) -> usize { method from_bytes (line 200) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method sample (line 245) | fn sample(&self, rng: &mut R) -> AuctionCosts { FILE: types/src/chainspec/vm_config/chainspec_registry.rs type BytesreprChainspecRegistry (line 18) | type BytesreprChainspecRegistry = BTreeMap; type ChainspecRegistry (line 22) | pub struct ChainspecRegistry { constant CHAINSPEC_RAW_MAP_KEY (line 29) | const CHAINSPEC_RAW_MAP_KEY: &'static str = "chainspec_raw"; constant GENESIS_ACCOUNTS_RAW_MAP_KEY (line 30) | const GENESIS_ACCOUNTS_RAW_MAP_KEY: &'static str = "genesis_accounts_r... constant GLOBAL_STATE_RAW_MAP_KEY (line 31) | const GLOBAL_STATE_RAW_MAP_KEY: &'static str = "global_state_raw"; method new_with_genesis (line 34) | pub fn new_with_genesis( method new_with_optional_global_state (line 46) | pub fn new_with_optional_global_state( method chainspec_raw_hash (line 58) | pub fn chainspec_raw_hash(&self) -> &Digest { method genesis_accounts_raw_hash (line 63) | pub fn genesis_accounts_raw_hash(&self) -> Option<&Digest> { method global_state_raw_hash (line 68) | pub fn global_state_raw_hash(&self) -> Option<&Digest> { method as_map (line 72) | fn as_map(&self) -> BytesreprChainspecRegistry { type Error (line 95) | type Error = bytesrepr::Error; method try_from (line 97) | fn try_from(map: BytesreprChainspecRegistry) -> Result Result, bytesrepr::Error> { method serialized_length (line 116) | fn serialized_length(&self) -> usize { method from_bytes (line 122) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method cl_type (line 130) | fn cl_type() -> CLType { method sample (line 137) | fn sample(&self, rng: &mut R) -> ChainspecRegistry { function bytesrepr_roundtrip (line 153) | fn bytesrepr_roundtrip() { FILE: types/src/chainspec/vm_config/handle_payment_costs.rs constant DEFAULT_GET_PAYMENT_PURSE_COST (line 14) | pub const DEFAULT_GET_PAYMENT_PURSE_COST: u32 = 10_000; constant DEFAULT_SET_REFUND_PURSE_COST (line 16) | pub const DEFAULT_SET_REFUND_PURSE_COST: u32 = 10_000; constant DEFAULT_GET_REFUND_PURSE_COST (line 18) | pub const DEFAULT_GET_REFUND_PURSE_COST: u32 = 10_000; constant DEFAULT_FINALIZE_PAYMENT_COST (line 20) | pub const DEFAULT_FINALIZE_PAYMENT_COST: u32 = 2_500_000_000; type HandlePaymentCosts (line 26) | pub struct HandlePaymentCosts { method default (line 38) | fn default() -> Self { method to_bytes (line 49) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 60) | fn serialized_length(&self) -> usize { method from_bytes (line 69) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method sample (line 89) | fn sample(&self, rng: &mut R) -> HandlePaymentCosts { FILE: types/src/chainspec/vm_config/host_function_costs.rs type Cost (line 17) | pub type Cost = u32; constant COST_SERIALIZED_LENGTH (line 19) | const COST_SERIALIZED_LENGTH: usize = U32_SERIALIZED_LENGTH; constant NOT_USED (line 22) | const NOT_USED: Cost = 0; constant DEFAULT_FIXED_COST (line 25) | const DEFAULT_FIXED_COST: Cost = 200; constant DEFAULT_ADD_COST (line 27) | const DEFAULT_ADD_COST: u32 = 5_800; constant DEFAULT_ADD_ASSOCIATED_KEY_COST (line 28) | const DEFAULT_ADD_ASSOCIATED_KEY_COST: u32 = 1_200_000; constant DEFAULT_CALL_CONTRACT_COST (line 30) | const DEFAULT_CALL_CONTRACT_COST: u32 = 300_000_000; constant DEFAULT_CREATE_PURSE_COST (line 32) | const DEFAULT_CREATE_PURSE_COST: u32 = 2_500_000_000; constant DEFAULT_GET_BALANCE_COST (line 33) | const DEFAULT_GET_BALANCE_COST: u32 = 3_000_000; constant DEFAULT_GET_BLOCKTIME_COST (line 34) | const DEFAULT_GET_BLOCKTIME_COST: u32 = 330; constant DEFAULT_GET_CALLER_COST (line 35) | const DEFAULT_GET_CALLER_COST: u32 = 380; constant DEFAULT_GET_KEY_COST (line 36) | const DEFAULT_GET_KEY_COST: u32 = 2_000; constant DEFAULT_GET_KEY_NAME_SIZE_WEIGHT (line 37) | const DEFAULT_GET_KEY_NAME_SIZE_WEIGHT: u32 = 440; constant DEFAULT_GET_MAIN_PURSE_COST (line 38) | const DEFAULT_GET_MAIN_PURSE_COST: u32 = 1_300; constant DEFAULT_GET_PHASE_COST (line 39) | const DEFAULT_GET_PHASE_COST: u32 = 710; constant DEFAULT_GET_SYSTEM_CONTRACT_COST (line 40) | const DEFAULT_GET_SYSTEM_CONTRACT_COST: u32 = 1_100; constant DEFAULT_HAS_KEY_COST (line 41) | const DEFAULT_HAS_KEY_COST: u32 = 1_500; constant DEFAULT_HAS_KEY_NAME_SIZE_WEIGHT (line 42) | const DEFAULT_HAS_KEY_NAME_SIZE_WEIGHT: u32 = 840; constant DEFAULT_IS_VALID_UREF_COST (line 43) | const DEFAULT_IS_VALID_UREF_COST: u32 = 760; constant DEFAULT_LOAD_NAMED_KEYS_COST (line 44) | const DEFAULT_LOAD_NAMED_KEYS_COST: u32 = 42_000; constant DEFAULT_NEW_UREF_COST (line 45) | const DEFAULT_NEW_UREF_COST: u32 = 17_000; constant DEFAULT_NEW_UREF_VALUE_SIZE_WEIGHT (line 46) | const DEFAULT_NEW_UREF_VALUE_SIZE_WEIGHT: u32 = 590; constant DEFAULT_PRINT_COST (line 48) | const DEFAULT_PRINT_COST: u32 = 20_000; constant DEFAULT_PRINT_TEXT_SIZE_WEIGHT (line 49) | const DEFAULT_PRINT_TEXT_SIZE_WEIGHT: u32 = 4_600; constant DEFAULT_PUT_KEY_COST (line 51) | const DEFAULT_PUT_KEY_COST: u32 = 100_000_000; constant DEFAULT_PUT_KEY_NAME_SIZE_WEIGHT (line 52) | const DEFAULT_PUT_KEY_NAME_SIZE_WEIGHT: u32 = 120_000; constant DEFAULT_READ_HOST_BUFFER_COST (line 54) | const DEFAULT_READ_HOST_BUFFER_COST: u32 = 3_500; constant DEFAULT_READ_HOST_BUFFER_DEST_SIZE_WEIGHT (line 55) | const DEFAULT_READ_HOST_BUFFER_DEST_SIZE_WEIGHT: u32 = 310; constant DEFAULT_READ_VALUE_COST (line 57) | const DEFAULT_READ_VALUE_COST: u32 = 60_000; constant DEFAULT_DICTIONARY_GET_COST (line 58) | const DEFAULT_DICTIONARY_GET_COST: u32 = 5_500; constant DEFAULT_DICTIONARY_GET_KEY_SIZE_WEIGHT (line 59) | const DEFAULT_DICTIONARY_GET_KEY_SIZE_WEIGHT: u32 = 590; constant DEFAULT_REMOVE_ASSOCIATED_KEY_COST (line 61) | const DEFAULT_REMOVE_ASSOCIATED_KEY_COST: u32 = 4_200; constant DEFAULT_REMOVE_KEY_COST (line 63) | const DEFAULT_REMOVE_KEY_COST: u32 = 61_000; constant DEFAULT_REMOVE_KEY_NAME_SIZE_WEIGHT (line 64) | const DEFAULT_REMOVE_KEY_NAME_SIZE_WEIGHT: u32 = 3_200; constant DEFAULT_RET_COST (line 66) | const DEFAULT_RET_COST: u32 = 23_000; constant DEFAULT_RET_VALUE_SIZE_WEIGHT (line 67) | const DEFAULT_RET_VALUE_SIZE_WEIGHT: u32 = 420_000; constant DEFAULT_REVERT_COST (line 69) | const DEFAULT_REVERT_COST: u32 = 500; constant DEFAULT_SET_ACTION_THRESHOLD_COST (line 70) | const DEFAULT_SET_ACTION_THRESHOLD_COST: u32 = 74_000; constant DEFAULT_TRANSFER_FROM_PURSE_TO_ACCOUNT_COST (line 71) | const DEFAULT_TRANSFER_FROM_PURSE_TO_ACCOUNT_COST: u32 = 2_500_000_000; constant DEFAULT_TRANSFER_FROM_PURSE_TO_PURSE_COST (line 72) | const DEFAULT_TRANSFER_FROM_PURSE_TO_PURSE_COST: u32 = 82_000_000; constant DEFAULT_TRANSFER_TO_ACCOUNT_COST (line 73) | const DEFAULT_TRANSFER_TO_ACCOUNT_COST: u32 = 2_500_000_000; constant DEFAULT_UPDATE_ASSOCIATED_KEY_COST (line 74) | const DEFAULT_UPDATE_ASSOCIATED_KEY_COST: u32 = 4_200; constant DEFAULT_WRITE_COST (line 76) | const DEFAULT_WRITE_COST: u32 = 14_000; constant DEFAULT_WRITE_VALUE_SIZE_WEIGHT (line 77) | const DEFAULT_WRITE_VALUE_SIZE_WEIGHT: u32 = 980; constant DEFAULT_ARG_CHARGE (line 79) | const DEFAULT_ARG_CHARGE: u32 = 120_000; constant DEFAULT_DICTIONARY_PUT_COST (line 81) | const DEFAULT_DICTIONARY_PUT_COST: u32 = 9_500; constant DEFAULT_DICTIONARY_PUT_KEY_BYTES_SIZE_WEIGHT (line 82) | const DEFAULT_DICTIONARY_PUT_KEY_BYTES_SIZE_WEIGHT: u32 = 1_800; constant DEFAULT_DICTIONARY_PUT_VALUE_SIZE_WEIGHT (line 83) | const DEFAULT_DICTIONARY_PUT_VALUE_SIZE_WEIGHT: u32 = 520; constant DEFAULT_NEW_DICTIONARY_COST (line 86) | pub const DEFAULT_NEW_DICTIONARY_COST: u32 = DEFAULT_NEW_UREF_COST; constant DEFAULT_HOST_FUNCTION_NEW_DICTIONARY (line 90) | pub const DEFAULT_HOST_FUNCTION_NEW_DICTIONARY: HostFunction<[Cost; 1]> = constant DEFAULT_BLAKE2B_COST (line 92) | const DEFAULT_BLAKE2B_COST: u32 = 1_200_000; constant DEFAULT_COST_INCREASE_PER_MESSAGE_EMITTED (line 96) | pub const DEFAULT_COST_INCREASE_PER_MESSAGE_EMITTED: u32 = 50; constant DEFAULT_MESSAGE_TOPIC_NAME_SIZE_WEIGHT (line 98) | const DEFAULT_MESSAGE_TOPIC_NAME_SIZE_WEIGHT: u32 = 30_000; constant DEFAULT_MESSAGE_PAYLOAD_SIZE_WEIGHT (line 99) | const DEFAULT_MESSAGE_PAYLOAD_SIZE_WEIGHT: u32 = 120_000; constant DEFAULT_CONTRACT_VERSION_ARG_SIZE_WEIGHT (line 101) | const DEFAULT_CONTRACT_VERSION_ARG_SIZE_WEIGHT: u32 = 120_000; constant DEFAULT_GENERIC_HASH_COST (line 103) | const DEFAULT_GENERIC_HASH_COST: u32 = 1_200_000; constant DEFAULT_GENERIC_HASH_INPUT_COST (line 105) | const DEFAULT_GENERIC_HASH_INPUT_COST: u32 = 120_000; constant DEFAULT_RECOVER_SECP256K1_COST (line 107) | const DEFAULT_RECOVER_SECP256K1_COST: u32 = 1_300_000; constant DEFAULT_RECOVER_SECP256K1_SIZE_WEIGHT (line 108) | const DEFAULT_RECOVER_SECP256K1_SIZE_WEIGHT: u32 = 120_000; constant DEFAULT_VERIFY_SIGNATURE_COST (line 110) | const DEFAULT_VERIFY_SIGNATURE_COST: u32 = 1_300_000; constant DEFAULT_VERIFY_SIGNATURE_SIZE_WEIGHT (line 111) | const DEFAULT_VERIFY_SIGNATURE_SIZE_WEIGHT: u32 = 120_000; type HostFunction (line 120) | pub struct HostFunction { method default (line 131) | fn default() -> Self { function new (line 138) | pub const fn new(cost: Cost, arguments: T) -> Self { function with_new_static_cost (line 142) | pub fn with_new_static_cost(self, cost: Cost) -> Self { function cost (line 150) | pub fn cost(&self) -> Cost { function fixed (line 160) | pub fn fixed(cost: Cost) -> Self { function arguments (line 173) | pub fn arguments(&self) -> &[Cost] { function calculate_gas_cost (line 178) | pub fn calculate_gas_cost(&self, weights: T) -> Option { type Output (line 191) | type Output = HostFunction<[Cost; COUNT]>; method add (line 193) | fn add(self, rhs: Self) -> Self::Output { method zero (line 203) | fn zero() -> Self { method is_zero (line 207) | fn is_zero(&self) -> bool { method sample (line 217) | fn sample(&self, rng: &mut R) -> HostFunction { method to_bytes (line 228) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 237) | fn serialized_length(&self) -> usize { method from_bytes (line 246) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { type HostFunctionCostsV1 (line 263) | pub struct HostFunctionCostsV1 { method zero (line 375) | fn zero() -> Self { method is_zero (line 434) | fn is_zero(&self) -> bool { method default (line 549) | fn default() -> Self { method to_bytes (line 816) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 875) | fn serialized_length(&self) -> usize { method from_bytes (line 938) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method sample (line 1057) | fn sample(&self, rng: &mut R) -> HostFunctionCostsV1 { function host_function_cost_arb (line 1125) | pub fn host_function_cost_arb() -> impl Strategy { method default (line 41) | fn default() -> Self { function new (line 51) | pub const fn new(cost: Cost, arguments: T) -> Self { function with_new_static_cost (line 55) | pub fn with_new_static_cost(self, cost: Cost) -> Self { function cost (line 63) | pub fn cost(&self) -> Cost { function fixed (line 73) | pub fn fixed(cost: Cost) -> Self { function zero (line 80) | pub fn zero() -> Self { function arguments (line 93) | pub fn arguments(&self) -> &[Cost] { function calculate_gas_cost (line 98) | pub fn calculate_gas_cost(&self, weights: T) -> Option { method sample (line 116) | fn sample(&self, rng: &mut R) -> HostFunctionV2 { method to_bytes (line 131) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 140) | fn serialized_length(&self) -> usize { method from_bytes (line 149) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { constant NOT_USED (line 162) | const NOT_USED: Cost = 0; constant DEFAULT_FIXED_COST (line 165) | const DEFAULT_FIXED_COST: Cost = 200; constant DEFAULT_CALL_COST (line 167) | const DEFAULT_CALL_COST: u64 = 10_000; constant DEFAULT_ENV_BALANCE_COST (line 168) | const DEFAULT_ENV_BALANCE_COST: u64 = 100; constant DEFAULT_PRINT_COST (line 170) | const DEFAULT_PRINT_COST: Cost = 100; constant DEFAULT_READ_COST (line 172) | const DEFAULT_READ_COST: Cost = 1_000; constant DEFAULT_READ_KEY_SIZE_WEIGHT (line 173) | const DEFAULT_READ_KEY_SIZE_WEIGHT: Cost = 100; constant DEFAULT_RET_COST (line 175) | const DEFAULT_RET_COST: Cost = 300; constant DEFAULT_RET_VALUE_SIZE_WEIGHT (line 176) | const DEFAULT_RET_VALUE_SIZE_WEIGHT: Cost = 100; constant DEFAULT_TRANSFER_COST (line 178) | const DEFAULT_TRANSFER_COST: Cost = 2_500_000_000; constant DEFAULT_WRITE_COST (line 180) | const DEFAULT_WRITE_COST: Cost = 25_000; constant DEFAULT_WRITE_SIZE_WEIGHT (line 181) | const DEFAULT_WRITE_SIZE_WEIGHT: Cost = 100_000; constant DEFAULT_REMOVE_COST (line 183) | const DEFAULT_REMOVE_COST: Cost = 15_000; constant DEFAULT_COPY_INPUT_COST (line 185) | const DEFAULT_COPY_INPUT_COST: Cost = 300; constant DEFAULT_COPY_INPUT_VALUE_SIZE_WEIGHT (line 186) | const DEFAULT_COPY_INPUT_VALUE_SIZE_WEIGHT: Cost = 0; constant DEFAULT_CREATE_COST (line 188) | const DEFAULT_CREATE_COST: Cost = 0; constant DEFAULT_CREATE_CODE_SIZE_WEIGHT (line 189) | const DEFAULT_CREATE_CODE_SIZE_WEIGHT: Cost = 0; constant DEFAULT_CREATE_ENTRYPOINT_SIZE_WEIGHT (line 190) | const DEFAULT_CREATE_ENTRYPOINT_SIZE_WEIGHT: Cost = 0; constant DEFAULT_CREATE_INPUT_SIZE_WEIGHT (line 191) | const DEFAULT_CREATE_INPUT_SIZE_WEIGHT: Cost = 0; constant DEFAULT_CREATE_SEED_SIZE_WEIGHT (line 192) | const DEFAULT_CREATE_SEED_SIZE_WEIGHT: Cost = 0; constant DEFAULT_EMIT_COST (line 194) | const DEFAULT_EMIT_COST: Cost = 200; constant DEFAULT_EMIT_TOPIC_SIZE_WEIGHT (line 195) | const DEFAULT_EMIT_TOPIC_SIZE_WEIGHT: Cost = 100; constant DEFAULT_EMIT_PAYLOAD_SIZE_HEIGHT (line 196) | const DEFAULT_EMIT_PAYLOAD_SIZE_HEIGHT: Cost = 100; constant DEFAULT_ENV_INFO_COST (line 198) | const DEFAULT_ENV_INFO_COST: Cost = 10_000; type HostFunctionCostsV2 (line 204) | pub struct HostFunctionCostsV2 { method zero (line 234) | pub fn zero() -> Self { method default (line 254) | fn default() -> Self { method to_bytes (line 327) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 345) | fn serialized_length(&self) -> usize { method from_bytes (line 363) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method sample (line 400) | fn sample(&self, rng: &mut R) -> HostFunctionCostsV2 { function host_function_cost_v2_arb (line 427) | pub fn host_function_cost_v2_arb( constant COST (line 474) | const COST: Cost = 42; constant ARGUMENT_COSTS (line 475) | const ARGUMENT_COSTS: [Cost; 3] = [123, 456, 789]; constant WEIGHTS (line 476) | const WEIGHTS: [u64; 3] = [1000, 1000, 1000]; function calculate_gas_cost_for_host_function (line 479) | fn calculate_gas_cost_for_host_function() { function calculate_gas_cost_would_overflow (line 492) | fn calculate_gas_cost_would_overflow() { function calculate_large_gas_cost (line 509) | fn calculate_large_gas_cost() { FILE: types/src/chainspec/vm_config/message_limits.rs type MessageLimits (line 16) | pub struct MessageLimits { method max_topics_per_contract (line 27) | pub fn max_topics_per_contract(&self) -> u32 { method max_topic_name_size (line 32) | pub fn max_topic_name_size(&self) -> u32 { method max_message_size (line 37) | pub fn max_message_size(&self) -> u32 { method default (line 43) | fn default() -> Self { method to_bytes (line 53) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 63) | fn serialized_length(&self) -> usize { method from_bytes (line 71) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method sample (line 89) | fn sample(&self, rng: &mut R) -> MessageLimits { FILE: types/src/chainspec/vm_config/mint_costs.rs constant DEFAULT_MINT_COST (line 14) | pub const DEFAULT_MINT_COST: u32 = 2_500_000_000; constant DEFAULT_REDUCE_TOTAL_SUPPLY_COST (line 16) | pub const DEFAULT_REDUCE_TOTAL_SUPPLY_COST: u32 = 2_500_000_000; constant DEFAULT_BURN_COST (line 18) | pub const DEFAULT_BURN_COST: u32 = 100_000_000; constant DEFAULT_CREATE_COST (line 20) | pub const DEFAULT_CREATE_COST: u32 = 2_500_000_000; constant DEFAULT_BALANCE_COST (line 22) | pub const DEFAULT_BALANCE_COST: u32 = 100_000_000; constant DEFAULT_TRANSFER_COST (line 24) | pub const DEFAULT_TRANSFER_COST: u32 = 100_000_000; constant DEFAULT_READ_BASE_ROUND_REWARD_COST (line 26) | pub const DEFAULT_READ_BASE_ROUND_REWARD_COST: u32 = 2_500_000_000; constant DEFAULT_MINT_INTO_EXISTING_PURSE_COST (line 28) | pub const DEFAULT_MINT_INTO_EXISTING_PURSE_COST: u32 = 2_500_000_000; type MintCosts (line 34) | pub struct MintCosts { method default (line 54) | fn default() -> Self { method to_bytes (line 69) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 95) | fn serialized_length(&self) -> usize { method from_bytes (line 119) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method sample (line 147) | fn sample(&self, rng: &mut R) -> MintCosts { FILE: types/src/chainspec/vm_config/opcode_costs.rs constant DEFAULT_BIT_COST (line 17) | pub const DEFAULT_BIT_COST: u32 = 105; constant DEFAULT_ADD_COST (line 19) | pub const DEFAULT_ADD_COST: u32 = 105; constant DEFAULT_MUL_COST (line 21) | pub const DEFAULT_MUL_COST: u32 = 105; constant DEFAULT_DIV_COST (line 23) | pub const DEFAULT_DIV_COST: u32 = 105; constant DEFAULT_LOAD_COST (line 25) | pub const DEFAULT_LOAD_COST: u32 = 105; constant DEFAULT_STORE_COST (line 27) | pub const DEFAULT_STORE_COST: u32 = 105; constant DEFAULT_CONST_COST (line 29) | pub const DEFAULT_CONST_COST: u32 = 105; constant DEFAULT_LOCAL_COST (line 31) | pub const DEFAULT_LOCAL_COST: u32 = 105; constant DEFAULT_GLOBAL_COST (line 33) | pub const DEFAULT_GLOBAL_COST: u32 = 105; constant DEFAULT_INTEGER_COMPARISON_COST (line 35) | pub const DEFAULT_INTEGER_COMPARISON_COST: u32 = 105; constant DEFAULT_CONVERSION_COST (line 37) | pub const DEFAULT_CONVERSION_COST: u32 = 105; constant DEFAULT_UNREACHABLE_COST (line 39) | pub const DEFAULT_UNREACHABLE_COST: u32 = 105; constant DEFAULT_NOP_COST (line 41) | pub const DEFAULT_NOP_COST: u32 = 105; constant DEFAULT_CURRENT_MEMORY_COST (line 43) | pub const DEFAULT_CURRENT_MEMORY_COST: u32 = 105; constant DEFAULT_GROW_MEMORY_COST (line 45) | pub const DEFAULT_GROW_MEMORY_COST: u32 = 900; constant DEFAULT_CONTROL_FLOW_BLOCK_OPCODE (line 47) | pub const DEFAULT_CONTROL_FLOW_BLOCK_OPCODE: u32 = 255; constant DEFAULT_CONTROL_FLOW_LOOP_OPCODE (line 49) | pub const DEFAULT_CONTROL_FLOW_LOOP_OPCODE: u32 = 255; constant DEFAULT_CONTROL_FLOW_IF_OPCODE (line 51) | pub const DEFAULT_CONTROL_FLOW_IF_OPCODE: u32 = 105; constant DEFAULT_CONTROL_FLOW_ELSE_OPCODE (line 53) | pub const DEFAULT_CONTROL_FLOW_ELSE_OPCODE: u32 = 105; constant DEFAULT_CONTROL_FLOW_END_OPCODE (line 55) | pub const DEFAULT_CONTROL_FLOW_END_OPCODE: u32 = 105; constant DEFAULT_CONTROL_FLOW_BR_OPCODE (line 57) | pub const DEFAULT_CONTROL_FLOW_BR_OPCODE: u32 = 1665; constant DEFAULT_CONTROL_FLOW_BR_IF_OPCODE (line 59) | pub const DEFAULT_CONTROL_FLOW_BR_IF_OPCODE: u32 = 510; constant DEFAULT_CONTROL_FLOW_RETURN_OPCODE (line 61) | pub const DEFAULT_CONTROL_FLOW_RETURN_OPCODE: u32 = 105; constant DEFAULT_CONTROL_FLOW_SELECT_OPCODE (line 63) | pub const DEFAULT_CONTROL_FLOW_SELECT_OPCODE: u32 = 105; constant DEFAULT_CONTROL_FLOW_CALL_OPCODE (line 65) | pub const DEFAULT_CONTROL_FLOW_CALL_OPCODE: u32 = 225; constant DEFAULT_CONTROL_FLOW_CALL_INDIRECT_OPCODE (line 67) | pub const DEFAULT_CONTROL_FLOW_CALL_INDIRECT_OPCODE: u32 = 270; constant DEFAULT_CONTROL_FLOW_DROP_OPCODE (line 69) | pub const DEFAULT_CONTROL_FLOW_DROP_OPCODE: u32 = 105; constant DEFAULT_CONTROL_FLOW_BR_TABLE_OPCODE (line 71) | pub const DEFAULT_CONTROL_FLOW_BR_TABLE_OPCODE: u32 = 150; constant DEFAULT_CONTROL_FLOW_BR_TABLE_MULTIPLIER (line 73) | pub const DEFAULT_CONTROL_FLOW_BR_TABLE_MULTIPLIER: u32 = 100; constant DEFAULT_SIGN_COST (line 75) | pub const DEFAULT_SIGN_COST: u32 = 105; type BrTableCost (line 88) | pub struct BrTableCost { method default (line 96) | fn default() -> Self { method sample (line 106) | fn sample(&self, rng: &mut R) -> BrTableCost { method to_bytes (line 115) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 129) | fn serialized_length(&self) -> usize { method from_bytes (line 140) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method zero (line 154) | fn zero() -> Self { method is_zero (line 161) | fn is_zero(&self) -> bool { type ControlFlowCosts (line 174) | pub struct ControlFlowCosts { method default (line 208) | fn default() -> Self { method to_bytes (line 228) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 263) | fn serialized_length(&self) -> usize { method from_bytes (line 296) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method sample (line 332) | fn sample(&self, rng: &mut R) -> ControlFlowCosts { method zero (line 352) | fn zero() -> Self { method is_zero (line 370) | fn is_zero(&self) -> bool { type OpcodeCosts (line 408) | pub struct OpcodeCosts { method default (line 447) | fn default() -> Self { method sample (line 472) | fn sample(&self, rng: &mut R) -> OpcodeCosts { method to_bytes (line 496) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 540) | fn serialized_length(&self) -> usize { method from_bytes (line 581) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method zero (line 624) | fn zero() -> Self { method is_zero (line 646) | fn is_zero(&self) -> bool { FILE: types/src/chainspec/vm_config/standard_payment_costs.rs constant DEFAULT_PAY_COST (line 14) | const DEFAULT_PAY_COST: u32 = 10_000; type StandardPaymentCosts (line 20) | pub struct StandardPaymentCosts { method default (line 26) | fn default() -> Self { method to_bytes (line 34) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 40) | fn serialized_length(&self) -> usize { method from_bytes (line 46) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method sample (line 54) | fn sample(&self, rng: &mut R) -> StandardPaymentCosts { FILE: types/src/chainspec/vm_config/storage_costs.rs constant DEFAULT_GAS_PER_BYTE_COST (line 19) | pub const DEFAULT_GAS_PER_BYTE_COST: u32 = 1_117_587; type StorageCosts (line 25) | pub struct StorageCosts { method new (line 32) | pub const fn new(gas_per_byte: u32) -> Self { method gas_per_byte (line 37) | pub fn gas_per_byte(&self) -> u32 { method calculate_gas_cost (line 42) | pub fn calculate_gas_cost(&self, bytes: usize) -> Gas { method default (line 49) | fn default() -> Self { method sample (line 58) | fn sample(&self, rng: &mut R) -> StorageCosts { method to_bytes (line 66) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 74) | fn serialized_length(&self) -> usize { method from_bytes (line 80) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method zero (line 88) | fn zero() -> Self { method is_zero (line 92) | fn is_zero(&self) -> bool { constant SMALL_WEIGHT (line 104) | const SMALL_WEIGHT: usize = 123456789; constant LARGE_WEIGHT (line 105) | const LARGE_WEIGHT: usize = usize::MAX; function should_calculate_gas_cost (line 108) | fn should_calculate_gas_cost() { function should_calculate_big_gas_cost (line 118) | fn should_calculate_big_gas_cost() { function storage_costs_arb (line 143) | pub(super) fn storage_costs_arb() -> impl Strategy { FILE: types/src/chainspec/vm_config/system_config.rs constant DEFAULT_NO_SUCH_ENTRYPOINT_COST (line 18) | pub const DEFAULT_NO_SUCH_ENTRYPOINT_COST: u64 = 2_500_000_000; type SystemConfig (line 27) | pub struct SystemConfig { method new (line 59) | pub fn new( method no_such_entrypoint (line 76) | pub fn no_such_entrypoint(&self) -> u64 { method auction_costs (line 81) | pub fn auction_costs(&self) -> &AuctionCosts { method mint_costs (line 86) | pub fn mint_costs(&self) -> &MintCosts { method with_mint_costs (line 91) | pub fn with_mint_costs(mut self, mint_costs: MintCosts) -> Self { method handle_payment_costs (line 97) | pub fn handle_payment_costs(&self) -> &HandlePaymentCosts { method standard_payment_costs (line 102) | pub fn standard_payment_costs(&self) -> &StandardPaymentCosts { method random (line 110) | pub fn random(rng: &mut TestRng) -> Self { method default (line 46) | fn default() -> Self { method sample (line 131) | fn sample(&self, rng: &mut R) -> SystemConfig { method to_bytes (line 143) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 155) | fn serialized_length(&self) -> usize { method from_bytes (line 165) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { FILE: types/src/chainspec/vm_config/wasm_config.rs type WasmConfig (line 25) | pub struct WasmConfig { method new (line 36) | pub const fn new(messages_limits: MessageLimits, v1: WasmV1Config, v2:... method messages_limits (line 45) | pub fn messages_limits(&self) -> MessageLimits { method v1 (line 50) | pub fn v1(&self) -> &WasmV1Config { method v1_mut (line 56) | pub fn v1_mut(&mut self) -> &mut WasmV1Config { method v2 (line 61) | pub fn v2(&self) -> &WasmV2Config { method v2_mut (line 67) | pub fn v2_mut(&mut self) -> &mut WasmV2Config { method to_bytes (line 73) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 81) | fn serialized_length(&self) -> usize { method from_bytes (line 89) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method sample (line 107) | fn sample(&self, rng: &mut R) -> WasmConfig { FILE: types/src/chainspec/vm_config/wasm_v1_config.rs constant DEFAULT_WASM_MAX_MEMORY (line 15) | pub const DEFAULT_WASM_MAX_MEMORY: u32 = 64; constant DEFAULT_MAX_STACK_HEIGHT (line 17) | pub const DEFAULT_MAX_STACK_HEIGHT: u32 = 500; type WasmV1Config (line 26) | pub struct WasmV1Config { method new (line 39) | pub fn new( method opcode_costs (line 54) | pub fn opcode_costs(&self) -> OpcodeCosts { method take_host_function_costs (line 59) | pub fn take_host_function_costs(self) -> HostFunctionCostsV1 { method max_memory (line 64) | pub fn max_memory(&self) -> u32 { method max_memory_mut (line 70) | pub fn max_memory_mut(&mut self) -> &mut u32 { method max_stack_height_mut (line 76) | pub fn max_stack_height_mut(&mut self) -> &mut u32 { method max_stack_height (line 81) | pub fn max_stack_height(&self) -> u32 { method default (line 87) | fn default() -> Self { method to_bytes (line 98) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 107) | fn serialized_length(&self) -> usize { method from_bytes (line 116) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method sample (line 135) | fn sample(&self, rng: &mut R) -> WasmV1Config { FILE: types/src/chainspec/vm_config/wasm_v2_config.rs constant DEFAULT_V2_WASM_MAX_MEMORY (line 17) | pub const DEFAULT_V2_WASM_MAX_MEMORY: u32 = 64; type WasmV2Config (line 26) | pub struct WasmV2Config { method new (line 37) | pub fn new( method opcode_costs (line 50) | pub fn opcode_costs(&self) -> OpcodeCosts { method host_function_costs (line 55) | pub fn host_function_costs(&self) -> &HostFunctionCostsV2 { method take_host_function_costs (line 60) | pub fn take_host_function_costs(self) -> HostFunctionCostsV2 { method max_memory (line 65) | pub fn max_memory(&self) -> u32 { method max_memory_mut (line 71) | pub fn max_memory_mut(&mut self) -> &mut u32 { method default (line 77) | fn default() -> Self { method to_bytes (line 87) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 95) | fn serialized_length(&self) -> usize { method from_bytes (line 103) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method sample (line 120) | fn sample(&self, rng: &mut R) -> WasmV2Config { FILE: types/src/checksummed_hex.rs constant SMALL_BYTES_COUNT (line 13) | pub const SMALL_BYTES_COUNT: usize = 75; constant HEX_CHARS (line 15) | const HEX_CHARS: [char; 22] = [ function bytes_to_nibbles (line 22) | fn bytes_to_nibbles<'a, T: 'a + AsRef<[u8]>>(input: &'a T) -> impl Itera... function bytes_to_bits_cycle (line 30) | fn bytes_to_bits_cycle(bytes: Vec) -> impl Iterator { function encode_iter (line 44) | fn encode_iter<'a, T: 'a + AsRef<[u8]>>(input: &'a T) -> impl Iterator>(s: T) -> bool { function decode (line 93) | pub fn decode>(input: T) -> Result, base16::Decod... function should_decode_empty_input (line 130) | fn should_decode_empty_input() { function string_is_same_case_true_when_same_case (line 137) | fn string_is_same_case_true_when_same_case() { function string_is_same_case_false_when_mixed_case (line 146) | fn string_is_same_case_false_when_mixed_case() { function string_is_same_case_no_alphabetic_chars_in_string (line 152) | fn string_is_same_case_no_alphabetic_chars_in_string() { function should_checksum_decode_only_if_small (line 158) | fn should_checksum_decode_only_if_small() { function hex_roundtrip (line 170) | fn hex_roundtrip(input: Vec) { function hex_roundtrip_sanity (line 220) | fn hex_roundtrip_sanity(input: Vec) { function is_same_case_uppercase (line 225) | fn is_same_case_uppercase(input: String) { function is_same_case_lowercase (line 231) | fn is_same_case_lowercase(input: String) { function is_not_same_case (line 237) | fn is_not_same_case(input: String) { FILE: types/src/cl_type.rs constant CL_TYPE_RECURSION_DEPTH (line 22) | pub(crate) const CL_TYPE_RECURSION_DEPTH: u8 = 50; constant CL_TYPE_TAG_BOOL (line 24) | const CL_TYPE_TAG_BOOL: u8 = 0; constant CL_TYPE_TAG_I32 (line 25) | const CL_TYPE_TAG_I32: u8 = 1; constant CL_TYPE_TAG_I64 (line 26) | const CL_TYPE_TAG_I64: u8 = 2; constant CL_TYPE_TAG_U8 (line 27) | const CL_TYPE_TAG_U8: u8 = 3; constant CL_TYPE_TAG_U32 (line 28) | const CL_TYPE_TAG_U32: u8 = 4; constant CL_TYPE_TAG_U64 (line 29) | const CL_TYPE_TAG_U64: u8 = 5; constant CL_TYPE_TAG_U128 (line 30) | const CL_TYPE_TAG_U128: u8 = 6; constant CL_TYPE_TAG_U256 (line 31) | const CL_TYPE_TAG_U256: u8 = 7; constant CL_TYPE_TAG_U512 (line 32) | const CL_TYPE_TAG_U512: u8 = 8; constant CL_TYPE_TAG_UNIT (line 33) | const CL_TYPE_TAG_UNIT: u8 = 9; constant CL_TYPE_TAG_STRING (line 34) | const CL_TYPE_TAG_STRING: u8 = 10; constant CL_TYPE_TAG_KEY (line 35) | const CL_TYPE_TAG_KEY: u8 = 11; constant CL_TYPE_TAG_UREF (line 36) | const CL_TYPE_TAG_UREF: u8 = 12; constant CL_TYPE_TAG_OPTION (line 37) | const CL_TYPE_TAG_OPTION: u8 = 13; constant CL_TYPE_TAG_LIST (line 38) | const CL_TYPE_TAG_LIST: u8 = 14; constant CL_TYPE_TAG_BYTE_ARRAY (line 39) | const CL_TYPE_TAG_BYTE_ARRAY: u8 = 15; constant CL_TYPE_TAG_RESULT (line 40) | const CL_TYPE_TAG_RESULT: u8 = 16; constant CL_TYPE_TAG_MAP (line 41) | const CL_TYPE_TAG_MAP: u8 = 17; constant CL_TYPE_TAG_TUPLE1 (line 42) | const CL_TYPE_TAG_TUPLE1: u8 = 18; constant CL_TYPE_TAG_TUPLE2 (line 43) | const CL_TYPE_TAG_TUPLE2: u8 = 19; constant CL_TYPE_TAG_TUPLE3 (line 44) | const CL_TYPE_TAG_TUPLE3: u8 = 20; constant CL_TYPE_TAG_ANY (line 45) | const CL_TYPE_TAG_ANY: u8 = 21; constant CL_TYPE_TAG_PUBLIC_KEY (line 46) | const CL_TYPE_TAG_PUBLIC_KEY: u8 = 22; type CLType (line 55) | pub enum CLType { method serialized_length (line 118) | pub fn serialized_length(&self) -> usize { method is_option (line 147) | pub fn is_option(&self) -> bool { method map (line 152) | pub fn map(key: CLType, value: CLType) -> Self { method append_bytes (line 166) | pub(crate) fn append_bytes(&self, stream: &mut Vec) -> Result<(), ... function named_key_type (line 161) | pub fn named_key_type() -> CLType { method fmt (line 220) | fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result { method from_bytes (line 250) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function depth_limited_from_bytes (line 255) | fn depth_limited_from_bytes(depth: u8, bytes: &[u8]) -> Result<(CLType, ... function serialize_cl_tuple_type (line 342) | fn serialize_cl_tuple_type<'a, T: IntoIterator>>( function parse_cl_tuple_types (line 354) | fn parse_cl_tuple_types( function serialized_length_of_cl_tuple_type (line 369) | fn serialized_length_of_cl_tuple_type<'a, T: IntoIterator CLType; method cl_type (line 385) | fn cl_type() -> CLType { method cl_type (line 391) | fn cl_type() -> CLType { method cl_type (line 397) | fn cl_type() -> CLType { method cl_type (line 403) | fn cl_type() -> CLType { method cl_type (line 409) | fn cl_type() -> CLType { method cl_type (line 415) | fn cl_type() -> CLType { method cl_type (line 421) | fn cl_type() -> CLType { method cl_type (line 427) | fn cl_type() -> CLType { method cl_type (line 433) | fn cl_type() -> CLType { method cl_type (line 439) | fn cl_type() -> CLType { method cl_type (line 445) | fn cl_type() -> CLType { method cl_type (line 451) | fn cl_type() -> CLType { method cl_type (line 457) | fn cl_type() -> CLType { method cl_type (line 463) | fn cl_type() -> CLType { method cl_type (line 469) | fn cl_type() -> CLType { method cl_type (line 475) | fn cl_type() -> CLType { method cl_type (line 481) | fn cl_type() -> CLType { method cl_type (line 487) | fn cl_type() -> CLType { method cl_type (line 493) | fn cl_type() -> CLType { method cl_type (line 499) | fn cl_type() -> CLType { method cl_type (line 507) | fn cl_type() -> CLType { method cl_type (line 515) | fn cl_type() -> CLType { method cl_type (line 521) | fn cl_type() -> CLType { method cl_type (line 527) | fn cl_type() -> CLType { method cl_type (line 537) | fn cl_type() -> CLType { function round_trip (line 552) | fn round_trip(valu... function bool_should_work (line 565) | fn bool_should_work() { function u8_should_work (line 571) | fn u8_should_work() { function u32_should_work (line 576) | fn u32_should_work() { function i32_should_work (line 581) | fn i32_should_work() { function u64_should_work (line 586) | fn u64_should_work() { function i64_should_work (line 591) | fn i64_should_work() { function u128_should_work (line 596) | fn u128_should_work() { function u256_should_work (line 601) | fn u256_should_work() { function u512_should_work (line 606) | fn u512_should_work() { function unit_should_work (line 611) | fn unit_should_work() { function string_should_work (line 616) | fn string_should_work() { function key_should_work (line 621) | fn key_should_work() { function uref_should_work (line 627) | fn uref_should_work() { function option_of_cl_type_should_work (line 633) | fn option_of_cl_type_should_work() { function vec_of_cl_type_should_work (line 642) | fn vec_of_cl_type_should_work() { function small_array_of_u8_should_work (line 649) | fn small_array_of_u8_should_work() { function large_array_of_cl_type_should_work (line 671) | fn large_array_of_cl_type_should_work() { function result_of_cl_type_should_work (line 701) | fn result_of_cl_type_should_work() { function map_of_cl_type_should_work (line 710) | fn map_of_cl_type_should_work() { function tuple_1_should_work (line 719) | fn tuple_1_should_work() { function tuple_2_should_work (line 726) | fn tuple_2_should_work() { function tuple_3_should_work (line 733) | fn tuple_3_should_work() { function parsing_nested_tuple_1_cltype_should_not_stack_overflow (line 740) | fn parsing_nested_tuple_1_cltype_should_not_stack_overflow() { function parsing_nested_tuple_1_value_should_not_stack_overflow (line 758) | fn parsing_nested_tuple_1_value_should_not_stack_overflow() { function any_should_work (line 779) | fn any_should_work() { function should_have_cltype_of_ref_to_cltyped (line 811) | fn should_have_cltype_of_ref_to_cltyped() { FILE: types/src/cl_value.rs type CLTypeMismatch (line 31) | pub struct CLTypeMismatch { method fmt (line 40) | fn fmt(&self, f: &mut Formatter) -> fmt::Result { type CLValueError (line 52) | pub enum CLValueError { method from (line 60) | fn from(error: bytesrepr::Error) -> Self { method fmt (line 66) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { type CLValue (line 80) | pub struct CLValue { method from_t (line 87) | pub fn from_t(t: T) -> Result(&self) -> Result { method into_t (line 111) | pub fn into_t(self) -> Result { method unit (line 125) | pub fn unit() -> Self { method from_components (line 132) | pub fn from_components(cl_type: CLType, bytes: Vec) -> Self { method destructure (line 142) | pub fn destructure(self) -> (CLType, Bytes) { method cl_type (line 147) | pub fn cl_type(&self) -> &CLType { method inner_bytes (line 152) | pub fn inner_bytes(&self) -> &Vec { method serialized_length (line 159) | pub fn serialized_length(&self) -> usize { method deserialize (line 242) | fn deserialize>(deserializer: D) -> Result Result, bytesrepr::Error> { method into_bytes (line 169) | fn into_bytes(self) -> Result, bytesrepr::Error> { method serialized_length (line 175) | fn serialized_length(&self) -> usize { method write_bytes (line 179) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 187) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method schema_name (line 198) | fn schema_name() -> String { method json_schema (line 202) | fn json_schema(gen: &mut SchemaGenerator) -> Schema { type CLValueJson (line 218) | struct CLValueJson { method serialize (line 226) | fn serialize(&self, serializer: S) -> Result(value: T, expected: &... function bool_cl_value_should_encode_to_json (line 323) | fn bool_cl_value_should_encode_to_json() { function i32_cl_value_should_encode_to_json (line 329) | fn i32_cl_value_should_encode_to_json() { function i64_cl_value_should_encode_to_json (line 336) | fn i64_cl_value_should_encode_to_json() { function u8_cl_value_should_encode_to_json (line 349) | fn u8_cl_value_should_encode_to_json() { function u32_cl_value_should_encode_to_json (line 355) | fn u32_cl_value_should_encode_to_json() { function u64_cl_value_should_encode_to_json (line 361) | fn u64_cl_value_should_encode_to_json() { function u128_cl_value_should_encode_to_json (line 370) | fn u128_cl_value_should_encode_to_json() { function u256_cl_value_should_encode_to_json (line 379) | fn u256_cl_value_should_encode_to_json() { function u512_cl_value_should_encode_to_json (line 388) | fn u512_cl_value_should_encode_to_json() { function unit_cl_value_should_encode_to_json (line 397) | fn unit_cl_value_should_encode_to_json() { function string_cl_value_should_encode_to_json (line 402) | fn string_cl_value_should_encode_to_json() { function key_cl_value_should_encode_to_json (line 411) | fn key_cl_value_should_encode_to_json() { function uref_cl_value_should_encode_to_json (line 444) | fn uref_cl_value_should_encode_to_json() { function public_key_cl_value_should_encode_to_json (line 453) | fn public_key_cl_value_should_encode_to_json() { function bool_cl_value_should_encode_to_json (line 474) | fn bool_cl_value_should_encode_to_json() { function i32_cl_value_should_encode_to_json (line 487) | fn i32_cl_value_should_encode_to_json() { function i64_cl_value_should_encode_to_json (line 504) | fn i64_cl_value_should_encode_to_json() { function u8_cl_value_should_encode_to_json (line 521) | fn u8_cl_value_should_encode_to_json() { function u32_cl_value_should_encode_to_json (line 531) | fn u32_cl_value_should_encode_to_json() { function u64_cl_value_should_encode_to_json (line 544) | fn u64_cl_value_should_encode_to_json() { function u128_cl_value_should_encode_to_json (line 557) | fn u128_cl_value_should_encode_to_json() { function u256_cl_value_should_encode_to_json (line 573) | fn u256_cl_value_should_encode_to_json() { function u512_cl_value_should_encode_to_json (line 589) | fn u512_cl_value_should_encode_to_json() { function unit_cl_value_should_encode_to_json (line 605) | fn unit_cl_value_should_encode_to_json() { function string_cl_value_should_encode_to_json (line 614) | fn string_cl_value_should_encode_to_json() { function key_cl_value_should_encode_to_json (line 630) | fn key_cl_value_should_encode_to_json() { function uref_cl_value_should_encode_to_json (line 668) | fn uref_cl_value_should_encode_to_json() { function public_key_cl_value_should_encode_to_json (line 681) | fn public_key_cl_value_should_encode_to_json() { function bool_cl_value_should_encode_to_json (line 706) | fn bool_cl_value_should_encode_to_json() { function i32_cl_value_should_encode_to_json (line 742) | fn i32_cl_value_should_encode_to_json() { function i64_cl_value_should_encode_to_json (line 778) | fn i64_cl_value_should_encode_to_json() { function u8_cl_value_should_encode_to_json (line 814) | fn u8_cl_value_should_encode_to_json() { function u32_cl_value_should_encode_to_json (line 850) | fn u32_cl_value_should_encode_to_json() { function u64_cl_value_should_encode_to_json (line 886) | fn u64_cl_value_should_encode_to_json() { function u128_cl_value_should_encode_to_json (line 922) | fn u128_cl_value_should_encode_to_json() { function u256_cl_value_should_encode_to_json (line 958) | fn u256_cl_value_should_encode_to_json() { function u512_cl_value_should_encode_to_json (line 994) | fn u512_cl_value_should_encode_to_json() { function unit_cl_value_should_encode_to_json (line 1030) | fn unit_cl_value_should_encode_to_json() { function string_cl_value_should_encode_to_json (line 1066) | fn string_cl_value_should_encode_to_json() { function key_cl_value_should_encode_to_json (line 1102) | fn key_cl_value_should_encode_to_json() { function uref_cl_value_should_encode_to_json (line 1139) | fn uref_cl_value_should_encode_to_json() { function public_key_cl_value_should_encode_to_json (line 1176) | fn public_key_cl_value_should_encode_to_json() { FILE: types/src/cl_value/checksum_registry.rs type ChecksumRegistry (line 18) | pub struct ChecksumRegistry(BTreeMap); method new (line 22) | pub fn new() -> Self { method insert (line 27) | pub fn insert(&mut self, checksum_name: &str, checksum: Digest) { method get (line 32) | pub fn get(&self, checksum_name: &str) -> Option<&Digest> { method to_bytes (line 38) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 42) | fn serialized_length(&self) -> usize { method from_bytes (line 48) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method cl_type (line 55) | fn cl_type() -> CLType { function bytesrepr_roundtrip (line 65) | fn bytesrepr_roundtrip() { FILE: types/src/cl_value/dictionary.rs type DictionaryValue (line 14) | pub struct DictionaryValue { method new (line 25) | pub fn new( method into_cl_value (line 38) | pub fn into_cl_value(self) -> CLValue { method cl_type (line 44) | fn cl_type() -> CLType { method from_bytes (line 50) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method to_bytes (line 64) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 72) | fn serialized_length(&self) -> usize { method write_bytes (line 78) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... function handle_stored_dictionary_value (line 91) | pub fn handle_stored_dictionary_value( FILE: types/src/cl_value/jsonrepr.rs function cl_value_to_json (line 13) | pub fn cl_value_to_json(cl_value: &CLValue) -> Option { function depth_limited_to_json (line 25) | fn depth_limited_to_json<'a>( function simple_type_to_json (line 117) | fn simple_type_to_json(bytes: &[u8]) -> Option... function test_value (line 128) | fn test_value(value: T) { function list_of_ints_to_json_value (line 136) | fn list_of_ints_to_json_value() { function list_of_bools_to_json_value (line 142) | fn list_of_bools_to_json_value() { function list_of_string_to_json_value (line 147) | fn list_of_string_to_json_value() { function list_of_public_keys_to_json_value (line 152) | fn list_of_public_keys_to_json_value() { function list_of_list_of_public_keys_to_json_value (line 168) | fn list_of_list_of_public_keys_to_json_value() { function map_of_string_to_list_of_ints_to_json_value (line 188) | fn map_of_string_to_list_of_ints_to_json_value() { function option_some_of_lists_to_json_value (line 206) | fn option_some_of_lists_to_json_value() { function option_none_to_json_value (line 211) | fn option_none_to_json_value() { function bytes_to_json_value (line 216) | fn bytes_to_json_value() { function result_ok_to_json_value (line 225) | fn result_ok_to_json_value() { function result_error_to_json_value (line 230) | fn result_error_to_json_value() { function tuples_to_json_value (line 235) | fn tuples_to_json_value() { function json_encoding_nested_tuple_1_value_should_not_stack_overflow (line 246) | fn json_encoding_nested_tuple_1_value_should_not_stack_overflow() { FILE: types/src/cl_value/system_entity_registry.rs type SystemHashRegistry (line 17) | pub struct SystemHashRegistry(BTreeMap); method new (line 22) | pub fn new() -> Self { method insert (line 27) | pub fn insert(&mut self, contract_name: String, contract_hash: HashAdd... method get (line 32) | pub fn get(&self, contract_name: &str) -> Option<&HashAddr> { method exists (line 37) | pub fn exists(&self, hash_addr: &HashAddr) -> bool { method remove_standard_payment (line 44) | pub fn remove_standard_payment(&mut self) -> Option { method inner (line 48) | pub fn inner(self) -> BTreeMap { method to_bytes (line 54) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 58) | fn serialized_length(&self) -> usize { method from_bytes (line 64) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method cl_type (line 71) | fn cl_type() -> CLType { function bytesrepr_roundtrip (line 81) | fn bytesrepr_roundtrip() { function bytesrepr_transparent (line 88) | fn bytesrepr_transparent() { FILE: types/src/contract_messages.rs constant TOPIC_FORMATTED_STRING_PREFIX (line 32) | const TOPIC_FORMATTED_STRING_PREFIX: &str = "topic-"; constant MESSAGE_ADDR_PREFIX (line 33) | const MESSAGE_ADDR_PREFIX: &str = "message-"; type MessageAddr (line 39) | pub struct MessageAddr { method new_topic_addr (line 51) | pub const fn new_topic_addr(entity_addr: EntityAddr, topic_name_hash: ... method new_message_addr (line 61) | pub const fn new_message_addr( method to_formatted_string (line 74) | pub fn to_formatted_string(self) -> String { method from_formatted_str (line 98) | pub fn from_formatted_str(input: &str) -> Result { method entity_addr (line 130) | pub fn entity_addr(&self) -> EntityAddr { method topic_name_hash (line 135) | pub fn topic_name_hash(&self) -> TopicNameHash { method message_index (line 141) | pub fn message_index(&self) -> Option { method fmt (line 147) | fn fmt(&self, f: &mut Formatter<'_>) -> core::fmt::Result { method to_bytes (line 164) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 172) | fn serialized_length(&self) -> usize { method from_bytes (line 180) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method sample (line 197) | fn sample(&self, rng: &mut R) -> MessageAddr { function serialization_roundtrip (line 213) | fn serialization_roundtrip() { FILE: types/src/contract_messages/error.rs type FromStrError (line 12) | pub enum FromStrError { method from (line 32) | fn from(error: base16::DecodeError) -> Self { method from (line 38) | fn from(error: ParseIntError) -> Self { method from (line 44) | fn from(error: TryFromSliceError) -> Self { method fmt (line 50) | fn fmt(&self, f: &mut Formatter) -> fmt::Result { FILE: types/src/contract_messages/messages.rs type Messages (line 28) | pub type Messages = Vec; constant MESSAGE_CHECKSUM_LENGTH (line 31) | pub const MESSAGE_CHECKSUM_LENGTH: usize = 32; constant MESSAGE_CHECKSUM_STRING_PREFIX (line 33) | const MESSAGE_CHECKSUM_STRING_PREFIX: &str = "message-checksum-"; type MessageChecksum (line 44) | pub struct MessageChecksum( method value (line 51) | pub fn value(&self) -> [u8; MESSAGE_CHECKSUM_LENGTH] { method to_formatted_string (line 56) | pub fn to_formatted_string(self) -> String { method from_formatted_str (line 66) | pub fn from_formatted_str(input: &str) -> Result { method deserialize (line 107) | fn deserialize>(deserializer: D) -> Result Result, bytesrepr::Error> { method serialized_length (line 84) | fn serialized_length(&self) -> usize { method from_bytes (line 90) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method serialize (line 97) | fn serialize(&self, serializer: S) -> Result Self { method from (line 158) | fn from(value: T) -> Self { method from (line 164) | fn from(bytes: Bytes) -> Self { method to_bytes (line 170) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 185) | fn serialized_length(&self) -> usize { method from_bytes (line 195) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { type Message (line 215) | pub struct Message { method from (line 271) | fn from(message: NonHumanReadableMessage) -> Self { type Error (line 292) | type Error = MessageDeserializationError; method try_from (line 293) | fn try_from(message: HumanReadableMessage) -> Result { method deserialize (line 332) | fn deserialize>(deserializer: D) -> Result &EntityAddr { method payload (line 370) | pub fn payload(&self) -> &MessagePayload { method topic_name (line 375) | pub fn topic_name(&self) -> &str { method topic_name_hash (line 380) | pub fn topic_name_hash(&self) -> &TopicNameHash { method topic_index (line 385) | pub fn topic_index(&self) -> u32 { method block_index (line 390) | pub fn block_index(&self) -> u64 { method message_key (line 396) | pub fn message_key(&self) -> Key { method topic_key (line 403) | pub fn topic_key(&self) -> Key { method checksum (line 408) | pub fn checksum(&self) -> Result { method random (line 417) | pub fn random(rng: &mut TestRng) -> Self { type HumanReadableMessage (line 232) | struct HumanReadableMessage { method from (line 243) | fn from(message: &Message) -> Self { type MessageDeserializationError (line 285) | enum MessageDeserializationError { type NonHumanReadableMessage (line 310) | struct NonHumanReadableMessage { method from (line 257) | fn from(message: &Message) -> Self { method serialize (line 321) | fn serialize(&self, serializer: S) -> Result Result, bytesrepr::Error> { method serialized_length (line 442) | fn serialized_length(&self) -> usize { method from_bytes (line 453) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method sample (line 476) | fn sample(&self, rng: &mut R) -> Message { function serialization_roundtrip (line 499) | fn serialization_roundtrip() { function json_roundtrip (line 513) | fn json_roundtrip() { function message_json_roundtrip (line 523) | fn message_json_roundtrip() { FILE: types/src/contract_messages/topics.rs constant TOPIC_NAME_HASH_LENGTH (line 25) | pub const TOPIC_NAME_HASH_LENGTH: usize = 32; type TopicNameHash (line 35) | pub struct TopicNameHash( method new (line 42) | pub const fn new(topic_name_hash: [u8; TOPIC_NAME_HASH_LENGTH]) -> Top... method value (line 47) | pub fn value(&self) -> [u8; TOPIC_NAME_HASH_LENGTH] { method to_formatted_string (line 52) | pub fn to_formatted_string(self) -> String { method from_formatted_str (line 57) | pub fn from_formatted_str(input: &str) -> Result { method deserialize (line 94) | fn deserialize>(deserializer: D) -> Result Self { method to_bytes (line 65) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 71) | fn serialized_length(&self) -> usize { method from_bytes (line 77) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method serialize (line 84) | fn serialize(&self, serializer: S) -> Result) -> core::fmt::Result { method fmt (line 112) | fn fmt(&self, f: &mut Formatter) -> core::fmt::Result { method sample (line 119) | fn sample(&self, rng: &mut R) -> TopicNameHash { type MessageTopicSummary (line 134) | pub struct MessageTopicSummary { method new (line 145) | pub fn new(message_count: u32, blocktime: BlockTime, topic_name: Strin... method message_count (line 154) | pub fn message_count(&self) -> u32 { method blocktime (line 159) | pub fn blocktime(&self) -> BlockTime { method topic_name (line 164) | pub fn topic_name(&self) -> &str { method to_bytes (line 170) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 178) | fn serialized_length(&self) -> usize { method from_bytes (line 186) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { constant TOPIC_OPERATION_ADD_TAG (line 201) | const TOPIC_OPERATION_ADD_TAG: u8 = 0; constant OPERATION_MAX_SERIALIZED_LEN (line 202) | const OPERATION_MAX_SERIALIZED_LEN: usize = 1; type MessageTopicOperation (line 206) | pub enum MessageTopicOperation { method max_serialized_len (line 213) | pub const fn max_serialized_len() -> usize { method to_bytes (line 219) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 227) | fn serialized_length(&self) -> usize { method from_bytes (line 235) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function serialization_roundtrip (line 251) | fn serialization_roundtrip() { function json_roundtrip (line 264) | fn json_roundtrip() { FILE: types/src/contract_wasm.rs constant CONTRACT_WASM_MAX_DISPLAY_LEN (line 21) | const CONTRACT_WASM_MAX_DISPLAY_LEN: usize = 16; constant KEY_HASH_LENGTH (line 22) | const KEY_HASH_LENGTH: usize = 32; constant WASM_STRING_PREFIX (line 23) | const WASM_STRING_PREFIX: &str = "contract-wasm-"; type TryFromSliceForContractHashError (line 27) | pub struct TryFromSliceForContractHashError(()); type FromStrError (line 31) | pub enum FromStrError { method from (line 41) | fn from(error: base16::DecodeError) -> Self { method from (line 47) | fn from(error: TryFromSliceForAccountHashError) -> Self { method from (line 53) | fn from(error: TryFromSliceError) -> Self { method from (line 59) | fn from(error: account::FromStrError) -> Self { method from (line 65) | fn from(error: uref::FromStrError) -> Self { method fmt (line 71) | fn fmt(&self, f: &mut Formatter) -> fmt::Result { type ContractWasmHash (line 89) | pub struct ContractWasmHash(HashAddr); method new (line 93) | pub const fn new(value: HashAddr) -> ContractWasmHash { method value (line 98) | pub fn value(&self) -> HashAddr { method as_bytes (line 103) | pub fn as_bytes(&self) -> &[u8] { method to_formatted_string (line 108) | pub fn to_formatted_string(self) -> String { method from_formatted_str (line 114) | pub fn from_formatted_str(input: &str) -> Result { method from (line 173) | fn from(bytes: [u8; 32]) -> Self { method deserialize (line 189) | fn deserialize>(deserializer: D) -> Result &[u8] { type Error (line 207) | type Error = TryFromSliceForContractHashError; method try_from (line 209) | fn try_from(bytes: &[u8]) -> Result) -> Result { method default (line 124) | fn default() -> Self { method fmt (line 130) | fn fmt(&self, f: &mut Formatter<'_>) -> core::fmt::Result { method fmt (line 136) | fn fmt(&self, f: &mut Formatter) -> core::fmt::Result { method cl_type (line 142) | fn cl_type() -> CLType { method to_bytes (line 149) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 154) | fn serialized_length(&self) -> usize { method write_bytes (line 159) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), Error> { method from_bytes (line 166) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { method serialize (line 179) | fn serialize(&self, serializer: S) -> Result String { method json_schema (line 232) | fn json_schema(gen: &mut SchemaGenerator) -> Schema { type ContractWasm (line 245) | pub struct ContractWasm { method new (line 251) | pub fn new(bytes: Vec) -> Self { method take_bytes (line 257) | pub fn take_bytes(self) -> Vec { method fmt (line 263) | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { method to_bytes (line 277) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 281) | fn serialized_length(&self) -> usize { method write_bytes (line 285) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), Error> { method from_bytes (line 292) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { method from (line 299) | fn from(value: ContractWasm) -> Self { function test_debug_repr_of_short_wasm (line 308) | fn test_debug_repr_of_short_wasm() { function test_debug_repr_of_long_wasm (line 320) | fn test_debug_repr_of_long_wasm() { function contract_wasm_hash_from_slice (line 332) | fn contract_wasm_hash_from_slice() { function contract_wasm_hash_from_str (line 341) | fn contract_wasm_hash_from_str() { function contract_wasm_hash_serde_roundtrip (line 365) | fn contract_wasm_hash_serde_roundtrip() { function contract_wasm_hash_json_roundtrip (line 373) | fn contract_wasm_hash_json_roundtrip() { FILE: types/src/contracts.rs constant CONTRACT_STRING_PREFIX (line 46) | const CONTRACT_STRING_PREFIX: &str = "contract-"; constant CONTRACT_PACKAGE_STRING_PREFIX (line 47) | const CONTRACT_PACKAGE_STRING_PREFIX: &str = "contract-package-"; constant CONTRACT_PACKAGE_STRING_LEGACY_EXTRA_PREFIX (line 49) | const CONTRACT_PACKAGE_STRING_LEGACY_EXTRA_PREFIX: &str = "wasm"; type Error (line 55) | pub enum Error { type Error (line 119) | type Error = (); method try_from (line 121) | fn try_from(value: u8) -> Result { type TryFromSliceForContractHashError (line 140) | pub struct TryFromSliceForContractHashError(()); method fmt (line 143) | fn fmt(&self, f: &mut Formatter) -> fmt::Result { type FromStrError (line 151) | pub enum FromStrError { method from (line 167) | fn from(error: base16::DecodeError) -> Self { method from (line 173) | fn from(error: TryFromSliceForAccountHashError) -> Self { method from (line 179) | fn from(error: TryFromSliceError) -> Self { method from (line 185) | fn from(error: account::FromStrError) -> Self { method from (line 191) | fn from(error: uref::FromStrError) -> Self { method fmt (line 197) | fn fmt(&self, f: &mut Formatter) -> fmt::Result { type ContractVersion (line 212) | pub type ContractVersion = u32; constant CONTRACT_INITIAL_VERSION (line 215) | pub const CONTRACT_INITIAL_VERSION: ContractVersion = 1; type ProtocolVersionMajor (line 218) | pub type ProtocolVersionMajor = u32; type ContractVersionKey (line 224) | pub struct ContractVersionKey(ProtocolVersionMajor, ContractVersion); method new (line 228) | pub fn new( method protocol_version_major (line 236) | pub fn protocol_version_major(self) -> ProtocolVersionMajor { method contract_version (line 241) | pub fn contract_version(self) -> ContractVersion { method fmt (line 284) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { function from (line 247) | fn from(contract_version_key: ContractVersionKey) -> Self { constant CONTRACT_VERSION_KEY_SERIALIZED_LENGTH (line 253) | pub const CONTRACT_VERSION_KEY_SERIALIZED_LENGTH: usize = method to_bytes (line 257) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 264) | fn serialized_length(&self) -> usize { method write_bytes (line 268) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 276) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { type ContractVersions (line 290) | pub type ContractVersions = BTreeMap; type DisabledVersions (line 294) | pub type DisabledVersions = BTreeSet; type ContractHash (line 299) | pub struct ContractHash(HashAddr); method new (line 303) | pub const fn new(value: HashAddr) -> ContractHash { method value (line 308) | pub fn value(&self) -> HashAddr { method as_bytes (line 313) | pub fn as_bytes(&self) -> &[u8] { method to_formatted_string (line 318) | pub fn to_formatted_string(self) -> String { method from_formatted_str (line 328) | pub fn from_formatted_str(input: &str) -> Result { method from (line 356) | fn from(entity_hash: AddressableEntityHash) -> Self { method from (line 387) | fn from(bytes: [u8; 32]) -> Self { method deserialize (line 403) | fn deserialize>(deserializer: D) -> Result &[u8] { type Error (line 421) | type Error = TryFromSliceForContractHashError; method try_from (line 423) | fn try_from(bytes: &[u8]) -> Result) -> Result { method fmt (line 338) | fn fmt(&self, f: &mut Formatter<'_>) -> core::fmt::Result { method fmt (line 344) | fn fmt(&self, f: &mut Formatter) -> core::fmt::Result { method cl_type (line 350) | fn cl_type() -> CLType { method to_bytes (line 363) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 368) | fn serialized_length(&self) -> usize { method write_bytes (line 373) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 380) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method serialize (line 393) | fn serialize(&self, serializer: S) -> Result String { method json_schema (line 446) | fn json_schema(gen: &mut SchemaGenerator) -> Schema { type ContractPackageHash (line 457) | pub struct ContractPackageHash(HashAddr); method new (line 461) | pub const fn new(value: HashAddr) -> ContractPackageHash { method value (line 466) | pub fn value(&self) -> HashAddr { method as_bytes (line 471) | pub fn as_bytes(&self) -> &[u8] { method to_formatted_string (line 476) | pub fn to_formatted_string(self) -> String { method from_formatted_str (line 486) | pub fn from_formatted_str(input: &str) -> Result { method from (line 501) | fn from(value: PackageHash) -> Self { method from (line 550) | fn from(bytes: [u8; 32]) -> Self { method deserialize (line 566) | fn deserialize>(deserializer: D) -> Result &[u8] { type Error (line 584) | type Error = TryFromSliceForContractHashError; method try_from (line 586) | fn try_from(bytes: &[u8]) -> Result) -> Result { method fmt (line 507) | fn fmt(&self, f: &mut Formatter<'_>) -> core::fmt::Result { method fmt (line 513) | fn fmt(&self, f: &mut Formatter) -> core::fmt::Result { method cl_type (line 519) | fn cl_type() -> CLType { method to_bytes (line 526) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 531) | fn serialized_length(&self) -> usize { method write_bytes (line 536) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 543) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method serialize (line 556) | fn serialize(&self, serializer: S) -> Result String { method json_schema (line 609) | fn json_schema(gen: &mut SchemaGenerator) -> Schema { type ContractPackageStatus (line 622) | pub enum ContractPackageStatus { method new (line 631) | pub fn new(is_locked: bool) -> Self { method default (line 641) | fn default() -> Self { method to_bytes (line 647) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 656) | fn serialized_length(&self) -> usize { method write_bytes (line 663) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 673) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { type ContractPackage (line 684) | pub struct ContractPackage { method new (line 714) | pub fn new( method access_key (line 731) | pub fn access_key(&self) -> URef { method groups (line 736) | pub fn groups(&self) -> &Groups { method versions (line 741) | pub fn versions(&self) -> &ContractVersions { method versions_mut (line 746) | pub fn versions_mut(&mut self) -> &mut ContractVersions { method take_versions (line 751) | pub fn take_versions(self) -> ContractVersions { method take_groups (line 756) | pub fn take_groups(self) -> Groups { method disabled_versions (line 761) | pub fn disabled_versions(&self) -> &DisabledVersions { method disabled_versions_mut (line 766) | pub fn disabled_versions_mut(&mut self) -> &mut DisabledVersions { method lock_status (line 771) | pub fn lock_status(&self) -> ContractPackageStatus { method is_locked (line 775) | pub fn is_locked(&self) -> bool { method disable_contract_version (line 783) | pub fn disable_contract_version(&mut self, contract_hash: ContractHash... method enable_contract_version (line 797) | pub fn enable_contract_version(&mut self, contract_hash: ContractHash)... method find_contract_version_key_by_hash (line 808) | fn find_contract_version_key_by_hash( method remove_group (line 819) | pub fn remove_group(&mut self, group: &Group) -> bool { method next_contract_version_for (line 822) | fn next_contract_version_for(&self, protocol_version: ProtocolVersionM... method is_version_enabled (line 840) | pub fn is_version_enabled(&self, contract_version_key: ContractVersion... method enabled_versions (line 846) | pub fn enabled_versions(&self) -> ContractVersions { method current_contract_version (line 858) | pub fn current_contract_version(&self) -> Option { method current_contract_hash (line 863) | pub fn current_contract_hash(&self) -> Option { method insert_contract_version (line 867) | pub fn insert_contract_version( method groups_mut (line 878) | pub fn groups_mut(&mut self) -> &mut Groups { method deserialize (line 897) | fn deserialize>(deserializer: D) -> Result CLType { method serialize (line 884) | fn serialize(&self, serializer: S) -> Result Result, bytesrepr::Error> { method serialized_length (line 920) | fn serialized_length(&self) -> usize { method write_bytes (line 928) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 939) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method from (line 958) | fn from(value: ContractPackage) -> Self { type EntryPoint (line 1003) | pub struct EntryPoint { method new (line 1025) | pub fn new>( method default_with_name (line 1042) | pub fn default_with_name>(name: T) -> Self { method name (line 1050) | pub fn name(&self) -> &str { method access (line 1055) | pub fn access(&self) -> &EntryPointAccess { method args (line 1060) | pub fn args(&self) -> &[Parameter] { method ret (line 1065) | pub fn ret(&self) -> &CLType { method entry_point_type (line 1070) | pub fn entry_point_type(&self) -> EntryPointType { function from (line 1012) | fn from(entry_point: EntryPoint) -> Self { method default (line 1077) | fn default() -> Self { method to_bytes (line 1089) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 1095) | fn serialized_length(&self) -> usize { method write_bytes (line 1103) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 1114) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { type EntryPoints (line 1138) | pub struct EntryPoints(BTreeMap); method from (line 1141) | fn from(value: EntityEntryPoints) -> Self { method new (line 1208) | pub const fn new() -> EntryPoints { method new_with_default_entry_point (line 1213) | pub fn new_with_default_entry_point() -> Self { method add_entry_point (line 1221) | pub fn add_entry_point(&mut self, entry_point: EntryPoint) -> Option bool { method get (line 1231) | pub fn get(&self, entry_point_name: &str) -> Option<&EntryPoint> { method keys (line 1236) | pub fn keys(&self) -> impl Iterator { method take_entry_points (line 1241) | pub fn take_entry_points(self) -> Vec { method len (line 1246) | pub fn len(&self) -> usize { method is_empty (line 1251) | pub fn is_empty(&self) -> bool { method contains_stored_session (line 1256) | pub fn contains_stored_session(&self) -> bool { method from (line 1264) | fn from(entry_points: Vec) -> EntryPoints { method to_bytes (line 1158) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 1162) | fn serialized_length(&self) -> usize { method write_bytes (line 1166) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 1172) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method default (line 1179) | fn default() -> Self { method from (line 1188) | fn from(value: EntryPoint) -> Self { method from (line 1194) | fn from(value: &EntryPoint) -> Self { method from (line 1274) | fn from(value: EntryPoints) -> Self { type Contract (line 1287) | pub struct Contract { method new (line 1298) | pub fn new( method contract_package_hash (line 1315) | pub fn contract_package_hash(&self) -> ContractPackageHash { method contract_wasm_hash (line 1320) | pub fn contract_wasm_hash(&self) -> ContractWasmHash { method has_entry_point (line 1325) | pub fn has_entry_point(&self, name: &str) -> bool { method entry_point (line 1330) | pub fn entry_point(&self, method: &str) -> Option<&EntryPoint> { method protocol_version (line 1335) | pub fn protocol_version(&self) -> ProtocolVersion { method add_entry_point (line 1340) | pub fn add_entry_point>(&mut self, entry_point: EntryP... method contract_wasm_key (line 1345) | pub fn contract_wasm_key(&self) -> Key { method entry_points (line 1350) | pub fn entry_points(&self) -> &EntryPoints { method take_named_keys (line 1355) | pub fn take_named_keys(self) -> NamedKeys { method named_keys (line 1360) | pub fn named_keys(&self) -> &NamedKeys { method named_keys_append (line 1365) | pub fn named_keys_append(&mut self, keys: NamedKeys) { method remove_named_key (line 1370) | pub fn remove_named_key(&mut self, key: &str) -> Option { method set_protocol_version (line 1375) | pub fn set_protocol_version(&mut self, protocol_version: ProtocolVersi... method is_compatible_protocol_version (line 1380) | pub fn is_compatible_protocol_version(&self, protocol_version: Protoco... method to_bytes (line 1386) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 1396) | fn serialized_length(&self) -> usize { method write_bytes (line 1404) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 1415) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method default (line 1435) | fn default() -> Self { constant DEFAULT_ENTRY_POINT_NAME (line 1447) | pub const DEFAULT_ENTRY_POINT_NAME: &str = "call"; constant ENTRY_POINT_NAME_INSTALL (line 1450) | pub const ENTRY_POINT_NAME_INSTALL: &str = "install"; constant UPGRADE_ENTRY_POINT_NAME (line 1453) | pub const UPGRADE_ENTRY_POINT_NAME: &str = "upgrade"; constant CONTRACT_HASH_V1 (line 1461) | const CONTRACT_HASH_V1: ContractHash = ContractHash::new([42; 32]); constant CONTRACT_HASH_V2 (line 1462) | const CONTRACT_HASH_V2: ContractHash = ContractHash::new([84; 32]); function make_contract_package (line 1464) | fn make_contract_package() -> ContractPackage { function roundtrip_serialization (line 1528) | fn roundtrip_serialization() { function contract_hash_from_slice (line 1538) | fn contract_hash_from_slice() { function contract_package_hash_from_slice (line 1546) | fn contract_package_hash_from_slice() { function contract_hash_from_str (line 1554) | fn contract_hash_from_str() { function contract_package_hash_from_str (line 1577) | fn contract_package_hash_from_str() { function contract_package_hash_from_legacy_str (line 1613) | fn contract_package_hash_from_legacy_str() { function contract_hash_serde_roundtrip (line 1654) | fn contract_hash_serde_roundtrip() { function contract_hash_json_roundtrip (line 1662) | fn contract_hash_json_roundtrip() { function contract_package_hash_serde_roundtrip (line 1670) | fn contract_package_hash_serde_roundtrip() { function contract_package_hash_json_roundtrip (line 1678) | fn contract_package_hash_json_roundtrip() { function package_hash_from_legacy_str (line 1686) | fn package_hash_from_legacy_str() { FILE: types/src/contracts/named_keys.rs type NamedKeys (line 23) | pub struct NamedKeys( method new (line 31) | pub const fn new() -> Self { method into_inner (line 36) | pub fn into_inner(self) -> BTreeMap { method insert (line 44) | pub fn insert(&mut self, name: String, key: Key) -> Option { method append (line 49) | pub fn append(&mut self, mut other: Self) { method remove (line 54) | pub fn remove(&mut self, name: &str) -> Option { method get (line 59) | pub fn get(&self, name: &str) -> Option<&Key> { method contains (line 64) | pub fn contains(&self, name: &str) -> bool { method names (line 69) | pub fn names(&self) -> impl Iterator { method keys (line 74) | pub fn keys(&self) -> impl Iterator { method keys_mut (line 79) | pub fn keys_mut(&mut self) -> impl Iterator { method iter (line 84) | pub fn iter(&self) -> impl Iterator { method len (line 89) | pub fn len(&self) -> usize { method is_empty (line 94) | pub fn is_empty(&self) -> bool { method from (line 100) | fn from(value: BTreeMap) -> Self { method write_bytes (line 106) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method to_bytes (line 110) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 116) | fn serialized_length(&self) -> usize { method from_bytes (line 122) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method cl_type (line 129) | fn cl_type() -> CLType { type Labels (line 134) | struct Labels; constant KEY (line 137) | const KEY: &'static str = "name"; constant VALUE (line 138) | const VALUE: &'static str = "key"; function should_be_backwards_compatible (line 151) | fn should_be_backwards_compatible() { function should_match_field_names (line 168) | fn should_match_field_names() { FILE: types/src/crypto.rs function blake2b (line 27) | pub(crate) fn blake2b>(data: T) -> [u8; BLAKE2B_DIGEST_LE... type HashAlgorithm (line 42) | pub enum HashAlgorithm { type Error (line 52) | type Error = (); method try_from (line 54) | fn try_from(value: u8) -> Result { FILE: types/src/crypto/asymmetric_key.rs constant TAG_LENGTH (line 70) | const TAG_LENGTH: usize = U8_SERIALIZED_LENGTH; constant SYSTEM_TAG (line 73) | pub const SYSTEM_TAG: u8 = 0; constant SYSTEM (line 74) | const SYSTEM: &str = "System"; constant ED25519_TAG (line 77) | pub const ED25519_TAG: u8 = 1; constant ED25519 (line 78) | const ED25519: &str = "Ed25519"; constant SECP256K1_TAG (line 81) | pub const SECP256K1_TAG: u8 = 2; constant SECP256K1 (line 82) | const SECP256K1: &str = "Secp256k1"; constant SECP256K1_SECRET_KEY_LENGTH (line 84) | const SECP256K1_SECRET_KEY_LENGTH: usize = 32; constant SECP256K1_COMPRESSED_PUBLIC_KEY_LENGTH (line 85) | const SECP256K1_COMPRESSED_PUBLIC_KEY_LENGTH: usize = 33; constant SECP256K1_SIGNATURE_LENGTH (line 86) | const SECP256K1_SIGNATURE_LENGTH: usize = 64; constant SYSTEM_ACCOUNT (line 89) | pub const SYSTEM_ACCOUNT: PublicKey = PublicKey::System; constant EC_PUBLIC_KEY_OBJECT_IDENTIFIER (line 93) | const EC_PUBLIC_KEY_OBJECT_IDENTIFIER: [u8; 7] = [42, 134, 72, 206, 61, ... constant ED25519_OBJECT_IDENTIFIER (line 97) | const ED25519_OBJECT_IDENTIFIER: [u8; 3] = [43, 101, 112]; constant ED25519_PEM_SECRET_KEY_TAG (line 99) | const ED25519_PEM_SECRET_KEY_TAG: &str = "PRIVATE KEY"; constant ED25519_PEM_PUBLIC_KEY_TAG (line 101) | const ED25519_PEM_PUBLIC_KEY_TAG: &str = "PUBLIC KEY"; constant SECP256K1_OBJECT_IDENTIFIER (line 105) | const SECP256K1_OBJECT_IDENTIFIER: [u8; 5] = [43, 129, 4, 0, 10]; constant SECP256K1_PEM_SECRET_KEY_TAG (line 107) | const SECP256K1_PEM_SECRET_KEY_TAG: &str = "EC PRIVATE KEY"; constant SECP256K1_PEM_PUBLIC_KEY_TAG (line 109) | const SECP256K1_PEM_PUBLIC_KEY_TAG: &str = "PUBLIC KEY"; type AsymmetricType (line 125) | pub trait AsymmetricType<'a> method to_hex (line 131) | fn to_hex(&'a self) -> String { method from_hex (line 140) | fn from_hex>(input: A) -> Result { method system (line 172) | fn system() -> Self; method ed25519_from_bytes (line 175) | fn ed25519_from_bytes>(bytes: T) -> Result; method secp256k1_from_bytes (line 178) | fn secp256k1_from_bytes>(bytes: T) -> Result; type SecretKey (line 184) | pub enum SecretKey { constant SYSTEM_LENGTH (line 198) | pub const SYSTEM_LENGTH: usize = 0; constant ED25519_LENGTH (line 201) | pub const ED25519_LENGTH: usize = ED25519_SECRET_KEY_LENGTH; constant SECP256K1_LENGTH (line 204) | pub const SECP256K1_LENGTH: usize = SECP256K1_SECRET_KEY_LENGTH; method system (line 207) | pub fn system() -> Self { method ed25519_from_bytes (line 212) | pub fn ed25519_from_bytes>(bytes: T) -> Result>(bytes: T) -> Result Result { method generate_secp256k1 (line 235) | pub fn generate_secp256k1() -> Result { method to_file (line 243) | pub fn to_file>(&self, file: P) -> Result<(), ErrorExt> { method from_file (line 249) | pub fn from_file>(file: P) -> Result { method to_der (line 257) | pub fn to_der(&self) -> Result, ErrorExt> { method from_der (line 295) | pub fn from_der>(input: T) -> Result { method to_pem (line 373) | pub fn to_pem(&self) -> Result { method from_pem (line 386) | pub fn from_pem>(input: T) -> Result { method random (line 417) | pub fn random(rng: &mut TestRng) -> Self { method random_ed25519 (line 427) | pub fn random_ed25519(rng: &mut TestRng) -> Self { method random_secp256k1 (line 435) | pub fn random_secp256k1(rng: &mut TestRng) -> Self { method example (line 444) | pub fn example() -> &'static Self { method variant_name (line 448) | fn variant_name(&self) -> &str { method tag (line 470) | fn tag(&self) -> u8 { method fmt (line 458) | fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result { method fmt (line 464) | fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result { type PublicKey (line 483) | pub enum PublicKey { constant SYSTEM_LENGTH (line 496) | pub const SYSTEM_LENGTH: usize = 0; constant ED25519_LENGTH (line 499) | pub const ED25519_LENGTH: usize = ED25519_PUBLIC_KEY_LENGTH; constant SECP256K1_LENGTH (line 502) | pub const SECP256K1_LENGTH: usize = SECP256K1_COMPRESSED_PUBLIC_KEY_LE... method to_account_hash (line 505) | pub fn to_account_hash(&self) -> AccountHash { method to_hex_string (line 510) | pub fn to_hex_string(&self) -> String { method is_system (line 515) | pub fn is_system(&self) -> bool { method to_file (line 521) | pub fn to_file>(&self, file: P) -> Result<(), ErrorExt> { method from_file (line 527) | pub fn from_file>(file: P) -> Result { method to_der (line 534) | pub fn to_der(&self) -> Result, ErrorExt> { method from_der (line 565) | pub fn from_der>(input: T) -> Result { method to_pem (line 605) | pub fn to_pem(&self) -> Result { method from_pem (line 618) | pub fn from_pem>(input: T) -> Result { method random (line 645) | pub fn random(rng: &mut TestRng) -> Self { method random_ed25519 (line 652) | pub fn random_ed25519(rng: &mut TestRng) -> Self { method random_secp256k1 (line 659) | pub fn random_secp256k1(rng: &mut TestRng) -> Self { method example (line 667) | pub fn example() -> &'static Self { method variant_name (line 671) | fn variant_name(&self) -> &str { method system (line 681) | fn system() -> Self { method ed25519_from_bytes (line 685) | fn ed25519_from_bytes>(bytes: T) -> Result { method secp256k1_from_bytes (line 691) | fn secp256k1_from_bytes>(bytes: T) -> Result PublicKey { method tag (line 820) | fn tag(&self) -> u8 { method deserialize (line 892) | fn deserialize>(deserializer: D) -> Result(&self, rng: &mut R) -> PublicKey { method eq (line 723) | fn eq(&self, other: &Self) -> bool { method cmp (line 737) | fn cmp(&self, other: &Self) -> Ordering { method partial_cmp (line 748) | fn partial_cmp(&self, other: &Self) -> Option { function from (line 754) | fn from(public_key: &PublicKey) -> Self { function from (line 764) | fn from(public_key: PublicKey) -> Self { method fmt (line 770) | fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result { method fmt (line 781) | fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result { method partial_cmp (line 792) | fn partial_cmp(&self, other: &Self) -> Option { method cmp (line 798) | fn cmp(&self, other: &Self) -> Ordering { method hash (line 813) | fn hash(&self, state: &mut H) { method to_bytes (line 830) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 836) | fn serialized_length(&self) -> usize { method write_bytes (line 845) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 862) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method serialize (line 886) | fn serialize(&self, serializer: S) -> Result String { method json_schema (line 903) | fn json_schema(gen: &mut SchemaGenerator) -> Schema { method cl_type (line 935) | fn cl_type() -> CLType { type Signature (line 944) | pub enum Signature { constant SYSTEM_LENGTH (line 957) | pub const SYSTEM_LENGTH: usize = 0; constant ED25519_LENGTH (line 960) | pub const ED25519_LENGTH: usize = ED25519_SIGNATURE_LENGTH; constant SECP256K1_LENGTH (line 963) | pub const SECP256K1_LENGTH: usize = SECP256K1_SIGNATURE_LENGTH; method ed25519 (line 966) | pub fn ed25519(bytes: [u8; Self::ED25519_LENGTH]) -> Result Result &str { method to_hex_string (line 992) | pub fn to_hex_string(&self) -> String { method system (line 998) | fn system() -> Self { method ed25519_from_bytes (line 1002) | fn ed25519_from_bytes>(bytes: T) -> Result { method secp256k1_from_bytes (line 1012) | fn secp256k1_from_bytes>(bytes: T) -> Result u8 { method deserialize (line 1153) | fn deserialize>(deserializer: D) -> Result) -> fmt::Result { method fmt (line 1035) | fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result { method partial_cmp (line 1046) | fn partial_cmp(&self, other: &Self) -> Option { method cmp (line 1052) | fn cmp(&self, other: &Self) -> Ordering { method eq (line 1064) | fn eq(&self, other: &Self) -> bool { method hash (line 1072) | fn hash(&self, state: &mut H) { method to_bytes (line 1089) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 1095) | fn serialized_length(&self) -> usize { method write_bytes (line 1104) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 1123) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method serialize (line 1147) | fn serialize(&self, serializer: S) -> Result Self { function from (line 1169) | fn from(signature: Signature) -> Self { method schema_name (line 1176) | fn schema_name() -> String { method json_schema (line 1180) | fn json_schema(gen: &mut SchemaGenerator) -> Schema { function sign (line 1191) | pub fn sign>( function recover_secp256k1 (line 1216) | pub fn recover_secp256k1>( function verify (line 1239) | pub fn verify>( function generate_ed25519_keypair (line 1269) | pub fn generate_ed25519_keypair() -> (SecretKey, PublicKey) { type AsymmetricTypeAsBytes (line 1288) | pub(super) enum AsymmetricTypeAsBytes { method from (line 1295) | fn from(public_key: &PublicKey) -> Self { method from (line 1305) | fn from(signature: &Signature) -> Self { function serialize (line 1314) | pub(super) fn serialize<'a, T, S>(value: &'a T, serializer: S) -> Result... function deserialize (line 1328) | pub(super) fn deserialize<'a, 'de, T, D>(deserializer: D) -> Result impl Strategy { function public_key_arb_no_system (line 31) | pub fn public_key_arb_no_system() -> impl Strategy { function secret_key_arb_no_system (line 47) | pub fn secret_key_arb_no_system() -> impl Strategy { FILE: types/src/crypto/asymmetric_key/tests.rs function can_construct_ed25519_keypair_from_zeroes (line 20) | fn can_construct_ed25519_keypair_from_zeroes() { function cannot_construct_secp256k1_keypair_from_zeroes (line 28) | fn cannot_construct_secp256k1_keypair_from_zeroes() { function can_construct_ed25519_keypair_from_ones (line 35) | fn can_construct_ed25519_keypair_from_ones() { function can_construct_secp256k1_keypair_from_ones (line 42) | fn can_construct_secp256k1_keypair_from_ones() { type OpenSSLSecretKey (line 48) | type OpenSSLSecretKey = PKey; type OpenSSLPublicKey (line 49) | type OpenSSLPublicKey = PKey; function assert_secret_keys_equal (line 52) | fn assert_secret_keys_equal(lhs: &SecretKey, rhs: &SecretKey) { function secret_key_der_roundtrip (line 56) | fn secret_key_der_roundtrip(secret_key: SecretKey) { function secret_key_pem_roundtrip (line 66) | fn secret_key_pem_roundtrip(secret_key: SecretKey) { function known_secret_key_to_pem (line 79) | fn known_secret_key_to_pem(expected_key: &SecretKey, known_key_pem: &str... function secret_key_file_roundtrip (line 86) | fn secret_key_file_roundtrip(secret_key: SecretKey) { function public_key_serialization_roundtrip (line 96) | fn public_key_serialization_roundtrip(public_key: PublicKey) { function public_key_der_roundtrip (line 113) | fn public_key_der_roundtrip(public_key: PublicKey) { function public_key_pem_roundtrip (line 125) | fn public_key_pem_roundtrip(public_key: PublicKey) { function known_public_key_to_pem (line 138) | fn known_public_key_to_pem(known_key_hex: &str, known_key_pem: &str) { function public_key_file_roundtrip (line 145) | fn public_key_file_roundtrip(public_key: PublicKey) { function public_key_hex_roundtrip (line 154) | fn public_key_hex_roundtrip(public_key: PublicKey) { function signature_serialization_roundtrip (line 165) | fn signature_serialization_roundtrip(signature: Signature) { function signature_hex_roundtrip (line 185) | fn signature_hex_roundtrip(signature: Signature) { function hash (line 196) | fn hash(data: &T) -> u64 { function check_ord_and_hash (line 202) | fn check_ord_and_hash(low: T, high: ... function secret_key_to_der_should_error (line 226) | fn secret_key_to_der_should_error() { function secret_key_to_pem_should_error (line 231) | fn secret_key_to_pem_should_error() { function secret_key_to_file_should_error (line 237) | fn secret_key_to_file_should_error() { function public_key_serialization_roundtrip (line 242) | fn public_key_serialization_roundtrip() { function public_key_to_der_should_error (line 247) | fn public_key_to_der_should_error() { function public_key_to_pem_should_error (line 252) | fn public_key_to_pem_should_error() { function public_key_to_file_should_error (line 258) | fn public_key_to_file_should_error() { function public_key_to_and_from_hex (line 263) | fn public_key_to_and_from_hex() { function sign_should_panic (line 269) | fn sign_should_panic() { function signature_to_and_from_hex (line 274) | fn signature_to_and_from_hex() { function public_key_to_account_hash (line 279) | fn public_key_to_account_hash() { function verify_should_error (line 287) | fn verify_should_error() { function bytesrepr_roundtrip_signature (line 292) | fn bytesrepr_roundtrip_signature() { constant SECRET_KEY_LENGTH (line 303) | const SECRET_KEY_LENGTH: usize = SecretKey::ED25519_LENGTH; constant PUBLIC_KEY_LENGTH (line 304) | const PUBLIC_KEY_LENGTH: usize = PublicKey::ED25519_LENGTH; constant SIGNATURE_LENGTH (line 305) | const SIGNATURE_LENGTH: usize = Signature::ED25519_LENGTH; function secret_key_from_bytes (line 308) | fn secret_key_from_bytes() { function secret_key_to_and_from_der (line 319) | fn secret_key_to_and_from_der() { function secret_key_to_and_from_pem (line 330) | fn secret_key_to_and_from_pem() { function known_secret_key_to_pem (line 337) | fn known_secret_key_to_pem() { function secret_key_to_and_from_file (line 351) | fn secret_key_to_and_from_file() { function public_key_serialization_roundtrip (line 358) | fn public_key_serialization_roundtrip() { function public_key_from_bytes (line 365) | fn public_key_from_bytes() { function public_key_to_and_from_der (line 382) | fn public_key_to_and_from_der() { function public_key_to_and_from_pem (line 389) | fn public_key_to_and_from_pem() { function known_public_key_to_pem (line 396) | fn known_public_key_to_pem() { function public_key_to_and_from_file (line 408) | fn public_key_to_and_from_file() { function public_key_to_and_from_hex (line 415) | fn public_key_to_and_from_hex() { function signature_serialization_roundtrip (line 422) | fn signature_serialization_roundtrip() { function signature_from_bytes (line 432) | fn signature_from_bytes() { function signature_key_to_and_from_hex (line 443) | fn signature_key_to_and_from_hex() { function public_key_traits (line 453) | fn public_key_traits() { function public_key_to_account_hash (line 460) | fn public_key_to_account_hash() { function signature_traits (line 469) | fn signature_traits() { function sign_and_verify (line 476) | fn sign_and_verify() { function bytesrepr_roundtrip_signature (line 494) | fn bytesrepr_roundtrip_signature() { function validate_known_signature (line 504) | fn validate_known_signature() { constant SECRET_KEY_LENGTH (line 547) | const SECRET_KEY_LENGTH: usize = SecretKey::SECP256K1_LENGTH; constant SIGNATURE_LENGTH (line 548) | const SIGNATURE_LENGTH: usize = Signature::SECP256K1_LENGTH; function secret_key_from_bytes (line 551) | fn secret_key_from_bytes() { function secret_key_to_and_from_der (line 565) | fn secret_key_to_and_from_der() { function secret_key_to_and_from_pem (line 572) | fn secret_key_to_and_from_pem() { function known_secret_key_to_pem (line 579) | fn known_secret_key_to_pem() { function secret_key_to_and_from_file (line 595) | fn secret_key_to_and_from_file() { function public_key_serialization_roundtrip (line 602) | fn public_key_serialization_roundtrip() { function public_key_from_bytes (line 609) | fn public_key_from_bytes() { function public_key_to_and_from_der (line 626) | fn public_key_to_and_from_der() { function public_key_to_and_from_pem (line 633) | fn public_key_to_and_from_pem() { function known_public_key_to_pem (line 640) | fn known_public_key_to_pem() { function public_key_to_and_from_file (line 653) | fn public_key_to_and_from_file() { function public_key_to_and_from_hex (line 660) | fn public_key_to_and_from_hex() { function signature_serialization_roundtrip (line 667) | fn signature_serialization_roundtrip() { function bytesrepr_roundtrip_signature (line 677) | fn bytesrepr_roundtrip_signature() { function signature_from_bytes (line 687) | fn signature_from_bytes() { function signature_key_to_and_from_hex (line 698) | fn signature_key_to_and_from_hex() { function public_key_traits (line 708) | fn public_key_traits() { function public_key_to_account_hash (line 720) | fn public_key_to_account_hash() { function signature_traits (line 730) | fn signature_traits() { function validate_known_signature (line 737) | fn validate_known_signature() { function public_key_traits (line 762) | fn public_key_traits() { function signature_traits (line 773) | fn signature_traits() { function sign_and_verify (line 783) | fn sign_and_verify() { function should_construct_secp256k1_from_uncompressed_bytes (line 812) | fn should_construct_secp256k1_from_uncompressed_bytes() { function generate_ed25519_should_generate_an_ed25519_key (line 856) | fn generate_ed25519_should_generate_an_ed25519_key() { function generate_secp256k1_should_generate_an_secp256k1_key (line 862) | fn generate_secp256k1_should_generate_an_secp256k1_key() { FILE: types/src/crypto/error.rs type Error (line 24) | pub enum Error { method from (line 69) | fn from(error: base16::DecodeError) -> Self { method from (line 75) | fn from(_error: SignatureError) -> Self { method fmt (line 47) | fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result { method source (line 82) | fn source(&self) -> Option<&(dyn StdError + 'static)> { type ErrorExt (line 95) | pub enum ErrorExt { method from (line 135) | fn from(error: PemError) -> Self { type Base16DecodeError (line 150) | pub(super) enum Base16DecodeError { type Base64DecodeError (line 157) | pub(super) enum Base64DecodeError { FILE: types/src/deploy_info.rs type DeployInfo (line 20) | pub struct DeployInfo { method new (line 40) | pub fn new( method from_bytes (line 59) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method to_bytes (line 79) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 89) | fn serialized_length(&self) -> usize { method write_bytes (line 97) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... function deploy_info_arb (line 118) | pub fn deploy_info_arb() -> impl Strategy { FILE: types/src/digest.rs type Digest (line 54) | pub struct Digest( constant LENGTH (line 63) | pub const LENGTH: usize = 32; constant SENTINEL_NONE (line 66) | pub const SENTINEL_NONE: Digest = Digest([0u8; Digest::LENGTH]); constant SENTINEL_RFOLD (line 68) | pub const SENTINEL_RFOLD: Digest = Digest([1u8; Digest::LENGTH]); constant SENTINEL_MERKLE_TREE (line 70) | pub const SENTINEL_MERKLE_TREE: Digest = Digest([2u8; Digest::LENGTH]); method hash (line 74) | pub fn hash>(data: T) -> Digest { method blake2b_hash (line 79) | pub(crate) fn blake2b_hash>(data: T) -> Digest { method hash_pair (line 89) | pub fn hash_pair, U: AsRef<[u8]>>(data1: T, data2: U) -... method hash_merkle_root (line 115) | fn hash_merkle_root(leaf_count: u64, root: Digest) -> Digest { method value (line 139) | pub fn value(&self) -> [u8; Digest::LENGTH] { method into_vec (line 144) | pub fn into_vec(self) -> Vec { method hash_merkle_tree (line 171) | pub fn hash_merkle_tree(leaves: I) -> Digest method hash_btree_map (line 186) | pub fn hash_btree_map(btree_map: &BTreeMap) -> Result Digest { method hash_slice_with_proof (line 223) | pub fn hash_slice_with_proof(slice: &[Digest], proof: Digest) -> Digest { method from_hex (line 230) | pub fn from_hex>(hex_input: T) -> Result Digest { method from_raw (line 254) | pub const fn from_raw(raw_digest: [u8; Self::LENGTH]) -> Self { method random (line 260) | pub fn random(rng: &mut TestRng) -> Self { method from (line 313) | fn from(arr: [u8; Digest::LENGTH]) -> Self { type Error (line 319) | type Error = TryFromSliceError; method try_from (line 321) | fn try_from(slice: &[u8]) -> Result { method as_ref (line 327) | fn as_ref(&self) -> &[u8] { method deserialize (line 376) | fn deserialize>(deserializer: D) -> Result CLType { method sample (line 273) | fn sample(&self, rng: &mut R) -> Digest { method fmt (line 279) | fn fmt(&self, f: &mut Formatter) -> fmt::Result { method fmt (line 290) | fn fmt(&self, f: &mut Formatter) -> fmt::Result { method fmt (line 301) | fn fmt(&self, f: &mut Formatter) -> fmt::Result { method fmt (line 307) | fn fmt(&self, f: &mut Formatter) -> fmt::Result { function from (line 333) | fn from(hash: Digest) -> Self { method to_bytes (line 340) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 345) | fn serialized_length(&self) -> usize { method write_bytes (line 350) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 358) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method serialize (line 364) | fn serialize(&self, serializer: S) -> Result Result &[u8] { method into_chunk (line 96) | pub fn into_chunk(self) -> Bytes { method proof (line 101) | pub fn proof(&self) -> &IndexedMerkleProof { method verify (line 106) | pub fn verify(&self) -> Result<(), ChunkWithProofVerificationError> { method replace_first_proof (line 156) | fn replace_first_proof(self) -> Self { method write_bytes (line 25) | fn write_bytes(&self, buf: &mut Vec) -> Result<(), bytesrepr::Error> { method to_bytes (line 32) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 38) | fn serialized_length(&self) -> usize { method from_bytes (line 44) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function prepare_bytes (line 141) | fn prepare_bytes(length: usize) -> Vec { function random_chunk_with_proof (line 147) | fn random_chunk_with_proof() -> ChunkWithProof { type TestDataSize (line 171) | pub struct TestDataSize(usize); type Parameters (line 173) | type Parameters = (); type Strategy (line 174) | type Strategy = BoxedStrategy; method arbitrary_with (line 176) | fn arbitrary_with(_: Self::Parameters) -> Self::Strategy { type TestDataSizeAtLeastTwoChunks (line 186) | pub struct TestDataSizeAtLeastTwoChunks(usize); type Parameters (line 188) | type Parameters = (); type Strategy (line 189) | type Strategy = BoxedStrategy; method arbitrary_with (line 191) | fn arbitrary_with(_: Self::Parameters) -> Self::Strategy { function generates_valid_proof (line 201) | fn generates_valid_proof(test_data: TestDataSize) { function validate_chunks_against_hash_merkle_tree (line 216) | fn validate_chunks_against_hash_merkle_tree(test_data: TestDataSizeAtLea... function verifies_chunk_with_proofs (line 242) | fn verifies_chunk_with_proofs(test_data: TestDataSize) { function serde_deserialization_of_malformed_chunk_should_work (line 253) | fn serde_deserialization_of_malformed_chunk_should_work(test_data: TestD... function bytesrepr_deserialization_of_malformed_chunk_should_work (line 271) | fn bytesrepr_deserialization_of_malformed_chunk_should_work(test_data: T... function returns_error_on_incorrect_index (line 294) | fn returns_error_on_incorrect_index() { function bytesrepr_serialization (line 323) | fn bytesrepr_serialization() { function chunk_with_empty_data_contains_a_single_proof (line 329) | fn chunk_with_empty_data_contains_a_single_proof() { FILE: types/src/digest/error.rs type Error (line 14) | pub enum Error { method fmt (line 22) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { method source (line 41) | fn source(&self) -> Option<&(dyn StdError + 'static)> { type MerkleVerificationError (line 52) | pub enum MerkleVerificationError { method fmt (line 75) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { type ChunkWithProofVerificationError (line 107) | pub enum ChunkWithProofVerificationError { method from (line 171) | fn from(error: MerkleVerificationError) -> Self { method fmt (line 131) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { method source (line 178) | fn source(&self) -> Option<&(dyn StdError + 'static)> { type MerkleConstructionError (line 194) | pub enum MerkleConstructionError { method fmt (line 210) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { FILE: types/src/digest/indexed_merkle_proof.rs type IndexedMerkleProof (line 22) | pub struct IndexedMerkleProof { method new (line 72) | pub fn new(leaves: I, index: u64) -> Result u64 { method count (line 129) | pub fn count(&self) -> u64 { method root_hash (line 138) | pub fn root_hash(&self) -> Digest { method merkle_proof (line 147) | pub fn merkle_proof(&self) -> &[Digest] { method verify (line 152) | pub fn verify(&self) -> Result<(), MerkleVerificationError> { method compute_root_hash (line 171) | fn compute_root_hash(&self) -> Digest { method compute_expected_proof_length (line 217) | fn compute_expected_proof_length(&self) -> u8 { method inject_merkle_proof (line 238) | pub fn inject_merkle_proof(&mut self, merkle_proof: Vec) { method to_bytes (line 36) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 44) | fn serialized_length(&self) -> usize { method from_bytes (line 52) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function random_indexed_merkle_proof (line 255) | fn random_indexed_merkle_proof() -> IndexedMerkleProof { function test_merkle_proofs (line 267) | fn test_merkle_proofs() { function out_of_bounds_index (line 289) | fn out_of_bounds_index() { function unexpected_proof_length (line 306) | fn unexpected_proof_length() { function empty_unexpected_proof_length (line 325) | fn empty_unexpected_proof_length() { function empty_out_of_bounds_index (line 339) | fn empty_out_of_bounds_index() { function deep_proof_doesnt_kill_stack (line 356) | fn deep_proof_doesnt_kill_stack() { function empty_proof (line 368) | fn empty_proof() { function expected_proof_length_le_65 (line 381) | fn expected_proof_length_le_65(index: u64, count: u64) { function reference_root_from_proof (line 391) | fn reference_root_from_proof(index: u64, count: u64, proof: &[Digest]) -... function test_indexed_merkle_proof (line 416) | fn test_indexed_merkle_proof(index: u64, count: u64) -> IndexedMerklePro... function root_from_proof_agrees_with_recursion (line 432) | fn root_from_proof_agrees_with_recursion(index: u64, count: u64) { function root_from_proof_agrees_with_recursion_2147483648_4294967297 (line 446) | fn root_from_proof_agrees_with_recursion_2147483648_4294967297() { function serde_deserialization_of_malformed_proof_should_work (line 460) | fn serde_deserialization_of_malformed_proof_should_work() { function bytesrepr_deserialization_of_malformed_proof_should_work (line 484) | fn bytesrepr_deserialization_of_malformed_proof_should_work() { function bytesrepr_serialization (line 510) | fn bytesrepr_serialization() { FILE: types/src/display_iter.rs type DisplayIter (line 9) | pub struct DisplayIter(RefCell>); function new (line 13) | pub fn new(item: T) -> Self { method fmt (line 23) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { FILE: types/src/era_id.rs type EraId (line 32) | pub struct EraId(u64); constant MAX (line 36) | pub const MAX: EraId = EraId(u64::MAX); method new (line 39) | pub const fn new(value: u64) -> EraId { method iter (line 44) | pub fn iter(&self, num_eras: u64) -> impl Iterator { method iter_inclusive (line 51) | pub fn iter_inclusive(&self, num_eras: u64) -> impl Iterator EraId { method predecessor (line 84) | pub fn predecessor(self) -> Option { method checked_add (line 89) | pub fn checked_add(&self, x: u64) -> Option { method checked_sub (line 94) | pub fn checked_sub(&self, x: u64) -> Option { method saturating_sub (line 100) | pub fn saturating_sub(&self, x: u64) -> EraId { method saturating_add (line 106) | pub fn saturating_add(self, rhs: u64) -> EraId { method saturating_mul (line 112) | pub fn saturating_mul(&self, x: u64) -> EraId { method is_genesis (line 117) | pub fn is_genesis(&self) -> bool { method to_le_bytes (line 122) | pub fn to_le_bytes(self) -> [u8; 8] { method value (line 129) | pub fn value(self) -> u64 { method random (line 135) | pub fn random(rng: &mut TestRng) -> Self { type Output (line 149) | type Output = EraId; method add (line 152) | fn add(self, x: u64) -> EraId { method add_assign (line 158) | fn add_assign(&mut self, x: u64) { type Output (line 164) | type Output = EraId; method sub (line 167) | fn sub(self, x: u64) -> EraId { method from (line 185) | fn from(era_id: u64) -> Self { type Err (line 141) | type Err = ParseIntError; method from_str (line 143) | fn from_str(s: &str) -> Result { method fmt (line 173) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { function from (line 179) | fn from(era_id: EraId) -> Self { method to_bytes (line 191) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 195) | fn serialized_length(&self) -> usize { method write_bytes (line 200) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 207) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method cl_type (line 215) | fn cl_type() -> CLType { function should_calculate_correct_inclusive_future_eras (line 228) | fn should_calculate_correct_inclusive_future_eras() { function should_have_valid_genesis_era_id (line 243) | fn should_have_valid_genesis_era_id() { function should_increment_era_id (line 250) | fn should_increment_era_id() { FILE: types/src/execution/effects.rs type Effects (line 20) | pub struct Effects(Vec); method new (line 24) | pub const fn new() -> Self { method transforms (line 29) | pub fn transforms(&self) -> &[TransformV2] { method push (line 34) | pub fn push(&mut self, transform: TransformV2) { method append (line 39) | pub fn append(&mut self, mut other: Self) { method is_empty (line 44) | pub fn is_empty(&self) -> bool { method len (line 49) | pub fn len(&self) -> usize { method value (line 54) | pub fn value(self) -> Vec { method random (line 60) | pub fn random(rng: &mut R) -> Self { method write_bytes (line 71) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method to_bytes (line 75) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 81) | fn serialized_length(&self) -> usize { method from_bytes (line 87) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function bytesrepr_roundtrip (line 100) | fn bytesrepr_roundtrip() { FILE: types/src/execution/execution_result.rs constant V1_TAG (line 22) | const V1_TAG: u8 = 0; constant V2_TAG (line 23) | const V2_TAG: u8 = 1; type ExecutionResult (line 30) | pub enum ExecutionResult { method cost (line 41) | pub fn cost(&self) -> U512 { method consumed (line 49) | pub fn consumed(&self) -> U512 { method refund (line 57) | pub fn refund(&self) -> Option { method random (line 66) | pub fn random(rng: &mut TestRng) -> Self { method error_message (line 75) | pub fn error_message(&self) -> Option { method transfers (line 86) | pub fn transfers(&self) -> Vec { method from (line 97) | fn from(value: ExecutionResultV1) -> Self { method from (line 103) | fn from(value: ExecutionResultV2) -> Self { method to_bytes (line 109) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 115) | fn serialized_length(&self) -> usize { method write_bytes (line 123) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 138) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function bytesrepr_roundtrip (line 174) | fn bytesrepr_roundtrip() { function bincode_roundtrip (line 183) | fn bincode_roundtrip() { function json_roundtrip (line 197) | fn json_roundtrip() { FILE: types/src/execution/execution_result_v1.rs type ExecutionResultTag (line 30) | enum ExecutionResultTag { type Error (line 36) | type Error = bytesrepr::Error; method try_from (line 38) | fn try_from(value: u8) -> Result { type OpTag (line 45) | enum OpTag { type Error (line 54) | type Error = bytesrepr::Error; method try_from (line 56) | fn try_from(value: u8) -> Result { type TransformTag (line 63) | enum TransformTag { type Error (line 89) | type Error = bytesrepr::Error; method try_from (line 91) | fn try_from(value: u8) -> Result { type ExecutionResultV1 (line 101) | pub enum ExecutionResultV1 { method cost (line 126) | pub fn cost(&self) -> U512 { method sample (line 137) | fn sample(&self, rng: &mut R) -> ExecutionResultV1 { method write_bytes (line 188) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method to_bytes (line 215) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 221) | fn serialized_length(&self) -> usize { method from_bytes (line 249) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { type ExecutionEffect (line 285) | pub struct ExecutionEffect { method write_bytes (line 293) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method to_bytes (line 298) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 304) | fn serialized_length(&self) -> usize { method from_bytes (line 310) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { type Operation (line 326) | pub struct Operation { method write_bytes (line 334) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method to_bytes (line 339) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 345) | fn serialized_length(&self) -> usize { method from_bytes (line 351) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { type OpKind (line 364) | pub enum OpKind { method tag (line 378) | fn tag(&self) -> OpTag { method write_bytes (line 390) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method to_bytes (line 395) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 401) | fn serialized_length(&self) -> usize { method from_bytes (line 407) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { type TransformV1 (line 424) | pub struct TransformV1 { method write_bytes (line 432) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method to_bytes (line 437) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 443) | fn serialized_length(&self) -> usize { method from_bytes (line 449) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { type TransformKindV1 (line 462) | pub enum TransformKindV1 { method write_bytes (line 512) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method to_bytes (line 598) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 604) | fn serialized_length(&self) -> usize { method from_bytes (line 634) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method sample (line 720) | fn sample(&self, rng: &mut R) -> TransformKindV1 { type NamedKey (line 756) | pub struct NamedKey { method write_bytes (line 765) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method to_bytes (line 770) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 776) | fn serialized_length(&self) -> usize { method from_bytes (line 782) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function bytesrepr_test_transform (line 796) | fn bytesrepr_test_transform() { function bytesrepr_test_execution_result (line 803) | fn bytesrepr_test_execution_result() { FILE: types/src/execution/execution_result_v2.rs constant LIMIT (line 55) | const LIMIT: u64 = 123_456; constant CONSUMED (line 56) | const CONSUMED: u64 = 100_000; constant COST (line 57) | const COST: u64 = 246_912; constant PRICE (line 59) | const PRICE: u8 = 2; type ExecutionResultV2 (line 82) | pub struct ExecutionResultV2 { method refund (line 108) | pub fn refund(&self) -> U512 { method example (line 115) | pub fn example() -> &'static Self { method random (line 121) | pub fn random(rng: &mut TestRng) -> Self { method to_bytes (line 166) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 172) | fn serialized_length(&self) -> usize { method write_bytes (line 185) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), Error> { method from_bytes (line 200) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { function bytesrepr_roundtrip (line 255) | fn bytesrepr_roundtrip() { FILE: types/src/execution/transform.rs type TransformV2 (line 21) | pub struct TransformV2 { method new (line 28) | pub fn new(key: Key, kind: TransformKindV2) -> Self { method key (line 33) | pub fn key(&self) -> &Key { method kind (line 38) | pub fn kind(&self) -> &TransformKindV2 { method destructure (line 43) | pub fn destructure(self) -> (Key, TransformKindV2) { method to_bytes (line 49) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 55) | fn serialized_length(&self) -> usize { method write_bytes (line 59) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 71) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { FILE: types/src/execution/transform_error.rs type TransformError (line 25) | pub enum TransformError { method from (line 51) | fn from(error: StoredValueTypeMismatch) -> Self { method from (line 57) | fn from(cl_value_error: CLValueError) -> TransformError { method fmt (line 35) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { method write_bytes (line 71) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method to_bytes (line 85) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 91) | fn serialized_length(&self) -> usize { method from_bytes (line 102) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method source (line 123) | fn source(&self) -> Option<&(dyn StdError + 'static)> { type TransformErrorTag (line 132) | enum TransformErrorTag { FILE: types/src/execution/transform_kind.rs type TransformInstruction (line 24) | pub enum TransformInstruction { method store (line 33) | pub fn store(stored_value: StoredValue) -> Self { method prune (line 38) | pub fn prune(key: Key) -> Self { method from (line 44) | fn from(value: StoredValue) -> Self { type TransformKindV2 (line 58) | pub enum TransformKindV2 { method apply (line 98) | pub fn apply(self, stored_value: StoredValue) -> Result(rng: &mut R) -> Self { method from (line 490) | fn from(x: U128) -> Self { method from (line 495) | fn from(x: U256) -> Self { method from (line 500) | fn from(x: U512) -> Self { method to_bytes (line 244) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 250) | fn serialized_length(&self) -> usize { method write_bytes (line 266) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 310) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function wrapping_addition (line 371) | fn wrapping_addition( function do_wrapping_addition (line 405) | fn do_wrapping_addition( type TransformTag (line 421) | enum TransformTag { constant ZERO_ARRAY (line 447) | const ZERO_ARRAY: [u8; 32] = [0; 32]; constant TEST_STR (line 448) | const TEST_STR: &str = "a"; constant TEST_BOOL (line 449) | const TEST_BOOL: bool = true; constant ZERO_I32 (line 451) | const ZERO_I32: i32 = 0; constant ONE_I32 (line 452) | const ONE_I32: i32 = 1; constant NEG_ONE_I32 (line 453) | const NEG_ONE_I32: i32 = -1; constant NEG_TWO_I32 (line 454) | const NEG_TWO_I32: i32 = -2; constant MIN_I32 (line 455) | const MIN_I32: i32 = i32::MIN; constant MAX_I32 (line 456) | const MAX_I32: i32 = i32::MAX; constant ZERO_I64 (line 458) | const ZERO_I64: i64 = 0; constant ONE_I64 (line 459) | const ONE_I64: i64 = 1; constant NEG_ONE_I64 (line 460) | const NEG_ONE_I64: i64 = -1; constant NEG_TWO_I64 (line 461) | const NEG_TWO_I64: i64 = -2; constant MIN_I64 (line 462) | const MIN_I64: i64 = i64::MIN; constant MAX_I64 (line 463) | const MAX_I64: i64 = i64::MAX; constant ZERO_U8 (line 465) | const ZERO_U8: u8 = 0; constant ONE_U8 (line 466) | const ONE_U8: u8 = 1; constant MAX_U8 (line 467) | const MAX_U8: u8 = u8::MAX; constant ZERO_U32 (line 469) | const ZERO_U32: u32 = 0; constant ONE_U32 (line 470) | const ONE_U32: u32 = 1; constant MAX_U32 (line 471) | const MAX_U32: u32 = u32::MAX; constant ZERO_U64 (line 473) | const ZERO_U64: u64 = 0; constant ONE_U64 (line 474) | const ONE_U64: u64 = 1; constant MAX_U64 (line 475) | const MAX_U64: u64 = u64::MAX; constant ZERO_U128 (line 477) | const ZERO_U128: U128 = U128([0; 2]); constant ONE_U128 (line 478) | const ONE_U128: U128 = U128([1, 0]); constant MAX_U128 (line 479) | const MAX_U128: U128 = U128([MAX_U64; 2]); constant ZERO_U256 (line 481) | const ZERO_U256: U256 = U256([0; 4]); constant ONE_U256 (line 482) | const ONE_U256: U256 = U256([1, 0, 0, 0]); constant MAX_U256 (line 483) | const MAX_U256: U256 = U256([MAX_U64; 4]); constant ZERO_U512 (line 485) | const ZERO_U512: U512 = U512([0; 8]); constant ONE_U512 (line 486) | const ONE_U512: U512 = U512([1, 0, 0, 0, 0, 0, 0, 0]); constant MAX_U512 (line 487) | const MAX_U512: U512 = U512([MAX_U64; 8]); function i32_overflow (line 506) | fn i32_overflow() { function uint_overflow_test (line 526) | fn uint_overflow_test() function u128_overflow (line 552) | fn u128_overflow() { function u256_overflow (line 557) | fn u256_overflow() { function u512_overflow (line 562) | fn u512_overflow() { function addition_between_mismatched_types_should_fail (line 567) | fn addition_between_mismatched_types_should_fail() { function wrapping_addition_should_succeed (line 639) | fn wrapping_addition_should_succeed() { function bytesrepr_roundtrip (line 881) | fn bytesrepr_roundtrip() { FILE: types/src/file_utils.rs type ReadFileError (line 15) | pub struct ReadFileError { type WriteFileError (line 26) | pub struct WriteFileError { function read_file (line 37) | pub fn read_file>(filename: P) -> Result, ReadFil... function write_file (line 48) | pub(crate) fn write_file, B: AsRef<[u8]>>( function write_private_file (line 62) | pub(crate) fn write_private_file, B: AsRef<[u8]>>( FILE: types/src/gas.rs type Gas (line 27) | pub struct Gas(U512); constant MAX (line 31) | pub const MAX: Gas = Gas(U512::MAX); method new (line 34) | pub fn new>(value: T) -> Self { method zero (line 39) | pub const fn zero() -> Self { method value (line 44) | pub fn value(&self) -> U512 { method from_motes (line 51) | pub fn from_motes(motes: Motes, motes_per_unit_of_gas: u8) -> Option Option { method checked_add (line 68) | pub fn checked_add(&self, rhs: Self) -> Option { method saturating_add (line 73) | pub fn saturating_add(self, rhs: Self) -> Self { method saturating_sub (line 78) | pub fn saturating_sub(self, rhs: Self) -> Self { method checked_sub (line 83) | pub fn checked_sub(&self, rhs: Self) -> Option { method checked_mul (line 88) | pub fn checked_mul(&self, rhs: Self) -> Option { method checked_div (line 93) | pub fn checked_div(&self, rhs: Self) -> Option { method random (line 99) | pub fn random(rng: &mut TestRng) -> Self { method fmt (line 126) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { method from (line 132) | fn from(gas: u32) -> Self { method from (line 139) | fn from(gas: u64) -> Self { method to_bytes (line 105) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 109) | fn serialized_length(&self) -> usize { method write_bytes (line 113) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 119) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function should_be_able_to_get_instance_of_gas (line 152) | fn should_be_able_to_get_instance_of_gas() { function should_be_able_to_compare_two_instances_of_gas (line 163) | fn should_be_able_to_compare_two_instances_of_gas() { function should_be_able_to_add_two_instances_of_gas (line 172) | fn should_be_able_to_add_two_instances_of_gas() { function should_be_able_to_subtract_two_instances_of_gas (line 184) | fn should_be_able_to_subtract_two_instances_of_gas() { function should_be_able_to_multiply_two_instances_of_gas (line 196) | fn should_be_able_to_multiply_two_instances_of_gas() { function should_be_able_to_divide_two_instances_of_gas (line 208) | fn should_be_able_to_divide_two_instances_of_gas() { function should_be_able_to_convert_from_mote (line 220) | fn should_be_able_to_convert_from_mote() { function should_be_able_to_default (line 228) | fn should_be_able_to_default() { function should_be_able_to_compare_relative_value (line 235) | fn should_be_able_to_compare_relative_value() { function should_support_checked_div_from_motes (line 247) | fn should_support_checked_div_from_motes() { FILE: types/src/gens.rs function u8_slice_32 (line 69) | pub fn u8_slice_32() -> impl Strategy { function u2_slice_32 (line 77) | pub fn u2_slice_32() -> impl Strategy { function named_keys_arb (line 86) | pub(crate) fn named_keys_arb(depth: usize) -> impl Strategy impl Strategy { function phase_arb (line 103) | pub fn phase_arb() -> impl Strategy { function uref_arb (line 111) | pub fn uref_arb() -> impl Strategy { function era_id_arb (line 116) | pub fn era_id_arb() -> impl Strategy { function named_key_addr_arb (line 120) | pub fn named_key_addr_arb() -> impl Strategy { function message_addr_arb (line 125) | pub fn message_addr_arb() -> impl Strategy { function entry_point_addr_arb (line 140) | pub fn entry_point_addr_arb() -> impl Strategy { function byte_code_addr_arb (line 146) | pub fn byte_code_addr_arb() -> impl Strategy { function key_arb (line 154) | pub fn key_arb() -> impl Strategy { function all_keys_arb (line 172) | pub fn all_keys_arb() -> impl Strategy { function colliding_key_arb (line 203) | pub fn colliding_key_arb() -> impl Strategy { function account_hash_arb (line 213) | pub fn account_hash_arb() -> impl Strategy { function entity_addr_arb (line 217) | pub fn entity_addr_arb() -> impl Strategy { function topic_name_hash_arb (line 225) | pub fn topic_name_hash_arb() -> impl Strategy { function bid_addr_validator_arb (line 229) | pub fn bid_addr_validator_arb() -> impl Strategy { function bid_addr_delegator_arb (line 233) | pub fn bid_addr_delegator_arb() -> impl Strategy { function bid_legacy_arb (line 239) | pub fn bid_legacy_arb() -> impl Strategy { function bid_addr_delegated_arb (line 243) | pub fn bid_addr_delegated_arb() -> impl Strategy { function bid_addr_credit_arb (line 249) | pub fn bid_addr_credit_arb() -> impl Strategy { function bid_addr_reservation_account_arb (line 254) | pub fn bid_addr_reservation_account_arb() -> impl Strategy impl Strategy { function bid_addr_new_unbond_account_arb (line 264) | pub fn bid_addr_new_unbond_account_arb() -> impl Strategy impl Strategy { function balance_hold_addr_arb (line 282) | pub fn balance_hold_addr_arb() -> impl Strategy { function block_global_addr_arb (line 288) | pub fn block_global_addr_arb() -> impl Strategy { function weight_arb (line 295) | pub fn weight_arb() -> impl Strategy { function account_weight_arb (line 299) | pub fn account_weight_arb() -> impl Strategy { function sem_ver_arb (line 303) | pub fn sem_ver_arb() -> impl Strategy { function protocol_version_arb (line 308) | pub fn protocol_version_arb() -> impl Strategy { function u128_arb (line 312) | pub fn u128_arb() -> impl Strategy { function u256_arb (line 316) | pub fn u256_arb() -> impl Strategy { function u512_arb (line 320) | pub fn u512_arb() -> impl Strategy { function cl_simple_type_arb (line 328) | pub fn cl_simple_type_arb() -> impl Strategy { function cl_type_arb (line 346) | pub fn cl_type_arb() -> impl Strategy { function cl_value_arb (line 385) | pub fn cl_value_arb() -> impl Strategy { function result_arb (line 448) | pub fn result_arb() -> impl Strategy> { function named_args_arb (line 452) | pub fn named_args_arb() -> impl Strategy { function group_arb (line 456) | pub fn group_arb() -> impl Strategy { function entry_point_access_arb (line 460) | pub fn entry_point_access_arb() -> impl Strategy impl Strategy { function entry_point_payment_arb (line 476) | pub fn entry_point_payment_arb() -> impl Strategy impl Strategy { function parameters_arb (line 488) | pub fn parameters_arb() -> impl Strategy { function entry_point_arb (line 492) | pub fn entry_point_arb() -> impl Strategy { function contract_entry_point_arb (line 515) | pub fn contract_entry_point_arb() -> impl Strategy impl Strategy { function contract_entry_points_arb (line 534) | pub fn contract_entry_points_arb() -> impl Strategy impl Strategy { function account_arb (line 552) | pub fn account_arb() -> impl Strategy { function contract_package_arb (line 573) | pub fn contract_package_arb() -> impl Strategy { function contract_arb (line 591) | pub fn contract_arb() -> impl Strategy { function system_entity_type_arb (line 618) | pub fn system_entity_type_arb() -> impl Strategy impl Strategy impl Strategy { function addressable_entity_hash_arb (line 642) | pub fn addressable_entity_hash_arb() -> impl Strategy impl Strategy impl Strategy { function contract_version_key_arb (line 684) | pub fn contract_version_key_arb() -> impl Strategy impl Strategy impl Strategy { function entity_versions_arb (line 702) | pub fn entity_versions_arb() -> impl Strategy { function disabled_versions_arb (line 707) | pub fn disabled_versions_arb() -> impl Strategy impl Strategy impl Strategy { function package_arb (line 720) | pub fn package_arb() -> impl Strategy { function delegator_arb (line 733) | pub(crate) fn delegator_arb() -> impl Strategy { function delegator_kind_arb (line 747) | pub(crate) fn delegator_kind_arb() -> impl Strategy impl Strategy { function delegation_rate_arb (line 773) | fn delegation_rate_arb() -> impl Strategy { function reservation_bid_arb (line 777) | pub(crate) fn reservation_bid_arb() -> impl Strategy { function reservation_arb (line 781) | pub(crate) fn reservation_arb() -> impl Strategy { function unified_bid_arb (line 792) | pub(crate) fn unified_bid_arb( function delegator_bid_kind_arb (line 839) | pub(crate) fn delegator_bid_kind_arb() -> impl Strategy { function validator_bid_arb (line 843) | pub(crate) fn validator_bid_arb() -> impl Strategy { function credit_bid_arb (line 880) | pub(crate) fn credit_bid_arb() -> impl Strategy { function withdraw_arb (line 892) | fn withdraw_arb() -> impl Strategy { function withdraws_arb (line 905) | fn withdraws_arb(size: impl Into) -> impl Strategy impl Strategy { function unbondings_arb (line 939) | fn unbondings_arb(size: impl Into) -> impl Strategy impl Strategy impl Strategy { function named_key_value_arb (line 957) | pub fn named_key_value_arb() -> impl Strategy { function stored_value_arb (line 965) | pub fn stored_value_arb() -> impl Strategy { function blake2b_hash_arb (line 1017) | pub fn blake2b_hash_arb() -> impl Strategy { function trie_pointer_arb (line 1021) | pub fn trie_pointer_arb() -> impl Strategy { function trie_merkle_proof_step_arb (line 1028) | pub fn trie_merkle_proof_step_arb() -> impl Strategy impl Strategy impl Strategy impl Strategy impl Strategy impl Strategy impl Strategy { function seed_arb (line 1123) | fn seed_arb() -> impl Strategy> { function session_transaction_target (line 1127) | pub fn session_transaction_target() -> impl Strategy impl Strategy impl Strategy impl Strategy impl Strategy { function transaction_args_bytes_arbitrary (line 1236) | fn transaction_args_bytes_arbitrary() -> impl Strategy impl Strategy { function fields_arb (line 1248) | pub fn fields_arb() -> impl Strategy> { function v1_transaction_payload_arb (line 1255) | pub fn v1_transaction_payload_arb() -> impl Strategy impl Strategy { function pricing_mode_arb (line 1287) | pub fn pricing_mode_arb() -> impl Strategy { function initiator_addr_arb (line 1302) | pub fn initiator_addr_arb() -> impl Strategy { function timestamp_arb (line 1309) | pub fn timestamp_arb() -> impl Strategy { function legal_v1_transaction_arb (line 1315) | pub fn legal_v1_transaction_arb() -> impl Strategy { function v1_transaction_arb (line 1355) | pub fn v1_transaction_arb() -> impl Strategy { function transaction_arb (line 1403) | pub fn transaction_arb() -> impl Strategy { function legal_transaction_arb (line 1407) | pub fn legal_transaction_arb() -> impl Strategy { function example_u32_arb (line 1410) | pub fn example_u32_arb() -> impl Strategy { FILE: types/src/global_state/merkle_proof.rs constant TRIE_MERKLE_PROOF_STEP_NODE_ID (line 11) | const TRIE_MERKLE_PROOF_STEP_NODE_ID: u8 = 0; constant TRIE_MERKLE_PROOF_STEP_EXTENSION_ID (line 12) | const TRIE_MERKLE_PROOF_STEP_EXTENSION_ID: u8 = 1; type TrieMerkleProofStep (line 16) | pub enum TrieMerkleProofStep { method node (line 33) | pub fn node(hole_index: u8, indexed_pointers_with_hole: Vec<(u8, Point... method extension (line 41) | pub fn extension(affix: Vec) -> Self { method random (line 49) | pub fn random(rng: &mut TestRng) -> Self { method to_bytes (line 70) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 89) | fn serialized_length(&self) -> usize { method from_bytes (line 105) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { type TrieMerkleProof (line 132) | pub struct TrieMerkleProof { function new (line 140) | pub fn new(key: K, value: V, proof_steps: VecDeque)... function key (line 149) | pub fn key(&self) -> &K { function value (line 154) | pub fn value(&self) -> &V { function proof_steps (line 159) | pub fn proof_steps(&self) -> &VecDeque { function into_value (line 164) | pub fn into_value(self) -> V { method to_bytes (line 174) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 182) | fn serialized_length(&self) -> usize { method from_bytes (line 194) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { FILE: types/src/global_state/pointer.rs type Pointer (line 16) | pub enum Pointer { method hash (line 25) | pub fn hash(&self) -> &Digest { method into_hash (line 33) | pub fn into_hash(self) -> Digest { method update (line 41) | pub fn update(&self, hash: Digest) -> Self { method tag (line 49) | fn tag(&self) -> u8 { method random (line 58) | pub fn random(rng: &mut TestRng) -> Self { method to_bytes (line 70) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 77) | fn serialized_length(&self) -> usize { method write_bytes (line 82) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 90) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { FILE: types/src/json_pretty_printer.rs constant MAX_STRING_LEN (line 9) | const MAX_STRING_LEN: usize = 150; type SubstringSpec (line 13) | struct SubstringSpec { method new (line 22) | fn new(start_index: usize, length: usize) -> Self { method eq (line 117) | fn eq(&self, other: &(usize, usize)) -> bool { function json_pretty_print (line 36) | pub fn json_pretty_print(value: &T) -> serde_json::Result function find_hex_strings_longer_than (line 48) | fn find_hex_strings_longer_than(string: &str, max_len: usize) -> Vec String { function finds_hex_strings_longer_than (line 123) | fn finds_hex_strings_longer_than() { function respects_length (line 158) | fn respects_length() { function should_shorten_long_strings (line 171) | fn should_shorten_long_strings() { function should_not_modify_short_strings (line 234) | fn should_not_modify_short_strings() { function regression_1456 (line 271) | fn regression_1456() { FILE: types/src/key.rs constant HASH_PREFIX (line 61) | const HASH_PREFIX: &str = "hash-"; constant DEPLOY_INFO_PREFIX (line 62) | const DEPLOY_INFO_PREFIX: &str = "deploy-"; constant TRANSFER_PREFIX (line 63) | const TRANSFER_PREFIX: &str = "transfer-"; constant ERA_INFO_PREFIX (line 64) | const ERA_INFO_PREFIX: &str = "era-"; constant BALANCE_PREFIX (line 65) | const BALANCE_PREFIX: &str = "balance-"; constant BALANCE_HOLD_PREFIX (line 66) | const BALANCE_HOLD_PREFIX: &str = "balance-hold-"; constant BID_PREFIX (line 67) | const BID_PREFIX: &str = "bid-"; constant WITHDRAW_PREFIX (line 68) | const WITHDRAW_PREFIX: &str = "withdraw-"; constant DICTIONARY_PREFIX (line 69) | const DICTIONARY_PREFIX: &str = "dictionary-"; constant UNBOND_PREFIX (line 70) | const UNBOND_PREFIX: &str = "unbond-"; constant SYSTEM_ENTITY_REGISTRY_PREFIX (line 71) | const SYSTEM_ENTITY_REGISTRY_PREFIX: &str = "system-entity-registry-"; constant ERA_SUMMARY_PREFIX (line 72) | const ERA_SUMMARY_PREFIX: &str = "era-summary-"; constant CHAINSPEC_REGISTRY_PREFIX (line 73) | const CHAINSPEC_REGISTRY_PREFIX: &str = "chainspec-registry-"; constant CHECKSUM_REGISTRY_PREFIX (line 74) | const CHECKSUM_REGISTRY_PREFIX: &str = "checksum-registry-"; constant BID_ADDR_PREFIX (line 75) | const BID_ADDR_PREFIX: &str = "bid-addr-"; constant PACKAGE_PREFIX (line 76) | const PACKAGE_PREFIX: &str = "package-"; constant BLOCK_GLOBAL_TIME_PREFIX (line 77) | const BLOCK_GLOBAL_TIME_PREFIX: &str = "block-time-"; constant BLOCK_GLOBAL_MESSAGE_COUNT_PREFIX (line 78) | const BLOCK_GLOBAL_MESSAGE_COUNT_PREFIX: &str = "block-message-count-"; constant BLOCK_GLOBAL_PROTOCOL_VERSION_PREFIX (line 79) | const BLOCK_GLOBAL_PROTOCOL_VERSION_PREFIX: &str = "block-protocol-versi... constant BLOCK_GLOBAL_ADDRESSABLE_ENTITY_PREFIX (line 80) | const BLOCK_GLOBAL_ADDRESSABLE_ENTITY_PREFIX: &str = "block-addressable-... constant STATE_PREFIX (line 81) | const STATE_PREFIX: &str = "state-"; constant REWARDS_HANDLING_PREFIX (line 82) | const REWARDS_HANDLING_PREFIX: &str = "rewards-handling-"; constant BLAKE2B_DIGEST_LENGTH (line 85) | pub const BLAKE2B_DIGEST_LENGTH: usize = 32; constant KEY_HASH_LENGTH (line 87) | pub const KEY_HASH_LENGTH: usize = 32; constant KEY_TRANSFER_LENGTH (line 89) | pub const KEY_TRANSFER_LENGTH: usize = TRANSFER_ADDR_LENGTH; constant KEY_DEPLOY_INFO_LENGTH (line 91) | pub const KEY_DEPLOY_INFO_LENGTH: usize = DeployHash::LENGTH; constant KEY_DICTIONARY_LENGTH (line 93) | pub const KEY_DICTIONARY_LENGTH: usize = 32; constant DICTIONARY_ITEM_KEY_MAX_LENGTH (line 95) | pub const DICTIONARY_ITEM_KEY_MAX_LENGTH: usize = 128; constant ADDR_LENGTH (line 97) | pub const ADDR_LENGTH: usize = 32; constant PADDING_BYTES (line 98) | const PADDING_BYTES: [u8; 32] = [0u8; 32]; constant BLOCK_GLOBAL_PADDING_BYTES (line 99) | const BLOCK_GLOBAL_PADDING_BYTES: [u8; 31] = [0u8; 31]; constant KEY_ID_SERIALIZED_LENGTH (line 100) | const KEY_ID_SERIALIZED_LENGTH: usize = 1; constant KEY_HASH_SERIALIZED_LENGTH (line 102) | const KEY_HASH_SERIALIZED_LENGTH: usize = KEY_ID_SERIALIZED_LENGTH + KEY... constant KEY_UREF_SERIALIZED_LENGTH (line 103) | const KEY_UREF_SERIALIZED_LENGTH: usize = KEY_ID_SERIALIZED_LENGTH + URE... constant KEY_TRANSFER_SERIALIZED_LENGTH (line 104) | const KEY_TRANSFER_SERIALIZED_LENGTH: usize = KEY_ID_SERIALIZED_LENGTH +... constant KEY_DEPLOY_INFO_SERIALIZED_LENGTH (line 105) | const KEY_DEPLOY_INFO_SERIALIZED_LENGTH: usize = KEY_ID_SERIALIZED_LENGT... constant KEY_ERA_INFO_SERIALIZED_LENGTH (line 106) | const KEY_ERA_INFO_SERIALIZED_LENGTH: usize = KEY_ID_SERIALIZED_LENGTH +... constant KEY_BALANCE_SERIALIZED_LENGTH (line 107) | const KEY_BALANCE_SERIALIZED_LENGTH: usize = KEY_ID_SERIALIZED_LENGTH + ... constant KEY_BID_SERIALIZED_LENGTH (line 108) | const KEY_BID_SERIALIZED_LENGTH: usize = KEY_ID_SERIALIZED_LENGTH + KEY_... constant KEY_WITHDRAW_SERIALIZED_LENGTH (line 109) | const KEY_WITHDRAW_SERIALIZED_LENGTH: usize = KEY_ID_SERIALIZED_LENGTH +... constant KEY_UNBOND_SERIALIZED_LENGTH (line 110) | const KEY_UNBOND_SERIALIZED_LENGTH: usize = KEY_ID_SERIALIZED_LENGTH + K... constant KEY_DICTIONARY_SERIALIZED_LENGTH (line 111) | const KEY_DICTIONARY_SERIALIZED_LENGTH: usize = KEY_ID_SERIALIZED_LENGTH... constant KEY_SYSTEM_ENTITY_REGISTRY_SERIALIZED_LENGTH (line 112) | const KEY_SYSTEM_ENTITY_REGISTRY_SERIALIZED_LENGTH: usize = constant KEY_ERA_SUMMARY_SERIALIZED_LENGTH (line 114) | const KEY_ERA_SUMMARY_SERIALIZED_LENGTH: usize = KEY_ID_SERIALIZED_LENGT... constant KEY_CHAINSPEC_REGISTRY_SERIALIZED_LENGTH (line 115) | const KEY_CHAINSPEC_REGISTRY_SERIALIZED_LENGTH: usize = constant KEY_CHECKSUM_REGISTRY_SERIALIZED_LENGTH (line 117) | const KEY_CHECKSUM_REGISTRY_SERIALIZED_LENGTH: usize = constant KEY_REWARDS_HANDLING_SERIALIZED_LENGTH (line 119) | const KEY_REWARDS_HANDLING_SERIALIZED_LENGTH: usize = constant KEY_PACKAGE_SERIALIZED_LENGTH (line 121) | const KEY_PACKAGE_SERIALIZED_LENGTH: usize = KEY_ID_SERIALIZED_LENGTH + 32; constant KEY_MESSAGE_SERIALIZED_LENGTH (line 122) | const KEY_MESSAGE_SERIALIZED_LENGTH: usize = KEY_ID_SERIALIZED_LENGTH constant MAX_SERIALIZED_LENGTH (line 129) | const MAX_SERIALIZED_LENGTH: usize = KEY_MESSAGE_SERIALIZED_LENGTH; type HashAddr (line 132) | pub type HashAddr = [u8; KEY_HASH_LENGTH]; type PackageAddr (line 135) | pub type PackageAddr = [u8; ADDR_LENGTH]; type DictionaryAddr (line 138) | pub type DictionaryAddr = [u8; KEY_DICTIONARY_LENGTH]; type KeyTag (line 143) | pub enum KeyTag { method random (line 175) | pub fn random(rng: &mut TestRng) -> Self { method fmt (line 208) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { method to_bytes (line 241) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 247) | fn serialized_length(&self) -> usize { method write_bytes (line 251) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), Error> { method from_bytes (line 258) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { type Key (line 298) | pub enum Key { method type_string (line 524) | pub fn type_string(&self) -> String { method max_serialized_length (line 556) | pub const fn max_serialized_length() -> usize { method normalize (line 564) | pub fn normalize(self) -> Key { method to_formatted_string (line 572) | pub fn to_formatted_string(self) -> String { method from_formatted_str (line 691) | pub fn from_formatted_str(input: &str) -> Result { method into_account (line 1019) | pub fn into_account(self) -> Option { method into_hash_addr (line 1028) | pub fn into_hash_addr(self) -> Option { method into_entity_hash_addr (line 1037) | pub fn into_entity_hash_addr(self) -> Option { method into_package_addr (line 1048) | pub fn into_package_addr(self) -> Option { method into_entity_hash (line 1058) | pub fn into_entity_hash(self) -> Option { method into_package_hash (line 1065) | pub fn into_package_hash(self) -> Option { method into_named_key_addr (line 1072) | pub fn into_named_key_addr(self) -> Option { method into_uref (line 1080) | pub fn into_uref(self) -> Option { method as_uref (line 1089) | pub fn as_uref(&self) -> Option<&URef> { method as_uref_mut (line 1098) | pub fn as_uref_mut(&mut self) -> Option<&mut URef> { method as_balance (line 1107) | pub fn as_balance(&self) -> Option<&URefAddr> { method as_balance_hold (line 1117) | pub fn as_balance_hold(&self) -> Option<&BalanceHoldAddr> { method as_dictionary (line 1127) | pub fn as_dictionary(&self) -> Option<&DictionaryAddr> { method as_bid_addr (line 1136) | pub fn as_bid_addr(&self) -> Option<&BidAddr> { method as_message_topic_name_hash (line 1146) | pub fn as_message_topic_name_hash(&self) -> Option { method uref_to_hash (line 1155) | pub fn uref_to_hash(&self) -> Option { method withdraw_to_unbond (line 1162) | pub fn withdraw_to_unbond(&self) -> Option { method dictionary (line 1171) | pub fn dictionary(seed_uref: URef, dictionary_item_key: &[u8]) -> Key { method addressable_entity_key (line 1184) | pub fn addressable_entity_key( method contract_entity_key (line 1198) | pub fn contract_entity_key(entity_hash: AddressableEntityHash) -> Key { method byte_code_key (line 1203) | pub fn byte_code_key(byte_code_addr: ByteCodeAddr) -> Self { method message (line 1209) | pub fn message(entity_addr: EntityAddr, topic_name_hash: TopicNameHash... method message_topic (line 1219) | pub fn message_topic(entity_addr: EntityAddr, topic_name_hash: TopicNa... method entry_point (line 1224) | pub fn entry_point(entry_point_addr: EntryPointAddr) -> Self { method is_dictionary_key (line 1229) | pub fn is_dictionary_key(&self) -> bool { method is_balance_key (line 1237) | pub fn is_balance_key(&self) -> bool { method is_bid_addr_key (line 1245) | pub fn is_bid_addr_key(&self) -> bool { method is_named_key (line 1253) | pub fn is_named_key(&self) -> bool { method is_system_key (line 1262) | pub fn is_system_key(&self) -> bool { method is_smart_contract_key (line 1273) | pub fn is_smart_contract_key(&self) -> bool { method is_named_key_entry (line 1281) | pub fn is_named_key_entry(&self) -> bool { method is_entry_for_base (line 1287) | pub fn is_entry_for_base(&self, entity_addr: &EntityAddr) -> bool { method is_readable (line 1296) | pub fn is_readable(&self, entity_addr: &EntityAddr) -> bool { method is_addable (line 1343) | pub fn is_addable(&self, entity_addr: &EntityAddr) -> bool { method is_writeable (line 1371) | pub fn is_writeable(&self, entity_addr: &EntityAddr) -> bool { method into_entity_addr (line 1395) | pub fn into_entity_addr(self) -> Option { method tag (line 1501) | fn tag(&self) -> KeyTag { method tag (line 1534) | fn tag(&self) -> u8 { method from (line 1541) | fn from(uref: URef) -> Key { method from (line 1547) | fn from(account_hash: AccountHash) -> Key { method from (line 1553) | fn from(package_hash: PackageHash) -> Key { method from (line 1559) | fn from(wasm_hash: ContractWasmHash) -> Self { method from (line 1565) | fn from(contract_package_hash: ContractPackageHash) -> Self { method from (line 1571) | fn from(contract_hash: ContractHash) -> Self { method from (line 1577) | fn from(entity_addr: EntityAddr) -> Self { method from (line 1583) | fn from(value: NamedKeyAddr) -> Self { method from (line 1589) | fn from(value: ByteCodeAddr) -> Self { method from (line 1979) | fn from(helper: BinaryDeserHelper) -> Self { method deserialize (line 2029) | fn deserialize>(deserializer: D) -> Result String { method json_schema (line 361) | fn json_schema(gen: &mut schemars::gen::SchemaGenerator) -> schemars::sc... type FromStrError (line 376) | pub enum FromStrError { method from (line 433) | fn from(error: addressable_entity::FromStrError) -> Self { method from (line 439) | fn from(error: uref::FromStrError) -> Self { method from (line 445) | fn from(error: contract_messages::FromStrError) -> Self { method fmt (line 451) | fn fmt(&self, f: &mut Formatter) -> fmt::Result { method fmt (line 1404) | fn fmt(&self, f: &mut Formatter) -> fmt::Result { method fmt (line 1495) | fn fmt(&self, f: &mut Formatter) -> fmt::Result { method to_bytes (line 1595) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 1601) | fn serialized_length(&self) -> usize { method write_bytes (line 1650) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), Error> { method from_bytes (line 1687) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { function please_add_to_distribution_impl (line 1809) | fn please_add_to_distribution_impl(key: Key) { method sample (line 1844) | fn sample(&self, rng: &mut R) -> Key { type BinarySerHelper (line 1880) | pub(super) enum BinarySerHelper<'a> { type BinaryDeserHelper (line 1911) | pub(super) enum BinaryDeserHelper { function from (line 1942) | fn from(key: &'a Key) -> Self { method serialize (line 2019) | fn serialize(&self, serializer: S) -> Result>(value: T) -> Self { method zero (line 30) | pub const fn zero() -> Self { method checked_add (line 35) | pub fn checked_add(&self, rhs: Self) -> Option { method checked_sub (line 40) | pub fn checked_sub(&self, rhs: Self) -> Option { method checked_mul (line 46) | pub fn checked_mul(&self, rhs: Self) -> Option { method checked_div (line 51) | pub fn checked_div(&self, rhs: Self) -> Option { method value (line 56) | pub fn value(&self) -> U512 { method from_gas (line 63) | pub fn from_gas(gas: Gas, conv_rate: u8) -> Option { method from_price (line 72) | pub fn from_price(amount: U512, price: u8) -> Option { method fmt (line 78) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { method to_bytes (line 84) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 88) | fn serialized_length(&self) -> usize { method from_bytes (line 94) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function should_be_able_to_get_instance_of_motes (line 107) | fn should_be_able_to_get_instance_of_motes() { function should_be_able_to_compare_two_instances_of_motes (line 118) | fn should_be_able_to_compare_two_instances_of_motes() { function should_be_able_to_add_two_instances_of_motes (line 127) | fn should_be_able_to_add_two_instances_of_motes() { function should_be_able_to_subtract_two_instances_of_motes (line 139) | fn should_be_able_to_subtract_two_instances_of_motes() { function should_be_able_to_multiply_two_instances_of_motes (line 151) | fn should_be_able_to_multiply_two_instances_of_motes() { function should_be_able_to_divide_two_instances_of_motes (line 163) | fn should_be_able_to_divide_two_instances_of_motes() { function should_be_able_to_convert_from_motes (line 175) | fn should_be_able_to_convert_from_motes() { function should_be_able_to_default (line 183) | fn should_be_able_to_default() { function should_be_able_to_compare_relative_value (line 190) | fn should_be_able_to_compare_relative_value() { function should_default (line 202) | fn should_default() { function should_support_checked_mul_from_gas (line 211) | fn should_support_checked_mul_from_gas() { FILE: types/src/package.rs constant PACKAGE_STRING_PREFIX (line 35) | const PACKAGE_STRING_PREFIX: &str = "package-"; type TryFromSliceForPackageHashError (line 39) | pub struct TryFromSliceForPackageHashError(()); method fmt (line 42) | fn fmt(&self, f: &mut Formatter) -> fmt::Result { type Group (line 52) | pub struct Group(String); method new (line 56) | pub fn new>(s: T) -> Self { method value (line 61) | pub fn value(&self) -> &str { method from (line 67) | fn from(group: Group) -> Self { method to_bytes (line 73) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 77) | fn serialized_length(&self) -> usize { method write_bytes (line 81) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 88) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { type EntityVersion (line 94) | pub type EntityVersion = u32; constant ENTITY_INITIAL_VERSION (line 97) | pub const ENTITY_INITIAL_VERSION: EntityVersion = 1; type ProtocolVersionMajor (line 100) | pub type ProtocolVersionMajor = u32; type EntityVersionKey (line 106) | pub struct EntityVersionKey { method new (line 115) | pub fn new( method protocol_version_major (line 126) | pub fn protocol_version_major(self) -> ProtocolVersionMajor { method entity_version (line 131) | pub fn entity_version(self) -> EntityVersion { function from (line 137) | fn from(entity_version_key: EntityVersionKey) -> Self { method to_bytes (line 146) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 152) | fn serialized_length(&self) -> usize { method write_bytes (line 156) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 163) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method fmt (line 177) | fn fmt(&self, f: &mut Formatter) -> fmt::Result { method sample (line 184) | fn sample(&self, rng: &mut R) -> EntityVersionKey { constant ENTITY_VERSION_KEY_SERIALIZED_LENGTH (line 193) | pub const ENTITY_VERSION_KEY_SERIALIZED_LENGTH: usize = type EntityVersions (line 201) | pub struct EntityVersions( method new (line 208) | pub const fn new() -> Self { method contract_hashes (line 213) | pub fn contract_hashes(&self) -> impl Iterator { method get (line 218) | pub fn get(&self, key: &EntityVersionKey) -> Option<&EntityAddr> { method maybe_first (line 223) | pub fn maybe_first(&mut self) -> Option<(EntityVersionKey, EntityAddr)> { method version_count (line 232) | pub fn version_count(&self) -> usize { method latest (line 237) | pub fn latest(&self) -> Option<&EntityAddr> { method iter_entries (line 243) | pub fn iter_entries(&self) -> impl Iterator) -> Self { method to_bytes (line 249) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 253) | fn serialized_length(&self) -> usize { method write_bytes (line 257) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 263) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { type EntityVersionLabels (line 275) | struct EntityVersionLabels; constant KEY (line 278) | const KEY: &'static str = "entity_version_key"; constant VALUE (line 279) | const VALUE: &'static str = "entity_addr"; constant JSON_SCHEMA_KV_NAME (line 284) | const JSON_SCHEMA_KV_NAME: Option<&'static str> = Some("EntityVersionAnd... type Groups (line 292) | pub struct Groups( method new (line 299) | pub const fn new() -> Self { method insert (line 307) | pub fn insert(&mut self, name: Group, urefs: BTreeSet) -> Option... method contains (line 312) | pub fn contains(&self, name: &Group) -> bool { method get (line 317) | pub fn get(&self, name: &Group) -> Option<&BTreeSet> { method get_mut (line 322) | pub fn get_mut(&mut self, name: &Group) -> Option<&mut BTreeSet> { method len (line 327) | pub fn len(&self) -> usize { method is_empty (line 332) | pub fn is_empty(&self) -> bool { method keys (line 337) | pub fn keys(&self) -> impl Iterator> { method total_urefs (line 342) | pub fn total_urefs(&self) -> usize { method from (line 382) | fn from(value: BTreeMap>) -> Self { method to_bytes (line 348) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 352) | fn serialized_length(&self) -> usize { method write_bytes (line 356) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 362) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { type GroupLabels (line 368) | struct GroupLabels; constant KEY (line 371) | const KEY: &'static str = "group_name"; constant VALUE (line 372) | const VALUE: &'static str = "group_users"; constant JSON_SCHEMA_KV_NAME (line 377) | const JSON_SCHEMA_KV_NAME: Option<&'static str> = Some("NamedUserGroup"); type PackageHash (line 395) | pub struct PackageHash( method new (line 401) | pub const fn new(value: HashAddr) -> PackageHash { method value (line 406) | pub fn value(&self) -> HashAddr { method as_bytes (line 411) | pub fn as_bytes(&self) -> &[u8] { method to_formatted_string (line 416) | pub fn to_formatted_string(self) -> String { method from_formatted_str (line 422) | pub fn from_formatted_str(input: &str) -> Result { method from_public_key (line 432) | pub fn from_public_key( method from (line 505) | fn from(bytes: [u8; 32]) -> Self { method deserialize (line 521) | fn deserialize>(deserializer: D) -> Result &[u8] { type Error (line 539) | type Error = TryFromSliceForPackageHashError; method try_from (line 541) | fn try_from(bytes: &[u8]) -> Result) -> Result { method from (line 559) | fn from(public_key: &PublicKey) -> Self { method fmt (line 462) | fn fmt(&self, f: &mut Formatter<'_>) -> core::fmt::Result { method fmt (line 468) | fn fmt(&self, f: &mut Formatter) -> core::fmt::Result { method cl_type (line 474) | fn cl_type() -> CLType { method to_bytes (line 481) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 486) | fn serialized_length(&self) -> usize { method write_bytes (line 491) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 498) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method serialize (line 511) | fn serialize(&self, serializer: S) -> Result Self { method default (line 587) | fn default() -> Self { method to_bytes (line 593) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 602) | fn serialized_length(&self) -> usize { method write_bytes (line 609) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 619) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { type Package (line 630) | pub struct Package { method new (line 652) | pub fn new( method enable_version (line 667) | pub fn enable_version(&mut self, entity_addr: EntityAddr) -> Result<()... method groups_mut (line 679) | pub fn groups_mut(&mut self) -> &mut Groups { method groups (line 684) | pub fn groups(&self) -> &Groups { method add_group (line 689) | pub fn add_group(&mut self, group: Group, urefs: BTreeSet) { method lookup_entity_hash (line 695) | pub fn lookup_entity_hash(&self, entity_version_key: EntityVersionKey)... method is_version_missing (line 700) | pub fn is_version_missing(&self, entity_version_key: EntityVersionKey)... method is_version_enabled (line 705) | pub fn is_version_enabled(&self, entity_version_key: EntityVersionKey)... method is_entity_enabled (line 711) | pub fn is_entity_enabled(&self, entity_hash: &EntityAddr) -> bool { method insert_entity_version (line 719) | pub fn insert_entity_version( method disable_entity_version (line 731) | pub fn disable_entity_version(&mut self, entity_hash: EntityAddr) -> R... method find_entity_version_key_by_hash (line 747) | fn find_entity_version_key_by_hash( method versions (line 759) | pub fn versions(&self) -> &EntityVersions { method enabled_versions (line 764) | pub fn enabled_versions(&self) -> EntityVersions { method versions_mut (line 776) | pub fn versions_mut(&mut self) -> &mut EntityVersions { method take_versions (line 781) | pub fn take_versions(self) -> EntityVersions { method disabled_versions (line 786) | pub fn disabled_versions(&self) -> &BTreeSet { method disabled_versions_mut (line 791) | pub fn disabled_versions_mut(&mut self) -> &mut BTreeSet bool { method next_entity_version_for (line 801) | pub fn next_entity_version_for(&self, protocol_version: ProtocolVersio... method current_entity_version_for (line 819) | pub fn current_entity_version_for( method current_entity_version (line 841) | pub fn current_entity_version(&self) -> Option { method current_entity_hash (line 846) | pub fn current_entity_hash(&self) -> Option { method is_locked (line 851) | pub fn is_locked(&self) -> bool { method get_lock_status (line 863) | pub fn get_lock_status(&self) -> PackageStatus { method cl_type (line 645) | fn cl_type() -> CLType { method to_bytes (line 869) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 875) | fn serialized_length(&self) -> usize { method write_bytes (line 882) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 893) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { constant ENTITY_HASH_V1 (line 921) | const ENTITY_HASH_V1: EntityAddr = EntityAddr::new_smart_contract([42; 3... constant ENTITY_HASH_V2 (line 922) | const ENTITY_HASH_V2: EntityAddr = EntityAddr::new_smart_contract([84; 3... function make_package_with_two_versions (line 924) | fn make_package_with_two_versions() -> Package { function next_entity_version (line 983) | fn next_entity_version() { function roundtrip_serialization (line 1009) | fn roundtrip_serialization() { function should_remove_group (line 1018) | fn should_remove_group() { function should_disable_and_enable_entity_version (line 1027) | fn should_disable_and_enable_entity_version() { function should_not_allow_to_enable_non_existing_version (line 1201) | fn should_not_allow_to_enable_non_existing_version() { function package_hash_from_slice (line 1211) | fn package_hash_from_slice() { function package_hash_from_str (line 1219) | fn package_hash_from_str() { FILE: types/src/peers_map.rs type PeerEntry (line 23) | pub struct PeerEntry { method random (line 32) | pub(crate) fn random(rng: &mut TestRng) -> Self { method to_bytes (line 41) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method write_bytes (line 47) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method serialized_length (line 52) | fn serialized_length(&self) -> usize { method from_bytes (line 58) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { type Peers (line 69) | pub struct Peers(Vec); method into_inner (line 73) | pub fn into_inner(self) -> Vec { method random (line 79) | pub fn random(rng: &mut TestRng) -> Self { method from (line 90) | fn from(input: BTreeMap) -> Self { method to_bytes (line 103) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method write_bytes (line 109) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method serialized_length (line 113) | fn serialized_length(&self) -> usize { method from_bytes (line 119) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function bytesrepr_roundtrip (line 131) | fn bytesrepr_roundtrip() { function bytesrepr_empty_roundtrip (line 139) | fn bytesrepr_empty_roundtrip() { function bytesrepr_empty_vec_should_have_count_0 (line 145) | fn bytesrepr_empty_vec_should_have_count_0() { FILE: types/src/phase.rs constant PHASE_SERIALIZED_LENGTH (line 15) | pub const PHASE_SERIALIZED_LENGTH: usize = 1; type Phase (line 20) | pub enum Phase { method to_bytes (line 32) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 39) | fn serialized_length(&self) -> usize { method from_bytes (line 45) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { method cl_type (line 53) | fn cl_type() -> CLType { FILE: types/src/protocol_version.rs type ProtocolVersion (line 18) | pub struct ProtocolVersion(SemVer); constant V1_0_0 (line 51) | pub const V1_0_0: ProtocolVersion = ProtocolVersion(SemVer { constant V2_0_0 (line 58) | pub const V2_0_0: ProtocolVersion = ProtocolVersion(SemVer { method new (line 65) | pub const fn new(version: SemVer) -> ProtocolVersion { method from_parts (line 70) | pub const fn from_parts(major: u32, minor: u32, patch: u32) -> Protoco... method value (line 76) | pub const fn value(&self) -> SemVer { method destructure (line 81) | pub const fn destructure(&self) -> (u32, u32, u32) { method check_next_version (line 86) | pub fn check_next_version(&self, next: &ProtocolVersion) -> VersionChe... method is_compatible_with (line 129) | pub fn is_compatible_with(&self, version: &ProtocolVersion) -> bool { method deserialize (line 180) | fn deserialize>(deserializer: D) -> Result fmt::Result { type VersionCheckResult (line 22) | pub enum VersionCheckResult { method is_invalid (line 36) | pub fn is_invalid(&self) -> bool { method is_major_version (line 41) | pub fn is_major_version(&self) -> bool { method to_bytes (line 135) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 139) | fn serialized_length(&self) -> usize { method write_bytes (line 143) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), Error> { method from_bytes (line 152) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { type Err (line 160) | type Err = ParseSemVerError; method from_str (line 162) | fn from_str(s: &str) -> Result { method serialize (line 169) | fn serialize(&self, serializer: S) -> Result String { method json_schema (line 197) | fn json_schema(gen: &mut schemars::gen::SchemaGenerator) -> schemars::sc... function should_follow_version_with_optional_code (line 217) | fn should_follow_version_with_optional_code() { function should_follow_version_with_required_code (line 226) | fn should_follow_version_with_required_code() { function should_not_follow_version_with_invalid_code (line 235) | fn should_not_follow_version_with_invalid_code() { function should_be_able_to_get_instance (line 242) | fn should_be_able_to_get_instance() { function should_be_able_to_compare_two_instances (line 249) | fn should_be_able_to_compare_two_instances() { function should_be_able_to_default (line 258) | fn should_be_able_to_default() { function should_be_able_to_compare_relative_value (line 265) | fn should_be_able_to_compare_relative_value() { function should_follow_major_version_upgrade (line 277) | fn should_follow_major_version_upgrade() { function should_reject_if_major_version_decreases (line 290) | fn should_reject_if_major_version_decreases() { function should_check_follows_minor_version_upgrade (line 298) | fn should_check_follows_minor_version_upgrade() { function should_not_care_if_minor_bump_resets_patch (line 311) | fn should_not_care_if_minor_bump_resets_patch() { function should_not_care_if_major_bump_resets_minor_or_patch (line 332) | fn should_not_care_if_major_bump_resets_minor_or_patch() { function should_reject_patch_version_rollback (line 361) | fn should_reject_patch_version_rollback() { function should_accept_patch_version_update_with_optional_code (line 372) | fn should_accept_patch_version_update_with_optional_code() { function should_accept_minor_version_update_with_optional_code (line 387) | fn should_accept_minor_version_update_with_optional_code() { function should_allow_skip_minor_version_within_major_version (line 403) | fn should_allow_skip_minor_version_within_major_version() { function should_allow_skip_patch_version_within_minor_version (line 424) | fn should_allow_skip_patch_version_within_minor_version() { function should_allow_skipped_minor_and_patch_on_major_bump (line 437) | fn should_allow_skipped_minor_and_patch_on_major_bump() { function should_allow_code_on_major_update (line 470) | fn should_allow_code_on_major_update() { function should_not_skip_major_version (line 488) | fn should_not_skip_major_version() { function should_reject_major_version_rollback (line 496) | fn should_reject_major_version_rollback() { function should_check_same_version_is_invalid (line 504) | fn should_check_same_version_is_invalid() { function should_not_be_compatible_with_different_major_version (line 515) | fn should_not_be_compatible_with_different_major_version() { function should_be_compatible_with_equal_major_version_backwards (line 526) | fn should_be_compatible_with_equal_major_version_backwards() { function should_be_compatible_with_equal_major_version_forwards (line 533) | fn should_be_compatible_with_equal_major_version_forwards() { function should_serialize_to_json_properly (line 540) | fn should_serialize_to_json_properly() { function serialize_roundtrip (line 548) | fn serialize_roundtrip() { FILE: types/src/runtime_footprint.rs type RuntimeAddress (line 24) | pub enum RuntimeAddress { method new_hash (line 42) | pub fn new_hash(hash_addr: HashAddr) -> Self { method new_stored_contract (line 47) | pub fn new_stored_contract( method hash_addr (line 62) | pub fn hash_addr(&self) -> HashAddr { type Action (line 72) | pub(crate) enum Action { type RuntimeFootprint (line 80) | pub struct RuntimeFootprint { method new (line 92) | pub fn new( method new_account_footprint (line 112) | pub fn new_account_footprint(account: Account) -> Self { method new_contract_footprint (line 143) | pub fn new_contract_footprint( method new_entity_footprint (line 181) | pub fn new_entity_footprint( method package_hash (line 220) | pub fn package_hash(&self) -> Option { method associated_keys (line 229) | pub fn associated_keys(&self) -> &AssociatedKeys { method wasm_hash (line 233) | pub fn wasm_hash(&self) -> Option { method hash_addr (line 240) | pub fn hash_addr(&self) -> HashAddr { method named_keys (line 247) | pub fn named_keys(&self) -> &NamedKeys { method insert_into_named_keys (line 251) | pub fn insert_into_named_keys(&mut self, name: String, key: Key) { method named_keys_mut (line 255) | pub fn named_keys_mut(&mut self) -> &mut NamedKeys { method take_named_keys (line 259) | pub fn take_named_keys(self) -> NamedKeys { method main_purse (line 263) | pub fn main_purse(&self) -> Option { method set_main_purse (line 267) | pub fn set_main_purse(&mut self, purse: URef) { method entry_points (line 271) | pub fn entry_points(&self) -> &EntryPoints { method entity_kind (line 275) | pub fn entity_kind(&self) -> EntityKind { method can_authorize (line 280) | pub fn can_authorize(&self, authorization_keys: &BTreeSet... method can_manage_keys_with (line 289) | pub fn can_manage_keys_with(&self, authorization_keys: &BTreeSet ContextAcc... FILE: types/src/semver.rs constant SEM_VER_SERIALIZED_LENGTH (line 15) | pub const SEM_VER_SERIALIZED_LENGTH: usize = 3 * U32_SERIALIZED_LENGTH; type SemVer (line 22) | pub struct SemVer { constant V1_0_0 (line 33) | pub const V1_0_0: SemVer = SemVer { method new (line 40) | pub const fn new(major: u32, minor: u32, patch: u32) -> SemVer { type Error (line 103) | type Error = ParseSemVerError; method try_from (line 104) | fn try_from(value: &str) -> Result { method to_bytes (line 50) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 58) | fn serialized_length(&self) -> usize { method from_bytes (line 64) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { method fmt (line 73) | fn fmt(&self, f: &mut Formatter) -> fmt::Result { type ParseSemVerError (line 80) | pub enum ParseSemVerError { method from (line 97) | fn from(error: ParseIntError) -> ParseSemVerError { method fmt (line 88) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { function should_compare_semver_versions (line 124) | fn should_compare_semver_versions() { function parse_from_string (line 138) | fn parse_from_string() { FILE: types/src/serde_helpers.rs function serialize (line 11) | pub(crate) fn serialize( function deserialize (line 22) | pub(crate) fn deserialize<'de, D: Deserializer<'de>>( function serialize (line 39) | pub(crate) fn serialize( function deserialize (line 46) | pub(crate) fn deserialize<'de, D: Deserializer<'de>>( function serialize (line 58) | pub(crate) fn serialize( function deserialize (line 65) | pub(crate) fn deserialize<'de, D: Deserializer<'de>>( function serialize (line 86) | pub(crate) fn serialize( function deserialize (line 97) | pub(crate) fn deserialize<'de, D: Deserializer<'de>>( type HumanReadableContract (line 131) | pub(crate) struct HumanReadableContract { method from (line 140) | fn from(value: &Contract) -> Self { type ContractDeserializationError (line 153) | pub(crate) enum ContractDeserializationError { method fmt (line 159) | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { type Error (line 169) | type Error = ContractDeserializationError; method try_from (line 170) | fn try_from(value: HumanReadableContract) -> Result { type HumanReadableContractVersion (line 216) | pub(crate) struct HumanReadableContractVersion { type HumanReadableContractPackage (line 226) | pub(crate) struct HumanReadableContractPackage { method from (line 235) | fn from(package: &ContractPackage) -> Self { type Error (line 255) | type Error = String; method try_from (line 257) | fn try_from(value: HumanReadableContractPackage) -> Result Option<&CLValue> { method as_account (line 148) | pub fn as_account(&self) -> Option<&Account> { method as_byte_code (line 156) | pub fn as_byte_code(&self) -> Option<&ByteCode> { method as_contract_wasm (line 163) | pub fn as_contract_wasm(&self) -> Option<&ContractWasm> { method as_contract (line 171) | pub fn as_contract(&self) -> Option<&Contract> { method as_package (line 179) | pub fn as_package(&self) -> Option<&Package> { method as_contract_package (line 187) | pub fn as_contract_package(&self) -> Option<&ContractPackage> { method as_transfer (line 195) | pub fn as_transfer(&self) -> Option<&TransferV1> { method as_deploy_info (line 203) | pub fn as_deploy_info(&self) -> Option<&DeployInfo> { method as_era_info (line 211) | pub fn as_era_info(&self) -> Option<&EraInfo> { method as_bid (line 219) | pub fn as_bid(&self) -> Option<&Bid> { method as_withdraw (line 227) | pub fn as_withdraw(&self) -> Option<&Vec> { method as_unbonding (line 236) | pub fn as_unbonding(&self) -> Option<&Vec> { method as_unbond (line 245) | pub fn as_unbond(&self) -> Option<&Unbond> { method as_addressable_entity (line 254) | pub fn as_addressable_entity(&self) -> Option<&AddressableEntity> { method as_message_topic_summary (line 263) | pub fn as_message_topic_summary(&self) -> Option<&MessageTopicSummary> { method as_message_checksum (line 272) | pub fn as_message_checksum(&self) -> Option<&MessageChecksum> { method as_bid_kind (line 280) | pub fn as_bid_kind(&self) -> Option<&BidKind> { method as_raw_bytes (line 288) | pub fn as_raw_bytes(&self) -> Option<&[u8]> { method as_entry_point_value (line 296) | pub fn as_entry_point_value(&self) -> Option<&EntryPointValue> { method into_cl_value (line 304) | pub fn into_cl_value(self) -> Option { method into_account (line 312) | pub fn into_account(self) -> Option { method into_contract_wasm (line 320) | pub fn into_contract_wasm(self) -> Option { method into_contract (line 328) | pub fn into_contract(self) -> Option { method into_contract_package (line 336) | pub fn into_contract_package(self) -> Option { method into_package (line 344) | pub fn into_package(self) -> Option { method into_legacy_transfer (line 352) | pub fn into_legacy_transfer(self) -> Option { method into_deploy_info (line 360) | pub fn into_deploy_info(self) -> Option { method into_era_info (line 368) | pub fn into_era_info(self) -> Option { method into_bid (line 376) | pub fn into_bid(self) -> Option { method into_withdraw (line 384) | pub fn into_withdraw(self) -> Option> { method into_unbonding (line 392) | pub fn into_unbonding(self) -> Option> { method into_addressable_entity (line 400) | pub fn into_addressable_entity(self) -> Option { method into_bid_kind (line 408) | pub fn into_bid_kind(self) -> Option { method into_entry_point_value (line 416) | pub fn into_entry_point_value(self) -> Option { method type_name (line 426) | pub fn type_name(&self) -> String { method tag (line 453) | pub fn tag(&self) -> StoredValueTag { method into_byte_code (line 480) | pub fn into_byte_code(self) -> Option { method into_named_key (line 488) | pub fn into_named_key(self) -> Option { method from (line 497) | fn from(value: CLValue) -> StoredValue { method from (line 503) | fn from(value: Account) -> StoredValue { method from (line 509) | fn from(value: ContractWasm) -> Self { method from (line 515) | fn from(value: ContractPackage) -> Self { method from (line 521) | fn from(value: Contract) -> Self { method from (line 527) | fn from(value: AddressableEntity) -> StoredValue { method from (line 533) | fn from(value: Package) -> StoredValue { method from (line 539) | fn from(bid: Bid) -> StoredValue { method from (line 545) | fn from(bid_kind: BidKind) -> StoredValue { method from (line 551) | fn from(value: ByteCode) -> StoredValue { method from (line 557) | fn from(value: EntryPointValue) -> Self { type Error (line 1046) | type Error = StoredValueDeserializationError; method try_from (line 1047) | fn try_from(helper: HumanReadableDeserHelper) -> Result>(deserializer: D) -> Result Result { type Error (line 579) | type Error = TypeMismatch; method try_from (line 581) | fn try_from(stored_value: StoredValue) -> Result { type Error (line 593) | type Error = TypeMismatch; method try_from (line 595) | fn try_from(stored_value: StoredValue) -> Result { type Error (line 607) | type Error = TypeMismatch; method try_from (line 609) | fn try_from(stored_value: StoredValue) -> Result { type Error (line 621) | type Error = TypeMismatch; method try_from (line 623) | fn try_from(value: StoredValue) -> Result { type Error (line 635) | type Error = TypeMismatch; method try_from (line 637) | fn try_from(stored_value: StoredValue) -> Result { type Error (line 649) | type Error = TypeMismatch; method try_from (line 651) | fn try_from(stored_value: StoredValue) -> Result { type Error (line 664) | type Error = TypeMismatch; method try_from (line 666) | fn try_from(stored_value: StoredValue) -> Result { type Error (line 678) | type Error = TypeMismatch; method try_from (line 680) | fn try_from(value: StoredValue) -> Result { type Error (line 689) | type Error = TypeMismatch; method try_from (line 691) | fn try_from(value: StoredValue) -> Result { type Error (line 703) | type Error = TypeMismatch; method try_from (line 705) | fn try_from(value: StoredValue) -> Result { type Error (line 714) | type Error = TypeMismatch; method try_from (line 716) | fn try_from(value: StoredValue) -> Result { type Error (line 725) | type Error = TypeMismatch; method try_from (line 727) | fn try_from(value: StoredValue) -> Result { type Error (line 736) | type Error = TypeMismatch; method try_from (line 738) | fn try_from(value: StoredValue) -> Result { method to_bytes (line 750) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 756) | fn serialized_length(&self) -> usize { method write_bytes (line 787) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), Error> { method from_bytes (line 818) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { type HumanReadableSerHelper (line 905) | pub(crate) enum HumanReadableSerHelper<'a> { type HumanReadableDeserHelper (line 939) | pub(crate) enum HumanReadableDeserHelper { function from (line 986) | fn from(stored_value: &'a StoredValue) -> Self { type StoredValueDeserializationError (line 1027) | pub enum StoredValueDeserializationError { method fmt (line 1033) | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { method serialize (line 1094) | fn serialize(&self, serializer: S) -> Result Self { method from (line 47) | fn from(block_identifier: BlockIdentifier) -> Self { method from_bytes (line 58) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method to_bytes (line 78) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method write_bytes (line 84) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method serialized_length (line 102) | fn serialized_length(&self) -> usize { function bytesrepr_roundtrip (line 122) | fn bytesrepr_roundtrip() { FILE: types/src/stored_value/type_mismatch.rs type TypeMismatch (line 18) | pub struct TypeMismatch { method new (line 27) | pub fn new(expected: String, found: String) -> TypeMismatch { method fmt (line 33) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { method write_bytes (line 43) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method to_bytes (line 48) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 54) | fn serialized_length(&self) -> usize { method from_bytes (line 60) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { FILE: types/src/system/auction.rs type DelegationRate (line 57) | pub type DelegationRate = u8; type ValidatorBids (line 60) | pub type ValidatorBids = BTreeMap>; type DelegatorBids (line 63) | pub type DelegatorBids = BTreeMap>>; type Reservations (line 66) | pub type Reservations = BTreeMap>>; type ValidatorCredits (line 69) | pub type ValidatorCredits = BTreeMap; type WeightsBreakout (line 75) | pub struct WeightsBreakout { method new (line 82) | pub fn new() -> Self { method register (line 90) | pub fn register( method locked_count (line 107) | pub fn locked_count(&self) -> usize { method unlocked_meets_min_count (line 112) | pub fn unlocked_meets_min_count(&self) -> usize { method unlocked_below_min_count (line 117) | pub fn unlocked_below_min_count(&self) -> usize { method take (line 122) | pub fn take(self, validator_slots: usize, threshold: usize) -> Validat... method default (line 171) | fn default() -> Self { type EraValidators (line 177) | pub type EraValidators = BTreeMap; type SeigniorageRecipientsV1 (line 180) | pub type SeigniorageRecipientsV1 = BTreeMap>; type Staking (line 226) | pub type Staking = BTreeMap Option; method validator_bid (line 235) | fn validator_bid(&self, public_key: &PublicKey) -> Option; method bridge (line 238) | fn bridge( method credit (line 246) | fn credit(&self, public_key: &PublicKey) -> Option; method validator_total_stake (line 249) | fn validator_total_stake(&self, public_key: &PublicKey) -> Option; method delegators_by_validator_public_key (line 252) | fn delegators_by_validator_public_key( method delegator_by_kind (line 258) | fn delegator_by_kind( method reservations_by_validator_public_key (line 265) | fn reservations_by_validator_public_key( method reservation_by_kind (line 271) | fn reservation_by_kind( method unbond_by_kind (line 278) | fn unbond_by_kind( method contains_validator_public_key (line 285) | fn contains_validator_public_key(&self, public_key: &PublicKey) -> bool; method remove_by_validator_public_key (line 288) | fn remove_by_validator_public_key(&mut self, public_key: &PublicKey); method delegator_map (line 291) | fn delegator_map(&self) -> BTreeMap>; method upsert (line 294) | fn upsert(&mut self, bid_kind: BidKind); method unified_bid (line 299) | fn unified_bid(&self, public_key: &PublicKey) -> Option { method validator_bid (line 310) | fn validator_bid(&self, public_key: &PublicKey) -> Option { method bridge (line 321) | fn bridge( method credit (line 339) | fn credit(&self, public_key: &PublicKey) -> Option { method validator_total_stake (line 350) | fn validator_total_stake(&self, public_key: &PublicKey) -> Option { method delegators_by_validator_public_key (line 372) | fn delegators_by_validator_public_key( method delegator_by_kind (line 393) | fn delegator_by_kind( method reservations_by_validator_public_key (line 409) | fn reservations_by_validator_public_key( method reservation_by_kind (line 430) | fn reservation_by_kind( method unbond_by_kind (line 446) | fn unbond_by_kind( method contains_validator_public_key (line 462) | fn contains_validator_public_key(&self, public_key: &PublicKey) -> bool { method remove_by_validator_public_key (line 466) | fn remove_by_validator_public_key(&mut self, public_key: &PublicKey) { method delegator_map (line 470) | fn delegator_map(&self) -> BTreeMap> { method upsert (line 516) | fn upsert(&mut self, bid_kind: BidKind) { FILE: types/src/system/auction/bid.rs type Bid (line 30) | pub struct Bid { method from_non_unified (line 50) | pub fn from_non_unified( method locked (line 78) | pub fn locked( method unlocked (line 100) | pub fn unlocked( method empty (line 121) | pub fn empty(validator_public_key: PublicKey, bonding_purse: URef) -> ... method validator_public_key (line 139) | pub fn validator_public_key(&self) -> &PublicKey { method bonding_purse (line 144) | pub fn bonding_purse(&self) -> &URef { method is_locked (line 152) | pub fn is_locked(&self, timestamp_millis: u64) -> bool { method is_locked_with_vesting_schedule (line 160) | pub fn is_locked_with_vesting_schedule( method staked_amount (line 174) | pub fn staked_amount(&self) -> &U512 { method staked_amount_mut (line 179) | pub fn staked_amount_mut(&mut self) -> &mut U512 { method delegation_rate (line 184) | pub fn delegation_rate(&self) -> &DelegationRate { method vesting_schedule (line 190) | pub fn vesting_schedule(&self) -> Option<&VestingSchedule> { method vesting_schedule_mut (line 196) | pub fn vesting_schedule_mut(&mut self) -> Option<&mut VestingSchedule> { method delegators (line 201) | pub fn delegators(&self) -> &BTreeMap { method delegators_mut (line 206) | pub fn delegators_mut(&mut self) -> &mut BTreeMap { method inactive (line 211) | pub fn inactive(&self) -> bool { method decrease_stake (line 216) | pub fn decrease_stake( method increase_stake (line 251) | pub fn increase_stake(&mut self, amount: U512) -> Result { method with_delegation_rate (line 263) | pub fn with_delegation_rate(&mut self, delegation_rate: DelegationRate... method process (line 273) | pub fn process(&mut self, timestamp_millis: u64) -> bool { method process_with_vesting_schedule (line 282) | pub fn process_with_vesting_schedule( method activate (line 320) | pub fn activate(&mut self) -> bool { method deactivate (line 326) | pub fn deactivate(&mut self) -> bool { method total_staked_amount (line 332) | pub fn total_staked_amount(&self) -> Result { method cl_type (line 342) | fn cl_type() -> CLType { method to_bytes (line 348) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 354) | fn serialized_length(&self) -> usize { method write_bytes (line 364) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 377) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method fmt (line 401) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { type DelegatorLabels (line 426) | struct DelegatorLabels; constant KEY (line 429) | const KEY: &'static str = "delegator_public_key"; constant VALUE (line 430) | const VALUE: &'static str = "delegator"; constant JSON_SCHEMA_KV_NAME (line 435) | const JSON_SCHEMA_KV_NAME: Option<&'static str> = Some("PublicKeyAndDele... constant JSON_SCHEMA_KV_DESCRIPTION (line 436) | const JSON_SCHEMA_KV_DESCRIPTION: Option<&'static str> = constant JSON_SCHEMA_KEY_DESCRIPTION (line 438) | const JSON_SCHEMA_KEY_DESCRIPTION: Option<&'static str> = constant JSON_SCHEMA_VALUE_DESCRIPTION (line 440) | const JSON_SCHEMA_VALUE_DESCRIPTION: Option<&'static str> = Some("The de... constant WEEK_MILLIS (line 453) | const WEEK_MILLIS: u64 = 7 * 24 * 60 * 60 * 1000; constant TEST_VESTING_SCHEDULE_LENGTH_MILLIS (line 454) | const TEST_VESTING_SCHEDULE_LENGTH_MILLIS: u64 = 7 * WEEK_MILLIS; function serialization_roundtrip (line 457) | fn serialization_roundtrip() { function should_immediately_initialize_unlock_amounts (line 473) | fn should_immediately_initialize_unlock_amounts() { function should_initialize_delegators_different_timestamps (line 503) | fn should_initialize_delegators_different_timestamps() { FILE: types/src/system/auction/bid/vesting.rs constant DAY_MILLIS (line 14) | const DAY_MILLIS: usize = 24 * 60 * 60 * 1000; constant DAYS_IN_WEEK (line 15) | const DAYS_IN_WEEK: usize = 7; constant WEEK_MILLIS (line 16) | const WEEK_MILLIS: usize = DAYS_IN_WEEK * DAY_MILLIS; constant VESTING_SCHEDULE_LENGTH_DAYS (line 19) | const VESTING_SCHEDULE_LENGTH_DAYS: usize = 91; constant VESTING_SCHEDULE_LENGTH_MILLIS (line 21) | pub const VESTING_SCHEDULE_LENGTH_MILLIS: u64 = constant LOCKED_AMOUNTS_MAX_LENGTH (line 24) | const LOCKED_AMOUNTS_MAX_LENGTH: usize = (VESTING_SCHEDULE_LENGTH_DAYS /... type VestingSchedule (line 30) | pub struct VestingSchedule { method new (line 42) | pub fn new(initial_release_timestamp_millis: u64) -> Self { method initialize_with_schedule (line 57) | pub fn initialize_with_schedule( method initialize (line 105) | pub fn initialize(&mut self, staked_amount: U512) -> bool { method initial_release_timestamp_millis (line 109) | pub fn initial_release_timestamp_millis(&self) -> u64 { method locked_amounts (line 113) | pub fn locked_amounts(&self) -> Option<&[U512]> { method locked_amount (line 118) | pub fn locked_amount(&self, timestamp_millis: u64) -> Option { method is_vesting (line 133) | pub(crate) fn is_vesting( function vesting_schedule_period_to_weeks (line 35) | fn vesting_schedule_period_to_weeks(vesting_schedule_period_millis: u64)... method to_bytes (line 162) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 168) | fn serialized_length(&self) -> usize { method write_bytes (line 173) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 182) | fn from_bytes(mut bytes: &[u8]) -> Result<(Self, &[u8]), Error> { method to_bytes (line 194) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 201) | fn serialized_length(&self) -> usize { method from_bytes (line 208) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function vesting_schedule_arb (line 232) | pub fn vesting_schedule_arb() -> impl Strategy { constant DEFAULT_LOCKED_FUNDS_PERIOD_MILLIS (line 259) | const DEFAULT_LOCKED_FUNDS_PERIOD_MILLIS: u64 = 90 * DAY_MILLIS as u64; constant RELEASE_TIMESTAMP (line 260) | const RELEASE_TIMESTAMP: u64 = DEFAULT_LOCKED_FUNDS_PERIOD_MILLIS; constant STAKE (line 261) | const STAKE: u64 = 140; constant DEFAULT_VESTING_SCHEDULE_PERIOD_MILLIS (line 263) | const DEFAULT_VESTING_SCHEDULE_PERIOD_MILLIS: u64 = 91 * DAY_MILLIS as u64; constant LOCKED_AMOUNTS_LENGTH (line 264) | const LOCKED_AMOUNTS_LENGTH: usize = function test_vesting_schedule_exceeding_the_maximum_should_not_panic (line 269) | fn test_vesting_schedule_exceeding_the_maximum_should_not_panic() { function test_locked_amount_check_should_not_panic (line 279) | fn test_locked_amount_check_should_not_panic() { function test_locked_with_zero_length_schedule_should_not_panic (line 288) | fn test_locked_with_zero_length_schedule_should_not_panic() { function test_locked_amount (line 297) | fn test_locked_amount() { function vested_amounts_match_initial_stake (line 417) | fn vested_amounts_match_initial_stake( function vested_amounts_conserve_stake (line 439) | fn vested_amounts_conserve_stake() { function is_vesting_with_default_schedule (line 449) | fn is_vesting_with_default_schedule() { function should_calculate_vesting_schedule_period_to_weeks (line 493) | fn should_calculate_vesting_schedule_period_to_weeks() { FILE: types/src/system/auction/bid_addr.rs constant UNIFIED_TAG (line 21) | const UNIFIED_TAG: u8 = 0; constant VALIDATOR_TAG (line 22) | const VALIDATOR_TAG: u8 = 1; constant DELEGATED_ACCOUNT_TAG (line 23) | const DELEGATED_ACCOUNT_TAG: u8 = 2; constant DELEGATED_PURSE_TAG (line 24) | const DELEGATED_PURSE_TAG: u8 = 3; constant CREDIT_TAG (line 25) | const CREDIT_TAG: u8 = 4; constant RESERVATION_ACCOUNT_TAG (line 26) | const RESERVATION_ACCOUNT_TAG: u8 = 5; constant RESERVATION_PURSE_TAG (line 27) | const RESERVATION_PURSE_TAG: u8 = 6; constant UNBOND_ACCOUNT_TAG (line 28) | const UNBOND_ACCOUNT_TAG: u8 = 7; constant UNBOND_PURSE_TAG (line 29) | const UNBOND_PURSE_TAG: u8 = 8; constant VALIDATOR_REV_PURSE_TAG (line 30) | const VALIDATOR_REV_PURSE_TAG: u8 = 9; type BidAddrTag (line 39) | pub enum BidAddrTag { constant BID_ADDR_TAG_LENGTH (line 86) | pub const BID_ADDR_TAG_LENGTH: usize = 1; method try_from_u8 (line 89) | pub fn try_from_u8(value: u8) -> Option { method fmt (line 66) | fn fmt(&self, f: &mut Formatter<'_>) -> core::fmt::Result { type BidAddr (line 130) | pub enum BidAddr { constant VALIDATOR_BID_ADDR_LENGTH (line 189) | pub const VALIDATOR_BID_ADDR_LENGTH: usize = constant DELEGATOR_BID_ADDR_LENGTH (line 193) | pub const DELEGATOR_BID_ADDR_LENGTH: usize = method new_validator_addr (line 197) | pub const fn new_validator_addr(validator: [u8; ACCOUNT_HASH_LENGTH]) ... method new_validator_rev_addr (line 202) | pub const fn new_validator_rev_addr(validator: [u8; ACCOUNT_HASH_LENGT... method new_validator_addr_from_public_key (line 207) | pub fn new_validator_addr_from_public_key(validator_public_key: Public... method new_validator_rev_addr_from_public_key (line 212) | pub fn new_validator_rev_addr_from_public_key(validator_public_key: Pu... method new_delegator_account_addr (line 218) | pub const fn new_delegator_account_addr( method new_reservation_account_addr (line 229) | pub const fn new_reservation_account_addr( method legacy (line 239) | pub const fn legacy(validator: [u8; ACCOUNT_HASH_LENGTH]) -> Self { method new_delegator_kind_relaxed (line 244) | pub fn new_delegator_kind_relaxed( method new_delegator_kind (line 261) | pub fn new_delegator_kind(validator: &PublicKey, delegator_kind: &Dele... method new_delegator_unbond_relaxed (line 266) | pub fn new_delegator_unbond_relaxed( method new_delegator_unbond (line 283) | pub fn new_delegator_unbond(validator: &PublicKey, delegator_kind: &De... method new_from_public_keys (line 288) | pub fn new_from_public_keys( method new_purse_delegation (line 303) | pub fn new_purse_delegation(validator: &PublicKey, delegator: URefAddr... method new_credit (line 311) | pub fn new_credit(validator: &PublicKey, era_id: EraId) -> Self { method new_reservation_account (line 319) | pub fn new_reservation_account(validator: &PublicKey, delegator: &Publ... method new_reservation_purse (line 327) | pub fn new_reservation_purse(validator: &PublicKey, delegator: URefAdd... method new_unbond_account (line 335) | pub fn new_unbond_account(validator: PublicKey, unbonder: PublicKey) -... method delegated_account_prefix (line 343) | pub fn delegated_account_prefix(&self) -> Result, Error> { method delegated_purse_prefix (line 353) | pub fn delegated_purse_prefix(&self) -> Result, Error> { method reserved_account_prefix (line 363) | pub fn reserved_account_prefix(&self) -> Result, Error> { method reserved_purse_prefix (line 373) | pub fn reserved_purse_prefix(&self) -> Result, Error> { method validator_account_hash (line 383) | pub fn validator_account_hash(&self) -> AccountHash { method maybe_delegator_account_hash (line 399) | pub fn maybe_delegator_account_hash(&self) -> Option { method maybe_delegator_purse (line 415) | pub fn maybe_delegator_purse(&self) -> Option { method maybe_era_id (line 431) | pub fn maybe_era_id(&self) -> Option { method is_delegator_bid_addr (line 448) | pub fn is_delegator_bid_addr(&self) -> bool { method serialized_length (line 463) | pub fn serialized_length(&self) -> usize { method tag (line 499) | pub fn tag(&self) -> BidAddrTag { method from (line 638) | fn from(account_hash: AccountHash) -> Self { method from (line 644) | fn from(public_key: PublicKey) -> Self { method to_bytes (line 517) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 533) | fn serialized_length(&self) -> usize { method from_bytes (line 539) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method default (line 626) | fn default() -> Self { method from (line 632) | fn from(bid_addr: BidAddr) -> Self { method fmt (line 650) | fn fmt(&self, f: &mut Formatter<'_>) -> core::fmt::Result { method fmt (line 707) | fn fmt(&self, f: &mut Formatter) -> core::fmt::Result { method sample (line 769) | fn sample(&self, rng: &mut R) -> BidAddr { function serialization_roundtrip (line 779) | fn serialization_roundtrip() { FILE: types/src/system/auction/bid_kind.rs type BidKindTag (line 27) | pub enum BidKindTag { type BidKind (line 48) | pub enum BidKind { method validator_public_key (line 69) | pub fn validator_public_key(&self) -> PublicKey { method new_validator_public_key (line 82) | pub fn new_validator_public_key(&self) -> Option { method bid_addr (line 95) | pub fn bid_addr(&self) -> BidAddr { method is_unified (line 155) | pub fn is_unified(&self) -> bool { method is_validator (line 160) | pub fn is_validator(&self) -> bool { method is_delegator (line 165) | pub fn is_delegator(&self) -> bool { method is_bridge (line 170) | pub fn is_bridge(&self) -> bool { method is_credit (line 175) | pub fn is_credit(&self) -> bool { method is_reservation (line 180) | pub fn is_reservation(&self) -> bool { method is_unbond (line 185) | pub fn is_unbond(&self) -> bool { method staked_amount (line 190) | pub fn staked_amount(&self) -> Option { method bonding_purse (line 201) | pub fn bonding_purse(&self) -> Option { method delegator_kind (line 214) | pub fn delegator_kind(&self) -> Option { method unbond_kind (line 231) | pub fn unbond_kind(&self) -> Option { method inactive (line 244) | pub fn inactive(&self) -> bool { method is_locked (line 258) | pub fn is_locked(&self, timestamp_millis: u64) -> bool { method is_locked_with_vesting_schedule (line 274) | pub fn is_locked_with_vesting_schedule( method vesting_schedule (line 295) | pub fn vesting_schedule(&self) -> Option<&VestingSchedule> { method tag (line 308) | pub fn tag(&self) -> BidKindTag { method era_id (line 321) | pub fn era_id(&self) -> Option { method as_validator_bid (line 335) | pub fn as_validator_bid(&self) -> Option { method cl_type (line 345) | fn cl_type() -> CLType { method to_bytes (line 351) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 367) | fn serialized_length(&self) -> usize { method write_bytes (line 380) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 396) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function serialization_roundtrip (line 437) | fn serialization_roundtrip() { FILE: types/src/system/auction/bridge.rs type Bridge (line 18) | pub struct Bridge { method new (line 29) | pub fn new( method old_validator_public_key (line 42) | pub fn old_validator_public_key(&self) -> &PublicKey { method new_validator_public_key (line 47) | pub fn new_validator_public_key(&self) -> &PublicKey { method era_id (line 52) | pub fn era_id(&self) -> &EraId { method cl_type (line 58) | fn cl_type() -> CLType { method to_bytes (line 64) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 70) | fn serialized_length(&self) -> usize { method write_bytes (line 76) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 85) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { FILE: types/src/system/auction/constants.rs constant INITIAL_ERA_ID (line 6) | pub const INITIAL_ERA_ID: EraId = EraId::new(0); constant INITIAL_ERA_END_TIMESTAMP_MILLIS (line 9) | pub const INITIAL_ERA_END_TIMESTAMP_MILLIS: u64 = 0; constant DELEGATION_RATE_DENOMINATOR (line 13) | pub const DELEGATION_RATE_DENOMINATOR: DelegationRate = 100; constant BLOCK_REWARD (line 17) | pub const BLOCK_REWARD: u64 = 1_000_000_000_000; constant ARG_AMOUNT (line 20) | pub const ARG_AMOUNT: &str = "amount"; constant ARG_DELEGATION_RATE (line 22) | pub const ARG_DELEGATION_RATE: &str = "delegation_rate"; constant ARG_PUBLIC_KEY (line 24) | pub const ARG_PUBLIC_KEY: &str = "public_key"; constant ARG_NEW_PUBLIC_KEY (line 26) | pub const ARG_NEW_PUBLIC_KEY: &str = "new_public_key"; constant ARG_VALIDATOR (line 28) | pub const ARG_VALIDATOR: &str = "validator"; constant ARG_DELEGATOR (line 30) | pub const ARG_DELEGATOR: &str = "delegator"; constant ARG_DELEGATOR_PURSE (line 32) | pub const ARG_DELEGATOR_PURSE: &str = "delegator_purse"; constant ARG_DELEGATORS (line 34) | pub const ARG_DELEGATORS: &str = "delegators"; constant ARG_RESERVATIONS (line 36) | pub const ARG_RESERVATIONS: &str = "reservations"; constant ARG_VALIDATOR_PURSE (line 38) | pub const ARG_VALIDATOR_PURSE: &str = "validator_purse"; constant ARG_VALIDATOR_KEYS (line 40) | pub const ARG_VALIDATOR_KEYS: &str = "validator_keys"; constant ARG_VALIDATOR_PUBLIC_KEYS (line 42) | pub const ARG_VALIDATOR_PUBLIC_KEYS: &str = "validator_public_keys"; constant ARG_NEW_VALIDATOR (line 44) | pub const ARG_NEW_VALIDATOR: &str = "new_validator"; constant ARG_ERA_ID (line 46) | pub const ARG_ERA_ID: &str = "era_id"; constant ARG_VALIDATOR_SLOTS (line 48) | pub const ARG_VALIDATOR_SLOTS: &str = VALIDATOR_SLOTS_KEY; constant ARG_MINT_CONTRACT_PACKAGE_HASH (line 50) | pub const ARG_MINT_CONTRACT_PACKAGE_HASH: &str = "mint_contract_package_... constant ARG_GENESIS_VALIDATORS (line 52) | pub const ARG_GENESIS_VALIDATORS: &str = "genesis_validators"; constant ARG_AUCTION_DELAY (line 54) | pub const ARG_AUCTION_DELAY: &str = "auction_delay"; constant ARG_LOCKED_FUNDS_PERIOD (line 56) | pub const ARG_LOCKED_FUNDS_PERIOD: &str = "locked_funds_period"; constant ARG_UNBONDING_DELAY (line 58) | pub const ARG_UNBONDING_DELAY: &str = "unbonding_delay"; constant ARG_ERA_END_TIMESTAMP_MILLIS (line 60) | pub const ARG_ERA_END_TIMESTAMP_MILLIS: &str = "era_end_timestamp_millis"; constant ARG_EVICTED_VALIDATORS (line 62) | pub const ARG_EVICTED_VALIDATORS: &str = "evicted_validators"; constant ARG_REWARDS_MAP (line 64) | pub const ARG_REWARDS_MAP: &str = "rewards_map"; constant ARG_ENTRY_POINT (line 66) | pub const ARG_ENTRY_POINT: &str = "entry_point"; constant ARG_MINIMUM_DELEGATION_AMOUNT (line 68) | pub const ARG_MINIMUM_DELEGATION_AMOUNT: &str = "minimum_delegation_amou... constant ARG_MAXIMUM_DELEGATION_AMOUNT (line 70) | pub const ARG_MAXIMUM_DELEGATION_AMOUNT: &str = "maximum_delegation_amou... constant ARG_RESERVED_SLOTS (line 72) | pub const ARG_RESERVED_SLOTS: &str = "reserved_slots"; constant METHOD_GET_ERA_VALIDATORS (line 75) | pub const METHOD_GET_ERA_VALIDATORS: &str = "get_era_validators"; constant METHOD_ADD_BID (line 77) | pub const METHOD_ADD_BID: &str = "add_bid"; constant METHOD_WITHDRAW_BID (line 79) | pub const METHOD_WITHDRAW_BID: &str = "withdraw_bid"; constant METHOD_DELEGATE (line 81) | pub const METHOD_DELEGATE: &str = "delegate"; constant METHOD_UNDELEGATE (line 83) | pub const METHOD_UNDELEGATE: &str = "undelegate"; constant METHOD_REDELEGATE (line 85) | pub const METHOD_REDELEGATE: &str = "redelegate"; constant METHOD_RUN_AUCTION (line 87) | pub const METHOD_RUN_AUCTION: &str = "run_auction"; constant METHOD_SLASH (line 89) | pub const METHOD_SLASH: &str = "slash"; constant METHOD_DISTRIBUTE (line 91) | pub const METHOD_DISTRIBUTE: &str = "distribute"; constant METHOD_READ_ERA_ID (line 93) | pub const METHOD_READ_ERA_ID: &str = "read_era_id"; constant METHOD_ACTIVATE_BID (line 95) | pub const METHOD_ACTIVATE_BID: &str = "activate_bid"; constant METHOD_CHANGE_BID_PUBLIC_KEY (line 97) | pub const METHOD_CHANGE_BID_PUBLIC_KEY: &str = " change_bid_public_key"; constant METHOD_ADD_RESERVATIONS (line 99) | pub const METHOD_ADD_RESERVATIONS: &str = "add_reservations"; constant METHOD_CANCEL_RESERVATIONS (line 101) | pub const METHOD_CANCEL_RESERVATIONS: &str = "cancel_reservations"; constant ERA_ID_KEY (line 104) | pub const ERA_ID_KEY: &str = "era_id"; constant ERA_END_TIMESTAMP_MILLIS_KEY (line 106) | pub const ERA_END_TIMESTAMP_MILLIS_KEY: &str = "era_end_timestamp_millis"; constant SEIGNIORAGE_RECIPIENTS_SNAPSHOT_KEY (line 108) | pub const SEIGNIORAGE_RECIPIENTS_SNAPSHOT_KEY: &str = "seigniorage_recip... constant SEIGNIORAGE_RECIPIENTS_SNAPSHOT_VERSION_KEY (line 110) | pub const SEIGNIORAGE_RECIPIENTS_SNAPSHOT_VERSION_KEY: &str = constant DEFAULT_SEIGNIORAGE_RECIPIENTS_SNAPSHOT_VERSION (line 113) | pub const DEFAULT_SEIGNIORAGE_RECIPIENTS_SNAPSHOT_VERSION: u8 = 2; constant VALIDATOR_SLOTS_KEY (line 116) | pub const VALIDATOR_SLOTS_KEY: &str = "validator_slots"; constant AUCTION_DELAY_KEY (line 118) | pub const AUCTION_DELAY_KEY: &str = "auction_delay"; constant LOCKED_FUNDS_PERIOD_KEY (line 120) | pub const LOCKED_FUNDS_PERIOD_KEY: &str = "locked_funds_period"; constant UNBONDING_DELAY_KEY (line 122) | pub const UNBONDING_DELAY_KEY: &str = "unbonding_delay"; constant MINIMUM_DELEGATION_RATE_KEY (line 124) | pub const MINIMUM_DELEGATION_RATE_KEY: &str = "minimum_delegation_rate"; FILE: types/src/system/auction/delegator.rs type Delegator (line 21) | pub struct Delegator { method unlocked (line 31) | pub fn unlocked( method locked (line 48) | pub fn locked( method delegator_public_key (line 66) | pub fn delegator_public_key(&self) -> &PublicKey { method is_locked (line 74) | pub fn is_locked(&self, timestamp_millis: u64) -> bool { method is_locked_with_vesting_schedule (line 82) | pub fn is_locked_with_vesting_schedule( method staked_amount (line 96) | pub fn staked_amount(&self) -> U512 { method staked_amount_mut (line 101) | pub fn staked_amount_mut(&mut self) -> &mut U512 { method bonding_purse (line 106) | pub fn bonding_purse(&self) -> &URef { method validator_public_key (line 111) | pub fn validator_public_key(&self) -> &PublicKey { method decrease_stake (line 116) | pub fn decrease_stake( method increase_stake (line 151) | pub fn increase_stake(&mut self, amount: U512) -> Result { method vesting_schedule (line 164) | pub fn vesting_schedule(&self) -> Option<&VestingSchedule> { method vesting_schedule_mut (line 170) | pub fn vesting_schedule_mut(&mut self) -> Option<&mut VestingSchedule> { method empty (line 175) | pub fn empty( method with_validator_public_key (line 192) | pub fn with_validator_public_key(&mut self, validator_public_key: Publ... method cl_type (line 199) | fn cl_type() -> CLType { method to_bytes (line 205) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 215) | fn serialized_length(&self) -> usize { method write_bytes (line 223) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 234) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method fmt (line 254) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { function serialization_roundtrip (line 273) | fn serialization_roundtrip() { FILE: types/src/system/auction/delegator_bid.rs type DelegatorBid (line 27) | pub struct DelegatorBid { method unlocked (line 37) | pub fn unlocked( method locked (line 54) | pub fn locked( method delegator_kind (line 72) | pub fn delegator_kind(&self) -> &DelegatorKind { method is_locked (line 80) | pub fn is_locked(&self, timestamp_millis: u64) -> bool { method is_locked_with_vesting_schedule (line 88) | pub fn is_locked_with_vesting_schedule( method staked_amount (line 102) | pub fn staked_amount(&self) -> U512 { method staked_amount_mut (line 107) | pub fn staked_amount_mut(&mut self) -> &mut U512 { method bonding_purse (line 112) | pub fn bonding_purse(&self) -> &URef { method validator_public_key (line 117) | pub fn validator_public_key(&self) -> &PublicKey { method decrease_stake (line 122) | pub fn decrease_stake( method increase_stake (line 157) | pub fn increase_stake(&mut self, amount: U512) -> Result { method vesting_schedule (line 170) | pub fn vesting_schedule(&self) -> Option<&VestingSchedule> { method vesting_schedule_mut (line 176) | pub fn vesting_schedule_mut(&mut self) -> Option<&mut VestingSchedule> { method empty (line 181) | pub fn empty( method with_validator_public_key (line 198) | pub fn with_validator_public_key(&mut self, validator_public_key: Publ... method bid_addr (line 204) | pub fn bid_addr(&self) -> BidAddr { method unbond_kind (line 218) | pub fn unbond_kind(&self) -> UnbondKind { method from (line 292) | fn from(value: Delegator) -> Self { method cl_type (line 227) | fn cl_type() -> CLType { method to_bytes (line 233) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 243) | fn serialized_length(&self) -> usize { method write_bytes (line 251) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 262) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method fmt (line 282) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { function serialization_roundtrip (line 312) | fn serialization_roundtrip() { FILE: types/src/system/auction/delegator_kind.rs type DelegatorKindTag (line 26) | pub enum DelegatorKindTag { type DelegatorKind (line 38) | pub enum DelegatorKind { method tag (line 47) | pub fn tag(&self) -> DelegatorKindTag { method is_purse (line 55) | pub fn is_purse(&self) -> bool { method from (line 119) | fn from(value: PublicKey) -> Self { method from (line 125) | fn from(value: &PublicKey) -> Self { method from (line 131) | fn from(value: URef) -> Self { method from (line 137) | fn from(value: URefAddr) -> Self { type Error (line 185) | type Error = DelegatorKindError; method try_from (line 187) | fn try_from(value: HumanReadableDelegatorKind) -> Result Self { method deserialize (line 223) | fn deserialize>(deserializer: D) -> Result Result, bytesrepr::Error> { method serialized_length (line 74) | fn serialized_length(&self) -> usize { method write_bytes (line 82) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 93) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method fmt (line 106) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { method cl_type (line 143) | fn cl_type() -> CLType { method sample (line 150) | fn sample(&self, rng: &mut R) -> DelegatorKind { method serialize (line 160) | fn serialize(&self, serializer: S) -> Result fmt::Result { type HumanReadableDelegatorKind (line 242) | pub(super) enum HumanReadableDelegatorKind { method from (line 254) | fn from(delegator_kind: &DelegatorKind) -> Self { type NonHumanReadableDelegatorKind (line 248) | pub(super) enum NonHumanReadableDelegatorKind { method from (line 267) | fn from(delegator_kind: &DelegatorKind) -> Self { function purse_serialized_as_string (line 288) | fn purse_serialized_as_string() { function given_broken_address_purse_deserialziation_fails (line 298) | fn given_broken_address_purse_deserialziation_fails() { function json_roundtrip (line 309) | fn json_roundtrip() { function serialization_roundtrip (line 324) | fn serialization_roundtrip() { FILE: types/src/system/auction/entry_points.rs function auction_entry_points (line 21) | pub fn auction_entry_points() -> EntryPoints { FILE: types/src/system/auction/era_info.rs constant SEIGNIORAGE_ALLOCATION_VALIDATOR_TAG (line 15) | const SEIGNIORAGE_ALLOCATION_VALIDATOR_TAG: u8 = 0; constant SEIGNIORAGE_ALLOCATION_DELEGATOR_TAG (line 16) | const SEIGNIORAGE_ALLOCATION_DELEGATOR_TAG: u8 = 1; constant SEIGNIORAGE_ALLOCATION_DELEGATOR_KIND_TAG (line 17) | const SEIGNIORAGE_ALLOCATION_DELEGATOR_KIND_TAG: u8 = 2; type SeigniorageAllocation (line 24) | pub enum SeigniorageAllocation { method validator (line 54) | pub const fn validator(validator_public_key: PublicKey, amount: U512) ... method delegator (line 62) | pub const fn delegator( method delegator_kind (line 75) | pub const fn delegator_kind( method amount (line 88) | pub fn amount(&self) -> &U512 { method tag (line 96) | fn tag(&self) -> u8 { method to_bytes (line 108) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 114) | fn serialized_length(&self) -> usize { method write_bytes (line 142) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 176) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method cl_type (line 219) | fn cl_type() -> CLType { type EraInfo (line 229) | pub struct EraInfo { method new (line 235) | pub fn new() -> Self { method seigniorage_allocations (line 243) | pub fn seigniorage_allocations(&self) -> &Vec { method seigniorage_allocations_mut (line 248) | pub fn seigniorage_allocations_mut(&mut self) -> &mut Vec impl Iterator Result, bytesrepr::Error> { method serialized_length (line 288) | fn serialized_length(&self) -> usize { method write_bytes (line 292) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 299) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method cl_type (line 311) | fn cl_type() -> CLType { function seigniorage_allocation_validator_arb (line 331) | fn seigniorage_allocation_validator_arb() -> impl Strategy impl Strategy impl Strategy) -> impl Strategy result::Result { method from (line 629) | fn from(_: bytesrepr::Error) -> Self { method from (line 642) | fn from(error: PurseLookupError) -> Self { method fmt (line 425) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { method cl_type (line 497) | fn cl_type() -> CLType { type TryFromU8ForError (line 505) | pub struct TryFromU8ForError(()); method to_bytes (line 606) | fn to_bytes(&self) -> result::Result, bytesrepr::Error> { method serialized_length (line 611) | fn serialized_length(&self) -> usize { method from_bytes (line 617) | fn from_bytes(bytes: &[u8]) -> result::Result<(Self, &[u8]), bytesrepr::... type PurseLookupError (line 636) | pub enum PurseLookupError { function error_forward_trips (line 657) | fn error_forward_trips() { function error_backward_trips (line 667) | fn error_backward_trips() { FILE: types/src/system/auction/reservation.rs type Reservation (line 27) | pub struct Reservation { method new (line 38) | pub fn new( method delegator_kind (line 51) | pub fn delegator_kind(&self) -> &DelegatorKind { method validator_public_key (line 56) | pub fn validator_public_key(&self) -> &PublicKey { method delegation_rate (line 61) | pub fn delegation_rate(&self) -> &DelegationRate { method cl_type (line 67) | fn cl_type() -> CLType { method to_bytes (line 73) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 81) | fn serialized_length(&self) -> usize { method write_bytes (line 87) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 96) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method fmt (line 112) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { method sample (line 123) | fn sample(&self, rng: &mut R) -> Reservation { function serialization_roundtrip (line 137) | fn serialization_roundtrip() { FILE: types/src/system/auction/seigniorage_recipient.rs type SeigniorageRecipientV1 (line 12) | pub struct SeigniorageRecipientV1 { method new (line 23) | pub fn new( method stake (line 36) | pub fn stake(&self) -> &U512 { method delegation_rate (line 41) | pub fn delegation_rate(&self) -> &DelegationRate { method delegator_stake (line 46) | pub fn delegator_stake(&self) -> &BTreeMap { method total_stake (line 51) | pub fn total_stake(&self) -> Option { method delegator_total_stake (line 56) | pub fn delegator_total_stake(&self) -> Option { method from (line 104) | fn from(bid: &Bid) -> Self { method cl_type (line 66) | fn cl_type() -> CLType { method to_bytes (line 72) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 80) | fn serialized_length(&self) -> usize { method from_bytes (line 88) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { type SeigniorageRecipientV2 (line 122) | pub struct SeigniorageRecipientV2 { method new (line 135) | pub fn new( method stake (line 150) | pub fn stake(&self) -> &U512 { method delegation_rate (line 155) | pub fn delegation_rate(&self) -> &DelegationRate { method delegator_stake (line 160) | pub fn delegator_stake(&self) -> &BTreeMap { method total_stake (line 165) | pub fn total_stake(&self) -> Option { method delegator_total_stake (line 170) | pub fn delegator_total_stake(&self) -> Option { method reservation_delegation_rates (line 179) | pub fn reservation_delegation_rates(&self) -> &BTreeMap Self { method from (line 248) | fn from(snapshot: SeigniorageRecipientV1) -> Self { method cl_type (line 185) | fn cl_type() -> CLType { method to_bytes (line 191) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 200) | fn serialized_length(&self) -> usize { method from_bytes (line 209) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { type SeigniorageRecipient (line 265) | pub enum SeigniorageRecipient { method stake (line 272) | pub fn stake(&self) -> &U512 { method delegation_rate (line 280) | pub fn delegation_rate(&self) -> &DelegationRate { method delegator_stake (line 288) | pub fn delegator_stake(&self) -> BTreeMap { method total_stake (line 300) | pub fn total_stake(&self) -> Option { method delegator_total_stake (line 308) | pub fn delegator_total_stake(&self) -> Option { method reservation_delegation_rates (line 316) | pub fn reservation_delegation_rates(&self) -> Option<&BTreeMap UnbondKindTag { method maybe_public_key (line 50) | pub fn maybe_public_key(&self) -> Option { method is_validator (line 58) | pub fn is_validator(&self) -> bool { method is_delegator (line 66) | pub fn is_delegator(&self) -> bool { method bid_addr (line 71) | pub fn bid_addr(&self, validator_public_key: &PublicKey) -> BidAddr { method from (line 140) | fn from(value: DelegatorKind) -> Self { type Error (line 174) | type Error = UnbondKindError; method try_from (line 176) | fn try_from(value: HumanReadableUnbondKind) -> Result Self { method deserialize (line 216) | fn deserialize>(deserializer: D) -> Result Result, bytesrepr::Error> { method serialized_length (line 102) | fn serialized_length(&self) -> usize { method write_bytes (line 111) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 123) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method serialize (line 149) | fn serialize(&self, serializer: S) -> Result) -> fmt::Result { type Unbond (line 232) | pub struct Unbond { method new (line 243) | pub const fn new( method new_validator_unbond (line 256) | pub fn new_validator_unbond(validator_public_key: PublicKey, eras: Vec... method new_delegated_account_unbond (line 265) | pub const fn new_delegated_account_unbond( method new_delegated_purse_unbond (line 278) | pub const fn new_delegated_purse_unbond( method is_validator (line 292) | pub fn is_validator(&self) -> bool { method validator_public_key (line 300) | pub fn validator_public_key(&self) -> &PublicKey { method unbond_kind (line 305) | pub fn unbond_kind(&self) -> &UnbondKind { method eras (line 310) | pub fn eras(&self) -> &Vec { method eras_mut (line 315) | pub fn eras_mut(&mut self) -> &mut Vec { method take_eras (line 320) | pub fn take_eras(mut self) -> Vec { method expired (line 327) | pub fn expired(self, era_id: EraId, unbonding_delay: u64) -> (Unbond, ... method target_unbond_era (line 350) | pub fn target_unbond_era(&self) -> Option { method target_unbond_era_mut (line 358) | pub fn target_unbond_era_mut(&mut self) -> Option<&mut UnbondEra> { method from (line 421) | fn from(unbonding_purse: UnbondingPurse) -> Self { method from (line 442) | fn from(withdraw_purse: WithdrawPurse) -> Self { method to_bytes (line 366) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 373) | fn serialized_length(&self) -> usize { method write_bytes (line 379) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 388) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method cl_type (line 405) | fn cl_type() -> CLType { method default (line 411) | fn default() -> Self { type UnbondEra (line 467) | pub struct UnbondEra { method new (line 480) | pub const fn new( method bonding_purse (line 495) | pub fn bonding_purse(&self) -> &URef { method era_of_creation (line 500) | pub fn era_of_creation(&self) -> EraId { method amount (line 505) | pub fn amount(&self) -> &U512 { method new_validator (line 510) | pub fn new_validator(&self) -> &Option { method with_amount (line 515) | pub fn with_amount(&mut self, amount: U512) { method to_bytes (line 521) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 529) | fn serialized_length(&self) -> usize { method write_bytes (line 536) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 546) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method cl_type (line 565) | fn cl_type() -> CLType { type HumanReadableUnbondKind (line 577) | pub(super) enum HumanReadableUnbondKind { method from (line 591) | fn from(unbond_source: &UnbondKind) -> Self { type NonHumanReadableUnbondKind (line 584) | pub(super) enum NonHumanReadableUnbondKind { method from (line 607) | fn from(unbond_kind: &UnbondKind) -> Self { constant BONDING_PURSE (line 637) | const BONDING_PURSE: URef = URef::new([14; 32], AccessRights::READ_ADD_W... constant ERA_OF_WITHDRAWAL (line 638) | const ERA_OF_WITHDRAWAL: EraId = EraId::MAX; function validator_public_key (line 640) | fn validator_public_key() -> PublicKey { function delegated_account_unbond_kind (line 645) | fn delegated_account_unbond_kind() -> UnbondKind { function amount (line 650) | fn amount() -> U512 { function serialization_roundtrip_for_unbond (line 655) | fn serialization_roundtrip_for_unbond() { function should_be_validator_condition_for_unbond (line 673) | fn should_be_validator_condition_for_unbond() { function should_be_delegator_condition_for_unbond (line 684) | fn should_be_delegator_condition_for_unbond() { function purse_serialized_as_string (line 694) | fn purse_serialized_as_string() { function given_broken_address_purse_deserialziation_fails (line 704) | fn given_broken_address_purse_deserialziation_fails() { function json_roundtrip (line 716) | fn json_roundtrip() { FILE: types/src/system/auction/unbonding_purse.rs type UnbondingPurse (line 21) | pub struct UnbondingPurse { method new (line 38) | pub const fn new( method is_validator (line 58) | pub fn is_validator(&self) -> bool { method bonding_purse (line 63) | pub fn bonding_purse(&self) -> &URef { method validator_public_key (line 68) | pub fn validator_public_key(&self) -> &PublicKey { method unbonder_public_key (line 77) | pub fn unbonder_public_key(&self) -> &PublicKey { method era_of_creation (line 82) | pub fn era_of_creation(&self) -> EraId { method amount (line 87) | pub fn amount(&self) -> &U512 { method new_validator (line 92) | pub fn new_validator(&self) -> &Option { method with_amount (line 97) | pub fn with_amount(&mut self, amount: U512) { method from (line 163) | fn from(withdraw_purse: WithdrawPurse) -> Self { method to_bytes (line 103) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 113) | fn serialized_length(&self) -> usize { method write_bytes (line 122) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 134) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method cl_type (line 157) | fn cl_type() -> CLType { constant BONDING_PURSE (line 182) | const BONDING_PURSE: URef = URef::new([14; 32], AccessRights::READ_ADD_W... constant ERA_OF_WITHDRAWAL (line 183) | const ERA_OF_WITHDRAWAL: EraId = EraId::MAX; function validator_public_key (line 185) | fn validator_public_key() -> PublicKey { function unbonder_public_key (line 190) | fn unbonder_public_key() -> PublicKey { function amount (line 195) | fn amount() -> U512 { function serialization_roundtrip_for_unbonding_purse (line 200) | fn serialization_roundtrip_for_unbonding_purse() { function should_be_validator_condition_for_unbonding_purse (line 214) | fn should_be_validator_condition_for_unbonding_purse() { function should_be_delegator_condition_for_unbonding_purse (line 227) | fn should_be_delegator_condition_for_unbonding_purse() { FILE: types/src/system/auction/validator_bid.rs type ValidatorBid (line 25) | pub struct ValidatorBid { method with_min_max_delegation_amount (line 48) | pub fn with_min_max_delegation_amount( method with_inactive (line 58) | pub fn with_inactive(mut self, inactive: bool) -> Self { method locked (line 67) | pub fn locked( method unlocked (line 93) | pub fn unlocked( method empty (line 118) | pub fn empty(validator_public_key: PublicKey, bonding_purse: URef) -> ... method validator_public_key (line 137) | pub fn validator_public_key(&self) -> &PublicKey { method bonding_purse (line 142) | pub fn bonding_purse(&self) -> &URef { method is_locked (line 150) | pub fn is_locked(&self, timestamp_millis: u64) -> bool { method is_locked_with_vesting_schedule (line 158) | pub fn is_locked_with_vesting_schedule( method staked_amount (line 172) | pub fn staked_amount(&self) -> U512 { method staked_amount_mut (line 177) | pub fn staked_amount_mut(&mut self) -> &mut U512 { method delegation_rate (line 182) | pub fn delegation_rate(&self) -> &DelegationRate { method vesting_schedule (line 188) | pub fn vesting_schedule(&self) -> Option<&VestingSchedule> { method vesting_schedule_mut (line 194) | pub fn vesting_schedule_mut(&mut self) -> Option<&mut VestingSchedule> { method reserved_slots (line 199) | pub fn reserved_slots(&self) -> u32 { method inactive (line 204) | pub fn inactive(&self) -> bool { method decrease_stake (line 209) | pub fn decrease_stake( method increase_stake (line 244) | pub fn increase_stake(&mut self, amount: U512) -> Result { method with_delegation_rate (line 256) | pub fn with_delegation_rate(&mut self, delegation_rate: DelegationRate... method with_reserved_slots (line 262) | pub fn with_reserved_slots(&mut self, reserved_slots: u32) -> &mut Self { method activate (line 268) | pub fn activate(&mut self) { method deactivate (line 273) | pub fn deactivate(&mut self) { method with_validator_public_key (line 278) | pub fn with_validator_public_key(&mut self, validator_public_key: Publ... method minimum_delegation_amount (line 284) | pub fn minimum_delegation_amount(&self) -> u64 { method maximum_delegation_amount (line 289) | pub fn maximum_delegation_amount(&self) -> u64 { method set_delegation_amount_boundaries (line 294) | pub fn set_delegation_amount_boundaries( method from (line 380) | fn from(bid: Bid) -> Self { method cl_type (line 305) | fn cl_type() -> CLType { method to_bytes (line 311) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 325) | fn serialized_length(&self) -> usize { method write_bytes (line 337) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 352) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function serialization_roundtrip_active (line 404) | fn serialization_roundtrip_active() { function serialization_roundtrip_inactive (line 422) | fn serialization_roundtrip_inactive() { function should_immediately_initialize_unlock_amounts (line 440) | fn should_immediately_initialize_unlock_amounts() { FILE: types/src/system/auction/validator_credit.rs type ValidatorCredit (line 18) | pub struct ValidatorCredit { method new (line 29) | pub fn new(validator_public_key: PublicKey, era_id: EraId, amount: U51... method validator_public_key (line 38) | pub fn validator_public_key(&self) -> &PublicKey { method era_id (line 43) | pub fn era_id(&self) -> EraId { method amount (line 48) | pub fn amount(&self) -> U512 { method increase (line 53) | pub fn increase(&mut self, additional_amount: U512) -> U512 { method empty (line 59) | pub fn empty(validator_public_key: PublicKey, era_id: EraId) -> Self { method cl_type (line 69) | fn cl_type() -> CLType { method to_bytes (line 75) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 81) | fn serialized_length(&self) -> usize { method write_bytes (line 87) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 96) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function serialization_roundtrip (line 119) | fn serialization_roundtrip() { FILE: types/src/system/auction/withdraw_purse.rs type WithdrawPurse (line 19) | pub struct WithdrawPurse { method new (line 34) | pub const fn new( method is_validator (line 52) | pub fn is_validator(&self) -> bool { method bonding_purse (line 57) | pub fn bonding_purse(&self) -> &URef { method validator_public_key (line 62) | pub fn validator_public_key(&self) -> &PublicKey { method unbonder_public_key (line 71) | pub fn unbonder_public_key(&self) -> &PublicKey { method era_of_creation (line 76) | pub fn era_of_creation(&self) -> EraId { method amount (line 81) | pub fn amount(&self) -> &U512 { method to_bytes (line 87) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 97) | fn serialized_length(&self) -> usize { method from_bytes (line 107) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method cl_type (line 128) | fn cl_type() -> CLType { constant BONDING_PURSE (line 139) | const BONDING_PURSE: URef = URef::new([41; 32], AccessRights::READ_ADD_W... constant ERA_OF_WITHDRAWAL (line 140) | const ERA_OF_WITHDRAWAL: EraId = EraId::MAX; function validator_public_key (line 142) | fn validator_public_key() -> PublicKey { function unbonder_public_key (line 147) | fn unbonder_public_key() -> PublicKey { function amount (line 152) | fn amount() -> U512 { function serialization_roundtrip_for_withdraw_purse (line 157) | fn serialization_roundtrip_for_withdraw_purse() { function should_be_validator_condition_for_withdraw_purse (line 170) | fn should_be_validator_condition_for_withdraw_purse() { function should_be_delegator_condition_for_withdraw_purse (line 182) | fn should_be_delegator_condition_for_withdraw_purse() { FILE: types/src/system/caller.rs type CallerTag (line 24) | pub enum CallerTag { constant ACCOUNT (line 33) | const ACCOUNT: u8 = 0; constant PACKAGE (line 34) | const PACKAGE: u8 = 1; constant CONTRACT_PACKAGE (line 35) | const CONTRACT_PACKAGE: u8 = 2; constant ENTITY (line 36) | const ENTITY: u8 = 3; constant CONTRACT (line 37) | const CONTRACT: u8 = 4; type CallerInfo (line 40) | pub struct CallerInfo { method kind (line 52) | pub fn kind(&self) -> u8 { method get_field_by_index (line 56) | pub fn get_field_by_index(&self, index: u8) -> Option<&CLValue> { type Error (line 83) | type Error = CLValueError; method try_from (line 85) | fn try_from(value: Caller) -> Result { method cl_type (line 46) | fn cl_type() -> CLType { method to_bytes (line 62) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 69) | fn serialized_length(&self) -> usize { method from_bytes (line 75) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { type Caller (line 142) | pub enum Caller { method initiator (line 166) | pub fn initiator(account_hash: AccountHash) -> Self { method entity (line 172) | pub fn entity(package_hash: PackageHash, entity_addr: EntityAddr) -> S... method smart_contract (line 179) | pub fn smart_contract( method tag (line 190) | pub fn tag(&self) -> CallerTag { method contract_hash (line 199) | pub fn contract_hash(&self) -> Option { method to_bytes (line 209) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 233) | fn serialized_length(&self) -> usize { method from_bytes (line 250) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method cl_type (line 286) | fn cl_type() -> CLType { method from (line 292) | fn from(caller: &Caller) -> Self { FILE: types/src/system/caller/call_stack_elements.rs type CallStackElementTag (line 16) | pub enum CallStackElementTag { type CallStackElement (line 27) | pub enum CallStackElement { method session (line 54) | pub fn session(account_hash: AccountHash) -> Self { method stored_contract (line 60) | pub fn stored_contract( method stored_session (line 72) | pub fn stored_session( method tag (line 85) | pub fn tag(&self) -> CallStackElementTag { method contract_hash (line 94) | pub fn contract_hash(&self) -> Option<&ContractHash> { method to_bytes (line 104) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 131) | fn serialized_length(&self) -> usize { method from_bytes (line 153) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method cl_type (line 192) | fn cl_type() -> CLType { FILE: types/src/system/error.rs type Error (line 8) | pub enum Error { method from (line 18) | fn from(error: mint::Error) -> Error { method from (line 24) | fn from(error: handle_payment::Error) -> Error { method from (line 30) | fn from(error: auction::Error) -> Error { method fmt (line 36) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { FILE: types/src/system/handle_payment/constants.rs constant ARG_PURSE (line 2) | pub const ARG_PURSE: &str = "purse"; constant ARG_AMOUNT (line 4) | pub const ARG_AMOUNT: &str = "amount"; constant ARG_ACCOUNT (line 6) | pub const ARG_ACCOUNT: &str = "account"; constant ARG_TARGET (line 8) | pub const ARG_TARGET: &str = "target"; constant METHOD_GET_PAYMENT_PURSE (line 11) | pub const METHOD_GET_PAYMENT_PURSE: &str = "get_payment_purse"; constant METHOD_SET_REFUND_PURSE (line 13) | pub const METHOD_SET_REFUND_PURSE: &str = "set_refund_purse"; constant METHOD_GET_REFUND_PURSE (line 15) | pub const METHOD_GET_REFUND_PURSE: &str = "get_refund_purse"; constant CONTRACT_HASH_KEY (line 18) | pub const CONTRACT_HASH_KEY: &str = "contract_hash"; constant CONTRACT_ACCESS_KEY (line 21) | pub const CONTRACT_ACCESS_KEY: &str = "access_key"; constant PAYMENT_PURSE_KEY (line 24) | pub const PAYMENT_PURSE_KEY: &str = "payment_purse"; constant REFUND_PURSE_KEY (line 28) | pub const REFUND_PURSE_KEY: &str = "refund_purse"; constant ACCUMULATION_PURSE_KEY (line 33) | pub const ACCUMULATION_PURSE_KEY: &str = "accumulation_purse"; FILE: types/src/system/handle_payment/entry_points.rs function handle_payment_entry_points (line 12) | pub fn handle_payment_entry_points() -> EntryPoints { FILE: types/src/system/handle_payment/error.rs type Error (line 17) | pub enum Error { type Error (line 354) | type Error = (); method try_from (line 356) | fn try_from(value: u8) -> Result { method fmt (line 274) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { method cl_type (line 435) | fn cl_type() -> CLType { method to_bytes (line 441) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 446) | fn serialized_length(&self) -> usize { FILE: types/src/system/mint/balance_hold.rs constant GAS_TAG (line 29) | const GAS_TAG: u8 = 0; constant PROCESSING_TAG (line 30) | const PROCESSING_TAG: u8 = 1; type BalanceHoldAddrTag (line 39) | pub enum BalanceHoldAddrTag { constant BALANCE_HOLD_ADDR_TAG_LENGTH (line 49) | pub const BALANCE_HOLD_ADDR_TAG_LENGTH: usize = 1; method try_from_u8 (line 52) | pub fn try_from_u8(value: u8) -> Option { method fmt (line 65) | fn fmt(&self, f: &mut Formatter<'_>) -> core::fmt::Result { method to_bytes (line 75) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 81) | fn serialized_length(&self) -> usize { method write_bytes (line 85) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 92) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { type BalanceHoldAddr (line 106) | pub enum BalanceHoldAddr { constant GAS_HOLD_ADDR_LENGTH (line 125) | pub const GAS_HOLD_ADDR_LENGTH: usize = UREF_ADDR_LENGTH method new_gas (line 130) | pub const fn new_gas(purse_addr: URefAddr, block_time: BlockTime) -> B... method new_processing (line 138) | pub const fn new_processing(purse_addr: URefAddr, block_time: BlockTim... method serialized_length (line 146) | pub fn serialized_length(&self) -> usize { method tag (line 168) | pub fn tag(&self) -> BalanceHoldAddrTag { method purse_addr (line 176) | pub fn purse_addr(&self) -> URefAddr { method block_time (line 184) | pub fn block_time(&self) -> BlockTime { method to_formatted_string (line 192) | pub fn to_formatted_string(&self) -> String { method from_formatted_string (line 222) | pub fn from_formatted_string(hex: &str) -> Result { type Error (line 342) | type Error = (); method try_from (line 344) | fn try_from(value: Key) -> Result { method to_bytes (line 270) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 289) | fn serialized_length(&self) -> usize { method from_bytes (line 295) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method default (line 326) | fn default() -> Self { method from (line 335) | fn from(balance_hold_addr: BalanceHoldAddr) -> Self { method fmt (line 354) | fn fmt(&self, f: &mut Formatter<'_>) -> core::fmt::Result { method fmt (line 378) | fn fmt(&self, f: &mut Formatter) -> core::fmt::Result { method sample (line 404) | fn sample(&self, rng: &mut R) -> BalanceHoldAddr { function serialization_roundtrip (line 414) | fn serialization_roundtrip() { FILE: types/src/system/mint/constants.rs constant ARG_PURSE (line 2) | pub const ARG_PURSE: &str = "purse"; constant ARG_AMOUNT (line 4) | pub const ARG_AMOUNT: &str = "amount"; constant ARG_ID (line 6) | pub const ARG_ID: &str = "id"; constant ARG_TO (line 8) | pub const ARG_TO: &str = "to"; constant ARG_SOURCE (line 10) | pub const ARG_SOURCE: &str = "source"; constant ARG_TARGET (line 12) | pub const ARG_TARGET: &str = "target"; constant ARG_ROUND_SEIGNIORAGE_RATE (line 14) | pub const ARG_ROUND_SEIGNIORAGE_RATE: &str = "round_seigniorage_rate"; constant METHOD_MINT (line 17) | pub const METHOD_MINT: &str = "mint"; constant METHOD_REDUCE_TOTAL_SUPPLY (line 19) | pub const METHOD_REDUCE_TOTAL_SUPPLY: &str = "reduce_total_supply"; constant METHOD_BURN (line 21) | pub const METHOD_BURN: &str = "burn"; constant METHOD_CREATE (line 23) | pub const METHOD_CREATE: &str = "create"; constant METHOD_BALANCE (line 25) | pub const METHOD_BALANCE: &str = "balance"; constant METHOD_TRANSFER (line 27) | pub const METHOD_TRANSFER: &str = "transfer"; constant METHOD_READ_BASE_ROUND_REWARD (line 29) | pub const METHOD_READ_BASE_ROUND_REWARD: &str = "read_base_round_reward"; constant METHOD_MINT_INTO_EXISTING_PURSE (line 31) | pub const METHOD_MINT_INTO_EXISTING_PURSE: &str = "mint_into_existing_pu... constant HASH_KEY (line 34) | pub const HASH_KEY: &str = "mint_hash"; constant ACCESS_KEY (line 36) | pub const ACCESS_KEY: &str = "mint_access"; constant BASE_ROUND_REWARD_KEY (line 38) | pub const BASE_ROUND_REWARD_KEY: &str = "mint_base_round_reward"; constant TOTAL_SUPPLY_KEY (line 40) | pub const TOTAL_SUPPLY_KEY: &str = "total_supply"; constant ROUND_SEIGNIORAGE_RATE_KEY (line 42) | pub const ROUND_SEIGNIORAGE_RATE_KEY: &str = "round_seigniorage_rate"; constant MINT_GAS_HOLD_HANDLING_KEY (line 44) | pub const MINT_GAS_HOLD_HANDLING_KEY: &str = "gas_hold_handling"; constant MINT_GAS_HOLD_INTERVAL_KEY (line 46) | pub const MINT_GAS_HOLD_INTERVAL_KEY: &str = "gas_hold_interval"; constant MINT_SUSTAIN_PURSE_KEY (line 48) | pub const MINT_SUSTAIN_PURSE_KEY: &str = "sustain_purse"; FILE: types/src/system/mint/entry_points.rs function mint_entry_points (line 15) | pub fn mint_entry_points() -> EntryPoints { FILE: types/src/system/mint/error.rs type Error (line 18) | pub enum Error { type Error (line 195) | type Error = TryFromU8ForError; method try_from (line 197) | fn try_from(value: u8) -> Result { constant MAX_ERROR_VALUE (line 180) | const MAX_ERROR_VALUE: u8 = Error::Sentinel as u8; method cl_type (line 183) | fn cl_type() -> CLType { type TryFromU8ForError (line 190) | pub struct TryFromU8ForError(()); method to_bytes (line 239) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 244) | fn serialized_length(&self) -> usize { method from_bytes (line 250) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method fmt (line 262) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { function error_round_trips (line 311) | fn error_round_trips() { FILE: types/src/system/prepayment/prepayment_kind.rs type PrepaymentKind (line 17) | pub struct PrepaymentKind { method to_bytes (line 24) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 30) | fn serialized_length(&self) -> usize { method write_bytes (line 36) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... FILE: types/src/system/standard_payment/constants.rs constant ARG_AMOUNT (line 2) | pub const ARG_AMOUNT: &str = "amount"; constant METHOD_PAY (line 5) | pub const METHOD_PAY: &str = "pay"; constant HASH_KEY (line 8) | pub const HASH_KEY: &str = "standard_payment_hash"; constant ACCESS_KEY (line 10) | pub const ACCESS_KEY: &str = "standard_payment_access"; FILE: types/src/system/standard_payment/entry_points.rs function standard_payment_entry_points (line 10) | pub fn standard_payment_entry_points() -> EntryPoints { FILE: types/src/system/system_contract_type.rs constant MINT_TAG (line 28) | const MINT_TAG: u8 = 0; constant HANDLE_PAYMENT_TAG (line 29) | const HANDLE_PAYMENT_TAG: u8 = 1; constant STANDARD_PAYMENT_TAG (line 30) | const STANDARD_PAYMENT_TAG: u8 = 2; constant AUCTION_TAG (line 31) | const AUCTION_TAG: u8 = 3; type SystemEntityType (line 47) | pub enum SystemEntityType { method entity_name (line 124) | pub fn entity_name(&self) -> String { method entry_points (line 134) | pub fn entry_points(&self) -> EntryPoints { type Error (line 158) | type Error = ApiError; method try_from (line 159) | fn try_from(value: u32) -> Result { method to_bytes (line 60) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 66) | fn serialized_length(&self) -> usize { method write_bytes (line 70) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), Error> { method from_bytes (line 88) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { method sample (line 102) | fn sample(&self, rng: &mut R) -> SystemEntityType { constant MINT (line 114) | pub const MINT: &str = "mint"; constant HANDLE_PAYMENT (line 116) | pub const HANDLE_PAYMENT: &str = "handle payment"; constant STANDARD_PAYMENT (line 118) | pub const STANDARD_PAYMENT: &str = "standard payment"; constant AUCTION (line 120) | pub const AUCTION: &str = "auction"; function from (line 145) | fn from(system_contract_type: SystemEntityType) -> u32 { method fmt (line 171) | fn fmt(&self, f: &mut Formatter) -> fmt::Result { function get_index_of_mint_contract (line 188) | fn get_index_of_mint_contract() { function get_index_of_handle_payment_contract (line 195) | fn get_index_of_handle_payment_contract() { function get_index_of_standard_payment_contract (line 202) | fn get_index_of_standard_payment_contract() { function get_index_of_auction_contract (line 212) | fn get_index_of_auction_contract() { function create_mint_variant_from_int (line 219) | fn create_mint_variant_from_int() { function create_handle_payment_variant_from_int (line 225) | fn create_handle_payment_variant_from_int() { function create_standard_payment_variant_from_int (line 231) | fn create_standard_payment_variant_from_int() { function create_auction_variant_from_int (line 237) | fn create_auction_variant_from_int() { function create_unknown_system_contract_variant (line 243) | fn create_unknown_system_contract_variant() { FILE: types/src/tagged.rs type Tagged (line 2) | pub trait Tagged { method tag (line 4) | fn tag(&self) -> T; FILE: types/src/testing.rs constant CL_TEST_SEED (line 20) | const CL_TEST_SEED: &str = "CL_TEST_SEED"; type Seed (line 22) | type Seed = ::Seed; type TestRng (line 28) | pub struct TestRng { method new (line 45) | pub fn new() -> Self { method from_seed (line 76) | pub fn from_seed(seed: Seed) -> Self { method random_string (line 83) | pub fn random_string>(&mut self, length_range: R... method random_vec (line 91) | pub fn random_vec, T>(&mut self, length_range: R... method set_flag_or_panic (line 99) | fn set_flag_or_panic() { method create_child (line 111) | pub fn create_child(&mut self) -> Self { method default (line 119) | fn default() -> Self { method fmt (line 125) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { method fmt (line 135) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { method drop (line 141) | fn drop(&mut self) { type Seed (line 157) | type Seed = ::Seed; method from_seed (line 159) | fn from_seed(seed: Self::Seed) -> Self { method next_u32 (line 165) | fn next_u32(&mut self) -> u32 { method next_u64 (line 169) | fn next_u64(&mut self) -> u64 { method fill_bytes (line 173) | fn fill_bytes(&mut self, dest: &mut [u8]) { method try_fill_bytes (line 177) | fn try_fill_bytes(&mut self, dest: &mut [u8]) -> Result<(), Error> { function second_test_rng_in_thread_should_panic (line 190) | fn second_test_rng_in_thread_should_panic() { FILE: types/src/timestamp.rs constant TIMESTAMP (line 28) | const TIMESTAMP: Timestamp = Timestamp(1_605_573_564_072); type Timestamp (line 40) | pub struct Timestamp(#[cfg_attr(feature = "json-schema", schemars(with =... constant MAX (line 44) | pub const MAX: Timestamp = Timestamp(u64::MAX); method now (line 48) | pub fn now() -> Self { method elapsed (line 55) | pub fn elapsed(&self) -> TimeDiff { method zero (line 60) | pub fn zero() -> Self { method millis (line 65) | pub fn millis(&self) -> u64 { method saturating_diff (line 70) | pub fn saturating_diff(self, other: Timestamp) -> TimeDiff { method saturating_sub (line 76) | pub fn saturating_sub(self, other: TimeDiff) -> Timestamp { method saturating_add (line 83) | pub fn saturating_add(self, other: TimeDiff) -> Timestamp { method trailing_zeros (line 88) | pub fn trailing_zeros(&self) -> u8 { method example (line 95) | pub fn example() -> &'static Self { method random (line 101) | pub fn random(rng: &mut TestRng) -> Self { method checked_sub (line 107) | pub fn checked_sub(self, other: TimeDiff) -> Option { type Output (line 141) | type Output = Timestamp; method add (line 143) | fn add(self, diff: TimeDiff) -> Timestamp { method add_assign (line 149) | fn add_assign(&mut self, rhs: TimeDiff) { type Output (line 156) | type Output = Timestamp; method sub (line 158) | fn sub(self, diff: TimeDiff) -> Timestamp { type Output (line 164) | type Output = TimeDiff; method rem (line 166) | fn rem(self, diff: TimeDiff) -> TimeDiff { type Output (line 175) | type Output = Timestamp; method shl (line 177) | fn shl(self, rhs: T) -> Timestamp { type Output (line 186) | type Output = Timestamp; method shr (line 188) | fn shr(self, rhs: T) -> Timestamp { method deserialize (line 206) | fn deserialize>(deserializer: D) -> Result Timestamp { method fmt (line 113) | fn fmt(&self, f: &mut Formatter) -> fmt::Result { type Err (line 128) | type Err = TimestampError; method from_str (line 130) | fn from_str(value: &str) -> Result { method serialize (line 195) | fn serialize(&self, serializer: S) -> Result Result, bytesrepr::Error> { method serialized_length (line 222) | fn serialized_length(&self) -> usize { method from_bytes (line 228) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { type TimeDiff (line 247) | pub struct TimeDiff(#[cfg_attr(feature = "json-schema", schemars(with = ... constant ZERO (line 271) | pub const ZERO: TimeDiff = TimeDiff(0); method millis (line 274) | pub const fn millis(&self) -> u64 { method from_seconds (line 279) | pub const fn from_seconds(seconds: u32) -> Self { method from_millis (line 284) | pub const fn from_millis(millis: u64) -> Self { method saturating_add (line 290) | pub fn saturating_add(self, rhs: u64) -> Self { method saturating_mul (line 296) | pub fn saturating_mul(self, rhs: u64) -> Self { method checked_mul (line 302) | pub fn checked_mul(self, rhs: u64) -> Option { type Output (line 308) | type Output = TimeDiff; method add (line 310) | fn add(self, rhs: TimeDiff) -> TimeDiff { method add_assign (line 316) | fn add_assign(&mut self, rhs: TimeDiff) { type Output (line 322) | type Output = TimeDiff; method sub (line 324) | fn sub(self, rhs: TimeDiff) -> TimeDiff { method sub_assign (line 330) | fn sub_assign(&mut self, rhs: TimeDiff) { type Output (line 336) | type Output = TimeDiff; method mul (line 338) | fn mul(self, rhs: u64) -> TimeDiff { type Output (line 344) | type Output = TimeDiff; method div (line 346) | fn div(self, rhs: u64) -> TimeDiff { type Output (line 352) | type Output = u64; method div (line 354) | fn div(self, rhs: TimeDiff) -> u64 { method deserialize (line 378) | fn deserialize>(deserializer: D) -> Result TimeDiff { method fmt (line 250) | fn fmt(&self, f: &mut Formatter) -> fmt::Result { type Err (line 261) | type Err = DurationError; method from_str (line 263) | fn from_str(value: &str) -> Result { method from (line 360) | fn from(diff: TimeDiff) -> Duration { method serialize (line 367) | fn serialize(&self, serializer: S) -> Result Result, bytesrepr::Error> { method serialized_length (line 394) | fn serialized_length(&self) -> usize { method from_bytes (line 400) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function serialize (line 418) | pub fn serialize( function deserialize (line 428) | pub fn deserialize<'de, D: Deserializer<'de>>( function timestamp_serialization_roundtrip (line 445) | fn timestamp_serialization_roundtrip() { function timediff_serialization_roundtrip (line 467) | fn timediff_serialization_roundtrip() { function does_not_crash_for_big_timestamp_value (line 484) | fn does_not_crash_for_big_timestamp_value() { FILE: types/src/transaction.rs constant DEPLOY_TAG (line 97) | const DEPLOY_TAG: u8 = 0; constant V1_TAG (line 98) | const V1_TAG: u8 = 1; type Transaction (line 140) | pub enum Transaction { method from_deploy (line 154) | pub fn from_deploy(deploy: Deploy) -> Self { method from_v1 (line 159) | pub fn from_v1(v1: TransactionV1) -> Self { method hash (line 164) | pub fn hash(&self) -> TransactionHash { method size_estimate (line 172) | pub fn size_estimate(&self) -> usize { method timestamp (line 180) | pub fn timestamp(&self) -> Timestamp { method ttl (line 188) | pub fn ttl(&self) -> TimeDiff { method verify (line 197) | pub fn verify(&self) -> Result<(), InvalidTransaction> { method sign (line 205) | pub fn sign(&mut self, secret_key: &SecretKey) { method approvals (line 213) | pub fn approvals(&self) -> BTreeSet { method compute_approvals_hash (line 221) | pub fn compute_approvals_hash(&self) -> Result String { method is_standard_payment (line 242) | pub fn is_standard_payment(&self) -> bool { method compute_id (line 256) | pub fn compute_id(&self) -> TransactionId { method initiator_addr (line 278) | pub fn initiator_addr(&self) -> InitiatorAddr { method expired (line 286) | pub fn expired(&self, current_instant: Timestamp) -> bool { method expires (line 294) | pub fn expires(&self) -> Timestamp { method signers (line 302) | pub fn signers(&self) -> BTreeSet { method with_approvals (line 322) | pub fn with_approvals(self, approvals: BTreeSet) -> Self { method as_transaction_v1 (line 332) | pub fn as_transaction_v1(&self) -> Option<&TransactionV1> { method authorization_keys (line 340) | pub fn authorization_keys(&self) -> BTreeSet { method is_legacy_transaction (line 356) | pub fn is_legacy_transaction(&self) -> bool { method gas_limit (line 365) | pub fn gas_limit(&self, chainspec: &Chainspec, lane_id: u8) -> Result<... method gas_cost (line 421) | pub fn gas_cost( method example (line 451) | pub fn example() -> &'static Self { method random (line 457) | pub fn random(rng: &mut TestRng) -> Self { method deserialize (line 484) | fn deserialize>(deserializer: D) -> Result Result { method from (line 575) | fn from(deploy: Deploy) -> Self { method from (line 581) | fn from(txn: TransactionV1) -> Self { method serialize (line 468) | fn serialize(&self, serializer: S) -> Result Result { type TransactionJsonError (line 512) | enum TransactionJsonError { type GasLimited (line 556) | pub trait GasLimited { constant GAS_PRICE_FLOOR (line 561) | const GAS_PRICE_FLOOR: u8 = 1; method gas_cost (line 565) | fn gas_cost(&self, chainspec: &Chainspec, gas_price: u8) -> Result Result; method gas_price_tolerance (line 571) | fn gas_price_tolerance(&self) -> Result; method to_bytes (line 587) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 593) | fn serialized_length(&self) -> usize { method write_bytes (line 601) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 616) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method fmt (line 633) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { type GetLaneError (line 642) | pub(crate) enum GetLaneError { method from (line 649) | fn from(value: GetLaneError) -> Self { method from (line 659) | fn from(value: GetLaneError) -> Self { function get_lane_for_non_install_wasm (line 668) | pub(crate) fn get_lane_for_non_install_wasm( function deploy_hash_arb (line 710) | pub fn deploy_hash_arb() -> impl Strategy { function json_roundtrip (line 721) | fn json_roundtrip() { function bincode_roundtrip (line 736) | fn bincode_roundtrip() { function bytesrepr_roundtrip (line 751) | fn bytesrepr_roundtrip() { FILE: types/src/transaction/addressable_entity_identifier.rs constant HASH_TAG (line 21) | const HASH_TAG: u8 = 0; constant NAME_TAG (line 22) | const NAME_TAG: u8 = 1; constant ADDR_TAG (line 23) | const ADDR_TAG: u8 = 2; type AddressableEntityIdentifier (line 38) | pub enum AddressableEntityIdentifier { method random (line 50) | pub fn random(rng: &mut TestRng) -> Self { method fmt (line 64) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { method write_bytes (line 76) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method to_bytes (line 93) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 99) | fn serialized_length(&self) -> usize { method from_bytes (line 110) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function bytesrepr_roundtrip (line 135) | fn bytesrepr_roundtrip() { FILE: types/src/transaction/approval.rs type Approval (line 24) | pub struct Approval { method create (line 31) | pub fn create(hash: &TransactionHash, secret_key: &SecretKey) -> Self { method new (line 38) | pub fn new(signer: PublicKey, signature: Signature) -> Self { method signer (line 43) | pub fn signer(&self) -> &PublicKey { method signature (line 48) | pub fn signature(&self) -> &Signature { method random (line 54) | pub fn random(rng: &mut TestRng) -> Self { method fmt (line 62) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { method write_bytes (line 68) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method to_bytes (line 73) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 79) | fn serialized_length(&self) -> usize { method from_bytes (line 85) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function bytesrepr_roundtrip (line 98) | fn bytesrepr_roundtrip() { FILE: types/src/transaction/approvals_hash.rs type ApprovalsHash (line 24) | pub struct ApprovalsHash(pub Digest); constant LENGTH (line 28) | pub const LENGTH: usize = Digest::LENGTH; method compute (line 32) | pub fn compute(approvals: &BTreeSet) -> Result &Digest { method from_raw (line 45) | pub const fn from_raw(raw_digest: [u8; Self::LENGTH]) -> Self { method random (line 51) | pub fn random(rng: &mut TestRng) -> Self { method from (line 64) | fn from(digest: Digest) -> Self { method as_ref (line 76) | fn as_ref(&self) -> &[u8] { method from (line 58) | fn from(hash: ApprovalsHash) -> Self { method fmt (line 70) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { method write_bytes (line 82) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method to_bytes (line 86) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 90) | fn serialized_length(&self) -> usize { method from_bytes (line 96) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function bytesrepr_roundtrip (line 106) | fn bytesrepr_roundtrip() { FILE: types/src/transaction/deploy.rs type Deploy (line 133) | pub struct Deploy { method new (line 150) | pub fn new( method new_signed (line 169) | pub fn new_signed( method build (line 202) | fn build( method hash (line 250) | pub fn hash(&self) -> &DeployHash { method account (line 255) | pub fn account(&self) -> &PublicKey { method timestamp (line 260) | pub fn timestamp(&self) -> Timestamp { method ttl (line 267) | pub fn ttl(&self) -> TimeDiff { method expired (line 272) | pub fn expired(&self, current_instant: Timestamp) -> bool { method gas_price (line 277) | pub fn gas_price(&self) -> u64 { method body_hash (line 282) | pub fn body_hash(&self) -> &Digest { method chain_name (line 287) | pub fn chain_name(&self) -> &str { method header (line 292) | pub fn header(&self) -> &DeployHeader { method take_header (line 297) | pub fn take_header(self) -> DeployHeader { method payment (line 302) | pub fn payment(&self) -> &ExecutableDeployItem { method session (line 307) | pub fn session(&self) -> &ExecutableDeployItem { method approvals (line 312) | pub fn approvals(&self) -> &BTreeSet { method destructure (line 317) | pub fn destructure( method sign (line 336) | pub fn sign(&mut self, secret_key: &SecretKey) { method compute_approvals_hash (line 342) | pub fn compute_approvals_hash(&self) -> Result Result<(), D... method has_valid_hash (line 362) | pub fn has_valid_hash(&self) -> Result<(), InvalidDeploy> { method is_valid (line 386) | pub fn is_valid(&self) -> Result<(), InvalidDeploy> { method is_transfer (line 395) | pub fn is_transfer(&self) -> bool { method is_account_session (line 400) | pub fn is_account_session(&self) -> bool { method is_config_compliant (line 409) | pub fn is_config_compliant( method with_approvals (line 583) | pub fn with_approvals(mut self, approvals: BTreeSet) -> Self { method example (line 591) | pub fn example() -> &'static Self { method random (line 597) | pub fn random(rng: &mut TestRng) -> Self { method random_with_timestamp_and_ttl (line 605) | pub fn random_with_timestamp_and_ttl( method invalidate (line 645) | pub fn invalidate(&mut self) { method random_valid_native_transfer (line 651) | pub fn random_valid_native_transfer(rng: &mut TestRng) -> Self { method random_valid_native_transfer_with_timestamp_and_ttl (line 659) | pub fn random_valid_native_transfer_with_timestamp_and_ttl( method random_valid_native_transfer_without_deps (line 697) | pub fn random_valid_native_transfer_without_deps(rng: &mut TestRng) ->... method random_without_payment_amount (line 730) | pub fn random_without_payment_amount(rng: &mut TestRng) -> Self { method random_with_mangled_payment_amount (line 740) | pub fn random_with_mangled_payment_amount(rng: &mut TestRng) -> Self { method random_with_payment_one (line 753) | pub fn random_with_payment_one(rng: &mut TestRng) -> Self { method random_with_insufficient_payment_amount (line 786) | pub fn random_with_insufficient_payment_amount( method random_with_oversized_payment_amount (line 802) | pub fn random_with_oversized_payment_amount(rng: &mut TestRng) -> Self { method random_with_valid_custom_payment_contract_by_name (line 835) | pub fn random_with_valid_custom_payment_contract_by_name(rng: &mut Tes... method random_with_missing_payment_contract_by_hash (line 847) | pub fn random_with_missing_payment_contract_by_hash(rng: &mut TestRng)... method random_with_missing_entry_point_in_payment_contract (line 859) | pub fn random_with_missing_entry_point_in_payment_contract(rng: &mut T... method random_with_versioned_payment_package_by_name (line 871) | pub fn random_with_versioned_payment_package_by_name( method random_with_valid_custom_payment_package_by_name (line 887) | pub fn random_with_valid_custom_payment_package_by_name(rng: &mut Test... method random_with_missing_payment_package_by_hash (line 894) | pub fn random_with_missing_payment_package_by_hash(rng: &mut TestRng) ... method random_with_nonexistent_contract_version_in_payment_package (line 901) | pub fn random_with_nonexistent_contract_version_in_payment_package(rng... method random_with_payment_package_version_by_hash (line 914) | pub fn random_with_payment_package_version_by_hash( method random_with_valid_session_contract_by_name (line 929) | pub fn random_with_valid_session_contract_by_name(rng: &mut TestRng) -... method random_with_missing_session_contract_by_hash (line 941) | pub fn random_with_missing_session_contract_by_hash(rng: &mut TestRng)... method random_with_missing_entry_point_in_session_contract (line 953) | pub fn random_with_missing_entry_point_in_session_contract(rng: &mut T... method random_with_valid_session_package_by_name (line 993) | pub fn random_with_valid_session_package_by_name(rng: &mut TestRng) ->... method random_with_versioned_session_package_by_name (line 1000) | pub fn random_with_versioned_session_package_by_name( method random_contract_by_name (line 1016) | pub fn random_contract_by_name( method random_with_missing_session_package_by_hash (line 1064) | pub fn random_with_missing_session_package_by_hash(rng: &mut TestRng) ... method random_with_versioned_session_package_by_hash (line 1069) | pub fn random_with_versioned_session_package_by_hash( method random_without_transfer_target (line 1084) | pub fn random_without_transfer_target(rng: &mut TestRng) -> Self { method random_without_transfer_amount (line 1097) | pub fn random_without_transfer_amount(rng: &mut TestRng) -> Self { method random_with_mangled_transfer_amount (line 1110) | pub fn random_with_mangled_transfer_amount(rng: &mut TestRng) -> Self { method random_with_empty_session_module_bytes (line 1124) | pub fn random_with_empty_session_module_bytes(rng: &mut TestRng) -> Se... method random_expired_deploy (line 1161) | pub fn random_expired_deploy(rng: &mut TestRng) -> Self { method random_with_native_transfer_in_payment_logic (line 1180) | pub fn random_with_native_transfer_in_payment_logic(rng: &mut TestRng)... method random_transfer_with_payment (line 1193) | fn random_transfer_with_payment(rng: &mut TestRng, payment: Executable... method random_transfer_with_session (line 1211) | fn random_transfer_with_session(rng: &mut TestRng, session: Executable... method random_with_gas_price (line 1230) | pub fn random_with_gas_price(rng: &mut TestRng, gas_price: u64) -> Self { method add_bid (line 1249) | pub fn add_bid( method withdraw_bid (line 1287) | pub fn withdraw_bid( method delegate (line 1323) | pub fn delegate( method undelegate (line 1363) | pub fn undelegate( method redelegate (line 1404) | pub fn redelegate( method native_transfer (line 1447) | pub fn native_transfer( method hash (line 1544) | fn hash(&self, state: &mut H) { type Error (line 1494) | type Error = InvalidDeploy; method gas_cost (line 1496) | fn gas_cost(&self, chainspec: &Chainspec, gas_price: u8) -> Result Result { method gas_price_tolerance (line 1538) | fn gas_price_tolerance(&self) -> Result { method eq (line 1572) | fn eq(&self, other: &Deploy) -> bool { method cmp (line 1600) | fn cmp(&self, other: &Deploy) -> cmp::Ordering { method partial_cmp (line 1628) | fn partial_cmp(&self, other: &Deploy) -> Option { method to_bytes (line 1634) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 1640) | fn serialized_length(&self) -> usize { method write_bytes (line 1648) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 1658) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method fmt (line 1678) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { function serialize_header (line 1691) | fn serialize_header(header: &DeployHeader) -> Vec { function serialize_body (line 1697) | fn serialize_body(payment: &ExecutableDeployItem, session: &ExecutableDe... function validate_deploy (line 1710) | fn validate_deploy(deploy: &Deploy) -> Result<(), InvalidDeploy> { function calculate_lane_id_for_deploy (line 1732) | pub fn calculate_lane_id_for_deploy( function json_roundtrip (line 1783) | fn json_roundtrip() { function bincode_roundtrip (line 1792) | fn bincode_roundtrip() { function bytesrepr_roundtrip (line 1801) | fn bytesrepr_roundtrip() { function create_deploy (line 1808) | fn create_deploy( function is_valid (line 1845) | fn is_valid() { function check_is_not_valid (line 1870) | fn check_is_not_valid(invalid_deploy: Deploy, expected_error: InvalidDep... function not_valid_due_to_invalid_body_hash (line 1907) | fn not_valid_due_to_invalid_body_hash() { function not_valid_due_to_invalid_deploy_hash (line 1928) | fn not_valid_due_to_invalid_deploy_hash() { function not_valid_due_to_empty_approvals (line 1946) | fn not_valid_due_to_empty_approvals() { function not_valid_due_to_invalid_approval (line 1963) | fn not_valid_due_to_invalid_approval() { function is_acceptable (line 1997) | fn is_acceptable() { function not_acceptable_due_to_invalid_chain_name (line 2020) | fn not_acceptable_due_to_invalid_chain_name() { function not_acceptable_due_to_excessive_dependencies (line 2056) | fn not_acceptable_due_to_excessive_dependencies() { function not_acceptable_due_to_excessive_ttl (line 2088) | fn not_acceptable_due_to_excessive_ttl() { function not_acceptable_due_to_timestamp_in_future (line 2119) | fn not_acceptable_due_to_timestamp_in_future() { function acceptable_if_timestamp_slightly_in_future (line 2156) | fn acceptable_if_timestamp_slightly_in_future() { function not_acceptable_due_to_missing_payment_amount (line 2181) | fn not_acceptable_due_to_missing_payment_amount() { function not_acceptable_due_to_mangled_payment_amount (line 2228) | fn not_acceptable_due_to_mangled_payment_amount() { function not_acceptable_if_doesnt_fit_in_any_lane (line 2277) | fn not_acceptable_if_doesnt_fit_in_any_lane() { function not_acceptable_due_to_transaction_bigger_than_block_limit (line 2334) | fn not_acceptable_due_to_transaction_bigger_than_block_limit() { function transfer_acceptable_regardless_of_excessive_payment_amount (line 2398) | fn transfer_acceptable_regardless_of_excessive_payment_amount() { function not_acceptable_due_to_excessive_approvals (line 2447) | fn not_acceptable_due_to_excessive_approvals() { function not_acceptable_due_to_missing_transfer_amount (line 2478) | fn not_acceptable_due_to_missing_transfer_amount() { function not_acceptable_due_to_mangled_transfer_amount (line 2509) | fn not_acceptable_due_to_mangled_transfer_amount() { function not_acceptable_due_to_too_low_gas_price_tolerance (line 2544) | fn not_acceptable_due_to_too_low_gas_price_tolerance() { function not_acceptable_due_to_insufficient_transfer_amount (line 2574) | fn not_acceptable_due_to_insufficient_transfer_amount() { function should_use_payment_amount_for_payment_limited_payment (line 2615) | fn should_use_payment_amount_for_payment_limited_payment() { function should_use_cost_table_for_fixed_payment (line 2676) | fn should_use_cost_table_for_fixed_payment() { function should_use_lane_specific_size_constraints (line 2737) | fn should_use_lane_specific_size_constraints() { FILE: types/src/transaction/deploy/deploy_category.rs type DeployCategory (line 22) | pub enum DeployCategory { method fmt (line 31) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { method from (line 40) | fn from(value: Deploy) -> Self { FILE: types/src/transaction/deploy/deploy_hash.rs type DeployHash (line 32) | pub struct DeployHash(Digest); constant LENGTH (line 36) | pub const LENGTH: usize = Digest::LENGTH; method new (line 39) | pub const fn new(hash: Digest) -> Self { method inner (line 44) | pub fn inner(&self) -> &Digest { method to_hex_string (line 49) | pub fn to_hex_string(&self) -> String { method from_raw (line 55) | pub const fn from_raw(raw_digest: [u8; Self::LENGTH]) -> Self { method random (line 61) | pub fn random(rng: &mut TestRng) -> Self { method from (line 68) | fn from(digest: Digest) -> Self { method as_ref (line 86) | fn as_ref(&self) -> &[u8] { method from (line 74) | fn from(deploy_hash: DeployHash) -> Self { method fmt (line 80) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { method write_bytes (line 92) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method to_bytes (line 96) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 100) | fn serialized_length(&self) -> usize { method from_bytes (line 106) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function bytesrepr_roundtrip (line 116) | fn bytesrepr_roundtrip() { FILE: types/src/transaction/deploy/deploy_header.rs type DeployHeader (line 32) | pub struct DeployHeader { method new (line 44) | pub fn new( method account (line 65) | pub fn account(&self) -> &PublicKey { method timestamp (line 70) | pub fn timestamp(&self) -> Timestamp { method ttl (line 77) | pub fn ttl(&self) -> TimeDiff { method expired (line 82) | pub fn expired(&self, current_instant: Timestamp) -> bool { method gas_price (line 87) | pub fn gas_price(&self) -> u64 { method body_hash (line 109) | pub fn body_hash(&self) -> &Digest { method dependencies (line 114) | pub fn dependencies(&self) -> &Vec { method chain_name (line 119) | pub fn chain_name(&self) -> &str { method is_valid (line 126) | pub fn is_valid( method expires (line 169) | pub fn expires(&self) -> Timestamp { method invalidate (line 174) | pub(super) fn invalidate(&mut self) { method write_bytes (line 180) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method to_bytes (line 190) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 196) | fn serialized_length(&self) -> usize { method from_bytes (line 208) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method fmt (line 230) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { FILE: types/src/transaction/deploy/deploy_id.rs type DeployId (line 25) | pub struct DeployId { method new (line 32) | pub fn new(deploy_hash: DeployHash, approvals_hash: ApprovalsHash) -> ... method deploy_hash (line 40) | pub fn deploy_hash(&self) -> &DeployHash { method approvals_hash (line 45) | pub fn approvals_hash(&self) -> &ApprovalsHash { method destructure (line 50) | pub fn destructure(self) -> (DeployHash, ApprovalsHash) { method random (line 56) | pub fn random(rng: &mut TestRng) -> Self { method fmt (line 62) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { method write_bytes (line 72) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method to_bytes (line 77) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 83) | fn serialized_length(&self) -> usize { method from_bytes (line 89) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method from (line 98) | fn from(id: DeployId) -> Self { function bytesrepr_roundtrip (line 108) | fn bytesrepr_roundtrip() { FILE: types/src/transaction/deploy/error.rs type InvalidDeploy (line 26) | pub enum InvalidDeploy { method from (line 310) | fn from(error: ExcessiveSizeError) -> Self { method fmt (line 167) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { method source (line 317) | fn source(&self) -> Option<&(dyn StdError + 'static)> { type ExcessiveSizeError (line 355) | pub struct ExcessiveSizeError { method fmt (line 363) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { type Error (line 377) | pub enum Error { method from (line 389) | fn from(error: serde_json::Error) -> Self { method from (line 395) | fn from(error: DecodeFromJsonError) -> Self { method fmt (line 401) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { method source (line 418) | fn source(&self) -> Option<&(dyn StdError + 'static)> { type DecodeFromJsonError (line 430) | pub enum DecodeFromJsonError { method from (line 439) | fn from(error: base16::DecodeError) -> Self { method from (line 445) | fn from(error: TryFromSliceError) -> Self { method fmt (line 451) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { method source (line 465) | fn source(&self) -> Option<&(dyn StdError + 'static)> { FILE: types/src/transaction/deploy/executable_deploy_item.rs constant TAG_LENGTH (line 32) | const TAG_LENGTH: usize = U8_SERIALIZED_LENGTH; constant MODULE_BYTES_TAG (line 33) | const MODULE_BYTES_TAG: u8 = 0; constant STORED_CONTRACT_BY_HASH_TAG (line 34) | const STORED_CONTRACT_BY_HASH_TAG: u8 = 1; constant STORED_CONTRACT_BY_NAME_TAG (line 35) | const STORED_CONTRACT_BY_NAME_TAG: u8 = 2; constant STORED_VERSIONED_CONTRACT_BY_HASH_TAG (line 36) | const STORED_VERSIONED_CONTRACT_BY_HASH_TAG: u8 = 3; constant STORED_VERSIONED_CONTRACT_BY_NAME_TAG (line 37) | const STORED_VERSIONED_CONTRACT_BY_NAME_TAG: u8 = 4; constant TRANSFER_TAG (line 38) | const TRANSFER_TAG: u8 = 5; constant TRANSFER_ARG_AMOUNT (line 39) | const TRANSFER_ARG_AMOUNT: &str = "amount"; constant TRANSFER_ARG_SOURCE (line 40) | const TRANSFER_ARG_SOURCE: &str = "source"; constant TRANSFER_ARG_TARGET (line 41) | const TRANSFER_ARG_TARGET: &str = "target"; constant TRANSFER_ARG_ID (line 42) | const TRANSFER_ARG_ID: &str = "id"; type ExecutableDeployItemIdentifier (line 46) | pub enum ExecutableDeployItemIdentifier { type ExecutableDeployItem (line 62) | pub enum ExecutableDeployItem { method new_module_bytes (line 148) | pub fn new_module_bytes(module_bytes: Bytes, args: RuntimeArgs) -> Self { method new_standard_payment (line 154) | pub fn new_standard_payment>(amount: A) -> Self { method new_stored_contract_by_hash (line 164) | pub fn new_stored_contract_by_hash( method new_stored_contract_by_name (line 177) | pub fn new_stored_contract_by_name( method new_stored_versioned_contract_by_hash (line 190) | pub fn new_stored_versioned_contract_by_hash( method new_stored_versioned_contract_by_name (line 205) | pub fn new_stored_versioned_contract_by_name( method new_transfer (line 222) | pub fn new_transfer, T: Into>( method entry_point_name (line 256) | pub fn entry_point_name(&self) -> &str { method identifier (line 268) | pub fn identifier(&self) -> ExecutableDeployItemIdentifier { method contract_identifier (line 298) | pub fn contract_identifier(&self) -> Option Option { method args (line 339) | pub fn args(&self) -> &RuntimeArgs { method payment_amount (line 351) | pub fn payment_amount(&self, conv_rate: u8) -> Option { method is_transfer (line 358) | pub fn is_transfer(&self) -> bool { method is_standard_payment (line 363) | pub fn is_standard_payment(&self, phase: Phase) -> bool { method is_by_name (line 376) | pub fn is_by_name(&self) -> bool { method by_name (line 385) | pub fn by_name(&self) -> Option { method is_stored_contract (line 399) | pub fn is_stored_contract(&self) -> bool { method is_stored_contract_package (line 405) | pub fn is_stored_contract_package(&self) -> bool { method is_module_bytes (line 418) | pub fn is_module_bytes(&self) -> bool { method random (line 424) | pub fn random(rng: &mut TestRng) -> Self { method write_bytes (line 430) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method to_bytes (line 488) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 494) | fn serialized_length(&self) -> usize { method from_bytes (line 546) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method fmt (line 623) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { method fmt (line 686) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { method sample (line 746) | fn sample(&self, rng: &mut R) -> ExecutableDeployItem { function serialization_roundtrip (line 811) | fn serialization_roundtrip() { FILE: types/src/transaction/error.rs type InvalidTransaction (line 18) | pub enum InvalidTransaction { method from (line 26) | fn from(value: InvalidDeploy) -> Self { method from (line 32) | fn from(value: InvalidTransactionV1) -> Self { method source (line 39) | fn source(&self) -> Option<&(dyn StdError + 'static)> { method fmt (line 48) | fn fmt(&self, f: &mut Formatter<'_>) -> core::fmt::Result { FILE: types/src/transaction/execution_info.rs type ExecutionInfo (line 18) | pub struct ExecutionInfo { method from_bytes (line 28) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method to_bytes (line 44) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method write_bytes (line 50) | fn write_bytes(&self, bytes: &mut Vec) -> Result<(), bytesrepr::Erro... method serialized_length (line 57) | fn serialized_length(&self) -> usize { FILE: types/src/transaction/initiator_addr.rs constant TAG_FIELD_INDEX (line 23) | const TAG_FIELD_INDEX: u16 = 0; constant PUBLIC_KEY_VARIANT_TAG (line 25) | const PUBLIC_KEY_VARIANT_TAG: u8 = 0; constant PUBLIC_KEY_FIELD_INDEX (line 26) | const PUBLIC_KEY_FIELD_INDEX: u16 = 1; constant ACCOUNT_HASH_VARIANT_TAG (line 28) | const ACCOUNT_HASH_VARIANT_TAG: u8 = 1; constant ACCOUNT_HASH_FIELD_INDEX (line 29) | const ACCOUNT_HASH_FIELD_INDEX: u16 = 1; type InitiatorAddr (line 40) | pub enum InitiatorAddr { method account_hash (line 49) | pub fn account_hash(&self) -> AccountHash { method random (line 58) | pub fn random(rng: &mut TestRng) -> Self { method serialized_field_lengths (line 66) | fn serialized_field_lengths(&self) -> Vec { method from (line 138) | fn from(public_key: PublicKey) -> Self { method from (line 144) | fn from(account_hash: AccountHash) -> Self { method to_bytes (line 85) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 101) | fn serialized_length(&self) -> usize { method from_bytes (line 107) | fn from_bytes(bytes: &[u8]) -> Result<(InitiatorAddr, &[u8]), Error> { method fmt (line 150) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { method fmt (line 163) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { function bytesrepr_roundtrip (line 184) | fn bytesrepr_roundtrip() { FILE: types/src/transaction/initiator_addr_and_secret_key.rs type InitiatorAddrAndSecretKey (line 5) | pub(crate) enum InitiatorAddrAndSecretKey<'a> { function initiator_addr (line 26) | pub fn initiator_addr(&self) -> InitiatorAddr { function secret_key (line 37) | pub fn secret_key(&self) -> Option<&SecretKey> { FILE: types/src/transaction/package_identifier.rs constant HASH_TAG (line 23) | const HASH_TAG: u8 = 0; constant NAME_TAG (line 24) | const NAME_TAG: u8 = 1; constant HASH_WITH_VERSION_TAG (line 25) | const HASH_WITH_VERSION_TAG: u8 = 2; constant NAME_WITH_VERSION_TAG (line 26) | const NAME_WITH_VERSION_TAG: u8 = 3; type PackageIdentifier (line 40) | pub enum PackageIdentifier { method version (line 91) | pub fn version(&self) -> Option { method protocol_version_major (line 103) | pub fn protocol_version_major(&self) -> Option { method random (line 119) | pub fn random(rng: &mut TestRng) -> Self { method fmt (line 145) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { method write_bytes (line 200) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method to_bytes (line 238) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 244) | fn serialized_length(&self) -> usize { method from_bytes (line 277) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function bytesrepr_roundtrip (line 327) | fn bytesrepr_roundtrip() { FILE: types/src/transaction/pricing_mode.rs type PricingMode (line 40) | pub enum PricingMode { method random (line 80) | pub fn random(rng: &mut TestRng) -> Self { method is_standard_payment (line 97) | pub fn is_standard_payment(&self) -> bool { method serialized_field_lengths (line 107) | fn serialized_field_lengths(&self) -> Vec { method gas_limit (line 142) | pub fn gas_limit(&self, chainspec: &Chainspec, lane_id: u8) -> Result<... method gas_cost (line 160) | pub fn gas_cost( method additional_computation_factor (line 182) | pub fn additional_computation_factor(&self) -> u8 { method default (line 199) | fn default() -> Self { type PricingModeError (line 210) | pub enum PricingModeError { method from (line 233) | fn from(err: PricingModeError) -> Self { method from (line 239) | fn from(err: PricingModeError) -> Self { constant TAG_FIELD_INDEX (line 263) | const TAG_FIELD_INDEX: u16 = 0; constant PAYMENT_LIMITED_VARIANT_TAG (line 265) | const PAYMENT_LIMITED_VARIANT_TAG: u8 = 0; constant PAYMENT_LIMITED_PAYMENT_AMOUNT_INDEX (line 266) | const PAYMENT_LIMITED_PAYMENT_AMOUNT_INDEX: u16 = 1; constant PAYMENT_LIMITED_GAS_PRICE_TOLERANCE_INDEX (line 267) | const PAYMENT_LIMITED_GAS_PRICE_TOLERANCE_INDEX: u16 = 2; constant PAYMENT_LIMITED_STANDARD_PAYMENT_INDEX (line 268) | const PAYMENT_LIMITED_STANDARD_PAYMENT_INDEX: u16 = 3; constant FIXED_VARIANT_TAG (line 270) | const FIXED_VARIANT_TAG: u8 = 1; constant FIXED_GAS_PRICE_TOLERANCE_INDEX (line 271) | const FIXED_GAS_PRICE_TOLERANCE_INDEX: u16 = 1; constant FIXED_ADDITIONAL_COMPUTATION_FACTOR_INDEX (line 272) | const FIXED_ADDITIONAL_COMPUTATION_FACTOR_INDEX: u16 = 2; constant RESERVED_VARIANT_TAG (line 274) | const RESERVED_VARIANT_TAG: u8 = 2; constant RESERVED_RECEIPT_INDEX (line 275) | const RESERVED_RECEIPT_INDEX: u16 = 1; method to_bytes (line 278) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 312) | fn serialized_length(&self) -> usize { method from_bytes (line 318) | fn from_bytes(bytes: &[u8]) -> Result<(PricingMode, &[u8]), Error> { method fmt (line 375) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { function test_to_bytes_and_from_bytes (line 407) | fn test_to_bytes_and_from_bytes() { FILE: types/src/transaction/runtime_args.rs type NamedArg (line 23) | pub struct NamedArg(String, CLValue); method new (line 27) | pub fn new(name: String, value: CLValue) -> Self { method name (line 32) | pub fn name(&self) -> &str { method cl_value (line 37) | pub fn cl_value(&self) -> &CLValue { method cl_value_mut (line 42) | pub fn cl_value_mut(&mut self) -> &mut CLValue { method from (line 48) | fn from((name, value): (String, CLValue)) -> NamedArg { method to_bytes (line 54) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 61) | fn serialized_length(&self) -> usize { method from_bytes (line 67) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { type RuntimeArgs (line 78) | pub struct RuntimeArgs(Vec); method new (line 82) | pub fn new() -> RuntimeArgs { method try_new (line 93) | pub fn try_new(func: F) -> Result method get (line 103) | pub fn get(&self, name: &str) -> Option<&CLValue> { method len (line 114) | pub fn len(&self) -> usize { method is_empty (line 119) | pub fn is_empty(&self) -> bool { method insert (line 124) | pub fn insert(&mut self, key: K, value: V) -> Result<(), CLValue... method insert_cl_value (line 135) | pub fn insert_cl_value(&mut self, key: K, cl_value: CLValue) method to_values (line 143) | pub fn to_values(&self) -> Vec<&CLValue> { method named_args (line 148) | pub fn named_args(&self) -> impl Iterator { method named_args_mut (line 153) | pub fn named_args_mut(&mut self) -> impl Iterator { method try_get_number (line 163) | pub fn try_get_number(&self, name: &str) -> Result { method random (line 177) | pub fn random(rng: &mut TestRng) -> Self { method from (line 196) | fn from(values: Vec) -> Self { method from (line 202) | fn from(cl_values: BTreeMap) -> RuntimeArgs { function from (line 208) | fn from(args: RuntimeArgs) -> BTreeMap { method to_bytes (line 218) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 222) | fn serialized_length(&self) -> usize { method from_bytes (line 228) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { constant ARG_AMOUNT (line 266) | const ARG_AMOUNT: &str = "amount"; function test_runtime_args (line 269) | fn test_runtime_args() { function empty_macro (line 297) | fn empty_macro() { function btreemap_compat (line 302) | fn btreemap_compat() { function named_serialization_roundtrip (line 320) | fn named_serialization_roundtrip() { function should_create_args_with (line 328) | fn should_create_args_with() { function try_get_number_should_work (line 343) | fn try_get_number_should_work() { function try_get_number_should_return_zero_for_non_numeric_type (line 371) | fn try_get_number_should_return_zero_for_non_numeric_type() { function try_get_number_should_return_zero_if_amount_is_missing (line 381) | fn try_get_number_should_return_zero_if_amount_is_missing() { FILE: types/src/transaction/serialization/field.rs type Field (line 7) | pub(crate) struct Field { method new (line 13) | pub(crate) fn new(index: u16, offset: u32) -> Self { method serialized_vec_size (line 44) | pub fn serialized_vec_size(number_of_fields: usize) -> usize { method serialized_length (line 50) | pub fn serialized_length() -> usize { method to_bytes (line 19) | fn to_bytes(&self) -> Result, Error> { method write_bytes (line 25) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), Error> { method serialized_length (line 30) | fn serialized_length(&self) -> usize { method from_bytes (line 36) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { FILE: types/src/transaction/serialization/mod.rs type CalltableSerializationEnvelopeBuilder (line 9) | pub struct CalltableSerializationEnvelopeBuilder { method new (line 18) | pub fn new( method add_field (line 38) | pub fn add_field( method binary_payload_bytes (line 72) | pub fn binary_payload_bytes(mut self) -> Result, Error> { type CalltableSerializationEnvelope (line 86) | pub struct CalltableSerializationEnvelope { method estimate_size (line 92) | pub fn estimate_size(field_sizes: Vec) -> usize { method start_consuming (line 101) | pub fn start_consuming(&self) -> Result { function verify_index (line 149) | pub fn verify_index(&self, expected_index: u16) -> Result<(), Error> { function deserialize_and_maybe_next (line 157) | pub fn deserialize_and_maybe_next( function step (line 164) | fn step(&self) -> Result<(T, Option Self { method serialized_field_lengths (line 235) | fn serialized_field_lengths(&self) -> Vec { method custom_entry_point (line 261) | pub fn custom_entry_point(&self) -> Option { method from (line 482) | fn from(value: &str) -> Self { constant TAG_FIELD_INDEX (line 270) | const TAG_FIELD_INDEX: u16 = 0; constant CALL_VARIANT_TAG (line 272) | const CALL_VARIANT_TAG: u8 = 0; constant CUSTOM_VARIANT_TAG (line 274) | const CUSTOM_VARIANT_TAG: u8 = 1; constant CUSTOM_CUSTOM_INDEX (line 275) | const CUSTOM_CUSTOM_INDEX: u16 = 1; constant TRANSFER_VARIANT_TAG (line 277) | const TRANSFER_VARIANT_TAG: u8 = 2; constant ADD_BID_VARIANT_TAG (line 278) | const ADD_BID_VARIANT_TAG: u8 = 3; constant WITHDRAW_BID_VARIANT_TAG (line 279) | const WITHDRAW_BID_VARIANT_TAG: u8 = 4; constant DELEGATE_VARIANT_TAG (line 280) | const DELEGATE_VARIANT_TAG: u8 = 5; constant UNDELEGATE_VARIANT_TAG (line 281) | const UNDELEGATE_VARIANT_TAG: u8 = 6; constant REDELEGATE_VARIANT_TAG (line 282) | const REDELEGATE_VARIANT_TAG: u8 = 7; constant ACTIVATE_BID_VARIANT_TAG (line 283) | const ACTIVATE_BID_VARIANT_TAG: u8 = 8; constant CHANGE_BID_PUBLIC_KEY_VARIANT_TAG (line 284) | const CHANGE_BID_PUBLIC_KEY_VARIANT_TAG: u8 = 9; constant ADD_RESERVATIONS_VARIANT_TAG (line 285) | const ADD_RESERVATIONS_VARIANT_TAG: u8 = 10; constant CANCEL_RESERVATIONS_VARIANT_TAG (line 286) | const CANCEL_RESERVATIONS_VARIANT_TAG: u8 = 11; constant BURN_VARIANT_TAG (line 287) | const BURN_VARIANT_TAG: u8 = 12; method to_bytes (line 290) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 360) | fn serialized_length(&self) -> usize { method from_bytes (line 366) | fn from_bytes(bytes: &[u8]) -> Result<(TransactionEntryPoint, &[u8]), Er... method fmt (line 460) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { function bytesrepr_roundtrip (line 522) | fn bytesrepr_roundtrip() { FILE: types/src/transaction/transaction_hash.rs constant DEPLOY_TAG (line 20) | const DEPLOY_TAG: u8 = 0; constant V1_TAG (line 21) | const V1_TAG: u8 = 1; constant TAG_LENGTH (line 22) | const TAG_LENGTH: u8 = 1; type TransactionHash (line 29) | pub enum TransactionHash { constant LENGTH (line 39) | pub const LENGTH: usize = TAG_LENGTH as usize + Digest::LENGTH; method digest (line 41) | pub fn digest(&self) -> Digest { method to_hex_string (line 49) | pub fn to_hex_string(&self) -> String { method random (line 55) | pub fn random(rng: &mut TestRng) -> Self { method from_raw (line 65) | pub const fn from_raw(raw_digest: [u8; TransactionV1Hash::LENGTH]) -> ... method from (line 71) | fn from(hash: DeployHash) -> Self { method from (line 77) | fn from(hash: &DeployHash) -> Self { method from (line 83) | fn from(hash: TransactionV1Hash) -> Self { method from (line 89) | fn from(hash: &TransactionV1Hash) -> Self { method as_ref (line 110) | fn as_ref(&self) -> &[u8] { method default (line 95) | fn default() -> Self { method fmt (line 101) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { method to_bytes (line 119) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 125) | fn serialized_length(&self) -> usize { method write_bytes (line 133) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 148) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function bytesrepr_roundtrip (line 169) | fn bytesrepr_roundtrip() { FILE: types/src/transaction/transaction_id.rs type TransactionId (line 20) | pub struct TransactionId { method new (line 29) | pub fn new(transaction_hash: TransactionHash, approvals_hash: Approval... method transaction_hash (line 37) | pub fn transaction_hash(&self) -> TransactionHash { method approvals_hash (line 42) | pub fn approvals_hash(&self) -> ApprovalsHash { method random (line 48) | pub fn random(rng: &mut TestRng) -> Self { method fmt (line 54) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { method write_bytes (line 65) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method to_bytes (line 70) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 76) | fn serialized_length(&self) -> usize { method from_bytes (line 82) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function bytesrepr_roundtrip (line 95) | fn bytesrepr_roundtrip() { FILE: types/src/transaction/transaction_invocation_target.rs type TransactionInvocationTarget (line 35) | pub enum TransactionInvocationTarget { method new_invocable_entity (line 86) | pub fn new_invocable_entity(hash: AddressableEntityHash) -> Self { method new_invocable_entity_alias (line 91) | pub fn new_invocable_entity_alias(alias: String) -> Self { method new_package (line 97) | pub fn new_package(hash: PackageHash, version: Option) ... method new_package_with_major (line 106) | pub fn new_package_with_major( method new_package_alias (line 123) | pub fn new_package_alias(alias: String, version: Option... method new_package_alias_with_major (line 132) | pub fn new_package_alias_with_major( method new_package_alias_with_major_and_entity (line 145) | pub fn new_package_alias_with_major_and_entity( method contract_by_hash (line 158) | pub fn contract_by_hash(&self) -> Option { method addressable_entity_identifier (line 167) | pub fn addressable_entity_identifier(&self) -> Option Option { method serialized_field_lengths (line 205) | fn serialized_field_lengths(&self) -> Vec { method random (line 258) | pub fn random(rng: &mut TestRng) -> Self { constant TAG_FIELD_INDEX (line 277) | const TAG_FIELD_INDEX: u16 = 0; constant BY_HASH_VARIANT (line 279) | const BY_HASH_VARIANT: u8 = 0; constant BY_HASH_HASH_INDEX (line 280) | const BY_HASH_HASH_INDEX: u16 = 1; constant BY_NAME_VARIANT (line 282) | const BY_NAME_VARIANT: u8 = 1; constant BY_NAME_NAME_INDEX (line 283) | const BY_NAME_NAME_INDEX: u16 = 1; constant BY_PACKAGE_HASH_VARIANT (line 285) | const BY_PACKAGE_HASH_VARIANT: u8 = 2; constant BY_PACKAGE_HASH_ADDR_INDEX (line 286) | const BY_PACKAGE_HASH_ADDR_INDEX: u16 = 1; constant BY_PACKAGE_HASH_VERSION_INDEX (line 287) | const BY_PACKAGE_HASH_VERSION_INDEX: u16 = 2; constant BY_PACKAGE_HASH_PROTOCOL_VERSION_MAJOR_INDEX (line 288) | const BY_PACKAGE_HASH_PROTOCOL_VERSION_MAJOR_INDEX: u16 = 3; constant BY_PACKAGE_NAME_VARIANT (line 290) | const BY_PACKAGE_NAME_VARIANT: u8 = 3; constant BY_PACKAGE_NAME_NAME_INDEX (line 291) | const BY_PACKAGE_NAME_NAME_INDEX: u16 = 1; constant BY_PACKAGE_NAME_VERSION_INDEX (line 292) | const BY_PACKAGE_NAME_VERSION_INDEX: u16 = 2; constant BY_PACKAGE_NAME_PROTOCOL_VERSION_MAJOR_INDEX (line 293) | const BY_PACKAGE_NAME_PROTOCOL_VERSION_MAJOR_INDEX: u16 = 3; method to_bytes (line 296) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 356) | fn serialized_length(&self) -> usize { method from_bytes (line 362) | fn from_bytes(bytes: &[u8]) -> Result<(TransactionInvocationTarget, &[u8... method fmt (line 450) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { method fmt (line 487) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { function json_should_not_produce_version_key_if_none (line 528) | fn json_should_not_produce_version_key_if_none() { function bytesrepr_roundtrip (line 567) | fn bytesrepr_roundtrip() { function by_package_hash_variant_without_version_key_should_serialize_exactly_as_before_the_version_key_change (line 575) | fn by_package_hash_variant_without_version_key_should_serialize_exactly_... function by_package_name_variant_without_version_key_should_serialize_exactly_as_before_the_version_key_change (line 608) | fn by_package_name_variant_without_version_key_should_serialize_exactly_... function by_package_hash_variant_should_deserialize_bytes_that_have_both_version_and_key (line 641) | fn by_package_hash_variant_should_deserialize_bytes_that_have_both_versi... function by_package_name_variant_should_deserialize_bytes_that_have_both_version_and_key (line 657) | fn by_package_name_variant_should_deserialize_bytes_that_have_both_versi... FILE: types/src/transaction/transaction_scheduling.rs type TransactionScheduling (line 35) | pub enum TransactionScheduling { method serialized_field_lengths (line 41) | fn serialized_field_lengths(&self) -> Vec { method random (line 51) | pub fn random(rng: &mut TestRng) -> Self { constant TAG_FIELD_INDEX (line 59) | const TAG_FIELD_INDEX: u16 = 0; constant STANDARD_VARIANT (line 61) | const STANDARD_VARIANT: u8 = 0; method to_bytes (line 64) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 73) | fn serialized_length(&self) -> usize { method from_bytes (line 79) | fn from_bytes(bytes: &[u8]) -> Result<(TransactionScheduling, &[u8]), Er... method fmt (line 98) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { function bytesrepr_roundtrip (line 112) | fn bytesrepr_roundtrip() { FILE: types/src/transaction/transaction_target.rs constant VM_CASPER_V1_TAG (line 24) | const VM_CASPER_V1_TAG: u8 = 0; constant VM_CASPER_V2_TAG (line 25) | const VM_CASPER_V2_TAG: u8 = 1; constant TRANSFERRED_VALUE_INDEX (line 26) | const TRANSFERRED_VALUE_INDEX: u16 = 1; constant SEED_VALUE_INDEX (line 27) | const SEED_VALUE_INDEX: u16 = 2; type TransactionRuntimeParams (line 37) | pub enum TransactionRuntimeParams { method contract_runtime_tag (line 53) | pub fn contract_runtime_tag(&self) -> ContractRuntimeTag { method seed (line 60) | pub fn seed(&self) -> Option<[u8; 32]> { method serialized_field_lengths (line 67) | pub fn serialized_field_lengths(&self) -> Vec { method to_bytes (line 85) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 103) | fn serialized_length(&self) -> usize { method from_bytes (line 123) | fn from_bytes(bytes: &[u8]) -> Result<(TransactionRuntimeParams, &[u8]),... method fmt (line 157) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { type TransactionTarget (line 181) | pub enum TransactionTarget { method new_native (line 204) | pub fn new_native() -> Self { method serialized_field_lengths (line 208) | fn serialized_field_lengths(&self) -> Vec { method contract_hash_addr (line 236) | pub fn contract_hash_addr(&self) -> Option { method invocation_target (line 245) | pub fn invocation_target(&self) -> Option { method random (line 254) | pub fn random(rng: &mut TestRng) -> Self { method is_session (line 279) | pub fn is_session(&self) -> bool { constant TAG_FIELD_INDEX (line 284) | const TAG_FIELD_INDEX: u16 = 0; constant NATIVE_VARIANT (line 286) | const NATIVE_VARIANT: u8 = 0; constant STORED_VARIANT (line 288) | const STORED_VARIANT: u8 = 1; constant STORED_ID_INDEX (line 289) | const STORED_ID_INDEX: u16 = 1; constant STORED_RUNTIME_INDEX (line 290) | const STORED_RUNTIME_INDEX: u16 = 2; constant SESSION_VARIANT (line 292) | const SESSION_VARIANT: u8 = 2; constant SESSION_IS_INSTALL_INDEX (line 293) | const SESSION_IS_INSTALL_INDEX: u16 = 1; constant SESSION_RUNTIME_INDEX (line 294) | const SESSION_RUNTIME_INDEX: u16 = 2; constant SESSION_MODULE_BYTES_INDEX (line 295) | const SESSION_MODULE_BYTES_INDEX: u16 = 3; method to_bytes (line 298) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 325) | fn serialized_length(&self) -> usize { method from_bytes (line 331) | fn from_bytes(bytes: &[u8]) -> Result<(TransactionTarget, &[u8]), Error> { method fmt (line 385) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { method fmt (line 407) | fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result { FILE: types/src/transaction/transaction_v1.rs constant HASH_FIELD_INDEX (line 69) | const HASH_FIELD_INDEX: u16 = 0; constant PAYLOAD_FIELD_INDEX (line 70) | const PAYLOAD_FIELD_INDEX: u16 = 1; constant APPROVALS_FIELD_INDEX (line 71) | const APPROVALS_FIELD_INDEX: u16 = 2; type TransactionV1 (line 83) | pub struct TransactionV1 { type Error (line 98) | type Error = TransactionV1JsonError; method try_from (line 99) | fn try_from(transaction_v1_json: TransactionV1Json) -> Result &TransactionV1Hash { method payload (line 217) | pub fn payload(&self) -> &TransactionV1Payload { method approvals (line 222) | pub fn approvals(&self) -> &BTreeSet { method initiator_addr (line 227) | pub fn initiator_addr(&self) -> &InitiatorAddr { method chain_name (line 232) | pub fn chain_name(&self) -> &str { method timestamp (line 237) | pub fn timestamp(&self) -> Timestamp { method ttl (line 244) | pub fn ttl(&self) -> TimeDiff { method expired (line 249) | pub fn expired(&self, current_instant: Timestamp) -> bool { method pricing_mode (line 254) | pub fn pricing_mode(&self) -> &PricingMode { method compute_approvals_hash (line 259) | pub fn compute_approvals_hash(&self) -> Result) -> Self { method apply_approvals (line 270) | pub fn apply_approvals(&mut self, approvals: Vec) { method payment_amount (line 276) | pub fn payment_amount(&self) -> Option { method random (line 286) | pub fn random(rng: &mut TestRng) -> Self { method random_with_lane_and_timestamp_and_ttl (line 307) | pub fn random_with_lane_and_timestamp_and_ttl( method random_with_timestamp_and_ttl (line 336) | pub fn random_with_timestamp_and_ttl( method random_transfer (line 351) | pub fn random_transfer( method random_wasm (line 361) | pub fn random_wasm( method random_auction (line 376) | pub fn random_auction( method random_install_upgrade (line 386) | pub fn random_install_upgrade( method deserialize_field (line 400) | pub fn deserialize_field( method number_of_fields (line 408) | pub fn number_of_fields(&self) -> usize { method has_valid_hash (line 413) | pub fn has_valid_hash(&self) -> Result<(), InvalidTransactionV1> { method verify (line 432) | pub fn verify(&self) -> Result<(), InvalidTransactionV1> { method do_verify (line 440) | fn do_verify(&self) -> Result<(), InvalidTransactionV1> { method payload_hash (line 464) | pub fn payload_hash(&self) -> Result { method serialized_field_lengths (line 473) | fn serialized_field_lengths(&self) -> Vec { method invalidate (line 484) | pub fn invalidate(&mut self) { method get_transaction_target (line 489) | pub(crate) fn get_transaction_target(&self) -> Result u8 { method hash (line 575) | fn hash(&self, state: &mut H) { type TransactionV1Json (line 127) | pub(super) struct TransactionV1Json { type Error (line 142) | type Error = TransactionV1JsonError; method try_from (line 143) | fn try_from(transaction: TransactionV1) -> Result { type TransactionV1JsonError (line 135) | pub(super) enum TransactionV1JsonError { method to_bytes (line 522) | fn to_bytes(&self) -> Result, crate::bytesrepr::Error> { method serialized_length (line 531) | fn serialized_length(&self) -> usize { method from_bytes (line 537) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { method fmt (line 563) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { method eq (line 591) | fn eq(&self, other: &TransactionV1) -> bool { method cmp (line 605) | fn cmp(&self, other: &TransactionV1) -> cmp::Ordering { method partial_cmp (line 621) | fn partial_cmp(&self, other: &TransactionV1) -> Option { function calculate_transaction_lane (line 628) | pub fn calculate_transaction_lane( FILE: types/src/transaction/transaction_v1/arg_handling.rs constant TRANSFER_ARG_AMOUNT (line 7) | const TRANSFER_ARG_AMOUNT: RequiredArg = RequiredArg::new("amount"); constant TRANSFER_ARG_SOURCE (line 9) | const TRANSFER_ARG_SOURCE: OptionalArg = OptionalArg::new("source"); constant TRANSFER_ARG_TARGET (line 10) | const TRANSFER_ARG_TARGET: &str = "target"; constant TRANSFER_ARG_ID (line 12) | const TRANSFER_ARG_ID: OptionalArg> = OptionalArg::new("id"); constant ADD_BID_ARG_PUBLIC_KEY (line 14) | const ADD_BID_ARG_PUBLIC_KEY: RequiredArg = RequiredArg::new(... constant ADD_BID_ARG_DELEGATION_RATE (line 15) | const ADD_BID_ARG_DELEGATION_RATE: RequiredArg = RequiredArg::new("d... constant ADD_BID_ARG_AMOUNT (line 16) | const ADD_BID_ARG_AMOUNT: RequiredArg = RequiredArg::new("amount"); constant ADD_BID_ARG_MINIMUM_DELEGATION_AMOUNT (line 18) | const ADD_BID_ARG_MINIMUM_DELEGATION_AMOUNT: OptionalArg = constant ADD_BID_ARG_MAXIMUM_DELEGATION_AMOUNT (line 21) | const ADD_BID_ARG_MAXIMUM_DELEGATION_AMOUNT: OptionalArg = constant ADD_BID_ARG_RESERVED_SLOTS (line 24) | const ADD_BID_ARG_RESERVED_SLOTS: OptionalArg = OptionalArg::new("r... constant WITHDRAW_BID_ARG_PUBLIC_KEY (line 26) | const WITHDRAW_BID_ARG_PUBLIC_KEY: RequiredArg = RequiredArg:... constant WITHDRAW_BID_ARG_AMOUNT (line 27) | const WITHDRAW_BID_ARG_AMOUNT: RequiredArg = RequiredArg::new("amo... constant DELEGATE_ARG_DELEGATOR (line 29) | const DELEGATE_ARG_DELEGATOR: RequiredArg = RequiredArg::new(... constant DELEGATE_ARG_VALIDATOR (line 30) | const DELEGATE_ARG_VALIDATOR: RequiredArg = RequiredArg::new(... constant DELEGATE_ARG_AMOUNT (line 31) | const DELEGATE_ARG_AMOUNT: RequiredArg = RequiredArg::new("amount"); constant UNDELEGATE_ARG_DELEGATOR (line 33) | const UNDELEGATE_ARG_DELEGATOR: RequiredArg = RequiredArg::ne... constant UNDELEGATE_ARG_VALIDATOR (line 34) | const UNDELEGATE_ARG_VALIDATOR: RequiredArg = RequiredArg::ne... constant UNDELEGATE_ARG_AMOUNT (line 35) | const UNDELEGATE_ARG_AMOUNT: RequiredArg = RequiredArg::new("amoun... constant REDELEGATE_ARG_DELEGATOR (line 37) | const REDELEGATE_ARG_DELEGATOR: RequiredArg = RequiredArg::ne... constant REDELEGATE_ARG_VALIDATOR (line 38) | const REDELEGATE_ARG_VALIDATOR: RequiredArg = RequiredArg::ne... constant REDELEGATE_ARG_AMOUNT (line 39) | const REDELEGATE_ARG_AMOUNT: RequiredArg = RequiredArg::new("amoun... constant REDELEGATE_ARG_NEW_VALIDATOR (line 40) | const REDELEGATE_ARG_NEW_VALIDATOR: RequiredArg = RequiredArg... type RequiredArg (line 42) | struct RequiredArg { function new (line 48) | const fn new(name: &'static str) -> Self { function insert (line 55) | fn insert(&self, args: &mut RuntimeArgs, value: T) -> Result<(), CLValue... type OptionalArg (line 63) | struct OptionalArg { function new (line 69) | const fn new(name: &'static str) -> Self { function insert (line 76) | fn insert(&self, args: &mut RuntimeArgs, value: T) -> Result<(), CLValue... function new_transfer_args (line 85) | pub(crate) fn new_transfer_args, T: Into>( function new_add_bid_args (line 110) | pub(crate) fn new_add_bid_args>( function new_withdraw_bid_args (line 135) | pub fn new_withdraw_bid_args>( function new_delegate_args (line 146) | pub(crate) fn new_delegate_args>( function new_undelegate_args (line 159) | pub(crate) fn new_undelegate_args>( function new_redelegate_args (line 172) | pub(crate) fn new_redelegate_args>( FILE: types/src/transaction/transaction_v1/errors_v1.rs type FieldDeserializationError (line 25) | pub enum FieldDeserializationError { method default (line 36) | fn default() -> Self { type InvalidTransaction (line 50) | pub enum InvalidTransaction { method from (line 535) | fn from(error: ExcessiveSizeErrorV1) -> Self { method unexpected_arg_type (line 598) | pub fn unexpected_arg_type(arg_name: String, expected: Vec, go... method fmt (line 288) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { method source (line 542) | fn source(&self) -> Option<&(dyn StdError + 'static)> { type ExcessiveSizeErrorV1 (line 612) | pub struct ExcessiveSizeErrorV1 { method fmt (line 620) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { type ErrorV1 (line 635) | pub enum ErrorV1 { method from (line 647) | fn from(error: serde_json::Error) -> Self { method from (line 653) | fn from(error: DecodeFromJsonErrorV1) -> Self { method fmt (line 659) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { method source (line 674) | fn source(&self) -> Option<&(dyn StdError + 'static)> { type DecodeFromJsonErrorV1 (line 686) | pub enum DecodeFromJsonErrorV1 { method from (line 695) | fn from(error: base16::DecodeError) -> Self { method from (line 701) | fn from(error: TryFromSliceError) -> Self { method fmt (line 707) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { method source (line 721) | fn source(&self) -> Option<&(dyn StdError + 'static)> { FILE: types/src/transaction/transaction_v1/fields_container.rs constant ARGS_MAP_KEY (line 20) | pub(crate) const ARGS_MAP_KEY: u16 = 0; constant TARGET_MAP_KEY (line 22) | pub(crate) const TARGET_MAP_KEY: u16 = 1; constant ENTRY_POINT_MAP_KEY (line 24) | pub(crate) const ENTRY_POINT_MAP_KEY: u16 = 2; constant SCHEDULING_MAP_KEY (line 26) | pub(crate) const SCHEDULING_MAP_KEY: u16 = 3; type FieldsContainerError (line 30) | pub(crate) enum FieldsContainerError { type FieldsContainer (line 35) | pub(crate) struct FieldsContainer { method new (line 44) | pub(crate) fn new( method to_map (line 58) | pub(crate) fn to_map(&self) -> Result, FieldsCont... method random (line 97) | pub(crate) fn random(rng: &mut TestRng) -> Self { method random_of_lane (line 212) | pub fn random_of_lane(rng: &mut TestRng, lane_id: u8) -> Self { method random_transfer (line 222) | fn random_transfer(rng: &mut TestRng) -> Self { method random_install_upgrade (line 237) | fn random_install_upgrade(rng: &mut TestRng) -> Self { method random_staking (line 252) | fn random_staking(rng: &mut TestRng) -> Self { method random_standard (line 278) | fn random_standard(rng: &mut TestRng) -> Self { FILE: types/src/transaction/transaction_v1/transaction_args.rs type TransactionArgs (line 27) | pub enum TransactionArgs { method as_named (line 36) | pub fn as_named(&self) -> Option<&RuntimeArgs> { method into_named (line 44) | pub fn into_named(self) -> Option { method into_bytesrepr (line 52) | pub fn into_bytesrepr(self) -> Option { method as_bytesrepr (line 60) | pub fn as_bytesrepr(&self) -> Option<&Bytes> { method insert (line 68) | pub fn insert(&mut self, key: K, value: V) -> Result<(), CLValue... method is_named (line 88) | pub fn is_named(&self) -> bool { method is_bytesrepr (line 96) | pub fn is_bytesrepr(&self) -> bool { method from_bytes (line 102) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { method to_bytes (line 119) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 125) | fn serialized_length(&self) -> usize { method write_bytes (line 132) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... FILE: types/src/transaction/transaction_v1/transaction_v1_hash.rs type TransactionV1Hash (line 32) | pub struct TransactionV1Hash(Digest); constant LENGTH (line 36) | pub const LENGTH: usize = Digest::LENGTH; method new (line 39) | pub const fn new(hash: Digest) -> Self { method inner (line 44) | pub fn inner(&self) -> &Digest { method from_raw (line 50) | pub const fn from_raw(raw_digest: [u8; Self::LENGTH]) -> Self { method random (line 56) | pub fn random(rng: &mut TestRng) -> Self { method from (line 63) | fn from(digest: Digest) -> Self { method as_ref (line 81) | fn as_ref(&self) -> &[u8] { method from (line 69) | fn from(transaction_hash: TransactionV1Hash) -> Self { method fmt (line 75) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { method write_bytes (line 87) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method to_bytes (line 91) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 95) | fn serialized_length(&self) -> usize { method from_bytes (line 101) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function bytesrepr_roundtrip (line 111) | fn bytesrepr_roundtrip() { FILE: types/src/transaction/transaction_v1/transaction_v1_payload.rs constant INITIATOR_ADDR_FIELD_INDEX (line 29) | const INITIATOR_ADDR_FIELD_INDEX: u16 = 0; constant TIMESTAMP_FIELD_INDEX (line 30) | const TIMESTAMP_FIELD_INDEX: u16 = 1; constant TTL_FIELD_INDEX (line 31) | const TTL_FIELD_INDEX: u16 = 2; constant CHAIN_NAME_FIELD_INDEX (line 32) | const CHAIN_NAME_FIELD_INDEX: u16 = 3; constant PRICING_MODE_FIELD_INDEX (line 33) | const PRICING_MODE_FIELD_INDEX: u16 = 4; constant FIELDS_FIELD_INDEX (line 34) | const FIELDS_FIELD_INDEX: u16 = 5; constant ARGS_MAP_KEY (line 36) | const ARGS_MAP_KEY: u16 = 0; constant TARGET_MAP_KEY (line 37) | const TARGET_MAP_KEY: u16 = 1; constant ENTRY_POINT_MAP_KEY (line 38) | const ENTRY_POINT_MAP_KEY: u16 = 2; constant SCHEDULING_MAP_KEY (line 39) | const SCHEDULING_MAP_KEY: u16 = 3; constant ARGS_MAP_HUMAN_READABLE_KEY (line 41) | const ARGS_MAP_HUMAN_READABLE_KEY: &str = "args"; constant TARGET_MAP_HUMAN_READABLE_KEY (line 43) | const TARGET_MAP_HUMAN_READABLE_KEY: &str = "target"; constant ENTRY_POINT_MAP_HUMAN_READABLE_KEY (line 45) | const ENTRY_POINT_MAP_HUMAN_READABLE_KEY: &str = "entry_point"; constant SCHEDULING_MAP_HUMAN_READABLE_KEY (line 47) | const SCHEDULING_MAP_HUMAN_READABLE_KEY: &str = "scheduling"; constant EXPECTED_FIELD_KEYS (line 49) | const EXPECTED_FIELD_KEYS: [u16; 4] = [ type TransactionV1Payload (line 69) | pub struct TransactionV1Payload { method new (line 80) | pub fn new( method serialized_field_lengths (line 98) | fn serialized_field_lengths(&self) -> Vec { method chain_name (line 110) | pub fn chain_name(&self) -> &str { method timestamp (line 115) | pub fn timestamp(&self) -> Timestamp { method ttl (line 120) | pub fn ttl(&self) -> TimeDiff { method pricing_mode (line 125) | pub fn pricing_mode(&self) -> &PricingMode { method initiator_addr (line 130) | pub fn initiator_addr(&self) -> &InitiatorAddr { method fields (line 135) | pub fn fields(&self) -> &BTreeMap { method expires (line 140) | pub fn expires(&self) -> Timestamp { method expired (line 145) | pub fn expired(&self, current_instant: Timestamp) -> bool { method deserialize_field (line 151) | pub fn deserialize_field( method number_of_fields (line 168) | pub fn number_of_fields(&self) -> usize { method invalidate (line 174) | pub fn invalidate(&mut self) { type Error (line 181) | type Error = TransactionV1PayloadJsonError; method try_from (line 182) | fn try_from(transaction_v1_json: TransactionV1PayloadJson) -> Result Result { type TransactionV1PayloadJsonError (line 217) | pub(super) enum TransactionV1PayloadJsonError { function from_human_readable_fields (line 239) | fn from_human_readable_fields( function to_human_readable_fields (line 264) | fn to_human_readable_fields( function to_bytesrepr (line 297) | fn to_bytesrepr( function extract_and_deserialize_field (line 315) | fn extract_and_deserialize_field( method to_bytes (line 338) | fn to_bytes(&self) -> Result, crate::bytesrepr::Error> { method serialized_length (line 350) | fn serialized_length(&self) -> usize { method from_bytes (line 356) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { function build_map (line 406) | fn build_map(fields_as_vec: Vec<(u16, Bytes)>) -> Result fmt::Result { function reserialize_should_work_with_ascending_ids (line 446) | fn reserialize_should_work_with_ascending_ids() { function reserialize_should_fail_when_ids_not_unique (line 464) | fn reserialize_should_fail_when_ids_not_unique() { function reserialize_should_fail_when_ids_not_ascending (line 475) | fn reserialize_should_fail_when_ids_not_ascending() { function should_fail_if_deserialized_payload_has_too_many_fields (line 499) | fn should_fail_if_deserialized_payload_has_too_many_fields() { function should_fail_if_deserialized_payload_has_unrecognized_fields (line 534) | fn should_fail_if_deserialized_payload_has_unrecognized_fields() { function should_fail_if_serialized_payoad_has_fields_out_of_order (line 568) | fn should_fail_if_serialized_payoad_has_fields_out_of_order() { function random_payload_data (line 617) | fn random_payload_data( FILE: types/src/transaction/transfer_target.rs type TransferTarget (line 10) | pub enum TransferTarget { method random (line 22) | pub fn random(rng: &mut TestRng) -> Self { method from (line 33) | fn from(public_key: PublicKey) -> Self { method from (line 39) | fn from(account_hash: AccountHash) -> Self { method from (line 45) | fn from(uref: URef) -> Self { FILE: types/src/transfer.rs constant V1_TAG (line 31) | const V1_TAG: u8 = 0; constant V2_TAG (line 32) | const V2_TAG: u8 = 1; type Transfer (line 66) | pub enum Transfer { method amount (line 77) | pub fn amount(&self) -> U512 { method example (line 87) | pub fn example() -> &'static Self { method random (line 93) | pub fn random(rng: &mut TestRng) -> Self { method from (line 123) | fn from(v1_transfer: TransferV1) -> Self { method from (line 129) | fn from(v2_transfer: TransferV2) -> Self { method to_bytes (line 135) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 141) | fn serialized_length(&self) -> usize { method write_bytes (line 149) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 164) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function transfer_v1_addr_arb (line 194) | pub fn transfer_v1_addr_arb() -> impl Strategy { function transfer_v1_arb (line 198) | pub fn transfer_v1_arb() -> impl Strategy { function bytesrepr_roundtrip (line 231) | fn bytesrepr_roundtrip() { FILE: types/src/transfer/error.rs type TransferFromStrError (line 11) | pub enum TransferFromStrError { method from (line 21) | fn from(error: base16::DecodeError) -> Self { method from (line 27) | fn from(error: TryFromSliceError) -> Self { method fmt (line 33) | fn fmt(&self, formatter: &mut Formatter) -> fmt::Result { method source (line 56) | fn source(&self) -> Option<&(dyn StdError + 'static)> { FILE: types/src/transfer/transfer_v1.rs type TransferV1 (line 23) | pub struct TransferV1 { method new (line 53) | pub fn new( method to_bytes (line 77) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 83) | fn serialized_length(&self) -> usize { method write_bytes (line 94) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 108) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { FILE: types/src/transfer/transfer_v1/transfer_v1_addr.rs constant TRANSFER_ADDR_FORMATTED_STRING_PREFIX (line 16) | pub(super) const TRANSFER_ADDR_FORMATTED_STRING_PREFIX: &str = "transfer-"; constant TRANSFER_ADDR_LENGTH (line 25) | pub const TRANSFER_ADDR_LENGTH: usize = 32; type TransferAddr (line 36) | pub struct TransferAddr( method new (line 43) | pub const fn new(value: [u8; TRANSFER_ADDR_LENGTH]) -> TransferAddr { method value (line 48) | pub fn value(&self) -> [u8; TRANSFER_ADDR_LENGTH] { method as_bytes (line 53) | pub fn as_bytes(&self) -> &[u8] { method to_formatted_string (line 58) | pub fn to_formatted_string(self) -> String { method from_formatted_str (line 67) | pub fn from_formatted_str(input: &str) -> Result Self { method deserialize (line 94) | fn deserialize>(deserializer: D) -> Result(&self, serializer: S) -> Result) -> fmt::Result { method fmt (line 112) | fn fmt(&self, f: &mut Formatter) -> fmt::Result { method cl_type (line 118) | fn cl_type() -> CLType { method to_bytes (line 125) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 130) | fn serialized_length(&self) -> usize { method write_bytes (line 135) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 141) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function transfer_addr_from_str (line 154) | fn transfer_addr_from_str() { function bytesrepr_roundtrip (line 196) | fn bytesrepr_roundtrip() { function bincode_roundtrip (line 203) | fn bincode_roundtrip() { function json_roundtrip (line 212) | fn json_roundtrip() { FILE: types/src/transfer/transfer_v2.rs type TransferV2 (line 21) | pub struct TransferV2 { method new (line 43) | pub fn new( method to_bytes (line 67) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 73) | fn serialized_length(&self) -> usize { method write_bytes (line 84) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method from_bytes (line 97) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { FILE: types/src/transfer_result.rs type TransferResult (line 6) | pub type TransferResult = Result; type TransferredTo (line 11) | pub enum TransferredTo { method result_from (line 23) | pub fn result_from(value: i32) -> TransferResult { method i32_from (line 33) | pub fn i32_from(result: TransferResult) -> i32 { FILE: types/src/uint.rs type UIntParseError (line 61) | pub enum UIntParseError { method as_ (line 578) | fn as_(self) -> U128 { method as_ (line 584) | fn as_(self) -> U256 { method as_ (line 592) | fn as_(self) -> U512 { method as_ (line 600) | fn as_(self) -> U128 { method as_ (line 608) | fn as_(self) -> U256 { method as_ (line 614) | fn as_(self) -> U512 { method as_ (line 622) | fn as_(self) -> U128 { method as_ (line 630) | fn as_(self) -> U256 { method as_ (line 638) | fn as_(self) -> U512 { function check_as_i32 (line 651) | fn check_as_i32>(expected: i32, input: T) { function check_as_i64 (line 655) | fn check_as_i64>(expected: i64, input: T) { function check_as_u8 (line 659) | fn check_as_u8>(expected: u8, input: T) { function check_as_u32 (line 663) | fn check_as_u32>(expected: u32, input: T) { function check_as_u64 (line 667) | fn check_as_u64>(expected: u64, input: T) { function check_as_u128 (line 671) | fn check_as_u128>(expected: U128, input: T) { function check_as_u256 (line 675) | fn check_as_u256>(expected: U256, input: T) { function check_as_u512 (line 679) | fn check_as_u512>(expected: U512, input: T) { function as_primitive_from_i32 (line 684) | fn as_primitive_from_i32() { function as_primitive_from_i64 (line 718) | fn as_primitive_from_i64() { function as_primitive_from_u8 (line 752) | fn as_primitive_from_u8() { function as_primitive_from_u32 (line 775) | fn as_primitive_from_u32() { function as_primitive_from_u64 (line 798) | fn as_primitive_from_u64() { function make_little_endian_arrays (line 820) | fn make_little_endian_arrays(little_endian_bytes: &[u8]) -> ([u8; 4], [u... function as_primitive_from_u128 (line 837) | fn as_primitive_from_u128() { function as_primitive_from_u256 (line 865) | fn as_primitive_from_u256() { function as_primitive_from_u512 (line 893) | fn as_primitive_from_u512() { function wrapping_test_u512 (line 921) | fn wrapping_test_u512() { function wrapping_test_u256 (line 932) | fn wrapping_test_u256() { function wrapping_test_u128 (line 943) | fn wrapping_test_u128() { function serde_roundtrip (line 953) | fn serde_roundtrip(value: ... function serde_roundtrip_u512 (line 967) | fn serde_roundtrip_u512() { function serde_roundtrip_u256 (line 975) | fn serde_roundtrip_u256() { function serde_roundtrip_u128 (line 983) | fn serde_roundtrip_u128() { function safe_conversion_from_u512_to_u64 (line 991) | fn safe_conversion_from_u512_to_u64() { FILE: types/src/uref.rs constant UREF_ADDR_LENGTH (line 27) | pub const UREF_ADDR_LENGTH: usize = 32; constant UREF_SERIALIZED_LENGTH (line 30) | pub const UREF_SERIALIZED_LENGTH: usize = UREF_ADDR_LENGTH + ACCESS_RIGH... constant UREF_FORMATTED_STRING_PREFIX (line 32) | pub(super) const UREF_FORMATTED_STRING_PREFIX: &str = "uref-"; type URefAddr (line 35) | pub type URefAddr = [u8; UREF_ADDR_LENGTH]; type FromStrError (line 40) | pub enum FromStrError { method from (line 56) | fn from(error: base16::DecodeError) -> Self { method from (line 62) | fn from(error: ParseIntError) -> Self { method from (line 68) | fn from(error: TryFromSliceError) -> Self { method fmt (line 74) | fn fmt(&self, f: &mut Formatter) -> fmt::Result { type URef (line 96) | pub struct URef(URefAddr, AccessRights); method new (line 100) | pub const fn new(address: URefAddr, access_rights: AccessRights) -> Se... method addr (line 105) | pub fn addr(&self) -> URefAddr { method access_rights (line 110) | pub fn access_rights(&self) -> AccessRights { method with_access_rights (line 116) | pub fn with_access_rights(self, access_rights: AccessRights) -> Self { method remove_access_rights (line 122) | pub fn remove_access_rights(self) -> Self { method is_readable (line 129) | pub fn is_readable(self) -> bool { method into_read (line 135) | pub fn into_read(self) -> URef { method into_write (line 141) | pub fn into_write(self) -> URef { method into_add (line 147) | pub fn into_add(self) -> URef { method into_read_add_write (line 154) | pub fn into_read_add_write(self) -> URef { method into_read_write (line 161) | pub fn into_read_write(self) -> URef { method is_writeable (line 167) | pub fn is_writeable(self) -> bool { method is_addable (line 173) | pub fn is_addable(self) -> bool { method to_formatted_string (line 179) | pub fn to_formatted_string(self) -> String { method from_formatted_str (line 193) | pub fn from_formatted_str(input: &str) -> Result { method disable_access_rights (line 209) | pub fn disable_access_rights(&mut self, access_rights: AccessRights) { method to_bytes (line 248) | fn to_bytes(&self) -> Result, Error> { method serialized_length (line 255) | fn serialized_length(&self) -> usize { method write_bytes (line 259) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), self::Error> { method deserialize (line 285) | fn deserialize>(deserializer: D) -> Result Result { method schema_name (line 216) | fn schema_name() -> String { method json_schema (line 220) | fn json_schema(gen: &mut SchemaGenerator) -> Schema { method fmt (line 229) | fn fmt(&self, f: &mut Formatter) -> fmt::Result { method fmt (line 242) | fn fmt(&self, f: &mut Formatter) -> fmt::Result { method from_bytes (line 267) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error> { method serialize (line 275) | fn serialize(&self, serializer: S) -> Result(&self, rng: &mut R) -> URef { function uref_as_string (line 320) | fn uref_as_string() { function round_trip (line 343) | fn round_trip(uref: URef) { function uref_from_str (line 350) | fn uref_from_str() { function serde_roundtrip (line 387) | fn serde_roundtrip() { function json_roundtrip (line 395) | fn json_roundtrip() { function should_disable_access_rights (line 403) | fn should_disable_access_rights() { FILE: types/src/validator_change.rs type ValidatorChange (line 15) | pub enum ValidatorChange { method random (line 31) | pub fn random(rng: &mut TestRng) -> Self { constant ADDED_TAG (line 45) | const ADDED_TAG: u8 = 0; constant REMOVED_TAG (line 46) | const REMOVED_TAG: u8 = 1; constant BANNED_TAG (line 47) | const BANNED_TAG: u8 = 2; constant CANNOT_PROPOSE_TAG (line 48) | const CANNOT_PROPOSE_TAG: u8 = 3; constant SEEN_AS_FAULTY_TAG (line 49) | const SEEN_AS_FAULTY_TAG: u8 = 4; method to_bytes (line 52) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method write_bytes (line 58) | fn write_bytes(&self, writer: &mut Vec) -> Result<(), bytesrepr::Err... method serialized_length (line 69) | fn serialized_length(&self) -> usize { method from_bytes (line 75) | fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), bytesrepr::Error> { function bytesrepr_roundtrip (line 95) | fn bytesrepr_roundtrip() { FILE: types/tests/version_numbers.rs function test_html_root_url (line 3) | fn test_html_root_url() { FILE: utils/accounts_toml/encode_account_toml.py function parse_args (line 15) | def parse_args(): function load_accounts_csv (line 38) | def load_accounts_csv(csv_path: Path): function load_delegators_csv (line 54) | def load_delegators_csv(csv_path: Path): FILE: utils/accounts_toml/validate.py function is_valid_key (line 3) | def is_valid_key(key_hex: str) -> bool: FILE: utils/accounts_toml/validate_account_toml.py function parse_args (line 12) | def parse_args(): function is_int (line 26) | def is_int(value): function is_valid (line 35) | def is_valid(toml_obj): FILE: utils/casper-tool/casper-tool.py function cli (line 63) | def cli( function create_network (line 146) | def create_network( function create_chainspec (line 217) | def create_chainspec(template, network_name, genesis_in, contract_paths): function create_node (line 246) | def create_node( function create_accounts_toml (line 293) | def create_accounts_toml(output_file, pubkeys): function run_client (line 311) | def run_client(argv0, *args): function show_val (line 316) | def show_val(key, value): FILE: utils/global-state-update-gen/src/admins.rs constant DEFAULT_MAIN_PURSE_ACCESS_RIGHTS (line 12) | const DEFAULT_MAIN_PURSE_ACCESS_RIGHTS: AccessRights = AccessRights::REA... function create_purse (line 14) | fn create_purse() -> URef { function make_stored_clvalue (line 18) | fn make_stored_clvalue(value: T) -> StoredValue { function generate_admins (line 23) | pub(crate) fn generate_admins(matches: &ArgMatches<'_>) { FILE: utils/global-state-update-gen/src/balances.rs function generate_balances_update (line 15) | pub(crate) fn generate_balances_update(matches: &ArgMatches<'_>) { FILE: utils/global-state-update-gen/src/decode.rs type Entries (line 10) | struct Entries(BTreeMap); method fmt (line 13) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { function decode_file (line 34) | pub(crate) fn decode_file(matches: &ArgMatches<'_>) { FILE: utils/global-state-update-gen/src/generic.rs function generate_generic_update (line 36) | pub(crate) fn generate_generic_update(matches: &ArgMatches<'_>) { function get_update (line 54) | fn get_update(reader: T, config: Config) -> Update { function update_from_config (line 74) | pub(crate) fn update_from_config(reader: T, config: Conf... function process_transfers (line 79) | fn process_transfers(state: &mut StateTracker, transf... function update_account_balances (line 85) | fn update_account_balances( function update_auction_state (line 103) | fn update_auction_state( function gen_snapshot_only_listed (line 181) | fn gen_snapshot_only_listed( function gen_snapshot_from_old (line 210) | fn gen_snapshot_from_old( function add_and_remove_bids (line 294) | pub fn add_and_remove_bids( function find_large_bids (line 376) | fn find_large_bids( function create_or_update_bid (line 440) | fn create_or_update_bid( FILE: utils/global-state-update-gen/src/generic/config.rs type Config (line 12) | pub struct Config { type Transfer (line 26) | pub struct Transfer { type AccountConfig (line 33) | pub struct AccountConfig { type ValidatorConfig (line 40) | pub struct ValidatorConfig { method delegators_map (line 48) | pub fn delegators_map(&self) -> Option> { method reservations_map (line 62) | pub fn reservations_map(&self) -> Option Option; method get_total_supply_key (line 19) | fn get_total_supply_key(&mut self) -> Key; method get_seigniorage_recipients_key (line 21) | fn get_seigniorage_recipients_key(&mut self) -> Key; method get_account (line 23) | fn get_account(&mut self, account_hash: AccountHash) -> Option Vec; method get_withdraws (line 28) | fn get_withdraws(&mut self) -> WithdrawPurses; method get_unbonding_purses (line 31) | fn get_unbonding_purses(&mut self) -> BTreeMap BTreeMap>; method query (line 40) | fn query(&mut self, key: Key) -> Option { method get_total_supply_key (line 44) | fn get_total_supply_key(&mut self) -> Key { method get_seigniorage_recipients_key (line 48) | fn get_seigniorage_recipients_key(&mut self) -> Key { method get_account (line 52) | fn get_account(&mut self, account_hash: AccountHash) -> Option Vec { method get_withdraws (line 61) | fn get_withdraws(&mut self) -> WithdrawPurses { method get_unbonding_purses (line 66) | fn get_unbonding_purses(&mut self) -> BTreeMap BTreeMap> { method query (line 76) | fn query(&mut self, key: Key) -> Option { method get_total_supply_key (line 80) | fn get_total_supply_key(&mut self) -> Key { method get_seigniorage_recipients_key (line 103) | fn get_seigniorage_recipients_key(&mut self) -> Key { method get_account (line 126) | fn get_account(&mut self, account_hash: AccountHash) -> Option Vec { method get_withdraws (line 134) | fn get_withdraws(&mut self) -> WithdrawPurses { method get_unbonding_purses (line 138) | fn get_unbonding_purses(&mut self) -> BTreeMap BTreeMap> { FILE: utils/global-state-update-gen/src/generic/state_tracker.rs type StateTracker (line 24) | pub struct StateTracker { function new (line 41) | pub fn new(mut reader: T, protocol_version: ProtocolVersion) -> Self { function get_entries (line 66) | pub fn get_entries(&self) -> BTreeMap { function write_entry (line 71) | pub fn write_entry(&mut self, key: Key, value: StoredValue) { function write_bid (line 75) | pub fn write_bid(&mut self, bid_kind: BidKind) { function increase_supply (line 84) | pub fn increase_supply(&mut self, to_add: U512) { function decrease_supply (line 93) | pub fn decrease_supply(&mut self, to_sub: U512) { function create_purse (line 102) | pub fn create_purse(&mut self, amount: U512) -> URef { function get_purse_balance (line 115) | pub fn get_purse_balance(&mut self, purse: URef) -> U512 { function set_purse_balance (line 133) | pub fn set_purse_balance(&mut self, purse: URef, balance: U512) { function create_addressable_entity_for_account (line 151) | pub fn create_addressable_entity_for_account( function get_account (line 214) | pub fn get_account(&mut self, account_hash: &AccountHash) -> Option (Key, SeigniorageRecipientsSnapshotV2) { function get_bids (line 271) | pub fn get_bids(&mut self) -> Vec { function existing_bid (line 281) | fn existing_bid(&mut self, bid_kind: &BidKind, existing_bids: Vec WithdrawPurses { function get_unbonding_purses (line 420) | fn get_unbonding_purses(&mut self) -> BTreeMap BTreeMap> { function write_withdraws (line 443) | fn write_withdraws(&mut self, account_hash: AccountHash, withdraws: Vec<... function write_unbonding_purses (line 451) | fn write_unbonding_purses(&mut self, account_hash: AccountHash, unbonds:... function write_unbond (line 457) | fn write_unbond(&mut self, unbond_kind: UnbondKind, unbond: Unbond) { function already_unbonding_amount (line 475) | fn already_unbonding_amount(&mut self, bid_kind: &BidKind) -> U512 { function remove_withdraws_and_unbonds_with_bonding_purse (line 533) | pub fn remove_withdraws_and_unbonds_with_bonding_purse(&mut self, affect... function create_unbond (line 566) | pub fn create_unbond( FILE: utils/global-state-update-gen/src/generic/testing.rs constant TOTAL_SUPPLY_KEY (line 28) | const TOTAL_SUPPLY_KEY: URef = URef::new([1; 32], AccessRights::READ_ADD... constant SEIGNIORAGE_RECIPIENTS_KEY (line 29) | const SEIGNIORAGE_RECIPIENTS_KEY: URef = URef::new([2; 32], AccessRights... type MockStateReader (line 31) | struct MockStateReader { method new (line 45) | fn new() -> Self { method with_account (line 60) | fn with_account( method with_validators (line 85) | fn with_validators( method unbonder_bonding_purse (line 170) | fn unbonder_bonding_purse( method create_or_get_unbonder_bonding_purse (line 191) | fn create_or_get_unbonder_bonding_purse( method with_withdraw (line 214) | fn with_withdraw( method with_unbond (line 247) | fn with_unbond( method total_supply (line 275) | fn total_supply(&self) -> U512 { method query (line 281) | fn query(&mut self, key: Key) -> Option { method get_total_supply_key (line 304) | fn get_total_supply_key(&mut self) -> Key { method get_seigniorage_recipients_key (line 308) | fn get_seigniorage_recipients_key(&mut self) -> Key { method get_account (line 312) | fn get_account(&mut self, account_hash: AccountHash) -> Option Vec { method get_withdraws (line 320) | fn get_withdraws(&mut self) -> WithdrawPurses { method get_unbonding_purses (line 324) | fn get_unbonding_purses(&mut self) -> BTreeMap BTreeMap> { method new (line 334) | pub fn new(public_key: &PublicKey, weight: U512) -> Self { function should_transfer_funds (line 343) | fn should_transfer_funds() { function should_create_account_when_transferring_funds (line 407) | fn should_create_account_when_transferring_funds() { function validator_config (line 468) | fn validator_config( function should_change_one_validator (line 484) | fn should_change_one_validator() { function should_change_only_stake_of_one_validator (line 577) | fn should_change_only_stake_of_one_validator() { function should_change_only_balance_of_one_validator (line 672) | fn should_change_only_balance_of_one_validator() { function should_replace_one_validator (line 741) | fn should_replace_one_validator() { function should_replace_one_validator_with_unbonding (line 846) | fn should_replace_one_validator_with_unbonding() { function should_add_one_validator (line 958) | fn should_add_one_validator() { function should_add_one_validator_with_delegators (line 1066) | fn should_add_one_validator_with_delegators() { function should_replace_a_delegator (line 1166) | fn should_replace_a_delegator() { function should_replace_a_delegator_with_unbonding (line 1272) | fn should_replace_a_delegator_with_unbonding() { function should_not_change_the_delegator (line 1384) | fn should_not_change_the_delegator() { function should_remove_the_delegator (line 1466) | fn should_remove_the_delegator() { function should_remove_the_delegator_with_unbonding (line 1586) | fn should_remove_the_delegator_with_unbonding() { function should_slash_a_validator_and_delegator_with_enqueued_withdraws (line 1684) | fn should_slash_a_validator_and_delegator_with_enqueued_withdraws() { function should_slash_a_validator_and_delegator_with_enqueued_unbonds (line 1837) | fn should_slash_a_validator_and_delegator_with_enqueued_unbonds() { function should_handle_unbonding_to_oneself_correctly (line 2000) | fn should_handle_unbonding_to_oneself_correctly() { function should_handle_unbonding_to_a_delegator_correctly (line 2120) | fn should_handle_unbonding_to_a_delegator_correctly() { function should_handle_legacy_unbonding_to_oneself_correctly (line 2275) | fn should_handle_legacy_unbonding_to_oneself_correctly() { function should_handle_legacy_unbonding_to_a_delegator_correctly (line 2402) | fn should_handle_legacy_unbonding_to_a_delegator_correctly() { FILE: utils/global-state-update-gen/src/generic/update.rs type Update (line 20) | pub(crate) struct Update { method new (line 27) | pub(crate) fn new( method print (line 37) | pub(crate) fn print(&self) { method len (line 49) | pub(crate) fn len(&self) -> usize { method get_written_addressable_entity (line 53) | pub(crate) fn get_written_addressable_entity( method get_written_bid (line 75) | pub(crate) fn get_written_bid(&self, account: AccountHash) -> BidKind { method get_total_stake (line 85) | pub(crate) fn get_total_stake(&self, account: AccountHash) -> Option Vec(&self, reader: &mut ... method assert_written_purse_is_unit (line 170) | pub(crate) fn assert_written_purse_is_unit(&self, purse: URef) { method assert_seigniorage_recipients_written (line 180) | pub(crate) fn assert_seigniorage_recipients_written(&s... method assert_written_bid (line 187) | pub(crate) fn assert_written_bid(&self, account: AccountHash, bid: Bid... method assert_withdraw_purse (line 195) | pub(crate) fn assert_withdraw_purse( method assert_unbonding_purse (line 219) | pub(crate) fn assert_unbonding_purse( method assert_unbonding_purses (line 244) | pub(crate) fn assert_unbonding_purses<'a>( method assert_unbond_bid_kind (line 282) | pub(crate) fn assert_unbond_bid_kind( method assert_key_absent (line 325) | pub(crate) fn assert_key_absent(&self, key: &Key) { method assert_validators (line 330) | pub(crate) fn assert_validators(&self, validators: &[ValidatorInfo]) { method assert_validators_unchanged (line 337) | pub(crate) fn assert_validators_unchanged(&self) { FILE: utils/global-state-update-gen/src/main.rs function main (line 18) | fn main() { FILE: utils/global-state-update-gen/src/system_entity_registry.rs constant DATABASE_NAME (line 25) | const DATABASE_NAME: &str = "PROTOCOL_DATA_STORE"; function generate_system_entity_registry (line 27) | pub(crate) fn generate_system_entity_registry(matches: &ArgMatches<'_>) { function generate_system_entity_registry_using_protocol_data (line 35) | fn generate_system_entity_registry_using_protocol_data(data_dir: &Path) { function generate_system_entity_registry_using_global_state (line 116) | fn generate_system_entity_registry_using_global_state(data_dir: &Path, s... FILE: utils/global-state-update-gen/src/utils.rs function hash_from_str (line 13) | pub fn hash_from_str(hex_str: &str) -> Digest { function num_from_str (line 19) | pub fn num_from_str(str: Option<&str>) -> Option { function protocol_version_from_matches (line 26) | pub fn protocol_version_from_matches(matches: &ArgMatches<'_>) -> Protoc... function print_validators (line 33) | pub(crate) fn print_validators(validators: &[ValidatorInfo]) { function print_entry (line 44) | pub(crate) fn print_entry(key: &Key, value: &StoredValue) { type ValidatorInfo (line 52) | pub(crate) struct ValidatorInfo { type ValidatorsDiff (line 58) | pub struct ValidatorsDiff { function validators_diff (line 64) | pub fn validators_diff( FILE: utils/global-state-update-gen/src/validators.rs function generate_validators_update (line 14) | pub(crate) fn generate_validators_update(matches: &ArgMatches<'_>) { FILE: utils/highway-rewards-analysis/src/main.rs type Args (line 27) | struct Args { type EraDump (line 35) | pub(crate) struct EraDump { function main (line 59) | fn main() { function print_faults (line 84) | fn print_faults(validators: &Validators, state: &State u64 { function print_skipped_rounds (line 104) | fn print_skipped_rounds(validators: &Validators, dump: &EraDu... function print_lowest_quorum_participation (line 160) | fn print_lowest_quorum_participation(validators: &Validators,... FILE: utils/highway-state-grapher/src/main.rs type Args (line 38) | struct Args { type EraDump (line 44) | pub(crate) struct EraDump { type Units (line 69) | struct Units { method do_collect_ancestor_units (line 76) | fn do_collect_ancestor_units( method reorder (line 96) | fn reorder(&mut self, state: &State) { method collect_ancestor_units (line 122) | fn collect_ancestor_units(&mut self, state: &State) { type UnitId (line 131) | pub struct UnitId(ValidatorIndex, usize); method fmt (line 134) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type BlockId (line 143) | pub struct BlockId(u64, u8); method fmt (line 146) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type Quorum (line 159) | pub struct Quorum { method fmt (line 166) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type GraphUnit (line 175) | pub struct GraphUnit { method fmt (line 191) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type BlockMapper (line 211) | struct BlockMapper { method new (line 218) | fn new() -> Self { method insert (line 227) | fn insert(&mut self, hash: Digest, id: BlockId) { method next_id_for_height (line 237) | fn next_id_for_height(&self, height: u64) -> BlockId { method get (line 248) | fn get(&self, hash: &Digest) -> Option { method get_by_id (line 254) | fn get_by_id(&self, id: &BlockId) -> Option { type Graph (line 261) | pub struct Graph { method new (line 271) | fn new(state: &State, start_time: Timestamp) -> Self { method get (line 410) | pub fn get(&self, unit_id: &UnitId) -> Option<&GraphUnit> { method validator_weights (line 417) | pub fn validator_weights(&self) -> &ValidatorMap { method iter_range (line 423) | pub fn iter_range( function main (line 449) | fn main() { type KeyboardState (line 478) | struct KeyboardState { method e_pressed (line 484) | fn e_pressed(&mut self) -> bool { method e_released (line 490) | fn e_released(&mut self) { type MouseState (line 497) | enum MouseState { method handle_move (line 507) | fn handle_move(&mut self, new_position: (f64, f64)) -> Option<(f32, f3... method handle_button (line 523) | fn handle_button(&mut self, button_down: bool) { method cursor (line 540) | fn cursor(&self) -> (f32, f32) { function start_rendering (line 549) | fn start_rendering(graph: Graph) { FILE: utils/highway-state-grapher/src/renderer.rs constant VERTEX_SHADER_SRC (line 15) | const VERTEX_SHADER_SRC: &str = r#" constant FRAGMENT_SHADER_SRC (line 30) | const FRAGMENT_SHADER_SRC: &str = r#" constant FONT_FILE (line 41) | const FONT_FILE: &[u8] = include_bytes!("../DejaVuSans.ttf"); type Vertex (line 44) | struct Vertex { type Renderer (line 51) | pub struct Renderer { method new (line 79) | pub fn new(display: &Display) -> Self { method unit_vertex_buffer (line 104) | fn unit_vertex_buffer( method draw (line 167) | pub fn draw(&mut self, display: &Display, graph: &Graph, cursor_x: f32... method convert_cursor (line 234) | fn convert_cursor(&self, cursor_x: f32, cursor_y: f32, size_x: u32, si... method unit_contains_cursor (line 243) | fn unit_contains_cursor(unit: &GraphUnit, cursor_x: f32, cursor_y: f32... method draw_unit (line 250) | fn draw_unit( method draw_text (line 338) | fn draw_text( method draw_edges (line 365) | fn draw_edges( method unit_pos (line 423) | fn unit_pos(unit: &GraphUnit) -> (f32, f32) { method mouse_scroll (line 430) | pub fn mouse_scroll(&mut self, lines: f32) { method pan (line 435) | pub fn pan(&mut self, delta_x: f32, delta_y: f32) { method toggle_edges (line 440) | pub fn toggle_edges(&mut self) { method quorum_color_spectrum (line 445) | fn quorum_color_spectrum(frac: f32) -> [f32; 3] { constant UNIT_WIDTH (line 73) | const UNIT_WIDTH: f32 = 0.5; constant UNIT_HEIGHT (line 74) | const UNIT_HEIGHT: f32 = 0.4; constant CORNER_RADIUS (line 75) | const CORNER_RADIUS: f32 = 0.05; constant LINE_WIDTH (line 76) | const LINE_WIDTH: f32 = 0.015; FILE: utils/highway-state-grapher/src/renderer/matrix.rs type Matrix (line 4) | pub struct Matrix { method identity (line 9) | pub fn identity() -> Matrix { method inner (line 20) | pub fn inner(self) -> [[f32; 4]; 4] { method translation (line 24) | pub fn translation(x: f32, y: f32) -> Matrix { method scale (line 31) | pub fn scale(x: f32, y: f32) -> Matrix { type Output (line 44) | type Output = Matrix; method add (line 46) | fn add(mut self, other: Matrix) -> Matrix { type Output (line 57) | type Output = Matrix; method sub (line 59) | fn sub(mut self, other: Matrix) -> Matrix { type Output (line 70) | type Output = Matrix; method mul (line 73) | fn mul(self, other: Matrix) -> Matrix { FILE: utils/validation/src/abi.rs type Input (line 15) | pub enum Input { method to_bytes (line 29) | fn to_bytes(&self) -> Result, bytesrepr::Error> { method serialized_length (line 44) | fn serialized_length(&self) -> usize { type ABITestCase (line 62) | pub struct ABITestCase { method from_inputs (line 68) | pub fn from_inputs(inputs: Vec) -> Result { method input (line 89) | pub fn input(&self) -> Result, Error> { method output (line 98) | pub fn output(&self) -> Result, Error> { method to_bytes (line 103) | pub fn to_bytes(&self) -> Result, Error> { method serialized_length (line 113) | pub fn serialized_length(&self) -> Result { method run_test (line 122) | fn run_test(&self) -> Result<(), Error> { type ABIFixture (line 150) | pub struct ABIFixture(BTreeMap); method len (line 153) | pub fn len(&self) -> usize { method is_empty (line 157) | pub fn is_empty(&self) -> bool { method into_inner (line 161) | pub fn into_inner(self) -> BTreeMap { FILE: utils/validation/src/error.rs type Error (line 10) | pub enum Error { method from (line 28) | fn from(error: bytesrepr::Error) -> Self { FILE: utils/validation/src/generators.rs constant DO_NOTHING_BYTES (line 32) | const DO_NOTHING_BYTES: &[u8] = b"\x00asm\x01\x00\x00\x00\x01\x04\x01`\x... function make_abi_test_fixtures (line 34) | pub fn make_abi_test_fixtures() -> Result { FILE: utils/validation/src/lib.rs constant ABI_TEST_FIXTURES (line 32) | pub const ABI_TEST_FIXTURES: &str = "ABI"; constant JSON_FILE_EXT (line 33) | const JSON_FILE_EXT: &str = "json"; type Fixture (line 36) | pub enum Fixture { function load_fixture (line 49) | pub fn load_fixture(path: PathBuf) -> Result; function load_fixtures (line 67) | pub fn load_fixtures(path: &Path) -> Result { FILE: utils/validation/src/main.rs type Opts (line 12) | struct Opts { type SubCommand (line 18) | enum SubCommand { type Generate (line 27) | struct Generate { method run (line 34) | fn run(self) -> anyhow::Result<()> { function main (line 59) | fn main() -> anyhow::Result<()> { FILE: utils/validation/src/test_case.rs type Error (line 6) | pub enum Error { method from (line 22) | fn from(error: bytesrepr::Error) -> Self { type TestCase (line 27) | pub trait TestCase { method run_test (line 28) | fn run_test(&self) -> Result<(), Error>; FILE: utils/validation/src/utils.rs function recursive_read_dir (line 8) | pub fn recursive_read_dir(dir: &Path) -> io::Result> { FILE: utils/validation/tests/validation_test.rs type TestPair (line 10) | type TestPair = (String, Box); function get_fixtures_path (line 12) | fn get_fixtures_path() -> PathBuf { function prog (line 19) | fn prog() -> Option { function make_abi_tests (line 30) | fn make_abi_tests(test_name: &str, test_fixture: ABIFixture) -> Vec Result, Error> { function main (line 63) | fn main() -> anyhow::Result<()> {