Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
Token-Factory
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bitsoko services
Token-Factory
Commits
c8d37519
Commit
c8d37519
authored
Jun 09, 2016
by
Simon de la Rouviere
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change to 1ceb00da for address placeholders
parent
d8d902ba
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
tokenpage.jsx
app/javascripts/tokenpage.jsx
+7
-7
tokensearchpage.jsx
app/javascripts/tokensearchpage.jsx
+2
-2
No files found.
app/javascripts/tokenpage.jsx
View file @
c8d37519
...
...
@@ -115,7 +115,7 @@ var TokenPage = React.createClass({
buttonAction
=
"
Transfer
Amount
"
buttonProcessing
=
"
Transferring
Amount
"
successful
=
{
this
.
successOnTransfer
}
inputs
=
{[{
placeholder
:
"
to
:
eg
0
x
deadbeef
",
key
:
"
address
",
ref
:
"
address
"},
inputs
=
{[{
placeholder
:
"
to
:
eg
0
x
1ceb00da
",
key
:
"
address
",
ref
:
"
address
"},
{
placeholder
:
"
amount
:
eg
.
10",
key
:
"
amount
",
ref
:
"
amount
"}]}
/>
</
TXComponent
>
<
br
/>
...
...
@@ -132,7 +132,7 @@ var TokenPage = React.createClass({
buttonAction
=
"
Approve
Amount
"
buttonProcessing
=
"
Approving
Amount
"
successful
=
{
this
.
successOnApproval
}
inputs
=
{[{
placeholder
:
"
to
:
eg
0
x
deadbeef
",
key
:
"
address
",
ref
:
"
address
"},
inputs
=
{[{
placeholder
:
"
to
:
eg
0
x
1ceb00da
",
key
:
"
address
",
ref
:
"
address
"},
{
placeholder
:
"
amount
:
eg
.
10",
key
:
"
amount
",
ref
:
"
amount
"}]}
/>
</
TXComponent
>
<
br
/>
...
...
@@ -148,7 +148,7 @@ var TokenPage = React.createClass({
buttonAction
=
"
Check
Balance
"
buttonProcessing
=
"
Checking
Balance
"
successful
=
{
this
.
successOnBalance
}
inputs
=
{[{
placeholder
:
"
to
:
eg
0
x
deadbeef
",
key
:
"
address
",
ref
:
"
address
"}]}
inputs
=
{[{
placeholder
:
"
to
:
eg
0
x
1ceb00da
",
key
:
"
address
",
ref
:
"
address
"}]}
/>
</
TXComponent
>
<
br
/>
{
this
.
state
.
balance_result
}
<
br
/>
...
...
@@ -163,8 +163,8 @@ var TokenPage = React.createClass({
buttonAction
=
"
Transfer
Allowance
"
buttonProcessing
=
"
Transferring
Allowance
"
successful
=
{
this
.
successOnTransferFrom
}
inputs
=
{[{
placeholder
:
"
from
:
eg
0
x
deadbeef
",
key
:
"
fromAddress
",
ref
:
"
fromAddress
"
},
{
placeholder
:
"
to
:
eg
0
x
deadbeef
",
key
:
"
toAddress
",
ref
:
"
toAddress
"
},
inputs
=
{[{
placeholder
:
"
from
:
eg
0
x
1ceb00da
",
key
:
"
fromAddress
",
ref
:
"
fromAddress
"
},
{
placeholder
:
"
to
:
eg
0
x
1ceb00da
",
key
:
"
toAddress
",
ref
:
"
toAddress
"
},
{
placeholder
:
"
amount
:
eg
10",
key
:
"
amount
",
ref
:
"
amount
"
}]}
/>
</
TXComponent
>
<
br
/>
...
...
@@ -180,8 +180,8 @@ var TokenPage = React.createClass({
buttonAction
=
"
Check
Allowance
"
buttonProcessing
=
"
Checking
Allowance
"
successful
=
{
this
.
successOnAllowance
}
inputs
=
{[{
placeholder
:
"
owner
:
eg
0
x
deadbeef
",
key
:
"
fromAddress
",
ref
:
"
fromAddress
"},
{
placeholder
:
"
spender
:
eg
0
x
deadbeef
",
key
:
"
toAddress
",
ref
:
"
toAddress
"
}]}
inputs
=
{[{
placeholder
:
"
owner
:
eg
0
x
1ceb00da
",
key
:
"
fromAddress
",
ref
:
"
fromAddress
"},
{
placeholder
:
"
spender
:
eg
0
x
1ceb00da
",
key
:
"
toAddress
",
ref
:
"
toAddress
"
}]}
/>
</
TXComponent
>
<
br
/>
{
this
.
state
.
allowance_result
}
...
...
app/javascripts/tokensearchpage.jsx
View file @
c8d37519
...
...
@@ -12,9 +12,9 @@ var TokenSearchPage = React.createClass({
render
:
function
()
{
return
(
<
div
>
Enter
Address of Token System
:
<
br
/>
Enter
the address of the token contract you want to interact with
:
<
br
/>
<
br
/>
<
input
className=
"form-control"
type=
"text"
value=
{
this
.
state
.
value
}
placeholder=
"0x
deadbeef
..."
onChange=
{
this
.
handleChange
}
/>
<
input
className=
"form-control"
type=
"text"
value=
{
this
.
state
.
value
}
placeholder=
"0x
1ceb00da
..."
onChange=
{
this
.
handleChange
}
/>
<
br
/>
<
button
className=
"btn btn-default"
onClick=
{
this
.
executeFunction
}
>
Go to Token
</
button
>
</
div
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment