aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sra-api/src
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-08-14 02:45:13 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-08-14 02:45:13 +0800
commit58321a36dcc7338efa61c0f6f916a4155be9c2b8 (patch)
tree0a42a6e73d9370c7036a19cab9f78a60b1012a28 /packages/sra-api/src
parentb6d793aec4dbb8edad8c8c28e6a2200912b46cf3 (diff)
downloaddexon-sol-tools-58321a36dcc7338efa61c0f6f916a4155be9c2b8.tar
dexon-sol-tools-58321a36dcc7338efa61c0f6f916a4155be9c2b8.tar.gz
dexon-sol-tools-58321a36dcc7338efa61c0f6f916a4155be9c2b8.tar.bz2
dexon-sol-tools-58321a36dcc7338efa61c0f6f916a4155be9c2b8.tar.lz
dexon-sol-tools-58321a36dcc7338efa61c0f6f916a4155be9c2b8.tar.xz
dexon-sol-tools-58321a36dcc7338efa61c0f6f916a4155be9c2b8.tar.zst
dexon-sol-tools-58321a36dcc7338efa61c0f6f916a4155be9c2b8.zip
apply prettier
Diffstat (limited to 'packages/sra-api/src')
-rw-r--r--packages/sra-api/src/md/introduction.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/sra-api/src/md/introduction.md b/packages/sra-api/src/md/introduction.md
index 37c77cef9..6f733c9ab 100644
--- a/packages/sra-api/src/md/introduction.md
+++ b/packages/sra-api/src/md/introduction.md
@@ -67,7 +67,7 @@ If a certain network is not supported, the response should **400** as specified
{
"field": "networkId",
"code": 1006,
- "reason": "Network id 42 is not supported",
+ "reason": "Network id 42 is not supported"
}
]
}
@@ -179,9 +179,9 @@ The identifier for the Proxy uses a similar scheme to [ABI function selectors](h
```js
// ERC20 Proxy ID 0xf47261b0
-bytes4(keccak256("ERC20Token(address)"))
+bytes4(keccak256('ERC20Token(address)'));
// ERC721 Proxy ID 0x08e937fa
-bytes4(keccak256("ERC721Token(address,uint256)"))
+bytes4(keccak256('ERC721Token(address,uint256)'));
```
Asset data is encoded using [ABI encoding](https://solidity.readthedocs.io/en/develop/abi-spec.html).