@1inch/solidity-utils 5.3.0 → 6.1.0
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/README.md +2 -2
- package/contracts/mixins/BySig.sol +2 -5
- package/dist/docgen/templates.js +1 -2
- package/dist/docgen/templates.js.map +1 -1
- package/dist/hardhat-setup/networks.js +5 -4
- package/dist/hardhat-setup/networks.js.map +1 -1
- package/dist/src/bySig.d.ts +2 -1
- package/dist/src/bySig.js +5 -4
- package/dist/src/bySig.js.map +1 -1
- package/dist/src/expect.d.ts +2 -2
- package/dist/src/expect.js +2 -3
- package/dist/src/expect.js.map +1 -1
- package/dist/src/permit.js +14 -14
- package/dist/src/permit.js.map +1 -1
- package/dist/src/prelude.js +2 -2
- package/dist/src/prelude.js.map +1 -1
- package/dist/src/profileEVM.d.ts +0 -2
- package/dist/src/profileEVM.js +3 -3
- package/dist/src/profileEVM.js.map +1 -1
- package/dist/src/utils.js +11 -12
- package/dist/src/utils.js.map +1 -1
- package/dist/typechain-types/@openzeppelin/contracts/utils/Errors.d.ts +20 -0
- package/dist/typechain-types/@openzeppelin/contracts/utils/Errors.js +3 -0
- package/dist/typechain-types/@openzeppelin/contracts/utils/Errors.js.map +1 -0
- package/dist/typechain-types/@openzeppelin/contracts/utils/index.d.ts +1 -0
- package/dist/typechain-types/@openzeppelin/contracts/utils/math/{Math.d.ts → SafeCast.d.ts} +4 -4
- package/dist/typechain-types/@openzeppelin/contracts/utils/math/SafeCast.js +3 -0
- package/dist/typechain-types/@openzeppelin/contracts/utils/math/SafeCast.js.map +1 -0
- package/dist/typechain-types/@openzeppelin/contracts/utils/math/index.d.ts +1 -1
- package/dist/typechain-types/contracts/tests/mocks/AddressArrayMock.d.ts +17 -1
- package/dist/typechain-types/contracts/tests/mocks/AddressSetMock.d.ts +17 -1
- package/dist/typechain-types/contracts/tests/mocks/RevertReasonForwarderMock.sol/RevertReasonForwarderHelper.d.ts +25 -0
- package/dist/typechain-types/contracts/tests/mocks/RevertReasonForwarderMock.sol/RevertReasonForwarderHelper.js +3 -0
- package/dist/typechain-types/contracts/tests/mocks/RevertReasonForwarderMock.sol/RevertReasonForwarderHelper.js.map +1 -0
- package/dist/typechain-types/contracts/tests/mocks/RevertReasonForwarderMock.sol/RevertReasonForwarderMock.d.ts +29 -0
- package/dist/typechain-types/contracts/tests/mocks/RevertReasonForwarderMock.sol/RevertReasonForwarderMock.js +3 -0
- package/dist/typechain-types/contracts/tests/mocks/RevertReasonForwarderMock.sol/RevertReasonForwarderMock.js.map +1 -0
- package/dist/typechain-types/contracts/tests/mocks/RevertReasonForwarderMock.sol/index.d.ts +2 -0
- package/dist/typechain-types/{@openzeppelin/contracts/utils/math/Math.js → contracts/tests/mocks/RevertReasonForwarderMock.sol/index.js} +1 -1
- package/dist/typechain-types/contracts/tests/mocks/RevertReasonForwarderMock.sol/index.js.map +1 -0
- package/dist/typechain-types/contracts/tests/mocks/SafeERC20Helper.sol/ERC20ThroughZeroApprove.d.ts +13 -1
- package/dist/typechain-types/contracts/tests/mocks/index.d.ts +2 -0
- package/dist/typechain-types/factories/@openzeppelin/contracts/utils/Address__factory.d.ts +1 -13
- package/dist/typechain-types/factories/@openzeppelin/contracts/utils/Address__factory.js +1 -17
- package/dist/typechain-types/factories/@openzeppelin/contracts/utils/Address__factory.js.map +1 -1
- package/dist/typechain-types/factories/@openzeppelin/contracts/utils/Errors__factory.d.ts +50 -0
- package/dist/typechain-types/factories/@openzeppelin/contracts/utils/Errors__factory.js +77 -0
- package/dist/typechain-types/factories/@openzeppelin/contracts/utils/Errors__factory.js.map +1 -0
- package/dist/typechain-types/factories/@openzeppelin/contracts/utils/ShortStrings__factory.d.ts +1 -1
- package/dist/typechain-types/factories/@openzeppelin/contracts/utils/ShortStrings__factory.js +1 -1
- package/dist/typechain-types/factories/@openzeppelin/contracts/utils/Strings__factory.d.ts +1 -1
- package/dist/typechain-types/factories/@openzeppelin/contracts/utils/Strings__factory.js +1 -1
- package/dist/typechain-types/factories/@openzeppelin/contracts/utils/cryptography/ECDSA__factory.d.ts +1 -1
- package/dist/typechain-types/factories/@openzeppelin/contracts/utils/cryptography/ECDSA__factory.js +1 -1
- package/dist/typechain-types/factories/@openzeppelin/contracts/utils/index.d.ts +1 -0
- package/dist/typechain-types/factories/@openzeppelin/contracts/utils/index.js +3 -1
- package/dist/typechain-types/factories/@openzeppelin/contracts/utils/index.js.map +1 -1
- package/dist/typechain-types/factories/@openzeppelin/contracts/utils/math/SafeCast__factory.d.ts +62 -0
- package/dist/typechain-types/factories/@openzeppelin/contracts/utils/math/SafeCast__factory.js +94 -0
- package/dist/typechain-types/factories/@openzeppelin/contracts/utils/math/SafeCast__factory.js.map +1 -0
- package/dist/typechain-types/factories/@openzeppelin/contracts/utils/math/index.d.ts +1 -1
- package/dist/typechain-types/factories/@openzeppelin/contracts/utils/math/index.js +3 -3
- package/dist/typechain-types/factories/@openzeppelin/contracts/utils/math/index.js.map +1 -1
- package/dist/typechain-types/factories/contracts/libraries/SafeERC20__factory.d.ts +1 -1
- package/dist/typechain-types/factories/contracts/libraries/SafeERC20__factory.js +1 -1
- package/dist/typechain-types/factories/contracts/libraries/UniERC20__factory.d.ts +1 -1
- package/dist/typechain-types/factories/contracts/libraries/UniERC20__factory.js +1 -1
- package/dist/typechain-types/factories/contracts/mixins/BySig__factory.d.ts +1 -1
- package/dist/typechain-types/factories/contracts/mixins/BySig__factory.js +1 -1
- package/dist/typechain-types/factories/contracts/mixins/BySig__factory.js.map +1 -1
- package/dist/typechain-types/factories/contracts/mocks/ERC20PermitMock__factory.d.ts +1 -1
- package/dist/typechain-types/factories/contracts/mocks/ERC20PermitMock__factory.js +1 -1
- package/dist/typechain-types/factories/contracts/mocks/TokenCustomDecimalsMock__factory.d.ts +1 -1
- package/dist/typechain-types/factories/contracts/mocks/TokenCustomDecimalsMock__factory.js +1 -1
- package/dist/typechain-types/factories/contracts/mocks/TokenMock__factory.d.ts +1 -1
- package/dist/typechain-types/factories/contracts/mocks/TokenMock__factory.js +1 -1
- package/dist/typechain-types/factories/contracts/tests/ECDSATest__factory.d.ts +1 -1
- package/dist/typechain-types/factories/contracts/tests/ECDSATest__factory.js +1 -1
- package/dist/typechain-types/factories/contracts/tests/mocks/AddressArrayMock__factory.d.ts +25 -1
- package/dist/typechain-types/factories/contracts/tests/mocks/AddressArrayMock__factory.js +32 -1
- package/dist/typechain-types/factories/contracts/tests/mocks/AddressArrayMock__factory.js.map +1 -1
- package/dist/typechain-types/factories/contracts/tests/mocks/AddressSetMock__factory.d.ts +25 -1
- package/dist/typechain-types/factories/contracts/tests/mocks/AddressSetMock__factory.js +32 -1
- package/dist/typechain-types/factories/contracts/tests/mocks/AddressSetMock__factory.js.map +1 -1
- package/dist/typechain-types/factories/contracts/tests/mocks/DaiLikePermitMock__factory.d.ts +1 -1
- package/dist/typechain-types/factories/contracts/tests/mocks/DaiLikePermitMock__factory.js +1 -1
- package/dist/typechain-types/factories/contracts/tests/mocks/ERC1271WalletMock__factory.d.ts +1 -1
- package/dist/typechain-types/factories/contracts/tests/mocks/ERC1271WalletMock__factory.js +1 -1
- package/dist/typechain-types/factories/contracts/tests/mocks/PermitAndCallMock__factory.d.ts +1 -1
- package/dist/typechain-types/factories/contracts/tests/mocks/PermitAndCallMock__factory.js +1 -1
- package/dist/typechain-types/factories/contracts/tests/mocks/PermitableMock__factory.d.ts +1 -1
- package/dist/typechain-types/factories/contracts/tests/mocks/PermitableMock__factory.js +1 -1
- package/dist/typechain-types/factories/contracts/tests/mocks/RevertReasonForwarderMock.sol/RevertReasonForwarderHelper__factory.d.ts +32 -0
- package/dist/typechain-types/factories/contracts/tests/mocks/RevertReasonForwarderMock.sol/RevertReasonForwarderHelper__factory.js +52 -0
- package/dist/typechain-types/factories/contracts/tests/mocks/RevertReasonForwarderMock.sol/RevertReasonForwarderHelper__factory.js.map +1 -0
- package/dist/typechain-types/factories/contracts/tests/mocks/RevertReasonForwarderMock.sol/RevertReasonForwarderMock__factory.d.ts +46 -0
- package/dist/typechain-types/factories/contracts/tests/mocks/RevertReasonForwarderMock.sol/RevertReasonForwarderMock__factory.js +71 -0
- package/dist/typechain-types/factories/contracts/tests/mocks/RevertReasonForwarderMock.sol/RevertReasonForwarderMock__factory.js.map +1 -0
- package/dist/typechain-types/factories/contracts/tests/mocks/RevertReasonForwarderMock.sol/index.d.ts +2 -0
- package/dist/typechain-types/factories/contracts/tests/mocks/RevertReasonForwarderMock.sol/index.js +11 -0
- package/dist/typechain-types/factories/contracts/tests/mocks/RevertReasonForwarderMock.sol/index.js.map +1 -0
- package/dist/typechain-types/factories/contracts/tests/mocks/SafeERC20Helper.sol/ERC20NoReturnMock__factory.d.ts +1 -1
- package/dist/typechain-types/factories/contracts/tests/mocks/SafeERC20Helper.sol/ERC20NoReturnMock__factory.js +1 -1
- package/dist/typechain-types/factories/contracts/tests/mocks/SafeERC20Helper.sol/ERC20PermitNoRevertMock__factory.d.ts +1 -1
- package/dist/typechain-types/factories/contracts/tests/mocks/SafeERC20Helper.sol/ERC20PermitNoRevertMock__factory.js +1 -1
- package/dist/typechain-types/factories/contracts/tests/mocks/SafeERC20Helper.sol/ERC20ReturnFalseMock__factory.d.ts +1 -1
- package/dist/typechain-types/factories/contracts/tests/mocks/SafeERC20Helper.sol/ERC20ReturnFalseMock__factory.js +1 -1
- package/dist/typechain-types/factories/contracts/tests/mocks/SafeERC20Helper.sol/ERC20ReturnTrueMock__factory.d.ts +1 -1
- package/dist/typechain-types/factories/contracts/tests/mocks/SafeERC20Helper.sol/ERC20ReturnTrueMock__factory.js +1 -1
- package/dist/typechain-types/factories/contracts/tests/mocks/SafeERC20Helper.sol/ERC20ThroughZeroApprove__factory.d.ts +21 -1
- package/dist/typechain-types/factories/contracts/tests/mocks/SafeERC20Helper.sol/ERC20ThroughZeroApprove__factory.js +27 -1
- package/dist/typechain-types/factories/contracts/tests/mocks/SafeERC20Helper.sol/ERC20ThroughZeroApprove__factory.js.map +1 -1
- package/dist/typechain-types/factories/contracts/tests/mocks/SafeERC20Helper.sol/ERC20WithSafeBalance__factory.d.ts +1 -1
- package/dist/typechain-types/factories/contracts/tests/mocks/SafeERC20Helper.sol/ERC20WithSafeBalance__factory.js +1 -1
- package/dist/typechain-types/factories/contracts/tests/mocks/SafeERC20Helper.sol/Permit2ReturnTrueMock__factory.d.ts +1 -1
- package/dist/typechain-types/factories/contracts/tests/mocks/SafeERC20Helper.sol/Permit2ReturnTrueMock__factory.js +1 -1
- package/dist/typechain-types/factories/contracts/tests/mocks/SafeERC20Helper.sol/SafeERC20Wrapper__factory.d.ts +1 -1
- package/dist/typechain-types/factories/contracts/tests/mocks/SafeERC20Helper.sol/SafeERC20Wrapper__factory.js +1 -1
- package/dist/typechain-types/factories/contracts/tests/mocks/SafeERC20Helper.sol/SafeWETHWrapper__factory.d.ts +1 -1
- package/dist/typechain-types/factories/contracts/tests/mocks/SafeERC20Helper.sol/SafeWETHWrapper__factory.js +1 -1
- package/dist/typechain-types/factories/contracts/tests/mocks/TokenWithBySig__factory.d.ts +2 -2
- package/dist/typechain-types/factories/contracts/tests/mocks/TokenWithBySig__factory.js +2 -2
- package/dist/typechain-types/factories/contracts/tests/mocks/TokenWithBySig__factory.js.map +1 -1
- package/dist/typechain-types/factories/contracts/tests/mocks/USDCLikePermitMock__factory.d.ts +1 -1
- package/dist/typechain-types/factories/contracts/tests/mocks/USDCLikePermitMock__factory.js +1 -1
- package/dist/typechain-types/factories/contracts/tests/mocks/UniERC20Helper.sol/ERC20Capitals__factory.d.ts +1 -1
- package/dist/typechain-types/factories/contracts/tests/mocks/UniERC20Helper.sol/ERC20Capitals__factory.js +1 -1
- package/dist/typechain-types/factories/contracts/tests/mocks/UniERC20Helper.sol/ERC20bytes32Capitals__factory.d.ts +1 -1
- package/dist/typechain-types/factories/contracts/tests/mocks/UniERC20Helper.sol/ERC20bytes32Capitals__factory.js +1 -1
- package/dist/typechain-types/factories/contracts/tests/mocks/UniERC20Helper.sol/ERC20bytes32__factory.d.ts +1 -1
- package/dist/typechain-types/factories/contracts/tests/mocks/UniERC20Helper.sol/ERC20bytes32__factory.js +1 -1
- package/dist/typechain-types/factories/contracts/tests/mocks/UniERC20Helper.sol/ETHBadReceiver__factory.d.ts +1 -1
- package/dist/typechain-types/factories/contracts/tests/mocks/UniERC20Helper.sol/ETHBadReceiver__factory.js +1 -1
- package/dist/typechain-types/factories/contracts/tests/mocks/UniERC20Helper.sol/UniERC20Wrapper__factory.d.ts +1 -1
- package/dist/typechain-types/factories/contracts/tests/mocks/UniERC20Helper.sol/UniERC20Wrapper__factory.js +1 -1
- package/dist/typechain-types/factories/contracts/tests/mocks/index.d.ts +1 -0
- package/dist/typechain-types/factories/contracts/tests/mocks/index.js +2 -1
- package/dist/typechain-types/factories/contracts/tests/mocks/index.js.map +1 -1
- package/dist/typechain-types/index.d.ts +8 -2
- package/dist/typechain-types/index.js +10 -4
- package/dist/typechain-types/index.js.map +1 -1
- package/package.json +32 -38
- package/dist/typechain-types/@openzeppelin/contracts/utils/math/Math.js.map +0 -1
- package/dist/typechain-types/factories/@openzeppelin/contracts/utils/math/Math__factory.d.ts +0 -26
- package/dist/typechain-types/factories/@openzeppelin/contracts/utils/math/Math__factory.js +0 -45
- package/dist/typechain-types/factories/@openzeppelin/contracts/utils/math/Math__factory.js.map +0 -1
- package/utils/README.md +0 -198
- package/utils/acquit-markdown.js +0 -53
- package/utils/docify.utils.js +0 -99
- package/utils/file-dependencies.js +0 -203
- package/utils/solidity-docgen-helpers.js +0 -31
- package/utils/test-docgen.js +0 -117
package/dist/src/utils.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/utils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/utils.ts"],"names":[],"mappings":";;AAqEA,oDAgDC;AAcD,0EAmDC;AAgBD,8EA0CC;AAOD,wCAIC;AASD,wCAKC;AAYD,gEAKC;AAmCD,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;QACD,MAAM,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC,MAAM,QAAQ,CAAC,IAAI,EAAuB,CAAA,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC;IAChG,CAAC;IAAC,MAAM,CAAC;QACL,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;IAC/D,CAAC;IACD,OAAO,MAAM,CAAC;AAClB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { BaseContract, FunctionFragment, Interface, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
+
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener } from "../../../common";
|
|
3
|
+
export interface ErrorsInterface extends Interface {
|
|
4
|
+
}
|
|
5
|
+
export interface Errors extends BaseContract {
|
|
6
|
+
connect(runner?: ContractRunner | null): Errors;
|
|
7
|
+
waitForDeployment(): Promise<this>;
|
|
8
|
+
interface: ErrorsInterface;
|
|
9
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
10
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
11
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
12
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
13
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
14
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
15
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
16
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
17
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
18
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
19
|
+
filters: {};
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Errors.js","sourceRoot":"","sources":["../../../../../typechain-types/@openzeppelin/contracts/utils/Errors.ts"],"names":[],"mappings":""}
|
|
@@ -3,6 +3,7 @@ export type { cryptography };
|
|
|
3
3
|
import type * as math from "./math";
|
|
4
4
|
export type { math };
|
|
5
5
|
export type { Address } from "./Address";
|
|
6
|
+
export type { Errors } from "./Errors";
|
|
6
7
|
export type { Nonces } from "./Nonces";
|
|
7
8
|
export type { ShortStrings } from "./ShortStrings";
|
|
8
9
|
export type { Strings } from "./Strings";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { BaseContract, FunctionFragment, Interface, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
2
|
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener } from "../../../../common";
|
|
3
|
-
export interface
|
|
3
|
+
export interface SafeCastInterface extends Interface {
|
|
4
4
|
}
|
|
5
|
-
export interface
|
|
6
|
-
connect(runner?: ContractRunner | null):
|
|
5
|
+
export interface SafeCast extends BaseContract {
|
|
6
|
+
connect(runner?: ContractRunner | null): SafeCast;
|
|
7
7
|
waitForDeployment(): Promise<this>;
|
|
8
|
-
interface:
|
|
8
|
+
interface: SafeCastInterface;
|
|
9
9
|
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
10
10
|
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
11
11
|
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SafeCast.js","sourceRoot":"","sources":["../../../../../../typechain-types/@openzeppelin/contracts/utils/math/SafeCast.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type {
|
|
1
|
+
export type { SafeCast } from "./SafeCast";
|
|
@@ -1,16 +1,20 @@
|
|
|
1
1
|
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
2
|
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod } from "../../../common";
|
|
3
3
|
export interface AddressArrayMockInterface extends Interface {
|
|
4
|
-
getFunction(nameOrSignature: "at" | "get" | "length" | "pop" | "push" | "set" | "unsafeAt"): FunctionFragment;
|
|
4
|
+
getFunction(nameOrSignature: "at" | "erase" | "get" | "getAndProvideArr" | "length" | "pop" | "push" | "set" | "unsafeAt"): FunctionFragment;
|
|
5
5
|
encodeFunctionData(functionFragment: "at", values: [BigNumberish]): string;
|
|
6
|
+
encodeFunctionData(functionFragment: "erase", values?: undefined): string;
|
|
6
7
|
encodeFunctionData(functionFragment: "get", values?: undefined): string;
|
|
8
|
+
encodeFunctionData(functionFragment: "getAndProvideArr", values: [AddressLike[]]): string;
|
|
7
9
|
encodeFunctionData(functionFragment: "length", values?: undefined): string;
|
|
8
10
|
encodeFunctionData(functionFragment: "pop", values?: undefined): string;
|
|
9
11
|
encodeFunctionData(functionFragment: "push", values: [AddressLike]): string;
|
|
10
12
|
encodeFunctionData(functionFragment: "set", values: [BigNumberish, AddressLike]): string;
|
|
11
13
|
encodeFunctionData(functionFragment: "unsafeAt", values: [BigNumberish]): string;
|
|
12
14
|
decodeFunctionResult(functionFragment: "at", data: BytesLike): Result;
|
|
15
|
+
decodeFunctionResult(functionFragment: "erase", data: BytesLike): Result;
|
|
13
16
|
decodeFunctionResult(functionFragment: "get", data: BytesLike): Result;
|
|
17
|
+
decodeFunctionResult(functionFragment: "getAndProvideArr", data: BytesLike): Result;
|
|
14
18
|
decodeFunctionResult(functionFragment: "length", data: BytesLike): Result;
|
|
15
19
|
decodeFunctionResult(functionFragment: "pop", data: BytesLike): Result;
|
|
16
20
|
decodeFunctionResult(functionFragment: "push", data: BytesLike): Result;
|
|
@@ -31,7 +35,13 @@ export interface AddressArrayMock extends BaseContract {
|
|
|
31
35
|
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
32
36
|
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
33
37
|
at: TypedContractMethod<[i: BigNumberish], [string], "view">;
|
|
38
|
+
erase: TypedContractMethod<[], [void], "nonpayable">;
|
|
34
39
|
get: TypedContractMethod<[], [string[]], "view">;
|
|
40
|
+
getAndProvideArr: TypedContractMethod<[
|
|
41
|
+
providedArr: AddressLike[]
|
|
42
|
+
], [
|
|
43
|
+
[string[], string[]]
|
|
44
|
+
], "view">;
|
|
35
45
|
length: TypedContractMethod<[], [bigint], "view">;
|
|
36
46
|
pop: TypedContractMethod<[], [void], "nonpayable">;
|
|
37
47
|
push: TypedContractMethod<[account: AddressLike], [bigint], "nonpayable">;
|
|
@@ -44,7 +54,13 @@ export interface AddressArrayMock extends BaseContract {
|
|
|
44
54
|
unsafeAt: TypedContractMethod<[i: BigNumberish], [string], "view">;
|
|
45
55
|
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
46
56
|
getFunction(nameOrSignature: "at"): TypedContractMethod<[i: BigNumberish], [string], "view">;
|
|
57
|
+
getFunction(nameOrSignature: "erase"): TypedContractMethod<[], [void], "nonpayable">;
|
|
47
58
|
getFunction(nameOrSignature: "get"): TypedContractMethod<[], [string[]], "view">;
|
|
59
|
+
getFunction(nameOrSignature: "getAndProvideArr"): TypedContractMethod<[
|
|
60
|
+
providedArr: AddressLike[]
|
|
61
|
+
], [
|
|
62
|
+
[string[], string[]]
|
|
63
|
+
], "view">;
|
|
48
64
|
getFunction(nameOrSignature: "length"): TypedContractMethod<[], [bigint], "view">;
|
|
49
65
|
getFunction(nameOrSignature: "pop"): TypedContractMethod<[], [void], "nonpayable">;
|
|
50
66
|
getFunction(nameOrSignature: "push"): TypedContractMethod<[account: AddressLike], [bigint], "nonpayable">;
|
|
@@ -1,18 +1,22 @@
|
|
|
1
1
|
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
2
|
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod } from "../../../common";
|
|
3
3
|
export interface AddressSetMockInterface extends Interface {
|
|
4
|
-
getFunction(nameOrSignature: "add" | "at" | "contains" | "get" | "length" | "remove" | "unsafeAt"): FunctionFragment;
|
|
4
|
+
getFunction(nameOrSignature: "add" | "at" | "contains" | "erase" | "get" | "getAndProvideSet" | "length" | "remove" | "unsafeAt"): FunctionFragment;
|
|
5
5
|
encodeFunctionData(functionFragment: "add", values: [AddressLike]): string;
|
|
6
6
|
encodeFunctionData(functionFragment: "at", values: [BigNumberish]): string;
|
|
7
7
|
encodeFunctionData(functionFragment: "contains", values: [AddressLike]): string;
|
|
8
|
+
encodeFunctionData(functionFragment: "erase", values?: undefined): string;
|
|
8
9
|
encodeFunctionData(functionFragment: "get", values?: undefined): string;
|
|
10
|
+
encodeFunctionData(functionFragment: "getAndProvideSet", values: [AddressLike[]]): string;
|
|
9
11
|
encodeFunctionData(functionFragment: "length", values?: undefined): string;
|
|
10
12
|
encodeFunctionData(functionFragment: "remove", values: [AddressLike]): string;
|
|
11
13
|
encodeFunctionData(functionFragment: "unsafeAt", values: [BigNumberish]): string;
|
|
12
14
|
decodeFunctionResult(functionFragment: "add", data: BytesLike): Result;
|
|
13
15
|
decodeFunctionResult(functionFragment: "at", data: BytesLike): Result;
|
|
14
16
|
decodeFunctionResult(functionFragment: "contains", data: BytesLike): Result;
|
|
17
|
+
decodeFunctionResult(functionFragment: "erase", data: BytesLike): Result;
|
|
15
18
|
decodeFunctionResult(functionFragment: "get", data: BytesLike): Result;
|
|
19
|
+
decodeFunctionResult(functionFragment: "getAndProvideSet", data: BytesLike): Result;
|
|
16
20
|
decodeFunctionResult(functionFragment: "length", data: BytesLike): Result;
|
|
17
21
|
decodeFunctionResult(functionFragment: "remove", data: BytesLike): Result;
|
|
18
22
|
decodeFunctionResult(functionFragment: "unsafeAt", data: BytesLike): Result;
|
|
@@ -33,7 +37,13 @@ export interface AddressSetMock extends BaseContract {
|
|
|
33
37
|
add: TypedContractMethod<[item: AddressLike], [boolean], "nonpayable">;
|
|
34
38
|
at: TypedContractMethod<[index: BigNumberish], [string], "view">;
|
|
35
39
|
contains: TypedContractMethod<[item: AddressLike], [boolean], "view">;
|
|
40
|
+
erase: TypedContractMethod<[], [void], "nonpayable">;
|
|
36
41
|
get: TypedContractMethod<[], [string[]], "view">;
|
|
42
|
+
getAndProvideSet: TypedContractMethod<[
|
|
43
|
+
providedArr: AddressLike[]
|
|
44
|
+
], [
|
|
45
|
+
[string[], string[]]
|
|
46
|
+
], "view">;
|
|
37
47
|
length: TypedContractMethod<[], [bigint], "view">;
|
|
38
48
|
remove: TypedContractMethod<[item: AddressLike], [boolean], "nonpayable">;
|
|
39
49
|
unsafeAt: TypedContractMethod<[index: BigNumberish], [string], "view">;
|
|
@@ -41,7 +51,13 @@ export interface AddressSetMock extends BaseContract {
|
|
|
41
51
|
getFunction(nameOrSignature: "add"): TypedContractMethod<[item: AddressLike], [boolean], "nonpayable">;
|
|
42
52
|
getFunction(nameOrSignature: "at"): TypedContractMethod<[index: BigNumberish], [string], "view">;
|
|
43
53
|
getFunction(nameOrSignature: "contains"): TypedContractMethod<[item: AddressLike], [boolean], "view">;
|
|
54
|
+
getFunction(nameOrSignature: "erase"): TypedContractMethod<[], [void], "nonpayable">;
|
|
44
55
|
getFunction(nameOrSignature: "get"): TypedContractMethod<[], [string[]], "view">;
|
|
56
|
+
getFunction(nameOrSignature: "getAndProvideSet"): TypedContractMethod<[
|
|
57
|
+
providedArr: AddressLike[]
|
|
58
|
+
], [
|
|
59
|
+
[string[], string[]]
|
|
60
|
+
], "view">;
|
|
45
61
|
getFunction(nameOrSignature: "length"): TypedContractMethod<[], [bigint], "view">;
|
|
46
62
|
getFunction(nameOrSignature: "remove"): TypedContractMethod<[item: AddressLike], [boolean], "nonpayable">;
|
|
47
63
|
getFunction(nameOrSignature: "unsafeAt"): TypedContractMethod<[index: BigNumberish], [string], "view">;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { BaseContract, BytesLike, FunctionFragment, Result, Interface, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
+
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod } from "../../../../common";
|
|
3
|
+
export interface RevertReasonForwarderHelperInterface extends Interface {
|
|
4
|
+
getFunction(nameOrSignature: "revertWithReason"): FunctionFragment;
|
|
5
|
+
encodeFunctionData(functionFragment: "revertWithReason", values?: undefined): string;
|
|
6
|
+
decodeFunctionResult(functionFragment: "revertWithReason", data: BytesLike): Result;
|
|
7
|
+
}
|
|
8
|
+
export interface RevertReasonForwarderHelper extends BaseContract {
|
|
9
|
+
connect(runner?: ContractRunner | null): RevertReasonForwarderHelper;
|
|
10
|
+
waitForDeployment(): Promise<this>;
|
|
11
|
+
interface: RevertReasonForwarderHelperInterface;
|
|
12
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
13
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
14
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
15
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
16
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
17
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
18
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
19
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
20
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
21
|
+
revertWithReason: TypedContractMethod<[], [void], "view">;
|
|
22
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
23
|
+
getFunction(nameOrSignature: "revertWithReason"): TypedContractMethod<[], [void], "view">;
|
|
24
|
+
filters: {};
|
|
25
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RevertReasonForwarderHelper.js","sourceRoot":"","sources":["../../../../../../typechain-types/contracts/tests/mocks/RevertReasonForwarderMock.sol/RevertReasonForwarderHelper.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { BaseContract, BytesLike, FunctionFragment, Result, Interface, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
+
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod } from "../../../../common";
|
|
3
|
+
export interface RevertReasonForwarderMockInterface extends Interface {
|
|
4
|
+
getFunction(nameOrSignature: "reReason" | "reRevert"): FunctionFragment;
|
|
5
|
+
encodeFunctionData(functionFragment: "reReason", values?: undefined): string;
|
|
6
|
+
encodeFunctionData(functionFragment: "reRevert", values?: undefined): string;
|
|
7
|
+
decodeFunctionResult(functionFragment: "reReason", data: BytesLike): Result;
|
|
8
|
+
decodeFunctionResult(functionFragment: "reRevert", data: BytesLike): Result;
|
|
9
|
+
}
|
|
10
|
+
export interface RevertReasonForwarderMock extends BaseContract {
|
|
11
|
+
connect(runner?: ContractRunner | null): RevertReasonForwarderMock;
|
|
12
|
+
waitForDeployment(): Promise<this>;
|
|
13
|
+
interface: RevertReasonForwarderMockInterface;
|
|
14
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
15
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
16
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
17
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
18
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
19
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
20
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
21
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
22
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
23
|
+
reReason: TypedContractMethod<[], [string], "payable">;
|
|
24
|
+
reRevert: TypedContractMethod<[], [void], "payable">;
|
|
25
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
26
|
+
getFunction(nameOrSignature: "reReason"): TypedContractMethod<[], [string], "payable">;
|
|
27
|
+
getFunction(nameOrSignature: "reRevert"): TypedContractMethod<[], [void], "payable">;
|
|
28
|
+
filters: {};
|
|
29
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RevertReasonForwarderMock.js","sourceRoot":"","sources":["../../../../../../typechain-types/contracts/tests/mocks/RevertReasonForwarderMock.sol/RevertReasonForwarderMock.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../typechain-types/contracts/tests/mocks/RevertReasonForwarderMock.sol/index.ts"],"names":[],"mappings":""}
|
package/dist/typechain-types/contracts/tests/mocks/SafeERC20Helper.sol/ERC20ThroughZeroApprove.d.ts
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
2
|
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod } from "../../../../common";
|
|
3
3
|
export interface ERC20ThroughZeroApproveInterface extends Interface {
|
|
4
|
-
getFunction(nameOrSignature: "allowance" | "approve"): FunctionFragment;
|
|
4
|
+
getFunction(nameOrSignature: "allowance" | "approve" | "setFailAfterZeroReset" | "setFailFlag"): FunctionFragment;
|
|
5
5
|
encodeFunctionData(functionFragment: "allowance", values: [AddressLike, AddressLike]): string;
|
|
6
6
|
encodeFunctionData(functionFragment: "approve", values: [AddressLike, BigNumberish]): string;
|
|
7
|
+
encodeFunctionData(functionFragment: "setFailAfterZeroReset", values: [boolean]): string;
|
|
8
|
+
encodeFunctionData(functionFragment: "setFailFlag", values: [boolean]): string;
|
|
7
9
|
decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result;
|
|
8
10
|
decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result;
|
|
11
|
+
decodeFunctionResult(functionFragment: "setFailAfterZeroReset", data: BytesLike): Result;
|
|
12
|
+
decodeFunctionResult(functionFragment: "setFailFlag", data: BytesLike): Result;
|
|
9
13
|
}
|
|
10
14
|
export interface ERC20ThroughZeroApprove extends BaseContract {
|
|
11
15
|
connect(runner?: ContractRunner | null): ERC20ThroughZeroApprove;
|
|
@@ -32,6 +36,12 @@ export interface ERC20ThroughZeroApprove extends BaseContract {
|
|
|
32
36
|
], [
|
|
33
37
|
void
|
|
34
38
|
], "nonpayable">;
|
|
39
|
+
setFailAfterZeroReset: TypedContractMethod<[
|
|
40
|
+
fail: boolean
|
|
41
|
+
], [
|
|
42
|
+
void
|
|
43
|
+
], "nonpayable">;
|
|
44
|
+
setFailFlag: TypedContractMethod<[fail: boolean], [void], "nonpayable">;
|
|
35
45
|
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
36
46
|
getFunction(nameOrSignature: "allowance"): TypedContractMethod<[
|
|
37
47
|
owner: AddressLike,
|
|
@@ -45,5 +55,7 @@ export interface ERC20ThroughZeroApprove extends BaseContract {
|
|
|
45
55
|
], [
|
|
46
56
|
void
|
|
47
57
|
], "nonpayable">;
|
|
58
|
+
getFunction(nameOrSignature: "setFailAfterZeroReset"): TypedContractMethod<[fail: boolean], [void], "nonpayable">;
|
|
59
|
+
getFunction(nameOrSignature: "setFailFlag"): TypedContractMethod<[fail: boolean], [void], "nonpayable">;
|
|
48
60
|
filters: {};
|
|
49
61
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type * as revertReasonForwarderMockSol from "./RevertReasonForwarderMock.sol";
|
|
2
|
+
export type { revertReasonForwarderMockSol };
|
|
1
3
|
import type * as safeErc20HelperSol from "./SafeERC20Helper.sol";
|
|
2
4
|
export type { safeErc20HelperSol };
|
|
3
5
|
import type * as uniErc20HelperSol from "./UniERC20Helper.sol";
|
|
@@ -14,7 +14,7 @@ export declare class Address__factory extends ContractFactory {
|
|
|
14
14
|
deploymentTransaction(): ContractTransactionResponse;
|
|
15
15
|
}>;
|
|
16
16
|
connect(runner: ContractRunner | null): Address__factory;
|
|
17
|
-
static readonly bytecode = "
|
|
17
|
+
static readonly bytecode = "0x6080806040523460175760399081601c823930815050f35b5f80fdfe5f80fdfea26469706673582212200de9151a7ca92dc0c01f7742f7fd05d1d9dfb59fa6f40374841ccade5fe3760d64736f6c63430008190033";
|
|
18
18
|
static readonly abi: readonly [{
|
|
19
19
|
readonly inputs: readonly [{
|
|
20
20
|
readonly internalType: "address";
|
|
@@ -23,18 +23,6 @@ export declare class Address__factory extends ContractFactory {
|
|
|
23
23
|
}];
|
|
24
24
|
readonly name: "AddressEmptyCode";
|
|
25
25
|
readonly type: "error";
|
|
26
|
-
}, {
|
|
27
|
-
readonly inputs: readonly [{
|
|
28
|
-
readonly internalType: "address";
|
|
29
|
-
readonly name: "account";
|
|
30
|
-
readonly type: "address";
|
|
31
|
-
}];
|
|
32
|
-
readonly name: "AddressInsufficientBalance";
|
|
33
|
-
readonly type: "error";
|
|
34
|
-
}, {
|
|
35
|
-
readonly inputs: readonly [];
|
|
36
|
-
readonly name: "FailedInnerCall";
|
|
37
|
-
readonly type: "error";
|
|
38
26
|
}];
|
|
39
27
|
static createInterface(): AddressInterface;
|
|
40
28
|
static connect(address: string, runner?: ContractRunner | null): Address;
|
|
@@ -17,24 +17,8 @@ const _abi = [
|
|
|
17
17
|
name: "AddressEmptyCode",
|
|
18
18
|
type: "error",
|
|
19
19
|
},
|
|
20
|
-
{
|
|
21
|
-
inputs: [
|
|
22
|
-
{
|
|
23
|
-
internalType: "address",
|
|
24
|
-
name: "account",
|
|
25
|
-
type: "address",
|
|
26
|
-
},
|
|
27
|
-
],
|
|
28
|
-
name: "AddressInsufficientBalance",
|
|
29
|
-
type: "error",
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
inputs: [],
|
|
33
|
-
name: "FailedInnerCall",
|
|
34
|
-
type: "error",
|
|
35
|
-
},
|
|
36
20
|
];
|
|
37
|
-
const _bytecode = "
|
|
21
|
+
const _bytecode = "0x6080806040523460175760399081601c823930815050f35b5f80fdfe5f80fdfea26469706673582212200de9151a7ca92dc0c01f7742f7fd05d1d9dfb59fa6f40374841ccade5fe3760d64736f6c63430008190033";
|
|
38
22
|
const isSuperArgs = (xs) => xs.length > 1;
|
|
39
23
|
class Address__factory extends ethers_1.ContractFactory {
|
|
40
24
|
constructor(...args) {
|
package/dist/typechain-types/factories/@openzeppelin/contracts/utils/Address__factory.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Address__factory.js","sourceRoot":"","sources":["../../../../../../typechain-types/factories/@openzeppelin/contracts/utils/Address__factory.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mCAKgB;AAQhB,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,kBAAkB;QACxB,IAAI,EAAE,OAAO;KACd;
|
|
1
|
+
{"version":3,"file":"Address__factory.js","sourceRoot":"","sources":["../../../../../../typechain-types/factories/@openzeppelin/contracts/utils/Address__factory.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mCAKgB;AAQhB,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,kBAAkB;QACxB,IAAI,EAAE,OAAO;KACd;CACO,CAAC;AAEX,MAAM,SAAS,GACb,8KAA8K,CAAC;AAMjL,MAAM,WAAW,GAAG,CAClB,EAA4B,EACyB,EAAE,CAAC,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC;AAExE,MAAa,gBAAiB,SAAQ,wBAAe;IACnD,YAAY,GAAG,IAA8B;QAC3C,IAAI,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC;YACtB,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC;QACjB,CAAC;aAAM,CAAC;YACN,KAAK,CAAC,IAAI,EAAE,SAAS,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;QAClC,CAAC;IACH,CAAC;IAEQ,oBAAoB,CAC3B,SAAmD;QAEnD,OAAO,KAAK,CAAC,oBAAoB,CAAC,SAAS,IAAI,EAAE,CAAC,CAAC;IACrD,CAAC;IACQ,MAAM,CAAC,SAAmD;QACjE,OAAO,KAAK,CAAC,MAAM,CAAC,SAAS,IAAI,EAAE,CAIlC,CAAC;IACJ,CAAC;IACQ,OAAO,CAAC,MAA6B;QAC5C,OAAO,KAAK,CAAC,OAAO,CAAC,MAAM,CAAqB,CAAC;IACnD,CAAC;IAID,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,kBAAS,CAAC,IAAI,CAAqB,CAAC;IACjD,CAAC;IACD,MAAM,CAAC,OAAO,CAAC,OAAe,EAAE,MAA8B;QAC5D,OAAO,IAAI,iBAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,CAAuB,CAAC;IACnE,CAAC;;AAhCH,4CAiCC;AARiB,yBAAQ,GAAG,SAAS,CAAC;AACrB,oBAAG,GAAG,IAAI,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { ContractFactory, ContractTransactionResponse } from "ethers";
|
|
2
|
+
import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers";
|
|
3
|
+
import type { NonPayableOverrides } from "../../../../common";
|
|
4
|
+
import type { Errors, ErrorsInterface } from "../../../../@openzeppelin/contracts/utils/Errors";
|
|
5
|
+
type ErrorsConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>;
|
|
6
|
+
export declare class Errors__factory extends ContractFactory {
|
|
7
|
+
constructor(...args: ErrorsConstructorParams);
|
|
8
|
+
getDeployTransaction(overrides?: NonPayableOverrides & {
|
|
9
|
+
from?: string;
|
|
10
|
+
}): Promise<ContractDeployTransaction>;
|
|
11
|
+
deploy(overrides?: NonPayableOverrides & {
|
|
12
|
+
from?: string;
|
|
13
|
+
}): Promise<Errors & {
|
|
14
|
+
deploymentTransaction(): ContractTransactionResponse;
|
|
15
|
+
}>;
|
|
16
|
+
connect(runner: ContractRunner | null): Errors__factory;
|
|
17
|
+
static readonly bytecode = "0x6080806040523460175760399081601c823930815050f35b5f80fdfe5f80fdfea26469706673582212206d625b9717c2452c4d69e426ec49bc2bff5d5002269b482373656dc210235d0264736f6c63430008190033";
|
|
18
|
+
static readonly abi: readonly [{
|
|
19
|
+
readonly inputs: readonly [];
|
|
20
|
+
readonly name: "FailedCall";
|
|
21
|
+
readonly type: "error";
|
|
22
|
+
}, {
|
|
23
|
+
readonly inputs: readonly [];
|
|
24
|
+
readonly name: "FailedDeployment";
|
|
25
|
+
readonly type: "error";
|
|
26
|
+
}, {
|
|
27
|
+
readonly inputs: readonly [{
|
|
28
|
+
readonly internalType: "uint256";
|
|
29
|
+
readonly name: "balance";
|
|
30
|
+
readonly type: "uint256";
|
|
31
|
+
}, {
|
|
32
|
+
readonly internalType: "uint256";
|
|
33
|
+
readonly name: "needed";
|
|
34
|
+
readonly type: "uint256";
|
|
35
|
+
}];
|
|
36
|
+
readonly name: "InsufficientBalance";
|
|
37
|
+
readonly type: "error";
|
|
38
|
+
}, {
|
|
39
|
+
readonly inputs: readonly [{
|
|
40
|
+
readonly internalType: "address";
|
|
41
|
+
readonly name: "";
|
|
42
|
+
readonly type: "address";
|
|
43
|
+
}];
|
|
44
|
+
readonly name: "MissingPrecompile";
|
|
45
|
+
readonly type: "error";
|
|
46
|
+
}];
|
|
47
|
+
static createInterface(): ErrorsInterface;
|
|
48
|
+
static connect(address: string, runner?: ContractRunner | null): Errors;
|
|
49
|
+
}
|
|
50
|
+
export {};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Errors__factory = void 0;
|
|
4
|
+
/* Autogenerated file. Do not edit manually. */
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
|
+
{
|
|
10
|
+
inputs: [],
|
|
11
|
+
name: "FailedCall",
|
|
12
|
+
type: "error",
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
inputs: [],
|
|
16
|
+
name: "FailedDeployment",
|
|
17
|
+
type: "error",
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
inputs: [
|
|
21
|
+
{
|
|
22
|
+
internalType: "uint256",
|
|
23
|
+
name: "balance",
|
|
24
|
+
type: "uint256",
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
internalType: "uint256",
|
|
28
|
+
name: "needed",
|
|
29
|
+
type: "uint256",
|
|
30
|
+
},
|
|
31
|
+
],
|
|
32
|
+
name: "InsufficientBalance",
|
|
33
|
+
type: "error",
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
inputs: [
|
|
37
|
+
{
|
|
38
|
+
internalType: "address",
|
|
39
|
+
name: "",
|
|
40
|
+
type: "address",
|
|
41
|
+
},
|
|
42
|
+
],
|
|
43
|
+
name: "MissingPrecompile",
|
|
44
|
+
type: "error",
|
|
45
|
+
},
|
|
46
|
+
];
|
|
47
|
+
const _bytecode = "0x6080806040523460175760399081601c823930815050f35b5f80fdfe5f80fdfea26469706673582212206d625b9717c2452c4d69e426ec49bc2bff5d5002269b482373656dc210235d0264736f6c63430008190033";
|
|
48
|
+
const isSuperArgs = (xs) => xs.length > 1;
|
|
49
|
+
class Errors__factory extends ethers_1.ContractFactory {
|
|
50
|
+
constructor(...args) {
|
|
51
|
+
if (isSuperArgs(args)) {
|
|
52
|
+
super(...args);
|
|
53
|
+
}
|
|
54
|
+
else {
|
|
55
|
+
super(_abi, _bytecode, args[0]);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
getDeployTransaction(overrides) {
|
|
59
|
+
return super.getDeployTransaction(overrides || {});
|
|
60
|
+
}
|
|
61
|
+
deploy(overrides) {
|
|
62
|
+
return super.deploy(overrides || {});
|
|
63
|
+
}
|
|
64
|
+
connect(runner) {
|
|
65
|
+
return super.connect(runner);
|
|
66
|
+
}
|
|
67
|
+
static createInterface() {
|
|
68
|
+
return new ethers_1.Interface(_abi);
|
|
69
|
+
}
|
|
70
|
+
static connect(address, runner) {
|
|
71
|
+
return new ethers_1.Contract(address, _abi, runner);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
exports.Errors__factory = Errors__factory;
|
|
75
|
+
Errors__factory.bytecode = _bytecode;
|
|
76
|
+
Errors__factory.abi = _abi;
|
|
77
|
+
//# sourceMappingURL=Errors__factory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Errors__factory.js","sourceRoot":"","sources":["../../../../../../typechain-types/factories/@openzeppelin/contracts/utils/Errors__factory.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mCAKgB;AAQhB,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,kBAAkB;QACxB,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAA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AI,CAAC"}
|
package/dist/typechain-types/factories/@openzeppelin/contracts/utils/ShortStrings__factory.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export declare class ShortStrings__factory extends ContractFactory {
|
|
|
14
14
|
deploymentTransaction(): ContractTransactionResponse;
|
|
15
15
|
}>;
|
|
16
16
|
connect(runner: ContractRunner | null): ShortStrings__factory;
|
|
17
|
-
static readonly bytecode = "
|
|
17
|
+
static readonly bytecode = "0x6080806040523460175760399081601c823930815050f35b5f80fdfe5f80fdfea2646970667358221220a56593ec449aed6bdc8c46593219041952db0f3fcd29f2f92c4e774ffa29e47864736f6c63430008190033";
|
|
18
18
|
static readonly abi: readonly [{
|
|
19
19
|
readonly inputs: readonly [];
|
|
20
20
|
readonly name: "InvalidShortString";
|
package/dist/typechain-types/factories/@openzeppelin/contracts/utils/ShortStrings__factory.js
CHANGED
|
@@ -23,7 +23,7 @@ const _abi = [
|
|
|
23
23
|
type: "error",
|
|
24
24
|
},
|
|
25
25
|
];
|
|
26
|
-
const _bytecode = "
|
|
26
|
+
const _bytecode = "0x6080806040523460175760399081601c823930815050f35b5f80fdfe5f80fdfea2646970667358221220a56593ec449aed6bdc8c46593219041952db0f3fcd29f2f92c4e774ffa29e47864736f6c63430008190033";
|
|
27
27
|
const isSuperArgs = (xs) => xs.length > 1;
|
|
28
28
|
class ShortStrings__factory extends ethers_1.ContractFactory {
|
|
29
29
|
constructor(...args) {
|
|
@@ -14,7 +14,7 @@ export declare class Strings__factory extends ContractFactory {
|
|
|
14
14
|
deploymentTransaction(): ContractTransactionResponse;
|
|
15
15
|
}>;
|
|
16
16
|
connect(runner: ContractRunner | null): Strings__factory;
|
|
17
|
-
static readonly bytecode = "
|
|
17
|
+
static readonly bytecode = "0x6080806040523460175760399081601c823930815050f35b5f80fdfe5f80fdfea2646970667358221220e75237e2f424c629ce4c1319a965fbac20fbf2acde69aa4112ad137acf1d0e5564736f6c63430008190033";
|
|
18
18
|
static readonly abi: readonly [{
|
|
19
19
|
readonly inputs: readonly [{
|
|
20
20
|
readonly internalType: "uint256";
|
|
@@ -23,7 +23,7 @@ const _abi = [
|
|
|
23
23
|
type: "error",
|
|
24
24
|
},
|
|
25
25
|
];
|
|
26
|
-
const _bytecode = "
|
|
26
|
+
const _bytecode = "0x6080806040523460175760399081601c823930815050f35b5f80fdfe5f80fdfea2646970667358221220e75237e2f424c629ce4c1319a965fbac20fbf2acde69aa4112ad137acf1d0e5564736f6c63430008190033";
|
|
27
27
|
const isSuperArgs = (xs) => xs.length > 1;
|
|
28
28
|
class Strings__factory extends ethers_1.ContractFactory {
|
|
29
29
|
constructor(...args) {
|
|
@@ -14,7 +14,7 @@ export declare class ECDSA__factory extends ContractFactory {
|
|
|
14
14
|
deploymentTransaction(): ContractTransactionResponse;
|
|
15
15
|
}>;
|
|
16
16
|
connect(runner: ContractRunner | null): ECDSA__factory;
|
|
17
|
-
static readonly bytecode = "
|
|
17
|
+
static readonly bytecode = "0x6080806040523460175760399081601c823930815050f35b5f80fdfe5f80fdfea26469706673582212207747b566f8a3e9978a64670b97f71ca615bf1ff10076e22131cfae473b4d0db064736f6c63430008190033";
|
|
18
18
|
static readonly abi: readonly [{
|
|
19
19
|
readonly inputs: readonly [];
|
|
20
20
|
readonly name: "ECDSAInvalidSignature";
|
package/dist/typechain-types/factories/@openzeppelin/contracts/utils/cryptography/ECDSA__factory.js
CHANGED
|
@@ -34,7 +34,7 @@ const _abi = [
|
|
|
34
34
|
type: "error",
|
|
35
35
|
},
|
|
36
36
|
];
|
|
37
|
-
const _bytecode = "
|
|
37
|
+
const _bytecode = "0x6080806040523460175760399081601c823930815050f35b5f80fdfe5f80fdfea26469706673582212207747b566f8a3e9978a64670b97f71ca615bf1ff10076e22131cfae473b4d0db064736f6c63430008190033";
|
|
38
38
|
const isSuperArgs = (xs) => xs.length > 1;
|
|
39
39
|
class ECDSA__factory extends ethers_1.ContractFactory {
|
|
40
40
|
constructor(...args) {
|