Skip to content

Commit 48ebd4a

Browse files
committed
New translations api.mdx (Japanese)
1 parent 819fba2 commit 48ebd4a

File tree

1 file changed

+48
-48
lines changed
  • website/pages/ja/developing/graph-ts

1 file changed

+48
-48
lines changed

website/pages/ja/developing/graph-ts/api.mdx

Lines changed: 48 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,16 @@ Since language mappings are written in AssemblyScript, it is useful to review th
2929

3030
サブグラフマニフェストapiVersionは、特定のサブグラフのマッピングAPIバージョンを指定します。このバージョンは、Graph Nodeによって実行されます。
3131

32-
| バージョン | リリースノート |
33-
| :-: | --- |
34-
| 0.0.9 | Adds new host functions [`eth_get_balance`](#balance-of-an-address) & [`hasCode`](#check-if-an-address-is-a-contract-or-eoa) |
35-
| 0.0.8 | Adds validation for existence of fields in the schema when saving an entity. |
36-
| 0.0.7 | Ethereum タイプに `TransactionReceipt``Log` クラスを追加<br /> Ethereum Event オブジェクトに `receipt` フィールドを追加。 |
37-
| 0.0.6 | Ethereum Transactionオブジェクトに`nonce`フィールドを追加<br /> Ethereum Blockオブジェクトに`baseFeePerGas`を追加。 |
32+
| バージョン | リリースノート |
33+
| :---: | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
34+
| 0.0.9 | Adds new host functions [`eth_get_balance`](#balance-of-an-address) & [`hasCode`](#check-if-an-address-is-a-contract-or-eoa) |
35+
| 0.0.8 | Adds validation for existence of fields in the schema when saving an entity. |
36+
| 0.0.7 | Ethereum タイプに `TransactionReceipt``Log` クラスを追加<br /> Ethereum Event オブジェクトに `receipt` フィールドを追加。 |
37+
| 0.0.6 | Ethereum Transactionオブジェクトに`nonce`フィールドを追加<br /> Ethereum Blockオブジェクトに`baseFeePerGas`を追加。 |
3838
| 0.0.5 | AssemblyScriptはバージョン0.19.10にアップグレードされました(このバージョンアップには変更点が含まれていますので <a href="/release-notes/assemblyscript-migration-guide"><code>Migration Guide</code></a>) をご覧ください)。 <br /><code>ethereum.transaction.gasUsed</code>の名前が<code>ethereum.transaction.gasLimit</code>に変更 |
39-
| 0.0.4 | Ethereum SmartContractCall オブジェクトにfunctionSignatureフィールドを追加 |
40-
| 0.0.3 | イーサリアムコールオブジェクトに`from`フィールドを追加<br />`etherem.call.address``ethereum.call.to`に変更。 |
41-
| 0.0.2 | Ethereum Transaction オブジェクトに inputフィールドを追加 |
39+
| 0.0.4 | Ethereum SmartContractCall オブジェクトにfunctionSignatureフィールドを追加 |
40+
| 0.0.3 | イーサリアムコールオブジェクトに`from`フィールドを追加<br />`etherem.call.address``ethereum.call.to`に変更。 |
41+
| 0.0.2 | Ethereum Transaction オブジェクトに inputフィールドを追加 |
4242

4343
### 組み込み型
4444

@@ -286,7 +286,7 @@ The store API facilitates the retrieval of entities that were created or updated
286286
- For some subgraphs, these missed lookups can contribute significantly to the indexing time.
287287

288288
```typescript
289-
let id = event.transaction.hash // または ID が構築される方法
289+
let id =event.transaction.hash // または ID が構築される方法
290290
let transfer = Transfer.loadInBlock(id)
291291
if (transfer == null) {
292292
transfer = 新しい転送(id)
@@ -770,44 +770,44 @@ if (value.kind == JSONValueKind.BOOL) {
770770

771771
### タイプ 変換参照
772772

773-
| Source(s) | Destination | Conversion function |
774-
| -------------------- | -------------------- | ---------------------------- |
775-
| Address | Bytes | none |
776-
| Address | String | s.toHexString() |
777-
| BigDecimal | String | s.toString() |
778-
| BigInt | BigDecimal | s.toBigDecimal() |
779-
| BigInt | String (hexadecimal) | s.toHexString() or s.toHex() |
780-
| BigInt | String (unicode) | s.toString() |
781-
| BigInt | i32 | s.toI32() |
782-
| Boolean | Boolean | none |
783-
| Bytes (signed) | BigInt | BigInt.fromSignedBytes(s) |
784-
| Bytes (unsigned) | BigInt | BigInt.fromUnsignedBytes(s) |
785-
| Bytes | String (hexadecimal) | s.toHexString() or s.toHex() |
786-
| Bytes | String (unicode) | s.toString() |
787-
| Bytes | String (base58) | s.toBase58() |
788-
| Bytes | i32 | s.toI32() |
789-
| Bytes | u32 | s.toU32() |
790-
| Bytes | JSON | json.fromBytes(s) |
791-
| int8 | i32 | none |
792-
| int32 | i32 | none |
793-
| int32 | BigInt | Bigint.fromI32(s) |
794-
| uint24 | i32 | none |
795-
| int64 - int256 | BigInt | none |
796-
| uint32 - uint256 | BigInt | none |
797-
| JSON | boolean | s.toBool() |
798-
| JSON | i64 | s.toI64() |
799-
| JSON | u64 | s.toU64() |
800-
| JSON | f64 | s.toF64() |
801-
| JSON | BigInt | s.toBigInt() |
802-
| JSON | string | s.toString() |
803-
| JSON | Array | s.toArray() |
804-
| JSON | Object | s.toObject() |
805-
| String | Address | Address.fromString(s) |
806-
| Bytes | Address | Address.fromString(s) |
807-
| String | BigInt | BigDecimal.fromString(s) |
808-
| String | BigDecimal | BigDecimal.fromString(s) |
809-
| String (hexadecimal) | Bytes | ByteArray.fromHexString(s) |
810-
| String (UTF-8) | Bytes | ByteArray.fromUTF8(s) |
773+
| Source(s) | Destination | Conversion function |
774+
| -------------------- | -------------------- | -------------------------------- |
775+
| Address | Bytes | none |
776+
| Address | String | s.toHexString() |
777+
| BigDecimal | String | s.toString() |
778+
| BigInt | BigDecimal | s.toBigDecimal() |
779+
| BigInt | String (hexadecimal) | s.toHexString() or s.toHex() |
780+
| BigInt | String (unicode) | s.toString() |
781+
| BigInt | i32 | s.toI32() |
782+
| Boolean | Boolean | none |
783+
| Bytes (signed) | BigInt | BigInt.fromSignedBytes(s) |
784+
| Bytes (unsigned) | BigInt | BigInt.fromUnsignedBytes(s) |
785+
| Bytes | String (hexadecimal) | s.toHexString() or s.toHex() |
786+
| Bytes | String (unicode) | s.toString() |
787+
| Bytes | String (base58) | s.toBase58() |
788+
| Bytes | i32 | s.toI32() |
789+
| Bytes | u32 | s.toU32() |
790+
| Bytes | JSON | json.fromBytes(s) |
791+
| int8 | i32 | none |
792+
| int32 | i32 | none |
793+
| int32 | BigInt | Bigint.fromI32(s) |
794+
| uint24 | i32 | none |
795+
| int64 - int256 | BigInt | none |
796+
| uint32 - uint256 | BigInt | none |
797+
| JSON | boolean | s.toBool() |
798+
| JSON | i64 | s.toI64() |
799+
| JSON | u64 | s.toU64() |
800+
| JSON | f64 | s.toF64() |
801+
| JSON | BigInt | s.toBigInt() |
802+
| JSON | string | s.toString() |
803+
| JSON | Array | s.toArray() |
804+
| JSON | Object | s.toObject() |
805+
| String | Address | Address.fromString(s) |
806+
| Bytes | Address | Address.fromString(s) |
807+
| String | BigInt | BigDecimal.fromString(s) |
808+
| String | BigDecimal | BigDecimal.fromString(s) |
809+
| String (hexadecimal) | Bytes | ByteArray.fromHexString(s) |
810+
| String (UTF-8) | Bytes | ByteArray.fromUTF8(s) |
811811

812812
### データソースのメタデータ
813813

0 commit comments

Comments
 (0)