Skip to content

Latest commit

 

History

History
71 lines (36 loc) · 2.09 KB

File metadata and controls

71 lines (36 loc) · 2.09 KB

@grainlify/contracts-sdk


@grainlify/contracts-sdk / Escrow

Interface: Escrow

Defined in: src/bounty-escrow-client.ts:66

Current state for one bounty escrow.

Properties

amount

amount: bigint

Defined in: src/bounty-escrow-client.ts:70

Original locked amount in the contract token's smallest unit.


deadline

deadline: number

Defined in: src/bounty-escrow-client.ts:76

Unix timestamp used by refund eligibility checks.


depositor

depositor: string

Defined in: src/bounty-escrow-client.ts:68

Stellar account that deposited the escrow funds.


refund_history

refund_history: RefundRecord[]

Defined in: src/bounty-escrow-client.ts:78

Refund events recorded for this escrow.


remaining_amount

remaining_amount: bigint

Defined in: src/bounty-escrow-client.ts:72

Remaining escrow balance after releases or partial refunds.


status

status: EscrowStatus

Defined in: src/bounty-escrow-client.ts:74

Current on-chain escrow lifecycle state.