morpho-contracts-helper 0.0.2 → 0.0.3

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.
Files changed (24) hide show
  1. package/contracts/external/Multicall3.sol +216 -0
  2. package/dist/hardhat.config.cjs +9 -0
  3. package/dist/hardhat.config.cjs.map +1 -1
  4. package/dist/hardhat.config.d.cts.map +1 -1
  5. package/dist/typechain-types/contracts/external/Multicall3.d.ts +229 -0
  6. package/dist/typechain-types/contracts/external/Multicall3.d.ts.map +1 -0
  7. package/dist/typechain-types/contracts/external/Multicall3.js +3 -0
  8. package/dist/typechain-types/contracts/external/Multicall3.js.map +1 -0
  9. package/dist/typechain-types/contracts/external/index.d.ts +1 -0
  10. package/dist/typechain-types/contracts/external/index.d.ts.map +1 -1
  11. package/dist/typechain-types/factories/contracts/external/Multicall3__factory.d.ts +354 -0
  12. package/dist/typechain-types/factories/contracts/external/Multicall3__factory.d.ts.map +1 -0
  13. package/dist/typechain-types/factories/contracts/external/Multicall3__factory.js +479 -0
  14. package/dist/typechain-types/factories/contracts/external/Multicall3__factory.js.map +1 -0
  15. package/dist/typechain-types/factories/contracts/external/index.d.ts +1 -0
  16. package/dist/typechain-types/factories/contracts/external/index.d.ts.map +1 -1
  17. package/dist/typechain-types/factories/contracts/external/index.js +3 -1
  18. package/dist/typechain-types/factories/contracts/external/index.js.map +1 -1
  19. package/dist/typechain-types/index.d.ts +2 -0
  20. package/dist/typechain-types/index.d.ts.map +1 -1
  21. package/dist/typechain-types/index.js +3 -1
  22. package/dist/typechain-types/index.js.map +1 -1
  23. package/hardhat.config.cts +9 -0
  24. package/package.json +1 -1
@@ -0,0 +1,216 @@
1
+ // SPDX-License-Identifier: MIT
2
+ pragma solidity 0.8.12;
3
+
4
+ /// @title Multicall3
5
+ /// @notice Aggregate results from multiple function calls
6
+ /// @dev Multicall & Multicall2 backwards-compatible
7
+ /// @dev Aggregate methods are marked `payable` to save 24 gas per call
8
+ /// @author Michael Elliot <mike@makerdao.com>
9
+ /// @author Joshua Levine <joshua@makerdao.com>
10
+ /// @author Nick Johnson <arachnid@notdot.net>
11
+ /// @author Andreas Bigger <andreas@nascent.xyz>
12
+ /// @author Matt Solomon <matt@mattsolomon.dev>
13
+ contract Multicall3 {
14
+ struct Call {
15
+ address target;
16
+ bytes callData;
17
+ }
18
+
19
+ struct Call3 {
20
+ address target;
21
+ bool allowFailure;
22
+ bytes callData;
23
+ }
24
+
25
+ struct Call3Value {
26
+ address target;
27
+ bool allowFailure;
28
+ uint256 value;
29
+ bytes callData;
30
+ }
31
+
32
+ struct Result {
33
+ bool success;
34
+ bytes returnData;
35
+ }
36
+
37
+ /// @notice Backwards-compatible call aggregation with Multicall
38
+ /// @param calls An array of Call structs
39
+ /// @return blockNumber The block number where the calls were executed
40
+ /// @return returnData An array of bytes containing the responses
41
+ function aggregate(Call[] calldata calls) public payable returns (uint256 blockNumber, bytes[] memory returnData) {
42
+ blockNumber = block.number;
43
+ uint256 length = calls.length;
44
+ returnData = new bytes[](length);
45
+ Call calldata call;
46
+ for (uint256 i = 0; i < length;) {
47
+ bool success;
48
+ call = calls[i];
49
+ (success, returnData[i]) = call.target.call(call.callData);
50
+ require(success, "Multicall3: call failed");
51
+ unchecked { ++i; }
52
+ }
53
+ }
54
+
55
+ /// @notice Backwards-compatible with Multicall2
56
+ /// @notice Aggregate calls without requiring success
57
+ /// @param requireSuccess If true, require all calls to succeed
58
+ /// @param calls An array of Call structs
59
+ /// @return returnData An array of Result structs
60
+ function tryAggregate(bool requireSuccess, Call[] calldata calls) public payable returns (Result[] memory returnData) {
61
+ uint256 length = calls.length;
62
+ returnData = new Result[](length);
63
+ Call calldata call;
64
+ for (uint256 i = 0; i < length;) {
65
+ Result memory result = returnData[i];
66
+ call = calls[i];
67
+ (result.success, result.returnData) = call.target.call(call.callData);
68
+ if (requireSuccess) require(result.success, "Multicall3: call failed");
69
+ unchecked { ++i; }
70
+ }
71
+ }
72
+
73
+ /// @notice Backwards-compatible with Multicall2
74
+ /// @notice Aggregate calls and allow failures using tryAggregate
75
+ /// @param calls An array of Call structs
76
+ /// @return blockNumber The block number where the calls were executed
77
+ /// @return blockHash The hash of the block where the calls were executed
78
+ /// @return returnData An array of Result structs
79
+ function tryBlockAndAggregate(bool requireSuccess, Call[] calldata calls) public payable returns (uint256 blockNumber, bytes32 blockHash, Result[] memory returnData) {
80
+ blockNumber = block.number;
81
+ blockHash = blockhash(block.number);
82
+ returnData = tryAggregate(requireSuccess, calls);
83
+ }
84
+
85
+ /// @notice Backwards-compatible with Multicall2
86
+ /// @notice Aggregate calls and allow failures using tryAggregate
87
+ /// @param calls An array of Call structs
88
+ /// @return blockNumber The block number where the calls were executed
89
+ /// @return blockHash The hash of the block where the calls were executed
90
+ /// @return returnData An array of Result structs
91
+ function blockAndAggregate(Call[] calldata calls) public payable returns (uint256 blockNumber, bytes32 blockHash, Result[] memory returnData) {
92
+ (blockNumber, blockHash, returnData) = tryBlockAndAggregate(true, calls);
93
+ }
94
+
95
+ /// @notice Aggregate calls, ensuring each returns success if required
96
+ /// @param calls An array of Call3 structs
97
+ /// @return returnData An array of Result structs
98
+ function aggregate3(Call3[] calldata calls) public payable returns (Result[] memory returnData) {
99
+ uint256 length = calls.length;
100
+ returnData = new Result[](length);
101
+ Call3 calldata calli;
102
+ for (uint256 i = 0; i < length;) {
103
+ Result memory result = returnData[i];
104
+ calli = calls[i];
105
+ (result.success, result.returnData) = calli.target.call(calli.callData);
106
+ assembly {
107
+ // Revert if the call fails and failure is not allowed
108
+ // `allowFailure := calldataload(add(calli, 0x20))` and `success := mload(result)`
109
+ if iszero(or(calldataload(add(calli, 0x20)), mload(result))) {
110
+ // set "Error(string)" signature: bytes32(bytes4(keccak256("Error(string)")))
111
+ mstore(0x00, 0x08c379a000000000000000000000000000000000000000000000000000000000)
112
+ // set data offset
113
+ mstore(0x04, 0x0000000000000000000000000000000000000000000000000000000000000020)
114
+ // set length of revert string
115
+ mstore(0x24, 0x0000000000000000000000000000000000000000000000000000000000000017)
116
+ // set revert string: bytes32(abi.encodePacked("Multicall3: call failed"))
117
+ mstore(0x44, 0x4d756c746963616c6c333a2063616c6c206661696c6564000000000000000000)
118
+ revert(0x00, 0x64)
119
+ }
120
+ }
121
+ unchecked { ++i; }
122
+ }
123
+ }
124
+
125
+ /// @notice Aggregate calls with a msg value
126
+ /// @notice Reverts if msg.value is less than the sum of the call values
127
+ /// @param calls An array of Call3Value structs
128
+ /// @return returnData An array of Result structs
129
+ function aggregate3Value(Call3Value[] calldata calls) public payable returns (Result[] memory returnData) {
130
+ uint256 valAccumulator;
131
+ uint256 length = calls.length;
132
+ returnData = new Result[](length);
133
+ Call3Value calldata calli;
134
+ for (uint256 i = 0; i < length;) {
135
+ Result memory result = returnData[i];
136
+ calli = calls[i];
137
+ uint256 val = calli.value;
138
+ // Humanity will be a Type V Kardashev Civilization before this overflows - andreas
139
+ // ~ 10^25 Wei in existence << ~ 10^76 size uint fits in a uint256
140
+ unchecked { valAccumulator += val; }
141
+ (result.success, result.returnData) = calli.target.call{value: val}(calli.callData);
142
+ assembly {
143
+ // Revert if the call fails and failure is not allowed
144
+ // `allowFailure := calldataload(add(calli, 0x20))` and `success := mload(result)`
145
+ if iszero(or(calldataload(add(calli, 0x20)), mload(result))) {
146
+ // set "Error(string)" signature: bytes32(bytes4(keccak256("Error(string)")))
147
+ mstore(0x00, 0x08c379a000000000000000000000000000000000000000000000000000000000)
148
+ // set data offset
149
+ mstore(0x04, 0x0000000000000000000000000000000000000000000000000000000000000020)
150
+ // set length of revert string
151
+ mstore(0x24, 0x0000000000000000000000000000000000000000000000000000000000000017)
152
+ // set revert string: bytes32(abi.encodePacked("Multicall3: call failed"))
153
+ mstore(0x44, 0x4d756c746963616c6c333a2063616c6c206661696c6564000000000000000000)
154
+ revert(0x00, 0x84)
155
+ }
156
+ }
157
+ unchecked { ++i; }
158
+ }
159
+ // Finally, make sure the msg.value = SUM(call[0...i].value)
160
+ require(msg.value == valAccumulator, "Multicall3: value mismatch");
161
+ }
162
+
163
+ /// @notice Returns the block hash for the given block number
164
+ /// @param blockNumber The block number
165
+ function getBlockHash(uint256 blockNumber) public view returns (bytes32 blockHash) {
166
+ blockHash = blockhash(blockNumber);
167
+ }
168
+
169
+ /// @notice Returns the block number
170
+ function getBlockNumber() public view returns (uint256 blockNumber) {
171
+ blockNumber = block.number;
172
+ }
173
+
174
+ /// @notice Returns the block coinbase
175
+ function getCurrentBlockCoinbase() public view returns (address coinbase) {
176
+ coinbase = block.coinbase;
177
+ }
178
+
179
+ /// @notice Returns the block difficulty
180
+ function getCurrentBlockDifficulty() public view returns (uint256 difficulty) {
181
+ difficulty = block.difficulty;
182
+ }
183
+
184
+ /// @notice Returns the block gas limit
185
+ function getCurrentBlockGasLimit() public view returns (uint256 gaslimit) {
186
+ gaslimit = block.gaslimit;
187
+ }
188
+
189
+ /// @notice Returns the block timestamp
190
+ function getCurrentBlockTimestamp() public view returns (uint256 timestamp) {
191
+ timestamp = block.timestamp;
192
+ }
193
+
194
+ /// @notice Returns the (ETH) balance of a given address
195
+ function getEthBalance(address addr) public view returns (uint256 balance) {
196
+ balance = addr.balance;
197
+ }
198
+
199
+ /// @notice Returns the block hash of the last block
200
+ function getLastBlockHash() public view returns (bytes32 blockHash) {
201
+ unchecked {
202
+ blockHash = blockhash(block.number - 1);
203
+ }
204
+ }
205
+
206
+ /// @notice Gets the base fee of the given block
207
+ /// @notice Can revert if the BASEFEE opcode is not implemented by the given chain
208
+ function getBasefee() public view returns (uint256 basefee) {
209
+ basefee = block.basefee;
210
+ }
211
+
212
+ /// @notice Returns the chain id
213
+ function getChainId() public view returns (uint256 chainid) {
214
+ chainid = block.chainid;
215
+ }
216
+ }
@@ -17,6 +17,15 @@ const config = {
17
17
  },
18
18
  solidity: {
19
19
  compilers: [
20
+ {
21
+ version: '0.8.12',
22
+ settings: {
23
+ optimizer: {
24
+ enabled: true,
25
+ runs: 200,
26
+ },
27
+ },
28
+ },
20
29
  {
21
30
  version: '0.8.27',
22
31
  settings: {
@@ -1 +1 @@
1
- {"version":3,"file":"hardhat.config.cjs","sourceRoot":"","sources":["../hardhat.config.cts"],"names":[],"mappings":";;AAAA,4CAA0C;AAG1C,MAAM,MAAM,GAAsB;IAChC,SAAS,EAAE;QACT,uBAAuB,EAAE,KAAK;QAC9B,SAAS,EAAE,IAAI;KAChB;IACD,QAAQ,EAAE;QACR,OAAO,EAAE;YACP,OAAO,EAAE,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,gBAAgB,IAAI,MAAM,CAAC,EAAE,yDAAyD;YAClH,QAAQ,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,EAAE,4DAA4D;SACtF;KACF;IACD,KAAK,EAAE;QACL,KAAK,EAAE,kBAAkB;KAC1B;IACD,QAAQ,EAAE;QACR,SAAS,EAAE;YACT;gBACE,OAAO,EAAE,QAAQ;gBACjB,QAAQ,EAAE;oBACR,SAAS,EAAE;wBACT,OAAO,EAAE,IAAI;wBACb,IAAI,EAAE,GAAG;qBACV;iBACF;aACF;SACF;KACF;CACF,CAAC;AAEF,kBAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"hardhat.config.cjs","sourceRoot":"","sources":["../hardhat.config.cts"],"names":[],"mappings":";;AAAA,4CAA0C;AAG1C,MAAM,MAAM,GAAsB;IAChC,SAAS,EAAE;QACT,uBAAuB,EAAE,KAAK;QAC9B,SAAS,EAAE,IAAI;KAChB;IACD,QAAQ,EAAE;QACR,OAAO,EAAE;YACP,OAAO,EAAE,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,gBAAgB,IAAI,MAAM,CAAC,EAAE,yDAAyD;YAClH,QAAQ,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,EAAE,4DAA4D;SACtF;KACF;IACD,KAAK,EAAE;QACL,KAAK,EAAE,kBAAkB;KAC1B;IACD,QAAQ,EAAE;QACR,SAAS,EAAE;YACT;gBACE,OAAO,EAAE,QAAQ;gBACjB,QAAQ,EAAE;oBACR,SAAS,EAAE;wBACT,OAAO,EAAE,IAAI;wBACb,IAAI,EAAE,GAAG;qBACV;iBACF;aACF;YACD;gBACE,OAAO,EAAE,QAAQ;gBACjB,QAAQ,EAAE;oBACR,SAAS,EAAE;wBACT,OAAO,EAAE,IAAI;wBACb,IAAI,EAAE,GAAG;qBACV;iBACF;aACF;SACF;KACF;CACF,CAAC;AAEF,kBAAe,MAAM,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"hardhat.config.d.cts","sourceRoot":"","sources":["../hardhat.config.cts"],"names":[],"mappings":"AAAA,OAAO,kCAAkC,CAAC;AAC1C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAExD,QAAA,MAAM,MAAM,EAAE,iBA2Bb,CAAC;AAEF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"hardhat.config.d.cts","sourceRoot":"","sources":["../hardhat.config.cts"],"names":[],"mappings":"AAAA,OAAO,kCAAkC,CAAC;AAC1C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAExD,QAAA,MAAM,MAAM,EAAE,iBAoCb,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -0,0 +1,229 @@
1
+ import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
2
+ import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod } from "../../common";
3
+ export declare namespace Multicall3 {
4
+ type CallStruct = {
5
+ target: AddressLike;
6
+ callData: BytesLike;
7
+ };
8
+ type CallStructOutput = [target: string, callData: string] & {
9
+ target: string;
10
+ callData: string;
11
+ };
12
+ type Call3Struct = {
13
+ target: AddressLike;
14
+ allowFailure: boolean;
15
+ callData: BytesLike;
16
+ };
17
+ type Call3StructOutput = [
18
+ target: string,
19
+ allowFailure: boolean,
20
+ callData: string
21
+ ] & {
22
+ target: string;
23
+ allowFailure: boolean;
24
+ callData: string;
25
+ };
26
+ type ResultStruct = {
27
+ success: boolean;
28
+ returnData: BytesLike;
29
+ };
30
+ type ResultStructOutput = [success: boolean, returnData: string] & {
31
+ success: boolean;
32
+ returnData: string;
33
+ };
34
+ type Call3ValueStruct = {
35
+ target: AddressLike;
36
+ allowFailure: boolean;
37
+ value: BigNumberish;
38
+ callData: BytesLike;
39
+ };
40
+ type Call3ValueStructOutput = [
41
+ target: string,
42
+ allowFailure: boolean,
43
+ value: bigint,
44
+ callData: string
45
+ ] & {
46
+ target: string;
47
+ allowFailure: boolean;
48
+ value: bigint;
49
+ callData: string;
50
+ };
51
+ }
52
+ export interface Multicall3Interface extends Interface {
53
+ getFunction(nameOrSignature: "aggregate" | "aggregate3" | "aggregate3Value" | "blockAndAggregate" | "getBasefee" | "getBlockHash" | "getBlockNumber" | "getChainId" | "getCurrentBlockCoinbase" | "getCurrentBlockDifficulty" | "getCurrentBlockGasLimit" | "getCurrentBlockTimestamp" | "getEthBalance" | "getLastBlockHash" | "tryAggregate" | "tryBlockAndAggregate"): FunctionFragment;
54
+ encodeFunctionData(functionFragment: "aggregate", values: [Multicall3.CallStruct[]]): string;
55
+ encodeFunctionData(functionFragment: "aggregate3", values: [Multicall3.Call3Struct[]]): string;
56
+ encodeFunctionData(functionFragment: "aggregate3Value", values: [Multicall3.Call3ValueStruct[]]): string;
57
+ encodeFunctionData(functionFragment: "blockAndAggregate", values: [Multicall3.CallStruct[]]): string;
58
+ encodeFunctionData(functionFragment: "getBasefee", values?: undefined): string;
59
+ encodeFunctionData(functionFragment: "getBlockHash", values: [BigNumberish]): string;
60
+ encodeFunctionData(functionFragment: "getBlockNumber", values?: undefined): string;
61
+ encodeFunctionData(functionFragment: "getChainId", values?: undefined): string;
62
+ encodeFunctionData(functionFragment: "getCurrentBlockCoinbase", values?: undefined): string;
63
+ encodeFunctionData(functionFragment: "getCurrentBlockDifficulty", values?: undefined): string;
64
+ encodeFunctionData(functionFragment: "getCurrentBlockGasLimit", values?: undefined): string;
65
+ encodeFunctionData(functionFragment: "getCurrentBlockTimestamp", values?: undefined): string;
66
+ encodeFunctionData(functionFragment: "getEthBalance", values: [AddressLike]): string;
67
+ encodeFunctionData(functionFragment: "getLastBlockHash", values?: undefined): string;
68
+ encodeFunctionData(functionFragment: "tryAggregate", values: [boolean, Multicall3.CallStruct[]]): string;
69
+ encodeFunctionData(functionFragment: "tryBlockAndAggregate", values: [boolean, Multicall3.CallStruct[]]): string;
70
+ decodeFunctionResult(functionFragment: "aggregate", data: BytesLike): Result;
71
+ decodeFunctionResult(functionFragment: "aggregate3", data: BytesLike): Result;
72
+ decodeFunctionResult(functionFragment: "aggregate3Value", data: BytesLike): Result;
73
+ decodeFunctionResult(functionFragment: "blockAndAggregate", data: BytesLike): Result;
74
+ decodeFunctionResult(functionFragment: "getBasefee", data: BytesLike): Result;
75
+ decodeFunctionResult(functionFragment: "getBlockHash", data: BytesLike): Result;
76
+ decodeFunctionResult(functionFragment: "getBlockNumber", data: BytesLike): Result;
77
+ decodeFunctionResult(functionFragment: "getChainId", data: BytesLike): Result;
78
+ decodeFunctionResult(functionFragment: "getCurrentBlockCoinbase", data: BytesLike): Result;
79
+ decodeFunctionResult(functionFragment: "getCurrentBlockDifficulty", data: BytesLike): Result;
80
+ decodeFunctionResult(functionFragment: "getCurrentBlockGasLimit", data: BytesLike): Result;
81
+ decodeFunctionResult(functionFragment: "getCurrentBlockTimestamp", data: BytesLike): Result;
82
+ decodeFunctionResult(functionFragment: "getEthBalance", data: BytesLike): Result;
83
+ decodeFunctionResult(functionFragment: "getLastBlockHash", data: BytesLike): Result;
84
+ decodeFunctionResult(functionFragment: "tryAggregate", data: BytesLike): Result;
85
+ decodeFunctionResult(functionFragment: "tryBlockAndAggregate", data: BytesLike): Result;
86
+ }
87
+ export interface Multicall3 extends BaseContract {
88
+ connect(runner?: ContractRunner | null): Multicall3;
89
+ waitForDeployment(): Promise<this>;
90
+ interface: Multicall3Interface;
91
+ queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
92
+ queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
93
+ on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
94
+ on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
95
+ once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
96
+ once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
97
+ listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
98
+ listeners(eventName?: string): Promise<Array<Listener>>;
99
+ removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
100
+ aggregate: TypedContractMethod<[
101
+ calls: Multicall3.CallStruct[]
102
+ ], [
103
+ [bigint, string[]] & {
104
+ blockNumber: bigint;
105
+ returnData: string[];
106
+ }
107
+ ], "payable">;
108
+ aggregate3: TypedContractMethod<[
109
+ calls: Multicall3.Call3Struct[]
110
+ ], [
111
+ Multicall3.ResultStructOutput[]
112
+ ], "payable">;
113
+ aggregate3Value: TypedContractMethod<[
114
+ calls: Multicall3.Call3ValueStruct[]
115
+ ], [
116
+ Multicall3.ResultStructOutput[]
117
+ ], "payable">;
118
+ blockAndAggregate: TypedContractMethod<[
119
+ calls: Multicall3.CallStruct[]
120
+ ], [
121
+ [
122
+ bigint,
123
+ string,
124
+ Multicall3.ResultStructOutput[]
125
+ ] & {
126
+ blockNumber: bigint;
127
+ blockHash: string;
128
+ returnData: Multicall3.ResultStructOutput[];
129
+ }
130
+ ], "payable">;
131
+ getBasefee: TypedContractMethod<[], [bigint], "view">;
132
+ getBlockHash: TypedContractMethod<[
133
+ blockNumber: BigNumberish
134
+ ], [
135
+ string
136
+ ], "view">;
137
+ getBlockNumber: TypedContractMethod<[], [bigint], "view">;
138
+ getChainId: TypedContractMethod<[], [bigint], "view">;
139
+ getCurrentBlockCoinbase: TypedContractMethod<[], [string], "view">;
140
+ getCurrentBlockDifficulty: TypedContractMethod<[], [bigint], "view">;
141
+ getCurrentBlockGasLimit: TypedContractMethod<[], [bigint], "view">;
142
+ getCurrentBlockTimestamp: TypedContractMethod<[], [bigint], "view">;
143
+ getEthBalance: TypedContractMethod<[addr: AddressLike], [bigint], "view">;
144
+ getLastBlockHash: TypedContractMethod<[], [string], "view">;
145
+ tryAggregate: TypedContractMethod<[
146
+ requireSuccess: boolean,
147
+ calls: Multicall3.CallStruct[]
148
+ ], [
149
+ Multicall3.ResultStructOutput[]
150
+ ], "payable">;
151
+ tryBlockAndAggregate: TypedContractMethod<[
152
+ requireSuccess: boolean,
153
+ calls: Multicall3.CallStruct[]
154
+ ], [
155
+ [
156
+ bigint,
157
+ string,
158
+ Multicall3.ResultStructOutput[]
159
+ ] & {
160
+ blockNumber: bigint;
161
+ blockHash: string;
162
+ returnData: Multicall3.ResultStructOutput[];
163
+ }
164
+ ], "payable">;
165
+ getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
166
+ getFunction(nameOrSignature: "aggregate"): TypedContractMethod<[
167
+ calls: Multicall3.CallStruct[]
168
+ ], [
169
+ [bigint, string[]] & {
170
+ blockNumber: bigint;
171
+ returnData: string[];
172
+ }
173
+ ], "payable">;
174
+ getFunction(nameOrSignature: "aggregate3"): TypedContractMethod<[
175
+ calls: Multicall3.Call3Struct[]
176
+ ], [
177
+ Multicall3.ResultStructOutput[]
178
+ ], "payable">;
179
+ getFunction(nameOrSignature: "aggregate3Value"): TypedContractMethod<[
180
+ calls: Multicall3.Call3ValueStruct[]
181
+ ], [
182
+ Multicall3.ResultStructOutput[]
183
+ ], "payable">;
184
+ getFunction(nameOrSignature: "blockAndAggregate"): TypedContractMethod<[
185
+ calls: Multicall3.CallStruct[]
186
+ ], [
187
+ [
188
+ bigint,
189
+ string,
190
+ Multicall3.ResultStructOutput[]
191
+ ] & {
192
+ blockNumber: bigint;
193
+ blockHash: string;
194
+ returnData: Multicall3.ResultStructOutput[];
195
+ }
196
+ ], "payable">;
197
+ getFunction(nameOrSignature: "getBasefee"): TypedContractMethod<[], [bigint], "view">;
198
+ getFunction(nameOrSignature: "getBlockHash"): TypedContractMethod<[blockNumber: BigNumberish], [string], "view">;
199
+ getFunction(nameOrSignature: "getBlockNumber"): TypedContractMethod<[], [bigint], "view">;
200
+ getFunction(nameOrSignature: "getChainId"): TypedContractMethod<[], [bigint], "view">;
201
+ getFunction(nameOrSignature: "getCurrentBlockCoinbase"): TypedContractMethod<[], [string], "view">;
202
+ getFunction(nameOrSignature: "getCurrentBlockDifficulty"): TypedContractMethod<[], [bigint], "view">;
203
+ getFunction(nameOrSignature: "getCurrentBlockGasLimit"): TypedContractMethod<[], [bigint], "view">;
204
+ getFunction(nameOrSignature: "getCurrentBlockTimestamp"): TypedContractMethod<[], [bigint], "view">;
205
+ getFunction(nameOrSignature: "getEthBalance"): TypedContractMethod<[addr: AddressLike], [bigint], "view">;
206
+ getFunction(nameOrSignature: "getLastBlockHash"): TypedContractMethod<[], [string], "view">;
207
+ getFunction(nameOrSignature: "tryAggregate"): TypedContractMethod<[
208
+ requireSuccess: boolean,
209
+ calls: Multicall3.CallStruct[]
210
+ ], [
211
+ Multicall3.ResultStructOutput[]
212
+ ], "payable">;
213
+ getFunction(nameOrSignature: "tryBlockAndAggregate"): TypedContractMethod<[
214
+ requireSuccess: boolean,
215
+ calls: Multicall3.CallStruct[]
216
+ ], [
217
+ [
218
+ bigint,
219
+ string,
220
+ Multicall3.ResultStructOutput[]
221
+ ] & {
222
+ blockNumber: bigint;
223
+ blockHash: string;
224
+ returnData: Multicall3.ResultStructOutput[];
225
+ }
226
+ ], "payable">;
227
+ filters: {};
228
+ }
229
+ //# sourceMappingURL=Multicall3.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Multicall3.d.ts","sourceRoot":"","sources":["../../../../typechain-types/contracts/external/Multicall3.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,YAAY,EACZ,YAAY,EACZ,SAAS,EACT,gBAAgB,EAChB,MAAM,EACN,SAAS,EACT,WAAW,EACX,cAAc,EACd,cAAc,EACd,QAAQ,EACT,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EACV,kBAAkB,EAClB,wBAAwB,EACxB,aAAa,EACb,aAAa,EACb,mBAAmB,EACpB,MAAM,cAAc,CAAC;AAEtB,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,KAAY,UAAU,GAAG;QAAE,MAAM,EAAE,WAAW,CAAC;QAAC,QAAQ,EAAE,SAAS,CAAA;KAAE,CAAC;IAEtE,KAAY,gBAAgB,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,GAAG;QAClE,MAAM,EAAE,MAAM,CAAC;QACf,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;IAEF,KAAY,WAAW,GAAG;QACxB,MAAM,EAAE,WAAW,CAAC;QACpB,YAAY,EAAE,OAAO,CAAC;QACtB,QAAQ,EAAE,SAAS,CAAC;KACrB,CAAC;IAEF,KAAY,iBAAiB,GAAG;QAC9B,MAAM,EAAE,MAAM;QACd,YAAY,EAAE,OAAO;QACrB,QAAQ,EAAE,MAAM;KACjB,GAAG;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,YAAY,EAAE,OAAO,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC;IAEhE,KAAY,YAAY,GAAG;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,UAAU,EAAE,SAAS,CAAA;KAAE,CAAC;IAEvE,KAAY,kBAAkB,GAAG,CAAC,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C9D,WAAW,CACT,eAAe,EAAE,kBAAkB,GAClC,mBAAmB,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC;IAC7C,WAAW,CACT,eAAe,EAAE,cAAc,GAC9B,mBAAmB,CACpB;QAAC,cAAc,EAAE,OAAO;QAAE,KAAK,EAAE,UAAU,CAAC,UAAU,EAAE;KAAC,EACzD;QAAC,UAAU,CAAC,kBAAkB,EAAE;KAAC,EACjC,SAAS,CACV,CAAC;IACF,WAAW,CACT,eAAe,EAAE,sBAAsB,GACtC,mBAAmB,CACpB;QAAC,cAAc,EAAE,OAAO;QAAE,KAAK,EAAE,UAAU,CAAC,UAAU,EAAE;KAAC,EACzD;QACE;YAAC,MAAM;YAAE,MAAM;YAAE,UAAU,CAAC,kBAAkB,EAAE;SAAC,GAAG;YAClD,WAAW,EAAE,MAAM,CAAC;YACpB,SAAS,EAAE,MAAM,CAAC;YAClB,UAAU,EAAE,UAAU,CAAC,kBAAkB,EAAE,CAAC;SAC7C;KACF,EACD,SAAS,CACV,CAAC;IAEF,OAAO,EAAE,EAAE,CAAC;CACb"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Multicall3.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Multicall3.js","sourceRoot":"","sources":["../../../../typechain-types/contracts/external/Multicall3.ts"],"names":[],"mappings":""}
@@ -1,3 +1,4 @@
1
1
  import type * as morpho from "./morpho";
2
2
  export type { morpho };
3
+ export type { Multicall3 } from "./Multicall3";
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../typechain-types/contracts/external/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,MAAM,MAAM,UAAU,CAAC;AACxC,YAAY,EAAE,MAAM,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../typechain-types/contracts/external/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,MAAM,MAAM,UAAU,CAAC;AACxC,YAAY,EAAE,MAAM,EAAE,CAAC;AACvB,YAAY,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC"}