Skip to content

Commit

Permalink
fix (Safe) dequanto update
Browse files Browse the repository at this point in the history
  • Loading branch information
tenbits committed Jan 20, 2024
1 parent 8b8b892 commit 21c6718
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions lib/0xweb.js
Original file line number Diff line number Diff line change
Expand Up @@ -52681,7 +52681,7 @@ class GnosisSafeFactory {
let [log] = logs;
const safe = new GnosisSafeHandler_1.GnosisSafeHandler({
safeAddress: log.params.proxy,
owner: owner,
owners: [owner],
client: client,
});
return safe;
Expand Down Expand Up @@ -53471,7 +53471,7 @@ class SafeWorker {
let json = await atma_io_1.File.readAsync(path);
_require_1.$require.Address(json.safeAddress, `No "safeAddress" field in the json file: ${path}`);
let gnosis = a_di_1.default.resolve(GnosisSafeHandler_1.GnosisSafeHandler, {
owner: account,
owners: [account],
safeAddress: json.safeAddress,
client: this.client,
transport: new FileServiceTransport_1.FileServiceTransport(this.client, account, path)
Expand Down
4 changes: 2 additions & 2 deletions lib/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -52691,7 +52691,7 @@ class GnosisSafeFactory {
let [log] = logs;
const safe = new GnosisSafeHandler_1.GnosisSafeHandler({
safeAddress: log.params.proxy,
owner: owner,
owners: [owner],
client: client,
});
return safe;
Expand Down Expand Up @@ -53481,7 +53481,7 @@ class SafeWorker {
let json = await atma_io_1.File.readAsync(path);
_require_1.$require.Address(json.safeAddress, `No "safeAddress" field in the json file: ${path}`);
let gnosis = a_di_1.default.resolve(GnosisSafeHandler_1.GnosisSafeHandler, {
owner: account,
owners: [account],
safeAddress: json.safeAddress,
client: this.client,
transport: new FileServiceTransport_1.FileServiceTransport(this.client, account, path)
Expand Down
3 changes: 2 additions & 1 deletion src/commands/list/CErc4337.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import { TxDataBuilder } from '@dequanto/txs/TxDataBuilder';
import { Web3Client } from '@dequanto/clients/Web3Client';
import { FileServiceTransport } from '@dequanto/safe/transport/FileServiceTransport';
import { $tx } from '@core/utils/$tx';
import { CSafe } from './CSafe';

export function CErc4337 () {
return <ICommand>{
Expand Down Expand Up @@ -250,7 +251,7 @@ class SafeWorker {
$require.Address(json.safeAddress, `No "safeAddress" field in the json file: ${path}`);

let gnosis = di.resolve(GnosisSafeHandler, {
owner: account,
owners: [ account ],
safeAddress: json.safeAddress,
client: this.client,
transport: new FileServiceTransport(this.client, account, path)
Expand Down
2 changes: 1 addition & 1 deletion src/commands/list/CSafe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ class SafeWorker {
$require.Address(json.safeAddress, `No "safeAddress" field in the json file: ${path}`);

let gnosis = di.resolve(GnosisSafeHandler, {
owner: account,
owners: [ account ],
safeAddress: json.safeAddress,
client: this.client,
transport: new FileServiceTransport(this.client, account, path)
Expand Down

0 comments on commit 21c6718

Please sign in to comment.