forked from sphinx-labs/sphinx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ba24573
commit ad6a5be
Showing
6 changed files
with
70 additions
and
157 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@chugsplash/demo': patch | ||
'@chugsplash/plugins': patch | ||
--- | ||
|
||
Update plugins README and demo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,21 @@ | ||
import { UserChugSplashConfig } from '@chugsplash/core' | ||
import { ChugSplashConfig } from '@chugsplash/core' | ||
|
||
const config: UserChugSplashConfig = { | ||
const config: ChugSplashConfig = { | ||
// Configuration options for the project: | ||
options: { | ||
projectName: 'My First Project', | ||
}, | ||
// Below, we define all of the contracts in the deployment along with their state variables. | ||
contracts: { | ||
// First contract config: | ||
FirstSimpleStorage: { | ||
contract: 'SimpleStorage', | ||
variables: { | ||
number: 1, | ||
stored: true, | ||
storageName: 'First', | ||
otherStorage: { '!Ref': 'SecondSimpleStorage' }, // Reference to SecondSimpleStorage | ||
}, | ||
}, | ||
// Second contract config: | ||
SecondSimpleStorage: { | ||
contract: 'SimpleStorage', | ||
variables: { | ||
number: 2, | ||
stored: true, | ||
storageName: 'Second', | ||
otherStorage: '0x1111111111111111111111111111111111111111', | ||
}, | ||
}, | ||
}, | ||
} | ||
|
||
export default config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters