Skip to content
solidity
import "solidity-scale-codec/src/Xcm/v5/Asset/Asset.sol";

File-Level Structs

Asset

solidity
struct Asset

Either an amount of a single fungible asset, or a single well-identified non-fungible asset.

FieldTypeDescription
idAssetIdThe overall asset identity (aka class, in the case of a non-fungible).
fungibilityFungibilityThe fungibility of the asset, which contains either the amount (in the case of a fungible asset) or the instance ID, the secondary asset identifier.

Asset

Kind: source