mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 01:47:55 +00:00
5dd6a4ba47
Several PRs started introducing `prdoc` files before the schema was final. This PR fixes those former prdoc to ensure that pass the check and comply with the current prdoc schema. --------- Co-authored-by: command-bot <>
27 lines
521 B
Plaintext
27 lines
521 B
Plaintext
# Schema: Parity PR Documentation Schema (prdoc)
|
|
# See doc at https://github.com/paritytech/prdoc
|
|
|
|
title: Add a builder pattern to create XCM programs
|
|
|
|
doc:
|
|
- audience: Runtime Dev
|
|
description: |
|
|
XCMs can now be built using a builder pattern like so:
|
|
```
|
|
Xcm::builder()
|
|
.withdraw_asset(assets)
|
|
.buy_execution(fees, weight_limit)
|
|
.deposit_asset(assets, beneficiary)
|
|
.build();
|
|
```
|
|
|
|
migrations:
|
|
db: []
|
|
|
|
runtime: []
|
|
|
|
crates:
|
|
- name: xcm
|
|
|
|
host_functions: []
|