@etherspot/prime-sdk
Version:
Etherspot Prime (Account Abstraction) SDK
33 lines (32 loc) • 2.15 kB
TypeScript
import { Signer, ContractFactory, Overrides } from "ethers";
import type { Provider, TransactionRequest } from "@ethersproject/providers";
import type { PromiseOrValue } from "../../../common";
import type { Proxy, ProxyInterface } from "../../../src/wallet/Proxy";
type ProxyConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>;
export declare class Proxy__factory extends ContractFactory {
constructor(...args: ProxyConstructorParams);
deploy(_singleton: PromiseOrValue<string>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<Proxy>;
getDeployTransaction(_singleton: PromiseOrValue<string>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): TransactionRequest;
attach(address: string): Proxy;
connect(signer: Signer): Proxy__factory;
static readonly bytecode = "0x608060405234801561001057600080fd5b5060405161016c38038061016c83398101604081905261002f916100b0565b6001600160a01b0381166100895760405162461bcd60e51b815260206004820152601860248201527f496e76616c696420616464726573732070726f76696465640000000000000000604482015260640160405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc556100e0565b6000602082840312156100c257600080fd5b81516001600160a01b03811681146100d957600080fd5b9392505050565b607e806100ee6000396000f3fe60806040527f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc543660008037600080366000845af43d6000803e806042573d6000fd5b503d6000f3fea2646970667358221220bf4792713f0ae541fee868815c68df07e96dbe0616b01cc209b0004f92ee91a964736f6c63430008110033";
static readonly abi: readonly [{
readonly inputs: readonly [{
readonly internalType: "address";
readonly name: "_singleton";
readonly type: "address";
}];
readonly stateMutability: "nonpayable";
readonly type: "constructor";
}, {
readonly stateMutability: "payable";
readonly type: "fallback";
}];
static createInterface(): ProxyInterface;
static connect(address: string, signerOrProvider: Signer | Provider): Proxy;
}
export {};