Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
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
exchain
nebula
Commits
1f587ab3
Unverified
Commit
1f587ab3
authored
Sep 03, 2021
by
Kelvin Fichter
Committed by
Kelvin Fichter
Nov 10, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor: make token factory a predeploy
parent
d5036826
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
21 deletions
+1
-21
000-OVM_L2StandardTokenFactory.deploy.ts
...tracts/deploy-l2/000-OVM_L2StandardTokenFactory.deploy.ts
+0
-21
predeploys.ts
packages/contracts/src/predeploys.ts
+1
-0
No files found.
packages/contracts/deploy-l2/000-OVM_L2StandardTokenFactory.deploy.ts
deleted
100644 → 0
View file @
d5036826
import
{
ethers
}
from
'
hardhat
'
// eslint-disable-next-line prefer-arrow/prefer-arrow-functions
async
function
main
()
{
const
l2TokenFactory
=
await
ethers
.
getContractFactory
(
'
OVM_L2StandardTokenFactory
'
)
const
l2StandardTokenFactory
=
await
l2TokenFactory
.
deploy
()
console
.
log
(
'
L2 Standard Token Factory deployed to:
'
,
l2StandardTokenFactory
.
address
)
}
main
()
.
then
(()
=>
process
.
exit
(
0
))
.
catch
((
error
)
=>
{
console
.
error
(
error
)
process
.
exit
(
1
)
})
packages/contracts/src/predeploys.ts
View file @
1f587ab3
...
...
@@ -16,4 +16,5 @@ export const predeploys = {
OVM_GasPriceOracle
:
'
0x420000000000000000000000000000000000000F
'
,
OVM_L2StandardBridge
:
'
0x4200000000000000000000000000000000000010
'
,
OVM_SequencerFeeVault
:
'
0x4200000000000000000000000000000000000011
'
,
OVM_L2StandardTokenFactory
:
'
0x4200000000000000000000000000000000000012
'
,
}
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