@safe-global/protocol-kit 2.0.0-alpha.0 → 2.0.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/utils/transactions/gas.js +23 -8
- package/dist/src/utils/transactions/gas.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/dist/typechain/tests/ethers-v6/v1.2.0/@gnosis.pm/index.d.ts +0 -2
- package/dist/typechain/tests/ethers-v6/v1.2.0/@gnosis.pm/index.js +0 -3
- package/dist/typechain/tests/ethers-v6/v1.2.0/@gnosis.pm/index.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/DailyLimitModule.d.ts +0 -158
- package/dist/typechain/tests/ethers-v6/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/DailyLimitModule.js +0 -3
- package/dist/typechain/tests/ethers-v6/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/DailyLimitModule.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/SocialRecoveryModule.d.ts +0 -167
- package/dist/typechain/tests/ethers-v6/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/SocialRecoveryModule.js +0 -3
- package/dist/typechain/tests/ethers-v6/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/SocialRecoveryModule.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/index.d.ts +0 -2
- package/dist/typechain/tests/ethers-v6/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/index.js +0 -3
- package/dist/typechain/tests/ethers-v6/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/index.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/index.d.ts +0 -2
- package/dist/typechain/tests/ethers-v6/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/index.js +0 -3
- package/dist/typechain/tests/ethers-v6/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/index.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/index.d.ts +0 -2
- package/dist/typechain/tests/ethers-v6/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/index.js +0 -3
- package/dist/typechain/tests/ethers-v6/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/index.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/common.d.ts +0 -50
- package/dist/typechain/tests/ethers-v6/v1.2.0/common.js +0 -3
- package/dist/typechain/tests/ethers-v6/v1.2.0/common.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@gnosis.pm/index.d.ts +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@gnosis.pm/index.js +0 -31
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@gnosis.pm/index.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/DailyLimitModule__factory.d.ts +0 -168
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/DailyLimitModule__factory.js +0 -224
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/DailyLimitModule__factory.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/SocialRecoveryModule__factory.d.ts +0 -240
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/SocialRecoveryModule__factory.js +0 -319
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/SocialRecoveryModule__factory.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/index.d.ts +0 -2
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/index.js +0 -11
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/index.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@gnosis.pm/safe-contracts-v1.2.0/build/index.d.ts +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@gnosis.pm/safe-contracts-v1.2.0/build/index.js +0 -31
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@gnosis.pm/safe-contracts-v1.2.0/build/index.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@gnosis.pm/safe-contracts-v1.2.0/index.d.ts +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@gnosis.pm/safe-contracts-v1.2.0/index.js +0 -31
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/@gnosis.pm/safe-contracts-v1.2.0/index.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/index.d.ts +0 -2
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/index.js +0 -32
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/index.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/openzeppelin-solidity/build/contracts/ERC20Mintable__factory.d.ts +0 -290
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/openzeppelin-solidity/build/contracts/ERC20Mintable__factory.js +0 -384
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/openzeppelin-solidity/build/contracts/ERC20Mintable__factory.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/openzeppelin-solidity/build/contracts/index.d.ts +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/openzeppelin-solidity/build/contracts/index.js +0 -9
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/openzeppelin-solidity/build/contracts/index.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/openzeppelin-solidity/build/index.d.ts +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/openzeppelin-solidity/build/index.js +0 -31
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/openzeppelin-solidity/build/index.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/openzeppelin-solidity/index.d.ts +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/openzeppelin-solidity/index.js +0 -31
- package/dist/typechain/tests/ethers-v6/v1.2.0/factories/openzeppelin-solidity/index.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/index.d.ts +0 -11
- package/dist/typechain/tests/ethers-v6/v1.2.0/index.js +0 -34
- package/dist/typechain/tests/ethers-v6/v1.2.0/index.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/openzeppelin-solidity/build/contracts/ERC20Mintable.d.ts +0 -211
- package/dist/typechain/tests/ethers-v6/v1.2.0/openzeppelin-solidity/build/contracts/ERC20Mintable.js +0 -3
- package/dist/typechain/tests/ethers-v6/v1.2.0/openzeppelin-solidity/build/contracts/ERC20Mintable.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/openzeppelin-solidity/build/contracts/index.d.ts +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/openzeppelin-solidity/build/contracts/index.js +0 -3
- package/dist/typechain/tests/ethers-v6/v1.2.0/openzeppelin-solidity/build/contracts/index.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/openzeppelin-solidity/build/index.d.ts +0 -2
- package/dist/typechain/tests/ethers-v6/v1.2.0/openzeppelin-solidity/build/index.js +0 -3
- package/dist/typechain/tests/ethers-v6/v1.2.0/openzeppelin-solidity/build/index.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.2.0/openzeppelin-solidity/index.d.ts +0 -2
- package/dist/typechain/tests/ethers-v6/v1.2.0/openzeppelin-solidity/index.js +0 -3
- package/dist/typechain/tests/ethers-v6/v1.2.0/openzeppelin-solidity/index.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.3.0/DebugTransactionGuard.d.ts +0 -154
- package/dist/typechain/tests/ethers-v6/v1.3.0/DebugTransactionGuard.js +0 -3
- package/dist/typechain/tests/ethers-v6/v1.3.0/DebugTransactionGuard.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.3.0/common.d.ts +0 -50
- package/dist/typechain/tests/ethers-v6/v1.3.0/common.js +0 -3
- package/dist/typechain/tests/ethers-v6/v1.3.0/common.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.3.0/factories/DebugTransactionGuard__factory.d.ts +0 -178
- package/dist/typechain/tests/ethers-v6/v1.3.0/factories/DebugTransactionGuard__factory.js +0 -236
- package/dist/typechain/tests/ethers-v6/v1.3.0/factories/DebugTransactionGuard__factory.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.3.0/factories/index.d.ts +0 -1
- package/dist/typechain/tests/ethers-v6/v1.3.0/factories/index.js +0 -9
- package/dist/typechain/tests/ethers-v6/v1.3.0/factories/index.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.3.0/index.d.ts +0 -3
- package/dist/typechain/tests/ethers-v6/v1.3.0/index.js +0 -30
- package/dist/typechain/tests/ethers-v6/v1.3.0/index.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.4.1/DebugTransactionGuard.d.ts +0 -168
- package/dist/typechain/tests/ethers-v6/v1.4.1/DebugTransactionGuard.js +0 -3
- package/dist/typechain/tests/ethers-v6/v1.4.1/DebugTransactionGuard.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.4.1/common.d.ts +0 -50
- package/dist/typechain/tests/ethers-v6/v1.4.1/common.js +0 -3
- package/dist/typechain/tests/ethers-v6/v1.4.1/common.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.4.1/factories/DebugTransactionGuard__factory.d.ts +0 -202
- package/dist/typechain/tests/ethers-v6/v1.4.1/factories/DebugTransactionGuard__factory.js +0 -267
- package/dist/typechain/tests/ethers-v6/v1.4.1/factories/DebugTransactionGuard__factory.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.4.1/factories/index.d.ts +0 -1
- package/dist/typechain/tests/ethers-v6/v1.4.1/factories/index.js +0 -9
- package/dist/typechain/tests/ethers-v6/v1.4.1/factories/index.js.map +0 -1
- package/dist/typechain/tests/ethers-v6/v1.4.1/index.d.ts +0 -3
- package/dist/typechain/tests/ethers-v6/v1.4.1/index.js +0 -30
- package/dist/typechain/tests/ethers-v6/v1.4.1/index.js.map +0 -1
- package/dist/typechain/tests/web3-v1/v1.2.0/@gnosis.pm/index.d.ts +0 -2
- package/dist/typechain/tests/web3-v1/v1.2.0/@gnosis.pm/index.js +0 -3
- package/dist/typechain/tests/web3-v1/v1.2.0/@gnosis.pm/index.js.map +0 -1
- package/dist/typechain/tests/web3-v1/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/DailyLimitModule.d.ts +0 -69
- package/dist/typechain/tests/web3-v1/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/DailyLimitModule.js +0 -6
- package/dist/typechain/tests/web3-v1/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/DailyLimitModule.js.map +0 -1
- package/dist/typechain/tests/web3-v1/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/SocialRecoveryModule.d.ts +0 -72
- package/dist/typechain/tests/web3-v1/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/SocialRecoveryModule.js +0 -6
- package/dist/typechain/tests/web3-v1/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/SocialRecoveryModule.js.map +0 -1
- package/dist/typechain/tests/web3-v1/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/index.d.ts +0 -2
- package/dist/typechain/tests/web3-v1/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/index.js +0 -3
- package/dist/typechain/tests/web3-v1/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/index.js.map +0 -1
- package/dist/typechain/tests/web3-v1/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/index.d.ts +0 -2
- package/dist/typechain/tests/web3-v1/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/index.js +0 -3
- package/dist/typechain/tests/web3-v1/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/index.js.map +0 -1
- package/dist/typechain/tests/web3-v1/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/index.d.ts +0 -2
- package/dist/typechain/tests/web3-v1/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/index.js +0 -3
- package/dist/typechain/tests/web3-v1/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/index.js.map +0 -1
- package/dist/typechain/tests/web3-v1/v1.2.0/index.d.ts +0 -4
- package/dist/typechain/tests/web3-v1/v1.2.0/index.js +0 -3
- package/dist/typechain/tests/web3-v1/v1.2.0/index.js.map +0 -1
- package/dist/typechain/tests/web3-v1/v1.2.0/openzeppelin-solidity/build/contracts/ERC20Mintable.d.ts +0 -72
- package/dist/typechain/tests/web3-v1/v1.2.0/openzeppelin-solidity/build/contracts/ERC20Mintable.js +0 -6
- package/dist/typechain/tests/web3-v1/v1.2.0/openzeppelin-solidity/build/contracts/ERC20Mintable.js.map +0 -1
- package/dist/typechain/tests/web3-v1/v1.2.0/openzeppelin-solidity/build/contracts/index.d.ts +0 -1
- package/dist/typechain/tests/web3-v1/v1.2.0/openzeppelin-solidity/build/contracts/index.js +0 -3
- package/dist/typechain/tests/web3-v1/v1.2.0/openzeppelin-solidity/build/contracts/index.js.map +0 -1
- package/dist/typechain/tests/web3-v1/v1.2.0/openzeppelin-solidity/build/index.d.ts +0 -2
- package/dist/typechain/tests/web3-v1/v1.2.0/openzeppelin-solidity/build/index.js +0 -3
- package/dist/typechain/tests/web3-v1/v1.2.0/openzeppelin-solidity/build/index.js.map +0 -1
- package/dist/typechain/tests/web3-v1/v1.2.0/openzeppelin-solidity/index.d.ts +0 -2
- package/dist/typechain/tests/web3-v1/v1.2.0/openzeppelin-solidity/index.js +0 -3
- package/dist/typechain/tests/web3-v1/v1.2.0/openzeppelin-solidity/index.js.map +0 -1
- package/dist/typechain/tests/web3-v1/v1.2.0/types.d.ts +0 -54
- package/dist/typechain/tests/web3-v1/v1.2.0/types.js +0 -3
- package/dist/typechain/tests/web3-v1/v1.2.0/types.js.map +0 -1
- package/dist/typechain/tests/web3-v1/v1.3.0/DebugTransactionGuard.d.ts +0 -61
- package/dist/typechain/tests/web3-v1/v1.3.0/DebugTransactionGuard.js +0 -6
- package/dist/typechain/tests/web3-v1/v1.3.0/DebugTransactionGuard.js.map +0 -1
- package/dist/typechain/tests/web3-v1/v1.3.0/index.d.ts +0 -1
- package/dist/typechain/tests/web3-v1/v1.3.0/index.js +0 -3
- package/dist/typechain/tests/web3-v1/v1.3.0/index.js.map +0 -1
- package/dist/typechain/tests/web3-v1/v1.3.0/types.d.ts +0 -54
- package/dist/typechain/tests/web3-v1/v1.3.0/types.js +0 -3
- package/dist/typechain/tests/web3-v1/v1.3.0/types.js.map +0 -1
- package/dist/typechain/tests/web3-v1/v1.4.1/DebugTransactionGuard.d.ts +0 -66
- package/dist/typechain/tests/web3-v1/v1.4.1/DebugTransactionGuard.js +0 -6
- package/dist/typechain/tests/web3-v1/v1.4.1/DebugTransactionGuard.js.map +0 -1
- package/dist/typechain/tests/web3-v1/v1.4.1/index.d.ts +0 -1
- package/dist/typechain/tests/web3-v1/v1.4.1/index.js +0 -3
- package/dist/typechain/tests/web3-v1/v1.4.1/index.js.map +0 -1
- package/dist/typechain/tests/web3-v1/v1.4.1/types.d.ts +0 -54
- package/dist/typechain/tests/web3-v1/v1.4.1/types.js +0 -3
- package/dist/typechain/tests/web3-v1/v1.4.1/types.js.map +0 -1
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
import type BN from "bn.js";
|
|
3
|
-
import type { ContractOptions } from "web3-eth-contract";
|
|
4
|
-
import type { EventLog } from "web3-core";
|
|
5
|
-
import type { EventEmitter } from "events";
|
|
6
|
-
import type { Callback, NonPayableTransactionObject, BlockType, ContractEventLog, BaseContract } from "../../../../types";
|
|
7
|
-
export interface EventOptions {
|
|
8
|
-
filter?: object;
|
|
9
|
-
fromBlock?: BlockType;
|
|
10
|
-
topics?: string[];
|
|
11
|
-
}
|
|
12
|
-
export type ChangedMasterCopy = ContractEventLog<{
|
|
13
|
-
masterCopy: string;
|
|
14
|
-
0: string;
|
|
15
|
-
}>;
|
|
16
|
-
export interface DailyLimitModule extends BaseContract {
|
|
17
|
-
constructor(jsonInterface: any[], address?: string, options?: ContractOptions): DailyLimitModule;
|
|
18
|
-
clone(): DailyLimitModule;
|
|
19
|
-
methods: {
|
|
20
|
-
NAME(): NonPayableTransactionObject<string>;
|
|
21
|
-
VERSION(): NonPayableTransactionObject<string>;
|
|
22
|
-
/**
|
|
23
|
-
* Allows to upgrade the contract. This can only be done via a Safe transaction.
|
|
24
|
-
* @param _masterCopy New contract address.
|
|
25
|
-
*/
|
|
26
|
-
changeMasterCopy(_masterCopy: string): NonPayableTransactionObject<void>;
|
|
27
|
-
dailyLimits(arg0: string): NonPayableTransactionObject<{
|
|
28
|
-
dailyLimit: string;
|
|
29
|
-
spentToday: string;
|
|
30
|
-
lastDay: string;
|
|
31
|
-
0: string;
|
|
32
|
-
1: string;
|
|
33
|
-
2: string;
|
|
34
|
-
}>;
|
|
35
|
-
manager(): NonPayableTransactionObject<string>;
|
|
36
|
-
/**
|
|
37
|
-
* Setup function sets initial storage of contract.
|
|
38
|
-
* @param _dailyLimits List of daily limits in smalles units (e.g. Wei for Ether).
|
|
39
|
-
* @param tokens List of token addresses. Ether is represented with address 0x0.
|
|
40
|
-
*/
|
|
41
|
-
setup(tokens: string[], _dailyLimits: (number | string | BN)[]): NonPayableTransactionObject<void>;
|
|
42
|
-
/**
|
|
43
|
-
* Allows to update the daily limit for a specified token. This can only be done via a Safe transaction.
|
|
44
|
-
* @param dailyLimit Daily limit in smallest token unit.
|
|
45
|
-
* @param token Token contract address.
|
|
46
|
-
*/
|
|
47
|
-
changeDailyLimit(token: string, dailyLimit: number | string | BN): NonPayableTransactionObject<void>;
|
|
48
|
-
/**
|
|
49
|
-
* Returns if Safe transaction is a valid daily limit transaction.
|
|
50
|
-
* @param amount Amount of tokens (or Ether) that should be transfered
|
|
51
|
-
* @param to Address to which the tokens should be transfered
|
|
52
|
-
* @param token Address of the token that should be transfered (0 for Ether)
|
|
53
|
-
* @returns Returns if transaction can be executed.
|
|
54
|
-
*/
|
|
55
|
-
executeDailyLimit(token: string, to: string, amount: number | string | BN): NonPayableTransactionObject<void>;
|
|
56
|
-
/**
|
|
57
|
-
* Returns last midnight as Unix timestamp.
|
|
58
|
-
* @returns Unix timestamp.
|
|
59
|
-
*/
|
|
60
|
-
today(): NonPayableTransactionObject<string>;
|
|
61
|
-
};
|
|
62
|
-
events: {
|
|
63
|
-
ChangedMasterCopy(cb?: Callback<ChangedMasterCopy>): EventEmitter;
|
|
64
|
-
ChangedMasterCopy(options?: EventOptions, cb?: Callback<ChangedMasterCopy>): EventEmitter;
|
|
65
|
-
allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter;
|
|
66
|
-
};
|
|
67
|
-
once(event: "ChangedMasterCopy", cb: Callback<ChangedMasterCopy>): void;
|
|
68
|
-
once(event: "ChangedMasterCopy", options: EventOptions, cb: Callback<ChangedMasterCopy>): void;
|
|
69
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DailyLimitModule.js","sourceRoot":"","sources":["../../../../../../../../../typechain/tests/web3-v1/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/DailyLimitModule.ts"],"names":[],"mappings":";AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB"}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
import type BN from "bn.js";
|
|
3
|
-
import type { ContractOptions } from "web3-eth-contract";
|
|
4
|
-
import type { EventLog } from "web3-core";
|
|
5
|
-
import type { EventEmitter } from "events";
|
|
6
|
-
import type { Callback, NonPayableTransactionObject, BlockType, ContractEventLog, BaseContract } from "../../../../types";
|
|
7
|
-
export interface EventOptions {
|
|
8
|
-
filter?: object;
|
|
9
|
-
fromBlock?: BlockType;
|
|
10
|
-
topics?: string[];
|
|
11
|
-
}
|
|
12
|
-
export type ChangedMasterCopy = ContractEventLog<{
|
|
13
|
-
masterCopy: string;
|
|
14
|
-
0: string;
|
|
15
|
-
}>;
|
|
16
|
-
export interface SocialRecoveryModule extends BaseContract {
|
|
17
|
-
constructor(jsonInterface: any[], address?: string, options?: ContractOptions): SocialRecoveryModule;
|
|
18
|
-
clone(): SocialRecoveryModule;
|
|
19
|
-
methods: {
|
|
20
|
-
NAME(): NonPayableTransactionObject<string>;
|
|
21
|
-
VERSION(): NonPayableTransactionObject<string>;
|
|
22
|
-
/**
|
|
23
|
-
* Allows to upgrade the contract. This can only be done via a Safe transaction.
|
|
24
|
-
* @param _masterCopy New contract address.
|
|
25
|
-
*/
|
|
26
|
-
changeMasterCopy(_masterCopy: string): NonPayableTransactionObject<void>;
|
|
27
|
-
friends(arg0: number | string | BN): NonPayableTransactionObject<string>;
|
|
28
|
-
isConfirmed(arg0: string | number[], arg1: string): NonPayableTransactionObject<boolean>;
|
|
29
|
-
isExecuted(arg0: string | number[]): NonPayableTransactionObject<boolean>;
|
|
30
|
-
isFriend(arg0: string): NonPayableTransactionObject<boolean>;
|
|
31
|
-
manager(): NonPayableTransactionObject<string>;
|
|
32
|
-
threshold(): NonPayableTransactionObject<string>;
|
|
33
|
-
/**
|
|
34
|
-
* Setup function sets initial storage of contract.
|
|
35
|
-
* @param _friends List of friends' addresses.
|
|
36
|
-
* @param _threshold Required number of friends to confirm replacement.
|
|
37
|
-
*/
|
|
38
|
-
setup(_friends: string[], _threshold: number | string | BN): NonPayableTransactionObject<void>;
|
|
39
|
-
/**
|
|
40
|
-
* Allows a friend to confirm a Safe transaction.
|
|
41
|
-
* @param dataHash Safe transaction hash.
|
|
42
|
-
*/
|
|
43
|
-
confirmTransaction(dataHash: string | number[]): NonPayableTransactionObject<void>;
|
|
44
|
-
/**
|
|
45
|
-
* Returns if Safe transaction is a valid owner replacement transaction.
|
|
46
|
-
* @param newOwner New owner address.
|
|
47
|
-
* @param oldOwner Owner address to be replaced.
|
|
48
|
-
* @param prevOwner Owner that pointed to the owner to be replaced in the linked list
|
|
49
|
-
* @returns Returns if transaction can be executed.
|
|
50
|
-
*/
|
|
51
|
-
recoverAccess(prevOwner: string, oldOwner: string, newOwner: string): NonPayableTransactionObject<void>;
|
|
52
|
-
/**
|
|
53
|
-
* Returns if Safe transaction is a valid owner replacement transaction.
|
|
54
|
-
* @param dataHash Data hash.
|
|
55
|
-
* @returns Confirmation status.
|
|
56
|
-
*/
|
|
57
|
-
isConfirmedByRequiredFriends(dataHash: string | number[]): NonPayableTransactionObject<boolean>;
|
|
58
|
-
/**
|
|
59
|
-
* Returns hash of data encoding owner replacement.
|
|
60
|
-
* @param data Data payload.
|
|
61
|
-
* @returns Data hash.
|
|
62
|
-
*/
|
|
63
|
-
getDataHash(data: string | number[]): NonPayableTransactionObject<string>;
|
|
64
|
-
};
|
|
65
|
-
events: {
|
|
66
|
-
ChangedMasterCopy(cb?: Callback<ChangedMasterCopy>): EventEmitter;
|
|
67
|
-
ChangedMasterCopy(options?: EventOptions, cb?: Callback<ChangedMasterCopy>): EventEmitter;
|
|
68
|
-
allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter;
|
|
69
|
-
};
|
|
70
|
-
once(event: "ChangedMasterCopy", cb: Callback<ChangedMasterCopy>): void;
|
|
71
|
-
once(event: "ChangedMasterCopy", options: EventOptions, cb: Callback<ChangedMasterCopy>): void;
|
|
72
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SocialRecoveryModule.js","sourceRoot":"","sources":["../../../../../../../../../typechain/tests/web3-v1/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/SocialRecoveryModule.ts"],"names":[],"mappings":";AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../typechain/tests/web3-v1/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/contracts/index.ts"],"names":[],"mappings":""}
|
package/dist/typechain/tests/web3-v1/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../typechain/tests/web3-v1/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/build/index.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../typechain/tests/web3-v1/v1.2.0/@gnosis.pm/safe-contracts-v1.2.0/index.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../typechain/tests/web3-v1/v1.2.0/index.ts"],"names":[],"mappings":""}
|
package/dist/typechain/tests/web3-v1/v1.2.0/openzeppelin-solidity/build/contracts/ERC20Mintable.d.ts
DELETED
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
import type BN from "bn.js";
|
|
3
|
-
import type { ContractOptions } from "web3-eth-contract";
|
|
4
|
-
import type { EventLog } from "web3-core";
|
|
5
|
-
import type { EventEmitter } from "events";
|
|
6
|
-
import type { Callback, NonPayableTransactionObject, BlockType, ContractEventLog, BaseContract } from "../../../types";
|
|
7
|
-
export interface EventOptions {
|
|
8
|
-
filter?: object;
|
|
9
|
-
fromBlock?: BlockType;
|
|
10
|
-
topics?: string[];
|
|
11
|
-
}
|
|
12
|
-
export type Approval = ContractEventLog<{
|
|
13
|
-
owner: string;
|
|
14
|
-
spender: string;
|
|
15
|
-
value: string;
|
|
16
|
-
0: string;
|
|
17
|
-
1: string;
|
|
18
|
-
2: string;
|
|
19
|
-
}>;
|
|
20
|
-
export type MinterAdded = ContractEventLog<{
|
|
21
|
-
account: string;
|
|
22
|
-
0: string;
|
|
23
|
-
}>;
|
|
24
|
-
export type MinterRemoved = ContractEventLog<{
|
|
25
|
-
account: string;
|
|
26
|
-
0: string;
|
|
27
|
-
}>;
|
|
28
|
-
export type Transfer = ContractEventLog<{
|
|
29
|
-
from: string;
|
|
30
|
-
to: string;
|
|
31
|
-
value: string;
|
|
32
|
-
0: string;
|
|
33
|
-
1: string;
|
|
34
|
-
2: string;
|
|
35
|
-
}>;
|
|
36
|
-
export interface ERC20Mintable extends BaseContract {
|
|
37
|
-
constructor(jsonInterface: any[], address?: string, options?: ContractOptions): ERC20Mintable;
|
|
38
|
-
clone(): ERC20Mintable;
|
|
39
|
-
methods: {
|
|
40
|
-
addMinter(account: string): NonPayableTransactionObject<void>;
|
|
41
|
-
allowance(owner: string, spender: string): NonPayableTransactionObject<string>;
|
|
42
|
-
approve(spender: string, amount: number | string | BN): NonPayableTransactionObject<boolean>;
|
|
43
|
-
balanceOf(account: string): NonPayableTransactionObject<string>;
|
|
44
|
-
decreaseAllowance(spender: string, subtractedValue: number | string | BN): NonPayableTransactionObject<boolean>;
|
|
45
|
-
increaseAllowance(spender: string, addedValue: number | string | BN): NonPayableTransactionObject<boolean>;
|
|
46
|
-
isMinter(account: string): NonPayableTransactionObject<boolean>;
|
|
47
|
-
mint(account: string, amount: number | string | BN): NonPayableTransactionObject<boolean>;
|
|
48
|
-
renounceMinter(): NonPayableTransactionObject<void>;
|
|
49
|
-
totalSupply(): NonPayableTransactionObject<string>;
|
|
50
|
-
transfer(recipient: string, amount: number | string | BN): NonPayableTransactionObject<boolean>;
|
|
51
|
-
transferFrom(sender: string, recipient: string, amount: number | string | BN): NonPayableTransactionObject<boolean>;
|
|
52
|
-
};
|
|
53
|
-
events: {
|
|
54
|
-
Approval(cb?: Callback<Approval>): EventEmitter;
|
|
55
|
-
Approval(options?: EventOptions, cb?: Callback<Approval>): EventEmitter;
|
|
56
|
-
MinterAdded(cb?: Callback<MinterAdded>): EventEmitter;
|
|
57
|
-
MinterAdded(options?: EventOptions, cb?: Callback<MinterAdded>): EventEmitter;
|
|
58
|
-
MinterRemoved(cb?: Callback<MinterRemoved>): EventEmitter;
|
|
59
|
-
MinterRemoved(options?: EventOptions, cb?: Callback<MinterRemoved>): EventEmitter;
|
|
60
|
-
Transfer(cb?: Callback<Transfer>): EventEmitter;
|
|
61
|
-
Transfer(options?: EventOptions, cb?: Callback<Transfer>): EventEmitter;
|
|
62
|
-
allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter;
|
|
63
|
-
};
|
|
64
|
-
once(event: "Approval", cb: Callback<Approval>): void;
|
|
65
|
-
once(event: "Approval", options: EventOptions, cb: Callback<Approval>): void;
|
|
66
|
-
once(event: "MinterAdded", cb: Callback<MinterAdded>): void;
|
|
67
|
-
once(event: "MinterAdded", options: EventOptions, cb: Callback<MinterAdded>): void;
|
|
68
|
-
once(event: "MinterRemoved", cb: Callback<MinterRemoved>): void;
|
|
69
|
-
once(event: "MinterRemoved", options: EventOptions, cb: Callback<MinterRemoved>): void;
|
|
70
|
-
once(event: "Transfer", cb: Callback<Transfer>): void;
|
|
71
|
-
once(event: "Transfer", options: EventOptions, cb: Callback<Transfer>): void;
|
|
72
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ERC20Mintable.js","sourceRoot":"","sources":["../../../../../../../../typechain/tests/web3-v1/v1.2.0/openzeppelin-solidity/build/contracts/ERC20Mintable.ts"],"names":[],"mappings":";AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB"}
|
package/dist/typechain/tests/web3-v1/v1.2.0/openzeppelin-solidity/build/contracts/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { ERC20Mintable } from "./ERC20Mintable";
|
package/dist/typechain/tests/web3-v1/v1.2.0/openzeppelin-solidity/build/contracts/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../typechain/tests/web3-v1/v1.2.0/openzeppelin-solidity/build/contracts/index.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../typechain/tests/web3-v1/v1.2.0/openzeppelin-solidity/build/index.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../typechain/tests/web3-v1/v1.2.0/openzeppelin-solidity/index.ts"],"names":[],"mappings":""}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
import type BN from "bn.js";
|
|
3
|
-
import type { EventEmitter } from "events";
|
|
4
|
-
import type { EventLog, PromiEvent, TransactionReceipt } from "web3-core/types";
|
|
5
|
-
import type { Contract } from "web3-eth-contract";
|
|
6
|
-
export interface EstimateGasOptions {
|
|
7
|
-
from?: string;
|
|
8
|
-
gas?: number;
|
|
9
|
-
value?: number | string | BN;
|
|
10
|
-
}
|
|
11
|
-
export interface EventOptions {
|
|
12
|
-
filter?: object;
|
|
13
|
-
fromBlock?: BlockType;
|
|
14
|
-
topics?: string[];
|
|
15
|
-
}
|
|
16
|
-
export type Callback<T> = (error: Error, result: T) => void;
|
|
17
|
-
export interface ContractEventLog<T> extends EventLog {
|
|
18
|
-
returnValues: T;
|
|
19
|
-
}
|
|
20
|
-
export interface ContractEventEmitter<T> extends EventEmitter {
|
|
21
|
-
on(event: "connected", listener: (subscriptionId: string) => void): this;
|
|
22
|
-
on(event: "data" | "changed", listener: (event: ContractEventLog<T>) => void): this;
|
|
23
|
-
on(event: "error", listener: (error: Error) => void): this;
|
|
24
|
-
}
|
|
25
|
-
export interface NonPayableTx {
|
|
26
|
-
nonce?: string | number | BN;
|
|
27
|
-
chainId?: string | number | BN;
|
|
28
|
-
from?: string;
|
|
29
|
-
to?: string;
|
|
30
|
-
data?: string;
|
|
31
|
-
gas?: string | number | BN;
|
|
32
|
-
maxPriorityFeePerGas?: string | number | BN;
|
|
33
|
-
maxFeePerGas?: string | number | BN;
|
|
34
|
-
gasPrice?: string | number | BN;
|
|
35
|
-
}
|
|
36
|
-
export interface PayableTx extends NonPayableTx {
|
|
37
|
-
value?: string | number | BN;
|
|
38
|
-
}
|
|
39
|
-
export interface NonPayableTransactionObject<T> {
|
|
40
|
-
arguments: any[];
|
|
41
|
-
call(tx?: NonPayableTx, block?: BlockType): Promise<T>;
|
|
42
|
-
send(tx?: NonPayableTx): PromiEvent<TransactionReceipt>;
|
|
43
|
-
estimateGas(tx?: NonPayableTx): Promise<number>;
|
|
44
|
-
encodeABI(): string;
|
|
45
|
-
}
|
|
46
|
-
export interface PayableTransactionObject<T> {
|
|
47
|
-
arguments: any[];
|
|
48
|
-
call(tx?: PayableTx, block?: BlockType): Promise<T>;
|
|
49
|
-
send(tx?: PayableTx): PromiEvent<TransactionReceipt>;
|
|
50
|
-
estimateGas(tx?: PayableTx): Promise<number>;
|
|
51
|
-
encodeABI(): string;
|
|
52
|
-
}
|
|
53
|
-
export type BlockType = "latest" | "pending" | "genesis" | "earliest" | number | BN;
|
|
54
|
-
export type BaseContract = Omit<Contract, "clone" | "once">;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../typechain/tests/web3-v1/v1.2.0/types.ts"],"names":[],"mappings":""}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
import type BN from "bn.js";
|
|
3
|
-
import type { ContractOptions } from "web3-eth-contract";
|
|
4
|
-
import type { EventLog } from "web3-core";
|
|
5
|
-
import type { EventEmitter } from "events";
|
|
6
|
-
import type { Callback, NonPayableTransactionObject, BlockType, ContractEventLog, BaseContract } from "./types";
|
|
7
|
-
export interface EventOptions {
|
|
8
|
-
filter?: object;
|
|
9
|
-
fromBlock?: BlockType;
|
|
10
|
-
topics?: string[];
|
|
11
|
-
}
|
|
12
|
-
export type GasUsage = ContractEventLog<{
|
|
13
|
-
safe: string;
|
|
14
|
-
txHash: string;
|
|
15
|
-
nonce: string;
|
|
16
|
-
success: boolean;
|
|
17
|
-
0: string;
|
|
18
|
-
1: string;
|
|
19
|
-
2: string;
|
|
20
|
-
3: boolean;
|
|
21
|
-
}>;
|
|
22
|
-
export type TransactionDetails = ContractEventLog<{
|
|
23
|
-
safe: string;
|
|
24
|
-
txHash: string;
|
|
25
|
-
to: string;
|
|
26
|
-
value: string;
|
|
27
|
-
data: string;
|
|
28
|
-
operation: string;
|
|
29
|
-
safeTxGas: string;
|
|
30
|
-
usesRefund: boolean;
|
|
31
|
-
nonce: string;
|
|
32
|
-
0: string;
|
|
33
|
-
1: string;
|
|
34
|
-
2: string;
|
|
35
|
-
3: string;
|
|
36
|
-
4: string;
|
|
37
|
-
5: string;
|
|
38
|
-
6: string;
|
|
39
|
-
7: boolean;
|
|
40
|
-
8: string;
|
|
41
|
-
}>;
|
|
42
|
-
export interface DebugTransactionGuard extends BaseContract {
|
|
43
|
-
constructor(jsonInterface: any[], address?: string, options?: ContractOptions): DebugTransactionGuard;
|
|
44
|
-
clone(): DebugTransactionGuard;
|
|
45
|
-
methods: {
|
|
46
|
-
checkAfterExecution(txHash: string | number[], success: boolean): NonPayableTransactionObject<void>;
|
|
47
|
-
checkTransaction(to: string, value: number | string | BN, data: string | number[], operation: number | string | BN, safeTxGas: number | string | BN, baseGas: number | string | BN, gasPrice: number | string | BN, gasToken: string, refundReceiver: string, arg9: string | number[], arg10: string): NonPayableTransactionObject<void>;
|
|
48
|
-
txNonces(arg0: string | number[]): NonPayableTransactionObject<string>;
|
|
49
|
-
};
|
|
50
|
-
events: {
|
|
51
|
-
GasUsage(cb?: Callback<GasUsage>): EventEmitter;
|
|
52
|
-
GasUsage(options?: EventOptions, cb?: Callback<GasUsage>): EventEmitter;
|
|
53
|
-
TransactionDetails(cb?: Callback<TransactionDetails>): EventEmitter;
|
|
54
|
-
TransactionDetails(options?: EventOptions, cb?: Callback<TransactionDetails>): EventEmitter;
|
|
55
|
-
allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter;
|
|
56
|
-
};
|
|
57
|
-
once(event: "GasUsage", cb: Callback<GasUsage>): void;
|
|
58
|
-
once(event: "GasUsage", options: EventOptions, cb: Callback<GasUsage>): void;
|
|
59
|
-
once(event: "TransactionDetails", cb: Callback<TransactionDetails>): void;
|
|
60
|
-
once(event: "TransactionDetails", options: EventOptions, cb: Callback<TransactionDetails>): void;
|
|
61
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DebugTransactionGuard.js","sourceRoot":"","sources":["../../../../../typechain/tests/web3-v1/v1.3.0/DebugTransactionGuard.ts"],"names":[],"mappings":";AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { DebugTransactionGuard } from "./DebugTransactionGuard";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../typechain/tests/web3-v1/v1.3.0/index.ts"],"names":[],"mappings":""}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
import type BN from "bn.js";
|
|
3
|
-
import type { EventEmitter } from "events";
|
|
4
|
-
import type { EventLog, PromiEvent, TransactionReceipt } from "web3-core/types";
|
|
5
|
-
import type { Contract } from "web3-eth-contract";
|
|
6
|
-
export interface EstimateGasOptions {
|
|
7
|
-
from?: string;
|
|
8
|
-
gas?: number;
|
|
9
|
-
value?: number | string | BN;
|
|
10
|
-
}
|
|
11
|
-
export interface EventOptions {
|
|
12
|
-
filter?: object;
|
|
13
|
-
fromBlock?: BlockType;
|
|
14
|
-
topics?: string[];
|
|
15
|
-
}
|
|
16
|
-
export type Callback<T> = (error: Error, result: T) => void;
|
|
17
|
-
export interface ContractEventLog<T> extends EventLog {
|
|
18
|
-
returnValues: T;
|
|
19
|
-
}
|
|
20
|
-
export interface ContractEventEmitter<T> extends EventEmitter {
|
|
21
|
-
on(event: "connected", listener: (subscriptionId: string) => void): this;
|
|
22
|
-
on(event: "data" | "changed", listener: (event: ContractEventLog<T>) => void): this;
|
|
23
|
-
on(event: "error", listener: (error: Error) => void): this;
|
|
24
|
-
}
|
|
25
|
-
export interface NonPayableTx {
|
|
26
|
-
nonce?: string | number | BN;
|
|
27
|
-
chainId?: string | number | BN;
|
|
28
|
-
from?: string;
|
|
29
|
-
to?: string;
|
|
30
|
-
data?: string;
|
|
31
|
-
gas?: string | number | BN;
|
|
32
|
-
maxPriorityFeePerGas?: string | number | BN;
|
|
33
|
-
maxFeePerGas?: string | number | BN;
|
|
34
|
-
gasPrice?: string | number | BN;
|
|
35
|
-
}
|
|
36
|
-
export interface PayableTx extends NonPayableTx {
|
|
37
|
-
value?: string | number | BN;
|
|
38
|
-
}
|
|
39
|
-
export interface NonPayableTransactionObject<T> {
|
|
40
|
-
arguments: any[];
|
|
41
|
-
call(tx?: NonPayableTx, block?: BlockType): Promise<T>;
|
|
42
|
-
send(tx?: NonPayableTx): PromiEvent<TransactionReceipt>;
|
|
43
|
-
estimateGas(tx?: NonPayableTx): Promise<number>;
|
|
44
|
-
encodeABI(): string;
|
|
45
|
-
}
|
|
46
|
-
export interface PayableTransactionObject<T> {
|
|
47
|
-
arguments: any[];
|
|
48
|
-
call(tx?: PayableTx, block?: BlockType): Promise<T>;
|
|
49
|
-
send(tx?: PayableTx): PromiEvent<TransactionReceipt>;
|
|
50
|
-
estimateGas(tx?: PayableTx): Promise<number>;
|
|
51
|
-
encodeABI(): string;
|
|
52
|
-
}
|
|
53
|
-
export type BlockType = "latest" | "pending" | "genesis" | "earliest" | number | BN;
|
|
54
|
-
export type BaseContract = Omit<Contract, "clone" | "once">;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../typechain/tests/web3-v1/v1.3.0/types.ts"],"names":[],"mappings":""}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
import type BN from "bn.js";
|
|
3
|
-
import type { ContractOptions } from "web3-eth-contract";
|
|
4
|
-
import type { EventLog } from "web3-core";
|
|
5
|
-
import type { EventEmitter } from "events";
|
|
6
|
-
import type { Callback, NonPayableTransactionObject, BlockType, ContractEventLog, BaseContract } from "./types";
|
|
7
|
-
export interface EventOptions {
|
|
8
|
-
filter?: object;
|
|
9
|
-
fromBlock?: BlockType;
|
|
10
|
-
topics?: string[];
|
|
11
|
-
}
|
|
12
|
-
export type GasUsage = ContractEventLog<{
|
|
13
|
-
safe: string;
|
|
14
|
-
txHash: string;
|
|
15
|
-
nonce: string;
|
|
16
|
-
success: boolean;
|
|
17
|
-
0: string;
|
|
18
|
-
1: string;
|
|
19
|
-
2: string;
|
|
20
|
-
3: boolean;
|
|
21
|
-
}>;
|
|
22
|
-
export type TransactionDetails = ContractEventLog<{
|
|
23
|
-
safe: string;
|
|
24
|
-
txHash: string;
|
|
25
|
-
to: string;
|
|
26
|
-
value: string;
|
|
27
|
-
data: string;
|
|
28
|
-
operation: string;
|
|
29
|
-
safeTxGas: string;
|
|
30
|
-
usesRefund: boolean;
|
|
31
|
-
nonce: string;
|
|
32
|
-
signatures: string;
|
|
33
|
-
executor: string;
|
|
34
|
-
0: string;
|
|
35
|
-
1: string;
|
|
36
|
-
2: string;
|
|
37
|
-
3: string;
|
|
38
|
-
4: string;
|
|
39
|
-
5: string;
|
|
40
|
-
6: string;
|
|
41
|
-
7: boolean;
|
|
42
|
-
8: string;
|
|
43
|
-
9: string;
|
|
44
|
-
10: string;
|
|
45
|
-
}>;
|
|
46
|
-
export interface DebugTransactionGuard extends BaseContract {
|
|
47
|
-
constructor(jsonInterface: any[], address?: string, options?: ContractOptions): DebugTransactionGuard;
|
|
48
|
-
clone(): DebugTransactionGuard;
|
|
49
|
-
methods: {
|
|
50
|
-
checkAfterExecution(txHash: string | number[], success: boolean): NonPayableTransactionObject<void>;
|
|
51
|
-
checkTransaction(to: string, value: number | string | BN, data: string | number[], operation: number | string | BN, safeTxGas: number | string | BN, baseGas: number | string | BN, gasPrice: number | string | BN, gasToken: string, refundReceiver: string, signatures: string | number[], executor: string): NonPayableTransactionObject<void>;
|
|
52
|
-
supportsInterface(interfaceId: string | number[]): NonPayableTransactionObject<boolean>;
|
|
53
|
-
txNonces(arg0: string | number[]): NonPayableTransactionObject<string>;
|
|
54
|
-
};
|
|
55
|
-
events: {
|
|
56
|
-
GasUsage(cb?: Callback<GasUsage>): EventEmitter;
|
|
57
|
-
GasUsage(options?: EventOptions, cb?: Callback<GasUsage>): EventEmitter;
|
|
58
|
-
TransactionDetails(cb?: Callback<TransactionDetails>): EventEmitter;
|
|
59
|
-
TransactionDetails(options?: EventOptions, cb?: Callback<TransactionDetails>): EventEmitter;
|
|
60
|
-
allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter;
|
|
61
|
-
};
|
|
62
|
-
once(event: "GasUsage", cb: Callback<GasUsage>): void;
|
|
63
|
-
once(event: "GasUsage", options: EventOptions, cb: Callback<GasUsage>): void;
|
|
64
|
-
once(event: "TransactionDetails", cb: Callback<TransactionDetails>): void;
|
|
65
|
-
once(event: "TransactionDetails", options: EventOptions, cb: Callback<TransactionDetails>): void;
|
|
66
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DebugTransactionGuard.js","sourceRoot":"","sources":["../../../../../typechain/tests/web3-v1/v1.4.1/DebugTransactionGuard.ts"],"names":[],"mappings":";AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { DebugTransactionGuard } from "./DebugTransactionGuard";
|