ufomarketplace-sdk-new
Version:
SDK to interact with set ufo marketplace contracts
37 lines (36 loc) • 3.31 kB
TypeScript
import { Signer, ContractFactory, Overrides } from "ethers";
import type { Provider, TransactionRequest } from "@ethersproject/providers";
import type { UapWrite, UapWriteInterface } from "../../UapWrite.s.sol/UapWrite";
type UapWriteConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>;
export declare class UapWrite__factory extends ContractFactory {
constructor(...args: UapWriteConstructorParams);
deploy(overrides?: Overrides & {
from?: string;
}): Promise<UapWrite>;
getDeployTransaction(overrides?: Overrides & {
from?: string;
}): TransactionRequest;
attach(address: string): UapWrite;
connect(signer: Signer): UapWrite__factory;
static readonly bytecode = "0x6080604052600c805462ff00ff19166201000117905534801561002157600080fd5b50610372806100316000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063c04062261461003b578063f8ccbf4714610045575b600080fd5b61004361006c565b005b600c546100589062010000900460ff1681565b604051901515815260200160405180910390f35b6100986040518060400160405280600a815260200169626c6f636b2074696d6560b01b815250426100a2565b6100a06100eb565b565b6100e782826040516024016100b8929190610308565b60408051601f198184030181529190526020810180516001600160e01b0316632d839cb360e21b1790526102c2565b5050565b60405163c1978d1f60e01b815260206004820152600560248201526420b236b4b760d91b6044820152600090737109709ecfa91a80626ff3989d68f67f5b1dd12d9063c1978d1f9060640160206040518083038186803b15801561014e57600080fd5b505afa158015610162573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061018691906102ef565b60405163ce817d4760e01b81526004810182905290915073a6bf63819cecf9c7b80e2d5cb7babf9d886252b090737109709ecfa91a80626ff3989d68f67f5b1dd12d9063ce817d4790602401600060405180830381600087803b1580156101ec57600080fd5b505af1158015610200573d6000803e3d6000fd5b50505050806001600160a01b031663ba0bba406040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561023f57600080fd5b505af1158015610253573d6000803e3d6000fd5b50505050737109709ecfa91a80626ff3989d68f67f5b1dd12d6001600160a01b03166376eadd366040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156102a657600080fd5b505af11580156102ba573d6000803e3d6000fd5b505050505050565b6102cb816102ce565b50565b60006a636f6e736f6c652e6c6f679050600080835160208501845afa505050565b60006020828403121561030157600080fd5b5051919050565b604081526000835180604084015260005b818110156103365760208187018101516060868401015201610319565b81811115610348576000606083860101525b50602083019390935250601f91909101601f19160160600191905056fea164736f6c6343000807000a";
static readonly abi: readonly [{
readonly type: "function";
readonly name: "IS_SCRIPT";
readonly inputs: readonly [];
readonly outputs: readonly [{
readonly name: "";
readonly type: "bool";
readonly internalType: "bool";
}];
readonly stateMutability: "view";
}, {
readonly type: "function";
readonly name: "run";
readonly inputs: readonly [];
readonly outputs: readonly [];
readonly stateMutability: "nonpayable";
}];
static createInterface(): UapWriteInterface;
static connect(address: string, signerOrProvider: Signer | Provider): UapWrite;
}
export {};