Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save arcticfloyd1984/9af6157bcda3e186d23fc832908ccd58 to your computer and use it in GitHub Desktop.
Save arcticfloyd1984/9af6157bcda3e186d23fc832908ccd58 to your computer and use it in GitHub Desktop.
Biconomy Wallet Client Types
type BiconomyWalletClient = {
engine: any
biconomyAttributes: any,
isSignerWithAccounts = isSignerWithAccounts;
provider = provider;
targetProvider = targetProvider;
walletFactoryAddress: string
baseWalletAddress: string,
entryPointAddress: string,
handlerAddress: string,
providerOrSigner: ethers.Signer | ethers.Provider
networkId: number
walletFactory: ethers.Contract
baseWallet: ethers.Contract
entryPoint: ethers.Contract
}
type CheckIfWalletExistsType = {
doesWalletExist: boolean,
walletAddress: string
}
type CheckIfWalletExistsAndDeployType = string
type BuildExecTransaction = {
to: string,
value: number,
data: string,
operation: number,
targetTxGas: number,
baseGas: number,
gasPrice: number,
gasToken: string,
refundReceiver: string,
nonce: number
}
type SendBiconomyWalletTransaction = string;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment