casper_client/transfer_target.rs
1use casper_types::{account::AccountHash, PublicKey, URef};
2
3/// The various types which can be used as the `target` runtime argument of a native transfer.
4#[derive(Clone, Ord, PartialOrd, Eq, PartialEq)]
5pub enum TransferTarget {
6 /// A public key.
7 PublicKey(PublicKey),
8 /// An account hash.
9 AccountHash(AccountHash),
10 /// A URef.
11 URef(URef),
12}