execute.gno

Execute

func Execute(
	cur realm,
	proposalId int64
) int64

Execute executes the given proposal.

Parameters

Name
Type
Description

cur

realm

Pass cross as argument.

proposalId

int64

The ID of the proposal to execute.

Return Values

Name
Type
Description

proposalId

int64

The ID of the proposal.

Cancel

Cancel cancels the proposal with the given ID.

Parameters

Name
Type
Description

cur

realm

Pass cross as argument.

proposalId

int64

The ID of the proposal to cancel.

Return Values

Name
Type
Description

proposalId

int64

The ID of the proposal.

Last updated