morpho-contracts-helper 0.0.3 → 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/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/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/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/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 +18 -0
- package/dist/typechain-types/index.d.ts.map +1 -1
- package/dist/typechain-types/index.js +19 -1
- package/dist/typechain-types/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,285 @@
|
|
|
1
|
+
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
+
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../../../../common";
|
|
3
|
+
export interface CompInterface extends Interface {
|
|
4
|
+
getFunction(nameOrSignature: "DELEGATION_TYPEHASH" | "DOMAIN_TYPEHASH" | "allowance" | "approve" | "balanceOf" | "checkpoints" | "decimals" | "delegate" | "delegateBySig" | "delegates" | "getCurrentVotes" | "getPriorVotes" | "name" | "nonces" | "numCheckpoints" | "symbol" | "totalSupply" | "transfer" | "transferFrom"): FunctionFragment;
|
|
5
|
+
getEvent(nameOrSignatureOrTopic: "Approval" | "DelegateChanged" | "DelegateVotesChanged" | "Transfer"): EventFragment;
|
|
6
|
+
encodeFunctionData(functionFragment: "DELEGATION_TYPEHASH", values?: undefined): string;
|
|
7
|
+
encodeFunctionData(functionFragment: "DOMAIN_TYPEHASH", values?: undefined): string;
|
|
8
|
+
encodeFunctionData(functionFragment: "allowance", values: [AddressLike, AddressLike]): string;
|
|
9
|
+
encodeFunctionData(functionFragment: "approve", values: [AddressLike, BigNumberish]): string;
|
|
10
|
+
encodeFunctionData(functionFragment: "balanceOf", values: [AddressLike]): string;
|
|
11
|
+
encodeFunctionData(functionFragment: "checkpoints", values: [AddressLike, BigNumberish]): string;
|
|
12
|
+
encodeFunctionData(functionFragment: "decimals", values?: undefined): string;
|
|
13
|
+
encodeFunctionData(functionFragment: "delegate", values: [AddressLike]): string;
|
|
14
|
+
encodeFunctionData(functionFragment: "delegateBySig", values: [
|
|
15
|
+
AddressLike,
|
|
16
|
+
BigNumberish,
|
|
17
|
+
BigNumberish,
|
|
18
|
+
BigNumberish,
|
|
19
|
+
BytesLike,
|
|
20
|
+
BytesLike
|
|
21
|
+
]): string;
|
|
22
|
+
encodeFunctionData(functionFragment: "delegates", values: [AddressLike]): string;
|
|
23
|
+
encodeFunctionData(functionFragment: "getCurrentVotes", values: [AddressLike]): string;
|
|
24
|
+
encodeFunctionData(functionFragment: "getPriorVotes", values: [AddressLike, BigNumberish]): string;
|
|
25
|
+
encodeFunctionData(functionFragment: "name", values?: undefined): string;
|
|
26
|
+
encodeFunctionData(functionFragment: "nonces", values: [AddressLike]): string;
|
|
27
|
+
encodeFunctionData(functionFragment: "numCheckpoints", values: [AddressLike]): string;
|
|
28
|
+
encodeFunctionData(functionFragment: "symbol", values?: undefined): string;
|
|
29
|
+
encodeFunctionData(functionFragment: "totalSupply", values?: undefined): string;
|
|
30
|
+
encodeFunctionData(functionFragment: "transfer", values: [AddressLike, BigNumberish]): string;
|
|
31
|
+
encodeFunctionData(functionFragment: "transferFrom", values: [AddressLike, AddressLike, BigNumberish]): string;
|
|
32
|
+
decodeFunctionResult(functionFragment: "DELEGATION_TYPEHASH", data: BytesLike): Result;
|
|
33
|
+
decodeFunctionResult(functionFragment: "DOMAIN_TYPEHASH", data: BytesLike): Result;
|
|
34
|
+
decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result;
|
|
35
|
+
decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result;
|
|
36
|
+
decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
|
|
37
|
+
decodeFunctionResult(functionFragment: "checkpoints", data: BytesLike): Result;
|
|
38
|
+
decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result;
|
|
39
|
+
decodeFunctionResult(functionFragment: "delegate", data: BytesLike): Result;
|
|
40
|
+
decodeFunctionResult(functionFragment: "delegateBySig", data: BytesLike): Result;
|
|
41
|
+
decodeFunctionResult(functionFragment: "delegates", data: BytesLike): Result;
|
|
42
|
+
decodeFunctionResult(functionFragment: "getCurrentVotes", data: BytesLike): Result;
|
|
43
|
+
decodeFunctionResult(functionFragment: "getPriorVotes", data: BytesLike): Result;
|
|
44
|
+
decodeFunctionResult(functionFragment: "name", data: BytesLike): Result;
|
|
45
|
+
decodeFunctionResult(functionFragment: "nonces", data: BytesLike): Result;
|
|
46
|
+
decodeFunctionResult(functionFragment: "numCheckpoints", data: BytesLike): Result;
|
|
47
|
+
decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result;
|
|
48
|
+
decodeFunctionResult(functionFragment: "totalSupply", data: BytesLike): Result;
|
|
49
|
+
decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result;
|
|
50
|
+
decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result;
|
|
51
|
+
}
|
|
52
|
+
export declare namespace ApprovalEvent {
|
|
53
|
+
type InputTuple = [
|
|
54
|
+
owner: AddressLike,
|
|
55
|
+
spender: AddressLike,
|
|
56
|
+
amount: BigNumberish
|
|
57
|
+
];
|
|
58
|
+
type OutputTuple = [owner: string, spender: string, amount: bigint];
|
|
59
|
+
interface OutputObject {
|
|
60
|
+
owner: string;
|
|
61
|
+
spender: string;
|
|
62
|
+
amount: bigint;
|
|
63
|
+
}
|
|
64
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
65
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
66
|
+
type Log = TypedEventLog<Event>;
|
|
67
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
68
|
+
}
|
|
69
|
+
export declare namespace DelegateChangedEvent {
|
|
70
|
+
type InputTuple = [
|
|
71
|
+
delegator: AddressLike,
|
|
72
|
+
fromDelegate: AddressLike,
|
|
73
|
+
toDelegate: AddressLike
|
|
74
|
+
];
|
|
75
|
+
type OutputTuple = [
|
|
76
|
+
delegator: string,
|
|
77
|
+
fromDelegate: string,
|
|
78
|
+
toDelegate: string
|
|
79
|
+
];
|
|
80
|
+
interface OutputObject {
|
|
81
|
+
delegator: string;
|
|
82
|
+
fromDelegate: string;
|
|
83
|
+
toDelegate: string;
|
|
84
|
+
}
|
|
85
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
86
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
87
|
+
type Log = TypedEventLog<Event>;
|
|
88
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
89
|
+
}
|
|
90
|
+
export declare namespace DelegateVotesChangedEvent {
|
|
91
|
+
type InputTuple = [
|
|
92
|
+
delegate: AddressLike,
|
|
93
|
+
previousBalance: BigNumberish,
|
|
94
|
+
newBalance: BigNumberish
|
|
95
|
+
];
|
|
96
|
+
type OutputTuple = [
|
|
97
|
+
delegate: string,
|
|
98
|
+
previousBalance: bigint,
|
|
99
|
+
newBalance: bigint
|
|
100
|
+
];
|
|
101
|
+
interface OutputObject {
|
|
102
|
+
delegate: string;
|
|
103
|
+
previousBalance: bigint;
|
|
104
|
+
newBalance: bigint;
|
|
105
|
+
}
|
|
106
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
107
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
108
|
+
type Log = TypedEventLog<Event>;
|
|
109
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
110
|
+
}
|
|
111
|
+
export declare namespace TransferEvent {
|
|
112
|
+
type InputTuple = [
|
|
113
|
+
from: AddressLike,
|
|
114
|
+
to: AddressLike,
|
|
115
|
+
amount: BigNumberish
|
|
116
|
+
];
|
|
117
|
+
type OutputTuple = [from: string, to: string, amount: bigint];
|
|
118
|
+
interface OutputObject {
|
|
119
|
+
from: string;
|
|
120
|
+
to: string;
|
|
121
|
+
amount: bigint;
|
|
122
|
+
}
|
|
123
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
124
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
125
|
+
type Log = TypedEventLog<Event>;
|
|
126
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
127
|
+
}
|
|
128
|
+
export interface Comp extends BaseContract {
|
|
129
|
+
connect(runner?: ContractRunner | null): Comp;
|
|
130
|
+
waitForDeployment(): Promise<this>;
|
|
131
|
+
interface: CompInterface;
|
|
132
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
133
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
134
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
135
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
136
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
137
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
138
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
139
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
140
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
141
|
+
DELEGATION_TYPEHASH: TypedContractMethod<[], [string], "view">;
|
|
142
|
+
DOMAIN_TYPEHASH: TypedContractMethod<[], [string], "view">;
|
|
143
|
+
allowance: TypedContractMethod<[
|
|
144
|
+
account: AddressLike,
|
|
145
|
+
spender: AddressLike
|
|
146
|
+
], [
|
|
147
|
+
bigint
|
|
148
|
+
], "view">;
|
|
149
|
+
approve: TypedContractMethod<[
|
|
150
|
+
spender: AddressLike,
|
|
151
|
+
rawAmount: BigNumberish
|
|
152
|
+
], [
|
|
153
|
+
boolean
|
|
154
|
+
], "nonpayable">;
|
|
155
|
+
balanceOf: TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
156
|
+
checkpoints: TypedContractMethod<[
|
|
157
|
+
arg0: AddressLike,
|
|
158
|
+
arg1: BigNumberish
|
|
159
|
+
], [
|
|
160
|
+
[bigint, bigint] & {
|
|
161
|
+
fromBlock: bigint;
|
|
162
|
+
votes: bigint;
|
|
163
|
+
}
|
|
164
|
+
], "view">;
|
|
165
|
+
decimals: TypedContractMethod<[], [bigint], "view">;
|
|
166
|
+
delegate: TypedContractMethod<[delegatee: AddressLike], [void], "nonpayable">;
|
|
167
|
+
delegateBySig: TypedContractMethod<[
|
|
168
|
+
delegatee: AddressLike,
|
|
169
|
+
nonce: BigNumberish,
|
|
170
|
+
expiry: BigNumberish,
|
|
171
|
+
v: BigNumberish,
|
|
172
|
+
r: BytesLike,
|
|
173
|
+
s: BytesLike
|
|
174
|
+
], [
|
|
175
|
+
void
|
|
176
|
+
], "nonpayable">;
|
|
177
|
+
delegates: TypedContractMethod<[arg0: AddressLike], [string], "view">;
|
|
178
|
+
getCurrentVotes: TypedContractMethod<[
|
|
179
|
+
account: AddressLike
|
|
180
|
+
], [
|
|
181
|
+
bigint
|
|
182
|
+
], "view">;
|
|
183
|
+
getPriorVotes: TypedContractMethod<[
|
|
184
|
+
account: AddressLike,
|
|
185
|
+
blockNumber: BigNumberish
|
|
186
|
+
], [
|
|
187
|
+
bigint
|
|
188
|
+
], "view">;
|
|
189
|
+
name: TypedContractMethod<[], [string], "view">;
|
|
190
|
+
nonces: TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
|
|
191
|
+
numCheckpoints: TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
|
|
192
|
+
symbol: TypedContractMethod<[], [string], "view">;
|
|
193
|
+
totalSupply: TypedContractMethod<[], [bigint], "view">;
|
|
194
|
+
transfer: TypedContractMethod<[
|
|
195
|
+
dst: AddressLike,
|
|
196
|
+
rawAmount: BigNumberish
|
|
197
|
+
], [
|
|
198
|
+
boolean
|
|
199
|
+
], "nonpayable">;
|
|
200
|
+
transferFrom: TypedContractMethod<[
|
|
201
|
+
src: AddressLike,
|
|
202
|
+
dst: AddressLike,
|
|
203
|
+
rawAmount: BigNumberish
|
|
204
|
+
], [
|
|
205
|
+
boolean
|
|
206
|
+
], "nonpayable">;
|
|
207
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
208
|
+
getFunction(nameOrSignature: "DELEGATION_TYPEHASH"): TypedContractMethod<[], [string], "view">;
|
|
209
|
+
getFunction(nameOrSignature: "DOMAIN_TYPEHASH"): TypedContractMethod<[], [string], "view">;
|
|
210
|
+
getFunction(nameOrSignature: "allowance"): TypedContractMethod<[
|
|
211
|
+
account: AddressLike,
|
|
212
|
+
spender: AddressLike
|
|
213
|
+
], [
|
|
214
|
+
bigint
|
|
215
|
+
], "view">;
|
|
216
|
+
getFunction(nameOrSignature: "approve"): TypedContractMethod<[
|
|
217
|
+
spender: AddressLike,
|
|
218
|
+
rawAmount: BigNumberish
|
|
219
|
+
], [
|
|
220
|
+
boolean
|
|
221
|
+
], "nonpayable">;
|
|
222
|
+
getFunction(nameOrSignature: "balanceOf"): TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
223
|
+
getFunction(nameOrSignature: "checkpoints"): TypedContractMethod<[
|
|
224
|
+
arg0: AddressLike,
|
|
225
|
+
arg1: BigNumberish
|
|
226
|
+
], [
|
|
227
|
+
[bigint, bigint] & {
|
|
228
|
+
fromBlock: bigint;
|
|
229
|
+
votes: bigint;
|
|
230
|
+
}
|
|
231
|
+
], "view">;
|
|
232
|
+
getFunction(nameOrSignature: "decimals"): TypedContractMethod<[], [bigint], "view">;
|
|
233
|
+
getFunction(nameOrSignature: "delegate"): TypedContractMethod<[delegatee: AddressLike], [void], "nonpayable">;
|
|
234
|
+
getFunction(nameOrSignature: "delegateBySig"): TypedContractMethod<[
|
|
235
|
+
delegatee: AddressLike,
|
|
236
|
+
nonce: BigNumberish,
|
|
237
|
+
expiry: BigNumberish,
|
|
238
|
+
v: BigNumberish,
|
|
239
|
+
r: BytesLike,
|
|
240
|
+
s: BytesLike
|
|
241
|
+
], [
|
|
242
|
+
void
|
|
243
|
+
], "nonpayable">;
|
|
244
|
+
getFunction(nameOrSignature: "delegates"): TypedContractMethod<[arg0: AddressLike], [string], "view">;
|
|
245
|
+
getFunction(nameOrSignature: "getCurrentVotes"): TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
246
|
+
getFunction(nameOrSignature: "getPriorVotes"): TypedContractMethod<[
|
|
247
|
+
account: AddressLike,
|
|
248
|
+
blockNumber: BigNumberish
|
|
249
|
+
], [
|
|
250
|
+
bigint
|
|
251
|
+
], "view">;
|
|
252
|
+
getFunction(nameOrSignature: "name"): TypedContractMethod<[], [string], "view">;
|
|
253
|
+
getFunction(nameOrSignature: "nonces"): TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
|
|
254
|
+
getFunction(nameOrSignature: "numCheckpoints"): TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
|
|
255
|
+
getFunction(nameOrSignature: "symbol"): TypedContractMethod<[], [string], "view">;
|
|
256
|
+
getFunction(nameOrSignature: "totalSupply"): TypedContractMethod<[], [bigint], "view">;
|
|
257
|
+
getFunction(nameOrSignature: "transfer"): TypedContractMethod<[
|
|
258
|
+
dst: AddressLike,
|
|
259
|
+
rawAmount: BigNumberish
|
|
260
|
+
], [
|
|
261
|
+
boolean
|
|
262
|
+
], "nonpayable">;
|
|
263
|
+
getFunction(nameOrSignature: "transferFrom"): TypedContractMethod<[
|
|
264
|
+
src: AddressLike,
|
|
265
|
+
dst: AddressLike,
|
|
266
|
+
rawAmount: BigNumberish
|
|
267
|
+
], [
|
|
268
|
+
boolean
|
|
269
|
+
], "nonpayable">;
|
|
270
|
+
getEvent(key: "Approval"): TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
271
|
+
getEvent(key: "DelegateChanged"): TypedContractEvent<DelegateChangedEvent.InputTuple, DelegateChangedEvent.OutputTuple, DelegateChangedEvent.OutputObject>;
|
|
272
|
+
getEvent(key: "DelegateVotesChanged"): TypedContractEvent<DelegateVotesChangedEvent.InputTuple, DelegateVotesChangedEvent.OutputTuple, DelegateVotesChangedEvent.OutputObject>;
|
|
273
|
+
getEvent(key: "Transfer"): TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
|
|
274
|
+
filters: {
|
|
275
|
+
"Approval(address,address,uint256)": TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
276
|
+
Approval: TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
277
|
+
"DelegateChanged(address,address,address)": TypedContractEvent<DelegateChangedEvent.InputTuple, DelegateChangedEvent.OutputTuple, DelegateChangedEvent.OutputObject>;
|
|
278
|
+
DelegateChanged: TypedContractEvent<DelegateChangedEvent.InputTuple, DelegateChangedEvent.OutputTuple, DelegateChangedEvent.OutputObject>;
|
|
279
|
+
"DelegateVotesChanged(address,uint256,uint256)": TypedContractEvent<DelegateVotesChangedEvent.InputTuple, DelegateVotesChangedEvent.OutputTuple, DelegateVotesChangedEvent.OutputObject>;
|
|
280
|
+
DelegateVotesChanged: TypedContractEvent<DelegateVotesChangedEvent.InputTuple, DelegateVotesChangedEvent.OutputTuple, DelegateVotesChangedEvent.OutputObject>;
|
|
281
|
+
"Transfer(address,address,uint256)": TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
|
|
282
|
+
Transfer: TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
|
|
283
|
+
};
|
|
284
|
+
}
|
|
285
|
+
//# sourceMappingURL=Comp.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Comp.d.ts","sourceRoot":"","sources":["../../../../../../../typechain-types/contracts/vendor/@compound-finance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CACtC,yBAAyB,CAAC,UAAU,EACpC,yBAAyB,CAAC,WAAW,EACrC,yBAAyB,CAAC,YAAY,CACvC,CAAC;QAEF,mCAAmC,EAAE,kBAAkB,CACrD,aAAa,CAAC,UAAU,EACxB,aAAa,CAAC,WAAW,EACzB,aAAa,CAAC,YAAY,CAC3B,CAAC;QACF,QAAQ,EAAE,kBAAkB,CAC1B,aAAa,CAAC,UAAU,EACxB,aAAa,CAAC,WAAW,EACzB,aAAa,CAAC,YAAY,CAC3B,CAAC;KACH,CAAC;CACH"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Comp.js","sourceRoot":"","sources":["../../../../../../../typechain-types/contracts/vendor/@compound-finance/compound-governance/contracts/Comp.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../typechain-types/contracts/vendor/@compound-finance/compound-governance/contracts/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,UAAU,MAAM,cAAc,CAAC;AAChD,YAAY,EAAE,UAAU,EAAE,CAAC;AAC3B,YAAY,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../typechain-types/contracts/vendor/@compound-finance/compound-governance/contracts/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,285 @@
|
|
|
1
|
+
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
+
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../../../../../common";
|
|
3
|
+
export interface ICompInterface extends Interface {
|
|
4
|
+
getFunction(nameOrSignature: "DELEGATION_TYPEHASH" | "DOMAIN_TYPEHASH" | "allowance" | "approve" | "balanceOf" | "checkpoints" | "decimals" | "delegate" | "delegateBySig" | "delegates" | "getCurrentVotes" | "getPriorVotes" | "name" | "nonces" | "numCheckpoints" | "symbol" | "totalSupply" | "transfer" | "transferFrom"): FunctionFragment;
|
|
5
|
+
getEvent(nameOrSignatureOrTopic: "Approval" | "DelegateChanged" | "DelegateVotesChanged" | "Transfer"): EventFragment;
|
|
6
|
+
encodeFunctionData(functionFragment: "DELEGATION_TYPEHASH", values?: undefined): string;
|
|
7
|
+
encodeFunctionData(functionFragment: "DOMAIN_TYPEHASH", values?: undefined): string;
|
|
8
|
+
encodeFunctionData(functionFragment: "allowance", values: [AddressLike, AddressLike]): string;
|
|
9
|
+
encodeFunctionData(functionFragment: "approve", values: [AddressLike, BigNumberish]): string;
|
|
10
|
+
encodeFunctionData(functionFragment: "balanceOf", values: [AddressLike]): string;
|
|
11
|
+
encodeFunctionData(functionFragment: "checkpoints", values: [AddressLike, BigNumberish]): string;
|
|
12
|
+
encodeFunctionData(functionFragment: "decimals", values?: undefined): string;
|
|
13
|
+
encodeFunctionData(functionFragment: "delegate", values: [AddressLike]): string;
|
|
14
|
+
encodeFunctionData(functionFragment: "delegateBySig", values: [
|
|
15
|
+
AddressLike,
|
|
16
|
+
BigNumberish,
|
|
17
|
+
BigNumberish,
|
|
18
|
+
BigNumberish,
|
|
19
|
+
BytesLike,
|
|
20
|
+
BytesLike
|
|
21
|
+
]): string;
|
|
22
|
+
encodeFunctionData(functionFragment: "delegates", values: [AddressLike]): string;
|
|
23
|
+
encodeFunctionData(functionFragment: "getCurrentVotes", values: [AddressLike]): string;
|
|
24
|
+
encodeFunctionData(functionFragment: "getPriorVotes", values: [AddressLike, BigNumberish]): string;
|
|
25
|
+
encodeFunctionData(functionFragment: "name", values?: undefined): string;
|
|
26
|
+
encodeFunctionData(functionFragment: "nonces", values: [AddressLike]): string;
|
|
27
|
+
encodeFunctionData(functionFragment: "numCheckpoints", values: [AddressLike]): string;
|
|
28
|
+
encodeFunctionData(functionFragment: "symbol", values?: undefined): string;
|
|
29
|
+
encodeFunctionData(functionFragment: "totalSupply", values?: undefined): string;
|
|
30
|
+
encodeFunctionData(functionFragment: "transfer", values: [AddressLike, BigNumberish]): string;
|
|
31
|
+
encodeFunctionData(functionFragment: "transferFrom", values: [AddressLike, AddressLike, BigNumberish]): string;
|
|
32
|
+
decodeFunctionResult(functionFragment: "DELEGATION_TYPEHASH", data: BytesLike): Result;
|
|
33
|
+
decodeFunctionResult(functionFragment: "DOMAIN_TYPEHASH", data: BytesLike): Result;
|
|
34
|
+
decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result;
|
|
35
|
+
decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result;
|
|
36
|
+
decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
|
|
37
|
+
decodeFunctionResult(functionFragment: "checkpoints", data: BytesLike): Result;
|
|
38
|
+
decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result;
|
|
39
|
+
decodeFunctionResult(functionFragment: "delegate", data: BytesLike): Result;
|
|
40
|
+
decodeFunctionResult(functionFragment: "delegateBySig", data: BytesLike): Result;
|
|
41
|
+
decodeFunctionResult(functionFragment: "delegates", data: BytesLike): Result;
|
|
42
|
+
decodeFunctionResult(functionFragment: "getCurrentVotes", data: BytesLike): Result;
|
|
43
|
+
decodeFunctionResult(functionFragment: "getPriorVotes", data: BytesLike): Result;
|
|
44
|
+
decodeFunctionResult(functionFragment: "name", data: BytesLike): Result;
|
|
45
|
+
decodeFunctionResult(functionFragment: "nonces", data: BytesLike): Result;
|
|
46
|
+
decodeFunctionResult(functionFragment: "numCheckpoints", data: BytesLike): Result;
|
|
47
|
+
decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result;
|
|
48
|
+
decodeFunctionResult(functionFragment: "totalSupply", data: BytesLike): Result;
|
|
49
|
+
decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result;
|
|
50
|
+
decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result;
|
|
51
|
+
}
|
|
52
|
+
export declare namespace ApprovalEvent {
|
|
53
|
+
type InputTuple = [
|
|
54
|
+
owner: AddressLike,
|
|
55
|
+
spender: AddressLike,
|
|
56
|
+
amount: BigNumberish
|
|
57
|
+
];
|
|
58
|
+
type OutputTuple = [owner: string, spender: string, amount: bigint];
|
|
59
|
+
interface OutputObject {
|
|
60
|
+
owner: string;
|
|
61
|
+
spender: string;
|
|
62
|
+
amount: bigint;
|
|
63
|
+
}
|
|
64
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
65
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
66
|
+
type Log = TypedEventLog<Event>;
|
|
67
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
68
|
+
}
|
|
69
|
+
export declare namespace DelegateChangedEvent {
|
|
70
|
+
type InputTuple = [
|
|
71
|
+
delegator: AddressLike,
|
|
72
|
+
fromDelegate: AddressLike,
|
|
73
|
+
toDelegate: AddressLike
|
|
74
|
+
];
|
|
75
|
+
type OutputTuple = [
|
|
76
|
+
delegator: string,
|
|
77
|
+
fromDelegate: string,
|
|
78
|
+
toDelegate: string
|
|
79
|
+
];
|
|
80
|
+
interface OutputObject {
|
|
81
|
+
delegator: string;
|
|
82
|
+
fromDelegate: string;
|
|
83
|
+
toDelegate: string;
|
|
84
|
+
}
|
|
85
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
86
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
87
|
+
type Log = TypedEventLog<Event>;
|
|
88
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
89
|
+
}
|
|
90
|
+
export declare namespace DelegateVotesChangedEvent {
|
|
91
|
+
type InputTuple = [
|
|
92
|
+
delegate: AddressLike,
|
|
93
|
+
previousBalance: BigNumberish,
|
|
94
|
+
newBalance: BigNumberish
|
|
95
|
+
];
|
|
96
|
+
type OutputTuple = [
|
|
97
|
+
delegate: string,
|
|
98
|
+
previousBalance: bigint,
|
|
99
|
+
newBalance: bigint
|
|
100
|
+
];
|
|
101
|
+
interface OutputObject {
|
|
102
|
+
delegate: string;
|
|
103
|
+
previousBalance: bigint;
|
|
104
|
+
newBalance: bigint;
|
|
105
|
+
}
|
|
106
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
107
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
108
|
+
type Log = TypedEventLog<Event>;
|
|
109
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
110
|
+
}
|
|
111
|
+
export declare namespace TransferEvent {
|
|
112
|
+
type InputTuple = [
|
|
113
|
+
from: AddressLike,
|
|
114
|
+
to: AddressLike,
|
|
115
|
+
amount: BigNumberish
|
|
116
|
+
];
|
|
117
|
+
type OutputTuple = [from: string, to: string, amount: bigint];
|
|
118
|
+
interface OutputObject {
|
|
119
|
+
from: string;
|
|
120
|
+
to: string;
|
|
121
|
+
amount: bigint;
|
|
122
|
+
}
|
|
123
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
124
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
125
|
+
type Log = TypedEventLog<Event>;
|
|
126
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
127
|
+
}
|
|
128
|
+
export interface IComp extends BaseContract {
|
|
129
|
+
connect(runner?: ContractRunner | null): IComp;
|
|
130
|
+
waitForDeployment(): Promise<this>;
|
|
131
|
+
interface: ICompInterface;
|
|
132
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
133
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
134
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
135
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
136
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
137
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
138
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
139
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
140
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
141
|
+
DELEGATION_TYPEHASH: TypedContractMethod<[], [string], "view">;
|
|
142
|
+
DOMAIN_TYPEHASH: TypedContractMethod<[], [string], "view">;
|
|
143
|
+
allowance: TypedContractMethod<[
|
|
144
|
+
account: AddressLike,
|
|
145
|
+
spender: AddressLike
|
|
146
|
+
], [
|
|
147
|
+
bigint
|
|
148
|
+
], "view">;
|
|
149
|
+
approve: TypedContractMethod<[
|
|
150
|
+
spender: AddressLike,
|
|
151
|
+
rawAmount: BigNumberish
|
|
152
|
+
], [
|
|
153
|
+
boolean
|
|
154
|
+
], "nonpayable">;
|
|
155
|
+
balanceOf: TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
156
|
+
checkpoints: TypedContractMethod<[
|
|
157
|
+
arg0: AddressLike,
|
|
158
|
+
arg1: BigNumberish
|
|
159
|
+
], [
|
|
160
|
+
[bigint, bigint] & {
|
|
161
|
+
fromBlock: bigint;
|
|
162
|
+
votes: bigint;
|
|
163
|
+
}
|
|
164
|
+
], "view">;
|
|
165
|
+
decimals: TypedContractMethod<[], [bigint], "view">;
|
|
166
|
+
delegate: TypedContractMethod<[delegatee: AddressLike], [void], "nonpayable">;
|
|
167
|
+
delegateBySig: TypedContractMethod<[
|
|
168
|
+
delegatee: AddressLike,
|
|
169
|
+
nonce: BigNumberish,
|
|
170
|
+
expiry: BigNumberish,
|
|
171
|
+
v: BigNumberish,
|
|
172
|
+
r: BytesLike,
|
|
173
|
+
s: BytesLike
|
|
174
|
+
], [
|
|
175
|
+
void
|
|
176
|
+
], "nonpayable">;
|
|
177
|
+
delegates: TypedContractMethod<[arg0: AddressLike], [string], "view">;
|
|
178
|
+
getCurrentVotes: TypedContractMethod<[
|
|
179
|
+
account: AddressLike
|
|
180
|
+
], [
|
|
181
|
+
bigint
|
|
182
|
+
], "view">;
|
|
183
|
+
getPriorVotes: TypedContractMethod<[
|
|
184
|
+
account: AddressLike,
|
|
185
|
+
blockNumber: BigNumberish
|
|
186
|
+
], [
|
|
187
|
+
bigint
|
|
188
|
+
], "view">;
|
|
189
|
+
name: TypedContractMethod<[], [string], "view">;
|
|
190
|
+
nonces: TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
|
|
191
|
+
numCheckpoints: TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
|
|
192
|
+
symbol: TypedContractMethod<[], [string], "view">;
|
|
193
|
+
totalSupply: TypedContractMethod<[], [bigint], "view">;
|
|
194
|
+
transfer: TypedContractMethod<[
|
|
195
|
+
dst: AddressLike,
|
|
196
|
+
rawAmount: BigNumberish
|
|
197
|
+
], [
|
|
198
|
+
boolean
|
|
199
|
+
], "nonpayable">;
|
|
200
|
+
transferFrom: TypedContractMethod<[
|
|
201
|
+
src: AddressLike,
|
|
202
|
+
dst: AddressLike,
|
|
203
|
+
rawAmount: BigNumberish
|
|
204
|
+
], [
|
|
205
|
+
boolean
|
|
206
|
+
], "nonpayable">;
|
|
207
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
208
|
+
getFunction(nameOrSignature: "DELEGATION_TYPEHASH"): TypedContractMethod<[], [string], "view">;
|
|
209
|
+
getFunction(nameOrSignature: "DOMAIN_TYPEHASH"): TypedContractMethod<[], [string], "view">;
|
|
210
|
+
getFunction(nameOrSignature: "allowance"): TypedContractMethod<[
|
|
211
|
+
account: AddressLike,
|
|
212
|
+
spender: AddressLike
|
|
213
|
+
], [
|
|
214
|
+
bigint
|
|
215
|
+
], "view">;
|
|
216
|
+
getFunction(nameOrSignature: "approve"): TypedContractMethod<[
|
|
217
|
+
spender: AddressLike,
|
|
218
|
+
rawAmount: BigNumberish
|
|
219
|
+
], [
|
|
220
|
+
boolean
|
|
221
|
+
], "nonpayable">;
|
|
222
|
+
getFunction(nameOrSignature: "balanceOf"): TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
223
|
+
getFunction(nameOrSignature: "checkpoints"): TypedContractMethod<[
|
|
224
|
+
arg0: AddressLike,
|
|
225
|
+
arg1: BigNumberish
|
|
226
|
+
], [
|
|
227
|
+
[bigint, bigint] & {
|
|
228
|
+
fromBlock: bigint;
|
|
229
|
+
votes: bigint;
|
|
230
|
+
}
|
|
231
|
+
], "view">;
|
|
232
|
+
getFunction(nameOrSignature: "decimals"): TypedContractMethod<[], [bigint], "view">;
|
|
233
|
+
getFunction(nameOrSignature: "delegate"): TypedContractMethod<[delegatee: AddressLike], [void], "nonpayable">;
|
|
234
|
+
getFunction(nameOrSignature: "delegateBySig"): TypedContractMethod<[
|
|
235
|
+
delegatee: AddressLike,
|
|
236
|
+
nonce: BigNumberish,
|
|
237
|
+
expiry: BigNumberish,
|
|
238
|
+
v: BigNumberish,
|
|
239
|
+
r: BytesLike,
|
|
240
|
+
s: BytesLike
|
|
241
|
+
], [
|
|
242
|
+
void
|
|
243
|
+
], "nonpayable">;
|
|
244
|
+
getFunction(nameOrSignature: "delegates"): TypedContractMethod<[arg0: AddressLike], [string], "view">;
|
|
245
|
+
getFunction(nameOrSignature: "getCurrentVotes"): TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
246
|
+
getFunction(nameOrSignature: "getPriorVotes"): TypedContractMethod<[
|
|
247
|
+
account: AddressLike,
|
|
248
|
+
blockNumber: BigNumberish
|
|
249
|
+
], [
|
|
250
|
+
bigint
|
|
251
|
+
], "view">;
|
|
252
|
+
getFunction(nameOrSignature: "name"): TypedContractMethod<[], [string], "view">;
|
|
253
|
+
getFunction(nameOrSignature: "nonces"): TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
|
|
254
|
+
getFunction(nameOrSignature: "numCheckpoints"): TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
|
|
255
|
+
getFunction(nameOrSignature: "symbol"): TypedContractMethod<[], [string], "view">;
|
|
256
|
+
getFunction(nameOrSignature: "totalSupply"): TypedContractMethod<[], [bigint], "view">;
|
|
257
|
+
getFunction(nameOrSignature: "transfer"): TypedContractMethod<[
|
|
258
|
+
dst: AddressLike,
|
|
259
|
+
rawAmount: BigNumberish
|
|
260
|
+
], [
|
|
261
|
+
boolean
|
|
262
|
+
], "nonpayable">;
|
|
263
|
+
getFunction(nameOrSignature: "transferFrom"): TypedContractMethod<[
|
|
264
|
+
src: AddressLike,
|
|
265
|
+
dst: AddressLike,
|
|
266
|
+
rawAmount: BigNumberish
|
|
267
|
+
], [
|
|
268
|
+
boolean
|
|
269
|
+
], "nonpayable">;
|
|
270
|
+
getEvent(key: "Approval"): TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
271
|
+
getEvent(key: "DelegateChanged"): TypedContractEvent<DelegateChangedEvent.InputTuple, DelegateChangedEvent.OutputTuple, DelegateChangedEvent.OutputObject>;
|
|
272
|
+
getEvent(key: "DelegateVotesChanged"): TypedContractEvent<DelegateVotesChangedEvent.InputTuple, DelegateVotesChangedEvent.OutputTuple, DelegateVotesChangedEvent.OutputObject>;
|
|
273
|
+
getEvent(key: "Transfer"): TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
|
|
274
|
+
filters: {
|
|
275
|
+
"Approval(address,address,uint256)": TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
276
|
+
Approval: TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
277
|
+
"DelegateChanged(address,address,address)": TypedContractEvent<DelegateChangedEvent.InputTuple, DelegateChangedEvent.OutputTuple, DelegateChangedEvent.OutputObject>;
|
|
278
|
+
DelegateChanged: TypedContractEvent<DelegateChangedEvent.InputTuple, DelegateChangedEvent.OutputTuple, DelegateChangedEvent.OutputObject>;
|
|
279
|
+
"DelegateVotesChanged(address,uint256,uint256)": TypedContractEvent<DelegateVotesChangedEvent.InputTuple, DelegateVotesChangedEvent.OutputTuple, DelegateVotesChangedEvent.OutputObject>;
|
|
280
|
+
DelegateVotesChanged: TypedContractEvent<DelegateVotesChangedEvent.InputTuple, DelegateVotesChangedEvent.OutputTuple, DelegateVotesChangedEvent.OutputObject>;
|
|
281
|
+
"Transfer(address,address,uint256)": TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
|
|
282
|
+
Transfer: TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
|
|
283
|
+
};
|
|
284
|
+
}
|
|
285
|
+
//# sourceMappingURL=IComp.d.ts.map
|