UNPKG

ufomarketplace-sdk-new

Version:

SDK to interact with set ufo marketplace contracts

37 lines (36 loc) 2.88 kB
import { Signer, ContractFactory, Overrides } from "ethers"; import type { Provider, TransactionRequest } from "@ethersproject/providers"; import type { SuperGalaticFactoryInfo, SuperGalaticFactoryInfoInterface } from "../../UfoMarketplace.s.sol/SuperGalaticFactoryInfo"; type SuperGalaticFactoryInfoConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>; export declare class SuperGalaticFactoryInfo__factory extends ContractFactory { constructor(...args: SuperGalaticFactoryInfoConstructorParams); deploy(overrides?: Overrides & { from?: string; }): Promise<SuperGalaticFactoryInfo>; getDeployTransaction(overrides?: Overrides & { from?: string; }): TransactionRequest; attach(address: string): SuperGalaticFactoryInfo; connect(signer: Signer): SuperGalaticFactoryInfo__factory; static readonly bytecode = "0x6080604052600c805462ff00ff19166201000117905534801561002157600080fd5b50610249806100316000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063c04062261461003b578063f8ccbf4714610045575b600080fd5b61004361006c565b005b600c546100589062010000900460ff1681565b604051901515815260200160405180910390f35b610074610076565b565b60007331753a53856e8bbcc5edf49242dbefb73b3f780a9050610135604051806040016040528060148152602001733d3d3d6261636b656e64207369676e65723d3d3d60601b815250826001600160a01b03166365d65e866040518163ffffffff1660e01b815260040160206040518083038186803b1580156100f857600080fd5b505afa15801561010c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061013091906101a6565b610138565b50565b61017d828260405160240161014e9291906101d6565b60408051601f198184030181529190526020810180516001600160e01b031663319af33360e01b179052610181565b5050565b6101358160006a636f6e736f6c652e6c6f679050600080835160208501845afa505050565b6000602082840312156101b857600080fd5b81516001600160a01b03811681146101cf57600080fd5b9392505050565b604081526000835180604084015260005b8181101561020457602081870181015160608684010152016101e7565b81811115610216576000606083860101525b506001600160a01b0393909316602083015250601f91909101601f19160160600191905056fea164736f6c6343000807000a"; 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: "view"; }]; static createInterface(): SuperGalaticFactoryInfoInterface; static connect(address: string, signerOrProvider: Signer | Provider): SuperGalaticFactoryInfo; } export {};