Offers: { auction: { Bid: ((agoricNames,
opts) => OfferSpec); }; fluxAggregator: { PushPrice: ((_agoricNames,
opts,
previousOffer) => OfferSpec); }; psm: { swap: ((agoricNames,
instance,
opts) => OfferSpec); }; reserve: { AddCollateral: ((agoricNames,
opts) => OfferSpec); }; vaults: { AdjustBalances: ((agoricNames,
opts,
previousOffer) => OfferSpec); CloseVault: ((agoricNames,
opts,
previousOffer) => OfferSpec); OpenVault: ((agoricNames,
opts) => OfferSpec); }; } = ... Type declaration
auction: {
Bid: ((agoricNames, opts) => OfferSpec);
}
Bid: ((agoricNames, opts) => OfferSpec)
- (agoricNames, opts): OfferSpec
Parameters
agoricNames: Pick<AgoricNamesRemotes, "brand" | "vbankAsset">
opts: {
give: string;
maxBuy: string;
offerId: string;
wantMinimum?: string;
}
give: string
maxBuy: string
offerId: string
Optional
wantMinimum?: string
fluxAggregator: {
PushPrice: ((_agoricNames, opts, previousOffer) => OfferSpec);
}
PushPrice: ((_agoricNames, opts, previousOffer) => OfferSpec)
- (_agoricNames, opts, previousOffer): OfferSpec
Parameters
_agoricNames: unknown
opts: {
offerId: string;
roundId?: bigint;
unitPrice: bigint;
}
offerId: string
Optional
roundId?: bigint
unitPrice: bigint
previousOffer: string
psm: {
swap: ((agoricNames, instance, opts) => OfferSpec);
}
swap: ((agoricNames, instance, opts) => OfferSpec)
- (agoricNames, instance, opts): OfferSpec
Parameters
agoricNames: Pick<AgoricNamesRemotes, "brand">
opts: {
feePct?: number;
offerId: string;
pair: [string, string];
}
Optional
feePct?: number
offerId: string
pair: [string, string]
reserve: {
AddCollateral: ((agoricNames, opts) => OfferSpec);
}
AddCollateral: ((agoricNames, opts) => OfferSpec)
- (agoricNames, opts): OfferSpec
Parameters
agoricNames: Pick<AgoricNamesRemotes, "brand">
opts: {
collateralBrandKey: string;
give: number;
offerId: string;
}
collateralBrandKey: string
give: number
offerId: string
vaults: {
AdjustBalances: ((agoricNames, opts, previousOffer) => OfferSpec);
CloseVault: ((agoricNames, opts, previousOffer) => OfferSpec);
OpenVault: ((agoricNames, opts) => OfferSpec);
}
AdjustBalances: ((agoricNames, opts, previousOffer) => OfferSpec)
- (agoricNames, opts, previousOffer): OfferSpec
Parameters
agoricNames: Pick<AgoricNamesRemotes, "brand">
opts: {
collateralBrandKey?: string;
giveCollateral?: number;
giveMinted?: number;
offerId: string;
wantCollateral?: number;
wantMinted?: number;
}
Optional
collateralBrandKey?: string
Optional
giveCollateral?: number
Optional
giveMinted?: number
offerId: string
Optional
wantCollateral?: number
Optional
wantMinted?: number
previousOffer: string
CloseVault: ((agoricNames, opts, previousOffer) => OfferSpec)
- (agoricNames, opts, previousOffer): OfferSpec
Parameters
agoricNames: Pick<AgoricNamesRemotes, "brand">
opts: {
collateralBrandKey?: string;
giveMinted: number;
offerId: string;
}
Optional
collateralBrandKey?: string
giveMinted: number
offerId: string
previousOffer: string
OpenVault: ((agoricNames, opts) => OfferSpec)
- (agoricNames, opts): OfferSpec
Parameters
agoricNames: Pick<AgoricNamesRemotes, "brand">
opts: {
collateralBrandKey: string;
giveCollateral: number;
offerId: string;
wantMinted: number;
}
collateralBrandKey: string
giveCollateral: number
offerId: string
wantMinted: number