This repository was archived by the owner on Jan 18, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +369
-263
lines changed Expand file tree Collapse file tree 4 files changed +369
-263
lines changed Original file line number Diff line number Diff line change 7
7
"react" : " ^16.5.1" ,
8
8
"react-dom" : " ^16.5.1" ,
9
9
"react-scripts" : " 1.1.5" ,
10
- "setprotocol.js" : " ^1.0.0-alpha.27 " ,
10
+ "setprotocol.js" : " ^1.0.4-rc.5 " ,
11
11
"web3" : " 0.20.7"
12
12
},
13
13
"scripts" : {
14
14
"start" : " react-scripts start" ,
15
15
"build" : " react-scripts build" ,
16
16
"test" : " react-scripts test --env=jsdom" ,
17
- "eject" : " react-scripts eject"
17
+ "eject" : " react-scripts eject" ,
18
+ "set-chain" : " set-chain"
18
19
}
19
20
}
Original file line number Diff line number Diff line change @@ -6,10 +6,10 @@ import BigNumber from 'bignumber.js';
6
6
7
7
// Kovan configuration
8
8
const config = {
9
- coreAddress : '0x29f13822ece62b7a436a45903ce6d5c97d6e4cc9 ' ,
10
- setTokenFactoryAddress : '0x6c51d8dad8404dbd91e8ab063d21e85ddec9f626 ' ,
11
- transferProxyAddress : '0xd50ddfed470cc13572c5246e71d4cfb4aba73def ' ,
12
- vaultAddress : '0x014e9b34486cfa13e9a2d87028d38cd98f996c8c ' ,
9
+ coreAddress : '0xdd7d1deb82a64af0a6265951895faf48fc78ddfc ' ,
10
+ setTokenFactoryAddress : '0x7497d12488ee035f5d30ec716bbf41735554e3b1 ' ,
11
+ transferProxyAddress : '0xa0929aba843ff1a1af4451e52d26f7dde3d40f82 ' ,
12
+ vaultAddress : '0x76aae6f20658f763bd58f5af028f925e7c5319af ' ,
13
13
} ;
14
14
15
15
class App extends Component {
@@ -120,10 +120,17 @@ class App extends Component {
120
120
< header >
121
121
< h1 className = "App-title" > Set Boiler Plate</ h1 >
122
122
</ header >
123
- < button onClick = { this . createSet } >
124
- Create My Set
125
- </ button >
126
- { createdSetLink ? this . renderEtherScanLink ( createdSetLink , 'Link to your new Set' ) : null }
123
+ < div >
124
+ < button onClick = { this . createSet } >
125
+ Create My Set
126
+ </ button >
127
+ { createdSetLink ? this . renderEtherScanLink ( createdSetLink , 'Link to your new Set' ) : null }
128
+ </ div >
129
+ < div >
130
+ < button className = "button-disabled" disabled >
131
+ Issue My Set Tokens
132
+ </ button >
133
+ </ div >
127
134
</ div >
128
135
) ;
129
136
}
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ button {
31
31
border-radius : 4px ;
32
32
box-shadow : 0 2px 4px 0 rgba (155 , 151 , 179 , 0.25 );
33
33
display : inline;
34
+ margin : 10px ;
34
35
max-width : 300px ;
35
36
min-width : 300px ;
36
37
padding : 30px 40px ;
@@ -46,3 +47,12 @@ button:active {
46
47
box-shadow : 0 2px 3px 0 rgba (0 , 0 , 0 , 0.07 );
47
48
transform : scale (1.03 );
48
49
}
50
+
51
+ .button-disabled {
52
+ cursor : not-allowed;
53
+ }
54
+
55
+ .button-disabled : hover {
56
+ box-shadow : 0 2px 4px 0 rgba (155 , 151 , 179 , 0.25 );
57
+ transform : scale (1 );
58
+ }
You can’t perform that action at this time.
0 commit comments