@1inch/solidity-utils 5.2.3 → 6.0.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/dist/docgen/templates.js +1 -2
- package/dist/docgen/templates.js.map +1 -1
- package/dist/hardhat-setup/networks.js +4 -4
- package/dist/hardhat-setup/networks.js.map +1 -1
- package/dist/src/bySig.js +4 -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/{math/Math.js → Errors.js} +1 -1
- 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/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/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/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 +1 -1
- package/dist/typechain-types/factories/contracts/tests/mocks/SafeERC20Helper.sol/ERC20ThroughZeroApprove__factory.js +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/index.d.ts +4 -2
- package/dist/typechain-types/index.js +6 -4
- package/dist/typechain-types/index.js.map +1 -1
- package/docgen/templates/common.hbs +38 -0
- package/docgen/templates/contract.hbs +73 -0
- package/docgen/templates/enum.hbs +9 -0
- package/docgen/templates/error.hbs +1 -0
- package/docgen/templates/event.hbs +1 -0
- package/docgen/templates/function.hbs +1 -0
- package/docgen/templates/helpers.js +76 -0
- package/docgen/templates/modifier.hbs +1 -0
- package/docgen/templates/page.hbs +7 -0
- package/docgen/templates/signature.hbs +1 -0
- package/docgen/templates/struct.hbs +9 -0
- package/docgen/templates/user-defined-value-type.hbs +1 -0
- package/docgen/templates/variable.hbs +1 -0
- package/package.json +34 -39
- 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
|
@@ -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";
|
|
@@ -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/fact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,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,CAAoB,CAAC;IAClD,CAAC;IAID,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,kBAAS,CAAC,IAAI,CAAoB,CAAC;IAChD,CAAC;IACD,MAAM,CAAC,OAAO,CAAC,OAAe,EAAE,MAA8B;QAC5D,OAAO,IAAI,iBAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,CAAsB,CAAC;IAClE,CAAC;;AAhCH,0CAiCC;AARiB,wBAAQ,GAAG,SAAS,CAAC;AACrB,mBAAG,GAAG,IAAI,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) {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * as cryptography from "./cryptography";
|
|
2
2
|
export * as math from "./math";
|
|
3
3
|
export { Address__factory } from "./Address__factory";
|
|
4
|
+
export { Errors__factory } from "./Errors__factory";
|
|
4
5
|
export { Nonces__factory } from "./Nonces__factory";
|
|
5
6
|
export { ShortStrings__factory } from "./ShortStrings__factory";
|
|
6
7
|
export { Strings__factory } from "./Strings__factory";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Strings__factory = exports.ShortStrings__factory = exports.Nonces__factory = exports.Address__factory = exports.math = exports.cryptography = void 0;
|
|
3
|
+
exports.Strings__factory = exports.ShortStrings__factory = exports.Nonces__factory = exports.Errors__factory = exports.Address__factory = exports.math = exports.cryptography = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
/* Autogenerated file. Do not edit manually. */
|
|
6
6
|
/* tslint:disable */
|
|
@@ -9,6 +9,8 @@ exports.cryptography = tslib_1.__importStar(require("./cryptography"));
|
|
|
9
9
|
exports.math = tslib_1.__importStar(require("./math"));
|
|
10
10
|
var Address__factory_1 = require("./Address__factory");
|
|
11
11
|
Object.defineProperty(exports, "Address__factory", { enumerable: true, get: function () { return Address__factory_1.Address__factory; } });
|
|
12
|
+
var Errors__factory_1 = require("./Errors__factory");
|
|
13
|
+
Object.defineProperty(exports, "Errors__factory", { enumerable: true, get: function () { return Errors__factory_1.Errors__factory; } });
|
|
12
14
|
var Nonces__factory_1 = require("./Nonces__factory");
|
|
13
15
|
Object.defineProperty(exports, "Nonces__factory", { enumerable: true, get: function () { return Nonces__factory_1.Nonces__factory; } });
|
|
14
16
|
var ShortStrings__factory_1 = require("./ShortStrings__factory");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../typechain-types/factories/@openzeppelin/contracts/utils/index.ts"],"names":[],"mappings":";;;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,uEAA+C;AAC/C,uDAA+B;AAC/B,uDAAsD;AAA7C,oHAAA,gBAAgB,OAAA;AACzB,qDAAoD;AAA3C,kHAAA,eAAe,OAAA;AACxB,iEAAgE;AAAvD,8HAAA,qBAAqB,OAAA;AAC9B,uDAAsD;AAA7C,oHAAA,gBAAgB,OAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../typechain-types/factories/@openzeppelin/contracts/utils/index.ts"],"names":[],"mappings":";;;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,uEAA+C;AAC/C,uDAA+B;AAC/B,uDAAsD;AAA7C,oHAAA,gBAAgB,OAAA;AACzB,qDAAoD;AAA3C,kHAAA,eAAe,OAAA;AACxB,qDAAoD;AAA3C,kHAAA,eAAe,OAAA;AACxB,iEAAgE;AAAvD,8HAAA,qBAAqB,OAAA;AAC9B,uDAAsD;AAA7C,oHAAA,gBAAgB,OAAA"}
|
package/dist/typechain-types/factories/@openzeppelin/contracts/utils/math/SafeCast__factory.d.ts
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { ContractFactory, ContractTransactionResponse } from "ethers";
|
|
2
|
+
import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers";
|
|
3
|
+
import type { NonPayableOverrides } from "../../../../../common";
|
|
4
|
+
import type { SafeCast, SafeCastInterface } from "../../../../../@openzeppelin/contracts/utils/math/SafeCast";
|
|
5
|
+
type SafeCastConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>;
|
|
6
|
+
export declare class SafeCast__factory extends ContractFactory {
|
|
7
|
+
constructor(...args: SafeCastConstructorParams);
|
|
8
|
+
getDeployTransaction(overrides?: NonPayableOverrides & {
|
|
9
|
+
from?: string;
|
|
10
|
+
}): Promise<ContractDeployTransaction>;
|
|
11
|
+
deploy(overrides?: NonPayableOverrides & {
|
|
12
|
+
from?: string;
|
|
13
|
+
}): Promise<SafeCast & {
|
|
14
|
+
deploymentTransaction(): ContractTransactionResponse;
|
|
15
|
+
}>;
|
|
16
|
+
connect(runner: ContractRunner | null): SafeCast__factory;
|
|
17
|
+
static readonly bytecode = "0x6080806040523460175760399081601c823930815050f35b5f80fdfe5f80fdfea26469706673582212206e6fb3bd8a374a7dead99061a5a4cf7dd45713a486bf33f78f1dd16c55a5b3b964736f6c63430008190033";
|
|
18
|
+
static readonly abi: readonly [{
|
|
19
|
+
readonly inputs: readonly [{
|
|
20
|
+
readonly internalType: "uint8";
|
|
21
|
+
readonly name: "bits";
|
|
22
|
+
readonly type: "uint8";
|
|
23
|
+
}, {
|
|
24
|
+
readonly internalType: "int256";
|
|
25
|
+
readonly name: "value";
|
|
26
|
+
readonly type: "int256";
|
|
27
|
+
}];
|
|
28
|
+
readonly name: "SafeCastOverflowedIntDowncast";
|
|
29
|
+
readonly type: "error";
|
|
30
|
+
}, {
|
|
31
|
+
readonly inputs: readonly [{
|
|
32
|
+
readonly internalType: "int256";
|
|
33
|
+
readonly name: "value";
|
|
34
|
+
readonly type: "int256";
|
|
35
|
+
}];
|
|
36
|
+
readonly name: "SafeCastOverflowedIntToUint";
|
|
37
|
+
readonly type: "error";
|
|
38
|
+
}, {
|
|
39
|
+
readonly inputs: readonly [{
|
|
40
|
+
readonly internalType: "uint8";
|
|
41
|
+
readonly name: "bits";
|
|
42
|
+
readonly type: "uint8";
|
|
43
|
+
}, {
|
|
44
|
+
readonly internalType: "uint256";
|
|
45
|
+
readonly name: "value";
|
|
46
|
+
readonly type: "uint256";
|
|
47
|
+
}];
|
|
48
|
+
readonly name: "SafeCastOverflowedUintDowncast";
|
|
49
|
+
readonly type: "error";
|
|
50
|
+
}, {
|
|
51
|
+
readonly inputs: readonly [{
|
|
52
|
+
readonly internalType: "uint256";
|
|
53
|
+
readonly name: "value";
|
|
54
|
+
readonly type: "uint256";
|
|
55
|
+
}];
|
|
56
|
+
readonly name: "SafeCastOverflowedUintToInt";
|
|
57
|
+
readonly type: "error";
|
|
58
|
+
}];
|
|
59
|
+
static createInterface(): SafeCastInterface;
|
|
60
|
+
static connect(address: string, runner?: ContractRunner | null): SafeCast;
|
|
61
|
+
}
|
|
62
|
+
export {};
|
package/dist/typechain-types/factories/@openzeppelin/contracts/utils/math/SafeCast__factory.js
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SafeCast__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
|
+
{
|
|
12
|
+
internalType: "uint8",
|
|
13
|
+
name: "bits",
|
|
14
|
+
type: "uint8",
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
internalType: "int256",
|
|
18
|
+
name: "value",
|
|
19
|
+
type: "int256",
|
|
20
|
+
},
|
|
21
|
+
],
|
|
22
|
+
name: "SafeCastOverflowedIntDowncast",
|
|
23
|
+
type: "error",
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
inputs: [
|
|
27
|
+
{
|
|
28
|
+
internalType: "int256",
|
|
29
|
+
name: "value",
|
|
30
|
+
type: "int256",
|
|
31
|
+
},
|
|
32
|
+
],
|
|
33
|
+
name: "SafeCastOverflowedIntToUint",
|
|
34
|
+
type: "error",
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
inputs: [
|
|
38
|
+
{
|
|
39
|
+
internalType: "uint8",
|
|
40
|
+
name: "bits",
|
|
41
|
+
type: "uint8",
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
internalType: "uint256",
|
|
45
|
+
name: "value",
|
|
46
|
+
type: "uint256",
|
|
47
|
+
},
|
|
48
|
+
],
|
|
49
|
+
name: "SafeCastOverflowedUintDowncast",
|
|
50
|
+
type: "error",
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
inputs: [
|
|
54
|
+
{
|
|
55
|
+
internalType: "uint256",
|
|
56
|
+
name: "value",
|
|
57
|
+
type: "uint256",
|
|
58
|
+
},
|
|
59
|
+
],
|
|
60
|
+
name: "SafeCastOverflowedUintToInt",
|
|
61
|
+
type: "error",
|
|
62
|
+
},
|
|
63
|
+
];
|
|
64
|
+
const _bytecode = "0x6080806040523460175760399081601c823930815050f35b5f80fdfe5f80fdfea26469706673582212206e6fb3bd8a374a7dead99061a5a4cf7dd45713a486bf33f78f1dd16c55a5b3b964736f6c63430008190033";
|
|
65
|
+
const isSuperArgs = (xs) => xs.length > 1;
|
|
66
|
+
class SafeCast__factory extends ethers_1.ContractFactory {
|
|
67
|
+
constructor(...args) {
|
|
68
|
+
if (isSuperArgs(args)) {
|
|
69
|
+
super(...args);
|
|
70
|
+
}
|
|
71
|
+
else {
|
|
72
|
+
super(_abi, _bytecode, args[0]);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
getDeployTransaction(overrides) {
|
|
76
|
+
return super.getDeployTransaction(overrides || {});
|
|
77
|
+
}
|
|
78
|
+
deploy(overrides) {
|
|
79
|
+
return super.deploy(overrides || {});
|
|
80
|
+
}
|
|
81
|
+
connect(runner) {
|
|
82
|
+
return super.connect(runner);
|
|
83
|
+
}
|
|
84
|
+
static createInterface() {
|
|
85
|
+
return new ethers_1.Interface(_abi);
|
|
86
|
+
}
|
|
87
|
+
static connect(address, runner) {
|
|
88
|
+
return new ethers_1.Contract(address, _abi, runner);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
exports.SafeCast__factory = SafeCast__factory;
|
|
92
|
+
SafeCast__factory.bytecode = _bytecode;
|
|
93
|
+
SafeCast__factory.abi = _abi;
|
|
94
|
+
//# sourceMappingURL=SafeCast__factory.js.map
|
package/dist/typechain-types/factories/@openzeppelin/contracts/utils/math/SafeCast__factory.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SafeCast__factory.js","sourceRoot":"","sources":["../../../../../../../typechain-types/factories/@openzeppelin/contracts/utils/math/SafeCast__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,OAAO;gBACrB,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,OAAO;aACd;YACD;gBACE,YAAY,EAAE,QAAQ;gBACtB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,QAAQ;aACf;SACF;QACD,IAAI,EAAE,+BAA+B;QACrC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,QAAQ;gBACtB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,QAAQ;aACf;SACF;QACD,IAAI,EAAE,6BAA6B;QACnC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,OAAO;gBACrB,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,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AAE,MAAM,CAAwB,CAAC;IACpE,CAAC;;AAhCH,8CAiCC;AARiB,0BAAQ,GAAG,SAAS,CAAC;AACrB,qBAAG,GAAG,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { SafeCast__factory } from "./SafeCast__factory";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.SafeCast__factory = void 0;
|
|
4
4
|
/* Autogenerated file. Do not edit manually. */
|
|
5
5
|
/* tslint:disable */
|
|
6
6
|
/* eslint-disable */
|
|
7
|
-
var
|
|
8
|
-
Object.defineProperty(exports, "
|
|
7
|
+
var SafeCast__factory_1 = require("./SafeCast__factory");
|
|
8
|
+
Object.defineProperty(exports, "SafeCast__factory", { enumerable: true, get: function () { return SafeCast__factory_1.SafeCast__factory; } });
|
|
9
9
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../typechain-types/factories/@openzeppelin/contracts/utils/math/index.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../typechain-types/factories/@openzeppelin/contracts/utils/math/index.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,yDAAwD;AAA/C,sHAAA,iBAAiB,OAAA"}
|
|
@@ -14,7 +14,7 @@ export declare class SafeERC20__factory extends ContractFactory {
|
|
|
14
14
|
deploymentTransaction(): ContractTransactionResponse;
|
|
15
15
|
}>;
|
|
16
16
|
connect(runner: ContractRunner | null): SafeERC20__factory;
|
|
17
|
-
static readonly bytecode = "
|
|
17
|
+
static readonly bytecode = "0x6080806040523460175760399081601c823930815050f35b5f80fdfe5f80fdfea26469706673582212204e70171f169706088b37fa765362ffc41975eee97ecf94856ee3f5535403c70164736f6c63430008190033";
|
|
18
18
|
static readonly abi: readonly [{
|
|
19
19
|
readonly inputs: readonly [];
|
|
20
20
|
readonly name: "ForceApproveFailed";
|
|
@@ -42,7 +42,7 @@ const _abi = [
|
|
|
42
42
|
type: "error",
|
|
43
43
|
},
|
|
44
44
|
];
|
|
45
|
-
const _bytecode = "
|
|
45
|
+
const _bytecode = "0x6080806040523460175760399081601c823930815050f35b5f80fdfe5f80fdfea26469706673582212204e70171f169706088b37fa765362ffc41975eee97ecf94856ee3f5535403c70164736f6c63430008190033";
|
|
46
46
|
const isSuperArgs = (xs) => xs.length > 1;
|
|
47
47
|
class SafeERC20__factory extends ethers_1.ContractFactory {
|
|
48
48
|
constructor(...args) {
|
|
@@ -14,7 +14,7 @@ export declare class UniERC20__factory extends ContractFactory {
|
|
|
14
14
|
deploymentTransaction(): ContractTransactionResponse;
|
|
15
15
|
}>;
|
|
16
16
|
connect(runner: ContractRunner | null): UniERC20__factory;
|
|
17
|
-
static readonly bytecode = "
|
|
17
|
+
static readonly bytecode = "0x6080806040523460175760399081601c823930815050f35b5f80fdfe5f80fdfea2646970667358221220688b71e1e9c9312398ab2a654a2933db2ff195e0dd397b3cc1b0c6420bc3353564736f6c63430008190033";
|
|
18
18
|
static readonly abi: readonly [{
|
|
19
19
|
readonly inputs: readonly [];
|
|
20
20
|
readonly name: "ApproveCalledOnETH";
|
|
@@ -37,7 +37,7 @@ const _abi = [
|
|
|
37
37
|
type: "error",
|
|
38
38
|
},
|
|
39
39
|
];
|
|
40
|
-
const _bytecode = "
|
|
40
|
+
const _bytecode = "0x6080806040523460175760399081601c823930815050f35b5f80fdfe5f80fdfea2646970667358221220688b71e1e9c9312398ab2a654a2933db2ff195e0dd397b3cc1b0c6420bc3353564736f6c63430008190033";
|
|
41
41
|
const isSuperArgs = (xs) => xs.length > 1;
|
|
42
42
|
class UniERC20__factory extends ethers_1.ContractFactory {
|
|
43
43
|
constructor(...args) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BySig__factory.js","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/mixins/BySig__factory.ts"],"names":[],"mappings":";AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;;;AAEpB,mCAAkE;AAGlE,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;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,kBAAkB;QACxB,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"BySig__factory.js","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/mixins/BySig__factory.ts"],"names":[],"mappings":";AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;;;AAEpB,mCAAkE;AAGlE,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;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,kBAAkB;QACxB,IAAI,EAAE,OAAO;KACd;IACD;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,EAAE;QACV,IAAI,EAAE,oBAAoB;QAC1B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,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