UNPKG

@agoric/zoe

Version:

Zoe: the Smart Contract Framework for Offer Enforcement

12 lines 721 B
/** * @import {TransferPart, ZCF, ZCFSeat} from '@agoric/zoe'; */ export const TransferPartShape: import("@endo/patterns").Matcher; export function atomicRearrange(zcf: ZCF, transfers: TransferPart[]): void; export function fromOnly(fromSeat: ZCFSeat, fromAmounts: AmountKeywordRecord): TransferPart; export function toOnly(toSeat: ZCFSeat, toAmounts: AmountKeywordRecord): TransferPart; export function atomicTransfer(zcf: ZCF, fromSeat?: ZCFSeat, toSeat?: ZCFSeat, fromAmounts?: AmountKeywordRecord, toAmounts?: AmountKeywordRecord): void; import type { ZCF } from '@agoric/zoe'; import type { TransferPart } from '@agoric/zoe'; import type { ZCFSeat } from '@agoric/zoe'; //# sourceMappingURL=atomicTransfer.d.ts.map