pub fn write_transfer(&mut self, key: Key, value: Transfer) {
        if let Key::Transfer(_) = key {
            self.tracking_copy
                .borrow_mut()
                .write(key, StoredValue::Transfer(value));
        } else {
            panic!("Do not use this function for writing non-transfer keys")
        }
    }
/// Write a transfer instance to the global state.
Write a transfer instance to the global state.
Write a transfer instance to the global state .
pub fn write_transfer(&mut self, key: Key, value: Transfer) {
        if let Key::Transfer(_) = key {
            self.tracking_copy
                .borrow_mut()
                .write(key, StoredValue::Transfer(value));
        } else {
            panic!("Do not use this function for writing non-transfer keys")
        }
    }
pub fn write_transfer ( & mut self , key : Key , value : Transfer ) { if let Key :: Transfer ( _ ) = key { self . tracking_copy . borrow_mut ( ) . write ( key , StoredValue :: Transfer ( value ) ) ; } else { panic ! ( " " ) } }
Write a transfer instance to the global state.
Write a transfer instance to the global state .
&mut self
key
Key
value
Transfer
&mut self
key
Key
value
Transfer