Skip to main content

Module keychain

Module keychain 

Source

Structsยง

AnvilNodeInfo ๐Ÿ”’
DoctorCandidate ๐Ÿ”’
Candidate subject collected before the RPC chain is known.
DoctorContext ๐Ÿ”’
DoctorStep ๐Ÿ”’
DoctorSubject ๐Ÿ”’
Result of resolving a local registry entry for the doctor.
InspectedLimit ๐Ÿ”’
JsonCallScope ๐Ÿ”’
Represents a single scope entry in JSON format for --scopes.
JsonSelectorWithRecipients ๐Ÿ”’
KeyMetadata ๐Ÿ”’
LocalCandidateResolution ๐Ÿ”’
LocalLimitMetadata ๐Ÿ”’
ScopesJson
Newtype wrapper for parsed --scopes JSON so clap can treat it as a single value.
SelectorArg
SponsorshipDiagnosis ๐Ÿ”’
ValidKeyAuthorization ๐Ÿ”’

Enumsยง

AllowedCallMatch ๐Ÿ”’
Outcome of TIP-1011 allowed-call matching.
AllowedCallsView ๐Ÿ”’
ChainTimestamp ๐Ÿ”’
DoctorStatus ๐Ÿ”’
JsonSelectorEntry ๐Ÿ”’
A selector entry can be either a plain string or an object with recipients.
KeyRegistrationState ๐Ÿ”’
KeychainPolicySubcommand
Higher-level access-key policy editing commands.
KeychainSubcommand
Tempo keychain management commands.

Functionsยง

active_from_anvil_node_info ๐Ÿ”’
add_selector_rule_to_scope ๐Ÿ”’
address_label ๐Ÿ”’
address_label_with_address ๐Ÿ”’
allowed_calls_to_json ๐Ÿ”’
anvil_tempo_hardfork_active ๐Ÿ”’
auth_signature_type_label ๐Ÿ”’
call_scope_to_json ๐Ÿ”’
check_allowed_calls ๐Ÿ”’
Step 8 helper: allowed calls (TIP-1011).
check_authorization_allowed_calls ๐Ÿ”’
check_authorization_expiry ๐Ÿ”’
check_authorization_spending_limits ๐Ÿ”’
check_expiring_nonce ๐Ÿ”’
Step 12 helper: validate TIP-1009 expiring-nonce options, if supplied.
check_expiring_nonce_window ๐Ÿ”’
check_fee_token_balance ๐Ÿ”’
Step 9 helper: fee-token balance on the root account.
check_hardfork ๐Ÿ”’
check_key_expiry ๐Ÿ”’
check_local_signing_readiness ๐Ÿ”’
Step 4 helper: verify whether the local side can actually sign as the key.
check_spending_limits ๐Ÿ”’
Step 7 helper: spending limits.
check_sponsorship ๐Ÿ”’
Step 13 helper: validate sponsorship configuration, if supplied.
collect_local_candidates ๐Ÿ”’
Step 1 helper: collect local registry candidates.
diagnose_allowed_scopes ๐Ÿ”’
fetch_chain_timestamp ๐Ÿ”’
finalize_doctor ๐Ÿ”’
Render the doctor result and return.
format_authorization_limits ๐Ÿ”’
format_duration_words ๐Ÿ”’
format_expiry ๐Ÿ”’
format_expiry_for_inspect ๐Ÿ”’
format_period_end ๐Ÿ”’
format_recipients ๐Ÿ”’
format_relative_timestamp ๐Ÿ”’
format_relative_timestamp_from ๐Ÿ”’
format_selector ๐Ÿ”’
format_timestamp_iso ๐Ÿ”’
inspected_limit_to_json ๐Ÿ”’
is_rpc_method_not_found ๐Ÿ”’
is_tempo_hardfork_active ๐Ÿ”’
key_entry_effective_key ๐Ÿ”’
key_entry_to_json ๐Ÿ”’
key_metadata_from_entry ๐Ÿ”’
key_type_label ๐Ÿ”’
key_type_matches_authorization ๐Ÿ”’
key_type_name ๐Ÿ”’
load_keys_file ๐Ÿ”’
match_allowed_call ๐Ÿ”’
Pure TIP-1011 matching logic. Extracted so it can be unit-tested.
parse_limit ๐Ÿ”’
Parse a --limit TOKEN:AMOUNT flag value.
parse_period ๐Ÿ”’
parse_policy_token ๐Ÿ”’
parse_scope ๐Ÿ”’
Parse a --scope TARGET[:SELECTORS[@RECIPIENTS]] flag value.
parse_scopes_json ๐Ÿ”’
Parse --scopes JSON flag value.
parse_scopes_json_wrapped ๐Ÿ”’
Parse --scopes JSON flag value into the newtype wrapper.
parse_selector_arg ๐Ÿ”’
parse_selector_bytes ๐Ÿ”’
Parse a selector string: a 4-byte hex (0xd09de08a), a full signature (transfer(address,uint256)), or a well-known TIP-20 function name shorthand.
parse_selector_rules ๐Ÿ”’
Parse comma-separated selectors, each optionally with @recipient1,recipient2,....
parse_signature_type ๐Ÿ”’
print_allowed_calls ๐Ÿ”’
print_doctor_step ๐Ÿ”’
print_inspected_limits ๐Ÿ”’
print_key_entry ๐Ÿ”’
redact_private_key_uri_tokens ๐Ÿ”’
resolve_key_metadata ๐Ÿ”’
run_authorize ๐Ÿ”’
cast keychain authorize / cast keychain auth โ€” authorize a key on-chain.
run_check ๐Ÿ”’
cast keychain check / cast keychain info โ€” query on-chain key status.
run_doctor ๐Ÿ”’
cast keychain doctor โ€” diagnose access-key signing failures.
run_inspect ๐Ÿ”’
cast keychain inspect <key_address> โ€” inspect on-chain key policy.
run_list ๐Ÿ”’
cast keychain list โ€” display all entries from keys.toml.
run_policy_add_call ๐Ÿ”’
cast keychain policy add-call โ€” merge a selector rule into a target scope.
run_policy_set_limit ๐Ÿ”’
cast keychain policy set-limit โ€” update a spending limit amount.
run_remaining_limit ๐Ÿ”’
cast keychain rl โ€” query remaining spending limit.
run_remove_scope ๐Ÿ”’
cast keychain rs โ€” remove call scope for a target.
run_revoke ๐Ÿ”’
cast keychain revoke / cast keychain rev โ€” revoke a key on-chain.
run_set_scope ๐Ÿ”’
cast keychain ss โ€” set allowed call scopes.
run_show ๐Ÿ”’
cast keychain show <wallet_address> โ€” show keys for a specific wallet.
run_update_limit ๐Ÿ”’
cast keychain ul โ€” update spending limit.
sanitize_sponsor_config_error ๐Ÿ”’
select_subject_for_chain ๐Ÿ”’
Step 3 helper: filter candidates to the RPC chain id and pick a single entry.
selector_hex ๐Ÿ”’
selector_rule_to_json ๐Ÿ”’
selector_signature ๐Ÿ”’
send_keychain_tx ๐Ÿ”’
Shared helper to send a keychain precompile transaction.
signature_type_label ๐Ÿ”’
signature_type_name ๐Ÿ”’
tempo_keys_path_display ๐Ÿ”’
unix_timestamp_now ๐Ÿ”’
validate_pending_key_authorization ๐Ÿ”’
wallet_type_name ๐Ÿ”’