Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update autopilot schema #1081

Open
sampocs opened this issue Jan 17, 2024 · 0 comments
Open

Update autopilot schema #1081

sampocs opened this issue Jan 17, 2024 · 0 comments

Comments

@sampocs
Copy link
Collaborator

sampocs commented Jan 17, 2024

Update schema to remove the module abstraction and use different action types. Started on #1080

{
	"autopilot": {
		"claim": {}
	}
}
{
	"autopilot": {
		stakeibc": {
			"action": "LiquidStake",
			"ibc_receiver": "cosmosXXX",    // optional
			"transfer_channel": "channel-0" // optional,
			"memo": "..."
		},
	}
}

to

{
	"autopilot": {
		"action": "LiquidStake",
	}
}
{
	"autopilot": {
		"action": "LiquidStakeAndForward",
		"ibc_receiver": "cosmosXXX",   
		"transfer_channel": "channel-0" // optional
	}
}
{
	"autopilot": {
		"action": "RedeemStake",
		"redemption_receiver": "cosmosXXX", 
	}
}
{
	"autopilot": {
		"action": "AirdropClaim", 
	}
}

Effort started on #

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant