@ensdomains/ensjs 3.0.0-alpha.39 → 3.0.0-alpha.40
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/dist/cjs/GqlManager.js +8 -5
- package/dist/cjs/contracts/factories.js +16 -0
- package/dist/cjs/contracts/getContractAddress.js +1 -1
- package/dist/cjs/contracts/index.js +24 -52
- package/dist/cjs/functions/createSubname.js +2 -2
- package/dist/cjs/functions/deleteSubname.js +2 -2
- package/dist/cjs/functions/getDNSOwner.js +2 -2
- package/dist/cjs/functions/getExpiry.js +2 -2
- package/dist/cjs/functions/getHistory.js +4 -3
- package/dist/cjs/functions/getNames.js +2 -1
- package/dist/cjs/functions/getOwner.js +10 -9
- package/dist/cjs/functions/getPrice.js +7 -6
- package/dist/cjs/functions/getProfile.js +15 -16
- package/dist/cjs/functions/getResolver.js +2 -2
- package/dist/cjs/functions/getSpecificRecord.js +3 -3
- package/dist/cjs/functions/getSubnames.js +2 -1
- package/dist/cjs/functions/getWrapperData.js +2 -2
- package/dist/cjs/functions/transferController.js +3 -3
- package/dist/cjs/functions/transferName.js +2 -2
- package/dist/cjs/functions/transferSubname.js +2 -2
- package/dist/cjs/functions/types.js +16 -0
- package/dist/cjs/functions/unwrapName.js +2 -2
- package/dist/cjs/functions/wrapName.js +4 -3
- package/dist/cjs/generated/factories/BaseRegistrarImplementation__factory.js +4 -3
- package/dist/cjs/generated/factories/BulkRenewal__factory.js +4 -3
- package/dist/cjs/generated/factories/DNSRegistrar__factory.js +4 -3
- package/dist/cjs/generated/factories/DNSSECImpl__factory.js +4 -3
- package/dist/cjs/generated/factories/DefaultReverseResolver__factory.js +4 -3
- package/dist/cjs/generated/factories/ENSRegistry__factory.js +4 -3
- package/dist/cjs/generated/factories/ETHRegistrarController__factory.js +4 -3
- package/dist/cjs/generated/factories/Multicall__factory.js +4 -3
- package/dist/cjs/generated/factories/NameWrapper__factory.js +4 -3
- package/dist/cjs/generated/factories/P256SHA256Algorithm__factory.js +4 -3
- package/dist/cjs/generated/factories/PublicResolver__factory.js +4 -3
- package/dist/cjs/generated/factories/RSASHA1Algorithm__factory.js +4 -3
- package/dist/cjs/generated/factories/RSASHA256Algorithm__factory.js +4 -3
- package/dist/cjs/generated/factories/ReverseRegistrar__factory.js +4 -3
- package/dist/cjs/generated/factories/Root__factory.js +4 -3
- package/dist/cjs/generated/factories/SHA1Digest__factory.js +4 -3
- package/dist/cjs/generated/factories/SHA1NSEC3Digest__factory.js +4 -3
- package/dist/cjs/generated/factories/SHA256Digest__factory.js +4 -3
- package/dist/cjs/generated/factories/StaticMetadataService__factory.js +4 -3
- package/dist/cjs/generated/factories/TLDPublicSuffixList__factory.js +4 -3
- package/dist/cjs/generated/factories/UniversalResolver__factory.js +4 -3
- package/dist/cjs/index.js +52 -75
- package/dist/cjs/static.js +85 -0
- package/dist/cjs/utils/ccip.js +22 -21
- package/dist/cjs/utils/contentHash.js +2 -2
- package/dist/cjs/utils/fuses.js +2 -2
- package/dist/cjs/utils/generateFuseInput.js +2 -2
- package/dist/cjs/utils/labels.js +2 -2
- package/dist/cjs/utils/normalise.js +6 -4
- package/dist/cjs/utils/registerHelpers.js +4 -3
- package/dist/cjs/utils/validation.js +2 -2
- package/dist/cjs/utils/wrapper.js +8 -8
- package/dist/esm/GqlManager.mjs +8 -5
- package/dist/esm/contracts/factories.mjs +0 -0
- package/dist/esm/contracts/getContractAddress.mjs +1 -1
- package/dist/esm/contracts/index.mjs +24 -46
- package/dist/esm/functions/createSubname.mjs +2 -2
- package/dist/esm/functions/deleteSubname.mjs +2 -2
- package/dist/esm/functions/getDNSOwner.mjs +1 -1
- package/dist/esm/functions/getExpiry.mjs +1 -1
- package/dist/esm/functions/getHistory.mjs +4 -3
- package/dist/esm/functions/getNames.mjs +2 -1
- package/dist/esm/functions/getOwner.mjs +9 -8
- package/dist/esm/functions/getPrice.mjs +6 -5
- package/dist/esm/functions/getProfile.mjs +14 -15
- package/dist/esm/functions/getResolver.mjs +2 -2
- package/dist/esm/functions/getSpecificRecord.mjs +3 -3
- package/dist/esm/functions/getSubnames.mjs +2 -1
- package/dist/esm/functions/getWrapperData.mjs +1 -1
- package/dist/esm/functions/transferController.mjs +3 -3
- package/dist/esm/functions/transferName.mjs +2 -2
- package/dist/esm/functions/transferSubname.mjs +2 -2
- package/dist/esm/functions/types.mjs +0 -0
- package/dist/esm/functions/unwrapName.mjs +2 -2
- package/dist/esm/functions/wrapName.mjs +4 -3
- package/dist/esm/generated/factories/BaseRegistrarImplementation__factory.mjs +3 -2
- package/dist/esm/generated/factories/BulkRenewal__factory.mjs +3 -2
- package/dist/esm/generated/factories/DNSRegistrar__factory.mjs +3 -2
- package/dist/esm/generated/factories/DNSSECImpl__factory.mjs +3 -2
- package/dist/esm/generated/factories/DefaultReverseResolver__factory.mjs +3 -2
- package/dist/esm/generated/factories/ENSRegistry__factory.mjs +3 -2
- package/dist/esm/generated/factories/ETHRegistrarController__factory.mjs +3 -2
- package/dist/esm/generated/factories/Multicall__factory.mjs +3 -2
- package/dist/esm/generated/factories/NameWrapper__factory.mjs +3 -2
- package/dist/esm/generated/factories/P256SHA256Algorithm__factory.mjs +3 -2
- package/dist/esm/generated/factories/PublicResolver__factory.mjs +3 -2
- package/dist/esm/generated/factories/RSASHA1Algorithm__factory.mjs +3 -2
- package/dist/esm/generated/factories/RSASHA256Algorithm__factory.mjs +3 -2
- package/dist/esm/generated/factories/ReverseRegistrar__factory.mjs +3 -2
- package/dist/esm/generated/factories/Root__factory.mjs +3 -2
- package/dist/esm/generated/factories/SHA1Digest__factory.mjs +3 -2
- package/dist/esm/generated/factories/SHA1NSEC3Digest__factory.mjs +3 -2
- package/dist/esm/generated/factories/SHA256Digest__factory.mjs +3 -2
- package/dist/esm/generated/factories/StaticMetadataService__factory.mjs +3 -2
- package/dist/esm/generated/factories/TLDPublicSuffixList__factory.mjs +3 -2
- package/dist/esm/generated/factories/UniversalResolver__factory.mjs +3 -2
- package/dist/esm/index.mjs +47 -71
- package/dist/esm/static.mjs +62 -0
- package/dist/esm/utils/ccip.mjs +4 -4
- package/dist/esm/utils/contentHash.mjs +2 -2
- package/dist/esm/utils/fuses.mjs +1 -1
- package/dist/esm/utils/generateFuseInput.mjs +2 -2
- package/dist/esm/utils/labels.mjs +1 -1
- package/dist/esm/utils/normalise.mjs +3 -1
- package/dist/esm/utils/registerHelpers.mjs +4 -3
- package/dist/esm/utils/validation.mjs +1 -1
- package/dist/esm/utils/wrapper.mjs +2 -2
- package/dist/types/GqlManager.d.ts +5 -3
- package/dist/types/contracts/baseRegistrar.d.ts +2 -2
- package/dist/types/contracts/bulkRenewal.d.ts +2 -2
- package/dist/types/contracts/dnsRegistrar.d.ts +2 -2
- package/dist/types/contracts/ethRegistrarController.d.ts +2 -2
- package/dist/types/contracts/factories.d.ts +45 -0
- package/dist/types/contracts/index.d.ts +32 -12
- package/dist/types/contracts/multicall.d.ts +2 -2
- package/dist/types/contracts/nameWrapper.d.ts +2 -2
- package/dist/types/contracts/publicResolver.d.ts +2 -2
- package/dist/types/contracts/registry.d.ts +2 -2
- package/dist/types/contracts/reverseRegistrar.d.ts +2 -2
- package/dist/types/contracts/types.d.ts +1 -1
- package/dist/types/contracts/universalResolver.d.ts +2 -2
- package/dist/types/functions/batchWrappers.d.ts +4 -4
- package/dist/types/functions/burnFuses.d.ts +1 -1
- package/dist/types/functions/commitName.d.ts +7 -7
- package/dist/types/functions/createSubname.d.ts +1 -2
- package/dist/types/functions/deleteSubname.d.ts +1 -2
- package/dist/types/functions/getPrice.d.ts +1 -1
- package/dist/types/functions/getRecords.d.ts +2 -2
- package/dist/types/functions/getWrapperData.d.ts +1 -1
- package/dist/types/functions/importDNSSECName.d.ts +1 -1
- package/dist/types/functions/registerName.d.ts +2 -2
- package/dist/types/functions/renewNames.d.ts +3 -3
- package/dist/types/functions/setName.d.ts +1 -1
- package/dist/types/functions/setRecords.d.ts +1 -1
- package/dist/types/functions/setResolver.d.ts +1 -1
- package/dist/types/functions/transferController.d.ts +1 -2
- package/dist/types/functions/transferName.d.ts +1 -2
- package/dist/types/functions/transferSubname.d.ts +1 -2
- package/dist/types/functions/types.d.ts +77 -0
- package/dist/types/functions/unwrapName.d.ts +1 -1
- package/dist/types/functions/wrapName.d.ts +1 -2
- package/dist/types/generated/BaseRegistrarImplementation.d.ts +128 -124
- package/dist/types/generated/BulkRenewal.d.ts +22 -18
- package/dist/types/generated/DNSRegistrar.d.ts +46 -42
- package/dist/types/generated/DNSSECImpl.d.ts +70 -66
- package/dist/types/generated/DefaultReverseResolver.d.ts +19 -15
- package/dist/types/generated/ENSRegistry.d.ts +64 -60
- package/dist/types/generated/ETHRegistrarController.d.ts +82 -78
- package/dist/types/generated/Multicall.d.ts +58 -54
- package/dist/types/generated/NameWrapper.d.ts +169 -165
- package/dist/types/generated/P256SHA256Algorithm.d.ts +13 -9
- package/dist/types/generated/PublicResolver.d.ts +153 -149
- package/dist/types/generated/RSASHA1Algorithm.d.ts +13 -9
- package/dist/types/generated/RSASHA256Algorithm.d.ts +13 -9
- package/dist/types/generated/ReverseRegistrar.d.ts +64 -60
- package/dist/types/generated/Root.d.ts +46 -42
- package/dist/types/generated/SHA1Digest.d.ts +13 -9
- package/dist/types/generated/SHA1NSEC3Digest.d.ts +13 -9
- package/dist/types/generated/SHA256Digest.d.ts +13 -9
- package/dist/types/generated/StaticMetadataService.d.ts +13 -9
- package/dist/types/generated/TLDPublicSuffixList.d.ts +13 -9
- package/dist/types/generated/UniversalResolver.d.ts +82 -78
- package/dist/types/generated/common.d.ts +3 -3
- package/dist/types/generated/factories/BaseRegistrarImplementation__factory.d.ts +3 -3
- package/dist/types/generated/factories/BulkRenewal__factory.d.ts +3 -3
- package/dist/types/generated/factories/DNSRegistrar__factory.d.ts +3 -3
- package/dist/types/generated/factories/DNSSECImpl__factory.d.ts +3 -3
- package/dist/types/generated/factories/DefaultReverseResolver__factory.d.ts +3 -3
- package/dist/types/generated/factories/ENSRegistry__factory.d.ts +3 -3
- package/dist/types/generated/factories/ETHRegistrarController__factory.d.ts +3 -3
- package/dist/types/generated/factories/Multicall__factory.d.ts +3 -3
- package/dist/types/generated/factories/NameWrapper__factory.d.ts +3 -3
- package/dist/types/generated/factories/P256SHA256Algorithm__factory.d.ts +3 -3
- package/dist/types/generated/factories/PublicResolver__factory.d.ts +3 -3
- package/dist/types/generated/factories/RSASHA1Algorithm__factory.d.ts +3 -3
- package/dist/types/generated/factories/RSASHA256Algorithm__factory.d.ts +3 -3
- package/dist/types/generated/factories/ReverseRegistrar__factory.d.ts +3 -3
- package/dist/types/generated/factories/Root__factory.d.ts +3 -3
- package/dist/types/generated/factories/SHA1Digest__factory.d.ts +3 -3
- package/dist/types/generated/factories/SHA1NSEC3Digest__factory.d.ts +3 -3
- package/dist/types/generated/factories/SHA256Digest__factory.d.ts +3 -3
- package/dist/types/generated/factories/StaticMetadataService__factory.d.ts +3 -3
- package/dist/types/generated/factories/TLDPublicSuffixList__factory.d.ts +3 -3
- package/dist/types/generated/factories/UniversalResolver__factory.d.ts +3 -3
- package/dist/types/index.d.ts +45 -59
- package/dist/types/static.d.ts +26 -0
- package/dist/types/utils/fuses.d.ts +1 -1
- package/dist/types/utils/registerHelpers.d.ts +1 -1
- package/dist/types/utils/singleCall.d.ts +2 -2
- package/dist/types/utils/wrapper.d.ts +1 -1
- package/dist/types/utils/writeTx.d.ts +8 -8
- package/package.json +33 -6
- package/src/GqlManager.ts +15 -7
- package/src/contracts/baseRegistrar.ts +2 -2
- package/src/contracts/bulkRenewal.ts +2 -2
- package/src/contracts/dnsRegistrar.ts +2 -2
- package/src/contracts/ethRegistrarController.ts +2 -2
- package/src/contracts/factories.ts +48 -0
- package/src/contracts/getContractAddress.ts +1 -1
- package/src/contracts/index.ts +71 -67
- package/src/contracts/multicall.ts +2 -2
- package/src/contracts/nameWrapper.ts +2 -2
- package/src/contracts/publicResolver.ts +2 -2
- package/src/contracts/registry.ts +2 -2
- package/src/contracts/reverseRegistrar.ts +2 -2
- package/src/contracts/types.ts +1 -1
- package/src/contracts/universalResolver.ts +2 -2
- package/src/functions/batchWrappers.ts +3 -3
- package/src/functions/createSubname.ts +3 -2
- package/src/functions/deleteSubname.ts +2 -2
- package/src/functions/getDNSOwner.ts +1 -1
- package/src/functions/getExpiry.ts +2 -2
- package/src/functions/getHistory.ts +4 -3
- package/src/functions/getNames.ts +2 -1
- package/src/functions/getOwner.test.ts +0 -47
- package/src/functions/getOwner.ts +13 -14
- package/src/functions/getPrice.ts +6 -5
- package/src/functions/getProfile.ts +15 -15
- package/src/functions/getResolver.ts +2 -6
- package/src/functions/getSpecificRecord.ts +4 -4
- package/src/functions/getSubnames.ts +2 -1
- package/src/functions/getWrapperData.ts +1 -1
- package/src/functions/registerName.ts +1 -1
- package/src/functions/renewNames.ts +1 -1
- package/src/functions/transferController.ts +4 -3
- package/src/functions/transferName.ts +2 -2
- package/src/functions/transferSubname.ts +2 -2
- package/src/functions/types.ts +94 -0
- package/src/functions/unwrapName.ts +3 -2
- package/src/functions/wrapName.ts +8 -5
- package/src/generated/BaseRegistrarImplementation.ts +580 -593
- package/src/generated/BulkRenewal.ts +95 -96
- package/src/generated/DNSRegistrar.ts +208 -208
- package/src/generated/DNSSECImpl.ts +322 -329
- package/src/generated/DefaultReverseResolver.ts +75 -75
- package/src/generated/ENSRegistry.ts +312 -316
- package/src/generated/ETHRegistrarController.ts +405 -412
- package/src/generated/Multicall.ts +320 -327
- package/src/generated/NameWrapper.ts +877 -884
- package/src/generated/P256SHA256Algorithm.ts +52 -52
- package/src/generated/PublicResolver.ts +698 -705
- package/src/generated/RSASHA1Algorithm.ts +52 -52
- package/src/generated/RSASHA256Algorithm.ts +52 -52
- package/src/generated/ReverseRegistrar.ts +305 -311
- package/src/generated/Root.ts +220 -226
- package/src/generated/SHA1Digest.ts +51 -51
- package/src/generated/SHA1NSEC3Digest.ts +52 -53
- package/src/generated/SHA256Digest.ts +51 -51
- package/src/generated/StaticMetadataService.ts +51 -52
- package/src/generated/TLDPublicSuffixList.ts +53 -53
- package/src/generated/UniversalResolver.ts +312 -313
- package/src/generated/common.ts +15 -15
- package/src/generated/factories/BaseRegistrarImplementation__factory.ts +340 -338
- package/src/generated/factories/BulkRenewal__factory.ts +51 -49
- package/src/generated/factories/DNSRegistrar__factory.ts +132 -130
- package/src/generated/factories/DNSSECImpl__factory.ts +231 -229
- package/src/generated/factories/DefaultReverseResolver__factory.ts +40 -38
- package/src/generated/factories/ENSRegistry__factory.ts +199 -197
- package/src/generated/factories/ETHRegistrarController__factory.ts +324 -322
- package/src/generated/factories/Multicall__factory.ts +226 -224
- package/src/generated/factories/NameWrapper__factory.ts +678 -676
- package/src/generated/factories/P256SHA256Algorithm__factory.ts +25 -23
- package/src/generated/factories/PublicResolver__factory.ts +455 -456
- package/src/generated/factories/RSASHA1Algorithm__factory.ts +25 -23
- package/src/generated/factories/RSASHA256Algorithm__factory.ts +25 -23
- package/src/generated/factories/ReverseRegistrar__factory.ts +167 -165
- package/src/generated/factories/Root__factory.ts +103 -101
- package/src/generated/factories/SHA1Digest__factory.ts +22 -20
- package/src/generated/factories/SHA1NSEC3Digest__factory.ts +25 -23
- package/src/generated/factories/SHA256Digest__factory.ts +22 -20
- package/src/generated/factories/StaticMetadataService__factory.ts +25 -23
- package/src/generated/factories/TLDPublicSuffixList__factory.ts +19 -17
- package/src/generated/factories/UniversalResolver__factory.ts +251 -249
- package/src/index.ts +139 -169
- package/src/static.ts +94 -0
- package/src/utils/ccip.ts +5 -4
- package/src/utils/contentHash.ts +2 -2
- package/src/utils/fuses.ts +1 -1
- package/src/utils/generateFuseInput.ts +2 -2
- package/src/utils/labels.ts +1 -1
- package/src/utils/normalise.ts +3 -1
- package/src/utils/registerHelpers.ts +5 -3
- package/src/utils/singleCall.ts +2 -2
- package/src/utils/validation.ts +1 -1
- package/src/utils/wrapper.ts +2 -2
- package/src/utils/writeTx.ts +1 -1
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import
|
|
3
|
-
import type { Listener, Provider } from
|
|
4
|
-
import type {
|
|
1
|
+
import type { EventFragment, FunctionFragment, Result } from '@ethersproject/abi';
|
|
2
|
+
import { Interface } from '@ethersproject/abi';
|
|
3
|
+
import type { Listener, Provider } from '@ethersproject/abstract-provider';
|
|
4
|
+
import type { Signer } from '@ethersproject/abstract-signer';
|
|
5
|
+
import type { BigNumber, BigNumberish } from '@ethersproject/bignumber';
|
|
6
|
+
import type { BytesLike } from '@ethersproject/bytes';
|
|
7
|
+
import type { BaseContract, CallOverrides, ContractTransaction, Overrides, PayableOverrides, PopulatedTransaction } from '@ethersproject/contracts';
|
|
8
|
+
import type { OnEvent, PromiseOrValue, TypedEvent, TypedEventFilter, TypedListener } from './common';
|
|
5
9
|
export declare namespace IPriceOracle {
|
|
6
10
|
type PriceStruct = {
|
|
7
11
|
base: PromiseOrValue<BigNumberish>;
|
|
@@ -12,36 +16,36 @@ export declare namespace IPriceOracle {
|
|
|
12
16
|
premium: BigNumber;
|
|
13
17
|
};
|
|
14
18
|
}
|
|
15
|
-
export interface ETHRegistrarControllerInterface extends
|
|
19
|
+
export interface ETHRegistrarControllerInterface extends Interface {
|
|
16
20
|
functions: {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
21
|
+
'MIN_REGISTRATION_DURATION()': FunctionFragment;
|
|
22
|
+
'available(string)': FunctionFragment;
|
|
23
|
+
'commit(bytes32)': FunctionFragment;
|
|
24
|
+
'commitments(bytes32)': FunctionFragment;
|
|
25
|
+
'makeCommitment(string,address,uint256,bytes32,address,bytes[],bool,uint32,uint64)': FunctionFragment;
|
|
26
|
+
'maxCommitmentAge()': FunctionFragment;
|
|
27
|
+
'minCommitmentAge()': FunctionFragment;
|
|
28
|
+
'nameWrapper()': FunctionFragment;
|
|
29
|
+
'owner()': FunctionFragment;
|
|
30
|
+
'prices()': FunctionFragment;
|
|
31
|
+
'recoverFunds(address,address,uint256)': FunctionFragment;
|
|
32
|
+
'register(string,address,uint256,bytes32,address,bytes[],bool,uint32,uint64)': FunctionFragment;
|
|
33
|
+
'renew(string,uint256)': FunctionFragment;
|
|
34
|
+
'renewWithFuses(string,uint256,uint32,uint64)': FunctionFragment;
|
|
35
|
+
'renounceOwnership()': FunctionFragment;
|
|
36
|
+
'rentPrice(string,uint256)': FunctionFragment;
|
|
37
|
+
'reverseRegistrar()': FunctionFragment;
|
|
38
|
+
'supportsInterface(bytes4)': FunctionFragment;
|
|
39
|
+
'transferOwnership(address)': FunctionFragment;
|
|
40
|
+
'valid(string)': FunctionFragment;
|
|
41
|
+
'withdraw()': FunctionFragment;
|
|
38
42
|
};
|
|
39
|
-
getFunction(nameOrSignatureOrTopic:
|
|
40
|
-
encodeFunctionData(functionFragment:
|
|
41
|
-
encodeFunctionData(functionFragment:
|
|
42
|
-
encodeFunctionData(functionFragment:
|
|
43
|
-
encodeFunctionData(functionFragment:
|
|
44
|
-
encodeFunctionData(functionFragment:
|
|
43
|
+
getFunction(nameOrSignatureOrTopic: 'MIN_REGISTRATION_DURATION' | 'available' | 'commit' | 'commitments' | 'makeCommitment' | 'maxCommitmentAge' | 'minCommitmentAge' | 'nameWrapper' | 'owner' | 'prices' | 'recoverFunds' | 'register' | 'renew' | 'renewWithFuses' | 'renounceOwnership' | 'rentPrice' | 'reverseRegistrar' | 'supportsInterface' | 'transferOwnership' | 'valid' | 'withdraw'): FunctionFragment;
|
|
44
|
+
encodeFunctionData(functionFragment: 'MIN_REGISTRATION_DURATION', values?: undefined): string;
|
|
45
|
+
encodeFunctionData(functionFragment: 'available', values: [PromiseOrValue<string>]): string;
|
|
46
|
+
encodeFunctionData(functionFragment: 'commit', values: [PromiseOrValue<BytesLike>]): string;
|
|
47
|
+
encodeFunctionData(functionFragment: 'commitments', values: [PromiseOrValue<BytesLike>]): string;
|
|
48
|
+
encodeFunctionData(functionFragment: 'makeCommitment', values: [
|
|
45
49
|
PromiseOrValue<string>,
|
|
46
50
|
PromiseOrValue<string>,
|
|
47
51
|
PromiseOrValue<BigNumberish>,
|
|
@@ -52,17 +56,17 @@ export interface ETHRegistrarControllerInterface extends utils.Interface {
|
|
|
52
56
|
PromiseOrValue<BigNumberish>,
|
|
53
57
|
PromiseOrValue<BigNumberish>
|
|
54
58
|
]): string;
|
|
55
|
-
encodeFunctionData(functionFragment:
|
|
56
|
-
encodeFunctionData(functionFragment:
|
|
57
|
-
encodeFunctionData(functionFragment:
|
|
58
|
-
encodeFunctionData(functionFragment:
|
|
59
|
-
encodeFunctionData(functionFragment:
|
|
60
|
-
encodeFunctionData(functionFragment:
|
|
59
|
+
encodeFunctionData(functionFragment: 'maxCommitmentAge', values?: undefined): string;
|
|
60
|
+
encodeFunctionData(functionFragment: 'minCommitmentAge', values?: undefined): string;
|
|
61
|
+
encodeFunctionData(functionFragment: 'nameWrapper', values?: undefined): string;
|
|
62
|
+
encodeFunctionData(functionFragment: 'owner', values?: undefined): string;
|
|
63
|
+
encodeFunctionData(functionFragment: 'prices', values?: undefined): string;
|
|
64
|
+
encodeFunctionData(functionFragment: 'recoverFunds', values: [
|
|
61
65
|
PromiseOrValue<string>,
|
|
62
66
|
PromiseOrValue<string>,
|
|
63
67
|
PromiseOrValue<BigNumberish>
|
|
64
68
|
]): string;
|
|
65
|
-
encodeFunctionData(functionFragment:
|
|
69
|
+
encodeFunctionData(functionFragment: 'register', values: [
|
|
66
70
|
PromiseOrValue<string>,
|
|
67
71
|
PromiseOrValue<string>,
|
|
68
72
|
PromiseOrValue<BigNumberish>,
|
|
@@ -73,49 +77,49 @@ export interface ETHRegistrarControllerInterface extends utils.Interface {
|
|
|
73
77
|
PromiseOrValue<BigNumberish>,
|
|
74
78
|
PromiseOrValue<BigNumberish>
|
|
75
79
|
]): string;
|
|
76
|
-
encodeFunctionData(functionFragment:
|
|
77
|
-
encodeFunctionData(functionFragment:
|
|
80
|
+
encodeFunctionData(functionFragment: 'renew', values: [PromiseOrValue<string>, PromiseOrValue<BigNumberish>]): string;
|
|
81
|
+
encodeFunctionData(functionFragment: 'renewWithFuses', values: [
|
|
78
82
|
PromiseOrValue<string>,
|
|
79
83
|
PromiseOrValue<BigNumberish>,
|
|
80
84
|
PromiseOrValue<BigNumberish>,
|
|
81
85
|
PromiseOrValue<BigNumberish>
|
|
82
86
|
]): string;
|
|
83
|
-
encodeFunctionData(functionFragment:
|
|
84
|
-
encodeFunctionData(functionFragment:
|
|
85
|
-
encodeFunctionData(functionFragment:
|
|
86
|
-
encodeFunctionData(functionFragment:
|
|
87
|
-
encodeFunctionData(functionFragment:
|
|
88
|
-
encodeFunctionData(functionFragment:
|
|
89
|
-
encodeFunctionData(functionFragment:
|
|
90
|
-
decodeFunctionResult(functionFragment:
|
|
91
|
-
decodeFunctionResult(functionFragment:
|
|
92
|
-
decodeFunctionResult(functionFragment:
|
|
93
|
-
decodeFunctionResult(functionFragment:
|
|
94
|
-
decodeFunctionResult(functionFragment:
|
|
95
|
-
decodeFunctionResult(functionFragment:
|
|
96
|
-
decodeFunctionResult(functionFragment:
|
|
97
|
-
decodeFunctionResult(functionFragment:
|
|
98
|
-
decodeFunctionResult(functionFragment:
|
|
99
|
-
decodeFunctionResult(functionFragment:
|
|
100
|
-
decodeFunctionResult(functionFragment:
|
|
101
|
-
decodeFunctionResult(functionFragment:
|
|
102
|
-
decodeFunctionResult(functionFragment:
|
|
103
|
-
decodeFunctionResult(functionFragment:
|
|
104
|
-
decodeFunctionResult(functionFragment:
|
|
105
|
-
decodeFunctionResult(functionFragment:
|
|
106
|
-
decodeFunctionResult(functionFragment:
|
|
107
|
-
decodeFunctionResult(functionFragment:
|
|
108
|
-
decodeFunctionResult(functionFragment:
|
|
109
|
-
decodeFunctionResult(functionFragment:
|
|
110
|
-
decodeFunctionResult(functionFragment:
|
|
87
|
+
encodeFunctionData(functionFragment: 'renounceOwnership', values?: undefined): string;
|
|
88
|
+
encodeFunctionData(functionFragment: 'rentPrice', values: [PromiseOrValue<string>, PromiseOrValue<BigNumberish>]): string;
|
|
89
|
+
encodeFunctionData(functionFragment: 'reverseRegistrar', values?: undefined): string;
|
|
90
|
+
encodeFunctionData(functionFragment: 'supportsInterface', values: [PromiseOrValue<BytesLike>]): string;
|
|
91
|
+
encodeFunctionData(functionFragment: 'transferOwnership', values: [PromiseOrValue<string>]): string;
|
|
92
|
+
encodeFunctionData(functionFragment: 'valid', values: [PromiseOrValue<string>]): string;
|
|
93
|
+
encodeFunctionData(functionFragment: 'withdraw', values?: undefined): string;
|
|
94
|
+
decodeFunctionResult(functionFragment: 'MIN_REGISTRATION_DURATION', data: BytesLike): Result;
|
|
95
|
+
decodeFunctionResult(functionFragment: 'available', data: BytesLike): Result;
|
|
96
|
+
decodeFunctionResult(functionFragment: 'commit', data: BytesLike): Result;
|
|
97
|
+
decodeFunctionResult(functionFragment: 'commitments', data: BytesLike): Result;
|
|
98
|
+
decodeFunctionResult(functionFragment: 'makeCommitment', data: BytesLike): Result;
|
|
99
|
+
decodeFunctionResult(functionFragment: 'maxCommitmentAge', data: BytesLike): Result;
|
|
100
|
+
decodeFunctionResult(functionFragment: 'minCommitmentAge', data: BytesLike): Result;
|
|
101
|
+
decodeFunctionResult(functionFragment: 'nameWrapper', data: BytesLike): Result;
|
|
102
|
+
decodeFunctionResult(functionFragment: 'owner', data: BytesLike): Result;
|
|
103
|
+
decodeFunctionResult(functionFragment: 'prices', data: BytesLike): Result;
|
|
104
|
+
decodeFunctionResult(functionFragment: 'recoverFunds', data: BytesLike): Result;
|
|
105
|
+
decodeFunctionResult(functionFragment: 'register', data: BytesLike): Result;
|
|
106
|
+
decodeFunctionResult(functionFragment: 'renew', data: BytesLike): Result;
|
|
107
|
+
decodeFunctionResult(functionFragment: 'renewWithFuses', data: BytesLike): Result;
|
|
108
|
+
decodeFunctionResult(functionFragment: 'renounceOwnership', data: BytesLike): Result;
|
|
109
|
+
decodeFunctionResult(functionFragment: 'rentPrice', data: BytesLike): Result;
|
|
110
|
+
decodeFunctionResult(functionFragment: 'reverseRegistrar', data: BytesLike): Result;
|
|
111
|
+
decodeFunctionResult(functionFragment: 'supportsInterface', data: BytesLike): Result;
|
|
112
|
+
decodeFunctionResult(functionFragment: 'transferOwnership', data: BytesLike): Result;
|
|
113
|
+
decodeFunctionResult(functionFragment: 'valid', data: BytesLike): Result;
|
|
114
|
+
decodeFunctionResult(functionFragment: 'withdraw', data: BytesLike): Result;
|
|
111
115
|
events: {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
116
|
+
'NameRegistered(string,bytes32,address,uint256,uint256,uint256)': EventFragment;
|
|
117
|
+
'NameRenewed(string,bytes32,uint256,uint256)': EventFragment;
|
|
118
|
+
'OwnershipTransferred(address,address)': EventFragment;
|
|
115
119
|
};
|
|
116
|
-
getEvent(nameOrSignatureOrTopic:
|
|
117
|
-
getEvent(nameOrSignatureOrTopic:
|
|
118
|
-
getEvent(nameOrSignatureOrTopic:
|
|
120
|
+
getEvent(nameOrSignatureOrTopic: 'NameRegistered'): EventFragment;
|
|
121
|
+
getEvent(nameOrSignatureOrTopic: 'NameRenewed'): EventFragment;
|
|
122
|
+
getEvent(nameOrSignatureOrTopic: 'OwnershipTransferred'): EventFragment;
|
|
119
123
|
}
|
|
120
124
|
export interface NameRegisteredEventObject {
|
|
121
125
|
name: string;
|
|
@@ -274,11 +278,11 @@ export interface ETHRegistrarController extends BaseContract {
|
|
|
274
278
|
withdraw(overrides?: CallOverrides): Promise<void>;
|
|
275
279
|
};
|
|
276
280
|
filters: {
|
|
277
|
-
|
|
281
|
+
'NameRegistered(string,bytes32,address,uint256,uint256,uint256)'(name?: null, label?: PromiseOrValue<BytesLike> | null, owner?: PromiseOrValue<string> | null, baseCost?: null, premium?: null, expires?: null): NameRegisteredEventFilter;
|
|
278
282
|
NameRegistered(name?: null, label?: PromiseOrValue<BytesLike> | null, owner?: PromiseOrValue<string> | null, baseCost?: null, premium?: null, expires?: null): NameRegisteredEventFilter;
|
|
279
|
-
|
|
283
|
+
'NameRenewed(string,bytes32,uint256,uint256)'(name?: null, label?: PromiseOrValue<BytesLike> | null, cost?: null, expires?: null): NameRenewedEventFilter;
|
|
280
284
|
NameRenewed(name?: null, label?: PromiseOrValue<BytesLike> | null, cost?: null, expires?: null): NameRenewedEventFilter;
|
|
281
|
-
|
|
285
|
+
'OwnershipTransferred(address,address)'(previousOwner?: PromiseOrValue<string> | null, newOwner?: PromiseOrValue<string> | null): OwnershipTransferredEventFilter;
|
|
282
286
|
OwnershipTransferred(previousOwner?: PromiseOrValue<string> | null, newOwner?: PromiseOrValue<string> | null): OwnershipTransferredEventFilter;
|
|
283
287
|
};
|
|
284
288
|
estimateGas: {
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import
|
|
3
|
-
import type { Listener, Provider } from
|
|
4
|
-
import type {
|
|
1
|
+
import type { FunctionFragment, Result } from '@ethersproject/abi';
|
|
2
|
+
import { Interface } from '@ethersproject/abi';
|
|
3
|
+
import type { Listener, Provider } from '@ethersproject/abstract-provider';
|
|
4
|
+
import type { Signer } from '@ethersproject/abstract-signer';
|
|
5
|
+
import type { BigNumber, BigNumberish } from '@ethersproject/bignumber';
|
|
6
|
+
import type { BytesLike } from '@ethersproject/bytes';
|
|
7
|
+
import type { BaseContract, CallOverrides, ContractTransaction, PayableOverrides, PopulatedTransaction } from '@ethersproject/contracts';
|
|
8
|
+
import type { OnEvent, PromiseOrValue, TypedEvent, TypedEventFilter, TypedListener } from './common';
|
|
5
9
|
export declare namespace Multicall3 {
|
|
6
10
|
type CallStruct = {
|
|
7
11
|
target: PromiseOrValue<string>;
|
|
@@ -42,58 +46,58 @@ export declare namespace Multicall3 {
|
|
|
42
46
|
callData: string;
|
|
43
47
|
};
|
|
44
48
|
}
|
|
45
|
-
export interface MulticallInterface extends
|
|
49
|
+
export interface MulticallInterface extends Interface {
|
|
46
50
|
functions: {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
51
|
+
'aggregate((address,bytes)[])': FunctionFragment;
|
|
52
|
+
'aggregate3((address,bool,bytes)[])': FunctionFragment;
|
|
53
|
+
'aggregate3Value((address,bool,uint256,bytes)[])': FunctionFragment;
|
|
54
|
+
'blockAndAggregate((address,bytes)[])': FunctionFragment;
|
|
55
|
+
'getBasefee()': FunctionFragment;
|
|
56
|
+
'getBlockHash(uint256)': FunctionFragment;
|
|
57
|
+
'getBlockNumber()': FunctionFragment;
|
|
58
|
+
'getChainId()': FunctionFragment;
|
|
59
|
+
'getCurrentBlockCoinbase()': FunctionFragment;
|
|
60
|
+
'getCurrentBlockDifficulty()': FunctionFragment;
|
|
61
|
+
'getCurrentBlockGasLimit()': FunctionFragment;
|
|
62
|
+
'getCurrentBlockTimestamp()': FunctionFragment;
|
|
63
|
+
'getEthBalance(address)': FunctionFragment;
|
|
64
|
+
'getLastBlockHash()': FunctionFragment;
|
|
65
|
+
'tryAggregate(bool,(address,bytes)[])': FunctionFragment;
|
|
66
|
+
'tryBlockAndAggregate(bool,(address,bytes)[])': FunctionFragment;
|
|
63
67
|
};
|
|
64
|
-
getFunction(nameOrSignatureOrTopic:
|
|
65
|
-
encodeFunctionData(functionFragment:
|
|
66
|
-
encodeFunctionData(functionFragment:
|
|
67
|
-
encodeFunctionData(functionFragment:
|
|
68
|
-
encodeFunctionData(functionFragment:
|
|
69
|
-
encodeFunctionData(functionFragment:
|
|
70
|
-
encodeFunctionData(functionFragment:
|
|
71
|
-
encodeFunctionData(functionFragment:
|
|
72
|
-
encodeFunctionData(functionFragment:
|
|
73
|
-
encodeFunctionData(functionFragment:
|
|
74
|
-
encodeFunctionData(functionFragment:
|
|
75
|
-
encodeFunctionData(functionFragment:
|
|
76
|
-
encodeFunctionData(functionFragment:
|
|
77
|
-
encodeFunctionData(functionFragment:
|
|
78
|
-
encodeFunctionData(functionFragment:
|
|
79
|
-
encodeFunctionData(functionFragment:
|
|
80
|
-
encodeFunctionData(functionFragment:
|
|
81
|
-
decodeFunctionResult(functionFragment:
|
|
82
|
-
decodeFunctionResult(functionFragment:
|
|
83
|
-
decodeFunctionResult(functionFragment:
|
|
84
|
-
decodeFunctionResult(functionFragment:
|
|
85
|
-
decodeFunctionResult(functionFragment:
|
|
86
|
-
decodeFunctionResult(functionFragment:
|
|
87
|
-
decodeFunctionResult(functionFragment:
|
|
88
|
-
decodeFunctionResult(functionFragment:
|
|
89
|
-
decodeFunctionResult(functionFragment:
|
|
90
|
-
decodeFunctionResult(functionFragment:
|
|
91
|
-
decodeFunctionResult(functionFragment:
|
|
92
|
-
decodeFunctionResult(functionFragment:
|
|
93
|
-
decodeFunctionResult(functionFragment:
|
|
94
|
-
decodeFunctionResult(functionFragment:
|
|
95
|
-
decodeFunctionResult(functionFragment:
|
|
96
|
-
decodeFunctionResult(functionFragment:
|
|
68
|
+
getFunction(nameOrSignatureOrTopic: 'aggregate' | 'aggregate3' | 'aggregate3Value' | 'blockAndAggregate' | 'getBasefee' | 'getBlockHash' | 'getBlockNumber' | 'getChainId' | 'getCurrentBlockCoinbase' | 'getCurrentBlockDifficulty' | 'getCurrentBlockGasLimit' | 'getCurrentBlockTimestamp' | 'getEthBalance' | 'getLastBlockHash' | 'tryAggregate' | 'tryBlockAndAggregate'): FunctionFragment;
|
|
69
|
+
encodeFunctionData(functionFragment: 'aggregate', values: [Multicall3.CallStruct[]]): string;
|
|
70
|
+
encodeFunctionData(functionFragment: 'aggregate3', values: [Multicall3.Call3Struct[]]): string;
|
|
71
|
+
encodeFunctionData(functionFragment: 'aggregate3Value', values: [Multicall3.Call3ValueStruct[]]): string;
|
|
72
|
+
encodeFunctionData(functionFragment: 'blockAndAggregate', values: [Multicall3.CallStruct[]]): string;
|
|
73
|
+
encodeFunctionData(functionFragment: 'getBasefee', values?: undefined): string;
|
|
74
|
+
encodeFunctionData(functionFragment: 'getBlockHash', values: [PromiseOrValue<BigNumberish>]): string;
|
|
75
|
+
encodeFunctionData(functionFragment: 'getBlockNumber', values?: undefined): string;
|
|
76
|
+
encodeFunctionData(functionFragment: 'getChainId', values?: undefined): string;
|
|
77
|
+
encodeFunctionData(functionFragment: 'getCurrentBlockCoinbase', values?: undefined): string;
|
|
78
|
+
encodeFunctionData(functionFragment: 'getCurrentBlockDifficulty', values?: undefined): string;
|
|
79
|
+
encodeFunctionData(functionFragment: 'getCurrentBlockGasLimit', values?: undefined): string;
|
|
80
|
+
encodeFunctionData(functionFragment: 'getCurrentBlockTimestamp', values?: undefined): string;
|
|
81
|
+
encodeFunctionData(functionFragment: 'getEthBalance', values: [PromiseOrValue<string>]): string;
|
|
82
|
+
encodeFunctionData(functionFragment: 'getLastBlockHash', values?: undefined): string;
|
|
83
|
+
encodeFunctionData(functionFragment: 'tryAggregate', values: [PromiseOrValue<boolean>, Multicall3.CallStruct[]]): string;
|
|
84
|
+
encodeFunctionData(functionFragment: 'tryBlockAndAggregate', values: [PromiseOrValue<boolean>, Multicall3.CallStruct[]]): string;
|
|
85
|
+
decodeFunctionResult(functionFragment: 'aggregate', data: BytesLike): Result;
|
|
86
|
+
decodeFunctionResult(functionFragment: 'aggregate3', data: BytesLike): Result;
|
|
87
|
+
decodeFunctionResult(functionFragment: 'aggregate3Value', data: BytesLike): Result;
|
|
88
|
+
decodeFunctionResult(functionFragment: 'blockAndAggregate', data: BytesLike): Result;
|
|
89
|
+
decodeFunctionResult(functionFragment: 'getBasefee', data: BytesLike): Result;
|
|
90
|
+
decodeFunctionResult(functionFragment: 'getBlockHash', data: BytesLike): Result;
|
|
91
|
+
decodeFunctionResult(functionFragment: 'getBlockNumber', data: BytesLike): Result;
|
|
92
|
+
decodeFunctionResult(functionFragment: 'getChainId', data: BytesLike): Result;
|
|
93
|
+
decodeFunctionResult(functionFragment: 'getCurrentBlockCoinbase', data: BytesLike): Result;
|
|
94
|
+
decodeFunctionResult(functionFragment: 'getCurrentBlockDifficulty', data: BytesLike): Result;
|
|
95
|
+
decodeFunctionResult(functionFragment: 'getCurrentBlockGasLimit', data: BytesLike): Result;
|
|
96
|
+
decodeFunctionResult(functionFragment: 'getCurrentBlockTimestamp', data: BytesLike): Result;
|
|
97
|
+
decodeFunctionResult(functionFragment: 'getEthBalance', data: BytesLike): Result;
|
|
98
|
+
decodeFunctionResult(functionFragment: 'getLastBlockHash', data: BytesLike): Result;
|
|
99
|
+
decodeFunctionResult(functionFragment: 'tryAggregate', data: BytesLike): Result;
|
|
100
|
+
decodeFunctionResult(functionFragment: 'tryBlockAndAggregate', data: BytesLike): Result;
|
|
97
101
|
events: {};
|
|
98
102
|
}
|
|
99
103
|
export interface Multicall extends BaseContract {
|