API documentation of Agoric SDK / Exports / @agoric/zoe / src/contractSupport/types / SeatGainsLossesRecord
Interface: SeatGainsLossesRecord
@agoric/zoe.src/contractSupport/types.SeatGainsLossesRecord
Table of contents
Properties
Properties
gains
• gains: AmountKeywordRecord
what the seat will gain as a result of this trade
Defined in
zoe/src/contractSupport/types.js:8
losses
• losses: AmountKeywordRecord
what the seat [will] give up as a result of this trade. Losses is optional, but can only be omitted if the keywords for both seats are the same. If losses is not defined, the gains of the other seat is subtracted.
Defined in
zoe/src/contractSupport/types.js:10
seat
• seat: ZCFSeat