ufomarketplace-sdk-new
Version:
SDK to interact with set ufo marketplace contracts
37 lines (36 loc) • 2.76 kB
TypeScript
import { Signer, ContractFactory, Overrides } from "ethers";
import type { Provider, TransactionRequest } from "@ethersproject/providers";
import type { UapInfo, UapInfoInterface } from "../../UapInfo.s.sol/UapInfo";
type UapInfoConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>;
export declare class UapInfo__factory extends ContractFactory {
constructor(...args: UapInfoConstructorParams);
deploy(overrides?: Overrides & {
from?: string;
}): Promise<UapInfo>;
getDeployTransaction(overrides?: Overrides & {
from?: string;
}): TransactionRequest;
attach(address: string): UapInfo;
connect(signer: Signer): UapInfo__factory;
static readonly bytecode = "0x6080604052600c805462ff00ff19166201000117905534801561002157600080fd5b50610262806100316000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063c04062261461003b578063f8ccbf4714610045575b600080fd5b61004361006c565b005b600c546100589062010000900460ff1681565b604051901515815260200160405180910390f35b6100986040518060400160405280600a815260200169626c6f636b2074696d6560b01b815250426100a2565b6100a06100eb565b565b6100e782826040516024016100b89291906101f8565b60408051601f198184030181529190526020810180516001600160e01b0316632d839cb360e21b1790526101ba565b5050565b60408051808201825260168152753d3d3d62616c616e6365206f662041646d696e3d3d3d60501b602082015290516370a0823160e01b815273bcd418c12cd9910dd5b33b1f8ee47ecc562732fc600482015273202dde4d4f51ad105ae43d6e5ebebde725227dfb916101b79183906370a082319060240160206040518083038186803b15801561017a57600080fd5b505afa15801561018e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101b291906101df565b6100a2565b50565b6101b78160006a636f6e736f6c652e6c6f679050600080835160208501845afa505050565b6000602082840312156101f157600080fd5b5051919050565b604081526000835180604084015260005b818110156102265760208187018101516060868401015201610209565b81811115610238576000606083860101525b50602083019390935250601f91909101601f19160160600191905056fea164736f6c6343000807000a";
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(): UapInfoInterface;
static connect(address: string, signerOrProvider: Signer | Provider): UapInfo;
}
export {};