@cowprotocol/cow-sdk
Version:
<p align="center"> <img width="400" src="https://github.com/cowprotocol/cow-sdk/raw/main/docs/images/CoW.png" /> </p>
82 lines (81 loc) • 2.95 kB
TypeScript
import { Signer } from "ethers";
import type { Provider } from "@ethersproject/providers";
import type { GPv2Settlement, GPv2SettlementInterface } from "../GPv2Settlement";
export declare class GPv2Settlement__factory {
static readonly abi: readonly [{
readonly anonymous: false;
readonly inputs: readonly [{
readonly indexed: true;
readonly internalType: "address";
readonly name: "owner";
readonly type: "address";
}, {
readonly indexed: false;
readonly internalType: "contract IERC20";
readonly name: "sellToken";
readonly type: "address";
}, {
readonly indexed: false;
readonly internalType: "contract IERC20";
readonly name: "buyToken";
readonly type: "address";
}, {
readonly indexed: false;
readonly internalType: "uint256";
readonly name: "sellAmount";
readonly type: "uint256";
}, {
readonly indexed: false;
readonly internalType: "uint256";
readonly name: "buyAmount";
readonly type: "uint256";
}, {
readonly indexed: false;
readonly internalType: "uint256";
readonly name: "feeAmount";
readonly type: "uint256";
}, {
readonly indexed: false;
readonly internalType: "bytes";
readonly name: "orderUid";
readonly type: "bytes";
}];
readonly name: "Trade";
readonly type: "event";
}, {
readonly inputs: readonly [{
readonly internalType: "bytes";
readonly name: "orderUid";
readonly type: "bytes";
}, {
readonly internalType: "bool";
readonly name: "signed";
readonly type: "bool";
}];
readonly name: "setPreSignature";
readonly outputs: readonly [];
readonly stateMutability: "nonpayable";
readonly type: "function";
}, {
readonly inputs: readonly [{
readonly internalType: "bytes";
readonly name: "orderUid";
readonly type: "bytes";
}];
readonly name: "invalidateOrder";
readonly outputs: readonly [];
readonly stateMutability: "nonpayable";
readonly type: "function";
}, {
readonly inputs: readonly [];
readonly name: "domainSeparator";
readonly outputs: readonly [{
readonly name: "";
readonly type: "bytes32";
}];
readonly stateMutability: "nonpayable";
readonly type: "function";
}];
static createInterface(): GPv2SettlementInterface;
static connect(address: string, signerOrProvider: Signer | Provider): GPv2Settlement;
}