UNPKG

ufomarketplace-sdk-new

Version:

SDK to interact with set ufo marketplace contracts

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