From e30ee7942900e6d9343650d3c5325673951bb159 Mon Sep 17 00:00:00 2001 From: Thoralf-M <46689931+Thoralf-M@users.noreply.github.com> Date: Tue, 13 Jun 2023 16:52:24 +0200 Subject: [PATCH] Fix sender and issuer field name (#116) * Fix sender and issuer field name * Fix Sender and Issuer in embedded tables --------- Co-authored-by: Levente Pap --- tips/TIP-0018/tip-0018.md | 14 +++++++------- tips/TIP-0025/core-rest-api.yaml | 8 ++++---- tips/TIP-0028/event-api.yml | 8 ++++---- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/tips/TIP-0018/tip-0018.md b/tips/TIP-0018/tip-0018.md index 54e04cb43..6e4d14131 100644 --- a/tips/TIP-0018/tip-0018.md +++ b/tips/TIP-0018/tip-0018.md @@ -1031,7 +1031,7 @@ transaction validation. - Sender oneOf + Address oneOf
Ed25519 Address @@ -1146,7 +1146,7 @@ disclose their addresses to prove the authenticity of the NFT once it is in circ - Issuer oneOf + Address oneOf
Ed25519 Address @@ -1767,7 +1767,7 @@ is deprecated with the replacement of the [TIP-20 Transaction Payload](../TIP-00 - Sender oneOf + Address oneOf
Ed25519 Address @@ -2236,7 +2236,7 @@ state as metadata into the UTXO ledger. - Sender oneOf + Address oneOf
Ed25519 Address @@ -2362,7 +2362,7 @@ state as metadata into the UTXO ledger. - Issuer oneOf + Address oneOf
Ed25519 Address @@ -3336,7 +3336,7 @@ sent as a request to smart contract chain accounts. - Sender oneOf + Address oneOf
Ed25519 Address @@ -3487,7 +3487,7 @@ sent as a request to smart contract chain accounts. - Issuer oneOf + Address oneOf
Ed25519 Address diff --git a/tips/TIP-0025/core-rest-api.yaml b/tips/TIP-0025/core-rest-api.yaml index 5b271c1bc..fccfb2253 100644 --- a/tips/TIP-0025/core-rest-api.yaml +++ b/tips/TIP-0025/core-rest-api.yaml @@ -2391,14 +2391,14 @@ components: type: type: integer description: Set to value 0 to denote a Sender Feature. - sender: + address: oneOf: - $ref: '#/components/schemas/Ed25519Address' - $ref: '#/components/schemas/AliasAddress' - $ref: '#/components/schemas/NFTAddress' required: - type - - sender + - address IssuerFeature: description: Identifies the validated issuer of the UTXO state machine (alias/NFT). @@ -2406,14 +2406,14 @@ components: type: type: integer description: Set to value 1 to denote an Issuer Feature. - issuer: + address: oneOf: - $ref: '#/components/schemas/Ed25519Address' - $ref: '#/components/schemas/AliasAddress' - $ref: '#/components/schemas/NFTAddress' required: - type - - issuer + - address MetadataFeature: description: Defines metadata (arbitrary binary data) that will be stored in the output. diff --git a/tips/TIP-0028/event-api.yml b/tips/TIP-0028/event-api.yml index 7ee2476e9..2d0a4036b 100644 --- a/tips/TIP-0028/event-api.yml +++ b/tips/TIP-0028/event-api.yml @@ -723,14 +723,14 @@ components: type: integer description: Set to value 0 to denote a Sender Feature. example: 0 - sender: + address: oneOf: - $ref: '#/components/schemas/Ed25519Address' - $ref: '#/components/schemas/AliasAddress' - $ref: '#/components/schemas/NFTAddress' required: - type - - sender + - address IssuerFeature: description: Identifies the validated issuer of the UTXO state machine (alias/NFT). properties: @@ -738,14 +738,14 @@ components: type: integer description: Set to value 1 to denote an Issuer Feature. example: 1 - issuer: + address: oneOf: - $ref: '#/components/schemas/Ed25519Address' - $ref: '#/components/schemas/AliasAddress' - $ref: '#/components/schemas/NFTAddress' required: - type - - issuer + - address MetadataFeature: description: >- Defines metadata (arbitrary binary data) that will be stored in the