Skip to content

Commit

Permalink
rm rudiment
Browse files Browse the repository at this point in the history
  • Loading branch information
quasisamurai committed Aug 24, 2023
1 parent c2d16c9 commit c29a31c
Showing 1 changed file with 0 additions and 57 deletions.
57 changes: 0 additions & 57 deletions packages/neutron-sdk/src/bindings/msg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -438,28 +438,6 @@ pub struct ParamChange {
pub value: String,
}

#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, Eq, JsonSchema)]
#[serde(rename_all = "snake_case")]
/// SoftwareUpgradeProposal defines the struct for software upgrade proposal.
pub struct SoftwareUpgradeProposal {
/// **title** is a text title of proposal. Non unique.
pub title: String,
/// **description** is a text description of proposal. Non unique.
pub description: String,
/// **plan** is a plan of upgrade.
pub plan: Plan,
}

#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, Eq, JsonSchema)]
#[serde(rename_all = "snake_case")]
/// CancelSoftwareUpgradeProposal defines the struct for cancel software upgrade proposal.
pub struct CancelSoftwareUpgradeProposal {
/// **title** is a text title of proposal. Non unique.
pub title: String,
/// **description** is a text description of proposal. Non unique.
pub description: String,
}

#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, Eq, JsonSchema)]
#[serde(rename_all = "snake_case")]
/// Plan defines the struct for planned upgrade.
Expand Down Expand Up @@ -500,30 +478,6 @@ pub struct ClientUpdateProposal {
pub substitute_client_id: String,
}

#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, Eq, JsonSchema)]
#[serde(rename_all = "snake_case")]
/// PinCodesProposal defines the struct for pin contract codes proposal.
pub struct PinCodesProposal {
/// **title** is a text title of proposal.
pub title: String,
/// **description** is a text description of proposal.
pub description: String,
/// **code_ids** is an array of codes to be pined.
pub code_ids: Vec<u64>,
}

#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, Eq, JsonSchema)]
#[serde(rename_all = "snake_case")]
/// UnpinCodesProposal defines the struct for unpin contract codes proposal.
pub struct UnpinCodesProposal {
/// **title** is a text title of proposal.
pub title: String,
/// **description** is a text description of proposal.
pub description: String,
/// **code_ids** is an array of codes to be unpined.
pub code_ids: Vec<u64>,
}

#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, Eq, JsonSchema)]
#[serde(rename_all = "snake_case")]
/// SudoContractProposal defines the struct for sudo execution proposal.
Expand Down Expand Up @@ -552,17 +506,6 @@ pub struct UpdateAdminProposal {
pub contract: String,
}

#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, Eq, JsonSchema)]
#[serde(rename_all = "snake_case")]
/// SudoContractProposal defines the struct for clear admin proposal.
pub struct ClearAdminProposal {
/// **title** is a text title of proposal.
pub title: String,
/// **description** is a text description of proposal.
pub description: String,
/// **contract** is an address of contract admin will be removed.
pub contract: String,
}

#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, Eq, JsonSchema)]
#[serde(rename_all = "snake_case")]
Expand Down

0 comments on commit c29a31c

Please sign in to comment.