From 5854826183435841bc4e88d9c4445e7eac90002a Mon Sep 17 00:00:00 2001 From: Lucas Vogelsang Date: Wed, 10 Feb 2021 22:22:48 +0000 Subject: [PATCH 1/4] Added draft for claim --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 7c0be78..b32564c 100644 --- a/README.md +++ b/README.md @@ -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: @@ -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`: 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` +- `scope: Vec` + +## `MultiAsset`: Universal Asset Identifiers +>>>>>>> a1a8822 (Added draft for claim) ### `InitiateTeleport` From bc7ffee2aae4d3b5b1762aec6d5131e762b6230b Mon Sep 17 00:00:00 2001 From: Lucas Vogelsang Date: Wed, 10 Feb 2021 22:45:46 +0000 Subject: [PATCH 2/4] Cleanup --- README.md | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index b32564c..f1f996b 100644 --- a/README.md +++ b/README.md @@ -174,6 +174,16 @@ Kind: *Trusted Indication*. 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` +- `scope: Vec` + +Errors: + ## `Order` Types ### `Null` @@ -223,19 +233,6 @@ 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`: 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` -- `scope: Vec` - -## `MultiAsset`: Universal Asset Identifiers ->>>>>>> a1a8822 (Added draft for claim) ### `InitiateTeleport` From 6db56f48693fdb6b638689447d625fc635bec05b Mon Sep 17 00:00:00 2001 From: Lucas Vogelsang Date: Wed, 10 Feb 2021 22:48:56 +0000 Subject: [PATCH 3/4] clarified timestamp --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f1f996b..def147f 100644 --- a/README.md +++ b/README.md @@ -179,7 +179,7 @@ Sends a claim verified to be from the `source` to the `destination` on the parac - `source: MultiLocation` - `destination: MultiLocation` -- `timestamp: Compact` +- `expiration: Compact`: Timestamp of the claim expiration - `scope: Vec` Errors: From b3ea3b65d07c96b8c06df9d86e531dfe3c5a49e1 Mon Sep 17 00:00:00 2001 From: Lucas Vogelsang Date: Tue, 5 Oct 2021 12:18:41 +0200 Subject: [PATCH 4/4] Removing redundant `source` field in `AccountClaim` --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index def147f..b654169 100644 --- a/README.md +++ b/README.md @@ -177,7 +177,6 @@ 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` - `expiration: Compact`: Timestamp of the claim expiration - `scope: Vec`