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