@q-dev/q-js-sdk
Version:
Typescript Library to interact with Q System Contracts
213 lines (212 loc) • 7.34 kB
TypeScript
import { Signer } from "ethers";
import type { Provider } from "@ethersproject/providers";
import type { SystemDebtAuction, SystemDebtAuctionInterface } from "../SystemDebtAuction";
export declare class SystemDebtAuction__factory {
static readonly abi: readonly [{
readonly inputs: readonly [];
readonly stateMutability: "nonpayable";
readonly type: "constructor";
}, {
readonly anonymous: false;
readonly inputs: readonly [{
readonly indexed: true;
readonly internalType: "uint256";
readonly name: "_auctionId";
readonly type: "uint256";
}, {
readonly indexed: true;
readonly internalType: "address";
readonly name: "_bidder";
readonly type: "address";
}, {
readonly indexed: false;
readonly internalType: "uint256";
readonly name: "_bid";
readonly type: "uint256";
}];
readonly name: "AuctionStarted";
readonly type: "event";
}, {
readonly anonymous: false;
readonly inputs: readonly [{
readonly indexed: true;
readonly internalType: "uint256";
readonly name: "_auctionId";
readonly type: "uint256";
}, {
readonly indexed: true;
readonly internalType: "address";
readonly name: "_bidder";
readonly type: "address";
}, {
readonly indexed: false;
readonly internalType: "uint256";
readonly name: "_bid";
readonly type: "uint256";
}];
readonly name: "Bid";
readonly type: "event";
}, {
readonly anonymous: false;
readonly inputs: readonly [{
readonly indexed: true;
readonly internalType: "uint256";
readonly name: "_auctionId";
readonly type: "uint256";
}, {
readonly indexed: true;
readonly internalType: "address";
readonly name: "_bidder";
readonly type: "address";
}, {
readonly components: readonly [{
readonly internalType: "enum SystemDebtAuction.AuctionStatus";
readonly name: "status";
readonly type: "uint8";
}, {
readonly internalType: "address";
readonly name: "bidder";
readonly type: "address";
}, {
readonly internalType: "uint256";
readonly name: "highestBid";
readonly type: "uint256";
}, {
readonly internalType: "uint256";
readonly name: "endTime";
readonly type: "uint256";
}, {
readonly internalType: "uint256";
readonly name: "reserveLot";
readonly type: "uint256";
}];
readonly indexed: false;
readonly internalType: "struct SystemDebtAuction.AuctionInfo";
readonly name: "_info";
readonly type: "tuple";
}];
readonly name: "Executed";
readonly type: "event";
}, {
readonly inputs: readonly [{
readonly internalType: "uint256";
readonly name: "";
readonly type: "uint256";
}];
readonly name: "auctions";
readonly outputs: readonly [{
readonly internalType: "enum SystemDebtAuction.AuctionStatus";
readonly name: "status";
readonly type: "uint8";
}, {
readonly internalType: "address";
readonly name: "bidder";
readonly type: "address";
}, {
readonly internalType: "uint256";
readonly name: "highestBid";
readonly type: "uint256";
}, {
readonly internalType: "uint256";
readonly name: "endTime";
readonly type: "uint256";
}, {
readonly internalType: "uint256";
readonly name: "reserveLot";
readonly type: "uint256";
}];
readonly stateMutability: "view";
readonly type: "function";
}, {
readonly inputs: readonly [];
readonly name: "currentAuctionId";
readonly outputs: readonly [{
readonly internalType: "uint256";
readonly name: "";
readonly type: "uint256";
}];
readonly stateMutability: "view";
readonly type: "function";
}, {
readonly stateMutability: "payable";
readonly type: "receive";
}, {
readonly inputs: readonly [{
readonly internalType: "address";
readonly name: "_registry";
readonly type: "address";
}, {
readonly internalType: "string";
readonly name: "_stc";
readonly type: "string";
}];
readonly name: "initialize";
readonly outputs: readonly [];
readonly stateMutability: "nonpayable";
readonly type: "function";
}, {
readonly inputs: readonly [{
readonly internalType: "uint256";
readonly name: "_bid";
readonly type: "uint256";
}];
readonly name: "startAuction";
readonly outputs: readonly [{
readonly internalType: "bool";
readonly name: "";
readonly type: "bool";
}];
readonly stateMutability: "nonpayable";
readonly type: "function";
}, {
readonly inputs: readonly [{
readonly internalType: "uint256";
readonly name: "_bid";
readonly type: "uint256";
}];
readonly name: "bid";
readonly outputs: readonly [{
readonly internalType: "bool";
readonly name: "";
readonly type: "bool";
}];
readonly stateMutability: "nonpayable";
readonly type: "function";
}, {
readonly inputs: readonly [];
readonly name: "execute";
readonly outputs: readonly [{
readonly internalType: "bool";
readonly name: "";
readonly type: "bool";
}];
readonly stateMutability: "nonpayable";
readonly type: "function";
}, {
readonly inputs: readonly [{
readonly internalType: "uint256";
readonly name: "_auctionId";
readonly type: "uint256";
}];
readonly name: "getRaisingBid";
readonly outputs: readonly [{
readonly internalType: "uint256";
readonly name: "";
readonly type: "uint256";
}];
readonly stateMutability: "view";
readonly type: "function";
}, {
readonly inputs: readonly [];
readonly name: "hasActiveAuction";
readonly outputs: readonly [{
readonly internalType: "bool";
readonly name: "";
readonly type: "bool";
}];
readonly stateMutability: "view";
readonly type: "function";
}];
static createInterface(): SystemDebtAuctionInterface;
static connect(address: string, signerOrProvider: Signer | Provider): SystemDebtAuction;
}