morpho-contracts-helper 0.0.2 → 0.0.4
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/contracts/DComp.sol +137 -0
- package/contracts/external/Multicall3.sol +216 -0
- package/contracts/vendor/@compound-finance/compound-governance/contracts/Comp.sol +301 -0
- package/contracts/vendor/@compound-finance/compound-governance/contracts/interfaces/IComp.sol +34 -0
- package/dist/hardhat.config.cjs +9 -0
- package/dist/hardhat.config.cjs.map +1 -1
- package/dist/hardhat.config.d.cts.map +1 -1
- package/dist/typechain-types/@openzeppelin/contracts/access/Ownable.d.ts +55 -0
- package/dist/typechain-types/@openzeppelin/contracts/access/Ownable.d.ts.map +1 -0
- package/dist/typechain-types/@openzeppelin/contracts/access/Ownable.js +3 -0
- package/dist/typechain-types/@openzeppelin/contracts/access/Ownable.js.map +1 -0
- package/dist/typechain-types/@openzeppelin/contracts/access/Ownable2Step.d.ts +78 -0
- package/dist/typechain-types/@openzeppelin/contracts/access/Ownable2Step.d.ts.map +1 -0
- package/dist/typechain-types/@openzeppelin/contracts/access/Ownable2Step.js +3 -0
- package/dist/typechain-types/@openzeppelin/contracts/access/Ownable2Step.js.map +1 -0
- package/dist/typechain-types/@openzeppelin/contracts/access/index.d.ts +3 -0
- package/dist/typechain-types/@openzeppelin/contracts/access/index.d.ts.map +1 -0
- package/dist/typechain-types/@openzeppelin/contracts/access/index.js +3 -0
- package/dist/typechain-types/@openzeppelin/contracts/access/index.js.map +1 -0
- package/dist/typechain-types/@openzeppelin/contracts/index.d.ts +4 -0
- package/dist/typechain-types/@openzeppelin/contracts/index.d.ts.map +1 -1
- package/dist/typechain-types/@openzeppelin/contracts/interfaces/IERC1363.d.ts +232 -0
- package/dist/typechain-types/@openzeppelin/contracts/interfaces/IERC1363.d.ts.map +1 -0
- package/dist/typechain-types/@openzeppelin/contracts/interfaces/IERC1363.js +3 -0
- package/dist/typechain-types/@openzeppelin/contracts/interfaces/IERC1363.js.map +1 -0
- package/dist/typechain-types/@openzeppelin/contracts/interfaces/index.d.ts +1 -0
- package/dist/typechain-types/@openzeppelin/contracts/interfaces/index.d.ts.map +1 -1
- package/dist/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/ERC20Wrapper.d.ts +174 -0
- package/dist/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/ERC20Wrapper.d.ts.map +1 -0
- package/dist/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/ERC20Wrapper.js +3 -0
- package/dist/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/ERC20Wrapper.js.map +1 -0
- package/dist/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/index.d.ts +1 -0
- package/dist/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/index.d.ts.map +1 -1
- package/dist/typechain-types/@openzeppelin/contracts/token/ERC20/index.d.ts +2 -0
- package/dist/typechain-types/@openzeppelin/contracts/token/ERC20/index.d.ts.map +1 -1
- package/dist/typechain-types/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.d.ts +21 -0
- package/dist/typechain-types/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.d.ts.map +1 -0
- package/dist/typechain-types/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.js +3 -0
- package/dist/typechain-types/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.js.map +1 -0
- package/dist/typechain-types/@openzeppelin/contracts/token/ERC20/utils/index.d.ts +2 -0
- package/dist/typechain-types/@openzeppelin/contracts/token/ERC20/utils/index.d.ts.map +1 -0
- package/dist/typechain-types/@openzeppelin/contracts/token/ERC20/utils/index.js +3 -0
- package/dist/typechain-types/@openzeppelin/contracts/token/ERC20/utils/index.js.map +1 -0
- package/dist/typechain-types/@openzeppelin/contracts/utils/index.d.ts +3 -0
- package/dist/typechain-types/@openzeppelin/contracts/utils/index.d.ts.map +1 -0
- package/dist/typechain-types/@openzeppelin/contracts/utils/index.js +3 -0
- package/dist/typechain-types/@openzeppelin/contracts/utils/index.js.map +1 -0
- package/dist/typechain-types/@openzeppelin/contracts/utils/introspection/IERC165.d.ts +30 -0
- package/dist/typechain-types/@openzeppelin/contracts/utils/introspection/IERC165.d.ts.map +1 -0
- package/dist/typechain-types/@openzeppelin/contracts/utils/introspection/IERC165.js +3 -0
- package/dist/typechain-types/@openzeppelin/contracts/utils/introspection/IERC165.js.map +1 -0
- package/dist/typechain-types/@openzeppelin/contracts/utils/introspection/index.d.ts +2 -0
- package/dist/typechain-types/@openzeppelin/contracts/utils/introspection/index.d.ts.map +1 -0
- package/dist/typechain-types/@openzeppelin/contracts/utils/introspection/index.js +3 -0
- package/dist/typechain-types/@openzeppelin/contracts/utils/introspection/index.js.map +1 -0
- package/dist/typechain-types/contracts/DComp.d.ts +285 -0
- package/dist/typechain-types/contracts/DComp.d.ts.map +1 -0
- package/dist/typechain-types/contracts/DComp.js +3 -0
- package/dist/typechain-types/contracts/DComp.js.map +1 -0
- package/dist/typechain-types/contracts/external/Multicall3.d.ts +229 -0
- package/dist/typechain-types/contracts/external/Multicall3.d.ts.map +1 -0
- package/dist/typechain-types/contracts/external/Multicall3.js +3 -0
- package/dist/typechain-types/contracts/external/Multicall3.js.map +1 -0
- package/dist/typechain-types/contracts/external/index.d.ts +1 -0
- package/dist/typechain-types/contracts/external/index.d.ts.map +1 -1
- package/dist/typechain-types/contracts/index.d.ts +3 -0
- package/dist/typechain-types/contracts/index.d.ts.map +1 -1
- package/dist/typechain-types/contracts/vendor/@compound-finance/compound-governance/contracts/Comp.d.ts +285 -0
- package/dist/typechain-types/contracts/vendor/@compound-finance/compound-governance/contracts/Comp.d.ts.map +1 -0
- package/dist/typechain-types/contracts/vendor/@compound-finance/compound-governance/contracts/Comp.js +3 -0
- package/dist/typechain-types/contracts/vendor/@compound-finance/compound-governance/contracts/Comp.js.map +1 -0
- package/dist/typechain-types/contracts/vendor/@compound-finance/compound-governance/contracts/index.d.ts +4 -0
- package/dist/typechain-types/contracts/vendor/@compound-finance/compound-governance/contracts/index.d.ts.map +1 -0
- package/dist/typechain-types/contracts/vendor/@compound-finance/compound-governance/contracts/index.js +3 -0
- package/dist/typechain-types/contracts/vendor/@compound-finance/compound-governance/contracts/index.js.map +1 -0
- package/dist/typechain-types/contracts/vendor/@compound-finance/compound-governance/contracts/interfaces/IComp.d.ts +285 -0
- package/dist/typechain-types/contracts/vendor/@compound-finance/compound-governance/contracts/interfaces/IComp.d.ts.map +1 -0
- package/dist/typechain-types/contracts/vendor/@compound-finance/compound-governance/contracts/interfaces/IComp.js +3 -0
- package/dist/typechain-types/contracts/vendor/@compound-finance/compound-governance/contracts/interfaces/IComp.js.map +1 -0
- package/dist/typechain-types/contracts/vendor/@compound-finance/compound-governance/contracts/interfaces/index.d.ts +2 -0
- package/dist/typechain-types/contracts/vendor/@compound-finance/compound-governance/contracts/interfaces/index.d.ts.map +1 -0
- package/dist/typechain-types/contracts/vendor/@compound-finance/compound-governance/contracts/interfaces/index.js +3 -0
- package/dist/typechain-types/contracts/vendor/@compound-finance/compound-governance/contracts/interfaces/index.js.map +1 -0
- package/dist/typechain-types/contracts/vendor/@compound-finance/compound-governance/index.d.ts +3 -0
- package/dist/typechain-types/contracts/vendor/@compound-finance/compound-governance/index.d.ts.map +1 -0
- package/dist/typechain-types/contracts/vendor/@compound-finance/compound-governance/index.js +3 -0
- package/dist/typechain-types/contracts/vendor/@compound-finance/compound-governance/index.js.map +1 -0
- package/dist/typechain-types/contracts/vendor/@compound-finance/index.d.ts +3 -0
- package/dist/typechain-types/contracts/vendor/@compound-finance/index.d.ts.map +1 -0
- package/dist/typechain-types/contracts/vendor/@compound-finance/index.js +3 -0
- package/dist/typechain-types/contracts/vendor/@compound-finance/index.js.map +1 -0
- package/dist/typechain-types/contracts/vendor/index.d.ts +3 -0
- package/dist/typechain-types/contracts/vendor/index.d.ts.map +1 -0
- package/dist/typechain-types/contracts/vendor/index.js +3 -0
- package/dist/typechain-types/contracts/vendor/index.js.map +1 -0
- package/dist/typechain-types/factories/@openzeppelin/contracts/access/Ownable2Step__factory.d.ts +96 -0
- package/dist/typechain-types/factories/@openzeppelin/contracts/access/Ownable2Step__factory.d.ts.map +1 -0
- package/dist/typechain-types/factories/@openzeppelin/contracts/access/Ownable2Step__factory.js +134 -0
- package/dist/typechain-types/factories/@openzeppelin/contracts/access/Ownable2Step__factory.js.map +1 -0
- package/dist/typechain-types/factories/@openzeppelin/contracts/access/Ownable__factory.d.ts +65 -0
- package/dist/typechain-types/factories/@openzeppelin/contracts/access/Ownable__factory.d.ts.map +1 -0
- package/dist/typechain-types/factories/@openzeppelin/contracts/access/Ownable__factory.js +95 -0
- package/dist/typechain-types/factories/@openzeppelin/contracts/access/Ownable__factory.js.map +1 -0
- package/dist/typechain-types/factories/@openzeppelin/contracts/access/index.d.ts +3 -0
- package/dist/typechain-types/factories/@openzeppelin/contracts/access/index.d.ts.map +1 -0
- package/dist/typechain-types/factories/@openzeppelin/contracts/access/index.js +12 -0
- package/dist/typechain-types/factories/@openzeppelin/contracts/access/index.js.map +1 -0
- package/dist/typechain-types/factories/@openzeppelin/contracts/index.d.ts +2 -0
- package/dist/typechain-types/factories/@openzeppelin/contracts/index.d.ts.map +1 -1
- package/dist/typechain-types/factories/@openzeppelin/contracts/index.js +3 -1
- package/dist/typechain-types/factories/@openzeppelin/contracts/index.js.map +1 -1
- package/dist/typechain-types/factories/@openzeppelin/contracts/interfaces/IERC1363__factory.d.ts +290 -0
- package/dist/typechain-types/factories/@openzeppelin/contracts/interfaces/IERC1363__factory.d.ts.map +1 -0
- package/dist/typechain-types/factories/@openzeppelin/contracts/interfaces/IERC1363__factory.js +392 -0
- package/dist/typechain-types/factories/@openzeppelin/contracts/interfaces/IERC1363__factory.js.map +1 -0
- package/dist/typechain-types/factories/@openzeppelin/contracts/interfaces/index.d.ts +1 -0
- package/dist/typechain-types/factories/@openzeppelin/contracts/interfaces/index.d.ts.map +1 -1
- package/dist/typechain-types/factories/@openzeppelin/contracts/interfaces/index.js +3 -1
- package/dist/typechain-types/factories/@openzeppelin/contracts/interfaces/index.js.map +1 -1
- package/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/ERC20Wrapper__factory.d.ts +304 -0
- package/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/ERC20Wrapper__factory.d.ts.map +1 -0
- package/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/ERC20Wrapper__factory.js +412 -0
- package/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/ERC20Wrapper__factory.js.map +1 -0
- package/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/index.d.ts +1 -0
- package/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/index.d.ts.map +1 -1
- package/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/index.js +3 -1
- package/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/index.js.map +1 -1
- package/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/index.d.ts +1 -0
- package/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/index.d.ts.map +1 -1
- package/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/index.js +2 -1
- package/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/index.js.map +1 -1
- package/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/SafeERC20__factory.d.ts +47 -0
- package/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/SafeERC20__factory.d.ts.map +1 -0
- package/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/SafeERC20__factory.js +73 -0
- package/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/SafeERC20__factory.js.map +1 -0
- package/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/index.d.ts +2 -0
- package/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/index.d.ts.map +1 -0
- package/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/index.js +10 -0
- package/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/index.js.map +1 -0
- package/dist/typechain-types/factories/@openzeppelin/contracts/utils/index.d.ts +2 -0
- package/dist/typechain-types/factories/@openzeppelin/contracts/utils/index.d.ts.map +1 -0
- package/dist/typechain-types/factories/@openzeppelin/contracts/utils/index.js +42 -0
- package/dist/typechain-types/factories/@openzeppelin/contracts/utils/index.js.map +1 -0
- package/dist/typechain-types/factories/@openzeppelin/contracts/utils/introspection/IERC165__factory.d.ts +22 -0
- package/dist/typechain-types/factories/@openzeppelin/contracts/utils/introspection/IERC165__factory.d.ts.map +1 -0
- package/dist/typechain-types/factories/@openzeppelin/contracts/utils/introspection/IERC165__factory.js +40 -0
- package/dist/typechain-types/factories/@openzeppelin/contracts/utils/introspection/IERC165__factory.js.map +1 -0
- package/dist/typechain-types/factories/@openzeppelin/contracts/utils/introspection/index.d.ts +2 -0
- package/dist/typechain-types/factories/@openzeppelin/contracts/utils/introspection/index.d.ts.map +1 -0
- package/dist/typechain-types/factories/@openzeppelin/contracts/utils/introspection/index.js +10 -0
- package/dist/typechain-types/factories/@openzeppelin/contracts/utils/introspection/index.js.map +1 -0
- package/dist/typechain-types/factories/contracts/DComp__factory.d.ts +514 -0
- package/dist/typechain-types/factories/contracts/DComp__factory.d.ts.map +1 -0
- package/dist/typechain-types/factories/contracts/DComp__factory.js +686 -0
- package/dist/typechain-types/factories/contracts/DComp__factory.js.map +1 -0
- package/dist/typechain-types/factories/contracts/external/Multicall3__factory.d.ts +354 -0
- package/dist/typechain-types/factories/contracts/external/Multicall3__factory.d.ts.map +1 -0
- package/dist/typechain-types/factories/contracts/external/Multicall3__factory.js +479 -0
- package/dist/typechain-types/factories/contracts/external/Multicall3__factory.js.map +1 -0
- package/dist/typechain-types/factories/contracts/external/index.d.ts +1 -0
- package/dist/typechain-types/factories/contracts/external/index.d.ts.map +1 -1
- package/dist/typechain-types/factories/contracts/external/index.js +3 -1
- package/dist/typechain-types/factories/contracts/external/index.js.map +1 -1
- package/dist/typechain-types/factories/contracts/index.d.ts +2 -0
- package/dist/typechain-types/factories/contracts/index.d.ts.map +1 -1
- package/dist/typechain-types/factories/contracts/index.js +4 -1
- package/dist/typechain-types/factories/contracts/index.js.map +1 -1
- package/dist/typechain-types/factories/contracts/vendor/@compound-finance/compound-governance/contracts/Comp__factory.d.ts +397 -0
- package/dist/typechain-types/factories/contracts/vendor/@compound-finance/compound-governance/contracts/Comp__factory.d.ts.map +1 -0
- package/dist/typechain-types/factories/contracts/vendor/@compound-finance/compound-governance/contracts/Comp__factory.js +530 -0
- package/dist/typechain-types/factories/contracts/vendor/@compound-finance/compound-governance/contracts/Comp__factory.js.map +1 -0
- package/dist/typechain-types/factories/contracts/vendor/@compound-finance/compound-governance/contracts/index.d.ts +3 -0
- package/dist/typechain-types/factories/contracts/vendor/@compound-finance/compound-governance/contracts/index.d.ts.map +1 -0
- package/dist/typechain-types/factories/contracts/vendor/@compound-finance/compound-governance/contracts/index.js +44 -0
- package/dist/typechain-types/factories/contracts/vendor/@compound-finance/compound-governance/contracts/index.js.map +1 -0
- package/dist/typechain-types/factories/contracts/vendor/@compound-finance/compound-governance/contracts/interfaces/IComp__factory.d.ts +374 -0
- package/dist/typechain-types/factories/contracts/vendor/@compound-finance/compound-governance/contracts/interfaces/IComp__factory.d.ts.map +1 -0
- package/dist/typechain-types/factories/contracts/vendor/@compound-finance/compound-governance/contracts/interfaces/IComp__factory.js +499 -0
- package/dist/typechain-types/factories/contracts/vendor/@compound-finance/compound-governance/contracts/interfaces/IComp__factory.js.map +1 -0
- package/dist/typechain-types/factories/contracts/vendor/@compound-finance/compound-governance/contracts/interfaces/index.d.ts +2 -0
- package/dist/typechain-types/factories/contracts/vendor/@compound-finance/compound-governance/contracts/interfaces/index.d.ts.map +1 -0
- package/dist/typechain-types/factories/contracts/vendor/@compound-finance/compound-governance/contracts/interfaces/index.js +10 -0
- package/dist/typechain-types/factories/contracts/vendor/@compound-finance/compound-governance/contracts/interfaces/index.js.map +1 -0
- package/dist/typechain-types/factories/contracts/vendor/@compound-finance/compound-governance/index.d.ts +2 -0
- package/dist/typechain-types/factories/contracts/vendor/@compound-finance/compound-governance/index.d.ts.map +1 -0
- package/dist/typechain-types/factories/contracts/vendor/@compound-finance/compound-governance/index.js +42 -0
- package/dist/typechain-types/factories/contracts/vendor/@compound-finance/compound-governance/index.js.map +1 -0
- package/dist/typechain-types/factories/contracts/vendor/@compound-finance/index.d.ts +2 -0
- package/dist/typechain-types/factories/contracts/vendor/@compound-finance/index.d.ts.map +1 -0
- package/dist/typechain-types/factories/contracts/vendor/@compound-finance/index.js +42 -0
- package/dist/typechain-types/factories/contracts/vendor/@compound-finance/index.js.map +1 -0
- package/dist/typechain-types/factories/contracts/vendor/index.d.ts +2 -0
- package/dist/typechain-types/factories/contracts/vendor/index.d.ts.map +1 -0
- package/dist/typechain-types/factories/contracts/vendor/index.js +42 -0
- package/dist/typechain-types/factories/contracts/vendor/index.js.map +1 -0
- package/dist/typechain-types/index.d.ts +20 -0
- package/dist/typechain-types/index.d.ts.map +1 -1
- package/dist/typechain-types/index.js +21 -1
- package/dist/typechain-types/index.js.map +1 -1
- package/hardhat.config.cts +9 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DComp__factory.d.ts","sourceRoot":"","sources":["../../../../typechain-types/factories/contracts/DComp__factory.ts"],"names":[],"mappings":"AAIA,OAAO,EAEL,eAAe,EACf,2BAA2B,EAE5B,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EACV,MAAM,EACN,WAAW,EACX,yBAAyB,EACzB,cAAc,EACf,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AACxD,OAAO,KAAK,EAAE,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AA6oBnE,KAAK,sBAAsB,GACvB,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,cAAe,SAAQ,eAAe;gBACrC,GAAG,IAAI,EAAE,sBAAsB;IAQlC,oBAAoB,CAC3B,YAAY,EAAE,WAAW,EACzB,gBAAgB,EAAE,WAAW,EAC7B,qBAAqB,EAAE,WAAW,EAAE,EACpC,SAAS,CAAC,EAAE,mBAAmB,GAAG;QAAE,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,GAClD,OAAO,CAAC,yBAAyB,CAAC;IAQ5B,MAAM,CACb,YAAY,EAAE,WAAW,EACzB,gBAAgB,EAAE,WAAW,EAC7B,qBAAqB,EAAE,WAAW,EAAE,EACpC,SAAS,CAAC,EAAE,mBAAmB,GAAG;QAAE,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,GAO9C,OAAO,CACV,KAAK,GAAG;QACN,qBAAqB,IAAI,2BAA2B,CAAC;KACtD,CACF;IAEM,OAAO,CAAC,MAAM,EAAE,cAAc,GAAG,IAAI,GAAG,cAAc;IAI/D,MAAM,CAAC,QAAQ,CAAC,QAAQ,gkYAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,cAAc;IAGxC,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,cAAc,GAAG,IAAI,GAAG,KAAK;CAGvE"}
|
|
@@ -0,0 +1,686 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DComp__factory = void 0;
|
|
4
|
+
/* Autogenerated file. Do not edit manually. */
|
|
5
|
+
// @ts-nocheck
|
|
6
|
+
/* tslint:disable */
|
|
7
|
+
/* eslint-disable */
|
|
8
|
+
const ethers_1 = require("ethers");
|
|
9
|
+
const _abi = [
|
|
10
|
+
{
|
|
11
|
+
inputs: [
|
|
12
|
+
{
|
|
13
|
+
internalType: "address",
|
|
14
|
+
name: "initialOwner",
|
|
15
|
+
type: "address",
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
internalType: "address",
|
|
19
|
+
name: "initialDelegatee",
|
|
20
|
+
type: "address",
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
internalType: "address[]",
|
|
24
|
+
name: "whitelistedDepositors",
|
|
25
|
+
type: "address[]",
|
|
26
|
+
},
|
|
27
|
+
],
|
|
28
|
+
stateMutability: "nonpayable",
|
|
29
|
+
type: "constructor",
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
inputs: [
|
|
33
|
+
{
|
|
34
|
+
internalType: "address",
|
|
35
|
+
name: "spender",
|
|
36
|
+
type: "address",
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
internalType: "uint256",
|
|
40
|
+
name: "allowance",
|
|
41
|
+
type: "uint256",
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
internalType: "uint256",
|
|
45
|
+
name: "needed",
|
|
46
|
+
type: "uint256",
|
|
47
|
+
},
|
|
48
|
+
],
|
|
49
|
+
name: "ERC20InsufficientAllowance",
|
|
50
|
+
type: "error",
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
inputs: [
|
|
54
|
+
{
|
|
55
|
+
internalType: "address",
|
|
56
|
+
name: "sender",
|
|
57
|
+
type: "address",
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
internalType: "uint256",
|
|
61
|
+
name: "balance",
|
|
62
|
+
type: "uint256",
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
internalType: "uint256",
|
|
66
|
+
name: "needed",
|
|
67
|
+
type: "uint256",
|
|
68
|
+
},
|
|
69
|
+
],
|
|
70
|
+
name: "ERC20InsufficientBalance",
|
|
71
|
+
type: "error",
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
inputs: [
|
|
75
|
+
{
|
|
76
|
+
internalType: "address",
|
|
77
|
+
name: "approver",
|
|
78
|
+
type: "address",
|
|
79
|
+
},
|
|
80
|
+
],
|
|
81
|
+
name: "ERC20InvalidApprover",
|
|
82
|
+
type: "error",
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
inputs: [
|
|
86
|
+
{
|
|
87
|
+
internalType: "address",
|
|
88
|
+
name: "receiver",
|
|
89
|
+
type: "address",
|
|
90
|
+
},
|
|
91
|
+
],
|
|
92
|
+
name: "ERC20InvalidReceiver",
|
|
93
|
+
type: "error",
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
inputs: [
|
|
97
|
+
{
|
|
98
|
+
internalType: "address",
|
|
99
|
+
name: "sender",
|
|
100
|
+
type: "address",
|
|
101
|
+
},
|
|
102
|
+
],
|
|
103
|
+
name: "ERC20InvalidSender",
|
|
104
|
+
type: "error",
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
inputs: [
|
|
108
|
+
{
|
|
109
|
+
internalType: "address",
|
|
110
|
+
name: "spender",
|
|
111
|
+
type: "address",
|
|
112
|
+
},
|
|
113
|
+
],
|
|
114
|
+
name: "ERC20InvalidSpender",
|
|
115
|
+
type: "error",
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
inputs: [
|
|
119
|
+
{
|
|
120
|
+
internalType: "address",
|
|
121
|
+
name: "token",
|
|
122
|
+
type: "address",
|
|
123
|
+
},
|
|
124
|
+
],
|
|
125
|
+
name: "ERC20InvalidUnderlying",
|
|
126
|
+
type: "error",
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
inputs: [
|
|
130
|
+
{
|
|
131
|
+
internalType: "address",
|
|
132
|
+
name: "owner",
|
|
133
|
+
type: "address",
|
|
134
|
+
},
|
|
135
|
+
],
|
|
136
|
+
name: "OwnableInvalidOwner",
|
|
137
|
+
type: "error",
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
inputs: [
|
|
141
|
+
{
|
|
142
|
+
internalType: "address",
|
|
143
|
+
name: "account",
|
|
144
|
+
type: "address",
|
|
145
|
+
},
|
|
146
|
+
],
|
|
147
|
+
name: "OwnableUnauthorizedAccount",
|
|
148
|
+
type: "error",
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
inputs: [
|
|
152
|
+
{
|
|
153
|
+
internalType: "address",
|
|
154
|
+
name: "token",
|
|
155
|
+
type: "address",
|
|
156
|
+
},
|
|
157
|
+
],
|
|
158
|
+
name: "SafeERC20FailedOperation",
|
|
159
|
+
type: "error",
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
anonymous: false,
|
|
163
|
+
inputs: [
|
|
164
|
+
{
|
|
165
|
+
indexed: true,
|
|
166
|
+
internalType: "address",
|
|
167
|
+
name: "owner",
|
|
168
|
+
type: "address",
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
indexed: true,
|
|
172
|
+
internalType: "address",
|
|
173
|
+
name: "spender",
|
|
174
|
+
type: "address",
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
indexed: false,
|
|
178
|
+
internalType: "uint256",
|
|
179
|
+
name: "value",
|
|
180
|
+
type: "uint256",
|
|
181
|
+
},
|
|
182
|
+
],
|
|
183
|
+
name: "Approval",
|
|
184
|
+
type: "event",
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
anonymous: false,
|
|
188
|
+
inputs: [
|
|
189
|
+
{
|
|
190
|
+
indexed: true,
|
|
191
|
+
internalType: "address",
|
|
192
|
+
name: "account",
|
|
193
|
+
type: "address",
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
indexed: false,
|
|
197
|
+
internalType: "bool",
|
|
198
|
+
name: "isWhitelisted",
|
|
199
|
+
type: "bool",
|
|
200
|
+
},
|
|
201
|
+
],
|
|
202
|
+
name: "DepositorWhitelistStatusUpdated",
|
|
203
|
+
type: "event",
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
anonymous: false,
|
|
207
|
+
inputs: [
|
|
208
|
+
{
|
|
209
|
+
indexed: true,
|
|
210
|
+
internalType: "address",
|
|
211
|
+
name: "previousOwner",
|
|
212
|
+
type: "address",
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
indexed: true,
|
|
216
|
+
internalType: "address",
|
|
217
|
+
name: "newOwner",
|
|
218
|
+
type: "address",
|
|
219
|
+
},
|
|
220
|
+
],
|
|
221
|
+
name: "OwnershipTransferStarted",
|
|
222
|
+
type: "event",
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
anonymous: false,
|
|
226
|
+
inputs: [
|
|
227
|
+
{
|
|
228
|
+
indexed: true,
|
|
229
|
+
internalType: "address",
|
|
230
|
+
name: "previousOwner",
|
|
231
|
+
type: "address",
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
indexed: true,
|
|
235
|
+
internalType: "address",
|
|
236
|
+
name: "newOwner",
|
|
237
|
+
type: "address",
|
|
238
|
+
},
|
|
239
|
+
],
|
|
240
|
+
name: "OwnershipTransferred",
|
|
241
|
+
type: "event",
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
anonymous: false,
|
|
245
|
+
inputs: [
|
|
246
|
+
{
|
|
247
|
+
indexed: true,
|
|
248
|
+
internalType: "address",
|
|
249
|
+
name: "from",
|
|
250
|
+
type: "address",
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
indexed: true,
|
|
254
|
+
internalType: "address",
|
|
255
|
+
name: "to",
|
|
256
|
+
type: "address",
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
indexed: false,
|
|
260
|
+
internalType: "uint256",
|
|
261
|
+
name: "value",
|
|
262
|
+
type: "uint256",
|
|
263
|
+
},
|
|
264
|
+
],
|
|
265
|
+
name: "Transfer",
|
|
266
|
+
type: "event",
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
inputs: [],
|
|
270
|
+
name: "acceptOwnership",
|
|
271
|
+
outputs: [],
|
|
272
|
+
stateMutability: "nonpayable",
|
|
273
|
+
type: "function",
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
inputs: [
|
|
277
|
+
{
|
|
278
|
+
internalType: "address",
|
|
279
|
+
name: "owner",
|
|
280
|
+
type: "address",
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
internalType: "address",
|
|
284
|
+
name: "spender",
|
|
285
|
+
type: "address",
|
|
286
|
+
},
|
|
287
|
+
],
|
|
288
|
+
name: "allowance",
|
|
289
|
+
outputs: [
|
|
290
|
+
{
|
|
291
|
+
internalType: "uint256",
|
|
292
|
+
name: "",
|
|
293
|
+
type: "uint256",
|
|
294
|
+
},
|
|
295
|
+
],
|
|
296
|
+
stateMutability: "view",
|
|
297
|
+
type: "function",
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
inputs: [
|
|
301
|
+
{
|
|
302
|
+
internalType: "address",
|
|
303
|
+
name: "spender",
|
|
304
|
+
type: "address",
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
internalType: "uint256",
|
|
308
|
+
name: "value",
|
|
309
|
+
type: "uint256",
|
|
310
|
+
},
|
|
311
|
+
],
|
|
312
|
+
name: "approve",
|
|
313
|
+
outputs: [
|
|
314
|
+
{
|
|
315
|
+
internalType: "bool",
|
|
316
|
+
name: "",
|
|
317
|
+
type: "bool",
|
|
318
|
+
},
|
|
319
|
+
],
|
|
320
|
+
stateMutability: "nonpayable",
|
|
321
|
+
type: "function",
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
inputs: [
|
|
325
|
+
{
|
|
326
|
+
internalType: "address",
|
|
327
|
+
name: "account",
|
|
328
|
+
type: "address",
|
|
329
|
+
},
|
|
330
|
+
],
|
|
331
|
+
name: "balanceOf",
|
|
332
|
+
outputs: [
|
|
333
|
+
{
|
|
334
|
+
internalType: "uint256",
|
|
335
|
+
name: "",
|
|
336
|
+
type: "uint256",
|
|
337
|
+
},
|
|
338
|
+
],
|
|
339
|
+
stateMutability: "view",
|
|
340
|
+
type: "function",
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
inputs: [],
|
|
344
|
+
name: "decimals",
|
|
345
|
+
outputs: [
|
|
346
|
+
{
|
|
347
|
+
internalType: "uint8",
|
|
348
|
+
name: "",
|
|
349
|
+
type: "uint8",
|
|
350
|
+
},
|
|
351
|
+
],
|
|
352
|
+
stateMutability: "view",
|
|
353
|
+
type: "function",
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
inputs: [],
|
|
357
|
+
name: "delegatee",
|
|
358
|
+
outputs: [
|
|
359
|
+
{
|
|
360
|
+
internalType: "address",
|
|
361
|
+
name: "",
|
|
362
|
+
type: "address",
|
|
363
|
+
},
|
|
364
|
+
],
|
|
365
|
+
stateMutability: "view",
|
|
366
|
+
type: "function",
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
inputs: [
|
|
370
|
+
{
|
|
371
|
+
internalType: "uint256",
|
|
372
|
+
name: "value",
|
|
373
|
+
type: "uint256",
|
|
374
|
+
},
|
|
375
|
+
],
|
|
376
|
+
name: "deposit",
|
|
377
|
+
outputs: [
|
|
378
|
+
{
|
|
379
|
+
internalType: "bool",
|
|
380
|
+
name: "",
|
|
381
|
+
type: "bool",
|
|
382
|
+
},
|
|
383
|
+
],
|
|
384
|
+
stateMutability: "nonpayable",
|
|
385
|
+
type: "function",
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
inputs: [
|
|
389
|
+
{
|
|
390
|
+
internalType: "address",
|
|
391
|
+
name: "account",
|
|
392
|
+
type: "address",
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
internalType: "uint256",
|
|
396
|
+
name: "value",
|
|
397
|
+
type: "uint256",
|
|
398
|
+
},
|
|
399
|
+
],
|
|
400
|
+
name: "depositFor",
|
|
401
|
+
outputs: [
|
|
402
|
+
{
|
|
403
|
+
internalType: "bool",
|
|
404
|
+
name: "",
|
|
405
|
+
type: "bool",
|
|
406
|
+
},
|
|
407
|
+
],
|
|
408
|
+
stateMutability: "nonpayable",
|
|
409
|
+
type: "function",
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
inputs: [
|
|
413
|
+
{
|
|
414
|
+
internalType: "address",
|
|
415
|
+
name: "",
|
|
416
|
+
type: "address",
|
|
417
|
+
},
|
|
418
|
+
],
|
|
419
|
+
name: "isDepositorWhitelisted",
|
|
420
|
+
outputs: [
|
|
421
|
+
{
|
|
422
|
+
internalType: "bool",
|
|
423
|
+
name: "",
|
|
424
|
+
type: "bool",
|
|
425
|
+
},
|
|
426
|
+
],
|
|
427
|
+
stateMutability: "view",
|
|
428
|
+
type: "function",
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
inputs: [],
|
|
432
|
+
name: "name",
|
|
433
|
+
outputs: [
|
|
434
|
+
{
|
|
435
|
+
internalType: "string",
|
|
436
|
+
name: "",
|
|
437
|
+
type: "string",
|
|
438
|
+
},
|
|
439
|
+
],
|
|
440
|
+
stateMutability: "view",
|
|
441
|
+
type: "function",
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
inputs: [],
|
|
445
|
+
name: "owner",
|
|
446
|
+
outputs: [
|
|
447
|
+
{
|
|
448
|
+
internalType: "address",
|
|
449
|
+
name: "",
|
|
450
|
+
type: "address",
|
|
451
|
+
},
|
|
452
|
+
],
|
|
453
|
+
stateMutability: "view",
|
|
454
|
+
type: "function",
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
inputs: [],
|
|
458
|
+
name: "pendingOwner",
|
|
459
|
+
outputs: [
|
|
460
|
+
{
|
|
461
|
+
internalType: "address",
|
|
462
|
+
name: "",
|
|
463
|
+
type: "address",
|
|
464
|
+
},
|
|
465
|
+
],
|
|
466
|
+
stateMutability: "view",
|
|
467
|
+
type: "function",
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
inputs: [],
|
|
471
|
+
name: "renounceOwnership",
|
|
472
|
+
outputs: [],
|
|
473
|
+
stateMutability: "nonpayable",
|
|
474
|
+
type: "function",
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
inputs: [
|
|
478
|
+
{
|
|
479
|
+
internalType: "address",
|
|
480
|
+
name: "newDelegatee",
|
|
481
|
+
type: "address",
|
|
482
|
+
},
|
|
483
|
+
],
|
|
484
|
+
name: "setDelegatee",
|
|
485
|
+
outputs: [],
|
|
486
|
+
stateMutability: "nonpayable",
|
|
487
|
+
type: "function",
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
inputs: [],
|
|
491
|
+
name: "symbol",
|
|
492
|
+
outputs: [
|
|
493
|
+
{
|
|
494
|
+
internalType: "string",
|
|
495
|
+
name: "",
|
|
496
|
+
type: "string",
|
|
497
|
+
},
|
|
498
|
+
],
|
|
499
|
+
stateMutability: "view",
|
|
500
|
+
type: "function",
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
inputs: [],
|
|
504
|
+
name: "totalSupply",
|
|
505
|
+
outputs: [
|
|
506
|
+
{
|
|
507
|
+
internalType: "uint256",
|
|
508
|
+
name: "",
|
|
509
|
+
type: "uint256",
|
|
510
|
+
},
|
|
511
|
+
],
|
|
512
|
+
stateMutability: "view",
|
|
513
|
+
type: "function",
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
inputs: [
|
|
517
|
+
{
|
|
518
|
+
internalType: "address",
|
|
519
|
+
name: "to",
|
|
520
|
+
type: "address",
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
internalType: "uint256",
|
|
524
|
+
name: "value",
|
|
525
|
+
type: "uint256",
|
|
526
|
+
},
|
|
527
|
+
],
|
|
528
|
+
name: "transfer",
|
|
529
|
+
outputs: [
|
|
530
|
+
{
|
|
531
|
+
internalType: "bool",
|
|
532
|
+
name: "",
|
|
533
|
+
type: "bool",
|
|
534
|
+
},
|
|
535
|
+
],
|
|
536
|
+
stateMutability: "nonpayable",
|
|
537
|
+
type: "function",
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
inputs: [
|
|
541
|
+
{
|
|
542
|
+
internalType: "address",
|
|
543
|
+
name: "from",
|
|
544
|
+
type: "address",
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
internalType: "address",
|
|
548
|
+
name: "to",
|
|
549
|
+
type: "address",
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
internalType: "uint256",
|
|
553
|
+
name: "value",
|
|
554
|
+
type: "uint256",
|
|
555
|
+
},
|
|
556
|
+
],
|
|
557
|
+
name: "transferFrom",
|
|
558
|
+
outputs: [
|
|
559
|
+
{
|
|
560
|
+
internalType: "bool",
|
|
561
|
+
name: "",
|
|
562
|
+
type: "bool",
|
|
563
|
+
},
|
|
564
|
+
],
|
|
565
|
+
stateMutability: "nonpayable",
|
|
566
|
+
type: "function",
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
inputs: [
|
|
570
|
+
{
|
|
571
|
+
internalType: "address",
|
|
572
|
+
name: "newOwner",
|
|
573
|
+
type: "address",
|
|
574
|
+
},
|
|
575
|
+
],
|
|
576
|
+
name: "transferOwnership",
|
|
577
|
+
outputs: [],
|
|
578
|
+
stateMutability: "nonpayable",
|
|
579
|
+
type: "function",
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
inputs: [],
|
|
583
|
+
name: "underlying",
|
|
584
|
+
outputs: [
|
|
585
|
+
{
|
|
586
|
+
internalType: "contract IERC20",
|
|
587
|
+
name: "",
|
|
588
|
+
type: "address",
|
|
589
|
+
},
|
|
590
|
+
],
|
|
591
|
+
stateMutability: "view",
|
|
592
|
+
type: "function",
|
|
593
|
+
},
|
|
594
|
+
{
|
|
595
|
+
inputs: [
|
|
596
|
+
{
|
|
597
|
+
internalType: "address[]",
|
|
598
|
+
name: "addresses",
|
|
599
|
+
type: "address[]",
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
internalType: "bool[]",
|
|
603
|
+
name: "isAddressWhitelisted",
|
|
604
|
+
type: "bool[]",
|
|
605
|
+
},
|
|
606
|
+
],
|
|
607
|
+
name: "updateWhitelistedDepositors",
|
|
608
|
+
outputs: [],
|
|
609
|
+
stateMutability: "nonpayable",
|
|
610
|
+
type: "function",
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
inputs: [
|
|
614
|
+
{
|
|
615
|
+
internalType: "uint256",
|
|
616
|
+
name: "value",
|
|
617
|
+
type: "uint256",
|
|
618
|
+
},
|
|
619
|
+
],
|
|
620
|
+
name: "withdraw",
|
|
621
|
+
outputs: [
|
|
622
|
+
{
|
|
623
|
+
internalType: "bool",
|
|
624
|
+
name: "",
|
|
625
|
+
type: "bool",
|
|
626
|
+
},
|
|
627
|
+
],
|
|
628
|
+
stateMutability: "nonpayable",
|
|
629
|
+
type: "function",
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
inputs: [
|
|
633
|
+
{
|
|
634
|
+
internalType: "address",
|
|
635
|
+
name: "account",
|
|
636
|
+
type: "address",
|
|
637
|
+
},
|
|
638
|
+
{
|
|
639
|
+
internalType: "uint256",
|
|
640
|
+
name: "value",
|
|
641
|
+
type: "uint256",
|
|
642
|
+
},
|
|
643
|
+
],
|
|
644
|
+
name: "withdrawTo",
|
|
645
|
+
outputs: [
|
|
646
|
+
{
|
|
647
|
+
internalType: "bool",
|
|
648
|
+
name: "",
|
|
649
|
+
type: "bool",
|
|
650
|
+
},
|
|
651
|
+
],
|
|
652
|
+
stateMutability: "nonpayable",
|
|
653
|
+
type: "function",
|
|
654
|
+
},
|
|
655
|
+
];
|
|
656
|
+
const _bytecode = "0x60c060405273c00e94cb662c3520282e6f5717214004a7f2688860a05234801561002857600080fd5b5060405161181c38038061181c83398101604081905261004791610344565b8273c00e94cb662c3520282e6f5717214004a7f2688860405180604001604052806005815260200164064434f4d560dc1b81525060405180604001604052806005815260200164064434f4d560dc1b81525081600390816100a891906104bd565b5060046100b582826104bd565b5050306001600160a01b0383160390506100e95760405163438d6fe360e01b81523060048201526024015b60405180910390fd5b6001600160a01b03908116608052811661011957604051631e4fbdf760e01b8152600060048201526024016100e0565b61012281610173565b5061012c8261018f565b60005b815181101561016a5761016282828151811061014d5761014d61057b565b602002602001015160016101f160201b60201c565b60010161012f565b50505050610591565b600680546001600160a01b031916905561018c816102c0565b50565b60a0516040516317066a5760e21b81526001600160a01b03838116600483015290911690635c19a95c90602401600060405180830381600087803b1580156101d657600080fd5b505af11580156101ea573d6000803e3d6000fd5b5050505050565b6001600160a01b03821660009081526007602052604090205481151560ff9091161515036102615760405162461bcd60e51b815260206004820152601d60248201527f4e6f206368616e676520696e2077686974656c6973742073746174757300000060448201526064016100e0565b6001600160a01b038216600081815260076020908152604091829020805460ff191685151590811790915591519182527fac22c32a168676a991c824f386c489970501548a7c6406edef53037409668cdb910160405180910390a25050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b80516001600160a01b038116811461032957600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60008060006060848603121561035957600080fd5b61036284610312565b925061037060208501610312565b60408501519092506001600160401b0381111561038c57600080fd5b8401601f8101861361039d57600080fd5b80516001600160401b038111156103b6576103b661032e565b604051600582901b90603f8201601f191681016001600160401b03811182821017156103e4576103e461032e565b60405291825260208184018101929081018984111561040257600080fd5b6020850194505b838510156104285761041a85610312565b815260209485019401610409565b50809450505050509250925092565b600181811c9082168061044b57607f821691505b60208210810361046b57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156104b857806000526020600020601f840160051c810160208510156104985750805b601f840160051c820191505b818110156101ea57600081556001016104a4565b505050565b81516001600160401b038111156104d6576104d661032e565b6104ea816104e48454610437565b84610471565b6020601f82116001811461051e57600083156105065750848201515b600019600385901b1c1916600184901b1784556101ea565b600084815260208120601f198516915b8281101561054e578785015182556020948501946001909201910161052e565b508482101561056c5786840151600019600387901b60f8161c191681555b50505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b60805160a05161124a6105d2600039600081816104350152610bbc015260008181610242015281816104f70152818161068d0152610b53015261124a6000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c806370a08231116100c3578063a9059cbb1161007c578063a9059cbb146102db578063b6b55f25146102ee578063dd62ed3e14610301578063e30c39781461033a578063e842a64b1461034b578063f2fde38b1461035e57600080fd5b806370a0823114610266578063715018a61461028f578063794b15b71461029757806379ba5097146102ba5780638da5cb5b146102c257806395d89b41146102d357600080fd5b806323b872dd1161011557806323b872dd146101d8578063293c6f56146101eb5780632e1a7d4d146102005780632f4f21e214610213578063313ce567146102265780636f307dc31461024057600080fd5b806306fdde0314610152578063095ea7b31461017057806318160ddd146101935780631e31d053146101a5578063205c2878146101c5575b600080fd5b61015a610371565b6040516101679190610f45565b60405180910390f35b61018361017e366004610fa8565b610403565b6040519015158152602001610167565b6002545b604051908152602001610167565b6101ad61041d565b6040516001600160a01b039091168152602001610167565b6101836101d3366004610fa8565b6104ad565b6101836101e6366004610fd4565b610526565b6101fe6101f9366004611061565b61054a565b005b61018361020e3660046110d2565b610611565b610183610221366004610fa8565b61061d565b61022e610689565b60405160ff9091168152602001610167565b7f00000000000000000000000000000000000000000000000000000000000000006101ad565b6101976102743660046110eb565b6001600160a01b031660009081526020819052604090205490565b6101fe610714565b6101836102a53660046110eb565b60076020526000908152604090205460ff1681565b6101fe610728565b6005546001600160a01b03166101ad565b61015a61076c565b6101836102e9366004610fa8565b61077b565b6101836102fc3660046110d2565b610789565b61019761030f366004611108565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6006546001600160a01b03166101ad565b6101fe6103593660046110eb565b6107ee565b6101fe61036c3660046110eb565b6107ff565b60606003805461038090611141565b80601f01602080910402602001604051908101604052809291908181526020018280546103ac90611141565b80156103f95780601f106103ce576101008083540402835291602001916103f9565b820191906000526020600020905b8154815290600101906020018083116103dc57829003601f168201915b5050505050905090565b600033610411818585610870565b60019150505b92915050565b604051632c3e6f0f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063587cde1e90602401602060405180830381865afa158015610484573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104a8919061117b565b905090565b6000306001600160a01b038416036104e85760405163ec442f0560e01b81526001600160a01b03841660048201526024015b60405180910390fd5b6104f23383610882565b61051d7f000000000000000000000000000000000000000000000000000000000000000084846108bc565b50600192915050565b60003361053485828561091b565b61053f85858561099a565b506001949350505050565b6105526109f9565b8281146105a15760405162461bcd60e51b815260206004820152601860248201527f4d69736d617463686564206172726179206c656e67746873000000000000000060448201526064016104df565b60005b8381101561060a576106028585838181106105c1576105c1611198565b90506020020160208101906105d691906110eb565b8484848181106105e8576105e8611198565b90506020020160208101906105fd91906111ae565b610a26565b6001016105a4565b5050505050565b600061041733836104ad565b3360009081526007602052604081205460ff166106785760405162461bcd60e51b815260206004820152601960248201527810d85b1b195c881a5cc81b9bdd081dda1a5d195b1a5cdd1959603a1b60448201526064016104df565b6106828383610af5565b9392505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610705575060408051601f3d908101601f19168201909252610702918101906111d0565b60015b61070f5750601290565b919050565b61071c6109f9565b6107266000610b84565b565b60065433906001600160a01b031681146107605760405163118cdaa760e01b81526001600160a01b03821660048201526024016104df565b61076981610b84565b50565b60606004805461038090611141565b60003361041181858561099a565b3360009081526007602052604081205460ff166107e45760405162461bcd60e51b815260206004820152601960248201527810d85b1b195c881a5cc81b9bdd081dda1a5d195b1a5cdd1959603a1b60448201526064016104df565b610417338361061d565b6107f66109f9565b61076981610b9d565b6108076109f9565b600680546001600160a01b0383166001600160a01b031990911681179091556108386005546001600160a01b031690565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b61087d8383836001610c14565b505050565b6001600160a01b0382166108ac57604051634b637e8f60e11b8152600060048201526024016104df565b6108b882600083610ce9565b5050565b6040516001600160a01b0383811660248301526044820183905261087d91859182169063a9059cbb906064015b604051602081830303815290604052915060e01b6020820180516001600160e01b038381831617835250505050610e13565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811015610994578181101561098557604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016104df565b61099484848484036000610c14565b50505050565b6001600160a01b0383166109c457604051634b637e8f60e11b8152600060048201526024016104df565b6001600160a01b0382166109ee5760405163ec442f0560e01b8152600060048201526024016104df565b61087d838383610ce9565b6005546001600160a01b031633146107265760405163118cdaa760e01b81523360048201526024016104df565b6001600160a01b03821660009081526007602052604090205481151560ff909116151503610a965760405162461bcd60e51b815260206004820152601d60248201527f4e6f206368616e676520696e2077686974656c6973742073746174757300000060448201526064016104df565b6001600160a01b038216600081815260076020908152604091829020805460ff191685151590811790915591519182527fac22c32a168676a991c824f386c489970501548a7c6406edef53037409668cdb910160405180910390a25050565b600033308103610b1a57604051634b637e8f60e11b81523060048201526024016104df565b306001600160a01b03851603610b4e5760405163ec442f0560e01b81526001600160a01b03851660048201526024016104df565b610b7a7f0000000000000000000000000000000000000000000000000000000000000000823086610e84565b6104118484610ebd565b600680546001600160a01b031916905561076981610ef3565b6040516317066a5760e21b81526001600160a01b0382811660048301527f00000000000000000000000000000000000000000000000000000000000000001690635c19a95c90602401600060405180830381600087803b158015610c0057600080fd5b505af115801561060a573d6000803e3d6000fd5b6001600160a01b038416610c3e5760405163e602df0560e01b8152600060048201526024016104df565b6001600160a01b038316610c6857604051634a1406b160e11b8152600060048201526024016104df565b6001600160a01b038085166000908152600160209081526040808320938716835292905220829055801561099457826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610cdb91815260200190565b60405180910390a350505050565b6001600160a01b038316610d14578060026000828254610d0991906111f3565b90915550610d869050565b6001600160a01b03831660009081526020819052604090205481811015610d675760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016104df565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216610da257600280548290039055610dc1565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610e0691815260200190565b60405180910390a3505050565b600080602060008451602086016000885af180610e36576040513d6000823e3d81fd5b50506000513d91508115610e4e578060011415610e5b565b6001600160a01b0384163b155b1561099457604051635274afe760e01b81526001600160a01b03851660048201526024016104df565b6040516001600160a01b0384811660248301528381166044830152606482018390526109949186918216906323b872dd906084016108e9565b6001600160a01b038216610ee75760405163ec442f0560e01b8152600060048201526024016104df565b6108b860008383610ce9565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b602081526000825180602084015260005b81811015610f735760208186018101516040868401015201610f56565b506000604082850101526040601f19601f83011684010191505092915050565b6001600160a01b038116811461076957600080fd5b60008060408385031215610fbb57600080fd5b8235610fc681610f93565b946020939093013593505050565b600080600060608486031215610fe957600080fd5b8335610ff481610f93565b9250602084013561100481610f93565b929592945050506040919091013590565b60008083601f84011261102757600080fd5b50813567ffffffffffffffff81111561103f57600080fd5b6020830191508360208260051b850101111561105a57600080fd5b9250929050565b6000806000806040858703121561107757600080fd5b843567ffffffffffffffff81111561108e57600080fd5b61109a87828801611015565b909550935050602085013567ffffffffffffffff8111156110ba57600080fd5b6110c687828801611015565b95989497509550505050565b6000602082840312156110e457600080fd5b5035919050565b6000602082840312156110fd57600080fd5b813561068281610f93565b6000806040838503121561111b57600080fd5b823561112681610f93565b9150602083013561113681610f93565b809150509250929050565b600181811c9082168061115557607f821691505b60208210810361117557634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561118d57600080fd5b815161068281610f93565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156111c057600080fd5b8135801515811461068257600080fd5b6000602082840312156111e257600080fd5b815160ff8116811461068257600080fd5b8082018082111561041757634e487b7160e01b600052601160045260246000fdfea2646970667358221220580c324e6cc6850c7c7c40fd26cd8ae7c092027fa0caef09c6ea7fad2342e09d64736f6c634300081b0033";
|
|
657
|
+
const isSuperArgs = (xs) => xs.length > 1;
|
|
658
|
+
class DComp__factory extends ethers_1.ContractFactory {
|
|
659
|
+
constructor(...args) {
|
|
660
|
+
if (isSuperArgs(args)) {
|
|
661
|
+
super(...args);
|
|
662
|
+
}
|
|
663
|
+
else {
|
|
664
|
+
super(_abi, _bytecode, args[0]);
|
|
665
|
+
}
|
|
666
|
+
}
|
|
667
|
+
getDeployTransaction(initialOwner, initialDelegatee, whitelistedDepositors, overrides) {
|
|
668
|
+
return super.getDeployTransaction(initialOwner, initialDelegatee, whitelistedDepositors, overrides || {});
|
|
669
|
+
}
|
|
670
|
+
deploy(initialOwner, initialDelegatee, whitelistedDepositors, overrides) {
|
|
671
|
+
return super.deploy(initialOwner, initialDelegatee, whitelistedDepositors, overrides || {});
|
|
672
|
+
}
|
|
673
|
+
connect(runner) {
|
|
674
|
+
return super.connect(runner);
|
|
675
|
+
}
|
|
676
|
+
static bytecode = _bytecode;
|
|
677
|
+
static abi = _abi;
|
|
678
|
+
static createInterface() {
|
|
679
|
+
return new ethers_1.Interface(_abi);
|
|
680
|
+
}
|
|
681
|
+
static connect(address, runner) {
|
|
682
|
+
return new ethers_1.Contract(address, _abi, runner);
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
exports.DComp__factory = DComp__factory;
|
|
686
|
+
//# sourceMappingURL=DComp__factory.js.map
|