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 WeightWeight v2 used for measurement for an XCM execution
| Field | Type | Description |
|---|---|---|
refTime | uint64 | The computational time used to execute some logic based on reference hardware. |
proofSize | uint64 | The size of the proof needed to execute some logic. |
Weight
Kind: source