Skip to content

Commit

Permalink
Added draft for claim
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasvo committed Feb 10, 2021
1 parent 377fa30 commit 5854826
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ Where message `type` must be one of:
- `4`: `Transact`
- `5`: `RelayTo`
- `6`: `RelayedFrom`
- `7`: `AccountClaim`

Within XCM, there is an internal datatype `Order`, which encodes an operation on the holding account. It is defined as:

Expand Down Expand Up @@ -222,7 +223,19 @@ Remove the asset(s) (`assets`) from holding and send a `WithdrawAsset` XCM messa
be executed on them. There will typically be only one valid location on any given asset/chain combination.
- `effects: Vec<Order>`: The orders to execute on the assets once withdrawn *on the reserve location*.

<<<<<<< HEAD
Errors:
=======
### `AccountClaim`
Sends a claim verified to be from the `source` to the `destination` on the parachain. It has an `expiration` timestamp and a `scope` used to define the scope under which such a `claim` is made. A chain should only send such a claim if it is verified to have been intended to be sent by the `source`. It facilitates authentication across parachains.

- `source: MultiLocation`
- `destination: MultiLocation`
- `timestamp: Compact<u48>`
- `scope: Vec<u8>`

## `MultiAsset`: Universal Asset Identifiers
>>>>>>> a1a8822 (Added draft for claim)
### `InitiateTeleport`

Expand Down

0 comments on commit 5854826

Please sign in to comment.