Revert "feat(dao): Phase 4c-bis-1 + 4c-bis-2 — typed EffectsMap + GAT policy config"

This reverts commit d8dca8d119.
This commit is contained in:
Sulkta 2026-05-06 10:39:51 -07:00
parent d8dca8d119
commit 71dae49c0d
9 changed files with 41 additions and 285 deletions

View file

@ -1606,13 +1606,11 @@ impl WalletService {
proposal_addr,
stake_st_policy,
proposal_st_policy,
gat_policy,
governor_validator_ref,
stake_validator_ref,
proposal_validator_ref,
stake_st_policy_ref,
proposal_st_policy_ref,
gat_policy_ref,
}: DaoRegisterArgs,
) -> Result<String, String> {
let cfg = DaoConfig {
@ -1634,7 +1632,6 @@ impl WalletService {
proposal_addr,
stake_st_policy,
proposal_st_policy,
gat_policy,
script_refs: ScriptRefs {
governor_validator: governor_validator_ref,
stake_validator: stake_validator_ref,
@ -1642,7 +1639,6 @@ impl WalletService {
treasury_validator: None,
stake_st_policy: stake_st_policy_ref,
proposal_st_policy: proposal_st_policy_ref,
gat_policy_ref,
},
};
self.inner
@ -2894,11 +2890,6 @@ pub struct DaoRegisterArgs {
/// 56 hex chars — ProposalST minting policy id.
#[serde(default)]
pub proposal_st_policy: Option<String>,
/// 56 hex chars — Governance Authority Token (GAT) minting policy id.
/// Required for the Phase 4c-bis MintGATs path. Hand-populate from
/// the DAO's deployment params.
#[serde(default)]
pub gat_policy: Option<String>,
/// `txhash#index` reference UTxO carrying the governor validator script.
#[serde(default)]
pub governor_validator_ref: Option<String>,
@ -2914,9 +2905,6 @@ pub struct DaoRegisterArgs {
/// `txhash#index` reference UTxO carrying the ProposalST minting policy script.
#[serde(default)]
pub proposal_st_policy_ref: Option<String>,
/// `txhash#index` reference UTxO carrying the GAT minting policy script.
#[serde(default)]
pub gat_policy_ref: Option<String>,
}
#[derive(Debug, Deserialize, schemars::JsonSchema)]