Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
interface
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
LuckySwap
interface
Commits
24eb01db
Commit
24eb01db
authored
Nov 03, 2017
by
Hayden Adams
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add CNAME
parent
ab891d1b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
12 deletions
+23
-12
CNAME
public/CNAME
+1
-0
App.css
src/App.css
+11
-5
App.js
src/App.js
+11
-7
No files found.
public/CNAME
0 → 100644
View file @
24eb01db
uniswap.io
src/App.css
View file @
24eb01db
...
...
@@ -9,7 +9,7 @@
.title
{
position
:
fixed
;
font-size
:
9
vh
;
font-size
:
10
vh
;
margin-top
:
1vh
;
margin-left
:
2vh
;
float
:
left
;
...
...
@@ -44,7 +44,6 @@
.title
{
transition
:
0.6s
;
transform-style
:
preserve-3d
;
position
:
relative
;
}
...
...
@@ -69,6 +68,14 @@
transform
:
rotateX
(
180deg
);
}
.noICO
{
position
:
fixed
;
top
:
3vh
;
left
:
37vw
;
color
:
rgb
(
216
,
169
,
236
);
text-shadow
:
1px
1px
5px
#ff69f0
;
}
.ethLogo
{
position
:
fixed
;
z-index
:
0
;
...
...
@@ -122,9 +129,8 @@
position
:
fixed
;
z-index
:
2
;
text-align
:
left
;
font-size
:
14px
;
top
:
60px
;
left
:
40vw
;
top
:
13vh
;
left
:
37vw
;
color
:
rgb
(
122
,
251
,
255
);
text-shadow
:
2px
2px
10px
#2daae0
;
width
:
35vw
;
...
...
src/App.js
View file @
24eb01db
...
...
@@ -84,14 +84,14 @@ class App extends Component {
switch
(
netId
)
{
case
"
1
"
:
console
.
log
(
'
This is mainnet
'
)
self
.
setState
({
networkMessage
:
'
Connected to Ethereum Mainet, please switch to Rinkeby and refresh
'
});
self
.
setState
({
networkMessage
:
'
MetaMask connected to Ethereum Mainet. Switch to Rinkeby and refresh!
'
});
break
case
"
2
"
:
console
.
log
(
'
This is the deprecated Morden test network.
'
)
self
.
setState
({
networkMessage
:
'
Connected to Morden testnet, please switch to Rinkeby and refresh
'
});
self
.
setState
({
networkMessage
:
'
MetaMask connected to Morden testnet. Switch to Rinkeby and refresh!
'
});
break
case
"
3
"
:
self
.
setState
({
networkMessage
:
'
Connected to Ropstein testnet, please switch to Rinkeby and refresh
'
})
self
.
setState
({
networkMessage
:
'
MetaMask connected to Ropstein testnet. Switch to Rinkeby and refresh!
'
})
break
default
:
console
.
log
(
'
This is an unknown network.
'
)
...
...
@@ -288,13 +288,16 @@ class App extends Component {
<
div
className
=
"
back
"
>
UNISWAP
<
/div
>
<
/div
>
<
/div
>
<
div
className
=
"
noICO
"
>
UNI
is
an
ERC20
test
token
.
We
are
NOT
doing
an
ICO
.
<
/div
>
<
img
src
=
{
unicorn
}
className
=
"
unicorn
"
alt
=
"
unicorn
"
/>
<
img
src
=
{
ethLogo
}
className
=
"
ethLogo
"
alt
=
"
ethLogo
"
/>
<
div
className
=
"
Warning
"
>
{
this
.
state
.
networkMessage
}
<
/div
>
<
div
className
=
"
Account-info
"
>
Address
:
{
this
.
state
.
currentMaskAddress
}
<
br
/>
Ether
:
{
this
.
state
.
ethBalance
}
ETH
&
nbsp
;
&
nbsp
;
&
nbsp
;
&
nbsp
;
&
nbsp
;
Tokens
:
{
this
.
state
.
tokenBalance
.
toFixed
(
2
)}
UNI
<
br
/>
Account
Detected
:
&
nbsp
;
&
nbsp
;
&
nbsp
;
&
nbsp
;
&
nbsp
;
&
nbsp
;
&
nbsp
;{
this
.
state
.
ethBalance
}
ETH
&
nbsp
;
&
nbsp
;
&
nbsp
;
&
nbsp
;
&
nbsp
;
&
nbsp
;
&
nbsp
;
{
this
.
state
.
tokenBalance
.
toFixed
(
2
)}
UNI
<
br
/>
{
this
.
state
.
currentMaskAddress
}
&
nbsp
;
&
nbsp
;
<
br
/>
<
/div
>
<
div
className
=
"
instructions
"
>
<
div
className
=
"
instructions-title
"
>
Instructions
and
Stuff
<
/div
>
...
...
@@ -309,7 +312,8 @@ class App extends Component {
6
)
This
is
a
proof
-
of
-
concept
for
a
decentralized
Market
Maker
exchange
.
Stay
tuned
for
token
-
to
-
token
pairs
,
the
ability
to
become
a
Market
Creator
and
collect
fees
,
and
a
Mainet
launch
!
:)
<
br
/>
<
br
/>
7
)
This
demo
was
hastily
programmed
by
a
single
developer
<
i
>
(
Hi
,
my
name
is
Hayden
!
)
<
/i>. Please reach out to me with any questions, comments, complaints, or bug reports.<br/
><
br
/>
&
nbsp
;
&
nbsp
;
Email
:
hayden
@
uniswap
.
io
&
nbsp
;
&
nbsp
;
GitHub
:
https
:
//github.com/haydenadams/uniswap<br/>
&
nbsp
;
&
nbsp
;
Email
:
hayden
@
uniswap
.
io
&
nbsp
;
&
nbsp
;
<
span
className
=
"
instructions-link
"
><
a
href
=
"
https://faucet.rinkeby.io/
"
>
GitHub
:
https
:
//github.com/haydenadams/uniswap<br/></a></span>
&
nbsp
;
&
nbsp
;
ETH
Address
:
0x4779721CaC18A46DbCF148f2Dd7A8E6cc1F90078
<
br
/><
br
/>
<
/div
>
<
/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