From 98f628dd916cde3d3d505c00f84204e8dc93ae3d Mon Sep 17 00:00:00 2001 From: tequ Date: Mon, 20 Mar 2023 12:44:21 +0900 Subject: [PATCH] [JA] uipdate trustset --- .../transaction-types/trustset.ja.md | 23 +++++++++++-------- .../transaction-types/trustset.md | 4 ++-- dactyl-config.yml | 1 - 3 files changed, 15 insertions(+), 13 deletions(-) diff --git a/content/references/protocol-reference/transactions/transaction-types/trustset.ja.md b/content/references/protocol-reference/transactions/transaction-types/trustset.ja.md index a457e1f426..f7958e4da5 100644 --- a/content/references/protocol-reference/transactions/transaction-types/trustset.ja.md +++ b/content/references/protocol-reference/transactions/transaction-types/trustset.ja.md @@ -1,15 +1,15 @@ --- html: trustset.html parent: transaction-types.html -blurb: 2つのアカウントをリンクするトラストラインを作成または変更します。 +blurb: トラストラインを作成または変更します。 labels: - トークン --- # TrustSet -[[ソース]](https://github.com/ripple/rippled/blob/master/src/ripple/app/tx/impl/SetTrust.cpp "Source") +[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/app/tx/impl/SetTrust.cpp "Source") -2つのアカウントをリンクするトラストラインを作成または変更します。 +2つのアカウントをリンクする[トラストライン](trust-lines-and-issuing.html)を作成または変更します。 ## {{currentpage.name}} JSONの例 @@ -41,18 +41,21 @@ labels: | `QualityIn` | 数値 | UInt32 | _(省略可)_ このトラストラインの受入額を、1,000,000,000単位当たりのこの数値の割合で評価。値`0`は、残高を額面価格で扱うことを示す省略表現です。 | | `QualityOut` | 数値 | UInt32 | _(省略可)_ このトラストラインの払出額を、1,000,000,000単位当たりのこの数値の割合で評価。値`0`は、残高を額面価格で扱うことを示す省略表現です。 | +`LimitAmount.issuer`で指定されたアカウントがトラストラインの着信をブロックしている場合、結果コード`tecNO_PERMISSION`でトランザクションが失敗します。 _([DisallowIncoming amendment][] :not_enabled: が必要です)_ ## TrustSetのフラグ TrustSetタイプのトランザクションについては、[`Flags`フィールド](transaction-common-fields.html#flagsフィールド)で以下の値が追加でサポートされます。 -| フラグ名 | 16進数値 | 10進数値 | 説明 | -|:----------------|:-----------|:--------------|:------------------------------| -| tfSetfAuth | 0x00010000 | 65536 | 他方の当事者がこのアカウントからのイシュアンスを保有することを承認します。([*asfRequireAuth* AccountSet フラグ](accountset.html#accountsetのフラグ)を使用しない場合は効果がありません。)設定を解除できません。 | -| tfSetNoRipple | 0x00020000 | 131072 | 同一通貨の2つのトラストラインでこのフラグが設定されている場合、これらのトラストライン間でのripplingがブロックされます。(詳細は、[NoRipple](rippling.html)を参照してください。)[fix1578 Amendment][]が有効な場合、トランザクションにこのフラグが使用されていてもNoRippleを有効にできないときは、そのトランザクションは結果コード`tecNO_PERMISSION`で失敗します。このAmendmentが有効ではない場合は、トラストラインでNoRippleを有効にできない場合でもトランザクションの結果が`tesSUCCESS`になることがあります(トランザクションで可能な他の変更を行います)。 | -| tfClearNoRipple | 0x00040000 | 262144 | No-Ripplingフラグをクリアします。(詳細は、[NoRipple](rippling.html)を参照してください。) | -| tfSetFreeze | 0x00100000 | 1048576 | トラストラインを[凍結](freezes.html)します。 | -| tfClearFreeze | 0x00200000 | 2097152 | トラストラインを[凍結解除](freezes.html)します。 | +| フラグ名 | 16進数値 | 10進数値 | 説明 | +|:------------------|:-------------|:--------------|:----------------------| +| `tfSetfAuth` | `0x00010000` | 65536 | [このアカウントから発行された通貨](issued-currencies.html)を相手方に保有させることを許可します。([*asfRequireAuth* AccountSet フラグ](accountset.html#accountsetのフラグ)を使用しない場合は効果がありません。)設定を解除できません。 | +| `tfSetNoRipple` | `0x00020000` | 131072 | 2つのトラストラインの両方でこのフラグが有効になっている場合、同じ通貨のトラストライン間の[リップリング](rippling.html)をブロックする No Ripple フラグを有効にします。 | +| `tfClearNoRipple` | `0x00040000` | 262144 | No Rippleフラグを無効にし、このトラストラインで[リップリング](rippling.html)を許可します。 | +| `tfSetFreeze` | `0x00100000` | 1048576 | トラストラインを[凍結](freezes.html)します。 | +| `tfClearFreeze` | `0x00200000` | 2097152 | トラストラインを[凍結解除](freezes.html)します。 | + +トランザクションがNo Rippleを有効にしようとしたができない場合、結果コード `tecNO_PERMISSION` で失敗します。[fix1578 amendment][]が有効になる前は、このようなトランザクションは代わりに`tesSUCCESS`(可能な限りの他の変更を行う)という結果になりました。 トラストラインのAuthフラグは、トラストラインがその所有者のXRP必要準備金に反映されるかどうかを左右しません。ただしAuthフラグを有効にすると、トラストラインがデフォルト状態になることがありません。承認されたトラストラインは削除できません。イシュアーは、トラストラインの限度と残高が0であっても、`tfSetfAuth`フラグだけを使用してトラストラインを事前承認できます。 diff --git a/content/references/protocol-reference/transactions/transaction-types/trustset.md b/content/references/protocol-reference/transactions/transaction-types/trustset.md index 894c200c35..d5885728ad 100644 --- a/content/references/protocol-reference/transactions/transaction-types/trustset.md +++ b/content/references/protocol-reference/transactions/transaction-types/trustset.md @@ -7,7 +7,7 @@ labels: --- # TrustSet -[[Source]](https://github.com/ripple/rippled/blob/master/src/ripple/app/tx/impl/SetTrust.cpp "Source") +[[Source]](https://github.com/XRPLF/rippled/blob/master/src/ripple/app/tx/impl/SetTrust.cpp "Source") Create or modify a [trust line](trust-lines-and-issuing.html) linking two accounts. @@ -54,7 +54,7 @@ Transactions of the TrustSet type support additional values in the [`Flags` fiel |:------------------|:-------------|:--------------|:--------------------------| | `tfSetfAuth` | `0x00010000` | 65536 | Authorize the other party to hold [currency issued by this account](issued-currencies.html). (No effect unless using the [`asfRequireAuth` AccountSet flag](accountset.html#accountset-flags).) Cannot be unset. | | `tfSetNoRipple` | `0x00020000` | 131072 | Enable the No Ripple flag, which blocks [rippling](rippling.html) between two trust lines of the same currency if this flag is enabled on both. | -| `tfClearNoRipple` | `0x00040000` | 262144 | Disable the No Ripple flag, allowing [rippling](rippling.html) on this trust line.) | +| `tfClearNoRipple` | `0x00040000` | 262144 | Disable the No Ripple flag, allowing [rippling](rippling.html) on this trust line. | | `tfSetFreeze` | `0x00100000` | 1048576 | [Freeze](freezes.html) the trust line. | | `tfClearFreeze` | `0x00200000` | 2097152 | [Unfreeze](freezes.html) the trust line. | diff --git a/dactyl-config.yml b/dactyl-config.yml index aeac2e7c19..8010012a48 100644 --- a/dactyl-config.yml +++ b/dactyl-config.yml @@ -2765,7 +2765,6 @@ pages: targets: - en - # TODO: update translation - md: references/protocol-reference/transactions/transaction-types/trustset.ja.md targets: - ja