File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
website/src/pages/en/subgraphs/developing/creating/graph-ts Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -518,7 +518,7 @@ mapping:
518518 file : ./abis/OtherContract.json
519519` ` `
520520
521- - import and bind to the contract using its address.
521+ - Import and bind to the contract using its address
522522
523523#### Handling Reverted Calls
524524
@@ -792,6 +792,7 @@ When the type of a value is certain, it can be converted to a [built-in type](#b
792792| BigInt | BigDecimal | s.toBigDecimal() |
793793| BigInt | String (hexadecimal) | s.toHexString() or s.toHex() |
794794| BigInt | String (unicode) | s.toString() |
795+ | BigInt | Bytes | s.fromBigInt() |
795796| BigInt | i32 | s.toI32() |
796797| Boolean | Boolean | none |
797798| Bytes (signed) | BigInt | BigInt.fromSignedBytes(s) |
@@ -820,8 +821,8 @@ When the type of a value is certain, it can be converted to a [built-in type](#b
820821| Bytes | Address | Address.fromBytes(s) |
821822| String | BigInt | BigInt.fromString(s) |
822823| String | BigDecimal | BigDecimal.fromString(s) |
823- | String (hexadecimal) | Bytes | Bytes.fromHexString(s) |
824- | String (UTF-8) | Bytes | Bytes.fromUTF8(s) |
824+ | String (hexadecimal) | Bytes | Bytes.fromHexString(s) |
825+ | String (UTF-8) | Bytes | Bytes.fromUTF8(s) |
825826
826827### Data Source Metadata
827828
You can’t perform that action at this time.
0 commit comments