我有个关于取消在大都会拍卖行拍卖的问题。
我目前正在创建一个带有以下说明的拍卖:
const accounts = {
auctionHouseProgram,
listingConfig,
wallet,
tokenAccount,
metadata,
authority,
auctionHouse,
auctionHouseFeeAccount,
sellerTradeState,
freeSellerTradeState,
auctioneerAuthority,
ahAuctioneerPda,
programAsSigner
};
const args {
tradeStateBump,
freeTradeStateBump,
programAsSignerBump,
auctioneerAuthorityBump,
tokenSize,
startTime,
endTime,
reservePrice,
minBidIncrement,
timeExtPeriod,
timeExtDelta,
allowHighBidCancel,
}
Auctioneer.createSellInstruction(acounts, args);有办法取消这种类型的上市拍卖吗?
我知道其他类型的清单(如AuctionHouse.createSellInstruction (https://github.com/metaplex-foundation/metaplex-program-library/blob/master/auction-house/js/src/generated/instructions/sell.ts) )确实有一个Cancel指令,我以前使用过它们。
但我怎样才能取消英国的拍卖类型呢?有可能吗?比如,如果我不小心拍卖了多年,或者列出了一个错误的配置值,该怎么办?
所有取消指令都以buyerPrice作为参数。但在这种情况下,不存在buyerPrice,而是使用reservePrice。
我尝试将buyerPrice传递为18446744073709551615,以尝试执行Auctioneer.createCancelInstruction,这与我用来创建列出它的TradeState的buyerPrice值相同。但我得到了以下错误:
2: "Program log: AnchorError caused by account: token_account. Error Code: AccountOwnedByWrongProgram. Error Number: 3007. Error Message: The given account is owned by a different program than expected."
3: "Program log: Left:"
4: "Program log: 11111111111111111111111111111111"
5: "Program log: Right:"
6: "Program log: TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"还有..。
ListingReceipt?我想要跟踪创建日期,取消日期等。Address { address: GkX7ZE4sz6mtvueoWT6KGpjZLUd3wkohy3ha3VZNh2Fz, base: None } already in use,所以我相信取消是必要的。因为现在这是一个奇怪的未知状态,拍卖已经结束,由于时间限制和令牌不能再次列出。发布于 2022-08-01 19:00:16
您可以使用这取消您的列表。
https://stackoverflow.com/questions/73167995
复制相似问题