Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "migrate", Short: "Migrate your Cadence project to 1.0", TraverseChildren: true, GroupID: "migrate", }
View Source
var IsStagedCommand = &command.Command{ Cmd: &cobra.Command{ Use: "is-staged <CONTRACT_NAME>", Short: "checks to see if the contract is staged for migration", Example: `flow migrate is-staged HelloWorld`, Args: cobra.MinimumNArgs(1), }, Flags: &isStagedflags, RunS: isStaged, }
View Source
var IsValidatedCommand = &command.Command{ Cmd: &cobra.Command{ Use: "is-validated <CONTRACT_NAME>", Short: "checks to see if the contract has passed the last emulated migration", Example: `flow migrate is-validated HelloWorld`, Args: cobra.MinimumNArgs(1), }, Flags: &isValidatedflags, RunS: isValidated, }
Functions ¶
func MigrationContractStagingAddress ¶
func MigrationContractStagingAddress(network string) flow.Address
MigrationContractStagingAddress returns the address of the migration contract on the given network
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.