UNPKG

@thirdweb-dev/contracts-js

Version:
45 lines 3.08 kB
import { Signer, ContractFactory, Overrides } from "ethers"; import type { Provider, TransactionRequest } from "@ethersproject/providers"; import type { ERC2771Context, ERC2771ContextInterface } from "../ERC2771Context"; type ERC2771ContextConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>; export declare class ERC2771Context__factory extends ContractFactory { constructor(...args: ERC2771ContextConstructorParams); deploy(trustedForwarder: string[], overrides?: Overrides & { from?: string | Promise<string>; }): Promise<ERC2771Context>; getDeployTransaction(trustedForwarder: string[], overrides?: Overrides & { from?: string | Promise<string>; }): TransactionRequest; attach(address: string): ERC2771Context; connect(signer: Signer): ERC2771Context__factory; static readonly bytecode = "0x608060405234801561001057600080fd5b506040516102bd3803806102bd83398101604081905261002f916100e8565b60005b81518110156100af5760017f82aadcdf5bea62fd30615b6c0754b644e71b6c1e8c55b71bb927ad005b504f006000016000848481518110610075576100756101ac565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055600101610032565b50506101c2565b634e487b7160e01b600052604160045260246000fd5b80516001600160a01b03811681146100e357600080fd5b919050565b600060208083850312156100fb57600080fd5b82516001600160401b038082111561011257600080fd5b818501915085601f83011261012657600080fd5b815181811115610138576101386100b6565b8060051b604051601f19603f8301168101818110858211171561015d5761015d6100b6565b60405291825284820192508381018501918883111561017b57600080fd5b938501935b828510156101a057610191856100cc565b84529385019392850192610180565b98975050505050505050565b634e487b7160e01b600052603260045260246000fd5b60ed806101d06000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c8063572b6c0514602d575b600080fd5b607560383660046089565b6001600160a01b031660009081527f82aadcdf5bea62fd30615b6c0754b644e71b6c1e8c55b71bb927ad005b504f00602052604090205460ff1690565b604051901515815260200160405180910390f35b600060208284031215609a57600080fd5b81356001600160a01b038116811460b057600080fd5b939250505056fea264697066735822122060c13886b82e48848732246b3c0572a35f59377556f12bd98e6244570f2916bf64736f6c63430008170033"; static readonly abi: ({ type: string; inputs: { name: string; type: string; internalType: string; }[]; stateMutability: string; name?: undefined; outputs?: undefined; } | { type: string; name: string; inputs: { name: string; type: string; internalType: string; }[]; outputs: { name: string; type: string; internalType: string; }[]; stateMutability: string; })[]; static createInterface(): ERC2771ContextInterface; static connect(address: string, signerOrProvider: Signer | Provider): ERC2771Context; } export {}; //# sourceMappingURL=ERC2771Context__factory.d.ts.map