-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathmain.fmx
189 lines (189 loc) · 5.73 KB
/
main.fmx
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
object frmMain: TfrmMain
Left = 0
Top = 0
Caption = 'Migratooor'
ClientHeight = 633
ClientWidth = 572
FormFactor.Width = 320
FormFactor.Height = 480
FormFactor.Devices = [Desktop]
DesignerMasterStyle = 0
object lblOwner: TLabel
Position.X = 8.000000000000000000
Position.Y = 10.000000000000000000
Size.Width = 88.000000000000000000
Size.Height = 17.000000000000000000
Size.PlatformDefault = False
TextSettings.HorzAlign = Trailing
Text = 'From address:'
TabOrder = 0
end
object edtOwner: TEdit
Touch.InteractiveGestures = [LongTap, DoubleTap]
Anchors = [akLeft, akTop, akRight]
TabOrder = 1
Position.X = 104.000000000000000000
Position.Y = 8.000000000000000000
Size.Width = 264.000000000000000000
Size.Height = 22.000000000000000000
Size.PlatformDefault = False
TextPrompt = '0x0'
end
object cboChain: TComboBox
Anchors = [akTop, akRight]
DropDownCount = 11
Position.X = 376.000000000000000000
Position.Y = 8.000000000000000000
TabOrder = 2
OnChange = cboChainChange
end
object btnScan: TButton
Anchors = [akTop, akRight]
Position.X = 484.000000000000000000
Position.Y = 8.000000000000000000
TabOrder = 3
Text = 'Scan'
TextSettings.Trimming = None
OnClick = btnScanClick
end
object Grid: TGrid
Anchors = [akLeft, akTop, akRight, akBottom]
CanFocus = True
ClipChildren = True
Position.X = 8.000000000000000000
Position.Y = 162.000000000000000000
Size.Width = 556.000000000000000000
Size.Height = 433.000000000000000000
Size.PlatformDefault = False
TabOrder = 5
RowHeight = 32.000000000000000000
RowCount = 0
Options = [Editing, ColumnResize, ColumnMove, ColLines, RowLines, RowSelect, Tabs, HeaderClick, AutoDisplacement]
OnGetValue = GridGetValue
OnSetValue = GridSetValue
Viewport.Width = 552.000000000000000000
Viewport.Height = 429.000000000000000000
object colCheck: TCheckColumn
HorzAlign = Center
HeaderSettings.TextSettings.WordWrap = False
Size.Width = 32.000000000000000000
end
object colImage: TImageColumn
HeaderSettings.TextSettings.WordWrap = False
ReadOnly = True
Size.Width = 32.000000000000000000
end
object colName: TStringColumn
HeaderSettings.TextSettings.WordWrap = False
ReadOnly = True
Size.Width = 200.000000000000000000
end
object colBalance: TFloatColumn
HeaderSettings.TextSettings.WordWrap = False
ReadOnly = True
DecimalDigits = 8
Size.Width = 120.000000000000000000
end
end
object Header: TPanel
Anchors = [akLeft, akTop, akRight]
Position.X = 8.000000000000000000
Position.Y = 38.000000000000000000
Size.Width = 556.000000000000000000
Size.Height = 116.000000000000000000
Size.PlatformDefault = False
TabOrder = 4
object chkSelectAll: TCheckBox
Anchors = [akLeft, akTop, akRight]
Enabled = False
IsChecked = True
Position.X = 8.000000000000000000
Position.Y = 89.000000000000000000
Size.Width = 352.000000000000000000
Size.Height = 19.000000000000000000
Size.PlatformDefault = False
TabOrder = 3
Text = 'Select all tokens'
OnChange = chkSelectAllChange
end
object chkScanForNFTs: TCheckBox
Anchors = [akLeft, akTop, akRight]
IsChecked = True
Position.X = 8.000000000000000000
Position.Y = 35.000000000000000000
Size.Width = 352.000000000000000000
Size.Height = 19.000000000000000000
Size.PlatformDefault = False
TabOrder = 1
Text = 'Scan for every NFT known to OpenSea'
OnChange = chkScanForChange
end
object chkScanForERC20s: TCheckBox
Anchors = [akLeft, akTop, akRight]
Enabled = False
IsChecked = True
Position.X = 8.000000000000000000
Position.Y = 8.000000000000000000
Size.Width = 352.000000000000000000
Size.Height = 19.000000000000000000
Size.PlatformDefault = False
TabOrder = 0
Text = 'Scan for (calculating...) ERC-20 tokens'
end
object chkScanForUniswapPairs: TCheckBox
Anchors = [akLeft, akTop, akRight]
Position.X = 8.000000000000000000
Position.Y = 62.000000000000000000
Size.Width = 352.000000000000000000
Size.Height = 19.000000000000000000
Size.PlatformDefault = False
TabOrder = 2
Text = 'Scan for 30k Uniswap v2 LP tokens (slower)'
OnChange = chkScanForChange
end
end
object lblRecipient: TLabel
Anchors = [akLeft, akBottom]
Position.X = 8.000000000000000000
Position.Y = 605.000000000000000000
Size.Width = 88.000000000000000000
Size.Height = 17.000000000000000000
Size.PlatformDefault = False
TextSettings.HorzAlign = Trailing
Text = 'To address:'
TabOrder = 6
end
object edtRecipient: TEdit
Touch.InteractiveGestures = [LongTap, DoubleTap]
Anchors = [akLeft, akRight, akBottom]
TabOrder = 7
Position.X = 104.000000000000000000
Position.Y = 603.000000000000000000
Size.Width = 372.000000000000000000
Size.Height = 22.000000000000000000
Size.PlatformDefault = False
TextPrompt = '0x0'
object btnNew: TEditButton
CanFocus = False
Cursor = crArrow
TextSettings.Trimming = None
Hint = 'Generate new wallet'
Size.Width = 48.000000000000000000
Size.Height = 18.000000000000000000
Size.PlatformDefault = False
TabOrder = 0
Text = 'New'
OnClick = btnNewClick
end
end
object btnMigrate: TButton
Anchors = [akRight, akBottom]
Enabled = False
Position.X = 484.000000000000000000
Position.Y = 603.000000000000000000
TabOrder = 8
Text = 'Migrate'
TextSettings.Trimming = None
OnClick = btnMigrateClick
end
end