New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

antier-gnosis-safe

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

antier-gnosis-safe - npm Package Compare versions

Comparing version

to
1.2.2

7

dist/lib/gnosis-utils.d.ts

@@ -48,8 +48,7 @@ import { Contract, BigNumber, BigNumberish, Signer, PopulatedTransaction } from "ethers";

export declare const logGas: (message: string, tx: Promise<any>, skip?: boolean) => Promise<any>;
export declare const executeTx: (safe: Contract, safeTx: SafeTransaction, signatures: SafeSignature[], overrides?: any) => Promise<any>;
export declare const populateExecuteTx: (safe: Contract, safeTx: SafeTransaction, signatures: SafeSignature[], overrides?: any) => Promise<PopulatedTransaction>;
export declare const buildContractCall: (contract: Contract, method: string, params: any[], nonce: number, delegateCall?: boolean, overrides?: Partial<SafeTransaction>) => SafeTransaction;
export declare const executeTxWithSigners: (safe: Contract, tx: SafeTransaction, signers: any[], provider: any, overrides?: any) => Promise<any>;
export declare const executeContractCallForSigners: (safe: Contract, contract: Contract, method: string, params: any[], signers: any[], provider: any, delegateCall?: boolean, overrides?: Partial<SafeTransaction>) => Promise<any>;
export declare const executeContractCallWithSignersBuy: (safe: Contract, contract: Contract, method: string, params: any[], signers: any[], provider: any, delegateCall?: boolean, overrides?: Partial<SafeTransaction>) => Promise<any>;
export declare const executeTxWithSigners: (safe: Contract, tx: SafeTransaction, signers: any[], provider: any, overrides?: any) => Promise<SafeSignature[]>;
export declare const executeContractCallForSigners: (safe: Contract, contract: Contract, method: string, params: any[], signers: any[], provider: any, delegateCall?: boolean, overrides?: Partial<SafeTransaction>) => Promise<SafeSignature[]>;
export declare const executeContractCallWithSignersBuy: (safe: Contract, contract: Contract, method: string, params: any[], signers: any[], provider: any, delegateCall?: boolean, overrides?: Partial<SafeTransaction>) => Promise<SafeSignature[]>;
export declare const buildSafeTransaction: (template: {

@@ -56,0 +55,0 @@ to: string;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.buildSafeTransaction = exports.executeContractCallWithSignersBuy = exports.executeContractCallForSigners = exports.executeTxWithSigners = exports.buildContractCall = exports.populateExecuteTx = exports.executeTx = exports.logGas = exports.buildSignatureBytes = exports.safeSignMessage = exports.signHash = exports.safeSignTypedData = exports.safeApproveHash = exports.calculateSafeMessageHash = exports.calculateSafeTransactionHash = exports.preimageSafeTransactionHash = exports.calculateSafeDomainSeparator = exports.EIP712_SAFE_MESSAGE_TYPE = exports.EIP712_SAFE_TX_TYPE = exports.EIP_DOMAIN = void 0;
exports.buildSafeTransaction = exports.executeContractCallWithSignersBuy = exports.executeContractCallForSigners = exports.executeTxWithSigners = exports.buildContractCall = exports.populateExecuteTx = exports.logGas = exports.buildSignatureBytes = exports.safeSignMessage = exports.signHash = exports.safeSignTypedData = exports.safeApproveHash = exports.calculateSafeMessageHash = exports.calculateSafeTransactionHash = exports.preimageSafeTransactionHash = exports.calculateSafeDomainSeparator = exports.EIP712_SAFE_MESSAGE_TYPE = exports.EIP712_SAFE_TX_TYPE = exports.EIP_DOMAIN = void 0;
const ethers_1 = require("ethers");

@@ -103,7 +103,2 @@ const constants_1 = require("@ethersproject/constants");

exports.logGas = logGas;
const executeTx = async (safe, safeTx, signatures, overrides) => {
const signatureBytes = (0, exports.buildSignatureBytes)(signatures);
return signatureBytes;
};
exports.executeTx = executeTx;
const populateExecuteTx = async (safe, safeTx, signatures, overrides) => {

@@ -133,3 +128,3 @@ const signatureBytes = (0, exports.buildSignatureBytes)(signatures);

const sigs = await Promise.all(signers.map((signer) => (0, exports.safeSignTypedData)(signer, safe, tx, chainId)));
return (0, exports.executeTx)(safe, tx, sigs, overrides);
return sigs;
};

@@ -136,0 +131,0 @@ exports.executeTxWithSigners = executeTxWithSigners;

import { ethers } from 'ethers';
export declare const signForApprover: (multiSigWalletAddress: string, interactWithContract: ethers.Contract, senderWalletAddress: string, method: string, inputs: any) => Promise<any>;
export declare const signForApprover: (multiSigWalletAddress: string, interactWithContract: ethers.Contract, senderWalletAddress: string, method: string, inputs: any) => Promise<import("./gnosis-utils").SafeSignature[] | {
error: boolean;
message: string;
}>;
export declare const executeWithApprover: (multiSigWalletAddress: string, interactWithContract: ethers.Contract, senderWalletAddress: string, method: string, inputs: any, approverWithSign: {

@@ -4,0 +7,0 @@ approverWallet: string;

{
"name": "antier-gnosis-safe",
"version": "1.2.1",
"version": "1.2.2",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet