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

File-Level Functions

fromAsset(struct Asset asset)

solidity
function fromAsset(struct Asset asset) internal pure returns (struct Assets)

Creates an `Assets` wrapper from a single `Asset`.

fromAssets(struct Asset[] assets)

solidity
function fromAssets(struct Asset[] assets) internal pure returns (struct Assets)

Creates an `Assets` wrapper from an asset array.

File-Level Structs

Assets

solidity
struct Assets
FieldTypeDescription
itemsAsset[]The items of the array.

Assets

Kind: source