Skip to content

Commit f12f498

Browse files
authored
Merge pull request #433 from qubic/feat/contract-decoding
feat(tx): decode contract input with reusable UI sections
2 parents 28b8b31 + 9f08e2f commit f12f498

23 files changed

+1030
-40
lines changed

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
"dependencies": {
2222
"@headlessui/react": "^2.1.2",
2323
"@qubic-lib/qubic-ts-library": "0.1.6",
24+
"@qubic.ts/contracts": "^1.1.0",
25+
"@qubic.ts/core": "^1.1.0",
2426
"@react-spring/web": "^9.7.5",
2527
"@reduxjs/toolkit": "^2.2.6",
2628
"@tailwindcss/aspect-ratio": "^0.4.2",

pnpm-lock.yaml

Lines changed: 44 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/locales/ar/network-page.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@
4747
"transactionPreview": "معاينة المعاملات",
4848
"transactions": "معاملات",
4949
"data": "البيانات",
50+
"defaultView": "العرض الافتراضي",
51+
"unableToDecodeContractInput": "تعذّر فك ترميز مدخلات هذا العقد.",
52+
"exportJson": "تصدير JSON",
53+
"showMore": "عرض المزيد",
54+
"showLess": "عرض أقل",
5055
"type": "النوع",
5156
"unexecuted": "غير منفذ",
5257
"value": "القيمة",

public/locales/de/network-page.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@
4747
"transactionPreview": "Transaktionsvorschau",
4848
"transactions": "Transaktionen",
4949
"data": "Daten",
50+
"defaultView": "Standardansicht",
51+
"unableToDecodeContractInput": "Die Eingabedaten dieses Vertrags konnten nicht dekodiert werden.",
52+
"exportJson": "JSON exportieren",
53+
"showMore": "Mehr anzeigen",
54+
"showLess": "Weniger anzeigen",
5055
"type": "Typ",
5156
"unexecuted": "Nicht ausgeführt",
5257
"value": "Wert",

public/locales/en/network-page.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@
4747
"transactionPreview": "Transaction Preview",
4848
"transactions": "Transactions",
4949
"data": "Data",
50+
"defaultView": "Default View",
51+
"unableToDecodeContractInput": "Unable to decode this contract input.",
52+
"exportJson": "Export JSON",
53+
"showMore": "Show more",
54+
"showLess": "Show less",
5055
"type": "Type",
5156
"unexecuted": "Unexecuted",
5257
"value": "Value",

public/locales/es/network-page.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@
4747
"transactionPreview": "Vista previa de las transacciones",
4848
"transactions": "Transacciones",
4949
"data": "Datos",
50+
"defaultView": "Vista predeterminada",
51+
"unableToDecodeContractInput": "No se pudo decodificar la entrada de este contrato.",
52+
"exportJson": "Exportar JSON",
53+
"showMore": "Mostrar más",
54+
"showLess": "Mostrar menos",
5055
"type": "Tipo",
5156
"unexecuted": "No ejecutado",
5257
"value": "Valor",

public/locales/fr/network-page.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@
4747
"transactionPreview": "Aperçu des transactions",
4848
"transactions": "Transactions",
4949
"data": "Données",
50+
"defaultView": "Vue par défaut",
51+
"unableToDecodeContractInput": "Impossible de décoder l'entrée de ce contrat.",
52+
"exportJson": "Exporter JSON",
53+
"showMore": "Afficher plus",
54+
"showLess": "Afficher moins",
5055
"type": "Type",
5156
"unexecuted": "Non exécuté",
5257
"value": "Valeur",

public/locales/ja/network-page.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@
4747
"transactionPreview": "トランザクションのプレビュー",
4848
"transactions": "トランザクション",
4949
"data": "データ",
50+
"defaultView": "デフォルト表示",
51+
"unableToDecodeContractInput": "このコントラクトの入力をデコードできませんでした。",
52+
"exportJson": "JSONをエクスポート",
53+
"showMore": "もっと見る",
54+
"showLess": "折りたたむ",
5055
"type": "タイプ",
5156
"unexecuted": "未実行",
5257
"value": "",

public/locales/nl/network-page.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@
4747
"transactionPreview": "Transactievoorvertoning",
4848
"transactions": "Transacties",
4949
"data": "Data",
50+
"defaultView": "Standaardweergave",
51+
"unableToDecodeContractInput": "Kan de invoer van dit contract niet decoderen.",
52+
"exportJson": "JSON exporteren",
53+
"showMore": "Meer tonen",
54+
"showLess": "Minder tonen",
5055
"type": "Type",
5156
"unexecuted": "Niet uitgevoerd",
5257
"value": "Waarde",

public/locales/pt/network-page.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@
4747
"transactionPreview": "Visualização da transação",
4848
"transactions": "Transações",
4949
"data": "Dados",
50+
"defaultView": "Visualização padrão",
51+
"unableToDecodeContractInput": "Não foi possível decodificar a entrada deste contrato.",
52+
"exportJson": "Exportar JSON",
53+
"showMore": "Mostrar mais",
54+
"showLess": "Mostrar menos",
5055
"type": "Tipo",
5156
"unexecuted": "Não executado",
5257
"value": "Valor",

0 commit comments

Comments
 (0)