pub fn store_contact(
    id: u32,
    name: &str,
    address: &str,
    dirty: bool
) -> Result<()>
Expand description

Store contact in the database

Arguments

  • id: contact id
  • name: contact name
  • address: contact address
  • dirty: true if the database hasn’t been saved to the blockchain yet