Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
f71e79af
Commit
f71e79af
authored
Oct 29, 2020
by
aniket-engg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
license added in example contracts
parent
c6c559e0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
example-contracts.js
apps/remix-ide/src/app/editor/example-contracts.js
+8
-4
No files found.
apps/remix-ide/src/app/editor/example-contracts.js
View file @
f71e79af
'use strict'
'use strict'
const
storage
=
`pragma solidity >=0.7.0 <0.8.0;
const
storage
=
`// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.8.0;
/**
/**
* @title Storage
* @title Storage
...
@@ -27,7 +28,8 @@ contract Storage {
...
@@ -27,7 +28,8 @@ contract Storage {
}
}
}`
}`
const
owner
=
`pragma solidity >=0.7.0 <0.8.0;
const
owner
=
`// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.8.0;
/**
/**
* @title Owner
* @title Owner
...
@@ -77,7 +79,8 @@ contract Owner {
...
@@ -77,7 +79,8 @@ contract Owner {
}
}
}`
}`
const
ballot
=
`pragma solidity >=0.7.0 <0.8.0;
const
ballot
=
`// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.8.0;
/**
/**
* @title Ballot
* @title Ballot
...
@@ -215,7 +218,8 @@ contract Ballot {
...
@@ -215,7 +218,8 @@ contract Ballot {
}
}
`
`
var
ballotTest
=
`pragma solidity >=0.7.0 <0.8.0;
var
ballotTest
=
`// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.8.0;
import "remix_tests.sol"; // this import is automatically injected by Remix.
import "remix_tests.sol"; // this import is automatically injected by Remix.
import "../3_Ballot.sol";
import "../3_Ballot.sol";
...
...
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