Resolution period
The buyer raised a dispute. The buyer and seller can try to mutually resolve it. If they are unable to do so, the buyer can escalate the dispute and dispute resolve then decides the split.
Previous state
State
Next state(s)
Period actions
Seller
Buyer
Dispute resolver
Post-period actions
Seller
Buyer
Dispute resolver
TypeScript SDK
const exchangeId = "1534";
const newTimeout = Date.now()/1000 + 5 * 24 * 60 * 60;
await sellerCoreSDK.extendDisputeTimeout(
exchangeId,
newTimeout
);The buyer signs the proposal; the seller submits the transaction
const exchangeId = "1534";
const buyerPercentBasisPoints = 30_00;
const {
r: sigR,
s: sigS,
v: sigV
} = await buyerCoreSDK.signDisputeResolutionProposal({
exchangeId,
buyerPercentBasisPoints
});
await sellerCoreSDK.resolveDispute({
exchangeId: exchangeId,
buyerPercentBasisPoints,
sigR,
sigS,
sigV
});The seller signs the proposal; the buyer submits the transaction
Solidity
Last updated