set_auction
Last updated
An entrypoint that setups a new Auction contract (see Auction).
auction
address
An address of a new Auction contract
const dexCoreAddress = "KT1...";
const auctionAddress = "KT1...";
const dexCore = await tezos.contract.at(dexCoreAddress);
const operation = await dexCore.methods.set_auction(auctionAddress).send();
await operation.confirmation();400 - sender of the transaction is not current administrator.
412 - non payable entrypoint (can't accept TEZ tokens during call of an entrypoint).
Last updated