-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add working cmds remove unrelated changes remove unrelated changes unsigned tx add some tests comment add readme more allocations basic show command update with latest contracts add more code add more code working slashing %age and comments update with latest contracts Update show.go (#226) updated to latest AM updated to latest AM updated to latest AM update eigensdk update with latest contracts update with latest contracts update allocation delay cmd update with latest contracts added registered/deregistered operator sets only show deregister if there's any allocation left UAM Command Schema with CanCall Implementation (#244) Co-authored-by: Brandon Chatham <[email protected]> fix: tests and fmt (#249) Implementing `list` and `list_permissions` Commands. (#248) Co-authored-by: Brandon Chatham <[email protected]>
- Loading branch information
1 parent
d41fc29
commit 070a30e
Showing
52 changed files
with
3,891 additions
and
25 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 |
---|---|---|
|
@@ -8,6 +8,7 @@ operator-config.yaml.old | |
operator.yaml | ||
operator.yaml.old | ||
config/* | ||
updates.csv | ||
|
||
# build | ||
dist/ |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
package flags | ||
|
||
import "github.com/urfave/cli/v2" | ||
|
||
var ( | ||
AVSAddressesFlag = cli.StringSliceFlag{ | ||
Name: "avs-addresses", | ||
Usage: "AVS addresses", | ||
Aliases: []string{"aa"}, | ||
EnvVars: []string{"AVS_ADDRESSES"}, | ||
} | ||
|
||
AVSAddressFlag = cli.StringFlag{ | ||
Name: "avs-address", | ||
Usage: "AVS addresses", | ||
Aliases: []string{"aa"}, | ||
EnvVars: []string{"AVS_ADDRESS"}, | ||
} | ||
|
||
StrategyAddressesFlag = cli.StringSliceFlag{ | ||
Name: "strategy-addresses", | ||
Usage: "Strategy addresses", | ||
Aliases: []string{"sa"}, | ||
EnvVars: []string{"STRATEGY_ADDRESSES"}, | ||
} | ||
|
||
StrategyAddressFlag = cli.StringFlag{ | ||
Name: "strategy-address", | ||
Usage: "Strategy addresses", | ||
Aliases: []string{"sa"}, | ||
EnvVars: []string{"STRATEGY_ADDRESS"}, | ||
} | ||
|
||
OperatorSetIdFlag = cli.Uint64Flag{ | ||
Name: "operator-set-id", | ||
Usage: "Operator set ID", | ||
Aliases: []string{"osid"}, | ||
EnvVars: []string{"OPERATOR_SET_ID"}, | ||
} | ||
|
||
OperatorSetIdsFlag = cli.Uint64SliceFlag{ | ||
Name: "operator-set-ids", | ||
Usage: "Operator set IDs. Comma separated list of operator set IDs", | ||
Aliases: []string{"osids"}, | ||
EnvVars: []string{"OPERATOR_SET_IDS"}, | ||
} | ||
) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package operator | ||
|
||
import ( | ||
"github.com/Layr-Labs/eigenlayer-cli/pkg/operator/allocations" | ||
"github.com/Layr-Labs/eigenlayer-cli/pkg/utils" | ||
"github.com/urfave/cli/v2" | ||
) | ||
|
||
func AllocationsCmd(p utils.Prompter) *cli.Command { | ||
var allocationsCmd = &cli.Command{ | ||
Name: "allocations", | ||
Usage: "Stake allocation commands for operators", | ||
Subcommands: []*cli.Command{ | ||
allocations.ShowCmd(p), | ||
allocations.UpdateCmd(p), | ||
allocations.SetDelayCmd(p), | ||
}, | ||
} | ||
|
||
return allocationsCmd | ||
} |
Oops, something went wrong.