pub fn new(owner: Id, ctr: Val, id: Id) -> Transaction {
        let mut transaction = Transaction::default();
        let view: &mut Self = transaction.view_mut();

        view.type_id = (TransactionType::Revocation as u64).into();
        view.owner = owner;
        view.ctr = ctr;
        view.id = id;
        transaction
    }
/// create a new revocation transaction.
create a new revocation transaction.
create a new revocation transaction .
pub fn new(owner: Id, ctr: Val, id: Id) -> Transaction {
        let mut transaction = Transaction::default();
        let view: &mut Self = transaction.view_mut();
        view.type_id = (TransactionType::Revocation as u64).into();
        view.owner = owner;
        view.ctr = ctr;
        view.id = id;
        transaction
    }
pub fn new ( owner : Id , ctr : Val , id : Id ) -> Transaction { let mut transaction = Transaction :: default ( ) ; let view : & mut Self = transaction . view_mut ( ) ; view . type_id = ( TransactionType :: Revocation as u64 ) . into ( ) ; view . owner = owner ; view . ctr = ctr ; view . id = id ; transaction }
create a new revocation transaction.
create a new revocation transaction .
owner
Id
ctr
Val
id
Id