Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
windatang committed Nov 26, 2021
1 parent 1d20f38 commit 617dcd0
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
2 changes: 2 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# CHANGELOG

### JS SDK Version ChangeLog
### v0.2.9
FIX: AccountInfo.fronzen to frozen
### v0.2.8
1) NFT refactory the interface fot doc
### v0.2.7
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@loopring-web/loopring-sdk",
"version": "0.2.8",
"version": "0.2.9",
"author": "Loopring Dev Team",
"description": "Loopring SDK",
"private": false,
Expand Down
15 changes: 13 additions & 2 deletions src/defs/account_defs.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
import { PublicKey } from "./loopring_defs"

/**
* AccountInfo
* @property accountId number Account ID
* @property owner string Ethereum address
* @property frozen boolean The frozen state of the account, true stands for frozen, if the account is frozen, the user cant submit order.
* @property publicKey PublicKey The user's public key
* @property tags? string Comma separated list of tags such as VIP levels, etc
* @property nonce number field.DexAccountV3.nonce
* @property keyNonce number Nonce of users key change request, for backward compatible
* @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
*/
export interface AccountInfo {
accountId: number
owner: string
fronzen: boolean
frozen: boolean
publicKey: PublicKey
tags: string
tags?: string
nonce: number
keyNonce: number
keySeed: string
Expand Down

0 comments on commit 617dcd0

Please sign in to comment.