UNPKG

ufomarketplace-sdk-new

Version:

SDK to interact with set ufo marketplace contracts

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