pub async fn custom_execute<C: Contract>(
    contract: &C,
    string: &str
) -> Result<Status, DeployError>
Examples found in repository?
src/commands.rs (line 58)
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
pub async fn execute_args<C, S>(cli: &Cli<C, S>) -> Result<Status, DeployError>
where
    C: Contract,
    S: Subcommand,
{
    match &cli.command {
        Commands::Update {} => update::<C, S>(),
        Commands::Init {} => init().await,
        Commands::Build { contracts } => build(contracts, &cli.cargo_args),
        Commands::Chain { add, delete } => chain(add, delete),
        Commands::Key { add, delete } => key(add, delete).await,
        Commands::Contract { add, delete } => contract(add, delete),
        Commands::Deploy { contracts, no_build } => deploy(contracts, no_build, &cli.cargo_args).await,
        Commands::Env { add, delete, select } => execute_env(add, delete, select),
        Commands::Schema { contracts } => schemas(contracts),
        Commands::StoreCode { contracts } => store_code(contracts).await,
        Commands::Instantiate { contracts } => instantiate(contracts).await,
        Commands::Migrate { contracts } => migrate(contracts, &cli.cargo_args).await,
        Commands::Execute { contract } => execute::<C>(contract).await,
        Commands::Cw20Send { contract } => cw20_send::<C>(contract).await,
        Commands::Cw20Transfer {} => cw20_transfer().await,
        Commands::ExecutePayload { contract, payload } => custom_execute(contract, payload).await,
        Commands::SetConfig { contracts } => set_config(contracts).await,
        Commands::Query { contract } => query::<C>(contract).await,
        Commands::SetUp { contracts } => set_up(contracts).await,
        Commands::CustomCommand { .. } => Ok(Status::Continue),
    }
}