[go: up one dir, main page]

fuels-types 0.36.1

Serializable type representation for working with the Fuel VM ABI.
Documentation
1
2
3
4
5
6
7
8
9
10
use fuel_tx::{Address, ContractId};
use fuels_macros::{Parameterize, Tokenizable};
use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, PartialEq, Eq, Hash, Serialize, Deserialize, Parameterize, Tokenizable)]
#[FuelsTypesPath("crate")]
pub enum Identity {
    Address(Address),
    ContractId(ContractId),
}