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

File-Level Functions

fromParts(uint64 refTime, uint64 proofSize)

solidity
function fromParts(uint64 refTime, uint64 proofSize) internal pure returns (struct Weight)

Constructs a `Weight` struct from its individual components.

File-Level Structs

Weight

solidity
struct Weight

Weight v2 used for measurement for an XCM execution

FieldTypeDescription
refTimeuint64The computational time used to execute some logic based on reference hardware.
proofSizeuint64The size of the proof needed to execute some logic.

Weight

Kind: source