aldabra/crates
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
..
aldabra-chain audit: cargo fmt + clippy --fix across workspace + retract_votes cooldown bug fix 2026-05-09 10:27:48 -07:00
aldabra-core audit: cargo fmt + clippy --fix across workspace + retract_votes cooldown bug fix 2026-05-09 10:27:48 -07:00
aldabra-dao feat(escrow_wip): build_unsigned_escrow_settle builder 2026-05-09 12:40:06 -07:00
aldabra-mcp audit: cargo fmt + clippy --fix across workspace + retract_votes cooldown bug fix 2026-05-09 10:27:48 -07:00