package
0.0.2-rc1
Repository: https://github.com/akash-network/akash-api.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
MakeGroupID returns GroupID instance with provided deployment details and group sequence number.
NewDepositAuthorization creates a new DepositAuthorization object.
NewMsgDepositDeployment creates a new MsgDepositDeployment instance.
No description provided by the author
No description provided by the author
ParseDeploymentPath returns DeploymentID details with provided queries, and return error if occurred due to wrong query.

# Constants

DeploymentActive denotes state for deployment active.
DeploymentClosed denotes state for deployment closed.
Prefix should start with 0 in enum.
No description provided by the author
ModuleName is the module name constant used in many places.
RouterKey is the message route for deployment.
StoreKey is the store key string for deployment.

# Variables

No description provided by the author
No description provided by the author
ErrDeploymentClosed is the error when deployment is closed.
ErrDeploymentExists is the error when already deployment exists.
ErrDeploymentNotFound is the error when deployment not found.
ErrEmptyHash is the error when version is empty.
ErrGroupClosed is the error when deployment is closed.
ErrGroupNotFound is the keeper's error for not finding a group.
ErrGroupNotOpen indicates the Group state has progressed beyond initial Open.
ErrGroupOpen is the error when deployment is closed.
ErrGroupPaused is the error when deployment is closed.
ErrGroupSpecInvalid indicates a GroupSpec has invalid configuration.
ErrInternal is the error for internal error.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ErrInvalidDeployment = is the error when deployment does not pass validation.
ErrInvalidDeploymentDepositor indicates an invalid chain parameter.
ErrInvalidDeploymentID is the error for invalid deployment id.
ErrInvalidDeposit indicates an invalid deposit.
ErrInvalidGroupID is the error when already deployment exists.
ErrInvalidGroups is the error when groups are empty.
ErrInvalidHash is the error when version is invalid.
ErrInvalidIDPath indicates an invalid ID path.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ErrInvalidParam indicates an invalid chain parameter.
ErrInvalidRequest is the error for invalid request.
ErrNameDoesNotExist is the error when name does not exist.
ErrOwnerAcctMissing is the error for owner account missing.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Deployment stores deploymentID, state and checksum details.
DeploymentID stores owner and sequence number.
DepositDeploymentAuthorization allows the grantee to deposit up to spend_limit coins from the granter's account for a deployment.
EventDeploymentClosed is triggered when deployment is closed on chain.
EventDeploymentCreated event is triggered when deployment is created on chain.
EventDeploymentUpdated is triggered when deployment is updated on chain.
EventGroupClosed is triggered when deployment group is closed.
EventGroupPaused is triggered when deployment group is paused.
EventGroupStarted is triggered when deployment group is started.
GroupID stores owner, deployment sequence number and group sequence number.
MsgDepositDeployment deposits more funds into the deposit account.
MsgCreateDeploymentResponse defines the Msg/CreateDeployment response type.

# Type aliases

State is an enum which refers to state of deployment.