Skip to content

Commit

Permalink
Add owner
Browse files Browse the repository at this point in the history
  • Loading branch information
fewensa committed Apr 25, 2024
1 parent f7364ae commit d984ebc
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 10 deletions.
13 changes: 13 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 2
trim_trailing_whitespace = true

[*.md]
max_line_length = 80

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ out/
# Node
node_modules/
dist/

*.local.*
6 changes: 3 additions & 3 deletions src/1_Action.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {Base} from "./common/Base.sol";
interface III {}

contract Action1 is Base {
function run() public sphinx {
// your script
}
function run() public sphinx {
// your script
}
}
22 changes: 15 additions & 7 deletions src/common/Base.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,19 @@ import {Script} from "forge-std/Script.sol";
import "@sphinx-labs/contracts/SphinxPlugin.sol";

contract Base is Sphinx, Script {
function configureSphinx() public override {
sphinxConfig.owners = [];
sphinxConfig.orgId = "cluanacaw000111jik4xs4wkl";
sphinxConfig.threshold = 0;
sphinxConfig.projectName = "Relayer-Automation";
sphinxConfig.mainnets = [];
}
function configureSphinx() public override {
sphinxConfig.owners = [
0x570FCA2c6f902949dBb90664Be5680fEc94A84f6, // jane
0xC5a809900B5BFb46B1B3892e419e69331B8FBC6c, // perror
0x3f63bCe51d3C6665BfE919816780a2109D42238d // fewensa
];
sphinxConfig.orgId = 'cluanacaw000111jik4xs4wkl';
sphinxConfig.threshold = 2;
sphinxConfig.projectName = 'Relayer-Automation';
sphinxConfig.mainnets = [
'darwinia',
'ethereum',
'arbitrum'
];
}
}

0 comments on commit d984ebc

Please sign in to comment.