Skip to content

Commit 79b6623

Browse files
author
justin j. moses
authored
SIP-113 Adding sKRW onto kovan (Synthetixio#1170)
1 parent 17ac00f commit 79b6623

File tree

9 files changed

+75
-11
lines changed

9 files changed

+75
-11
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ const defaults = {
167167
{ long: 'sBTC', short: 'iBTC' },
168168
{ long: 'sETH', short: 'iETH' },
169169
],
170-
MAX_DEBT: w3utils.toWei('40000000'), // 40 million sUSD
170+
MAX_DEBT: w3utils.toWei('50000000'), // 50 million sUSD
171171
BASE_BORROW_RATE: Math.round((0.005 * 1e18) / 31556926).toString(), // 31556926 is CollateralManager seconds per year
172172
BASE_SHORT_RATE: Math.round((0.005 * 1e18) / 31556926).toString(),
173173
},

publish/assets.json

+6
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,12 @@
269269
"sign": "Fr",
270270
"description": "Swiss Franc"
271271
},
272+
"KRW": {
273+
"asset": "KRW",
274+
"category": "forex",
275+
"sign": "",
276+
"description": "South Korean Won"
277+
},
272278
"XAU": {
273279
"asset": "XAU",
274280
"category": "commodity",

publish/deployed/kovan-ovm/versions.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@
248248
"v2.40.0-alpha": {
249249
"tag": "v2.40.0-alpha",
250250
"fulltag": "v2.40.0-alpha",
251-
"release": "Miaplacidus",
251+
"release": "L2 Phase 1 OVM (Kovan)",
252252
"network": "kovan",
253253
"date": "2021-03-12T15:16:08+00:00",
254254
"commit": "0e0d6449ab765ef5bdef3824e9fa50332526ba3c",

publish/deployed/kovan/config.json

+9
Original file line numberDiff line numberDiff line change
@@ -505,5 +505,14 @@
505505
},
506506
"SynthsTSLA": {
507507
"deploy": false
508+
},
509+
"TokenStatesKRW": {
510+
"deploy": false
511+
},
512+
"ProxysKRW": {
513+
"deploy": false
514+
},
515+
"SynthsKRW": {
516+
"deploy": false
508517
}
509518
}

publish/deployed/kovan/deployment.json

+34-7
Large diffs are not rendered by default.

publish/deployed/kovan/feeds.json

+4
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,9 @@
3535
"TSLA": {
3636
"asset": "TSLA",
3737
"feed": "0xb31357d152638fd1ae0853d24b9Ea81dF29E3EF2"
38+
},
39+
"KRW": {
40+
"asset": "KRW",
41+
"feed": "0x9e465c5499023675051517E9Ee5f4C334D91e369"
3842
}
3943
}

publish/deployed/kovan/synths.json

+4
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@
2020
"name": "sGBP",
2121
"asset": "GBP"
2222
},
23+
{
24+
"name": "sKRW",
25+
"asset": "KRW"
26+
},
2327
{
2428
"name": "sCHF",
2529
"asset": "CHF"

publish/releases.json

+10-1
Original file line numberDiff line numberDiff line change
@@ -158,13 +158,22 @@
158158
"sips": [110]
159159
},
160160
{
161-
"name": "Miaplacidus",
161+
"name": "L2 Phase 1 OVM (Kovan)",
162162
"version": {
163163
"major": 2,
164164
"minor": 40
165165
},
166166
"ovm": true,
167167
"sources": ["Synthetix", "Exchanger", "SystemStatus"],
168168
"sips": [109, 117, 118]
169+
},
170+
{
171+
"name": "Miaplacidus",
172+
"version": {
173+
"major": 2,
174+
"minor": 41
175+
},
176+
"sources": [],
177+
"sips": [113]
169178
}
170179
]

publish/src/Deployer.js

+6-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,12 @@ class Deployer {
215215
// determine which actions can be performed directly or need to be added to ownerActions
216216
Object.keys(deployedContract.methods).forEach(key => {
217217
deployedContract.methods[key] = () => ({
218-
call: () => (key === 'owner' ? Promise.resolve(account) : undefined),
218+
call: () =>
219+
key === 'owner'
220+
? Promise.resolve(account)
221+
: key === 'resolverAddressesRequired'
222+
? Promise.resolve([])
223+
: undefined,
219224
});
220225
});
221226
deployedContract.options.address = '0x' + this._dryRunCounter.toString().padStart(40, '0');

0 commit comments

Comments
 (0)