solidity
import "solidity-scale-codec/src/Xcm/v5/Assets/Assets.sol";File-Level Functions
function fromAsset(struct Asset asset) internal pure returns (struct Assets)function fromAssets(struct Asset[] assets) internal pure returns (struct Assets)
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| Field | Type | Description |
|---|---|---|
items | Asset[] | The items of the array. |
Assets
Kind: source