Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

space-bico-account-abstraction

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

space-bico-account-abstraction - npm Package Compare versions

Comparing version 1.9.5 to 1.9.6

2

package.json
{
"name": "space-bico-account-abstraction",
"version": "1.9.5",
"version": "1.9.6",
"main": "./dist/src/index.js",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -112,6 +112,6 @@ import { ethers, BigNumber, BigNumberish } from 'ethers'

if (senderAddressCode.length > 2) {
// console.log(`SimpleAccount Contract already deployed at ${this.senderAddress}`)
console.log(`SimpleAccount Contract already deployed at ${this.senderAddress}`)
this.isPhantom = false
} else {
// console.log(`SimpleAccount Contract is NOT YET deployed at ${this.senderAddress} - working in "phantom account" mode.`)
console.log(`SimpleAccount Contract is NOT YET deployed at ${this.senderAddress} - working in "phantom account" mode.`)
}

@@ -118,0 +118,0 @@ return this.isPhantom

@@ -78,3 +78,2 @@ import { BigNumber, BigNumberish, ethers } from 'ethers'

// TODOS: getNonce in smart account
async getNonce(): Promise<any> {

@@ -84,4 +83,2 @@ if (await this.checkAccountPhantom()) {

}
// this.accountContract = SimpleAccount__factory.connect(this.accountAddress!, this.provider)
// return this.accountContract.getNonce();
return await this.provider.getTransactionCount(this.accountAddress || '0x0000000000000000000000000000000000000000');

@@ -99,3 +96,3 @@ }

return accountContract.interface.encodeFunctionData(
'execute', // From execute => executeCall method
'execute',
[

@@ -102,0 +99,0 @@ target,

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc