aldabra/crates/aldabra-dao/src
Kayos 702aae729f feat(escrow_wip): build_unsigned_escrow_settle builder
Plutus V3 spend that consumes an Agreed escrow whose lock window has
elapsed and pays the entire in_value to the recipient's enterprise
address. Validator gate: state==Agreed AND lower > agreed_at_ms +
lock_period_ms (strict gt). No signer required by validator.

Driver pays fee via funding utxo + collateral; doesn't need to be a
party (test asserts this — anyone can push Settle once the lock
elapses).

Made enterprise_address_for pub(super) in escrow_veto so settle and
refund_timeout can share it. Mirrors the validator's
pkh_to_base_address byte-for-byte.

5 tests: not-Agreed reject, lock-not-elapsed reject (off-by-one strict
gt), empty-escrow reject, happy-path pays full in_value, outsider
driver works.
2026-05-09 12:40:06 -07:00
..
agora feat(escrow_wip): EscrowDatum / EscrowRedeemer / EscrowValue codecs 2026-05-09 11:32:26 -07:00
builder feat(escrow_wip): build_unsigned_escrow_settle builder 2026-05-09 12:40:06 -07:00
config.rs audit: cargo fmt + clippy --fix across workspace + retract_votes cooldown bug fix 2026-05-09 10:27:48 -07:00
discovery.rs audit: cargo fmt + clippy --fix across workspace + retract_votes cooldown bug fix 2026-05-09 10:27:48 -07:00
error.rs feat(dao): scaffold aldabra-dao crate (Phase 1 reads) 2026-05-05 13:40:12 -07:00
lib.rs feat(dao): dao_discover_scripts MCP tool + Koios discovery client 2026-05-05 20:14:13 -07:00
reader.rs audit: cargo fmt + clippy --fix across workspace + retract_votes cooldown bug fix 2026-05-09 10:27:48 -07:00