@f5i23q999d/cow-sdk
Version:
<p align="center"> <img width="400" src="https://github.com/cowprotocol/cow-sdk/raw/main/docs/images/CoW.png" /> </p>
112 lines • 2.92 kB
JavaScript
;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.GPv2Settlement__factory = void 0;
const ethers_1 = require("ethers");
const _abi = [
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: "address",
name: "owner",
type: "address",
},
{
indexed: false,
internalType: "contract IERC20",
name: "sellToken",
type: "address",
},
{
indexed: false,
internalType: "contract IERC20",
name: "buyToken",
type: "address",
},
{
indexed: false,
internalType: "uint256",
name: "sellAmount",
type: "uint256",
},
{
indexed: false,
internalType: "uint256",
name: "buyAmount",
type: "uint256",
},
{
indexed: false,
internalType: "uint256",
name: "feeAmount",
type: "uint256",
},
{
indexed: false,
internalType: "bytes",
name: "orderUid",
type: "bytes",
},
],
name: "Trade",
type: "event",
},
{
inputs: [
{
internalType: "bytes",
name: "orderUid",
type: "bytes",
},
{
internalType: "bool",
name: "signed",
type: "bool",
},
],
name: "setPreSignature",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "bytes",
name: "orderUid",
type: "bytes",
},
],
name: "invalidateOrder",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [],
name: "domainSeparator",
outputs: [
{
name: "",
type: "bytes32",
},
],
stateMutability: "nonpayable",
type: "function",
},
];
class GPv2Settlement__factory {
static abi = _abi;
static createInterface() {
return new ethers_1.utils.Interface(_abi);
}
static connect(address, signerOrProvider) {
return new ethers_1.Contract(address, _abi, signerOrProvider);
}
}
exports.GPv2Settlement__factory = GPv2Settlement__factory;
//# sourceMappingURL=GPv2Settlement__factory.js.map