diff --git a/content/@i18n/ja/references/protocol/transactions/types/xchainaccountcreatecommit.md b/content/@i18n/ja/references/protocol/transactions/types/xchainaccountcreatecommit.md new file mode 100644 index 00000000000..17c056d4c44 --- /dev/null +++ b/content/@i18n/ja/references/protocol/transactions/types/xchainaccountcreatecommit.md @@ -0,0 +1,66 @@ +--- +html: xchainaccountcreatecommit.html +parent: transaction-types.html +blurb: ブリッジが接続するチェーンの一つでアカウントを作成します。このアカウントがそのチェーンのブリッジの入り口となります。 +labels: + - 相互運用性 +status: not_enabled +--- +# XChainAccountCreateCommit +[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/protocol/impl/TxFormats.cpp#L466-L474 "ソース") + +_([XChainBridge Amendment][] :not_enabled: が必要です)_ + +このトランザクションはXRP-XRPブリッジにのみ使用できます。 + +`XChainAccountCreateCommit`トランザクションは、発行チェーンにトランザクションを送信するために、Witnessサーバ用の新しいアカウントを作成します。 + +**注意:** このトランザクションは、Witnessの証明書が送信先チェーンに確実に送信される場合にのみ実行されるべきです。署名が送信されない場合、証明書が受信されるまでアカウント作成はブロックされます。XRP-XRPブリッジでこのトランザクションを無効にするには、ブリッジの`MinAccountCreateAmount`フィールドを省略します。 + + +## XChainAccountCreateCommit JSONの例 + +```json +{ + "Account": "rwEqJ2UaQHe7jihxGqmx6J4xdbGiiyMaGa", + "Destination": "rD323VyRjgzzhY4bFpo44rmyh2neB5d8Mo", + "TransactionType": "XChainAccountCreateCommit", + "Amount": "20000000", + "SignatureReward": "100", + "XChainBridge": { + "LockingChainDoor": "rMAXACCrp3Y8PpswXcg3bKggHX76V3F8M4", + "LockingChainIssue": { + "currency": "XRP" + }, + "IssuingChainDoor": "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh", + "IssuingChainIssue": { + "currency": "XRP" + } + } +} +``` + + +## XChainAccountCreateCommitのフィールド + +| フィールド | JSONの型 | [内部の型][] | 必須? | 説明 | +|:------------------|:-------------|:--------------|:-----| :-----------| +| `Amount` | [通貨額][] | Amount | はい | アカウント作成に使用するXRP単位の金額。これは`Bridge`レジャーオブジェクトで指定されている`MinAccountCreateAmount`以上でなければなりません。 | +| `Destination` | 文字列 | Account | はい | 送信先チェーンの送信先アカウント。 | +| `SignatureReward` | [通貨額][] | Amount | いいえ | 署名を提供したWitnessサーバへの報酬として使用する金額。これは`Bridge`レジャーオブジェクトの金額と一致しなければなりません。 | +| `XChainBridge` | XChainBridge | XChain_Bridge | はい | アカウントを作成するブリッジ。 | + + +### XChainBridgeのフィールド + +| フィールド | JSONの型 | [内部の型][] | 必須? | 説明 | +|:--------------------|:---------|:-----------|:------|:----| +| `IssuingChainDoor` | 文字列 | Account | はい | 発行チェーンのドアアカウント。XRP-XRPブリッジの場合、これはジェネシスアカウント(ネットワークが最初に開始されたときに作成されるアカウントで、すべてのXRPを含む)でなければなりません。 | +| `IssuingChainIssue` | Issue | Issue | はい | 発行チェーン上で作成され、バーンされる資産。IOU-IOUブリッジの場合、供給量の問題を避けるため、資産の発行者は発行チェーンのドアアカウントでなければなりません。 | +| `LockingChainDoor` | 文字列 | Account | はい | ロックチェーンのドアアカウント。 | +| `LockingChainIssue` | Issue | Issue | はい | ロックチェーンでロック、アンロックされる資産。 | + + +{% include '_snippets/rippled-api-links.md' %} +{% include '_snippets/tx-type-links.md' %} +{% include '_snippets/rippled_versions.md' %} diff --git a/content/@i18n/ja/references/protocol/transactions/types/xchainaddaccountcreateattestation.md b/content/@i18n/ja/references/protocol/transactions/types/xchainaddaccountcreateattestation.md new file mode 100644 index 00000000000..ce23a69f1ad --- /dev/null +++ b/content/@i18n/ja/references/protocol/transactions/types/xchainaddaccountcreateattestation.md @@ -0,0 +1,83 @@ +--- +html: xchainaddaccountcreateattestation.html +parent: transaction-types.html +blurb: XChainAddAccountCreateAttestationトランザクションは他のチェーンでXChainAccountCreateCommitトランザクションが発生した証明をWitnessサーバから提示します。 +labels: + - 相互運用性 +status: not_enabled +--- +# XChainAddAccountCreateAttestation +[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/protocol/impl/TxFormats.cpp#L447-L464 "ソース") + +_([XChainBridge Amendment][] :not_enabled: が必要です)_ + +`XChainAddAccountCreateAttestation`トランザクションは、`XChainAccountCreateCommit`トランザクションがもう一方のチェーンで発生したというWitnessサーバからの証明を提示します。 + +この署名は署名が提供された時点のドアの署名者リストにある鍵の一つでなければなりません。署名が提出されてから定足数に達するまでの間に署名者リストが変更された場合、新しい署名セットが使用され、現在収集されている署名の一部が削除される可能性があります。 + +どのアカウントでも署名を提出することができます。 + +**注記:** 報酬は現在のリストにある鍵を持っているアカウントにのみ送られます。署名者の定足数は`SignatureReward`に一致する必要があります。より大きな報酬を得ようとして、一つのWitnessサーバがこの値に不正な値を指定することはできません。 + + +## XChainAddAccountCreateAttestation JSONの例 + +```json +{ + "Account": "rDr5okqGKmMpn44Bbhe5WAfDQx8e9XquEv", + "TransactionType": "XChainAddAccountCreateAttestation", + "OtherChainSource": "rUzB7yg1LcFa7m3q1hfrjr5w53vcWzNh3U", + "Destination": "rJMfWNVbyjcCtds8kpoEjEbYQ41J5B6MUd", + "Amount": "2000000000", + "PublicKey": "EDF7C3F9C80C102AF6D241752B37356E91ED454F26A35C567CF6F8477960F66614", + "Signature": "F95675BA8FDA21030DE1B687937A79E8491CE51832D6BEEBC071484FA5AF5B8A0E9AFF11A4AA46F09ECFFB04C6A8DAE8284AF3ED8128C7D0046D842448478500", + "WasLockingChainSend": 1, + "AttestationRewardAccount": "rpFp36UHW6FpEcZjZqq5jSJWY6UCj3k4Es", + "AttestationSignerAccount": "rpWLegmW9WrFBzHUj7brhQNZzrxgLj9oxw", + "XChainAccountCreateCount": "2", + "SignatureReward": "204", + "XChainBridge": { + "LockingChainDoor": "r3nCVTbZGGYoWvZ58BcxDmiMUU7ChMa1eC", + "LockingChainIssue": { + "currency": "XRP" + }, + "IssuingChainDoor": "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh", + "IssuingChainIssue": { + "currency": "XRP" + } + }, + "Fee": "20" +} +``` + + +## XChainAddAccountCreateAttestationのフィールド + +| フィールド | JSONの型 | [内部の型][] | 必須? | 説明 | +|:---------------------------|:-------------|:--------------|:------|:----| +| `Amount` | [通貨額][] | Amount | はい | `XChainAccountCreateCommit`トランザクションが送信元チェーンでCommitした金額。 | +| `AttestationRewardAccount` | 文字列 | Account | はい | この署名者の`SignatureReward`を受け取るアカウント。 | +| `AttestationSignerAccount` | 文字列 | Account | はい | ドアアカウントの署名者リストにある、トランザクションに署名したアカウント。 | +| `Destination` | 文字列 | Account | はい | 送信先チェーン上の資金の送金先アカウント。 | +| `OtherChainSource` | 文字列 | Account | はい | 証明に紐づくイベントをトリガーした`XChainAccountCreateCommit`トランザクションを送信した送信元チェーン上のアカウント。 | +| `PublicKey` | 文字列 | Blob | はい | 署名の検証に使用する公開鍵。 | +| `Signature` | 文字列 | Blob | はい | もう一方のチェーン上のイベントを証明する署名。 | +| `SignatureReward` | [通貨額][] | Amount | はい | `XChainAccountCreateCommit`トランザクションで支払われた署名の報酬。 | +| `WasLockingChainSend` | 数値 | UInt8 | はい | イベントが発生したチェーンを表す真偽値。 | +| `XChainAccountCreateCount` | 文字列 | UInt64 | はい | 請求(Claim)が処理される順序を表すカウンタ。 | +| `XChainBridge` | XChainBridge | XChain_Bridge | はい | 証明に紐づくブリッジ。 | + + +### XChainBridgeのフィールド + +| フィールド | JSONの型 | [内部の型][] | 必須? | 説明 | +|:--------------------|:---------|:-----------|:------|:----| +| `IssuingChainDoor` | 文字列 | Account | はい | 発行チェーンのドアアカウント。XRP-XRPブリッジの場合、これはジェネシスアカウント(ネットワークが最初に開始されたときに作成されるアカウントで、すべてのXRPを含む)でなければなりません。 | +| `IssuingChainIssue` | Issue | Issue | はい | 発行チェーン上で作成され、バーンされる資産。IOU-IOUブリッジの場合、供給量の問題を避けるため、資産の発行者は発行チェーンのドアアカウントでなければなりません。 | +| `LockingChainDoor` | 文字列 | Account | はい | ロックチェーンのドアアカウント。 | +| `LockingChainIssue` | Issue | Issue | はい | ロックチェーンでロック、アンロックされる資産。 | + + +{% include '_snippets/rippled-api-links.md' %} +{% include '_snippets/tx-type-links.md' %} +{% include '_snippets/rippled_versions.md' %} diff --git a/content/@i18n/ja/references/protocol/transactions/types/xchainaddclaimattestation.md b/content/@i18n/ja/references/protocol/transactions/types/xchainaddclaimattestation.md new file mode 100644 index 00000000000..9a28333fc32 --- /dev/null +++ b/content/@i18n/ja/references/protocol/transactions/types/xchainaddclaimattestation.md @@ -0,0 +1,103 @@ +--- +html: xchainaddclaimattestation.html +parent: transaction-types.html +blurb: 送信元チェーンで発生したイベントを、送信先チェーンに証明(アテスト)します。 +labels: + - 相互運用性 +status: not_enabled +--- +# XChainAddClaimAttestation +[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/protocol/impl/TxFormats.cpp#L429-L445 "ソース") + +_([XChainBridge Amendment][] :not_enabled: が必要です)_ + +`XChainAddClaimAttestation`トランザクションは`XChainCommit`トランザクションを証明するWitnessサーバの署名を提供します。 + +この署名は、署名が提出された時点のドアの署名者リストにある鍵の一つでなければなりません。ただし、署名が提出されてから定足数に達するまでの間に署名者リストが変更された場合は、新しい署名セットが使用され、現在収集されている署名の一部が削除されることがあります。 + +どのアカウントでも署名を提出できます。 + +**注記:** 報酬は現在のリストにある鍵を持っているアカウントにのみ送られます。署名者の定足数は`SignatureReward`に一致する必要があります。より大きな報酬を得ようとして、一つのWitnessサーバがこの値に不正な値を指定することはできません。 + + +## XChainAddClaimAttestation JSONの例 + +```json +{ + "TransactionType": "XChainAddClaimAttestation", + "Account": "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh", + "XChainAttestationBatch": { + "XChainBridge": { + "IssuingChainDoor": "rKeSSvHvaMZJp9ykaxutVwkhZgWuWMLnQt", + "IssuingChainIssue": { + "currency": "XRP" + }, + "LockingChainDoor": "rJvExveLEL4jNDEeLKCVdxaSCN9cEBnEQC", + "LockingChainIssue": { + "currency": "XRP" + } + }, + "XChainClaimAttestationBatch" : [ + { + "XChainClaimAttestationBatchElement" : { + "Account" : "rnJmYAiqEVngtnb5ckRroXLtCbWC7CRUBx", + "Amount" : "100000000", + "AttestationSignerAccount" : "rnJmYAiqEVngtnb5ckRroXLtCbWC7CRUBx", + "Destination" : "r9A8UyNpW3X46FUc6P7JZqgn6WgAPjBwPg", + "PublicKey" : "03DAB289CA36FF377F3F4304C7A7203FDE5EDCBFC209F430F6A4355361425526D0", + "Signature" : "616263", + "WasLockingChainSend" : 1, + "XChainClaimID" : "0000000000000000" + } + } + ], + "XChainCreateAccountAttestationBatch": [ + { + "XChainCreateAccountAttestationBatchElement": { + "Account": "rnJmYAiqEVngtnb5ckRroXLtCbWC7CRUBx", + "Amount": "1000000000", + "AttestationSignerAccount": "rEziJZmeZzsJvGVUmpUTey7qxQLKYxaK9f", + "Destination": "rKT9gDkaedAosiHyHZTjyZs2HvXpzuiGmC", + "PublicKey": "03ADB44CA8E56F78A0096825E5667C450ABD5C24C34E027BC1AAF7E5BD114CB5B5", + "Signature": "3044022036C8B90F85E8073C465F00625248A72D4714600F98EBBADBAD3B7ED226109A3A02204C5A0AE12D169CF790F66541F3DB59C289E0D9CA7511FDFE352BB601F667A26", + "SignatureReward": "1000000", + "WasLockingChainSend": 1, + "XChainAccountCreateCount": "0000000000000001" + } + } + ] + } +} +``` + + +## XChainAddClaimAttestationのフィールド + +| フィールド | JSONの型 | [内部の型][] | 必須? | 説明 | +|:---------------------------|:-------------|:--------------|:------|-----| +| `Amount` | [通貨額][] | Amount | はい | `XChainCommit`トランザクションが送信元チェーンでCommitした金額。 | +| `AttestationRewardAccount` | 文字列 | Account | はい | この署名者の`SignatureReward`を受け取るアカウント。 | +| `AttestationSignerAccount` | 文字列 | Account | はい | ドアアカウントの署名者リストにある、トランザクションに署名したアカウント。 | +| `Destination` | 文字列 | Account | いいえ | 送信先チェーン上の資金の送金先アカウント。 (`XChainCommit` トランザクションから取得)。 | +| `OtherChainSource` | 文字列 | Account | はい | 証明に紐づくイベントをトリガーした`XChainCommit`トランザクションを送信した送信元チェーン上のアカウント。 | +| `PublicKey` | 文字列 | Blob | はい | 署名の検証に使用する公開鍵。 | +| `Signature` | 文字列 | Blob | はい | もう一方のチェーン上のイベントを証明する署名。 | +| `WasLockingChainSend` | 数値 | UInt8 | はい | イベントが発生したチェーンを表す真偽値。 | +| `XChainBridge` | XChainBridge | XChain_Bridge | はい | 資金の移動に使用するブリッジ。 | +| `XChainClaimID` | 文字列 | UInt64 | はい | `XChainCommit` トランザクションに含まれる、送金に紐づく`XChainClaimID`。 | + + +### XChainBridgeのフィールド + +| フィールド | JSONの型 | [内部の型][] | 必須? | 説明 | +|:--------------------|:---------|:-----------|:------|:----| +| `IssuingChainDoor` | 文字列 | Account | はい | 発行チェーンのドアアカウント。XRP-XRPブリッジの場合、これはジェネシスアカウント(ネットワークが最初に開始されたときに作成されるアカウントで、すべてのXRPを含む)でなければなりません。 | +| `IssuingChainIssue` | Issue | Issue | はい | 発行チェーン上で作成され、バーンされる資産。IOU-IOUブリッジの場合、供給量の問題を避けるため、資産の発行者は発行チェーンのドアアカウントでなければなりません。 | +| `LockingChainDoor` | 文字列 | Account | はい | ロックチェーンのドアアカウント。 | +| `LockingChainIssue` | Issue | Issue | はい | ロックチェーンでロック、アンロックされる資産。 | + + + +{% include '_snippets/rippled-api-links.md' %} +{% include '_snippets/tx-type-links.md' %} +{% include '_snippets/rippled_versions.md' %} diff --git a/content/@i18n/ja/references/protocol/transactions/types/xchainclaim.md b/content/@i18n/ja/references/protocol/transactions/types/xchainclaim.md new file mode 100644 index 00000000000..00db1e1c421 --- /dev/null +++ b/content/@i18n/ja/references/protocol/transactions/types/xchainclaim.md @@ -0,0 +1,65 @@ +--- +html: xchainclaim.html +parent: transaction-types.html +blurb: 送信先チェーンで金額を請求することで、クロスチェーンでの価値移転を完了させます。 +labels: + - 相互運用性 +status: not_enabled +--- +# XChainClaim +[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/protocol/impl/TxFormats.cpp#L418-L427 "ソース") + +_([XChainBridge Amendment][] :not_enabled: が必要です)_ + +`XChainClaim`トランザクションはクロスチェーンでの価値の移転を完了させます。`XChainClaim`トランザクションにより、ユーザは送信元チェーンでロックされた価値と同等の価値を送信先チェーンで請求することができます。ユーザは、送金元チェーンでロックされた価値に関連付けられたクロスチェーン請求ID(`Account`フィールド)を所有している場合にのみ、その価値を請求することができます。ユーザは誰にでも資金を送ることができます(`Destination`フィールド)。このトランザクションが必要になるのは`XChainCommit`トランザクションで`OtherChainDestination`が指定されていない場合、または自動送金で何か問題が発生した場合のみです。 + +トランザクションによって送金に成功すると、対象の`XChainOwnedClaimID`レジャーオブジェクトは削除されます。これはトランザクションのリプレイを防ぎます。トランザクションが失敗した場合、`XChainOwnedClaimID`は削除されず、異なるパラメータでトランザクションを再実行できます。 + + +## XChainClaim JSONの例 + +```json +{ + "Account": "rahDmoXrtPdh7sUdrPjini3gcnTVYjbjjw", + "Amount": "10000", + "TransactionType": "XChainClaim", + "XChainClaimID": "13f", + "Destination": "rahDmoXrtPdh7sUdrPjini3gcnTVYjbjjw", + "XChainBridge": { + "LockingChainDoor": "rMAXACCrp3Y8PpswXcg3bKggHX76V3F8M4", + "LockingChainIssue": { + "currency": "XRP" + }, + "IssuingChainDoor": "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh", + "IssuingChainIssue": { + "currency": "XRP" + } + } +} +``` + + +## XChainClaimのフィールド + +| フィールド | JSONの型 | [内部の型][] | 必須? | 説明 | +|:------------------------|:-------------|:--------------|:------|-----| +| `Amount` | [通貨額][] | Amount | はい | 送信先チェーンで請求する金額。これは、この`XChainClaimID`に関連付けられた証明書で証明された金額と一致しなければなりません。 | +| `Destination` | 文字列 | Account | はい | 送信先チェーンの送信先アカウント。存在しなければトランザクションは失敗します。しかし、この場合トランザクションが失敗しても、シーケンス番号と収集された署名は破棄されないので、別の送信先でトランザクションを再実行することができます。 | +| `DestinationTag` | 数値 | UInt32 | いいえ | 整数値の宛先タグ。 | +| `XChainBridge` | XChainBridge | XChain_Bridge | はい | 送金に使用するブリッジ。 | +| `XChainClaimID` | 文字列 | UInt64 | はい | 対応する`XChainCommit`トランザクションで参照されたクロスチェーン送金の一意な整数ID。 | + + +### XChainBridgeのフィールド + +| フィールド | JSONの型 | [内部の型][] | 必須? | 説明 | +|:--------------------|:---------|:-----------|:------|:----| +| `IssuingChainDoor` | 文字列 | Account | はい | 発行チェーンのドアアカウント。XRP-XRPブリッジの場合、これはジェネシスアカウント(ネットワークが最初に開始されたときに作成されるアカウントで、すべてのXRPを含む)でなければなりません。 | +| `IssuingChainIssue` | Issue | Issue | はい | 発行チェーン上で作成され、バーンされる資産。IOU-IOUブリッジの場合、供給量の問題を避けるため、資産の発行者は発行チェーンのドアアカウントでなければなりません。 | +| `LockingChainDoor` | 文字列 | Account | はい | ロックチェーンのドアアカウント。 | +| `LockingChainIssue` | Issue | Issue | はい | ロックチェーンでロック、アンロックされる資産。 | + + +{% include '_snippets/rippled-api-links.md' %} +{% include '_snippets/tx-type-links.md' %} +{% include '_snippets/rippled_versions.md' %} diff --git a/content/@i18n/ja/references/protocol/transactions/types/xchaincommit.md b/content/@i18n/ja/references/protocol/transactions/types/xchaincommit.md new file mode 100644 index 00000000000..98dd011522b --- /dev/null +++ b/content/@i18n/ja/references/protocol/transactions/types/xchaincommit.md @@ -0,0 +1,62 @@ +--- +html: xchaincommit.html +parent: transaction-types.html +blurb: クロスチェーンでの価値移転を開始します。 +labels: + - 相互運用性 +status: not_enabled +--- +# XChainCommit +[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/protocol/impl/TxFormats.cpp#L408-L416 "ソース") + +_([XChainBridge Amendment][] :not_enabled: が必要です)_ + +`XChainCommit`はクロスチェーン送金の2番目のステップです。`XChainCommit`は発行チェーンでラップできるようにロックチェーンで資産を保管したり、ロックチェーンで返却できるように発行チェーンでラップされた資産をバーンしたりします。 + + +## XChainCommit JSONの例 + +```json +{ + "Account": "rMTi57fNy2UkUb4RcdoUeJm7gjxVQvxzUo", + "TransactionType": "XChainCommit", + "XChainBridge": { + "LockingChainDoor": "rMAXACCrp3Y8PpswXcg3bKggHX76V3F8M4", + "LockingChainIssue": { + "currency": "XRP" + }, + "IssuingChainDoor": "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh", + "IssuingChainIssue": { + "currency": "XRP" + } + }, + "Amount": "10000", + "XChainClaimID": "13f" +} +``` + + +## XChainCommitのフィールド + +| フィールド | JSONの型 | [内部の型][] | 必須? | 説明 | +|:------------------------|:-------------|:--------------|:------|-----| +| `Amount` | [通貨額][] | Amount | はい | コミットする資産と数量。これはドアアカウントの`LockingChainIssue`(ロックチェーン上の場合)または`IssuingChainIssue`(発行チェーン上の場合)と一致しなければなりません。 | +| `OtherChainDestination` | 文字列 | Account | いいえ | 送信先チェーンの送信先アカウント。これが指定されていない場合、`XChainCreateClaimID`トランザクションを送信したアカウントは、資金を請求するために`XChainClaim`トランザクションを送信する必要があります。 | +| `XChainBridge` | XChainBridge | XChain_Bridge | はい | 送金に使用するブリッジ。 | +| `XChainClaimID` | 文字列 | UInt64 | はい | クロスチェーン送金の一意な整数ID。これは送信先のチェーンで(`XChainCreateClaimID`トランザクションによって)取得し、このトランザクションを送信する前に検証済みのレジャーからチェックする必要があります。不正なシーケンス番号が指定された場合、資金は失われます。 | + + +### XChainBridgeのフィールド + +| フィールド | JSONの型 | [内部の型][] | 必須? | 説明 | +|:--------------------|:---------|:-----------|:------|:----| +| `IssuingChainDoor` | 文字列 | Account | はい | 発行チェーンのドアアカウント。XRP-XRPブリッジの場合、これはジェネシスアカウント(ネットワークが最初に開始されたときに作成されるアカウントで、すべてのXRPを含む)でなければなりません。 | +| `IssuingChainIssue` | Issue | Issue | はい | 発行チェーン上で作成され、バーンされる資産。IOU-IOUブリッジの場合、供給量の問題を避けるため、資産の発行者は発行チェーンのドアアカウントでなければなりません。 | +| `LockingChainDoor` | 文字列 | Account | はい | ロックチェーンのドアアカウント。 | +| `LockingChainIssue` | Issue | Issue | はい | ロックチェーンでロック、アンロックされる資産。 | + + + +{% include '_snippets/rippled-api-links.md' %} +{% include '_snippets/tx-type-links.md' %} +{% include '_snippets/rippled_versions.md' %} diff --git a/content/@i18n/ja/references/protocol/transactions/types/xchaincreatebridge.md b/content/@i18n/ja/references/protocol/transactions/types/xchaincreatebridge.md new file mode 100644 index 00000000000..98e5f03233c --- /dev/null +++ b/content/@i18n/ja/references/protocol/transactions/types/xchaincreatebridge.md @@ -0,0 +1,67 @@ +--- +html: xchaincreatebridge.html +parent: transaction-types.html +blurb: 2つのチェーン間にブリッジを作成します。 +labels: + - 相互運用性 +status: not_enabled +--- +# XChainCreateBridge +[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/protocol/impl/TxFormats.cpp#L381-L388 "ソース") + +_([XChainBridge Amendment][] :not_enabled: が必要です)_ + +`XChainCreateBridge`トランザクションは新しい`Bridge`レジャーオブジェクトを作成し、トランザクショ ンが送信されたチェーン上に新しいクロスチェーンブリッジの入り口を定義します。これにはブリッジのドアアカウントと資産に関する情報が含まれます。 + +このトランザクションは、ロックチェーンのドアアカウントが最初に送信する必要があります。有効なブリッジをセットアップするには、Witnessサーバのセットアップに加えて、両チェーンのドアアカウントがこのトランザクションを送信しなければなりません。 + +完全な本番環境のセットアップには、Witnessの署名鍵用に2つのドアアカウントで`SignerListSet`トランザクションを実行することと、ドアアカウントのマスターキーを無効にすることも含まれます。これにより、Witnessサーバが資金を完全に管理できるようになります。 + +**注記:** 各ドアアカウントは1つのブリッジしか持つことができません。これにより、同じ資産に対して複数のブリッジが作成され、いずれかのチェーンで資産が不一致となるのを防ぐことができます。 + + +## XChainCreateBridge JSONの例 + +```json +{ + "TransactionType": "XChainCreateBridge", + "Account": "rhWQzvdmhf5vFS35vtKUSUwNZHGT53qQsg", + "XChainBridge": { + "LockingChainDoor": "rhWQzvdmhf5vFS35vtKUSUwNZHGT53qQsg", + "LockingChainIssue": { + "currency": "XRP" + }, + "IssuingChainDoor": "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh", + "IssuingChainIssue": { + "currency": "XRP" + } + }, + "SignatureReward": 200, + "MinAccountCreateAmount": 1000000 +} +``` + + +## XChainCreateBridgeのフィールド + +| フィールド | JSONの型 | [内部の型][] | 必須? | 説明 | +|:-------------------------|:-------------|:--------------|:----------|:------------| +| `MinAccountCreateAmount` | [通貨額][] | Amount | いいえ | `XChainAccountCreateCommit`トランザクションに必要な最小金額。このフィールドが存在しない場合、`XChainAccountCreateCommit`トランザクションは失敗します。このフィールドはXRP-XRPブリッジにのみ存在できます。 | +| `SignatureReward` | [通貨額][] | Amount | はい | Witnessサーバに支払う署名の報酬の合計額。この金額は署名者の間で分配されます。| +| `XChainBridge` | XChainBridge | XChain_Bridge | はい | 作成するブリッジ(ドアアカウントと資産)。 | + + +### XChainBridgeのフィールド + +| フィールド | JSONの型 | [内部の型][] | 必須? | 説明 | +|:--------------------|:---------|:-----------|:------|:----| +| `IssuingChainDoor` | 文字列 | Account | はい | 発行チェーンのドアアカウント。XRP-XRPブリッジの場合、これはジェネシスアカウント(ネットワークが最初に開始されたときに作成されるアカウントで、すべてのXRPを含む)でなければなりません。 | +| `IssuingChainIssue` | Issue | Issue | はい | 発行チェーン上で作成され、バーンされる資産。IOU-IOUブリッジの場合、供給量の問題を避けるため、資産の発行者は発行チェーンのドアアカウントでなければなりません。 | +| `LockingChainDoor` | 文字列 | Account | はい | ロックチェーンのドアアカウント。 | +| `LockingChainIssue` | Issue | Issue | はい | ロックチェーンでロック、アンロックされる資産。 | + + + +{% include '_snippets/rippled-api-links.md' %} +{% include '_snippets/tx-type-links.md' %} +{% include '_snippets/rippled_versions.md' %} diff --git a/content/@i18n/ja/references/protocol/transactions/types/xchaincreateclaimid.md b/content/@i18n/ja/references/protocol/transactions/types/xchaincreateclaimid.md new file mode 100644 index 00000000000..e19acb3706e --- /dev/null +++ b/content/@i18n/ja/references/protocol/transactions/types/xchaincreateclaimid.md @@ -0,0 +1,65 @@ +--- +html: xchaincreateclaimid.html +parent: transaction-types.html +blurb: クロスチェーン送金に使用するクロスチェーン請求IDを作成します。 +labels: + - 相互運用性 +status: not_enabled +--- +# XChainCreateClaimID +[[ソース]](https://github.com/XRPLF/rippled/blob/master/src/ripple/protocol/impl/TxFormats.cpp#L399-L406 "ソース") + +_([XChainBridge Amendment][] :not_enabled: が必要です)_ + +`XChainCreateClaimID`トランザクションはクロスチェーン送金に使われる新しいクロスチェーン請求IDを作成します。クロスチェーン請求IDは*1つの*クロスチェーン送金を表します。 + +このトランザクションはクロスチェーン送金の最初のステップであり、送金元チェーンではなく、送金先チェーンで送信されます。 + +また、送金元チェーン上の資金をロックまたはバーンする送金元チェーン上のアカウントも含まれます。 + + +## XChainCreateClaimID JSONの例 + +```json +{ + "Account": "rahDmoXrtPdh7sUdrPjini3gcnTVYjbjjw", + "OtherChainSource": "rMTi57fNy2UkUb4RcdoUeJm7gjxVQvxzUo", + "TransactionType": "XChainCreateClaimID", + "SignatureReward": "100", + "XChainBridge": { + "LockingChainDoor": "rMAXACCrp3Y8PpswXcg3bKggHX76V3F8M4", + "LockingChainIssue": { + "currency": "XRP" + }, + "IssuingChainDoor": "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh", + "IssuingChainIssue": { + "currency": "XRP" + } + } +} +``` + + +## XChainCreateClaimIDのフィールド + +| フィールド | JSONの型 | [内部の型][] | 必須? | 説明 | +|:-------------------|:-------------|:--------------|:------|-----| +| `OtherChainSource` | 文字列 | Account | はい | 送信元チェーンで`XChainCommit`トランザクションを送信するアカウント。 | +| `SignatureReward` | 文字列 | Account | はい | 署名を提供したWitnessサーバへの報酬額(XRP)。これは`Bridge`レジャーオブジェクトの金額と一致しなければなりません。 | +| `XChainBridge` | XChainBridge | XChain_Bridge | はい | 請求IDを作成するブリッジ。 | + + +### XChainBridgeのフィールド + +| フィールド | JSONの型 | [内部の型][] | 必須? | 説明 | +|:--------------------|:---------|:-----------|:------|:----| +| `IssuingChainDoor` | 文字列 | Account | はい | 発行チェーンのドアアカウント。XRP-XRPブリッジの場合、これはジェネシスアカウント(ネットワークが最初に開始されたときに作成されるアカウントで、すべてのXRPを含む)でなければなりません。 | +| `IssuingChainIssue` | Issue | Issue | はい | 発行チェーン上で作成され、バーンされる資産。IOU-IOUブリッジの場合、供給量の問題を避けるため、資産の発行者は発行チェーンのドアアカウントでなければなりません。 | +| `LockingChainDoor` | 文字列 | Account | はい | ロックチェーンのドアアカウント。 | +| `LockingChainIssue` | Issue | Issue | はい | ロックチェーンでロック、アンロックされる資産。 | + + + +{% include '_snippets/rippled-api-links.md' %} +{% include '_snippets/tx-type-links.md' %} +{% include '_snippets/rippled_versions.md' %} diff --git a/content/@i18n/ja/references/protocol/transactions/types/xchainmodifybridge.md b/content/@i18n/ja/references/protocol/transactions/types/xchainmodifybridge.md new file mode 100644 index 00000000000..0ffb4af70f6 --- /dev/null +++ b/content/@i18n/ja/references/protocol/transactions/types/xchainmodifybridge.md @@ -0,0 +1,75 @@ +--- +html: xchainmodifybridge.html +parent: transaction-types.html +blurb: ブリッジの設定を変更します。 +labels: + - 相互運用性 +status: not_enabled +--- +# XChainModifyBridge +[[ソース]](https://github.com/XRPLF/rippled/blob/develop/src/ripple/protocol/impl/TxFormats.cpp#L390-L397 "ソース") + +_([XChainBridge Amendment][] :not_enabled: が必要です)_ + +`XChainModifyBridge`トランザクションでは、ブリッジ管理者がブリッジの設定を変更することができます。変更できるのは`SignatureReward`と`MinAccountCreateAmount`だけです。 + +このトランザクションはドアアカウントから送信される必要があり、Witnessサーバを管理するエンティティがこのトランザクションのために協調し、署名を提供する必要があります。この調整はレジャーの外部で行われます。 + +**注記:** このトランザクションでブリッジの署名者リストを変更することはできません。署名者リストはドアアカウント自体にあり、署名者リストがアカウント上で変更されるのと同じ方法で変更されます(`SignerListSet`トランザクションを利用)。 + + +## XChainModifyBridge JSONの例 + +```json +{ + "TransactionType": "XChainModifyBridge", + "Account": "rhWQzvdmhf5vFS35vtKUSUwNZHGT53qQsg", + "XChainBridge": { + "LockingChainDoor": "rhWQzvdmhf5vFS35vtKUSUwNZHGT53qQsg", + "LockingChainIssue": { + "currency": "XRP" + }, + "IssuingChainDoor": "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh", + "IssuingChainIssue": { + "currency": "XRP" + } + }, + "SignatureReward": 200, + "MinAccountCreateAmount": 1000000 +} +``` + + +## XChainModifyBridgeのフィールド + +| フィールド | JSONの型 | [内部の型][] | 必須? | 説明 | +|:-------------------------|:-------------|:-------- -----|:------|-----| +| `Flags` | 数値 | UInt32 | はい | このトランザクションのフラグを指定します。 | +| `MinAccountCreateAmount` | [通貨額][] | Amount | いいえ | `XChainAccountCreateCommit`トランザクションに必要な最小金額。このフィールドが存在しない場合、`XChainAccountCreateCommit`トランザクションは失敗します。このフィールドはXRP-XRPブリッジにのみ存在できます。 | +| `SignatureReward` | [通貨額][] | Amount | いいえ | Witnessサーバに支払う署名の報酬の合計額。この金額は署名者の間で分配されます。 | +| `XChainBridge` | XChainBridge | XChain_Bridge | はい | 変更するブリッジ。 | + + +### XChainBridgeのフィールド + +| フィールド | JSONの型 | [内部の型][] | 必須? | 説明 | +|:--------------------|:---------|:-----------|:------|:----| +| `IssuingChainDoor` | 文字列 | Account | はい | 発行チェーンのドアアカウント。XRP-XRPブリッジの場合、これはジェネシスアカウント(ネットワークが最初に開始されたときに作成されるアカウントで、すべてのXRPを含む)でなければなりません。 | +| `IssuingChainIssue` | Issue | Issue | はい | 発行チェーン上で作成され、バーンされる資産。IOU-IOUブリッジの場合、供給量の問題を避けるため、資産の発行者は発行チェーンのドアアカウントでなければなりません。 | +| `LockingChainDoor` | 文字列 | Account | はい | ロックチェーンのドアアカウント。 | +| `LockingChainIssue` | Issue | Issue | はい | ロックチェーンでロック、アンロックされる資産。 | + + +## トランザクションのフラグ + +すべてのトランザクションで利用可能なグローバルフラグに加えて、このフラグを指定することができます。 + +| フラグ名 | フラグ値 | 説明 | +|------------------------------|--------------|------| +| `tfClearAccountCreateAmount` | `0x00010000` | ブリッジの`MinAccountCreateAmount` 削除します。 | + + + +{% include '_snippets/rippled-api-links.md' %} +{% include '_snippets/tx-type-links.md' %} +{% include '_snippets/rippled_versions.md' %} diff --git a/content/references/protocol/transactions/types/xchainaccountcreatecommit.md b/content/references/protocol/transactions/types/xchainaccountcreatecommit.md index 2f12e36c09e..c63ad61b3b2 100644 --- a/content/references/protocol/transactions/types/xchainaccountcreatecommit.md +++ b/content/references/protocol/transactions/types/xchainaccountcreatecommit.md @@ -43,24 +43,24 @@ The `XChainAccountCreateCommit` transaction creates a new account for a witness ## XChainAccountCreateCommit Fields -| Field | JSON Type | Internal Type | Required? | Description | -|:------------------|:------------------|:------------------|:----------| :-----------| -| `Amount` | `Currency Amount` | `AMOUNT` | Yes | The amount, in XRP, to use for account creation. This must be greater than or equal to the `MinAccountCreateAmount` specified in the `Bridge` ledger object. | -| `Destination` | `string` | `ACCOUNT` | Yes | The destination account on the destination chain. | -| `SignatureReward` | `Currency Amount` | `AMOUNT` | No | The amount, in XRP, to be used to reward the witness servers for providing signatures. This must match the amount on the `Bridge` ledger object. | -| `XChainBridge` | `XChainBridge` | `XCHAIN_BRIDGE` | Yes | The bridge to create accounts for. | +| Field | JSON Type | [Internal Type][] | Required? | Description | +|:------------------|:--------------------|:------------------|:----------| :-----------| +| `Amount` | [Currency Amount][] | Amount | Yes | The amount, in XRP, to use for account creation. This must be greater than or equal to the `MinAccountCreateAmount` specified in the `Bridge` ledger object. | +| `Destination` | String | Account | Yes | The destination account on the destination chain. | +| `SignatureReward` | [Currency Amount][] | Amount | No | The amount, in XRP, to be used to reward the witness servers for providing signatures. This must match the amount on the `Bridge` ledger object. | +| `XChainBridge` | XChainBridge | XChain_Bridge | Yes | The bridge to create accounts for. | ### XChainBridge Fields -| Field | JSON Type | Internal Type | Required? | Description | +| Field | JSON Type | [Internal Type][] | Required? | Description | |:--------------------|:----------|:------------------|:----------|:----------------| -| `IssuingChainDoor` | `string` | `ACCOUNT` | Yes | The door account on the issuing chain. For an XRP-XRP bridge, this must be the genesis account (the account that is created when the network is first started, which contains all of the XRP). | -| `IssuingChainIssue` | `Issue` | `ISSUE` | Yes | The asset that is minted and burned on the issuing chain. For an IOU-IOU bridge, the issuer of the asset must be the door account on the issuing chain, to avoid supply issues. | -| `LockingChainDoor` | `string` | `ACCOUNT` | Yes | The door account on the locking chain. | -| `LockingChainIssue` | `Issue` | `ISSUE` | Yes | The asset that is locked and unlocked on the locking chain. | +| `IssuingChainDoor` | String | Account | Yes | The door account on the issuing chain. For an XRP-XRP bridge, this must be the genesis account (the account that is created when the network is first started, which contains all of the XRP). | +| `IssuingChainIssue` | Issue | Issue | Yes | The asset that is minted and burned on the issuing chain. For an IOU-IOU bridge, the issuer of the asset must be the door account on the issuing chain, to avoid supply issues. | +| `LockingChainDoor` | String | Account | Yes | The door account on the locking chain. | +| `LockingChainIssue` | Issue | Issue | Yes | The asset that is locked and unlocked on the locking chain. | {% include '_snippets/rippled-api-links.md' %} {% include '_snippets/tx-type-links.md' %} -{% include '_snippets/rippled_versions.md' %} \ No newline at end of file +{% include '_snippets/rippled_versions.md' %} diff --git a/content/references/protocol/transactions/types/xchainaddaccountcreateattestation.md b/content/references/protocol/transactions/types/xchainaddaccountcreateattestation.md index b3a534849ae..754ab196db8 100644 --- a/content/references/protocol/transactions/types/xchainaddaccountcreateattestation.md +++ b/content/references/protocol/transactions/types/xchainaddaccountcreateattestation.md @@ -53,31 +53,31 @@ Any account can submit signatures. ## XChainAddAccountCreateAttestation Fields -| Field | JSON Type | Internal Type | Required? | Description | -|:---------------------------|:------------------|:------------------|:----------|:------------| -| `Amount` | `Currency Amount` | `AMOUNT` | Yes | The amount committed by the `XChainAccountCreateCommit` transaction on the source chain. | -| `AttestationRewardAccount` | `string` | `ACCOUNT` | Yes | The account that should receive this signer's share of the `SignatureReward`. | -| `AttestationSignerAccount` | `string` | `ACCOUNT` | Yes | The account on the door account's signer list that is signing the transaction. | -| `Destination` | `string` | `ACCOUNT` | Yes | The destination account for the funds on the destination chain. | -| `OtherChainSource` | `string` | `ACCOUNT` | Yes | The account on the source chain that submitted the `XChainAccountCreateCommit` transaction that triggered the event associated with the attestation. | -| `PublicKey` | `string` | `BLOB` | Yes | The public key used to verify the signature. | -| `Signature` | `string` | `BLOB` | Yes | The signature attesting to the event on the other chain. | -| `SignatureReward` | `Currency Amount` | `AMOUNT` | Yes | The signature reward paid in the `XChainAccountCreateCommit` transaction. | -| `WasLockingChainSend` | `number` | `UINT8` | Yes | A boolean representing the chain where the event occurred. | -| `XChainAccountCreateCount` | `string` | `UINT64` | Yes | The counter that represents the order that the claims must be processed in. | -| `XChainBridge` | `XChainBridge` | `XCHAIN_BRIDGE` | Yes | The bridge associated with the attestation. | +| Field | JSON Type | [Internal Type][] | Required? | Description | +|:---------------------------|:--------------------|:------------------|:----------|:------------| +| `Amount` | [Currency Amount][] | Amount | Yes | The amount committed by the `XChainAccountCreateCommit` transaction on the source chain. | +| `AttestationRewardAccount` | String | Account | Yes | The account that should receive this signer's share of the `SignatureReward`. | +| `AttestationSignerAccount` | String | Account | Yes | The account on the door account's signer list that is signing the transaction. | +| `Destination` | String | Account | Yes | The destination account for the funds on the destination chain. | +| `OtherChainSource` | String | Account | Yes | The account on the source chain that submitted the `XChainAccountCreateCommit` transaction that triggered the event associated with the attestation. | +| `PublicKey` | String | Blob | Yes | The public key used to verify the signature. | +| `Signature` | String | Blob | Yes | The signature attesting to the event on the other chain. | +| `SignatureReward` | [Currency Amount][] | Amount | Yes | The signature reward paid in the `XChainAccountCreateCommit` transaction. | +| `WasLockingChainSend` | Number | UInt8 | Yes | A boolean representing the chain where the event occurred. | +| `XChainAccountCreateCount` | String | UInt64 | Yes | The counter that represents the order that the claims must be processed in. | +| `XChainBridge` | XChainBridge | XChain_Bridge | Yes | The bridge associated with the attestation. | ### XChainBridge Fields -| Field | JSON Type | Internal Type | Required? | Description | +| Field | JSON Type | [Internal Type][] | Required? | Description | |:--------------------|:----------|:------------------|:----------|:----------------| -| `IssuingChainDoor` | `string` | `ACCOUNT` | Yes | The door account on the issuing chain. For an XRP-XRP bridge, this must be the genesis account (the account that is created when the network is first started, which contains all of the XRP). | -| `IssuingChainIssue` | `Issue` | `ISSUE` | Yes | The asset that is minted and burned on the issuing chain. For an IOU-IOU bridge, the issuer of the asset must be the door account on the issuing chain, to avoid supply issues. | -| `LockingChainDoor` | `string` | `ACCOUNT` | Yes | The door account on the locking chain. | -| `LockingChainIssue` | `Issue` | `ISSUE` | Yes | The asset that is locked and unlocked on the locking chain. | +| `IssuingChainDoor` | String | Account | Yes | The door account on the issuing chain. For an XRP-XRP bridge, this must be the genesis account (the account that is created when the network is first started, which contains all of the XRP). | +| `IssuingChainIssue` | Issue | Issue | Yes | The asset that is minted and burned on the issuing chain. For an IOU-IOU bridge, the issuer of the asset must be the door account on the issuing chain, to avoid supply issues. | +| `LockingChainDoor` | String | Account | Yes | The door account on the locking chain. | +| `LockingChainIssue` | Issue | Issue | Yes | The asset that is locked and unlocked on the locking chain. | {% include '_snippets/rippled-api-links.md' %} {% include '_snippets/tx-type-links.md' %} -{% include '_snippets/rippled_versions.md' %} \ No newline at end of file +{% include '_snippets/rippled_versions.md' %} diff --git a/content/references/protocol/transactions/types/xchainaddclaimattestation.md b/content/references/protocol/transactions/types/xchainaddclaimattestation.md index e6e65fa77e3..99195b3fe90 100644 --- a/content/references/protocol/transactions/types/xchainaddclaimattestation.md +++ b/content/references/protocol/transactions/types/xchainaddclaimattestation.md @@ -73,31 +73,31 @@ Any account can submit signatures. ## XChainAddClaimAttestation Fields -| Field | JSON Type | Internal Type | Required? | Description | -|:---------------------------|:------------------|:------------------|:----------|-------------| -| `Amount` | `Currency Amount` | `AMOUNT` | Yes | The amount committed by the `XChainCommit` transaction on the source chain. | -| `AttestationRewardAccount` | `string` | `ACCOUNT` | Yes | The account that should receive this signer's share of the `SignatureReward`. | -| `AttestationSignerAccount` | `string` | `ACCOUNT` | Yes | The account on the door account's signer list that is signing the transaction. | -| `Destination` | `string` | `ACCOUNT` | No | The destination account for the funds on the destination chain (taken from the `XChainCommit` transaction). -| `OtherChainSource` | `string` | `ACCOUNT` | Yes | The account on the source chain that submitted the `XChainCommit` transaction that triggered the event associated with the attestation. -| `PublicKey` | `string` | `BLOB` | Yes | The public key used to verify the attestation signature. | -| `Signature` | `string` | `BLOB` | Yes | The signature attesting to the event on the other chain. | -| `WasLockingChainSend` | `number` | `UINT8` | Yes | A boolean representing the chain where the event occurred. | -| `XChainBridge` | `XChainBridge` | `XCHAIN_BRIDGE` | Yes | The bridge to use to transfer funds. | -| `XChainClaimID` | `string` | `UINT64` | Yes | The `XChainClaimID` associated with the transfer, which was included in the `XChainCommit` transaction. | +| Field | JSON Type | [Internal Type][] | Required? | Description | +|:---------------------------|:--------------------|:------------------|:----------|-------------| +| `Amount` | [Currency Amount][] | Amount | Yes | The amount committed by the `XChainCommit` transaction on the source chain. | +| `AttestationRewardAccount` | String | Account | Yes | The account that should receive this signer's share of the `SignatureReward`. | +| `AttestationSignerAccount` | String | Account | Yes | The account on the door account's signer list that is signing the transaction. | +| `Destination` | String | Account | No | The destination account for the funds on the destination chain (taken from the `XChainCommit` transaction). | +| `OtherChainSource` | String | Account | Yes | The account on the source chain that submitted the `XChainCommit` transaction that triggered the event associated with the attestation. | +| `PublicKey` | String | Blob | Yes | The public key used to verify the attestation signature. | +| `Signature` | String | Blob | Yes | The signature attesting to the event on the other chain. | +| `WasLockingChainSend` | Number | UInt8 | Yes | A boolean representing the chain where the event occurred. | +| `XChainBridge` | XChainBridge | XChain_Bridge | Yes | The bridge to use to transfer funds. | +| `XChainClaimID` | String | UInt64 | Yes | The `XChainClaimID` associated with the transfer, which was included in the `XChainCommit` transaction. | ### XChainBridge Fields -| Field | JSON Type | Internal Type | Required? | Description | +| Field | JSON Type | [Internal Type][] | Required? | Description | |:--------------------|:----------|:------------------|:----------|:----------------| -| `IssuingChainDoor` | `string` | `ACCOUNT` | Yes | The door account on the issuing chain. For an XRP-XRP bridge, this must be the genesis account (the account that is created when the network is first started, which contains all of the XRP). | -| `IssuingChainIssue` | `Issue` | `ISSUE` | Yes | The asset that is minted and burned on the issuing chain. For an IOU-IOU bridge, the issuer of the asset must be the door account on the issuing chain, to avoid supply issues. | -| `LockingChainDoor` | `string` | `ACCOUNT` | Yes | The door account on the locking chain. | -| `LockingChainIssue` | `Issue` | `ISSUE` | Yes | The asset that is locked and unlocked on the locking chain. | +| `IssuingChainDoor` | String | Account | Yes | The door account on the issuing chain. For an XRP-XRP bridge, this must be the genesis account (the account that is created when the network is first started, which contains all of the XRP). | +| `IssuingChainIssue` | Issue | Issue | Yes | The asset that is minted and burned on the issuing chain. For an IOU-IOU bridge, the issuer of the asset must be the door account on the issuing chain, to avoid supply issues. | +| `LockingChainDoor` | String | Account | Yes | The door account on the locking chain. | +| `LockingChainIssue` | Issue | Issue | Yes | The asset that is locked and unlocked on the locking chain. | {% include '_snippets/rippled-api-links.md' %} {% include '_snippets/tx-type-links.md' %} -{% include '_snippets/rippled_versions.md' %} \ No newline at end of file +{% include '_snippets/rippled_versions.md' %} diff --git a/content/references/protocol/transactions/types/xchainclaim.md b/content/references/protocol/transactions/types/xchainclaim.md index 28b0e0e2693..d77a6738965 100644 --- a/content/references/protocol/transactions/types/xchainclaim.md +++ b/content/references/protocol/transactions/types/xchainclaim.md @@ -41,26 +41,26 @@ If the transaction succeeds in moving funds, the referenced `XChainOwnedClaimID` ## XChainClaim Fields -| Field | JSON Type | Internal Type | Required? | Description | -|:------------------------|:------------------|:------------------|:----------|-------------| -| `Amount` | `Currency Amount` | `AMOUNT` | Yes | The amount to claim on the destination chain. This must match the amount attested to on the attestations associated with this `XChainClaimID`. | -| `Destination` | `string` | `ACCOUNT` | Yes | The destination account on the destination chain. It must exist or the transaction will fail. However, if the transaction fails in this case, the sequence number and collected signatures won't be destroyed, and the transaction can be rerun with a different destination. | -| `DestinationTag` | `int` | `UINT32` | No | An integer destination tag. | -| `XChainBridge` | `XChainBridge` | `XCHAIN_BRIDGE` | Yes | The bridge to use for the transfer. | -| `XChainClaimID` | `string` | `UINT64` | Yes | The unique integer ID for the cross-chain transfer that was referenced in the corresponding `XChainCommit` transaction. | +| Field | JSON Type | [Internal Type][] | Required? | Description | +|:------------------------|:--------------------|:------------------|:----------|-------------| +| `Amount` | [Currency Amount][] | Amount | Yes | The amount to claim on the destination chain. This must match the amount attested to on the attestations associated with this `XChainClaimID`. | +| `Destination` | String | Account | Yes | The destination account on the destination chain. It must exist or the transaction will fail. However, if the transaction fails in this case, the sequence number and collected signatures won't be destroyed, and the transaction can be rerun with a different destination. | +| `DestinationTag` | Number | UInt32 | No | An integer destination tag. | +| `XChainBridge` | XChainBridge | XChain_Bridge | Yes | The bridge to use for the transfer. | +| `XChainClaimID` | String | UInt64 | Yes | The unique integer ID for the cross-chain transfer that was referenced in the corresponding `XChainCommit` transaction. | ### XChainBridge Fields -| Field | JSON Type | Internal Type | Required? | Description | +| Field | JSON Type | [Internal Type][] | Required? | Description | |:--------------------|:----------|:------------------|:----------|:----------------| -| `IssuingChainDoor` | `string` | `ACCOUNT` | Yes | The door account on the issuing chain. For an XRP-XRP bridge, this must be the genesis account (the account that is created when the network is first started, which contains all of the XRP). | -| `IssuingChainIssue` | `Issue` | `ISSUE` | Yes | The asset that is minted and burned on the issuing chain. For an IOU-IOU bridge, the issuer of the asset must be the door account on the issuing chain, to avoid supply issues. | -| `LockingChainDoor` | `string` | `ACCOUNT` | Yes | The door account on the locking chain. | -| `LockingChainIssue` | `Issue` | `ISSUE` | Yes | The asset that is locked and unlocked on the locking chain. | +| `IssuingChainDoor` | String | Account | Yes | The door account on the issuing chain. For an XRP-XRP bridge, this must be the genesis account (the account that is created when the network is first started, which contains all of the XRP). | +| `IssuingChainIssue` | Issue | Issue | Yes | The asset that is minted and burned on the issuing chain. For an IOU-IOU bridge, the issuer of the asset must be the door account on the issuing chain, to avoid supply issues. | +| `LockingChainDoor` | String | Account | Yes | The door account on the locking chain. | +| `LockingChainIssue` | Issue | Issue | Yes | The asset that is locked and unlocked on the locking chain. | {% include '_snippets/rippled-api-links.md' %} {% include '_snippets/tx-type-links.md' %} -{% include '_snippets/rippled_versions.md' %} \ No newline at end of file +{% include '_snippets/rippled_versions.md' %} diff --git a/content/references/protocol/transactions/types/xchaincommit.md b/content/references/protocol/transactions/types/xchaincommit.md index cfd47c9f1cd..a04c6709088 100644 --- a/content/references/protocol/transactions/types/xchaincommit.md +++ b/content/references/protocol/transactions/types/xchaincommit.md @@ -38,25 +38,25 @@ The `XChainCommit` is the second step in a cross-chain transfer. It puts assets ## XChainCommit Fields -| Field | JSON Type | Internal Type | Required? | Description | -|:------------------------|:------------------|:------------------|:----------|-------------| -| `Amount` | `Currency Amount` | `AMOUNT` | Yes | The asset to commit, and the quantity. This must match the door account's `LockingChainIssue` (if on the locking chain) or the door account's `IssuingChainIssue` (if on the issuing chain). | -| `OtherChainDestination` | `string` | `ACCOUNT` | No | The destination account on the destination chain. If this is not specified, the account that submitted the `XChainCreateClaimID` transaction on the destination chain will need to submit a `XChainClaim` transaction to claim the funds. | -| `XChainBridge` | `XChainBridge` | `XCHAIN_BRIDGE` | Yes | The bridge to use to transfer funds. | -| `XChainClaimID` | `string` | `UINT64` | Yes | The unique integer ID for a cross-chain transfer. This must be acquired on the destination chain (via a `XChainCreateClaimID` transaction) and checked from a validated ledger before submitting this transaction. If an incorrect sequence number is specified, the funds will be lost. | +| Field | JSON Type | [Internal Type][] | Required? | Description | +|:------------------------|:--------------------|:------------------|:----------|-------------| +| `Amount` | [Currency Amount][] | Amount | Yes | The asset to commit, and the quantity. This must match the door account's `LockingChainIssue` (if on the locking chain) or the door account's `IssuingChainIssue` (if on the issuing chain). | +| `OtherChainDestination` | String | Account | No | The destination account on the destination chain. If this is not specified, the account that submitted the `XChainCreateClaimID` transaction on the destination chain will need to submit a `XChainClaim` transaction to claim the funds. | +| `XChainBridge` | XChainBridge | XChain_Bridge | Yes | The bridge to use to transfer funds. | +| `XChainClaimID` | String | UInt64 | Yes | The unique integer ID for a cross-chain transfer. This must be acquired on the destination chain (via a `XChainCreateClaimID` transaction) and checked from a validated ledger before submitting this transaction. If an incorrect sequence number is specified, the funds will be lost. | ### XChainBridge Fields -| Field | JSON Type | Internal Type | Required? | Description | +| Field | JSON Type | [Internal Type][] | Required? | Description | |:--------------------|:----------|:------------------|:----------|:----------------| -| `IssuingChainDoor` | `string` | `ACCOUNT` | Yes | The door account on the issuing chain. For an XRP-XRP bridge, this must be the genesis account (the account that is created when the network is first started, which contains all of the XRP). | -| `IssuingChainIssue` | `Issue` | `ISSUE` | Yes | The asset that is minted and burned on the issuing chain. For an IOU-IOU bridge, the issuer of the asset must be the door account on the issuing chain, to avoid supply issues. | -| `LockingChainDoor` | `string` | `ACCOUNT` | Yes | The door account on the locking chain. | -| `LockingChainIssue` | `Issue` | `ISSUE` | Yes | The asset that is locked and unlocked on the locking chain. | +| `IssuingChainDoor` | String | Account | Yes | The door account on the issuing chain. For an XRP-XRP bridge, this must be the genesis account (the account that is created when the network is first started, which contains all of the XRP). | +| `IssuingChainIssue` | Issue | Issue | Yes | The asset that is minted and burned on the issuing chain. For an IOU-IOU bridge, the issuer of the asset must be the door account on the issuing chain, to avoid supply issues. | +| `LockingChainDoor` | String | Account | Yes | The door account on the locking chain. | +| `LockingChainIssue` | Issue | Issue | Yes | The asset that is locked and unlocked on the locking chain. | {% include '_snippets/rippled-api-links.md' %} {% include '_snippets/tx-type-links.md' %} -{% include '_snippets/rippled_versions.md' %} \ No newline at end of file +{% include '_snippets/rippled_versions.md' %} diff --git a/content/references/protocol/transactions/types/xchaincreatebridge.md b/content/references/protocol/transactions/types/xchaincreatebridge.md index f59f17dd947..ec9a47045f5 100644 --- a/content/references/protocol/transactions/types/xchaincreatebridge.md +++ b/content/references/protocol/transactions/types/xchaincreatebridge.md @@ -44,24 +44,24 @@ The complete production-grade setup would also include a `SignerListSet` transac ## XChainCreateBridge Fields -| Field | JSON Type | Internal Type | Required? | Description | -|:-------------------------|:------------------|:------------------|:----------------|:------| -| `MinAccountCreateAmount` | `Currency Amount` | `AMOUNT` | No | The minimum amount, in XRP, required for a `XChainAccountCreateCommit` transaction. If this isn't present, the `XChainAccountCreateCommit` transaction will fail. This field can only be present on XRP-XRP bridges. | -| `SignatureReward` | `Currency Amount` | `AMOUNT` | Yes | The total amount to pay the witness servers for their signatures. This amount will be split among the signers. | -| `XChainBridge` | `XChainBridge` | `XCHAIN_BRIDGE` | Yes | The bridge (door accounts and assets) to create. | +| Field | JSON Type | [Internal Type][] | Required? | Description | +|:-------------------------|:--------------------|:------------------|:----------|:------------| +| `MinAccountCreateAmount` | [Currency Amount][] | Amount | No | The minimum amount, in XRP, required for a `XChainAccountCreateCommit` transaction. If this isn't present, the `XChainAccountCreateCommit` transaction will fail. This field can only be present on XRP-XRP bridges. | +| `SignatureReward` | [Currency Amount][] | Amount | Yes | The total amount to pay the witness servers for their signatures. This amount will be split among the signers. | +| `XChainBridge` | XChainBridge | XChain_Bridge | Yes | The bridge (door accounts and assets) to create. | ### XChainBridge Fields -| Field | JSON Type | Internal Type | Required? | Description | +| Field | JSON Type | [Internal Type][] | Required? | Description | |:--------------------|:----------|:------------------|:----------|:----------------| -| `IssuingChainDoor` | `string` | `ACCOUNT` | Yes | The door account on the issuing chain. For an XRP-XRP bridge, this must be the genesis account (the account that is created when the network is first started, which contains all of the XRP). | -| `IssuingChainIssue` | `Issue` | `ISSUE` | Yes | The asset that is minted and burned on the issuing chain. For an IOU-IOU bridge, the issuer of the asset must be the door account on the issuing chain, to avoid supply issues. | -| `LockingChainDoor` | `string` | `ACCOUNT` | Yes | The door account on the locking chain. | -| `LockingChainIssue` | `Issue` | `ISSUE` | Yes | The asset that is locked and unlocked on the locking chain. | +| `IssuingChainDoor` | String | Account | Yes | The door account on the issuing chain. For an XRP-XRP bridge, this must be the genesis account (the account that is created when the network is first started, which contains all of the XRP). | +| `IssuingChainIssue` | Issue | Issue | Yes | The asset that is minted and burned on the issuing chain. For an IOU-IOU bridge, the issuer of the asset must be the door account on the issuing chain, to avoid supply issues. | +| `LockingChainDoor` | String | Account | Yes | The door account on the locking chain. | +| `LockingChainIssue` | Issue | Issue | Yes | The asset that is locked and unlocked on the locking chain. | {% include '_snippets/rippled-api-links.md' %} {% include '_snippets/tx-type-links.md' %} -{% include '_snippets/rippled_versions.md' %} \ No newline at end of file +{% include '_snippets/rippled_versions.md' %} diff --git a/content/references/protocol/transactions/types/xchaincreateclaimid.md b/content/references/protocol/transactions/types/xchaincreateclaimid.md index b68d574a256..24b0bffd786 100644 --- a/content/references/protocol/transactions/types/xchaincreateclaimid.md +++ b/content/references/protocol/transactions/types/xchaincreateclaimid.md @@ -42,24 +42,24 @@ It also includes the account on the source chain that locks or burns the funds o ## XChainCreateClaimID Fields -| Field | JSON Type | Internal Type | Required? | Description | +| Field | JSON Type | [Internal Type][] | Required? | Description | |:-------------------|:------------------|:------------------|:----------|-------------| -| `OtherChainSource` | `string` | `ACCOUNT` | Yes | The account that must send the `XChainCommit` transaction on the source chain. | -| `SignatureReward` | `string` | `ACCOUNT` | Yes | The amount, in XRP, to reward the witness servers for providing signatures. This must match the amount on the `Bridge` ledger object. | -| `XChainBridge` | `XChainBridge` | `XCHAIN_BRIDGE` | Yes | The bridge to create the claim ID for. | +| `OtherChainSource` | String | Account | Yes | The account that must send the `XChainCommit` transaction on the source chain. | +| `SignatureReward` | String | Account | Yes | The amount, in XRP, to reward the witness servers for providing signatures. This must match the amount on the `Bridge` ledger object. | +| `XChainBridge` | XChainBridge | XChain_Bridge | Yes | The bridge to create the claim ID for. | ### XChainBridge Fields -| Field | JSON Type | Internal Type | Required? | Description | +| Field | JSON Type | [Internal Type][] | Required? | Description | |:--------------------|:----------|:------------------|:----------|:----------------| -| `IssuingChainDoor` | `string` | `ACCOUNT` | Yes | The door account on the issuing chain. For an XRP-XRP bridge, this must be the genesis account (the account that is created when the network is first started, which contains all of the XRP). | -| `IssuingChainIssue` | `Issue` | `ISSUE` | Yes | The asset that is minted and burned on the issuing chain. For an IOU-IOU bridge, the issuer of the asset must be the door account on the issuing chain, to avoid supply issues. | -| `LockingChainDoor` | `string` | `ACCOUNT` | Yes | The door account on the locking chain. | -| `LockingChainIssue` | `Issue` | `ISSUE` | Yes | The asset that is locked and unlocked on the locking chain. | +| `IssuingChainDoor` | String | Account | Yes | The door account on the issuing chain. For an XRP-XRP bridge, this must be the genesis account (the account that is created when the network is first started, which contains all of the XRP). | +| `IssuingChainIssue` | Issue | Issue | Yes | The asset that is minted and burned on the issuing chain. For an IOU-IOU bridge, the issuer of the asset must be the door account on the issuing chain, to avoid supply issues. | +| `LockingChainDoor` | String | Account | Yes | The door account on the locking chain. | +| `LockingChainIssue` | Issue | Issue | Yes | The asset that is locked and unlocked on the locking chain. | {% include '_snippets/rippled-api-links.md' %} {% include '_snippets/tx-type-links.md' %} -{% include '_snippets/rippled_versions.md' %} \ No newline at end of file +{% include '_snippets/rippled_versions.md' %} diff --git a/content/references/protocol/transactions/types/xchainmodifybridge.md b/content/references/protocol/transactions/types/xchainmodifybridge.md index e09a4772041..f8889ffa77a 100644 --- a/content/references/protocol/transactions/types/xchainmodifybridge.md +++ b/content/references/protocol/transactions/types/xchainmodifybridge.md @@ -42,22 +42,22 @@ This transaction must be sent by the door account and requires the entities that ## XChainModifyBridge Fields -| Field | JSON Type | Internal Type | Required? | Description | -|:-------------------------|:------------------|:------------------|:----------|-------------| -| `Flags` | `number` | `UINT32` | Yes | Specifies the flags for this transaction. | -| `MinAccountCreateAmount` | `Currency Amount` | `AMOUNT` | No | The minimum amount, in XRP, required for a `XChainAccountCreateCommit` transaction. If this is not present, the `XChainAccountCreateCommit` transaction will fail. This field can only be present on XRP-XRP bridges. | -| `SignatureReward` | `Currency Amount` | `AMOUNT` | No | The signature reward split between the witnesses for submitting attestations. | -| `XChainBridge` | `XChainBridge` | `XCHAIN_BRIDGE` | Yes | The bridge to modify. | +| Field | JSON Type | [Internal Type][] | Required? | Description | +|:-------------------------|:--------------------|:------------------|:----------|-------------| +| `Flags` | Number | UInt32 | Yes | Specifies the flags for this transaction. | +| `MinAccountCreateAmount` | [Currency Amount][] | Amount | No | The minimum amount, in XRP, required for a `XChainAccountCreateCommit` transaction. If this is not present, the `XChainAccountCreateCommit` transaction will fail. This field can only be present on XRP-XRP bridges. | +| `SignatureReward` | [Currency Amount][] | Amount | No | The signature reward split between the witnesses for submitting attestations. | +| `XChainBridge` | XChainBridge | XChain_Bridge | Yes | The bridge to modify. | ### XChainBridge Fields -| Field | JSON Type | Internal Type | Required? | Description | +| Field | JSON Type | [Internal Type][] | Required? | Description | |:--------------------|:----------|:------------------|:----------|:----------------| -| `IssuingChainDoor` | `string` | `ACCOUNT` | Yes | The door account on the issuing chain. For an XRP-XRP bridge, this must be the genesis account (the account that is created when the network is first started, which contains all of the XRP). | -| `IssuingChainIssue` | `Issue` | `ISSUE` | Yes | The asset that is minted and burned on the issuing chain. For an IOU-IOU bridge, the issuer of the asset must be the door account on the issuing chain, to avoid supply issues. | -| `LockingChainDoor` | `string` | `ACCOUNT` | Yes | The door account on the locking chain. | -| `LockingChainIssue` | `Issue` | `ISSUE` | Yes | The asset that is locked and unlocked on the locking chain. | +| `IssuingChainDoor` | String | Account | Yes | The door account on the issuing chain. For an XRP-XRP bridge, this must be the genesis account (the account that is created when the network is first started, which contains all of the XRP). | +| `IssuingChainIssue` | Issue | Issue | Yes | The asset that is minted and burned on the issuing chain. For an IOU-IOU bridge, the issuer of the asset must be the door account on the issuing chain, to avoid supply issues. | +| `LockingChainDoor` | String | Account | Yes | The door account on the locking chain. | +| `LockingChainIssue` | Issue | Issue | Yes | The asset that is locked and unlocked on the locking chain. | ## Transaction Flags @@ -72,4 +72,4 @@ In addition to the universal transaction flags that are applicable to all transa {% include '_snippets/rippled-api-links.md' %} {% include '_snippets/tx-type-links.md' %} -{% include '_snippets/rippled_versions.md' %} \ No newline at end of file +{% include '_snippets/rippled_versions.md' %} diff --git a/dactyl-config.yml b/dactyl-config.yml index 4a55e1e0c2a..d2eddaa03e0 100644 --- a/dactyl-config.yml +++ b/dactyl-config.yml @@ -2895,41 +2895,65 @@ pages: - md: references/protocol/transactions/types/xchainaccountcreatecommit.md targets: - en + + - md: "@i18n/ja/references/protocol/transactions/types/xchainaccountcreatecommit.md" + targets: - ja - md: references/protocol/transactions/types/xchainaddaccountcreateattestation.md targets: - en + + - md: "@i18n/ja/references/protocol/transactions/types/xchainaddaccountcreateattestation.md" + targets: - ja - md: references/protocol/transactions/types/xchainaddclaimattestation.md targets: - en + + - md: "@i18n/ja/references/protocol/transactions/types/xchainaddclaimattestation.md" + targets: - ja - md: references/protocol/transactions/types/xchainclaim.md targets: - en + + - md: "@i18n/ja/references/protocol/transactions/types/xchainclaim.md" + targets: - ja - md: references/protocol/transactions/types/xchaincommit.md targets: - en + + - md: "@i18n/ja/references/protocol/transactions/types/xchaincommit.md" + targets: - ja - md: references/protocol/transactions/types/xchaincreatebridge.md targets: - en + + - md: "@i18n/ja/references/protocol/transactions/types/xchaincreatebridge.md" + targets: - ja - md: references/protocol/transactions/types/xchaincreateclaimid.md targets: - en + + - md: "@i18n/ja/references/protocol/transactions/types/xchaincreateclaimid.md" + targets: - ja - md: references/protocol/transactions/types/xchainmodifybridge.md targets: - en + + - md: "@i18n/ja/references/protocol/transactions/types/xchainmodifybridge.md" + targets: - ja - md: references/protocol/transactions/pseudo-transaction-types/pseudo-transaction-types.md