UNPKG

ufomarketplace-sdk-new

Version:

SDK to interact with set ufo marketplace contracts

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