-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathdata-scheme.ls
More file actions
66 lines (66 loc) · 1.57 KB
/
data-scheme.ls
File metadata and controls
66 lines (66 loc) · 1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
require! {
\./plugin-loader.ls : { get-coins }
\prelude-ls : { map, pairs-to-obj }
\./seed.ls : { saved }
\./browser/location.ls
}
saved-seed = saved!
store =
root: null
menu:
active: 's2'
ask:
text: ''
enabled: no
callback: null
image: ""
type: ''
current:
list: 0
wallet-index: 0
demo: location.href.index-of('web3.space/wallet') > -1
network: \mainnet
pin: ""
last-tx-url: ""
try-edit-seed: no
pin-trial: 0
refreshing: no
copied: ""
page: \locked
send-to-mask: ""
status: \main
nickname: ""
nicknamefull: \nickname@domain.com
message: ""
custom-domain: no
can-buy: no
checking-name: no
seed: ""
saved-seed: saved-seed
balance-usd: \...
filter: <[ IN OUT ]>
loading: no
send:
id: ""
to: ""
propose-escrow: no
address: ''
value: \0
fee-type: \auto
tx-type: \regular
amount-send: \0
amount-charged: \0
amount-charged-usd: \0
amount-send-usd: \0
amount-send-fee: \0
amount-send-fee-usd: \0
amount-obtain: \0
data: ""
decoded-data: ""
show-data-mode: \encoded
error: ''
rates:
get-coins!
|> map -> [it.token.to-upper-case!, USD: 0]
|> pairs-to-obj
module.exports = store