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
ef5343d6
Commit
ef5343d6
authored
Jul 28, 2021
by
elenadimitrova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update L2StandardTokenFactory deployment artifact and script
parent
33cb9025
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
69 additions
and
22 deletions
+69
-22
000-OVM_L2StandardTokenFactory.deploy.ts
...tracts/deploy-l2/000-OVM_L2StandardTokenFactory.deploy.ts
+16
-22
OVM_L2StandardTokenFactory.json
...loyments/optimistic-kovan/OVM_L2StandardTokenFactory.json
+53
-0
No files found.
packages/contracts/deploy-l2/000-OVM_L2StandardTokenFactory.deploy.ts
View file @
ef5343d6
/* Imports: External */
import
{
ethers
}
from
'
hardhat
'
import
{
DeployFunction
}
from
'
hardhat-deploy/dist/types
'
/* Imports: Internal */
// eslint-disable-next-line prefer-arrow/prefer-arrow-functions
import
{
getContractDefinition
}
from
'
../src
'
async
function
main
()
{
const
l2TokenFactory
=
await
ethers
.
getContractFactory
(
const
deployFn
:
DeployFunction
=
async
(
hre
:
any
)
=>
{
'
OVM_L2StandardTokenFactory
'
const
{
deployments
,
getNamedAccounts
}
=
hre
const
{
deploy
}
=
deployments
const
{
deployer
}
=
await
getNamedAccounts
()
const
l2TokenFactory
=
getContractDefinition
(
'
OVM_L2StandardTokenFactory
'
,
true
)
)
const
l2StandardTokenFactory
=
await
l2TokenFactory
.
deploy
()
await
deploy
(
'
OVM_L2StandardTokenFactory
'
,
{
console
.
log
(
contract
:
l2TokenFactory
,
'
L2 Standard Token Factory deployed to:
'
,
args
:
[],
l2StandardTokenFactory
.
address
from
:
deployer
,
)
log
:
true
,
})
}
}
deployFn
.
tags
=
[
'
OVM_L2StandardTokenFactory
'
]
main
()
.
then
(()
=>
process
.
exit
(
0
))
export
default
deployFn
.
catch
((
error
)
=>
{
console
.
error
(
error
)
process
.
exit
(
1
)
})
packages/contracts/deployments/optimistic-kovan/OVM_L2StandardTokenFactory.json
0 → 100644
View file @
ef5343d6
This diff is collapsed.
Click to expand it.
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