Skip to content

Commit 617dcd0

Browse files
committed
docs
1 parent 1d20f38 commit 617dcd0

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

Changelog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# CHANGELOG
22

33
### JS SDK Version ChangeLog
4+
### v0.2.9
5+
FIX: AccountInfo.fronzen to frozen
46
### v0.2.8
57
1) NFT refactory the interface fot doc
68
### v0.2.7

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@loopring-web/loopring-sdk",
3-
"version": "0.2.8",
3+
"version": "0.2.9",
44
"author": "Loopring Dev Team",
55
"description": "Loopring SDK",
66
"private": false,

src/defs/account_defs.ts

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,22 @@
11
import { PublicKey } from "./loopring_defs"
22

3+
/**
4+
* AccountInfo
5+
* @property accountId number Account ID
6+
* @property owner string Ethereum address
7+
* @property frozen boolean The frozen state of the account, true stands for frozen, if the account is frozen, the user cant submit order.
8+
* @property publicKey PublicKey The user's public key
9+
* @property tags? string Comma separated list of tags such as VIP levels, etc
10+
* @property nonce number field.DexAccountV3.nonce
11+
* @property keyNonce number Nonce of users key change request, for backward compatible
12+
* @property keySeed string KeySeed of users L2 eddsaKey, the L2 key should be generated from this seed, i.e., L2_EDDSA_KEY=eth.sign(keySeed). Otherwise, user may meet error in login loopring DEX
13+
*/
314
export interface AccountInfo {
415
accountId: number
516
owner: string
6-
fronzen: boolean
17+
frozen: boolean
718
publicKey: PublicKey
8-
tags: string
19+
tags?: string
920
nonce: number
1021
keyNonce: number
1122
keySeed: string

0 commit comments

Comments
 (0)